]> 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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPanel swig_types[91]
2554 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2555 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556 #define SWIGTYPE_p_wxPoint swig_types[94]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565 #define SWIGTYPE_p_wxPrinter swig_types[103]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPySizer swig_types[117]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRect swig_types[125]
2588 #define SWIGTYPE_p_wxRegion swig_types[126]
2589 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxToolBar swig_types[154]
2617 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info *swig_types[164];
2626 static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2629
2630 /* -------- TYPES TABLE (END) -------- */
2631
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2635 # endif
2636 #endif
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2639 #endif
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2642 #endif
2643 #ifndef METH_O
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2645 #endif
2646
2647 /*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_windows_
2651
2652 #define SWIG_name "_windows_"
2653
2654 #define SWIGVERSION 0x010329
2655
2656
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2659
2660
2661 #include <stdexcept>
2662
2663
2664 namespace swig {
2665 class PyObject_ptr {
2666 protected:
2667 PyObject *_obj;
2668
2669 public:
2670 PyObject_ptr() :_obj(0)
2671 {
2672 }
2673
2674 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2675 {
2676 Py_XINCREF(_obj);
2677 }
2678
2679 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2680 {
2681 if (initial_ref) Py_XINCREF(_obj);
2682 }
2683
2684 PyObject_ptr & operator=(const PyObject_ptr& item)
2685 {
2686 Py_XINCREF(item._obj);
2687 Py_XDECREF(_obj);
2688 _obj = item._obj;
2689 return *this;
2690 }
2691
2692 ~PyObject_ptr()
2693 {
2694 Py_XDECREF(_obj);
2695 }
2696
2697 operator PyObject *() const
2698 {
2699 return _obj;
2700 }
2701
2702 PyObject *operator->() const
2703 {
2704 return _obj;
2705 }
2706 };
2707 }
2708
2709
2710 namespace swig {
2711 struct PyObject_var : PyObject_ptr {
2712 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2713
2714 PyObject_var & operator = (PyObject* obj)
2715 {
2716 Py_XDECREF(_obj);
2717 _obj = obj;
2718 return *this;
2719 }
2720 };
2721 }
2722
2723
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2726
2727
2728 static const wxString wxPyEmptyString(wxEmptyString);
2729 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2730
2731
2732
2733 #include <limits.h>
2734 #ifndef LLONG_MIN
2735 # define LLONG_MIN LONG_LONG_MIN
2736 #endif
2737 #ifndef LLONG_MAX
2738 # define LLONG_MAX LONG_LONG_MAX
2739 #endif
2740 #ifndef ULLONG_MAX
2741 # define ULLONG_MAX ULONG_LONG_MAX
2742 #endif
2743
2744
2745 SWIGINTERN int
2746 SWIG_AsVal_long (PyObject* obj, long* val)
2747 {
2748 if (PyNumber_Check(obj)) {
2749 if (val) *val = PyInt_AsLong(obj);
2750 return SWIG_OK;
2751 }
2752 return SWIG_TypeError;
2753 }
2754
2755
2756 SWIGINTERN int
2757 SWIG_AsVal_int (PyObject * obj, int *val)
2758 {
2759 long v;
2760 int res = SWIG_AsVal_long (obj, &v);
2761 if (SWIG_IsOK(res)) {
2762 if ((v < INT_MIN || v > INT_MAX)) {
2763 return SWIG_OverflowError;
2764 } else {
2765 if (val) *val = static_cast< int >(v);
2766 }
2767 }
2768 return res;
2769 }
2770
2771
2772 SWIGINTERN int
2773 SWIG_AsVal_bool (PyObject *obj, bool *val)
2774 {
2775 if (obj == Py_True) {
2776 if (val) *val = true;
2777 return SWIG_OK;
2778 } else if (obj == Py_False) {
2779 if (val) *val = false;
2780 return SWIG_OK;
2781 } else {
2782 long v = 0;
2783 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2784 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2785 return res;
2786 }
2787 }
2788
2789
2790 #define SWIG_From_long PyInt_FromLong
2791
2792
2793 SWIGINTERNINLINE PyObject *
2794 SWIG_From_int (int value)
2795 {
2796 return SWIG_From_long (value);
2797 }
2798
2799
2800 SWIGINTERN int
2801 SWIG_AsVal_double (PyObject *obj, double* val)
2802 {
2803 if (PyNumber_Check(obj)) {
2804 if (val) *val = PyFloat_AsDouble(obj);
2805 return SWIG_OK;
2806 }
2807 return SWIG_TypeError;
2808 }
2809
2810
2811 #define SWIG_From_double PyFloat_FromDouble
2812
2813 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2814 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2815 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2816 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2817 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2818 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2819
2820
2821 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2822 wxRect r;
2823 self->GetFieldRect(i, r);
2824 return r;
2825 }
2826 static const wxString wxPySplitterNameStr(wxT("splitter"));
2827 static const wxString wxPySashNameStr(wxT("sashWindow"));
2828 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2829
2830 #include <wx/popupwin.h>
2831
2832
2833 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2834 {
2835 public:
2836 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2837 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2838 : wxPopupTransientWindow(parent, style) {}
2839
2840 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2841 DEC_PYCALLBACK__(OnDismiss);
2842 DEC_PYCALLBACK_BOOL_(CanDismiss);
2843 PYPRIVATE;
2844 };
2845
2846
2847 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2848 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2849 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2850
2851
2852 #include <wx/tipwin.h>
2853
2854 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2855 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2856 }
2857
2858 #include <wx/tipwin.h>
2859
2860
2861 #include <wx/vscroll.h>
2862
2863
2864 class wxPyVScrolledWindow : public wxVScrolledWindow
2865 {
2866 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2867 public:
2868 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2869
2870 wxPyVScrolledWindow(wxWindow *parent,
2871 wxWindowID id = wxID_ANY,
2872 const wxPoint& pos = wxDefaultPosition,
2873 const wxSize& size = wxDefaultSize,
2874 long style = 0,
2875 const wxString& name = wxPyPanelNameStr)
2876 : wxVScrolledWindow(parent, id, pos, size, style, name)
2877 {}
2878
2879 // Overridable virtuals
2880
2881 // this function must be overridden in the derived class and it should
2882 // return the height of the given line in pixels
2883 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2884
2885
2886 // this function doesn't have to be overridden but it may be useful to do
2887 // it if calculating the lines heights is a relatively expensive operation
2888 // as it gives the user code a possibility to calculate several of them at
2889 // once
2890 //
2891 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2892 // shouldn't rely on the latter being called for all lines in the interval
2893 // specified here. It is also possible that OnGetLineHeight() will be
2894 // called for the lines outside of this interval, so this is really just a
2895 // hint, not a promise.
2896 //
2897 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2898 // usual
2899 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2900
2901
2902 // when the number of lines changes, we try to estimate the total height
2903 // of all lines which is a rather expensive operation in terms of lines
2904 // access, so if the user code may estimate the average height
2905 // better/faster than we do, it should override this function to implement
2906 // its own logic
2907 //
2908 // this function should return the best guess for the total height it may
2909 // make
2910 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2911
2912
2913 // Also expose some other interesting protected methods
2914
2915
2916 // find the index of the line we need to show at the top of the window such
2917 // that the last (fully or partially) visible line is the given one
2918 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2919 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2920
2921 // get the total height of the lines between lineMin (inclusive) and
2922 // lineMax (exclusive)
2923 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2924 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2925
2926 // update the thumb size shown by the scrollbar
2927 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2928
2929 // remove the scrollbar completely because we don't need it
2930 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2931
2932 PYPRIVATE;
2933 };
2934
2935 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2936
2937 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2938 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2939 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2940
2941
2942 SWIGINTERN int
2943 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2944 {
2945 long v = 0;
2946 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2947 return SWIG_TypeError;
2948 }
2949 else if (val)
2950 *val = (unsigned long)v;
2951 return SWIG_OK;
2952 }
2953
2954
2955 SWIGINTERNINLINE int
2956 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2957 {
2958 unsigned long v;
2959 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2960 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2961 return res;
2962 }
2963
2964
2965 SWIGINTERNINLINE PyObject*
2966 SWIG_From_unsigned_SS_long (unsigned long value)
2967 {
2968 return (value > LONG_MAX) ?
2969 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2970 }
2971
2972
2973 SWIGINTERNINLINE PyObject *
2974 SWIG_From_size_t (size_t value)
2975 {
2976 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2977 }
2978
2979
2980 #include <wx/vlbox.h>
2981
2982 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2983
2984 class wxPyVListBox : public wxVListBox
2985 {
2986 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2987 public:
2988 wxPyVListBox() : wxVListBox() {}
2989
2990 wxPyVListBox(wxWindow *parent,
2991 wxWindowID id = wxID_ANY,
2992 const wxPoint& pos = wxDefaultPosition,
2993 const wxSize& size = wxDefaultSize,
2994 long style = 0,
2995 const wxString& name = wxPyVListBoxNameStr)
2996 : wxVListBox(parent, id, pos, size, style, name)
2997 {}
2998
2999 // Overridable virtuals
3000
3001 // the derived class must implement this function to actually draw the item
3002 // with the given index on the provided DC
3003 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3004 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3005
3006
3007 // the derived class must implement this method to return the height of the
3008 // specified item
3009 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3010 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3011
3012
3013 // this method may be used to draw separators between the lines; note that
3014 // the rectangle may be modified, typically to deflate it a bit before
3015 // passing to OnDrawItem()
3016 //
3017 // the base class version doesn't do anything
3018 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3019 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3020
3021
3022 // this method is used to draw the items background and, maybe, a border
3023 // around it
3024 //
3025 // the base class version implements a reasonable default behaviour which
3026 // consists in drawing the selected item with the standard background
3027 // colour and drawing a border around the item if it is either selected or
3028 // current
3029 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3030 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3031
3032
3033 PYPRIVATE;
3034 };
3035
3036 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3037
3038 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3039 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3040 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3041 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3042
3043
3044 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3045 unsigned long cookie = 0;
3046 int selected = self->GetFirstSelected(cookie);
3047 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3048 PyObject* tup = PyTuple_New(2);
3049 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3050 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3051 wxPyEndBlockThreads(blocked);
3052 return tup;
3053 }
3054 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3055 int selected = self->GetNextSelected(cookie);
3056 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3057 PyObject* tup = PyTuple_New(2);
3058 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3059 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3060 wxPyEndBlockThreads(blocked);
3061 return tup;
3062 }
3063
3064 #include <wx/htmllbox.h>
3065
3066
3067 class wxPyHtmlListBox : public wxHtmlListBox
3068 {
3069 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3070 public:
3071 wxPyHtmlListBox() : wxHtmlListBox() {}
3072
3073 wxPyHtmlListBox(wxWindow *parent,
3074 wxWindowID id = wxID_ANY,
3075 const wxPoint& pos = wxDefaultPosition,
3076 const wxSize& size = wxDefaultSize,
3077 long style = 0,
3078 const wxString& name = wxPyVListBoxNameStr)
3079 : wxHtmlListBox(parent, id, pos, size, style, name)
3080 {}
3081
3082 // Overridable virtuals
3083
3084 // this method must be implemented in the derived class and should return
3085 // the body (i.e. without <html>) of the HTML for the given item
3086 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3087
3088 // this function may be overridden to decorate HTML returned by OnGetItem()
3089 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3090
3091 // These are from wxVListBox
3092 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3093 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3094
3095 // TODO:
3096 // // this method allows to customize the selection appearance: it may be used
3097 // // to specify the colour of the text which normally has the given colour
3098 // // colFg when it is inside the selection
3099 // //
3100 // // by default, the original colour is not used at all and all text has the
3101 // // same (default for this system) colour inside selection
3102 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3103
3104 // // this is the same as GetSelectedTextColour() but allows to customize the
3105 // // background colour -- this is even more rarely used as you can change it
3106 // // globally using SetSelectionBackground()
3107 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3108
3109
3110 // This method may be overriden to handle clicking on a link in
3111 // the listbox. By default, clicking links is ignored.
3112 virtual void OnLinkClicked(size_t n,
3113 const wxHtmlLinkInfo& link);
3114
3115 PYPRIVATE;
3116 };
3117
3118
3119 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3120
3121 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3122 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3123 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3124 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3125
3126
3127 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3128 const wxHtmlLinkInfo& link) {
3129 bool found;
3130 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3131 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3132 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3133 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3134 Py_DECREF(obj);
3135 }
3136 wxPyEndBlockThreads(blocked);
3137 if (! found)
3138 wxPyHtmlListBox::OnLinkClicked(n, link);
3139 }
3140
3141
3142
3143
3144
3145 #ifndef wxHAS_TASK_BAR_ICON
3146 // implement dummy classes for platforms that don't have it
3147
3148 class wxTaskBarIcon : public wxEvtHandler
3149 {
3150 public:
3151 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3152 };
3153
3154
3155 class wxTaskBarIconEvent : public wxEvent
3156 {
3157 public:
3158 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3159 { wxPyRaiseNotImplemented(); }
3160 virtual wxEvent* Clone() const { return NULL; }
3161 bool IsOk() const { return false; }
3162 bool IsIconInstalled() const { return false; }
3163 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3164 bool RemoveIcon() { return false; }
3165 bool PopupMenu(wxMenu *menu) { return false; }
3166 };
3167
3168 enum {
3169 wxEVT_TASKBAR_MOVE = 0,
3170 wxEVT_TASKBAR_LEFT_DOWN = 0,
3171 wxEVT_TASKBAR_LEFT_UP = 0,
3172 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3173 wxEVT_TASKBAR_RIGHT_UP = 0,
3174 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3175 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3176 };
3177
3178
3179 #else
3180 // Otherwise make a class that can virtualize CreatePopupMenu
3181 class wxPyTaskBarIcon : public wxTaskBarIcon
3182 {
3183 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3184 public:
3185 wxPyTaskBarIcon() : wxTaskBarIcon()
3186 {}
3187
3188 wxMenu* CreatePopupMenu() {
3189 wxMenu *rval = NULL;
3190 bool found;
3191 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3192 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3193 PyObject* ro;
3194 wxMenu* ptr;
3195 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3196 if (ro) {
3197 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3198 rval = ptr;
3199 Py_DECREF(ro);
3200 }
3201 }
3202 wxPyEndBlockThreads(blocked);
3203 if (! found)
3204 rval = wxTaskBarIcon::CreatePopupMenu();
3205 return rval;
3206 }
3207
3208 PYPRIVATE;
3209 };
3210
3211 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3212
3213 #endif
3214
3215 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3216 self->RemoveIcon();
3217 delete self;
3218 }
3219 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3220 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3221 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3222 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3223 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3224 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3225 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3226 wxArrayString arr;
3227 self->GetFilenames(arr);
3228 return wxArrayString2PyList_helper(arr);
3229 }
3230 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3231 wxArrayString arr;
3232 self->GetPaths(arr);
3233 return wxArrayString2PyList_helper(arr);
3234 }
3235 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3236 return wxArrayInt2PyList_helper(self->GetSelections());
3237 }
3238 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){
3239 return new wxSingleChoiceDialog(parent, message, caption,
3240 choices, choices_array, NULL, style, pos);
3241 }
3242 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3243
3244 SWIGINTERNINLINE PyObject*
3245 SWIG_From_bool (bool value)
3246 {
3247 return PyBool_FromLong(value ? 1 : 0);
3248 }
3249
3250
3251 #include <wx/mdi.h>
3252
3253 // C++ version of Python aware wxWindow
3254 class wxPyWindow : public wxWindow
3255 {
3256 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3257 public:
3258 wxPyWindow() : wxWindow() {}
3259 wxPyWindow(wxWindow* parent, const wxWindowID id,
3260 const wxPoint& pos = wxDefaultPosition,
3261 const wxSize& size = wxDefaultSize,
3262 long style = 0,
3263 const wxString& name = wxPyPanelNameStr)
3264 : wxWindow(parent, id, pos, size, style, name) {}
3265
3266 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3267
3268 bool DoEraseBackground(wxDC* dc) {
3269 #ifdef __WXMSW__
3270 return wxWindow::DoEraseBackground(dc->GetHDC());
3271 #else
3272 dc->SetBackground(wxBrush(GetBackgroundColour()));
3273 dc->Clear();
3274 return true;
3275 #endif
3276 }
3277
3278 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3279 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3280 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3282
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3286
3287 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3288 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3289
3290 DEC_PYCALLBACK__(InitDialog);
3291 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3292 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3293 DEC_PYCALLBACK_BOOL_(Validate);
3294
3295 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3297 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3298
3299 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3300 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3301
3302 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3304
3305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3306
3307 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3308
3309 PYPRIVATE;
3310 };
3311
3312 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3313
3314 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3315 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3316 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3318
3319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3322
3323 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3324 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3325
3326 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3327 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3328 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3329 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3330
3331 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3332 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3334
3335 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3337
3338 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3339 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3340
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3342
3343 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3344
3345 // C++ version of Python aware wxPanel
3346 class wxPyPanel : public wxPanel
3347 {
3348 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3349 public:
3350 wxPyPanel() : wxPanel() {}
3351 wxPyPanel(wxWindow* parent, const wxWindowID id,
3352 const wxPoint& pos = wxDefaultPosition,
3353 const wxSize& size = wxDefaultSize,
3354 long style = 0,
3355 const wxString& name = wxPyPanelNameStr)
3356 : wxPanel(parent, id, pos, size, style, name) {}
3357
3358 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3359 bool DoEraseBackground(wxDC* dc) {
3360 #ifdef __WXMSW__
3361 return wxWindow::DoEraseBackground(dc->GetHDC());
3362 #else
3363 dc->SetBackground(wxBrush(GetBackgroundColour()));
3364 dc->Clear();
3365 return true;
3366 #endif
3367 }
3368
3369
3370 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3371 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3372 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3373 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3374
3375 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3377 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3378
3379 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3380 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3381
3382 DEC_PYCALLBACK__(InitDialog);
3383 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3384 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3385 DEC_PYCALLBACK_BOOL_(Validate);
3386
3387 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3388 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3389 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3390
3391 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3392 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3393
3394 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3395 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3396
3397 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3398
3399 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3400
3401 PYPRIVATE;
3402 };
3403
3404 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3405
3406 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3407 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3408 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3409 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3410
3411 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3412 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3413 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3414
3415 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3416 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3417
3418 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3419 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3420 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3421 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3422
3423 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3424 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3426
3427 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3428 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3429
3430 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3431 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3432
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3434
3435 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3436
3437 // C++ version of Python aware wxScrolledWindow
3438 class wxPyScrolledWindow : public wxScrolledWindow
3439 {
3440 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3441 public:
3442 wxPyScrolledWindow() : wxScrolledWindow() {}
3443 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3444 const wxPoint& pos = wxDefaultPosition,
3445 const wxSize& size = wxDefaultSize,
3446 long style = 0,
3447 const wxString& name = wxPyPanelNameStr)
3448 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3449
3450 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3451 bool DoEraseBackground(wxDC* dc) {
3452 #ifdef __WXMSW__
3453 return wxWindow::DoEraseBackground(dc->GetHDC());
3454 #else
3455 dc->SetBackground(wxBrush(GetBackgroundColour()));
3456 dc->Clear();
3457 return true;
3458 #endif
3459 }
3460
3461 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3462 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3463 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3464 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3465
3466 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3468 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3469
3470 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3471 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3472
3473 DEC_PYCALLBACK__(InitDialog);
3474 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3475 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3476 DEC_PYCALLBACK_BOOL_(Validate);
3477
3478 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3479 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3480 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3481
3482 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3483 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3484
3485 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3486 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3487
3488 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3489
3490 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3491
3492 PYPRIVATE;
3493 };
3494
3495 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3496
3497 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3498 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3499 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3500 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3501
3502 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3503 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3504 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3505
3506 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3507 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3508
3509 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3510 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3511 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3512 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3513
3514 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3515 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3517
3518 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3519 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3520
3521 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3522 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3523
3524 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3525
3526 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3527
3528
3529 #include "wx/wxPython/printfw.h"
3530
3531
3532 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3533 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3534 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3535 PyObject* data;
3536 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3537 data = PyString_FromStringAndSize(self->GetPrivData(),
3538 self->GetPrivDataLen());
3539 wxPyEndBlockThreads(blocked);
3540 return data;
3541 }
3542 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3543 if (! PyString_Check(data)) {
3544 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3545 "Expected string object"));
3546 return /* NULL */ ;
3547 }
3548
3549 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3550 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3551 wxPyEndBlockThreads(blocked);
3552 }
3553
3554
3555 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3556
3557 // Since this one would be tough and ugly to do with the Macros...
3558 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3559 bool hadErr = false;
3560 bool found;
3561
3562 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3563 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3564 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3565 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3566 PyObject* val;
3567
3568 val = PyTuple_GetItem(result, 0);
3569 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3570 else hadErr = true;
3571
3572 val = PyTuple_GetItem(result, 1);
3573 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3574 else hadErr = true;
3575
3576 val = PyTuple_GetItem(result, 2);
3577 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3578 else hadErr = true;
3579
3580 val = PyTuple_GetItem(result, 3);
3581 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3582 else hadErr = true;
3583 }
3584 else
3585 hadErr = true;
3586
3587 if (hadErr) {
3588 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3589 PyErr_Print();
3590 }
3591 Py_DECREF(result);
3592 }
3593 wxPyEndBlockThreads(blocked);
3594 if (! found)
3595 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3596 }
3597
3598
3599
3600 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3601 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3602 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3603 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3604 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3605 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3606 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3607
3608
3609
3610
3611
3612 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3613 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3614
3615
3616 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3617 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3618 bool rval=false; \
3619 bool found; \
3620 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3621 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3622 PyObject* win = wxPyMake_wxObject(a,false); \
3623 PyObject* dc = wxPyMake_wxObject(&b,false); \
3624 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3625 Py_DECREF(win); \
3626 Py_DECREF(dc); \
3627 } \
3628 wxPyEndBlockThreads(blocked); \
3629 if (! found) \
3630 rval = PCLASS::CBNAME(a, b); \
3631 return rval; \
3632 }
3633
3634
3635
3636
3637 class wxPyPrintPreview : public wxPrintPreview
3638 {
3639 DECLARE_CLASS(wxPyPrintPreview)
3640 public:
3641 wxPyPrintPreview(wxPyPrintout* printout,
3642 wxPyPrintout* printoutForPrinting,
3643 wxPrintDialogData* data=NULL)
3644 : wxPrintPreview(printout, printoutForPrinting, data)
3645 {}
3646 wxPyPrintPreview(wxPyPrintout* printout,
3647 wxPyPrintout* printoutForPrinting,
3648 wxPrintData* data)
3649 : wxPrintPreview(printout, printoutForPrinting, data)
3650 {}
3651
3652 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3653 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3654 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3655 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3656 DEC_PYCALLBACK_VOID_INT(SetZoom);
3657 DEC_PYCALLBACK_BOOL_BOOL(Print);
3658 DEC_PYCALLBACK_VOID_(DetermineScaling);
3659
3660 PYPRIVATE;
3661 };
3662
3663 // Stupid renamed classes... Fix this in 2.5...
3664 #if defined(__WXMSW__)
3665 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3666 #elif defined(__WXMAC__)
3667 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3668 #else
3669 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3670 #endif
3671
3672 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3673 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3674 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3675 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3676 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3677 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3678 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3679
3680
3681 class wxPyPreviewFrame : public wxPreviewFrame
3682 {
3683 DECLARE_CLASS(wxPyPreviewFrame)
3684 public:
3685 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3686 const wxString& title,
3687 const wxPoint& pos = wxDefaultPosition,
3688 const wxSize& size = wxDefaultSize,
3689 long style = wxDEFAULT_FRAME_STYLE,
3690 const wxString& name = wxPyFrameNameStr)
3691 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3692 {}
3693
3694 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3695 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3696
3697 DEC_PYCALLBACK_VOID_(Initialize);
3698 DEC_PYCALLBACK_VOID_(CreateCanvas);
3699 DEC_PYCALLBACK_VOID_(CreateControlBar);
3700
3701 PYPRIVATE;
3702 };
3703
3704 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3705
3706 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3707 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3708 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3709
3710
3711 class wxPyPreviewControlBar : public wxPreviewControlBar
3712 {
3713 DECLARE_CLASS(wxPyPreviewControlBar)
3714 public:
3715 wxPyPreviewControlBar(wxPrintPreview *preview,
3716 long buttons,
3717 wxWindow *parent,
3718 const wxPoint& pos = wxDefaultPosition,
3719 const wxSize& size = wxDefaultSize,
3720 long style = 0,
3721 const wxString& name = wxPyPanelNameStr)
3722 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3723 {}
3724
3725 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3726
3727 DEC_PYCALLBACK_VOID_(CreateButtons);
3728 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3729
3730 PYPRIVATE;
3731 };
3732
3733 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3735 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3736
3737 #ifdef __cplusplus
3738 extern "C" {
3739 #endif
3740 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3741 PyObject *resultobj = 0;
3742 wxWindow *arg1 = (wxWindow *) 0 ;
3743 int arg2 = (int) (int)-1 ;
3744 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3745 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3746 wxSize const &arg4_defvalue = wxDefaultSize ;
3747 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3748 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3749 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3750 wxString *arg6 = (wxString *) &arg6_defvalue ;
3751 wxPanel *result = 0 ;
3752 void *argp1 = 0 ;
3753 int res1 = 0 ;
3754 int val2 ;
3755 int ecode2 = 0 ;
3756 wxPoint temp3 ;
3757 wxSize temp4 ;
3758 long val5 ;
3759 int ecode5 = 0 ;
3760 bool temp6 = false ;
3761 PyObject * obj0 = 0 ;
3762 PyObject * obj1 = 0 ;
3763 PyObject * obj2 = 0 ;
3764 PyObject * obj3 = 0 ;
3765 PyObject * obj4 = 0 ;
3766 PyObject * obj5 = 0 ;
3767 char * kwnames[] = {
3768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3769 };
3770
3771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3773 if (!SWIG_IsOK(res1)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3775 }
3776 arg1 = reinterpret_cast< wxWindow * >(argp1);
3777 if (obj1) {
3778 ecode2 = SWIG_AsVal_int(obj1, &val2);
3779 if (!SWIG_IsOK(ecode2)) {
3780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3781 }
3782 arg2 = static_cast< int >(val2);
3783 }
3784 if (obj2) {
3785 {
3786 arg3 = &temp3;
3787 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3788 }
3789 }
3790 if (obj3) {
3791 {
3792 arg4 = &temp4;
3793 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3794 }
3795 }
3796 if (obj4) {
3797 ecode5 = SWIG_AsVal_long(obj4, &val5);
3798 if (!SWIG_IsOK(ecode5)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3800 }
3801 arg5 = static_cast< long >(val5);
3802 }
3803 if (obj5) {
3804 {
3805 arg6 = wxString_in_helper(obj5);
3806 if (arg6 == NULL) SWIG_fail;
3807 temp6 = true;
3808 }
3809 }
3810 {
3811 if (!wxPyCheckForApp()) SWIG_fail;
3812 PyThreadState* __tstate = wxPyBeginAllowThreads();
3813 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
3817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3818 {
3819 if (temp6)
3820 delete arg6;
3821 }
3822 return resultobj;
3823 fail:
3824 {
3825 if (temp6)
3826 delete arg6;
3827 }
3828 return NULL;
3829 }
3830
3831
3832 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3833 PyObject *resultobj = 0;
3834 wxPanel *result = 0 ;
3835
3836 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3837 {
3838 if (!wxPyCheckForApp()) SWIG_fail;
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (wxPanel *)new wxPanel();
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3845 return resultobj;
3846 fail:
3847 return NULL;
3848 }
3849
3850
3851 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3852 PyObject *resultobj = 0;
3853 wxPanel *arg1 = (wxPanel *) 0 ;
3854 wxWindow *arg2 = (wxWindow *) 0 ;
3855 int arg3 = (int) (int)-1 ;
3856 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3857 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3858 wxSize const &arg5_defvalue = wxDefaultSize ;
3859 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3860 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3861 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3862 wxString *arg7 = (wxString *) &arg7_defvalue ;
3863 bool result;
3864 void *argp1 = 0 ;
3865 int res1 = 0 ;
3866 void *argp2 = 0 ;
3867 int res2 = 0 ;
3868 int val3 ;
3869 int ecode3 = 0 ;
3870 wxPoint temp4 ;
3871 wxSize temp5 ;
3872 long val6 ;
3873 int ecode6 = 0 ;
3874 bool temp7 = false ;
3875 PyObject * obj0 = 0 ;
3876 PyObject * obj1 = 0 ;
3877 PyObject * obj2 = 0 ;
3878 PyObject * obj3 = 0 ;
3879 PyObject * obj4 = 0 ;
3880 PyObject * obj5 = 0 ;
3881 PyObject * obj6 = 0 ;
3882 char * kwnames[] = {
3883 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3884 };
3885
3886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3888 if (!SWIG_IsOK(res1)) {
3889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3890 }
3891 arg1 = reinterpret_cast< wxPanel * >(argp1);
3892 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3893 if (!SWIG_IsOK(res2)) {
3894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3895 }
3896 arg2 = reinterpret_cast< wxWindow * >(argp2);
3897 if (obj2) {
3898 ecode3 = SWIG_AsVal_int(obj2, &val3);
3899 if (!SWIG_IsOK(ecode3)) {
3900 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3901 }
3902 arg3 = static_cast< int >(val3);
3903 }
3904 if (obj3) {
3905 {
3906 arg4 = &temp4;
3907 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3908 }
3909 }
3910 if (obj4) {
3911 {
3912 arg5 = &temp5;
3913 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3914 }
3915 }
3916 if (obj5) {
3917 ecode6 = SWIG_AsVal_long(obj5, &val6);
3918 if (!SWIG_IsOK(ecode6)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3920 }
3921 arg6 = static_cast< long >(val6);
3922 }
3923 if (obj6) {
3924 {
3925 arg7 = wxString_in_helper(obj6);
3926 if (arg7 == NULL) SWIG_fail;
3927 temp7 = true;
3928 }
3929 }
3930 {
3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
3932 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 {
3937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3938 }
3939 {
3940 if (temp7)
3941 delete arg7;
3942 }
3943 return resultobj;
3944 fail:
3945 {
3946 if (temp7)
3947 delete arg7;
3948 }
3949 return NULL;
3950 }
3951
3952
3953 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3954 PyObject *resultobj = 0;
3955 wxPanel *arg1 = (wxPanel *) 0 ;
3956 void *argp1 = 0 ;
3957 int res1 = 0 ;
3958 PyObject *swig_obj[1] ;
3959
3960 if (!args) SWIG_fail;
3961 swig_obj[0] = args;
3962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3963 if (!SWIG_IsOK(res1)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3965 }
3966 arg1 = reinterpret_cast< wxPanel * >(argp1);
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 (arg1)->SetFocusIgnoringChildren();
3970 wxPyEndAllowThreads(__tstate);
3971 if (PyErr_Occurred()) SWIG_fail;
3972 }
3973 resultobj = SWIG_Py_Void();
3974 return resultobj;
3975 fail:
3976 return NULL;
3977 }
3978
3979
3980 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3981 PyObject *resultobj = 0;
3982 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3983 SwigValueWrapper<wxVisualAttributes > result;
3984 int val1 ;
3985 int ecode1 = 0 ;
3986 PyObject * obj0 = 0 ;
3987 char * kwnames[] = {
3988 (char *) "variant", NULL
3989 };
3990
3991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3992 if (obj0) {
3993 ecode1 = SWIG_AsVal_int(obj0, &val1);
3994 if (!SWIG_IsOK(ecode1)) {
3995 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3996 }
3997 arg1 = static_cast< wxWindowVariant >(val1);
3998 }
3999 {
4000 if (!wxPyCheckForApp()) SWIG_fail;
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 result = wxPanel::GetClassDefaultAttributes(arg1);
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4007 return resultobj;
4008 fail:
4009 return NULL;
4010 }
4011
4012
4013 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4014 PyObject *obj;
4015 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4016 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4017 return SWIG_Py_Void();
4018 }
4019
4020 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4021 return SWIG_Python_InitShadowInstance(args);
4022 }
4023
4024 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4025 PyObject *resultobj = 0;
4026 wxWindow *arg1 = (wxWindow *) 0 ;
4027 int arg2 = (int) (int)-1 ;
4028 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4029 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4030 wxSize const &arg4_defvalue = wxDefaultSize ;
4031 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4032 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4033 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4034 wxString *arg6 = (wxString *) &arg6_defvalue ;
4035 wxScrolledWindow *result = 0 ;
4036 void *argp1 = 0 ;
4037 int res1 = 0 ;
4038 int val2 ;
4039 int ecode2 = 0 ;
4040 wxPoint temp3 ;
4041 wxSize temp4 ;
4042 long val5 ;
4043 int ecode5 = 0 ;
4044 bool temp6 = false ;
4045 PyObject * obj0 = 0 ;
4046 PyObject * obj1 = 0 ;
4047 PyObject * obj2 = 0 ;
4048 PyObject * obj3 = 0 ;
4049 PyObject * obj4 = 0 ;
4050 PyObject * obj5 = 0 ;
4051 char * kwnames[] = {
4052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4053 };
4054
4055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4057 if (!SWIG_IsOK(res1)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4059 }
4060 arg1 = reinterpret_cast< wxWindow * >(argp1);
4061 if (obj1) {
4062 ecode2 = SWIG_AsVal_int(obj1, &val2);
4063 if (!SWIG_IsOK(ecode2)) {
4064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4065 }
4066 arg2 = static_cast< int >(val2);
4067 }
4068 if (obj2) {
4069 {
4070 arg3 = &temp3;
4071 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4072 }
4073 }
4074 if (obj3) {
4075 {
4076 arg4 = &temp4;
4077 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4078 }
4079 }
4080 if (obj4) {
4081 ecode5 = SWIG_AsVal_long(obj4, &val5);
4082 if (!SWIG_IsOK(ecode5)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4084 }
4085 arg5 = static_cast< long >(val5);
4086 }
4087 if (obj5) {
4088 {
4089 arg6 = wxString_in_helper(obj5);
4090 if (arg6 == NULL) SWIG_fail;
4091 temp6 = true;
4092 }
4093 }
4094 {
4095 if (!wxPyCheckForApp()) SWIG_fail;
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4098 wxPyEndAllowThreads(__tstate);
4099 if (PyErr_Occurred()) SWIG_fail;
4100 }
4101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4102 {
4103 if (temp6)
4104 delete arg6;
4105 }
4106 return resultobj;
4107 fail:
4108 {
4109 if (temp6)
4110 delete arg6;
4111 }
4112 return NULL;
4113 }
4114
4115
4116 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4117 PyObject *resultobj = 0;
4118 wxScrolledWindow *result = 0 ;
4119
4120 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4121 {
4122 if (!wxPyCheckForApp()) SWIG_fail;
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (wxScrolledWindow *)new wxScrolledWindow();
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4129 return resultobj;
4130 fail:
4131 return NULL;
4132 }
4133
4134
4135 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj = 0;
4137 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4138 wxWindow *arg2 = (wxWindow *) 0 ;
4139 int arg3 = (int) (int)-1 ;
4140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4142 wxSize const &arg5_defvalue = wxDefaultSize ;
4143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4144 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4145 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4146 wxString *arg7 = (wxString *) &arg7_defvalue ;
4147 bool result;
4148 void *argp1 = 0 ;
4149 int res1 = 0 ;
4150 void *argp2 = 0 ;
4151 int res2 = 0 ;
4152 int val3 ;
4153 int ecode3 = 0 ;
4154 wxPoint temp4 ;
4155 wxSize temp5 ;
4156 long val6 ;
4157 int ecode6 = 0 ;
4158 bool temp7 = false ;
4159 PyObject * obj0 = 0 ;
4160 PyObject * obj1 = 0 ;
4161 PyObject * obj2 = 0 ;
4162 PyObject * obj3 = 0 ;
4163 PyObject * obj4 = 0 ;
4164 PyObject * obj5 = 0 ;
4165 PyObject * obj6 = 0 ;
4166 char * kwnames[] = {
4167 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4168 };
4169
4170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4172 if (!SWIG_IsOK(res1)) {
4173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4174 }
4175 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4176 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4177 if (!SWIG_IsOK(res2)) {
4178 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4179 }
4180 arg2 = reinterpret_cast< wxWindow * >(argp2);
4181 if (obj2) {
4182 ecode3 = SWIG_AsVal_int(obj2, &val3);
4183 if (!SWIG_IsOK(ecode3)) {
4184 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4185 }
4186 arg3 = static_cast< int >(val3);
4187 }
4188 if (obj3) {
4189 {
4190 arg4 = &temp4;
4191 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4192 }
4193 }
4194 if (obj4) {
4195 {
4196 arg5 = &temp5;
4197 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4198 }
4199 }
4200 if (obj5) {
4201 ecode6 = SWIG_AsVal_long(obj5, &val6);
4202 if (!SWIG_IsOK(ecode6)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4204 }
4205 arg6 = static_cast< long >(val6);
4206 }
4207 if (obj6) {
4208 {
4209 arg7 = wxString_in_helper(obj6);
4210 if (arg7 == NULL) SWIG_fail;
4211 temp7 = true;
4212 }
4213 }
4214 {
4215 PyThreadState* __tstate = wxPyBeginAllowThreads();
4216 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 {
4221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4222 }
4223 {
4224 if (temp7)
4225 delete arg7;
4226 }
4227 return resultobj;
4228 fail:
4229 {
4230 if (temp7)
4231 delete arg7;
4232 }
4233 return NULL;
4234 }
4235
4236
4237 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj = 0;
4239 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4240 int arg2 ;
4241 int arg3 ;
4242 int arg4 ;
4243 int arg5 ;
4244 int arg6 = (int) 0 ;
4245 int arg7 = (int) 0 ;
4246 bool arg8 = (bool) false ;
4247 void *argp1 = 0 ;
4248 int res1 = 0 ;
4249 int val2 ;
4250 int ecode2 = 0 ;
4251 int val3 ;
4252 int ecode3 = 0 ;
4253 int val4 ;
4254 int ecode4 = 0 ;
4255 int val5 ;
4256 int ecode5 = 0 ;
4257 int val6 ;
4258 int ecode6 = 0 ;
4259 int val7 ;
4260 int ecode7 = 0 ;
4261 bool val8 ;
4262 int ecode8 = 0 ;
4263 PyObject * obj0 = 0 ;
4264 PyObject * obj1 = 0 ;
4265 PyObject * obj2 = 0 ;
4266 PyObject * obj3 = 0 ;
4267 PyObject * obj4 = 0 ;
4268 PyObject * obj5 = 0 ;
4269 PyObject * obj6 = 0 ;
4270 PyObject * obj7 = 0 ;
4271 char * kwnames[] = {
4272 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4273 };
4274
4275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4277 if (!SWIG_IsOK(res1)) {
4278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4279 }
4280 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4281 ecode2 = SWIG_AsVal_int(obj1, &val2);
4282 if (!SWIG_IsOK(ecode2)) {
4283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4284 }
4285 arg2 = static_cast< int >(val2);
4286 ecode3 = SWIG_AsVal_int(obj2, &val3);
4287 if (!SWIG_IsOK(ecode3)) {
4288 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4289 }
4290 arg3 = static_cast< int >(val3);
4291 ecode4 = SWIG_AsVal_int(obj3, &val4);
4292 if (!SWIG_IsOK(ecode4)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4294 }
4295 arg4 = static_cast< int >(val4);
4296 ecode5 = SWIG_AsVal_int(obj4, &val5);
4297 if (!SWIG_IsOK(ecode5)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4299 }
4300 arg5 = static_cast< int >(val5);
4301 if (obj5) {
4302 ecode6 = SWIG_AsVal_int(obj5, &val6);
4303 if (!SWIG_IsOK(ecode6)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4305 }
4306 arg6 = static_cast< int >(val6);
4307 }
4308 if (obj6) {
4309 ecode7 = SWIG_AsVal_int(obj6, &val7);
4310 if (!SWIG_IsOK(ecode7)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4312 }
4313 arg7 = static_cast< int >(val7);
4314 }
4315 if (obj7) {
4316 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4317 if (!SWIG_IsOK(ecode8)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4319 }
4320 arg8 = static_cast< bool >(val8);
4321 }
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 resultobj = SWIG_Py_Void();
4329 return resultobj;
4330 fail:
4331 return NULL;
4332 }
4333
4334
4335 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj = 0;
4337 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4338 int arg2 ;
4339 int arg3 ;
4340 void *argp1 = 0 ;
4341 int res1 = 0 ;
4342 int val2 ;
4343 int ecode2 = 0 ;
4344 int val3 ;
4345 int ecode3 = 0 ;
4346 PyObject * obj0 = 0 ;
4347 PyObject * obj1 = 0 ;
4348 PyObject * obj2 = 0 ;
4349 char * kwnames[] = {
4350 (char *) "self",(char *) "x",(char *) "y", NULL
4351 };
4352
4353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4355 if (!SWIG_IsOK(res1)) {
4356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4357 }
4358 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4359 ecode2 = SWIG_AsVal_int(obj1, &val2);
4360 if (!SWIG_IsOK(ecode2)) {
4361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4362 }
4363 arg2 = static_cast< int >(val2);
4364 ecode3 = SWIG_AsVal_int(obj2, &val3);
4365 if (!SWIG_IsOK(ecode3)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4367 }
4368 arg3 = static_cast< int >(val3);
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4371 (arg1)->Scroll(arg2,arg3);
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
4375 resultobj = SWIG_Py_Void();
4376 return resultobj;
4377 fail:
4378 return NULL;
4379 }
4380
4381
4382 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4383 PyObject *resultobj = 0;
4384 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4385 int arg2 ;
4386 int result;
4387 void *argp1 = 0 ;
4388 int res1 = 0 ;
4389 int val2 ;
4390 int ecode2 = 0 ;
4391 PyObject * obj0 = 0 ;
4392 PyObject * obj1 = 0 ;
4393 char * kwnames[] = {
4394 (char *) "self",(char *) "orient", NULL
4395 };
4396
4397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4399 if (!SWIG_IsOK(res1)) {
4400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4401 }
4402 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4403 ecode2 = SWIG_AsVal_int(obj1, &val2);
4404 if (!SWIG_IsOK(ecode2)) {
4405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4406 }
4407 arg2 = static_cast< int >(val2);
4408 {
4409 PyThreadState* __tstate = wxPyBeginAllowThreads();
4410 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 resultobj = SWIG_From_int(static_cast< int >(result));
4415 return resultobj;
4416 fail:
4417 return NULL;
4418 }
4419
4420
4421 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4422 PyObject *resultobj = 0;
4423 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4424 int arg2 ;
4425 int arg3 ;
4426 void *argp1 = 0 ;
4427 int res1 = 0 ;
4428 int val2 ;
4429 int ecode2 = 0 ;
4430 int val3 ;
4431 int ecode3 = 0 ;
4432 PyObject * obj0 = 0 ;
4433 PyObject * obj1 = 0 ;
4434 PyObject * obj2 = 0 ;
4435 char * kwnames[] = {
4436 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4437 };
4438
4439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4441 if (!SWIG_IsOK(res1)) {
4442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4443 }
4444 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4445 ecode2 = SWIG_AsVal_int(obj1, &val2);
4446 if (!SWIG_IsOK(ecode2)) {
4447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4448 }
4449 arg2 = static_cast< int >(val2);
4450 ecode3 = SWIG_AsVal_int(obj2, &val3);
4451 if (!SWIG_IsOK(ecode3)) {
4452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4453 }
4454 arg3 = static_cast< int >(val3);
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 (arg1)->SetScrollPageSize(arg2,arg3);
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4461 resultobj = SWIG_Py_Void();
4462 return resultobj;
4463 fail:
4464 return NULL;
4465 }
4466
4467
4468 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4469 PyObject *resultobj = 0;
4470 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4471 int arg2 ;
4472 int arg3 ;
4473 void *argp1 = 0 ;
4474 int res1 = 0 ;
4475 int val2 ;
4476 int ecode2 = 0 ;
4477 int val3 ;
4478 int ecode3 = 0 ;
4479 PyObject * obj0 = 0 ;
4480 PyObject * obj1 = 0 ;
4481 PyObject * obj2 = 0 ;
4482 char * kwnames[] = {
4483 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4484 };
4485
4486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4488 if (!SWIG_IsOK(res1)) {
4489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4490 }
4491 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4492 ecode2 = SWIG_AsVal_int(obj1, &val2);
4493 if (!SWIG_IsOK(ecode2)) {
4494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4495 }
4496 arg2 = static_cast< int >(val2);
4497 ecode3 = SWIG_AsVal_int(obj2, &val3);
4498 if (!SWIG_IsOK(ecode3)) {
4499 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4500 }
4501 arg3 = static_cast< int >(val3);
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 (arg1)->SetScrollRate(arg2,arg3);
4505 wxPyEndAllowThreads(__tstate);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 resultobj = SWIG_Py_Void();
4509 return resultobj;
4510 fail:
4511 return NULL;
4512 }
4513
4514
4515 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4516 PyObject *resultobj = 0;
4517 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4518 int *arg2 = (int *) 0 ;
4519 int *arg3 = (int *) 0 ;
4520 void *argp1 = 0 ;
4521 int res1 = 0 ;
4522 int temp2 ;
4523 int res2 = SWIG_TMPOBJ ;
4524 int temp3 ;
4525 int res3 = SWIG_TMPOBJ ;
4526 PyObject *swig_obj[1] ;
4527
4528 arg2 = &temp2;
4529 arg3 = &temp3;
4530 if (!args) SWIG_fail;
4531 swig_obj[0] = args;
4532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4533 if (!SWIG_IsOK(res1)) {
4534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4535 }
4536 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4540 wxPyEndAllowThreads(__tstate);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 }
4543 resultobj = SWIG_Py_Void();
4544 if (SWIG_IsTmpObj(res2)) {
4545 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4546 } else {
4547 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4548 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4549 }
4550 if (SWIG_IsTmpObj(res3)) {
4551 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4552 } else {
4553 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4554 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4555 }
4556 return resultobj;
4557 fail:
4558 return NULL;
4559 }
4560
4561
4562 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4563 PyObject *resultobj = 0;
4564 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4565 bool arg2 ;
4566 bool arg3 ;
4567 void *argp1 = 0 ;
4568 int res1 = 0 ;
4569 bool val2 ;
4570 int ecode2 = 0 ;
4571 bool val3 ;
4572 int ecode3 = 0 ;
4573 PyObject * obj0 = 0 ;
4574 PyObject * obj1 = 0 ;
4575 PyObject * obj2 = 0 ;
4576 char * kwnames[] = {
4577 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4578 };
4579
4580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4582 if (!SWIG_IsOK(res1)) {
4583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4584 }
4585 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4586 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4587 if (!SWIG_IsOK(ecode2)) {
4588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4589 }
4590 arg2 = static_cast< bool >(val2);
4591 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4592 if (!SWIG_IsOK(ecode3)) {
4593 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4594 }
4595 arg3 = static_cast< bool >(val3);
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 (arg1)->EnableScrolling(arg2,arg3);
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 resultobj = SWIG_Py_Void();
4603 return resultobj;
4604 fail:
4605 return NULL;
4606 }
4607
4608
4609 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4610 PyObject *resultobj = 0;
4611 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4612 int *arg2 = (int *) 0 ;
4613 int *arg3 = (int *) 0 ;
4614 void *argp1 = 0 ;
4615 int res1 = 0 ;
4616 int temp2 ;
4617 int res2 = SWIG_TMPOBJ ;
4618 int temp3 ;
4619 int res3 = SWIG_TMPOBJ ;
4620 PyObject *swig_obj[1] ;
4621
4622 arg2 = &temp2;
4623 arg3 = &temp3;
4624 if (!args) SWIG_fail;
4625 swig_obj[0] = args;
4626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4627 if (!SWIG_IsOK(res1)) {
4628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4629 }
4630 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4631 {
4632 PyThreadState* __tstate = wxPyBeginAllowThreads();
4633 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4634 wxPyEndAllowThreads(__tstate);
4635 if (PyErr_Occurred()) SWIG_fail;
4636 }
4637 resultobj = SWIG_Py_Void();
4638 if (SWIG_IsTmpObj(res2)) {
4639 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4640 } else {
4641 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4642 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4643 }
4644 if (SWIG_IsTmpObj(res3)) {
4645 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4646 } else {
4647 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4649 }
4650 return resultobj;
4651 fail:
4652 return NULL;
4653 }
4654
4655
4656 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4657 PyObject *resultobj = 0;
4658 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4659 double arg2 ;
4660 double arg3 ;
4661 void *argp1 = 0 ;
4662 int res1 = 0 ;
4663 double val2 ;
4664 int ecode2 = 0 ;
4665 double val3 ;
4666 int ecode3 = 0 ;
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4669 PyObject * obj2 = 0 ;
4670 char * kwnames[] = {
4671 (char *) "self",(char *) "xs",(char *) "ys", NULL
4672 };
4673
4674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4676 if (!SWIG_IsOK(res1)) {
4677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4678 }
4679 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4680 ecode2 = SWIG_AsVal_double(obj1, &val2);
4681 if (!SWIG_IsOK(ecode2)) {
4682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4683 }
4684 arg2 = static_cast< double >(val2);
4685 ecode3 = SWIG_AsVal_double(obj2, &val3);
4686 if (!SWIG_IsOK(ecode3)) {
4687 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4688 }
4689 arg3 = static_cast< double >(val3);
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 (arg1)->SetScale(arg2,arg3);
4693 wxPyEndAllowThreads(__tstate);
4694 if (PyErr_Occurred()) SWIG_fail;
4695 }
4696 resultobj = SWIG_Py_Void();
4697 return resultobj;
4698 fail:
4699 return NULL;
4700 }
4701
4702
4703 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4704 PyObject *resultobj = 0;
4705 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4706 double result;
4707 void *argp1 = 0 ;
4708 int res1 = 0 ;
4709 PyObject *swig_obj[1] ;
4710
4711 if (!args) SWIG_fail;
4712 swig_obj[0] = args;
4713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4714 if (!SWIG_IsOK(res1)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4716 }
4717 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = SWIG_From_double(static_cast< double >(result));
4725 return resultobj;
4726 fail:
4727 return NULL;
4728 }
4729
4730
4731 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4732 PyObject *resultobj = 0;
4733 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4734 double result;
4735 void *argp1 = 0 ;
4736 int res1 = 0 ;
4737 PyObject *swig_obj[1] ;
4738
4739 if (!args) SWIG_fail;
4740 swig_obj[0] = args;
4741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4742 if (!SWIG_IsOK(res1)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4744 }
4745 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 resultobj = SWIG_From_double(static_cast< double >(result));
4753 return resultobj;
4754 fail:
4755 return NULL;
4756 }
4757
4758
4759 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4760 PyObject *resultobj = 0;
4761 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4762 wxPoint *arg2 = 0 ;
4763 wxPoint result;
4764 void *argp1 = 0 ;
4765 int res1 = 0 ;
4766 wxPoint temp2 ;
4767
4768 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4770 if (!SWIG_IsOK(res1)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4772 }
4773 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4774 {
4775 arg2 = &temp2;
4776 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4777 }
4778 {
4779 PyThreadState* __tstate = wxPyBeginAllowThreads();
4780 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4785 return resultobj;
4786 fail:
4787 return NULL;
4788 }
4789
4790
4791 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4792 PyObject *resultobj = 0;
4793 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4794 int arg2 ;
4795 int arg3 ;
4796 int *arg4 = (int *) 0 ;
4797 int *arg5 = (int *) 0 ;
4798 void *argp1 = 0 ;
4799 int res1 = 0 ;
4800 int val2 ;
4801 int ecode2 = 0 ;
4802 int val3 ;
4803 int ecode3 = 0 ;
4804 int temp4 ;
4805 int res4 = SWIG_TMPOBJ ;
4806 int temp5 ;
4807 int res5 = SWIG_TMPOBJ ;
4808
4809 arg4 = &temp4;
4810 arg5 = &temp5;
4811 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4813 if (!SWIG_IsOK(res1)) {
4814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4815 }
4816 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4817 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4818 if (!SWIG_IsOK(ecode2)) {
4819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4820 }
4821 arg2 = static_cast< int >(val2);
4822 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4823 if (!SWIG_IsOK(ecode3)) {
4824 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4825 }
4826 arg3 = static_cast< int >(val3);
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 resultobj = SWIG_Py_Void();
4834 if (SWIG_IsTmpObj(res4)) {
4835 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4836 } else {
4837 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4838 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4839 }
4840 if (SWIG_IsTmpObj(res5)) {
4841 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4842 } else {
4843 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4844 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4845 }
4846 return resultobj;
4847 fail:
4848 return NULL;
4849 }
4850
4851
4852 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4853 int argc;
4854 PyObject *argv[4];
4855
4856 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4857 --argc;
4858 if (argc == 2) {
4859 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4860 }
4861 if (argc == 3) {
4862 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4863 }
4864
4865 fail:
4866 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4867 return NULL;
4868 }
4869
4870
4871 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4872 PyObject *resultobj = 0;
4873 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4874 wxPoint *arg2 = 0 ;
4875 wxPoint result;
4876 void *argp1 = 0 ;
4877 int res1 = 0 ;
4878 wxPoint temp2 ;
4879
4880 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4882 if (!SWIG_IsOK(res1)) {
4883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4884 }
4885 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4886 {
4887 arg2 = &temp2;
4888 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4889 }
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4897 return resultobj;
4898 fail:
4899 return NULL;
4900 }
4901
4902
4903 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4904 PyObject *resultobj = 0;
4905 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4906 int arg2 ;
4907 int arg3 ;
4908 int *arg4 = (int *) 0 ;
4909 int *arg5 = (int *) 0 ;
4910 void *argp1 = 0 ;
4911 int res1 = 0 ;
4912 int val2 ;
4913 int ecode2 = 0 ;
4914 int val3 ;
4915 int ecode3 = 0 ;
4916 int temp4 ;
4917 int res4 = SWIG_TMPOBJ ;
4918 int temp5 ;
4919 int res5 = SWIG_TMPOBJ ;
4920
4921 arg4 = &temp4;
4922 arg5 = &temp5;
4923 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4925 if (!SWIG_IsOK(res1)) {
4926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4927 }
4928 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4929 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4930 if (!SWIG_IsOK(ecode2)) {
4931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4932 }
4933 arg2 = static_cast< int >(val2);
4934 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4935 if (!SWIG_IsOK(ecode3)) {
4936 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4937 }
4938 arg3 = static_cast< int >(val3);
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 resultobj = SWIG_Py_Void();
4946 if (SWIG_IsTmpObj(res4)) {
4947 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4948 } else {
4949 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4950 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4951 }
4952 if (SWIG_IsTmpObj(res5)) {
4953 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4954 } else {
4955 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4956 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4957 }
4958 return resultobj;
4959 fail:
4960 return NULL;
4961 }
4962
4963
4964 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4965 int argc;
4966 PyObject *argv[4];
4967
4968 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4969 --argc;
4970 if (argc == 2) {
4971 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4972 }
4973 if (argc == 3) {
4974 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4975 }
4976
4977 fail:
4978 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4979 return NULL;
4980 }
4981
4982
4983 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4984 PyObject *resultobj = 0;
4985 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4986 void *argp1 = 0 ;
4987 int res1 = 0 ;
4988 PyObject *swig_obj[1] ;
4989
4990 if (!args) SWIG_fail;
4991 swig_obj[0] = args;
4992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4993 if (!SWIG_IsOK(res1)) {
4994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4995 }
4996 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4997 {
4998 PyThreadState* __tstate = wxPyBeginAllowThreads();
4999 (arg1)->AdjustScrollbars();
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 resultobj = SWIG_Py_Void();
5004 return resultobj;
5005 fail:
5006 return NULL;
5007 }
5008
5009
5010 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5011 PyObject *resultobj = 0;
5012 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5013 wxScrollWinEvent *arg2 = 0 ;
5014 int result;
5015 void *argp1 = 0 ;
5016 int res1 = 0 ;
5017 void *argp2 = 0 ;
5018 int res2 = 0 ;
5019 PyObject * obj0 = 0 ;
5020 PyObject * obj1 = 0 ;
5021 char * kwnames[] = {
5022 (char *) "self",(char *) "event", NULL
5023 };
5024
5025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5027 if (!SWIG_IsOK(res1)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5029 }
5030 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5031 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5032 if (!SWIG_IsOK(res2)) {
5033 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5034 }
5035 if (!argp2) {
5036 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5037 }
5038 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5039 {
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 result = (int)(arg1)->CalcScrollInc(*arg2);
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 resultobj = SWIG_From_int(static_cast< int >(result));
5046 return resultobj;
5047 fail:
5048 return NULL;
5049 }
5050
5051
5052 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5053 PyObject *resultobj = 0;
5054 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5055 wxWindow *arg2 = (wxWindow *) 0 ;
5056 void *argp1 = 0 ;
5057 int res1 = 0 ;
5058 void *argp2 = 0 ;
5059 int res2 = 0 ;
5060 PyObject * obj0 = 0 ;
5061 PyObject * obj1 = 0 ;
5062 char * kwnames[] = {
5063 (char *) "self",(char *) "target", NULL
5064 };
5065
5066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5068 if (!SWIG_IsOK(res1)) {
5069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5070 }
5071 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5072 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5073 if (!SWIG_IsOK(res2)) {
5074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5075 }
5076 arg2 = reinterpret_cast< wxWindow * >(argp2);
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 (arg1)->SetTargetWindow(arg2);
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 resultobj = SWIG_Py_Void();
5084 return resultobj;
5085 fail:
5086 return NULL;
5087 }
5088
5089
5090 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5091 PyObject *resultobj = 0;
5092 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5093 wxWindow *result = 0 ;
5094 void *argp1 = 0 ;
5095 int res1 = 0 ;
5096 PyObject *swig_obj[1] ;
5097
5098 if (!args) SWIG_fail;
5099 swig_obj[0] = args;
5100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5101 if (!SWIG_IsOK(res1)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5103 }
5104 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 {
5112 resultobj = wxPyMake_wxObject(result, 0);
5113 }
5114 return resultobj;
5115 fail:
5116 return NULL;
5117 }
5118
5119
5120 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj = 0;
5122 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5123 wxDC *arg2 = 0 ;
5124 void *argp1 = 0 ;
5125 int res1 = 0 ;
5126 void *argp2 = 0 ;
5127 int res2 = 0 ;
5128 PyObject * obj0 = 0 ;
5129 PyObject * obj1 = 0 ;
5130 char * kwnames[] = {
5131 (char *) "self",(char *) "dc", NULL
5132 };
5133
5134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5136 if (!SWIG_IsOK(res1)) {
5137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5138 }
5139 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5140 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5141 if (!SWIG_IsOK(res2)) {
5142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5143 }
5144 if (!argp2) {
5145 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5146 }
5147 arg2 = reinterpret_cast< wxDC * >(argp2);
5148 {
5149 PyThreadState* __tstate = wxPyBeginAllowThreads();
5150 (arg1)->DoPrepareDC(*arg2);
5151 wxPyEndAllowThreads(__tstate);
5152 if (PyErr_Occurred()) SWIG_fail;
5153 }
5154 resultobj = SWIG_Py_Void();
5155 return resultobj;
5156 fail:
5157 return NULL;
5158 }
5159
5160
5161 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5162 PyObject *resultobj = 0;
5163 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5164 SwigValueWrapper<wxVisualAttributes > result;
5165 int val1 ;
5166 int ecode1 = 0 ;
5167 PyObject * obj0 = 0 ;
5168 char * kwnames[] = {
5169 (char *) "variant", NULL
5170 };
5171
5172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5173 if (obj0) {
5174 ecode1 = SWIG_AsVal_int(obj0, &val1);
5175 if (!SWIG_IsOK(ecode1)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5177 }
5178 arg1 = static_cast< wxWindowVariant >(val1);
5179 }
5180 {
5181 if (!wxPyCheckForApp()) SWIG_fail;
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5184 wxPyEndAllowThreads(__tstate);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 }
5187 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5188 return resultobj;
5189 fail:
5190 return NULL;
5191 }
5192
5193
5194 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5195 PyObject *obj;
5196 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5197 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5198 return SWIG_Py_Void();
5199 }
5200
5201 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5202 return SWIG_Python_InitShadowInstance(args);
5203 }
5204
5205 SWIGINTERN int FrameNameStr_set(PyObject *) {
5206 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5207 return 1;
5208 }
5209
5210
5211 SWIGINTERN PyObject *FrameNameStr_get(void) {
5212 PyObject *pyobj = 0;
5213
5214 {
5215 #if wxUSE_UNICODE
5216 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5217 #else
5218 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5219 #endif
5220 }
5221 return pyobj;
5222 }
5223
5224
5225 SWIGINTERN int DialogNameStr_set(PyObject *) {
5226 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5227 return 1;
5228 }
5229
5230
5231 SWIGINTERN PyObject *DialogNameStr_get(void) {
5232 PyObject *pyobj = 0;
5233
5234 {
5235 #if wxUSE_UNICODE
5236 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5237 #else
5238 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5239 #endif
5240 }
5241 return pyobj;
5242 }
5243
5244
5245 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5246 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5247 return 1;
5248 }
5249
5250
5251 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5252 PyObject *pyobj = 0;
5253
5254 {
5255 #if wxUSE_UNICODE
5256 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5257 #else
5258 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5259 #endif
5260 }
5261 return pyobj;
5262 }
5263
5264
5265 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5266 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5267 return 1;
5268 }
5269
5270
5271 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5272 PyObject *pyobj = 0;
5273
5274 {
5275 #if wxUSE_UNICODE
5276 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5277 #else
5278 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5279 #endif
5280 }
5281 return pyobj;
5282 }
5283
5284
5285 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5286 PyObject *resultobj = 0;
5287 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5288 bool arg2 = (bool) true ;
5289 void *argp1 = 0 ;
5290 int res1 = 0 ;
5291 bool val2 ;
5292 int ecode2 = 0 ;
5293 PyObject * obj0 = 0 ;
5294 PyObject * obj1 = 0 ;
5295 char * kwnames[] = {
5296 (char *) "self",(char *) "maximize", NULL
5297 };
5298
5299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5301 if (!SWIG_IsOK(res1)) {
5302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5303 }
5304 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5305 if (obj1) {
5306 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5307 if (!SWIG_IsOK(ecode2)) {
5308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5309 }
5310 arg2 = static_cast< bool >(val2);
5311 }
5312 {
5313 PyThreadState* __tstate = wxPyBeginAllowThreads();
5314 (arg1)->Maximize(arg2);
5315 wxPyEndAllowThreads(__tstate);
5316 if (PyErr_Occurred()) SWIG_fail;
5317 }
5318 resultobj = SWIG_Py_Void();
5319 return resultobj;
5320 fail:
5321 return NULL;
5322 }
5323
5324
5325 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5326 PyObject *resultobj = 0;
5327 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5328 void *argp1 = 0 ;
5329 int res1 = 0 ;
5330 PyObject *swig_obj[1] ;
5331
5332 if (!args) SWIG_fail;
5333 swig_obj[0] = args;
5334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5335 if (!SWIG_IsOK(res1)) {
5336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5337 }
5338 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 (arg1)->Restore();
5342 wxPyEndAllowThreads(__tstate);
5343 if (PyErr_Occurred()) SWIG_fail;
5344 }
5345 resultobj = SWIG_Py_Void();
5346 return resultobj;
5347 fail:
5348 return NULL;
5349 }
5350
5351
5352 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5353 PyObject *resultobj = 0;
5354 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5355 bool arg2 = (bool) true ;
5356 void *argp1 = 0 ;
5357 int res1 = 0 ;
5358 bool val2 ;
5359 int ecode2 = 0 ;
5360 PyObject * obj0 = 0 ;
5361 PyObject * obj1 = 0 ;
5362 char * kwnames[] = {
5363 (char *) "self",(char *) "iconize", NULL
5364 };
5365
5366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5368 if (!SWIG_IsOK(res1)) {
5369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5370 }
5371 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5372 if (obj1) {
5373 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5374 if (!SWIG_IsOK(ecode2)) {
5375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5376 }
5377 arg2 = static_cast< bool >(val2);
5378 }
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 (arg1)->Iconize(arg2);
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 resultobj = SWIG_Py_Void();
5386 return resultobj;
5387 fail:
5388 return NULL;
5389 }
5390
5391
5392 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5393 PyObject *resultobj = 0;
5394 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5395 bool result;
5396 void *argp1 = 0 ;
5397 int res1 = 0 ;
5398 PyObject *swig_obj[1] ;
5399
5400 if (!args) SWIG_fail;
5401 swig_obj[0] = args;
5402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5403 if (!SWIG_IsOK(res1)) {
5404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5405 }
5406 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 {
5414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5415 }
5416 return resultobj;
5417 fail:
5418 return NULL;
5419 }
5420
5421
5422 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5423 PyObject *resultobj = 0;
5424 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5425 bool result;
5426 void *argp1 = 0 ;
5427 int res1 = 0 ;
5428 PyObject *swig_obj[1] ;
5429
5430 if (!args) SWIG_fail;
5431 swig_obj[0] = args;
5432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5433 if (!SWIG_IsOK(res1)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5435 }
5436 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5437 {
5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
5439 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 {
5444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5445 }
5446 return resultobj;
5447 fail:
5448 return NULL;
5449 }
5450
5451
5452 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5453 PyObject *resultobj = 0;
5454 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5455 bool result;
5456 void *argp1 = 0 ;
5457 int res1 = 0 ;
5458 PyObject *swig_obj[1] ;
5459
5460 if (!args) SWIG_fail;
5461 swig_obj[0] = args;
5462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5463 if (!SWIG_IsOK(res1)) {
5464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5465 }
5466 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5470 wxPyEndAllowThreads(__tstate);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
5473 {
5474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5475 }
5476 return resultobj;
5477 fail:
5478 return NULL;
5479 }
5480
5481
5482 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5483 PyObject *resultobj = 0;
5484 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5485 wxIcon result;
5486 void *argp1 = 0 ;
5487 int res1 = 0 ;
5488 PyObject *swig_obj[1] ;
5489
5490 if (!args) SWIG_fail;
5491 swig_obj[0] = args;
5492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5493 if (!SWIG_IsOK(res1)) {
5494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5495 }
5496 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5504 return resultobj;
5505 fail:
5506 return NULL;
5507 }
5508
5509
5510 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj = 0;
5512 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5513 wxIcon *arg2 = 0 ;
5514 void *argp1 = 0 ;
5515 int res1 = 0 ;
5516 void *argp2 = 0 ;
5517 int res2 = 0 ;
5518 PyObject * obj0 = 0 ;
5519 PyObject * obj1 = 0 ;
5520 char * kwnames[] = {
5521 (char *) "self",(char *) "icon", NULL
5522 };
5523
5524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5526 if (!SWIG_IsOK(res1)) {
5527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5528 }
5529 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5530 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5531 if (!SWIG_IsOK(res2)) {
5532 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5533 }
5534 if (!argp2) {
5535 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5536 }
5537 arg2 = reinterpret_cast< wxIcon * >(argp2);
5538 {
5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
5540 (arg1)->SetIcon((wxIcon const &)*arg2);
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 resultobj = SWIG_Py_Void();
5545 return resultobj;
5546 fail:
5547 return NULL;
5548 }
5549
5550
5551 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj = 0;
5553 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5554 wxIconBundle *arg2 = 0 ;
5555 void *argp1 = 0 ;
5556 int res1 = 0 ;
5557 void *argp2 = 0 ;
5558 int res2 = 0 ;
5559 PyObject * obj0 = 0 ;
5560 PyObject * obj1 = 0 ;
5561 char * kwnames[] = {
5562 (char *) "self",(char *) "icons", NULL
5563 };
5564
5565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5567 if (!SWIG_IsOK(res1)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5569 }
5570 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5571 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5572 if (!SWIG_IsOK(res2)) {
5573 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5574 }
5575 if (!argp2) {
5576 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5577 }
5578 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
5585 resultobj = SWIG_Py_Void();
5586 return resultobj;
5587 fail:
5588 return NULL;
5589 }
5590
5591
5592 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5593 PyObject *resultobj = 0;
5594 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5595 bool arg2 ;
5596 long arg3 = (long) wxFULLSCREEN_ALL ;
5597 bool result;
5598 void *argp1 = 0 ;
5599 int res1 = 0 ;
5600 bool val2 ;
5601 int ecode2 = 0 ;
5602 long val3 ;
5603 int ecode3 = 0 ;
5604 PyObject * obj0 = 0 ;
5605 PyObject * obj1 = 0 ;
5606 PyObject * obj2 = 0 ;
5607 char * kwnames[] = {
5608 (char *) "self",(char *) "show",(char *) "style", NULL
5609 };
5610
5611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5613 if (!SWIG_IsOK(res1)) {
5614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5615 }
5616 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5617 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5618 if (!SWIG_IsOK(ecode2)) {
5619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5620 }
5621 arg2 = static_cast< bool >(val2);
5622 if (obj2) {
5623 ecode3 = SWIG_AsVal_long(obj2, &val3);
5624 if (!SWIG_IsOK(ecode3)) {
5625 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5626 }
5627 arg3 = static_cast< long >(val3);
5628 }
5629 {
5630 PyThreadState* __tstate = wxPyBeginAllowThreads();
5631 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5632 wxPyEndAllowThreads(__tstate);
5633 if (PyErr_Occurred()) SWIG_fail;
5634 }
5635 {
5636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5637 }
5638 return resultobj;
5639 fail:
5640 return NULL;
5641 }
5642
5643
5644 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5645 PyObject *resultobj = 0;
5646 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5647 bool result;
5648 void *argp1 = 0 ;
5649 int res1 = 0 ;
5650 PyObject *swig_obj[1] ;
5651
5652 if (!args) SWIG_fail;
5653 swig_obj[0] = args;
5654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5655 if (!SWIG_IsOK(res1)) {
5656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5657 }
5658 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5659 {
5660 PyThreadState* __tstate = wxPyBeginAllowThreads();
5661 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 {
5666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5667 }
5668 return resultobj;
5669 fail:
5670 return NULL;
5671 }
5672
5673
5674 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5675 PyObject *resultobj = 0;
5676 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5677 wxString *arg2 = 0 ;
5678 void *argp1 = 0 ;
5679 int res1 = 0 ;
5680 bool temp2 = false ;
5681 PyObject * obj0 = 0 ;
5682 PyObject * obj1 = 0 ;
5683 char * kwnames[] = {
5684 (char *) "self",(char *) "title", NULL
5685 };
5686
5687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5689 if (!SWIG_IsOK(res1)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5691 }
5692 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5693 {
5694 arg2 = wxString_in_helper(obj1);
5695 if (arg2 == NULL) SWIG_fail;
5696 temp2 = true;
5697 }
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 (arg1)->SetTitle((wxString const &)*arg2);
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 resultobj = SWIG_Py_Void();
5705 {
5706 if (temp2)
5707 delete arg2;
5708 }
5709 return resultobj;
5710 fail:
5711 {
5712 if (temp2)
5713 delete arg2;
5714 }
5715 return NULL;
5716 }
5717
5718
5719 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5720 PyObject *resultobj = 0;
5721 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5722 wxString result;
5723 void *argp1 = 0 ;
5724 int res1 = 0 ;
5725 PyObject *swig_obj[1] ;
5726
5727 if (!args) SWIG_fail;
5728 swig_obj[0] = args;
5729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5730 if (!SWIG_IsOK(res1)) {
5731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5732 }
5733 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 {
5741 #if wxUSE_UNICODE
5742 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5743 #else
5744 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5745 #endif
5746 }
5747 return resultobj;
5748 fail:
5749 return NULL;
5750 }
5751
5752
5753 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj = 0;
5755 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5756 wxRegion *arg2 = 0 ;
5757 bool result;
5758 void *argp1 = 0 ;
5759 int res1 = 0 ;
5760 void *argp2 = 0 ;
5761 int res2 = 0 ;
5762 PyObject * obj0 = 0 ;
5763 PyObject * obj1 = 0 ;
5764 char * kwnames[] = {
5765 (char *) "self",(char *) "region", NULL
5766 };
5767
5768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5770 if (!SWIG_IsOK(res1)) {
5771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5772 }
5773 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5774 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5775 if (!SWIG_IsOK(res2)) {
5776 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5777 }
5778 if (!argp2) {
5779 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5780 }
5781 arg2 = reinterpret_cast< wxRegion * >(argp2);
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 {
5789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5790 }
5791 return resultobj;
5792 fail:
5793 return NULL;
5794 }
5795
5796
5797 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5798 PyObject *resultobj = 0;
5799 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5800 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5801 void *argp1 = 0 ;
5802 int res1 = 0 ;
5803 int val2 ;
5804 int ecode2 = 0 ;
5805 PyObject * obj0 = 0 ;
5806 PyObject * obj1 = 0 ;
5807 char * kwnames[] = {
5808 (char *) "self",(char *) "flags", NULL
5809 };
5810
5811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5813 if (!SWIG_IsOK(res1)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5815 }
5816 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5817 if (obj1) {
5818 ecode2 = SWIG_AsVal_int(obj1, &val2);
5819 if (!SWIG_IsOK(ecode2)) {
5820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5821 }
5822 arg2 = static_cast< int >(val2);
5823 }
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 (arg1)->RequestUserAttention(arg2);
5827 wxPyEndAllowThreads(__tstate);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 resultobj = SWIG_Py_Void();
5831 return resultobj;
5832 fail:
5833 return NULL;
5834 }
5835
5836
5837 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5838 PyObject *resultobj = 0;
5839 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5840 bool result;
5841 void *argp1 = 0 ;
5842 int res1 = 0 ;
5843 PyObject *swig_obj[1] ;
5844
5845 if (!args) SWIG_fail;
5846 swig_obj[0] = args;
5847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5848 if (!SWIG_IsOK(res1)) {
5849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5850 }
5851 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = (bool)(arg1)->IsActive();
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 {
5859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5860 }
5861 return resultobj;
5862 fail:
5863 return NULL;
5864 }
5865
5866
5867 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj = 0;
5869 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5870 bool arg2 ;
5871 void *argp1 = 0 ;
5872 int res1 = 0 ;
5873 bool val2 ;
5874 int ecode2 = 0 ;
5875 PyObject * obj0 = 0 ;
5876 PyObject * obj1 = 0 ;
5877 char * kwnames[] = {
5878 (char *) "self",(char *) "on", NULL
5879 };
5880
5881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5883 if (!SWIG_IsOK(res1)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5885 }
5886 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5887 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5888 if (!SWIG_IsOK(ecode2)) {
5889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5890 }
5891 arg2 = static_cast< bool >(val2);
5892 {
5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
5894 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5895 wxPyEndAllowThreads(__tstate);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 }
5898 resultobj = SWIG_Py_Void();
5899 return resultobj;
5900 fail:
5901 return NULL;
5902 }
5903
5904
5905 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5906 PyObject *resultobj = 0;
5907 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5908 bool result;
5909 void *argp1 = 0 ;
5910 int res1 = 0 ;
5911 PyObject *swig_obj[1] ;
5912
5913 if (!args) SWIG_fail;
5914 swig_obj[0] = args;
5915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5916 if (!SWIG_IsOK(res1)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5918 }
5919 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
5926 {
5927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5928 }
5929 return resultobj;
5930 fail:
5931 return NULL;
5932 }
5933
5934
5935 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5936 PyObject *resultobj = 0;
5937 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5938 int arg2 = (int) wxBOTH ;
5939 void *argp1 = 0 ;
5940 int res1 = 0 ;
5941 int val2 ;
5942 int ecode2 = 0 ;
5943 PyObject * obj0 = 0 ;
5944 PyObject * obj1 = 0 ;
5945 char * kwnames[] = {
5946 (char *) "self",(char *) "dir", NULL
5947 };
5948
5949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5951 if (!SWIG_IsOK(res1)) {
5952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5953 }
5954 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5955 if (obj1) {
5956 ecode2 = SWIG_AsVal_int(obj1, &val2);
5957 if (!SWIG_IsOK(ecode2)) {
5958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5959 }
5960 arg2 = static_cast< int >(val2);
5961 }
5962 {
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 (arg1)->CenterOnScreen(arg2);
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 resultobj = SWIG_Py_Void();
5969 return resultobj;
5970 fail:
5971 return NULL;
5972 }
5973
5974
5975 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5976 PyObject *obj;
5977 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5978 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
5979 return SWIG_Py_Void();
5980 }
5981
5982 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj = 0;
5984 wxWindow *arg1 = (wxWindow *) 0 ;
5985 int arg2 = (int) (int)-1 ;
5986 wxString const &arg3_defvalue = wxPyEmptyString ;
5987 wxString *arg3 = (wxString *) &arg3_defvalue ;
5988 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5989 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5990 wxSize const &arg5_defvalue = wxDefaultSize ;
5991 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5992 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
5993 wxString const &arg7_defvalue = wxPyFrameNameStr ;
5994 wxString *arg7 = (wxString *) &arg7_defvalue ;
5995 wxFrame *result = 0 ;
5996 void *argp1 = 0 ;
5997 int res1 = 0 ;
5998 int val2 ;
5999 int ecode2 = 0 ;
6000 bool temp3 = false ;
6001 wxPoint temp4 ;
6002 wxSize temp5 ;
6003 long val6 ;
6004 int ecode6 = 0 ;
6005 bool temp7 = false ;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 PyObject * obj2 = 0 ;
6009 PyObject * obj3 = 0 ;
6010 PyObject * obj4 = 0 ;
6011 PyObject * obj5 = 0 ;
6012 PyObject * obj6 = 0 ;
6013 char * kwnames[] = {
6014 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6015 };
6016
6017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6019 if (!SWIG_IsOK(res1)) {
6020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6021 }
6022 arg1 = reinterpret_cast< wxWindow * >(argp1);
6023 if (obj1) {
6024 ecode2 = SWIG_AsVal_int(obj1, &val2);
6025 if (!SWIG_IsOK(ecode2)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6027 }
6028 arg2 = static_cast< int >(val2);
6029 }
6030 if (obj2) {
6031 {
6032 arg3 = wxString_in_helper(obj2);
6033 if (arg3 == NULL) SWIG_fail;
6034 temp3 = true;
6035 }
6036 }
6037 if (obj3) {
6038 {
6039 arg4 = &temp4;
6040 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6041 }
6042 }
6043 if (obj4) {
6044 {
6045 arg5 = &temp5;
6046 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6047 }
6048 }
6049 if (obj5) {
6050 ecode6 = SWIG_AsVal_long(obj5, &val6);
6051 if (!SWIG_IsOK(ecode6)) {
6052 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6053 }
6054 arg6 = static_cast< long >(val6);
6055 }
6056 if (obj6) {
6057 {
6058 arg7 = wxString_in_helper(obj6);
6059 if (arg7 == NULL) SWIG_fail;
6060 temp7 = true;
6061 }
6062 }
6063 {
6064 if (!wxPyCheckForApp()) SWIG_fail;
6065 PyThreadState* __tstate = wxPyBeginAllowThreads();
6066 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6067 wxPyEndAllowThreads(__tstate);
6068 if (PyErr_Occurred()) SWIG_fail;
6069 }
6070 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6071 {
6072 if (temp3)
6073 delete arg3;
6074 }
6075 {
6076 if (temp7)
6077 delete arg7;
6078 }
6079 return resultobj;
6080 fail:
6081 {
6082 if (temp3)
6083 delete arg3;
6084 }
6085 {
6086 if (temp7)
6087 delete arg7;
6088 }
6089 return NULL;
6090 }
6091
6092
6093 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6094 PyObject *resultobj = 0;
6095 wxFrame *result = 0 ;
6096
6097 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6098 {
6099 if (!wxPyCheckForApp()) SWIG_fail;
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 result = (wxFrame *)new wxFrame();
6102 wxPyEndAllowThreads(__tstate);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
6105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6106 return resultobj;
6107 fail:
6108 return NULL;
6109 }
6110
6111
6112 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6113 PyObject *resultobj = 0;
6114 wxFrame *arg1 = (wxFrame *) 0 ;
6115 wxWindow *arg2 = (wxWindow *) 0 ;
6116 int arg3 = (int) (int)-1 ;
6117 wxString const &arg4_defvalue = wxPyEmptyString ;
6118 wxString *arg4 = (wxString *) &arg4_defvalue ;
6119 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6120 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6121 wxSize const &arg6_defvalue = wxDefaultSize ;
6122 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6123 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6124 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6125 wxString *arg8 = (wxString *) &arg8_defvalue ;
6126 bool result;
6127 void *argp1 = 0 ;
6128 int res1 = 0 ;
6129 void *argp2 = 0 ;
6130 int res2 = 0 ;
6131 int val3 ;
6132 int ecode3 = 0 ;
6133 bool temp4 = false ;
6134 wxPoint temp5 ;
6135 wxSize temp6 ;
6136 long val7 ;
6137 int ecode7 = 0 ;
6138 bool temp8 = false ;
6139 PyObject * obj0 = 0 ;
6140 PyObject * obj1 = 0 ;
6141 PyObject * obj2 = 0 ;
6142 PyObject * obj3 = 0 ;
6143 PyObject * obj4 = 0 ;
6144 PyObject * obj5 = 0 ;
6145 PyObject * obj6 = 0 ;
6146 PyObject * obj7 = 0 ;
6147 char * kwnames[] = {
6148 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6149 };
6150
6151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6153 if (!SWIG_IsOK(res1)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6155 }
6156 arg1 = reinterpret_cast< wxFrame * >(argp1);
6157 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6158 if (!SWIG_IsOK(res2)) {
6159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6160 }
6161 arg2 = reinterpret_cast< wxWindow * >(argp2);
6162 if (obj2) {
6163 ecode3 = SWIG_AsVal_int(obj2, &val3);
6164 if (!SWIG_IsOK(ecode3)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6166 }
6167 arg3 = static_cast< int >(val3);
6168 }
6169 if (obj3) {
6170 {
6171 arg4 = wxString_in_helper(obj3);
6172 if (arg4 == NULL) SWIG_fail;
6173 temp4 = true;
6174 }
6175 }
6176 if (obj4) {
6177 {
6178 arg5 = &temp5;
6179 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6180 }
6181 }
6182 if (obj5) {
6183 {
6184 arg6 = &temp6;
6185 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6186 }
6187 }
6188 if (obj6) {
6189 ecode7 = SWIG_AsVal_long(obj6, &val7);
6190 if (!SWIG_IsOK(ecode7)) {
6191 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6192 }
6193 arg7 = static_cast< long >(val7);
6194 }
6195 if (obj7) {
6196 {
6197 arg8 = wxString_in_helper(obj7);
6198 if (arg8 == NULL) SWIG_fail;
6199 temp8 = true;
6200 }
6201 }
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6205 wxPyEndAllowThreads(__tstate);
6206 if (PyErr_Occurred()) SWIG_fail;
6207 }
6208 {
6209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6210 }
6211 {
6212 if (temp4)
6213 delete arg4;
6214 }
6215 {
6216 if (temp8)
6217 delete arg8;
6218 }
6219 return resultobj;
6220 fail:
6221 {
6222 if (temp4)
6223 delete arg4;
6224 }
6225 {
6226 if (temp8)
6227 delete arg8;
6228 }
6229 return NULL;
6230 }
6231
6232
6233 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6234 PyObject *resultobj = 0;
6235 wxFrame *arg1 = (wxFrame *) 0 ;
6236 void *argp1 = 0 ;
6237 int res1 = 0 ;
6238 PyObject *swig_obj[1] ;
6239
6240 if (!args) SWIG_fail;
6241 swig_obj[0] = args;
6242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6243 if (!SWIG_IsOK(res1)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6245 }
6246 arg1 = reinterpret_cast< wxFrame * >(argp1);
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 (arg1)->SendSizeEvent();
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 resultobj = SWIG_Py_Void();
6254 return resultobj;
6255 fail:
6256 return NULL;
6257 }
6258
6259
6260 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj = 0;
6262 wxFrame *arg1 = (wxFrame *) 0 ;
6263 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6264 void *argp1 = 0 ;
6265 int res1 = 0 ;
6266 void *argp2 = 0 ;
6267 int res2 = 0 ;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 char * kwnames[] = {
6271 (char *) "self",(char *) "menubar", NULL
6272 };
6273
6274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6276 if (!SWIG_IsOK(res1)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6278 }
6279 arg1 = reinterpret_cast< wxFrame * >(argp1);
6280 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6281 if (!SWIG_IsOK(res2)) {
6282 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6283 }
6284 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 (arg1)->SetMenuBar(arg2);
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 resultobj = SWIG_Py_Void();
6292 return resultobj;
6293 fail:
6294 return NULL;
6295 }
6296
6297
6298 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6299 PyObject *resultobj = 0;
6300 wxFrame *arg1 = (wxFrame *) 0 ;
6301 wxMenuBar *result = 0 ;
6302 void *argp1 = 0 ;
6303 int res1 = 0 ;
6304 PyObject *swig_obj[1] ;
6305
6306 if (!args) SWIG_fail;
6307 swig_obj[0] = args;
6308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6309 if (!SWIG_IsOK(res1)) {
6310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6311 }
6312 arg1 = reinterpret_cast< wxFrame * >(argp1);
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 {
6320 resultobj = wxPyMake_wxObject(result, 0);
6321 }
6322 return resultobj;
6323 fail:
6324 return NULL;
6325 }
6326
6327
6328 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6329 PyObject *resultobj = 0;
6330 wxFrame *arg1 = (wxFrame *) 0 ;
6331 int arg2 ;
6332 bool result;
6333 void *argp1 = 0 ;
6334 int res1 = 0 ;
6335 int val2 ;
6336 int ecode2 = 0 ;
6337 PyObject * obj0 = 0 ;
6338 PyObject * obj1 = 0 ;
6339 char * kwnames[] = {
6340 (char *) "self",(char *) "winid", NULL
6341 };
6342
6343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6345 if (!SWIG_IsOK(res1)) {
6346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6347 }
6348 arg1 = reinterpret_cast< wxFrame * >(argp1);
6349 ecode2 = SWIG_AsVal_int(obj1, &val2);
6350 if (!SWIG_IsOK(ecode2)) {
6351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6352 }
6353 arg2 = static_cast< int >(val2);
6354 {
6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
6356 result = (bool)(arg1)->ProcessCommand(arg2);
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 {
6361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6362 }
6363 return resultobj;
6364 fail:
6365 return NULL;
6366 }
6367
6368
6369 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6370 PyObject *resultobj = 0;
6371 wxFrame *arg1 = (wxFrame *) 0 ;
6372 int arg2 = (int) 1 ;
6373 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6374 int arg4 = (int) 0 ;
6375 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6376 wxString *arg5 = (wxString *) &arg5_defvalue ;
6377 wxStatusBar *result = 0 ;
6378 void *argp1 = 0 ;
6379 int res1 = 0 ;
6380 int val2 ;
6381 int ecode2 = 0 ;
6382 long val3 ;
6383 int ecode3 = 0 ;
6384 int val4 ;
6385 int ecode4 = 0 ;
6386 bool temp5 = false ;
6387 PyObject * obj0 = 0 ;
6388 PyObject * obj1 = 0 ;
6389 PyObject * obj2 = 0 ;
6390 PyObject * obj3 = 0 ;
6391 PyObject * obj4 = 0 ;
6392 char * kwnames[] = {
6393 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6394 };
6395
6396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6398 if (!SWIG_IsOK(res1)) {
6399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6400 }
6401 arg1 = reinterpret_cast< wxFrame * >(argp1);
6402 if (obj1) {
6403 ecode2 = SWIG_AsVal_int(obj1, &val2);
6404 if (!SWIG_IsOK(ecode2)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6406 }
6407 arg2 = static_cast< int >(val2);
6408 }
6409 if (obj2) {
6410 ecode3 = SWIG_AsVal_long(obj2, &val3);
6411 if (!SWIG_IsOK(ecode3)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6413 }
6414 arg3 = static_cast< long >(val3);
6415 }
6416 if (obj3) {
6417 ecode4 = SWIG_AsVal_int(obj3, &val4);
6418 if (!SWIG_IsOK(ecode4)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6420 }
6421 arg4 = static_cast< int >(val4);
6422 }
6423 if (obj4) {
6424 {
6425 arg5 = wxString_in_helper(obj4);
6426 if (arg5 == NULL) SWIG_fail;
6427 temp5 = true;
6428 }
6429 }
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 {
6437 resultobj = wxPyMake_wxObject(result, (bool)0);
6438 }
6439 {
6440 if (temp5)
6441 delete arg5;
6442 }
6443 return resultobj;
6444 fail:
6445 {
6446 if (temp5)
6447 delete arg5;
6448 }
6449 return NULL;
6450 }
6451
6452
6453 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6454 PyObject *resultobj = 0;
6455 wxFrame *arg1 = (wxFrame *) 0 ;
6456 wxStatusBar *result = 0 ;
6457 void *argp1 = 0 ;
6458 int res1 = 0 ;
6459 PyObject *swig_obj[1] ;
6460
6461 if (!args) SWIG_fail;
6462 swig_obj[0] = args;
6463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6464 if (!SWIG_IsOK(res1)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6466 }
6467 arg1 = reinterpret_cast< wxFrame * >(argp1);
6468 {
6469 PyThreadState* __tstate = wxPyBeginAllowThreads();
6470 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6471 wxPyEndAllowThreads(__tstate);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
6474 {
6475 resultobj = wxPyMake_wxObject(result, (bool)0);
6476 }
6477 return resultobj;
6478 fail:
6479 return NULL;
6480 }
6481
6482
6483 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6484 PyObject *resultobj = 0;
6485 wxFrame *arg1 = (wxFrame *) 0 ;
6486 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6487 void *argp1 = 0 ;
6488 int res1 = 0 ;
6489 void *argp2 = 0 ;
6490 int res2 = 0 ;
6491 PyObject * obj0 = 0 ;
6492 PyObject * obj1 = 0 ;
6493 char * kwnames[] = {
6494 (char *) "self",(char *) "statBar", NULL
6495 };
6496
6497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6499 if (!SWIG_IsOK(res1)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6501 }
6502 arg1 = reinterpret_cast< wxFrame * >(argp1);
6503 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6504 if (!SWIG_IsOK(res2)) {
6505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6506 }
6507 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6508 {
6509 PyThreadState* __tstate = wxPyBeginAllowThreads();
6510 (arg1)->SetStatusBar(arg2);
6511 wxPyEndAllowThreads(__tstate);
6512 if (PyErr_Occurred()) SWIG_fail;
6513 }
6514 resultobj = SWIG_Py_Void();
6515 return resultobj;
6516 fail:
6517 return NULL;
6518 }
6519
6520
6521 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6522 PyObject *resultobj = 0;
6523 wxFrame *arg1 = (wxFrame *) 0 ;
6524 wxString *arg2 = 0 ;
6525 int arg3 = (int) 0 ;
6526 void *argp1 = 0 ;
6527 int res1 = 0 ;
6528 bool temp2 = false ;
6529 int val3 ;
6530 int ecode3 = 0 ;
6531 PyObject * obj0 = 0 ;
6532 PyObject * obj1 = 0 ;
6533 PyObject * obj2 = 0 ;
6534 char * kwnames[] = {
6535 (char *) "self",(char *) "text",(char *) "number", NULL
6536 };
6537
6538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6540 if (!SWIG_IsOK(res1)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6542 }
6543 arg1 = reinterpret_cast< wxFrame * >(argp1);
6544 {
6545 arg2 = wxString_in_helper(obj1);
6546 if (arg2 == NULL) SWIG_fail;
6547 temp2 = true;
6548 }
6549 if (obj2) {
6550 ecode3 = SWIG_AsVal_int(obj2, &val3);
6551 if (!SWIG_IsOK(ecode3)) {
6552 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6553 }
6554 arg3 = static_cast< int >(val3);
6555 }
6556 {
6557 PyThreadState* __tstate = wxPyBeginAllowThreads();
6558 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 resultobj = SWIG_Py_Void();
6563 {
6564 if (temp2)
6565 delete arg2;
6566 }
6567 return resultobj;
6568 fail:
6569 {
6570 if (temp2)
6571 delete arg2;
6572 }
6573 return NULL;
6574 }
6575
6576
6577 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6578 PyObject *resultobj = 0;
6579 wxFrame *arg1 = (wxFrame *) 0 ;
6580 int arg2 ;
6581 int *arg3 = (int *) 0 ;
6582 void *argp1 = 0 ;
6583 int res1 = 0 ;
6584 PyObject * obj0 = 0 ;
6585 PyObject * obj1 = 0 ;
6586 char * kwnames[] = {
6587 (char *) "self",(char *) "widths", NULL
6588 };
6589
6590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6592 if (!SWIG_IsOK(res1)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6594 }
6595 arg1 = reinterpret_cast< wxFrame * >(argp1);
6596 {
6597 arg2 = PyList_Size(obj1);
6598 arg3 = int_LIST_helper(obj1);
6599 if (arg3 == NULL) SWIG_fail;
6600 }
6601 {
6602 PyThreadState* __tstate = wxPyBeginAllowThreads();
6603 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6604 wxPyEndAllowThreads(__tstate);
6605 if (PyErr_Occurred()) SWIG_fail;
6606 }
6607 resultobj = SWIG_Py_Void();
6608 {
6609 if (arg3) delete [] arg3;
6610 }
6611 return resultobj;
6612 fail:
6613 {
6614 if (arg3) delete [] arg3;
6615 }
6616 return NULL;
6617 }
6618
6619
6620 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6621 PyObject *resultobj = 0;
6622 wxFrame *arg1 = (wxFrame *) 0 ;
6623 wxString *arg2 = 0 ;
6624 int arg3 = (int) 0 ;
6625 void *argp1 = 0 ;
6626 int res1 = 0 ;
6627 bool temp2 = false ;
6628 int val3 ;
6629 int ecode3 = 0 ;
6630 PyObject * obj0 = 0 ;
6631 PyObject * obj1 = 0 ;
6632 PyObject * obj2 = 0 ;
6633 char * kwnames[] = {
6634 (char *) "self",(char *) "text",(char *) "number", NULL
6635 };
6636
6637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6639 if (!SWIG_IsOK(res1)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6641 }
6642 arg1 = reinterpret_cast< wxFrame * >(argp1);
6643 {
6644 arg2 = wxString_in_helper(obj1);
6645 if (arg2 == NULL) SWIG_fail;
6646 temp2 = true;
6647 }
6648 if (obj2) {
6649 ecode3 = SWIG_AsVal_int(obj2, &val3);
6650 if (!SWIG_IsOK(ecode3)) {
6651 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6652 }
6653 arg3 = static_cast< int >(val3);
6654 }
6655 {
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6658 wxPyEndAllowThreads(__tstate);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 }
6661 resultobj = SWIG_Py_Void();
6662 {
6663 if (temp2)
6664 delete arg2;
6665 }
6666 return resultobj;
6667 fail:
6668 {
6669 if (temp2)
6670 delete arg2;
6671 }
6672 return NULL;
6673 }
6674
6675
6676 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6677 PyObject *resultobj = 0;
6678 wxFrame *arg1 = (wxFrame *) 0 ;
6679 int arg2 = (int) 0 ;
6680 void *argp1 = 0 ;
6681 int res1 = 0 ;
6682 int val2 ;
6683 int ecode2 = 0 ;
6684 PyObject * obj0 = 0 ;
6685 PyObject * obj1 = 0 ;
6686 char * kwnames[] = {
6687 (char *) "self",(char *) "number", NULL
6688 };
6689
6690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6692 if (!SWIG_IsOK(res1)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6694 }
6695 arg1 = reinterpret_cast< wxFrame * >(argp1);
6696 if (obj1) {
6697 ecode2 = SWIG_AsVal_int(obj1, &val2);
6698 if (!SWIG_IsOK(ecode2)) {
6699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6700 }
6701 arg2 = static_cast< int >(val2);
6702 }
6703 {
6704 PyThreadState* __tstate = wxPyBeginAllowThreads();
6705 (arg1)->PopStatusText(arg2);
6706 wxPyEndAllowThreads(__tstate);
6707 if (PyErr_Occurred()) SWIG_fail;
6708 }
6709 resultobj = SWIG_Py_Void();
6710 return resultobj;
6711 fail:
6712 return NULL;
6713 }
6714
6715
6716 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6717 PyObject *resultobj = 0;
6718 wxFrame *arg1 = (wxFrame *) 0 ;
6719 int arg2 ;
6720 void *argp1 = 0 ;
6721 int res1 = 0 ;
6722 int val2 ;
6723 int ecode2 = 0 ;
6724 PyObject * obj0 = 0 ;
6725 PyObject * obj1 = 0 ;
6726 char * kwnames[] = {
6727 (char *) "self",(char *) "n", NULL
6728 };
6729
6730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6732 if (!SWIG_IsOK(res1)) {
6733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6734 }
6735 arg1 = reinterpret_cast< wxFrame * >(argp1);
6736 ecode2 = SWIG_AsVal_int(obj1, &val2);
6737 if (!SWIG_IsOK(ecode2)) {
6738 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6739 }
6740 arg2 = static_cast< int >(val2);
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 (arg1)->SetStatusBarPane(arg2);
6744 wxPyEndAllowThreads(__tstate);
6745 if (PyErr_Occurred()) SWIG_fail;
6746 }
6747 resultobj = SWIG_Py_Void();
6748 return resultobj;
6749 fail:
6750 return NULL;
6751 }
6752
6753
6754 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6755 PyObject *resultobj = 0;
6756 wxFrame *arg1 = (wxFrame *) 0 ;
6757 int result;
6758 void *argp1 = 0 ;
6759 int res1 = 0 ;
6760 PyObject *swig_obj[1] ;
6761
6762 if (!args) SWIG_fail;
6763 swig_obj[0] = args;
6764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6765 if (!SWIG_IsOK(res1)) {
6766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6767 }
6768 arg1 = reinterpret_cast< wxFrame * >(argp1);
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6772 wxPyEndAllowThreads(__tstate);
6773 if (PyErr_Occurred()) SWIG_fail;
6774 }
6775 resultobj = SWIG_From_int(static_cast< int >(result));
6776 return resultobj;
6777 fail:
6778 return NULL;
6779 }
6780
6781
6782 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6783 PyObject *resultobj = 0;
6784 wxFrame *arg1 = (wxFrame *) 0 ;
6785 long arg2 = (long) -1 ;
6786 int arg3 = (int) -1 ;
6787 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6788 wxString *arg4 = (wxString *) &arg4_defvalue ;
6789 wxToolBar *result = 0 ;
6790 void *argp1 = 0 ;
6791 int res1 = 0 ;
6792 long val2 ;
6793 int ecode2 = 0 ;
6794 int val3 ;
6795 int ecode3 = 0 ;
6796 bool temp4 = false ;
6797 PyObject * obj0 = 0 ;
6798 PyObject * obj1 = 0 ;
6799 PyObject * obj2 = 0 ;
6800 PyObject * obj3 = 0 ;
6801 char * kwnames[] = {
6802 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6803 };
6804
6805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6807 if (!SWIG_IsOK(res1)) {
6808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6809 }
6810 arg1 = reinterpret_cast< wxFrame * >(argp1);
6811 if (obj1) {
6812 ecode2 = SWIG_AsVal_long(obj1, &val2);
6813 if (!SWIG_IsOK(ecode2)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6815 }
6816 arg2 = static_cast< long >(val2);
6817 }
6818 if (obj2) {
6819 ecode3 = SWIG_AsVal_int(obj2, &val3);
6820 if (!SWIG_IsOK(ecode3)) {
6821 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6822 }
6823 arg3 = static_cast< int >(val3);
6824 }
6825 if (obj3) {
6826 {
6827 arg4 = wxString_in_helper(obj3);
6828 if (arg4 == NULL) SWIG_fail;
6829 temp4 = true;
6830 }
6831 }
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
6838 {
6839 resultobj = wxPyMake_wxObject(result, (bool)0);
6840 }
6841 {
6842 if (temp4)
6843 delete arg4;
6844 }
6845 return resultobj;
6846 fail:
6847 {
6848 if (temp4)
6849 delete arg4;
6850 }
6851 return NULL;
6852 }
6853
6854
6855 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6856 PyObject *resultobj = 0;
6857 wxFrame *arg1 = (wxFrame *) 0 ;
6858 wxToolBar *result = 0 ;
6859 void *argp1 = 0 ;
6860 int res1 = 0 ;
6861 PyObject *swig_obj[1] ;
6862
6863 if (!args) SWIG_fail;
6864 swig_obj[0] = args;
6865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6866 if (!SWIG_IsOK(res1)) {
6867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6868 }
6869 arg1 = reinterpret_cast< wxFrame * >(argp1);
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6873 wxPyEndAllowThreads(__tstate);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
6876 {
6877 resultobj = wxPyMake_wxObject(result, (bool)0);
6878 }
6879 return resultobj;
6880 fail:
6881 return NULL;
6882 }
6883
6884
6885 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6886 PyObject *resultobj = 0;
6887 wxFrame *arg1 = (wxFrame *) 0 ;
6888 wxToolBar *arg2 = (wxToolBar *) 0 ;
6889 void *argp1 = 0 ;
6890 int res1 = 0 ;
6891 void *argp2 = 0 ;
6892 int res2 = 0 ;
6893 PyObject * obj0 = 0 ;
6894 PyObject * obj1 = 0 ;
6895 char * kwnames[] = {
6896 (char *) "self",(char *) "toolbar", NULL
6897 };
6898
6899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6901 if (!SWIG_IsOK(res1)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6903 }
6904 arg1 = reinterpret_cast< wxFrame * >(argp1);
6905 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6906 if (!SWIG_IsOK(res2)) {
6907 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6908 }
6909 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
6912 (arg1)->SetToolBar(arg2);
6913 wxPyEndAllowThreads(__tstate);
6914 if (PyErr_Occurred()) SWIG_fail;
6915 }
6916 resultobj = SWIG_Py_Void();
6917 return resultobj;
6918 fail:
6919 return NULL;
6920 }
6921
6922
6923 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6924 PyObject *resultobj = 0;
6925 wxFrame *arg1 = (wxFrame *) 0 ;
6926 wxString *arg2 = 0 ;
6927 bool arg3 ;
6928 void *argp1 = 0 ;
6929 int res1 = 0 ;
6930 bool temp2 = false ;
6931 bool val3 ;
6932 int ecode3 = 0 ;
6933 PyObject * obj0 = 0 ;
6934 PyObject * obj1 = 0 ;
6935 PyObject * obj2 = 0 ;
6936 char * kwnames[] = {
6937 (char *) "self",(char *) "text",(char *) "show", NULL
6938 };
6939
6940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6942 if (!SWIG_IsOK(res1)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6944 }
6945 arg1 = reinterpret_cast< wxFrame * >(argp1);
6946 {
6947 arg2 = wxString_in_helper(obj1);
6948 if (arg2 == NULL) SWIG_fail;
6949 temp2 = true;
6950 }
6951 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6952 if (!SWIG_IsOK(ecode3)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6954 }
6955 arg3 = static_cast< bool >(val3);
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 resultobj = SWIG_Py_Void();
6963 {
6964 if (temp2)
6965 delete arg2;
6966 }
6967 return resultobj;
6968 fail:
6969 {
6970 if (temp2)
6971 delete arg2;
6972 }
6973 return NULL;
6974 }
6975
6976
6977 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6978 PyObject *resultobj = 0;
6979 wxFrame *arg1 = (wxFrame *) 0 ;
6980 wxMenu *arg2 = (wxMenu *) NULL ;
6981 void *argp1 = 0 ;
6982 int res1 = 0 ;
6983 void *argp2 = 0 ;
6984 int res2 = 0 ;
6985 PyObject * obj0 = 0 ;
6986 PyObject * obj1 = 0 ;
6987 char * kwnames[] = {
6988 (char *) "self",(char *) "menu", NULL
6989 };
6990
6991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
6992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6993 if (!SWIG_IsOK(res1)) {
6994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6995 }
6996 arg1 = reinterpret_cast< wxFrame * >(argp1);
6997 if (obj1) {
6998 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
6999 if (!SWIG_IsOK(res2)) {
7000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7001 }
7002 arg2 = reinterpret_cast< wxMenu * >(argp2);
7003 }
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 (arg1)->DoMenuUpdates(arg2);
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 resultobj = SWIG_Py_Void();
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj = 0;
7019 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7020 SwigValueWrapper<wxVisualAttributes > result;
7021 int val1 ;
7022 int ecode1 = 0 ;
7023 PyObject * obj0 = 0 ;
7024 char * kwnames[] = {
7025 (char *) "variant", NULL
7026 };
7027
7028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7029 if (obj0) {
7030 ecode1 = SWIG_AsVal_int(obj0, &val1);
7031 if (!SWIG_IsOK(ecode1)) {
7032 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7033 }
7034 arg1 = static_cast< wxWindowVariant >(val1);
7035 }
7036 {
7037 if (!wxPyCheckForApp()) SWIG_fail;
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 result = wxFrame::GetClassDefaultAttributes(arg1);
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7044 return resultobj;
7045 fail:
7046 return NULL;
7047 }
7048
7049
7050 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7051 PyObject *obj;
7052 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7053 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7054 return SWIG_Py_Void();
7055 }
7056
7057 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7058 return SWIG_Python_InitShadowInstance(args);
7059 }
7060
7061 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7062 PyObject *resultobj = 0;
7063 wxWindow *arg1 = (wxWindow *) 0 ;
7064 int arg2 = (int) (int)-1 ;
7065 wxString const &arg3_defvalue = wxPyEmptyString ;
7066 wxString *arg3 = (wxString *) &arg3_defvalue ;
7067 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7068 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7069 wxSize const &arg5_defvalue = wxDefaultSize ;
7070 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7071 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7072 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7073 wxString *arg7 = (wxString *) &arg7_defvalue ;
7074 wxDialog *result = 0 ;
7075 void *argp1 = 0 ;
7076 int res1 = 0 ;
7077 int val2 ;
7078 int ecode2 = 0 ;
7079 bool temp3 = false ;
7080 wxPoint temp4 ;
7081 wxSize temp5 ;
7082 long val6 ;
7083 int ecode6 = 0 ;
7084 bool temp7 = false ;
7085 PyObject * obj0 = 0 ;
7086 PyObject * obj1 = 0 ;
7087 PyObject * obj2 = 0 ;
7088 PyObject * obj3 = 0 ;
7089 PyObject * obj4 = 0 ;
7090 PyObject * obj5 = 0 ;
7091 PyObject * obj6 = 0 ;
7092 char * kwnames[] = {
7093 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7094 };
7095
7096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7098 if (!SWIG_IsOK(res1)) {
7099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7100 }
7101 arg1 = reinterpret_cast< wxWindow * >(argp1);
7102 if (obj1) {
7103 ecode2 = SWIG_AsVal_int(obj1, &val2);
7104 if (!SWIG_IsOK(ecode2)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7106 }
7107 arg2 = static_cast< int >(val2);
7108 }
7109 if (obj2) {
7110 {
7111 arg3 = wxString_in_helper(obj2);
7112 if (arg3 == NULL) SWIG_fail;
7113 temp3 = true;
7114 }
7115 }
7116 if (obj3) {
7117 {
7118 arg4 = &temp4;
7119 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7120 }
7121 }
7122 if (obj4) {
7123 {
7124 arg5 = &temp5;
7125 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7126 }
7127 }
7128 if (obj5) {
7129 ecode6 = SWIG_AsVal_long(obj5, &val6);
7130 if (!SWIG_IsOK(ecode6)) {
7131 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7132 }
7133 arg6 = static_cast< long >(val6);
7134 }
7135 if (obj6) {
7136 {
7137 arg7 = wxString_in_helper(obj6);
7138 if (arg7 == NULL) SWIG_fail;
7139 temp7 = true;
7140 }
7141 }
7142 {
7143 if (!wxPyCheckForApp()) SWIG_fail;
7144 PyThreadState* __tstate = wxPyBeginAllowThreads();
7145 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7150 {
7151 if (temp3)
7152 delete arg3;
7153 }
7154 {
7155 if (temp7)
7156 delete arg7;
7157 }
7158 return resultobj;
7159 fail:
7160 {
7161 if (temp3)
7162 delete arg3;
7163 }
7164 {
7165 if (temp7)
7166 delete arg7;
7167 }
7168 return NULL;
7169 }
7170
7171
7172 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7173 PyObject *resultobj = 0;
7174 wxDialog *result = 0 ;
7175
7176 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7177 {
7178 if (!wxPyCheckForApp()) SWIG_fail;
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 result = (wxDialog *)new wxDialog();
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7185 return resultobj;
7186 fail:
7187 return NULL;
7188 }
7189
7190
7191 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7192 PyObject *resultobj = 0;
7193 wxDialog *arg1 = (wxDialog *) 0 ;
7194 wxWindow *arg2 = (wxWindow *) 0 ;
7195 int arg3 = (int) (int)-1 ;
7196 wxString const &arg4_defvalue = wxPyEmptyString ;
7197 wxString *arg4 = (wxString *) &arg4_defvalue ;
7198 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7199 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7200 wxSize const &arg6_defvalue = wxDefaultSize ;
7201 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7202 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7203 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7204 wxString *arg8 = (wxString *) &arg8_defvalue ;
7205 bool result;
7206 void *argp1 = 0 ;
7207 int res1 = 0 ;
7208 void *argp2 = 0 ;
7209 int res2 = 0 ;
7210 int val3 ;
7211 int ecode3 = 0 ;
7212 bool temp4 = false ;
7213 wxPoint temp5 ;
7214 wxSize temp6 ;
7215 long val7 ;
7216 int ecode7 = 0 ;
7217 bool temp8 = false ;
7218 PyObject * obj0 = 0 ;
7219 PyObject * obj1 = 0 ;
7220 PyObject * obj2 = 0 ;
7221 PyObject * obj3 = 0 ;
7222 PyObject * obj4 = 0 ;
7223 PyObject * obj5 = 0 ;
7224 PyObject * obj6 = 0 ;
7225 PyObject * obj7 = 0 ;
7226 char * kwnames[] = {
7227 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7228 };
7229
7230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7232 if (!SWIG_IsOK(res1)) {
7233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7234 }
7235 arg1 = reinterpret_cast< wxDialog * >(argp1);
7236 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7237 if (!SWIG_IsOK(res2)) {
7238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7239 }
7240 arg2 = reinterpret_cast< wxWindow * >(argp2);
7241 if (obj2) {
7242 ecode3 = SWIG_AsVal_int(obj2, &val3);
7243 if (!SWIG_IsOK(ecode3)) {
7244 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7245 }
7246 arg3 = static_cast< int >(val3);
7247 }
7248 if (obj3) {
7249 {
7250 arg4 = wxString_in_helper(obj3);
7251 if (arg4 == NULL) SWIG_fail;
7252 temp4 = true;
7253 }
7254 }
7255 if (obj4) {
7256 {
7257 arg5 = &temp5;
7258 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7259 }
7260 }
7261 if (obj5) {
7262 {
7263 arg6 = &temp6;
7264 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7265 }
7266 }
7267 if (obj6) {
7268 ecode7 = SWIG_AsVal_long(obj6, &val7);
7269 if (!SWIG_IsOK(ecode7)) {
7270 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7271 }
7272 arg7 = static_cast< long >(val7);
7273 }
7274 if (obj7) {
7275 {
7276 arg8 = wxString_in_helper(obj7);
7277 if (arg8 == NULL) SWIG_fail;
7278 temp8 = true;
7279 }
7280 }
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 {
7288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7289 }
7290 {
7291 if (temp4)
7292 delete arg4;
7293 }
7294 {
7295 if (temp8)
7296 delete arg8;
7297 }
7298 return resultobj;
7299 fail:
7300 {
7301 if (temp4)
7302 delete arg4;
7303 }
7304 {
7305 if (temp8)
7306 delete arg8;
7307 }
7308 return NULL;
7309 }
7310
7311
7312 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7313 PyObject *resultobj = 0;
7314 wxDialog *arg1 = (wxDialog *) 0 ;
7315 int arg2 ;
7316 void *argp1 = 0 ;
7317 int res1 = 0 ;
7318 int val2 ;
7319 int ecode2 = 0 ;
7320 PyObject * obj0 = 0 ;
7321 PyObject * obj1 = 0 ;
7322 char * kwnames[] = {
7323 (char *) "self",(char *) "returnCode", NULL
7324 };
7325
7326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7328 if (!SWIG_IsOK(res1)) {
7329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7330 }
7331 arg1 = reinterpret_cast< wxDialog * >(argp1);
7332 ecode2 = SWIG_AsVal_int(obj1, &val2);
7333 if (!SWIG_IsOK(ecode2)) {
7334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7335 }
7336 arg2 = static_cast< int >(val2);
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7339 (arg1)->SetReturnCode(arg2);
7340 wxPyEndAllowThreads(__tstate);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 }
7343 resultobj = SWIG_Py_Void();
7344 return resultobj;
7345 fail:
7346 return NULL;
7347 }
7348
7349
7350 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7351 PyObject *resultobj = 0;
7352 wxDialog *arg1 = (wxDialog *) 0 ;
7353 int result;
7354 void *argp1 = 0 ;
7355 int res1 = 0 ;
7356 PyObject *swig_obj[1] ;
7357
7358 if (!args) SWIG_fail;
7359 swig_obj[0] = args;
7360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7361 if (!SWIG_IsOK(res1)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7363 }
7364 arg1 = reinterpret_cast< wxDialog * >(argp1);
7365 {
7366 PyThreadState* __tstate = wxPyBeginAllowThreads();
7367 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7368 wxPyEndAllowThreads(__tstate);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
7371 resultobj = SWIG_From_int(static_cast< int >(result));
7372 return resultobj;
7373 fail:
7374 return NULL;
7375 }
7376
7377
7378 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7379 PyObject *resultobj = 0;
7380 wxDialog *arg1 = (wxDialog *) 0 ;
7381 int arg2 ;
7382 void *argp1 = 0 ;
7383 int res1 = 0 ;
7384 int val2 ;
7385 int ecode2 = 0 ;
7386 PyObject * obj0 = 0 ;
7387 PyObject * obj1 = 0 ;
7388 char * kwnames[] = {
7389 (char *) "self",(char *) "affirmativeId", NULL
7390 };
7391
7392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7394 if (!SWIG_IsOK(res1)) {
7395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7396 }
7397 arg1 = reinterpret_cast< wxDialog * >(argp1);
7398 ecode2 = SWIG_AsVal_int(obj1, &val2);
7399 if (!SWIG_IsOK(ecode2)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7401 }
7402 arg2 = static_cast< int >(val2);
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 (arg1)->SetAffirmativeId(arg2);
7406 wxPyEndAllowThreads(__tstate);
7407 if (PyErr_Occurred()) SWIG_fail;
7408 }
7409 resultobj = SWIG_Py_Void();
7410 return resultobj;
7411 fail:
7412 return NULL;
7413 }
7414
7415
7416 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7417 PyObject *resultobj = 0;
7418 wxDialog *arg1 = (wxDialog *) 0 ;
7419 int result;
7420 void *argp1 = 0 ;
7421 int res1 = 0 ;
7422 PyObject *swig_obj[1] ;
7423
7424 if (!args) SWIG_fail;
7425 swig_obj[0] = args;
7426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7427 if (!SWIG_IsOK(res1)) {
7428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7429 }
7430 arg1 = reinterpret_cast< wxDialog * >(argp1);
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 resultobj = SWIG_From_int(static_cast< int >(result));
7438 return resultobj;
7439 fail:
7440 return NULL;
7441 }
7442
7443
7444 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj = 0;
7446 wxDialog *arg1 = (wxDialog *) 0 ;
7447 int arg2 ;
7448 void *argp1 = 0 ;
7449 int res1 = 0 ;
7450 int val2 ;
7451 int ecode2 = 0 ;
7452 PyObject * obj0 = 0 ;
7453 PyObject * obj1 = 0 ;
7454 char * kwnames[] = {
7455 (char *) "self",(char *) "escapeId", NULL
7456 };
7457
7458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7460 if (!SWIG_IsOK(res1)) {
7461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7462 }
7463 arg1 = reinterpret_cast< wxDialog * >(argp1);
7464 ecode2 = SWIG_AsVal_int(obj1, &val2);
7465 if (!SWIG_IsOK(ecode2)) {
7466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7467 }
7468 arg2 = static_cast< int >(val2);
7469 {
7470 PyThreadState* __tstate = wxPyBeginAllowThreads();
7471 (arg1)->SetEscapeId(arg2);
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 resultobj = SWIG_Py_Void();
7476 return resultobj;
7477 fail:
7478 return NULL;
7479 }
7480
7481
7482 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7483 PyObject *resultobj = 0;
7484 wxDialog *arg1 = (wxDialog *) 0 ;
7485 int result;
7486 void *argp1 = 0 ;
7487 int res1 = 0 ;
7488 PyObject *swig_obj[1] ;
7489
7490 if (!args) SWIG_fail;
7491 swig_obj[0] = args;
7492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7493 if (!SWIG_IsOK(res1)) {
7494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7495 }
7496 arg1 = reinterpret_cast< wxDialog * >(argp1);
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
7503 resultobj = SWIG_From_int(static_cast< int >(result));
7504 return resultobj;
7505 fail:
7506 return NULL;
7507 }
7508
7509
7510 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7511 PyObject *resultobj = 0;
7512 wxDialog *arg1 = (wxDialog *) 0 ;
7513 wxString *arg2 = 0 ;
7514 wxSizer *result = 0 ;
7515 void *argp1 = 0 ;
7516 int res1 = 0 ;
7517 bool temp2 = false ;
7518 PyObject * obj0 = 0 ;
7519 PyObject * obj1 = 0 ;
7520 char * kwnames[] = {
7521 (char *) "self",(char *) "message", NULL
7522 };
7523
7524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7526 if (!SWIG_IsOK(res1)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7528 }
7529 arg1 = reinterpret_cast< wxDialog * >(argp1);
7530 {
7531 arg2 = wxString_in_helper(obj1);
7532 if (arg2 == NULL) SWIG_fail;
7533 temp2 = true;
7534 }
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 {
7542 resultobj = wxPyMake_wxObject(result, (bool)0);
7543 }
7544 {
7545 if (temp2)
7546 delete arg2;
7547 }
7548 return resultobj;
7549 fail:
7550 {
7551 if (temp2)
7552 delete arg2;
7553 }
7554 return NULL;
7555 }
7556
7557
7558 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7559 PyObject *resultobj = 0;
7560 wxDialog *arg1 = (wxDialog *) 0 ;
7561 long arg2 ;
7562 bool arg3 = (bool) false ;
7563 int arg4 = (int) 0 ;
7564 wxSizer *result = 0 ;
7565 void *argp1 = 0 ;
7566 int res1 = 0 ;
7567 long val2 ;
7568 int ecode2 = 0 ;
7569 bool val3 ;
7570 int ecode3 = 0 ;
7571 int val4 ;
7572 int ecode4 = 0 ;
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 PyObject * obj2 = 0 ;
7576 PyObject * obj3 = 0 ;
7577 char * kwnames[] = {
7578 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7579 };
7580
7581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7583 if (!SWIG_IsOK(res1)) {
7584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7585 }
7586 arg1 = reinterpret_cast< wxDialog * >(argp1);
7587 ecode2 = SWIG_AsVal_long(obj1, &val2);
7588 if (!SWIG_IsOK(ecode2)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7590 }
7591 arg2 = static_cast< long >(val2);
7592 if (obj2) {
7593 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7594 if (!SWIG_IsOK(ecode3)) {
7595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7596 }
7597 arg3 = static_cast< bool >(val3);
7598 }
7599 if (obj3) {
7600 ecode4 = SWIG_AsVal_int(obj3, &val4);
7601 if (!SWIG_IsOK(ecode4)) {
7602 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7603 }
7604 arg4 = static_cast< int >(val4);
7605 }
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 {
7613 resultobj = wxPyMake_wxObject(result, (bool)0);
7614 }
7615 return resultobj;
7616 fail:
7617 return NULL;
7618 }
7619
7620
7621 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7622 PyObject *resultobj = 0;
7623 wxDialog *arg1 = (wxDialog *) 0 ;
7624 long arg2 ;
7625 wxStdDialogButtonSizer *result = 0 ;
7626 void *argp1 = 0 ;
7627 int res1 = 0 ;
7628 long val2 ;
7629 int ecode2 = 0 ;
7630 PyObject * obj0 = 0 ;
7631 PyObject * obj1 = 0 ;
7632 char * kwnames[] = {
7633 (char *) "self",(char *) "flags", NULL
7634 };
7635
7636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7638 if (!SWIG_IsOK(res1)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7640 }
7641 arg1 = reinterpret_cast< wxDialog * >(argp1);
7642 ecode2 = SWIG_AsVal_long(obj1, &val2);
7643 if (!SWIG_IsOK(ecode2)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7645 }
7646 arg2 = static_cast< long >(val2);
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7654 return resultobj;
7655 fail:
7656 return NULL;
7657 }
7658
7659
7660 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7661 PyObject *resultobj = 0;
7662 wxDialog *arg1 = (wxDialog *) 0 ;
7663 bool result;
7664 void *argp1 = 0 ;
7665 int res1 = 0 ;
7666 PyObject *swig_obj[1] ;
7667
7668 if (!args) SWIG_fail;
7669 swig_obj[0] = args;
7670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7671 if (!SWIG_IsOK(res1)) {
7672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7673 }
7674 arg1 = reinterpret_cast< wxDialog * >(argp1);
7675 {
7676 PyThreadState* __tstate = wxPyBeginAllowThreads();
7677 result = (bool)((wxDialog const *)arg1)->IsModal();
7678 wxPyEndAllowThreads(__tstate);
7679 if (PyErr_Occurred()) SWIG_fail;
7680 }
7681 {
7682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7683 }
7684 return resultobj;
7685 fail:
7686 return NULL;
7687 }
7688
7689
7690 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7691 PyObject *resultobj = 0;
7692 wxDialog *arg1 = (wxDialog *) 0 ;
7693 int result;
7694 void *argp1 = 0 ;
7695 int res1 = 0 ;
7696 PyObject *swig_obj[1] ;
7697
7698 if (!args) SWIG_fail;
7699 swig_obj[0] = args;
7700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7701 if (!SWIG_IsOK(res1)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7703 }
7704 arg1 = reinterpret_cast< wxDialog * >(argp1);
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 result = (int)(arg1)->ShowModal();
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 resultobj = SWIG_From_int(static_cast< int >(result));
7712 return resultobj;
7713 fail:
7714 return NULL;
7715 }
7716
7717
7718 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj = 0;
7720 wxDialog *arg1 = (wxDialog *) 0 ;
7721 int arg2 ;
7722 void *argp1 = 0 ;
7723 int res1 = 0 ;
7724 int val2 ;
7725 int ecode2 = 0 ;
7726 PyObject * obj0 = 0 ;
7727 PyObject * obj1 = 0 ;
7728 char * kwnames[] = {
7729 (char *) "self",(char *) "retCode", NULL
7730 };
7731
7732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7734 if (!SWIG_IsOK(res1)) {
7735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7736 }
7737 arg1 = reinterpret_cast< wxDialog * >(argp1);
7738 ecode2 = SWIG_AsVal_int(obj1, &val2);
7739 if (!SWIG_IsOK(ecode2)) {
7740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7741 }
7742 arg2 = static_cast< int >(val2);
7743 {
7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
7745 (arg1)->EndModal(arg2);
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 resultobj = SWIG_Py_Void();
7750 return resultobj;
7751 fail:
7752 return NULL;
7753 }
7754
7755
7756 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7757 PyObject *resultobj = 0;
7758 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7759 SwigValueWrapper<wxVisualAttributes > result;
7760 int val1 ;
7761 int ecode1 = 0 ;
7762 PyObject * obj0 = 0 ;
7763 char * kwnames[] = {
7764 (char *) "variant", NULL
7765 };
7766
7767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7768 if (obj0) {
7769 ecode1 = SWIG_AsVal_int(obj0, &val1);
7770 if (!SWIG_IsOK(ecode1)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7772 }
7773 arg1 = static_cast< wxWindowVariant >(val1);
7774 }
7775 {
7776 if (!wxPyCheckForApp()) SWIG_fail;
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 result = wxDialog::GetClassDefaultAttributes(arg1);
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7783 return resultobj;
7784 fail:
7785 return NULL;
7786 }
7787
7788
7789 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7790 PyObject *obj;
7791 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7792 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7793 return SWIG_Py_Void();
7794 }
7795
7796 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7797 return SWIG_Python_InitShadowInstance(args);
7798 }
7799
7800 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj = 0;
7802 wxWindow *arg1 = (wxWindow *) 0 ;
7803 int arg2 = (int) (int)-1 ;
7804 wxString const &arg3_defvalue = wxPyEmptyString ;
7805 wxString *arg3 = (wxString *) &arg3_defvalue ;
7806 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7807 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7808 wxSize const &arg5_defvalue = wxDefaultSize ;
7809 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7810 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7811 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7812 wxString *arg7 = (wxString *) &arg7_defvalue ;
7813 wxMiniFrame *result = 0 ;
7814 void *argp1 = 0 ;
7815 int res1 = 0 ;
7816 int val2 ;
7817 int ecode2 = 0 ;
7818 bool temp3 = false ;
7819 wxPoint temp4 ;
7820 wxSize temp5 ;
7821 long val6 ;
7822 int ecode6 = 0 ;
7823 bool temp7 = false ;
7824 PyObject * obj0 = 0 ;
7825 PyObject * obj1 = 0 ;
7826 PyObject * obj2 = 0 ;
7827 PyObject * obj3 = 0 ;
7828 PyObject * obj4 = 0 ;
7829 PyObject * obj5 = 0 ;
7830 PyObject * obj6 = 0 ;
7831 char * kwnames[] = {
7832 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7833 };
7834
7835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7837 if (!SWIG_IsOK(res1)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7839 }
7840 arg1 = reinterpret_cast< wxWindow * >(argp1);
7841 if (obj1) {
7842 ecode2 = SWIG_AsVal_int(obj1, &val2);
7843 if (!SWIG_IsOK(ecode2)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7845 }
7846 arg2 = static_cast< int >(val2);
7847 }
7848 if (obj2) {
7849 {
7850 arg3 = wxString_in_helper(obj2);
7851 if (arg3 == NULL) SWIG_fail;
7852 temp3 = true;
7853 }
7854 }
7855 if (obj3) {
7856 {
7857 arg4 = &temp4;
7858 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7859 }
7860 }
7861 if (obj4) {
7862 {
7863 arg5 = &temp5;
7864 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7865 }
7866 }
7867 if (obj5) {
7868 ecode6 = SWIG_AsVal_long(obj5, &val6);
7869 if (!SWIG_IsOK(ecode6)) {
7870 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7871 }
7872 arg6 = static_cast< long >(val6);
7873 }
7874 if (obj6) {
7875 {
7876 arg7 = wxString_in_helper(obj6);
7877 if (arg7 == NULL) SWIG_fail;
7878 temp7 = true;
7879 }
7880 }
7881 {
7882 if (!wxPyCheckForApp()) SWIG_fail;
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7889 {
7890 if (temp3)
7891 delete arg3;
7892 }
7893 {
7894 if (temp7)
7895 delete arg7;
7896 }
7897 return resultobj;
7898 fail:
7899 {
7900 if (temp3)
7901 delete arg3;
7902 }
7903 {
7904 if (temp7)
7905 delete arg7;
7906 }
7907 return NULL;
7908 }
7909
7910
7911 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7912 PyObject *resultobj = 0;
7913 wxMiniFrame *result = 0 ;
7914
7915 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7916 {
7917 if (!wxPyCheckForApp()) SWIG_fail;
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 result = (wxMiniFrame *)new wxMiniFrame();
7920 wxPyEndAllowThreads(__tstate);
7921 if (PyErr_Occurred()) SWIG_fail;
7922 }
7923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7924 return resultobj;
7925 fail:
7926 return NULL;
7927 }
7928
7929
7930 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7931 PyObject *resultobj = 0;
7932 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7933 wxWindow *arg2 = (wxWindow *) 0 ;
7934 int arg3 = (int) (int)-1 ;
7935 wxString const &arg4_defvalue = wxPyEmptyString ;
7936 wxString *arg4 = (wxString *) &arg4_defvalue ;
7937 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7938 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7939 wxSize const &arg6_defvalue = wxDefaultSize ;
7940 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7941 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
7942 wxString const &arg8_defvalue = wxPyFrameNameStr ;
7943 wxString *arg8 = (wxString *) &arg8_defvalue ;
7944 bool result;
7945 void *argp1 = 0 ;
7946 int res1 = 0 ;
7947 void *argp2 = 0 ;
7948 int res2 = 0 ;
7949 int val3 ;
7950 int ecode3 = 0 ;
7951 bool temp4 = false ;
7952 wxPoint temp5 ;
7953 wxSize temp6 ;
7954 long val7 ;
7955 int ecode7 = 0 ;
7956 bool temp8 = false ;
7957 PyObject * obj0 = 0 ;
7958 PyObject * obj1 = 0 ;
7959 PyObject * obj2 = 0 ;
7960 PyObject * obj3 = 0 ;
7961 PyObject * obj4 = 0 ;
7962 PyObject * obj5 = 0 ;
7963 PyObject * obj6 = 0 ;
7964 PyObject * obj7 = 0 ;
7965 char * kwnames[] = {
7966 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7967 };
7968
7969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
7971 if (!SWIG_IsOK(res1)) {
7972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7973 }
7974 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
7975 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7976 if (!SWIG_IsOK(res2)) {
7977 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7978 }
7979 arg2 = reinterpret_cast< wxWindow * >(argp2);
7980 if (obj2) {
7981 ecode3 = SWIG_AsVal_int(obj2, &val3);
7982 if (!SWIG_IsOK(ecode3)) {
7983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7984 }
7985 arg3 = static_cast< int >(val3);
7986 }
7987 if (obj3) {
7988 {
7989 arg4 = wxString_in_helper(obj3);
7990 if (arg4 == NULL) SWIG_fail;
7991 temp4 = true;
7992 }
7993 }
7994 if (obj4) {
7995 {
7996 arg5 = &temp5;
7997 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7998 }
7999 }
8000 if (obj5) {
8001 {
8002 arg6 = &temp6;
8003 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8004 }
8005 }
8006 if (obj6) {
8007 ecode7 = SWIG_AsVal_long(obj6, &val7);
8008 if (!SWIG_IsOK(ecode7)) {
8009 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8010 }
8011 arg7 = static_cast< long >(val7);
8012 }
8013 if (obj7) {
8014 {
8015 arg8 = wxString_in_helper(obj7);
8016 if (arg8 == NULL) SWIG_fail;
8017 temp8 = true;
8018 }
8019 }
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 {
8027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8028 }
8029 {
8030 if (temp4)
8031 delete arg4;
8032 }
8033 {
8034 if (temp8)
8035 delete arg8;
8036 }
8037 return resultobj;
8038 fail:
8039 {
8040 if (temp4)
8041 delete arg4;
8042 }
8043 {
8044 if (temp8)
8045 delete arg8;
8046 }
8047 return NULL;
8048 }
8049
8050
8051 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8052 PyObject *obj;
8053 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8054 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8055 return SWIG_Py_Void();
8056 }
8057
8058 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8059 return SWIG_Python_InitShadowInstance(args);
8060 }
8061
8062 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj = 0;
8064 wxBitmap *arg1 = 0 ;
8065 wxWindow *arg2 = (wxWindow *) 0 ;
8066 int arg3 ;
8067 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8068 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8069 wxSize const &arg5_defvalue = wxDefaultSize ;
8070 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8071 long arg6 = (long) wxNO_BORDER ;
8072 wxSplashScreenWindow *result = 0 ;
8073 void *argp1 = 0 ;
8074 int res1 = 0 ;
8075 void *argp2 = 0 ;
8076 int res2 = 0 ;
8077 int val3 ;
8078 int ecode3 = 0 ;
8079 wxPoint temp4 ;
8080 wxSize temp5 ;
8081 long val6 ;
8082 int ecode6 = 0 ;
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 PyObject * obj2 = 0 ;
8086 PyObject * obj3 = 0 ;
8087 PyObject * obj4 = 0 ;
8088 PyObject * obj5 = 0 ;
8089 char * kwnames[] = {
8090 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8091 };
8092
8093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8094 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8095 if (!SWIG_IsOK(res1)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8097 }
8098 if (!argp1) {
8099 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8100 }
8101 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8102 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8103 if (!SWIG_IsOK(res2)) {
8104 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8105 }
8106 arg2 = reinterpret_cast< wxWindow * >(argp2);
8107 ecode3 = SWIG_AsVal_int(obj2, &val3);
8108 if (!SWIG_IsOK(ecode3)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8110 }
8111 arg3 = static_cast< int >(val3);
8112 if (obj3) {
8113 {
8114 arg4 = &temp4;
8115 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8116 }
8117 }
8118 if (obj4) {
8119 {
8120 arg5 = &temp5;
8121 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8122 }
8123 }
8124 if (obj5) {
8125 ecode6 = SWIG_AsVal_long(obj5, &val6);
8126 if (!SWIG_IsOK(ecode6)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8128 }
8129 arg6 = static_cast< long >(val6);
8130 }
8131 {
8132 if (!wxPyCheckForApp()) SWIG_fail;
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8139 return resultobj;
8140 fail:
8141 return NULL;
8142 }
8143
8144
8145 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8146 PyObject *resultobj = 0;
8147 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8148 wxBitmap *arg2 = 0 ;
8149 void *argp1 = 0 ;
8150 int res1 = 0 ;
8151 void *argp2 = 0 ;
8152 int res2 = 0 ;
8153 PyObject * obj0 = 0 ;
8154 PyObject * obj1 = 0 ;
8155 char * kwnames[] = {
8156 (char *) "self",(char *) "bitmap", NULL
8157 };
8158
8159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8161 if (!SWIG_IsOK(res1)) {
8162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8163 }
8164 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8165 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8166 if (!SWIG_IsOK(res2)) {
8167 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8168 }
8169 if (!argp2) {
8170 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8171 }
8172 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8173 {
8174 PyThreadState* __tstate = wxPyBeginAllowThreads();
8175 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8176 wxPyEndAllowThreads(__tstate);
8177 if (PyErr_Occurred()) SWIG_fail;
8178 }
8179 resultobj = SWIG_Py_Void();
8180 return resultobj;
8181 fail:
8182 return NULL;
8183 }
8184
8185
8186 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8187 PyObject *resultobj = 0;
8188 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8189 wxBitmap *result = 0 ;
8190 void *argp1 = 0 ;
8191 int res1 = 0 ;
8192 PyObject *swig_obj[1] ;
8193
8194 if (!args) SWIG_fail;
8195 swig_obj[0] = args;
8196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8197 if (!SWIG_IsOK(res1)) {
8198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8199 }
8200 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8201 {
8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
8203 {
8204 wxBitmap &_result_ref = (arg1)->GetBitmap();
8205 result = (wxBitmap *) &_result_ref;
8206 }
8207 wxPyEndAllowThreads(__tstate);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
8210 {
8211 wxBitmap* resultptr = new wxBitmap(*result);
8212 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8213 }
8214 return resultobj;
8215 fail:
8216 return NULL;
8217 }
8218
8219
8220 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8221 PyObject *obj;
8222 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8223 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8224 return SWIG_Py_Void();
8225 }
8226
8227 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8228 return SWIG_Python_InitShadowInstance(args);
8229 }
8230
8231 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8232 PyObject *resultobj = 0;
8233 wxBitmap *arg1 = 0 ;
8234 long arg2 ;
8235 int arg3 ;
8236 wxWindow *arg4 = (wxWindow *) 0 ;
8237 int arg5 = (int) -1 ;
8238 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8239 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8240 wxSize const &arg7_defvalue = wxDefaultSize ;
8241 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8242 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8243 wxSplashScreen *result = 0 ;
8244 void *argp1 = 0 ;
8245 int res1 = 0 ;
8246 long val2 ;
8247 int ecode2 = 0 ;
8248 int val3 ;
8249 int ecode3 = 0 ;
8250 void *argp4 = 0 ;
8251 int res4 = 0 ;
8252 int val5 ;
8253 int ecode5 = 0 ;
8254 wxPoint temp6 ;
8255 wxSize temp7 ;
8256 long val8 ;
8257 int ecode8 = 0 ;
8258 PyObject * obj0 = 0 ;
8259 PyObject * obj1 = 0 ;
8260 PyObject * obj2 = 0 ;
8261 PyObject * obj3 = 0 ;
8262 PyObject * obj4 = 0 ;
8263 PyObject * obj5 = 0 ;
8264 PyObject * obj6 = 0 ;
8265 PyObject * obj7 = 0 ;
8266 char * kwnames[] = {
8267 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8268 };
8269
8270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8271 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8272 if (!SWIG_IsOK(res1)) {
8273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8274 }
8275 if (!argp1) {
8276 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8277 }
8278 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8279 ecode2 = SWIG_AsVal_long(obj1, &val2);
8280 if (!SWIG_IsOK(ecode2)) {
8281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8282 }
8283 arg2 = static_cast< long >(val2);
8284 ecode3 = SWIG_AsVal_int(obj2, &val3);
8285 if (!SWIG_IsOK(ecode3)) {
8286 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8287 }
8288 arg3 = static_cast< int >(val3);
8289 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8290 if (!SWIG_IsOK(res4)) {
8291 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8292 }
8293 arg4 = reinterpret_cast< wxWindow * >(argp4);
8294 if (obj4) {
8295 ecode5 = SWIG_AsVal_int(obj4, &val5);
8296 if (!SWIG_IsOK(ecode5)) {
8297 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8298 }
8299 arg5 = static_cast< int >(val5);
8300 }
8301 if (obj5) {
8302 {
8303 arg6 = &temp6;
8304 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8305 }
8306 }
8307 if (obj6) {
8308 {
8309 arg7 = &temp7;
8310 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8311 }
8312 }
8313 if (obj7) {
8314 ecode8 = SWIG_AsVal_long(obj7, &val8);
8315 if (!SWIG_IsOK(ecode8)) {
8316 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8317 }
8318 arg8 = static_cast< long >(val8);
8319 }
8320 {
8321 if (!wxPyCheckForApp()) SWIG_fail;
8322 PyThreadState* __tstate = wxPyBeginAllowThreads();
8323 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8324 wxPyEndAllowThreads(__tstate);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 }
8327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8328 return resultobj;
8329 fail:
8330 return NULL;
8331 }
8332
8333
8334 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8335 PyObject *resultobj = 0;
8336 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8337 long result;
8338 void *argp1 = 0 ;
8339 int res1 = 0 ;
8340 PyObject *swig_obj[1] ;
8341
8342 if (!args) SWIG_fail;
8343 swig_obj[0] = args;
8344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8345 if (!SWIG_IsOK(res1)) {
8346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8347 }
8348 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 resultobj = SWIG_From_long(static_cast< long >(result));
8356 return resultobj;
8357 fail:
8358 return NULL;
8359 }
8360
8361
8362 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8363 PyObject *resultobj = 0;
8364 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8365 wxSplashScreenWindow *result = 0 ;
8366 void *argp1 = 0 ;
8367 int res1 = 0 ;
8368 PyObject *swig_obj[1] ;
8369
8370 if (!args) SWIG_fail;
8371 swig_obj[0] = args;
8372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8373 if (!SWIG_IsOK(res1)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8375 }
8376 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8384 return resultobj;
8385 fail:
8386 return NULL;
8387 }
8388
8389
8390 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8391 PyObject *resultobj = 0;
8392 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8393 int result;
8394 void *argp1 = 0 ;
8395 int res1 = 0 ;
8396 PyObject *swig_obj[1] ;
8397
8398 if (!args) SWIG_fail;
8399 swig_obj[0] = args;
8400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8401 if (!SWIG_IsOK(res1)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8403 }
8404 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 resultobj = SWIG_From_int(static_cast< int >(result));
8412 return resultobj;
8413 fail:
8414 return NULL;
8415 }
8416
8417
8418 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8419 PyObject *obj;
8420 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8421 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8422 return SWIG_Py_Void();
8423 }
8424
8425 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8426 return SWIG_Python_InitShadowInstance(args);
8427 }
8428
8429 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8430 PyObject *resultobj = 0;
8431 wxWindow *arg1 = (wxWindow *) 0 ;
8432 int arg2 = (int) -1 ;
8433 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8434 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8435 wxString *arg4 = (wxString *) &arg4_defvalue ;
8436 wxStatusBar *result = 0 ;
8437 void *argp1 = 0 ;
8438 int res1 = 0 ;
8439 int val2 ;
8440 int ecode2 = 0 ;
8441 long val3 ;
8442 int ecode3 = 0 ;
8443 bool temp4 = false ;
8444 PyObject * obj0 = 0 ;
8445 PyObject * obj1 = 0 ;
8446 PyObject * obj2 = 0 ;
8447 PyObject * obj3 = 0 ;
8448 char * kwnames[] = {
8449 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8450 };
8451
8452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8454 if (!SWIG_IsOK(res1)) {
8455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8456 }
8457 arg1 = reinterpret_cast< wxWindow * >(argp1);
8458 if (obj1) {
8459 ecode2 = SWIG_AsVal_int(obj1, &val2);
8460 if (!SWIG_IsOK(ecode2)) {
8461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8462 }
8463 arg2 = static_cast< int >(val2);
8464 }
8465 if (obj2) {
8466 ecode3 = SWIG_AsVal_long(obj2, &val3);
8467 if (!SWIG_IsOK(ecode3)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8469 }
8470 arg3 = static_cast< long >(val3);
8471 }
8472 if (obj3) {
8473 {
8474 arg4 = wxString_in_helper(obj3);
8475 if (arg4 == NULL) SWIG_fail;
8476 temp4 = true;
8477 }
8478 }
8479 {
8480 if (!wxPyCheckForApp()) SWIG_fail;
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8487 {
8488 if (temp4)
8489 delete arg4;
8490 }
8491 return resultobj;
8492 fail:
8493 {
8494 if (temp4)
8495 delete arg4;
8496 }
8497 return NULL;
8498 }
8499
8500
8501 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8502 PyObject *resultobj = 0;
8503 wxStatusBar *result = 0 ;
8504
8505 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8506 {
8507 if (!wxPyCheckForApp()) SWIG_fail;
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 result = (wxStatusBar *)new wxStatusBar();
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj = 0;
8522 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8523 wxWindow *arg2 = (wxWindow *) 0 ;
8524 int arg3 = (int) -1 ;
8525 long arg4 = (long) wxST_SIZEGRIP ;
8526 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8527 wxString *arg5 = (wxString *) &arg5_defvalue ;
8528 bool result;
8529 void *argp1 = 0 ;
8530 int res1 = 0 ;
8531 void *argp2 = 0 ;
8532 int res2 = 0 ;
8533 int val3 ;
8534 int ecode3 = 0 ;
8535 long val4 ;
8536 int ecode4 = 0 ;
8537 bool temp5 = false ;
8538 PyObject * obj0 = 0 ;
8539 PyObject * obj1 = 0 ;
8540 PyObject * obj2 = 0 ;
8541 PyObject * obj3 = 0 ;
8542 PyObject * obj4 = 0 ;
8543 char * kwnames[] = {
8544 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8545 };
8546
8547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8549 if (!SWIG_IsOK(res1)) {
8550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8551 }
8552 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8553 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8554 if (!SWIG_IsOK(res2)) {
8555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8556 }
8557 arg2 = reinterpret_cast< wxWindow * >(argp2);
8558 if (obj2) {
8559 ecode3 = SWIG_AsVal_int(obj2, &val3);
8560 if (!SWIG_IsOK(ecode3)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8562 }
8563 arg3 = static_cast< int >(val3);
8564 }
8565 if (obj3) {
8566 ecode4 = SWIG_AsVal_long(obj3, &val4);
8567 if (!SWIG_IsOK(ecode4)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8569 }
8570 arg4 = static_cast< long >(val4);
8571 }
8572 if (obj4) {
8573 {
8574 arg5 = wxString_in_helper(obj4);
8575 if (arg5 == NULL) SWIG_fail;
8576 temp5 = true;
8577 }
8578 }
8579 {
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8582 wxPyEndAllowThreads(__tstate);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
8585 {
8586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8587 }
8588 {
8589 if (temp5)
8590 delete arg5;
8591 }
8592 return resultobj;
8593 fail:
8594 {
8595 if (temp5)
8596 delete arg5;
8597 }
8598 return NULL;
8599 }
8600
8601
8602 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8603 PyObject *resultobj = 0;
8604 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8605 int arg2 = (int) 1 ;
8606 void *argp1 = 0 ;
8607 int res1 = 0 ;
8608 int val2 ;
8609 int ecode2 = 0 ;
8610 PyObject * obj0 = 0 ;
8611 PyObject * obj1 = 0 ;
8612 char * kwnames[] = {
8613 (char *) "self",(char *) "number", NULL
8614 };
8615
8616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8618 if (!SWIG_IsOK(res1)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8620 }
8621 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8622 if (obj1) {
8623 ecode2 = SWIG_AsVal_int(obj1, &val2);
8624 if (!SWIG_IsOK(ecode2)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8626 }
8627 arg2 = static_cast< int >(val2);
8628 }
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 (arg1)->SetFieldsCount(arg2);
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 resultobj = SWIG_Py_Void();
8636 return resultobj;
8637 fail:
8638 return NULL;
8639 }
8640
8641
8642 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8643 PyObject *resultobj = 0;
8644 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8645 int result;
8646 void *argp1 = 0 ;
8647 int res1 = 0 ;
8648 PyObject *swig_obj[1] ;
8649
8650 if (!args) SWIG_fail;
8651 swig_obj[0] = args;
8652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8653 if (!SWIG_IsOK(res1)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8655 }
8656 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 resultobj = SWIG_From_int(static_cast< int >(result));
8664 return resultobj;
8665 fail:
8666 return NULL;
8667 }
8668
8669
8670 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj = 0;
8672 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8673 wxString *arg2 = 0 ;
8674 int arg3 = (int) 0 ;
8675 void *argp1 = 0 ;
8676 int res1 = 0 ;
8677 bool temp2 = false ;
8678 int val3 ;
8679 int ecode3 = 0 ;
8680 PyObject * obj0 = 0 ;
8681 PyObject * obj1 = 0 ;
8682 PyObject * obj2 = 0 ;
8683 char * kwnames[] = {
8684 (char *) "self",(char *) "text",(char *) "number", NULL
8685 };
8686
8687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8689 if (!SWIG_IsOK(res1)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8691 }
8692 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8693 {
8694 arg2 = wxString_in_helper(obj1);
8695 if (arg2 == NULL) SWIG_fail;
8696 temp2 = true;
8697 }
8698 if (obj2) {
8699 ecode3 = SWIG_AsVal_int(obj2, &val3);
8700 if (!SWIG_IsOK(ecode3)) {
8701 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8702 }
8703 arg3 = static_cast< int >(val3);
8704 }
8705 {
8706 PyThreadState* __tstate = wxPyBeginAllowThreads();
8707 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8708 wxPyEndAllowThreads(__tstate);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 resultobj = SWIG_Py_Void();
8712 {
8713 if (temp2)
8714 delete arg2;
8715 }
8716 return resultobj;
8717 fail:
8718 {
8719 if (temp2)
8720 delete arg2;
8721 }
8722 return NULL;
8723 }
8724
8725
8726 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj = 0;
8728 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8729 int arg2 = (int) 0 ;
8730 wxString result;
8731 void *argp1 = 0 ;
8732 int res1 = 0 ;
8733 int val2 ;
8734 int ecode2 = 0 ;
8735 PyObject * obj0 = 0 ;
8736 PyObject * obj1 = 0 ;
8737 char * kwnames[] = {
8738 (char *) "self",(char *) "number", NULL
8739 };
8740
8741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8743 if (!SWIG_IsOK(res1)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8745 }
8746 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8747 if (obj1) {
8748 ecode2 = SWIG_AsVal_int(obj1, &val2);
8749 if (!SWIG_IsOK(ecode2)) {
8750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8751 }
8752 arg2 = static_cast< int >(val2);
8753 }
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 {
8761 #if wxUSE_UNICODE
8762 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8763 #else
8764 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8765 #endif
8766 }
8767 return resultobj;
8768 fail:
8769 return NULL;
8770 }
8771
8772
8773 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8774 PyObject *resultobj = 0;
8775 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8776 wxString *arg2 = 0 ;
8777 int arg3 = (int) 0 ;
8778 void *argp1 = 0 ;
8779 int res1 = 0 ;
8780 bool temp2 = false ;
8781 int val3 ;
8782 int ecode3 = 0 ;
8783 PyObject * obj0 = 0 ;
8784 PyObject * obj1 = 0 ;
8785 PyObject * obj2 = 0 ;
8786 char * kwnames[] = {
8787 (char *) "self",(char *) "text",(char *) "number", NULL
8788 };
8789
8790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8792 if (!SWIG_IsOK(res1)) {
8793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8794 }
8795 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8796 {
8797 arg2 = wxString_in_helper(obj1);
8798 if (arg2 == NULL) SWIG_fail;
8799 temp2 = true;
8800 }
8801 if (obj2) {
8802 ecode3 = SWIG_AsVal_int(obj2, &val3);
8803 if (!SWIG_IsOK(ecode3)) {
8804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8805 }
8806 arg3 = static_cast< int >(val3);
8807 }
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 resultobj = SWIG_Py_Void();
8815 {
8816 if (temp2)
8817 delete arg2;
8818 }
8819 return resultobj;
8820 fail:
8821 {
8822 if (temp2)
8823 delete arg2;
8824 }
8825 return NULL;
8826 }
8827
8828
8829 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj = 0;
8831 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8832 int arg2 = (int) 0 ;
8833 void *argp1 = 0 ;
8834 int res1 = 0 ;
8835 int val2 ;
8836 int ecode2 = 0 ;
8837 PyObject * obj0 = 0 ;
8838 PyObject * obj1 = 0 ;
8839 char * kwnames[] = {
8840 (char *) "self",(char *) "number", NULL
8841 };
8842
8843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8845 if (!SWIG_IsOK(res1)) {
8846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8847 }
8848 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8849 if (obj1) {
8850 ecode2 = SWIG_AsVal_int(obj1, &val2);
8851 if (!SWIG_IsOK(ecode2)) {
8852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8853 }
8854 arg2 = static_cast< int >(val2);
8855 }
8856 {
8857 PyThreadState* __tstate = wxPyBeginAllowThreads();
8858 (arg1)->PopStatusText(arg2);
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 resultobj = SWIG_Py_Void();
8863 return resultobj;
8864 fail:
8865 return NULL;
8866 }
8867
8868
8869 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj = 0;
8871 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8872 int arg2 ;
8873 int *arg3 = (int *) 0 ;
8874 void *argp1 = 0 ;
8875 int res1 = 0 ;
8876 PyObject * obj0 = 0 ;
8877 PyObject * obj1 = 0 ;
8878 char * kwnames[] = {
8879 (char *) "self",(char *) "widths", NULL
8880 };
8881
8882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8884 if (!SWIG_IsOK(res1)) {
8885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8886 }
8887 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8888 {
8889 arg2 = PyList_Size(obj1);
8890 arg3 = int_LIST_helper(obj1);
8891 if (arg3 == NULL) SWIG_fail;
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8896 wxPyEndAllowThreads(__tstate);
8897 if (PyErr_Occurred()) SWIG_fail;
8898 }
8899 resultobj = SWIG_Py_Void();
8900 {
8901 if (arg3) delete [] arg3;
8902 }
8903 return resultobj;
8904 fail:
8905 {
8906 if (arg3) delete [] arg3;
8907 }
8908 return NULL;
8909 }
8910
8911
8912 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8913 PyObject *resultobj = 0;
8914 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8915 int arg2 ;
8916 int *arg3 = (int *) 0 ;
8917 void *argp1 = 0 ;
8918 int res1 = 0 ;
8919 PyObject * obj0 = 0 ;
8920 PyObject * obj1 = 0 ;
8921 char * kwnames[] = {
8922 (char *) "self",(char *) "styles", NULL
8923 };
8924
8925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8927 if (!SWIG_IsOK(res1)) {
8928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8929 }
8930 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8931 {
8932 arg2 = PyList_Size(obj1);
8933 arg3 = int_LIST_helper(obj1);
8934 if (arg3 == NULL) SWIG_fail;
8935 }
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 resultobj = SWIG_Py_Void();
8943 {
8944 if (arg3) delete [] arg3;
8945 }
8946 return resultobj;
8947 fail:
8948 {
8949 if (arg3) delete [] arg3;
8950 }
8951 return NULL;
8952 }
8953
8954
8955 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8956 PyObject *resultobj = 0;
8957 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8958 int arg2 ;
8959 wxRect result;
8960 void *argp1 = 0 ;
8961 int res1 = 0 ;
8962 int val2 ;
8963 int ecode2 = 0 ;
8964 PyObject * obj0 = 0 ;
8965 PyObject * obj1 = 0 ;
8966 char * kwnames[] = {
8967 (char *) "self",(char *) "i", NULL
8968 };
8969
8970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
8971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8972 if (!SWIG_IsOK(res1)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8974 }
8975 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8976 ecode2 = SWIG_AsVal_int(obj1, &val2);
8977 if (!SWIG_IsOK(ecode2)) {
8978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8979 }
8980 arg2 = static_cast< int >(val2);
8981 {
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = wxStatusBar_GetFieldRect(arg1,arg2);
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8988 return resultobj;
8989 fail:
8990 return NULL;
8991 }
8992
8993
8994 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj = 0;
8996 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8997 int arg2 ;
8998 void *argp1 = 0 ;
8999 int res1 = 0 ;
9000 int val2 ;
9001 int ecode2 = 0 ;
9002 PyObject * obj0 = 0 ;
9003 PyObject * obj1 = 0 ;
9004 char * kwnames[] = {
9005 (char *) "self",(char *) "height", NULL
9006 };
9007
9008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9010 if (!SWIG_IsOK(res1)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9012 }
9013 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9014 ecode2 = SWIG_AsVal_int(obj1, &val2);
9015 if (!SWIG_IsOK(ecode2)) {
9016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9017 }
9018 arg2 = static_cast< int >(val2);
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 (arg1)->SetMinHeight(arg2);
9022 wxPyEndAllowThreads(__tstate);
9023 if (PyErr_Occurred()) SWIG_fail;
9024 }
9025 resultobj = SWIG_Py_Void();
9026 return resultobj;
9027 fail:
9028 return NULL;
9029 }
9030
9031
9032 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9033 PyObject *resultobj = 0;
9034 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9035 int result;
9036 void *argp1 = 0 ;
9037 int res1 = 0 ;
9038 PyObject *swig_obj[1] ;
9039
9040 if (!args) SWIG_fail;
9041 swig_obj[0] = args;
9042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9043 if (!SWIG_IsOK(res1)) {
9044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9045 }
9046 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 resultobj = SWIG_From_int(static_cast< int >(result));
9054 return resultobj;
9055 fail:
9056 return NULL;
9057 }
9058
9059
9060 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9061 PyObject *resultobj = 0;
9062 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9063 int result;
9064 void *argp1 = 0 ;
9065 int res1 = 0 ;
9066 PyObject *swig_obj[1] ;
9067
9068 if (!args) SWIG_fail;
9069 swig_obj[0] = args;
9070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9071 if (!SWIG_IsOK(res1)) {
9072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9073 }
9074 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 resultobj = SWIG_From_int(static_cast< int >(result));
9082 return resultobj;
9083 fail:
9084 return NULL;
9085 }
9086
9087
9088 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9089 PyObject *resultobj = 0;
9090 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9091 SwigValueWrapper<wxVisualAttributes > result;
9092 int val1 ;
9093 int ecode1 = 0 ;
9094 PyObject * obj0 = 0 ;
9095 char * kwnames[] = {
9096 (char *) "variant", NULL
9097 };
9098
9099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9100 if (obj0) {
9101 ecode1 = SWIG_AsVal_int(obj0, &val1);
9102 if (!SWIG_IsOK(ecode1)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9104 }
9105 arg1 = static_cast< wxWindowVariant >(val1);
9106 }
9107 {
9108 if (!wxPyCheckForApp()) SWIG_fail;
9109 PyThreadState* __tstate = wxPyBeginAllowThreads();
9110 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9115 return resultobj;
9116 fail:
9117 return NULL;
9118 }
9119
9120
9121 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9122 PyObject *obj;
9123 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9124 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9125 return SWIG_Py_Void();
9126 }
9127
9128 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9129 return SWIG_Python_InitShadowInstance(args);
9130 }
9131
9132 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9133 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9134 return 1;
9135 }
9136
9137
9138 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9139 PyObject *pyobj = 0;
9140
9141 {
9142 #if wxUSE_UNICODE
9143 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9144 #else
9145 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9146 #endif
9147 }
9148 return pyobj;
9149 }
9150
9151
9152 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj = 0;
9154 wxWindow *arg1 = (wxWindow *) 0 ;
9155 int arg2 = (int) -1 ;
9156 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9157 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9158 wxSize const &arg4_defvalue = wxDefaultSize ;
9159 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9160 long arg5 = (long) wxSP_3D ;
9161 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9162 wxString *arg6 = (wxString *) &arg6_defvalue ;
9163 wxSplitterWindow *result = 0 ;
9164 void *argp1 = 0 ;
9165 int res1 = 0 ;
9166 int val2 ;
9167 int ecode2 = 0 ;
9168 wxPoint temp3 ;
9169 wxSize temp4 ;
9170 long val5 ;
9171 int ecode5 = 0 ;
9172 bool temp6 = false ;
9173 PyObject * obj0 = 0 ;
9174 PyObject * obj1 = 0 ;
9175 PyObject * obj2 = 0 ;
9176 PyObject * obj3 = 0 ;
9177 PyObject * obj4 = 0 ;
9178 PyObject * obj5 = 0 ;
9179 char * kwnames[] = {
9180 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9181 };
9182
9183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9185 if (!SWIG_IsOK(res1)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9187 }
9188 arg1 = reinterpret_cast< wxWindow * >(argp1);
9189 if (obj1) {
9190 ecode2 = SWIG_AsVal_int(obj1, &val2);
9191 if (!SWIG_IsOK(ecode2)) {
9192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9193 }
9194 arg2 = static_cast< int >(val2);
9195 }
9196 if (obj2) {
9197 {
9198 arg3 = &temp3;
9199 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9200 }
9201 }
9202 if (obj3) {
9203 {
9204 arg4 = &temp4;
9205 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9206 }
9207 }
9208 if (obj4) {
9209 ecode5 = SWIG_AsVal_long(obj4, &val5);
9210 if (!SWIG_IsOK(ecode5)) {
9211 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9212 }
9213 arg5 = static_cast< long >(val5);
9214 }
9215 if (obj5) {
9216 {
9217 arg6 = wxString_in_helper(obj5);
9218 if (arg6 == NULL) SWIG_fail;
9219 temp6 = true;
9220 }
9221 }
9222 {
9223 if (!wxPyCheckForApp()) SWIG_fail;
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
9229 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9230 {
9231 if (temp6)
9232 delete arg6;
9233 }
9234 return resultobj;
9235 fail:
9236 {
9237 if (temp6)
9238 delete arg6;
9239 }
9240 return NULL;
9241 }
9242
9243
9244 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9245 PyObject *resultobj = 0;
9246 wxSplitterWindow *result = 0 ;
9247
9248 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9249 {
9250 if (!wxPyCheckForApp()) SWIG_fail;
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 result = (wxSplitterWindow *)new wxSplitterWindow();
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9257 return resultobj;
9258 fail:
9259 return NULL;
9260 }
9261
9262
9263 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj = 0;
9265 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9266 wxWindow *arg2 = (wxWindow *) 0 ;
9267 int arg3 = (int) -1 ;
9268 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9269 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9270 wxSize const &arg5_defvalue = wxDefaultSize ;
9271 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9272 long arg6 = (long) wxSP_3D ;
9273 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9274 wxString *arg7 = (wxString *) &arg7_defvalue ;
9275 bool result;
9276 void *argp1 = 0 ;
9277 int res1 = 0 ;
9278 void *argp2 = 0 ;
9279 int res2 = 0 ;
9280 int val3 ;
9281 int ecode3 = 0 ;
9282 wxPoint temp4 ;
9283 wxSize temp5 ;
9284 long val6 ;
9285 int ecode6 = 0 ;
9286 bool temp7 = false ;
9287 PyObject * obj0 = 0 ;
9288 PyObject * obj1 = 0 ;
9289 PyObject * obj2 = 0 ;
9290 PyObject * obj3 = 0 ;
9291 PyObject * obj4 = 0 ;
9292 PyObject * obj5 = 0 ;
9293 PyObject * obj6 = 0 ;
9294 char * kwnames[] = {
9295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9296 };
9297
9298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9300 if (!SWIG_IsOK(res1)) {
9301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9302 }
9303 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9304 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9305 if (!SWIG_IsOK(res2)) {
9306 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9307 }
9308 arg2 = reinterpret_cast< wxWindow * >(argp2);
9309 if (obj2) {
9310 ecode3 = SWIG_AsVal_int(obj2, &val3);
9311 if (!SWIG_IsOK(ecode3)) {
9312 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9313 }
9314 arg3 = static_cast< int >(val3);
9315 }
9316 if (obj3) {
9317 {
9318 arg4 = &temp4;
9319 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9320 }
9321 }
9322 if (obj4) {
9323 {
9324 arg5 = &temp5;
9325 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9326 }
9327 }
9328 if (obj5) {
9329 ecode6 = SWIG_AsVal_long(obj5, &val6);
9330 if (!SWIG_IsOK(ecode6)) {
9331 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9332 }
9333 arg6 = static_cast< long >(val6);
9334 }
9335 if (obj6) {
9336 {
9337 arg7 = wxString_in_helper(obj6);
9338 if (arg7 == NULL) SWIG_fail;
9339 temp7 = true;
9340 }
9341 }
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9345 wxPyEndAllowThreads(__tstate);
9346 if (PyErr_Occurred()) SWIG_fail;
9347 }
9348 {
9349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9350 }
9351 {
9352 if (temp7)
9353 delete arg7;
9354 }
9355 return resultobj;
9356 fail:
9357 {
9358 if (temp7)
9359 delete arg7;
9360 }
9361 return NULL;
9362 }
9363
9364
9365 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9366 PyObject *resultobj = 0;
9367 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9368 wxWindow *result = 0 ;
9369 void *argp1 = 0 ;
9370 int res1 = 0 ;
9371 PyObject *swig_obj[1] ;
9372
9373 if (!args) SWIG_fail;
9374 swig_obj[0] = args;
9375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9376 if (!SWIG_IsOK(res1)) {
9377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9378 }
9379 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9380 {
9381 PyThreadState* __tstate = wxPyBeginAllowThreads();
9382 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
9386 {
9387 resultobj = wxPyMake_wxObject(result, 0);
9388 }
9389 return resultobj;
9390 fail:
9391 return NULL;
9392 }
9393
9394
9395 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9396 PyObject *resultobj = 0;
9397 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9398 wxWindow *result = 0 ;
9399 void *argp1 = 0 ;
9400 int res1 = 0 ;
9401 PyObject *swig_obj[1] ;
9402
9403 if (!args) SWIG_fail;
9404 swig_obj[0] = args;
9405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9406 if (!SWIG_IsOK(res1)) {
9407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9408 }
9409 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9410 {
9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
9412 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
9416 {
9417 resultobj = wxPyMake_wxObject(result, 0);
9418 }
9419 return resultobj;
9420 fail:
9421 return NULL;
9422 }
9423
9424
9425 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj = 0;
9427 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9428 int arg2 ;
9429 void *argp1 = 0 ;
9430 int res1 = 0 ;
9431 int val2 ;
9432 int ecode2 = 0 ;
9433 PyObject * obj0 = 0 ;
9434 PyObject * obj1 = 0 ;
9435 char * kwnames[] = {
9436 (char *) "self",(char *) "mode", NULL
9437 };
9438
9439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9441 if (!SWIG_IsOK(res1)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9443 }
9444 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9445 ecode2 = SWIG_AsVal_int(obj1, &val2);
9446 if (!SWIG_IsOK(ecode2)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9448 }
9449 arg2 = static_cast< int >(val2);
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 (arg1)->SetSplitMode(arg2);
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 resultobj = SWIG_Py_Void();
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9464 PyObject *resultobj = 0;
9465 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9466 wxSplitMode result;
9467 void *argp1 = 0 ;
9468 int res1 = 0 ;
9469 PyObject *swig_obj[1] ;
9470
9471 if (!args) SWIG_fail;
9472 swig_obj[0] = args;
9473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9474 if (!SWIG_IsOK(res1)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9476 }
9477 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
9484 resultobj = SWIG_From_int(static_cast< int >(result));
9485 return resultobj;
9486 fail:
9487 return NULL;
9488 }
9489
9490
9491 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9492 PyObject *resultobj = 0;
9493 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9494 wxWindow *arg2 = (wxWindow *) 0 ;
9495 void *argp1 = 0 ;
9496 int res1 = 0 ;
9497 void *argp2 = 0 ;
9498 int res2 = 0 ;
9499 PyObject * obj0 = 0 ;
9500 PyObject * obj1 = 0 ;
9501 char * kwnames[] = {
9502 (char *) "self",(char *) "window", NULL
9503 };
9504
9505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9507 if (!SWIG_IsOK(res1)) {
9508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9509 }
9510 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9511 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9512 if (!SWIG_IsOK(res2)) {
9513 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9514 }
9515 arg2 = reinterpret_cast< wxWindow * >(argp2);
9516 {
9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9518 (arg1)->Initialize(arg2);
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 resultobj = SWIG_Py_Void();
9523 return resultobj;
9524 fail:
9525 return NULL;
9526 }
9527
9528
9529 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9530 PyObject *resultobj = 0;
9531 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9532 wxWindow *arg2 = (wxWindow *) 0 ;
9533 wxWindow *arg3 = (wxWindow *) 0 ;
9534 int arg4 = (int) 0 ;
9535 bool result;
9536 void *argp1 = 0 ;
9537 int res1 = 0 ;
9538 void *argp2 = 0 ;
9539 int res2 = 0 ;
9540 void *argp3 = 0 ;
9541 int res3 = 0 ;
9542 int val4 ;
9543 int ecode4 = 0 ;
9544 PyObject * obj0 = 0 ;
9545 PyObject * obj1 = 0 ;
9546 PyObject * obj2 = 0 ;
9547 PyObject * obj3 = 0 ;
9548 char * kwnames[] = {
9549 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9550 };
9551
9552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9554 if (!SWIG_IsOK(res1)) {
9555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9556 }
9557 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9558 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9559 if (!SWIG_IsOK(res2)) {
9560 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9561 }
9562 arg2 = reinterpret_cast< wxWindow * >(argp2);
9563 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9564 if (!SWIG_IsOK(res3)) {
9565 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9566 }
9567 arg3 = reinterpret_cast< wxWindow * >(argp3);
9568 if (obj3) {
9569 ecode4 = SWIG_AsVal_int(obj3, &val4);
9570 if (!SWIG_IsOK(ecode4)) {
9571 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9572 }
9573 arg4 = static_cast< int >(val4);
9574 }
9575 {
9576 PyThreadState* __tstate = wxPyBeginAllowThreads();
9577 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9578 wxPyEndAllowThreads(__tstate);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 }
9581 {
9582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9583 }
9584 return resultobj;
9585 fail:
9586 return NULL;
9587 }
9588
9589
9590 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj = 0;
9592 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9593 wxWindow *arg2 = (wxWindow *) 0 ;
9594 wxWindow *arg3 = (wxWindow *) 0 ;
9595 int arg4 = (int) 0 ;
9596 bool result;
9597 void *argp1 = 0 ;
9598 int res1 = 0 ;
9599 void *argp2 = 0 ;
9600 int res2 = 0 ;
9601 void *argp3 = 0 ;
9602 int res3 = 0 ;
9603 int val4 ;
9604 int ecode4 = 0 ;
9605 PyObject * obj0 = 0 ;
9606 PyObject * obj1 = 0 ;
9607 PyObject * obj2 = 0 ;
9608 PyObject * obj3 = 0 ;
9609 char * kwnames[] = {
9610 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9611 };
9612
9613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9615 if (!SWIG_IsOK(res1)) {
9616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9617 }
9618 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9619 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9620 if (!SWIG_IsOK(res2)) {
9621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9622 }
9623 arg2 = reinterpret_cast< wxWindow * >(argp2);
9624 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9625 if (!SWIG_IsOK(res3)) {
9626 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9627 }
9628 arg3 = reinterpret_cast< wxWindow * >(argp3);
9629 if (obj3) {
9630 ecode4 = SWIG_AsVal_int(obj3, &val4);
9631 if (!SWIG_IsOK(ecode4)) {
9632 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9633 }
9634 arg4 = static_cast< int >(val4);
9635 }
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 {
9643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9644 }
9645 return resultobj;
9646 fail:
9647 return NULL;
9648 }
9649
9650
9651 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9652 PyObject *resultobj = 0;
9653 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9654 wxWindow *arg2 = (wxWindow *) NULL ;
9655 bool result;
9656 void *argp1 = 0 ;
9657 int res1 = 0 ;
9658 void *argp2 = 0 ;
9659 int res2 = 0 ;
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
9662 char * kwnames[] = {
9663 (char *) "self",(char *) "toRemove", NULL
9664 };
9665
9666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9668 if (!SWIG_IsOK(res1)) {
9669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9670 }
9671 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9672 if (obj1) {
9673 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9674 if (!SWIG_IsOK(res2)) {
9675 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9676 }
9677 arg2 = reinterpret_cast< wxWindow * >(argp2);
9678 }
9679 {
9680 PyThreadState* __tstate = wxPyBeginAllowThreads();
9681 result = (bool)(arg1)->Unsplit(arg2);
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 {
9686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9687 }
9688 return resultobj;
9689 fail:
9690 return NULL;
9691 }
9692
9693
9694 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj = 0;
9696 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9697 wxWindow *arg2 = (wxWindow *) 0 ;
9698 wxWindow *arg3 = (wxWindow *) 0 ;
9699 bool result;
9700 void *argp1 = 0 ;
9701 int res1 = 0 ;
9702 void *argp2 = 0 ;
9703 int res2 = 0 ;
9704 void *argp3 = 0 ;
9705 int res3 = 0 ;
9706 PyObject * obj0 = 0 ;
9707 PyObject * obj1 = 0 ;
9708 PyObject * obj2 = 0 ;
9709 char * kwnames[] = {
9710 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9711 };
9712
9713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9715 if (!SWIG_IsOK(res1)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9717 }
9718 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9719 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9720 if (!SWIG_IsOK(res2)) {
9721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9722 }
9723 arg2 = reinterpret_cast< wxWindow * >(argp2);
9724 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9725 if (!SWIG_IsOK(res3)) {
9726 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9727 }
9728 arg3 = reinterpret_cast< wxWindow * >(argp3);
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 {
9736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9737 }
9738 return resultobj;
9739 fail:
9740 return NULL;
9741 }
9742
9743
9744 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9745 PyObject *resultobj = 0;
9746 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9747 void *argp1 = 0 ;
9748 int res1 = 0 ;
9749 PyObject *swig_obj[1] ;
9750
9751 if (!args) SWIG_fail;
9752 swig_obj[0] = args;
9753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9754 if (!SWIG_IsOK(res1)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9756 }
9757 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9758 {
9759 PyThreadState* __tstate = wxPyBeginAllowThreads();
9760 (arg1)->UpdateSize();
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 }
9764 resultobj = SWIG_Py_Void();
9765 return resultobj;
9766 fail:
9767 return NULL;
9768 }
9769
9770
9771 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9772 PyObject *resultobj = 0;
9773 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9774 bool result;
9775 void *argp1 = 0 ;
9776 int res1 = 0 ;
9777 PyObject *swig_obj[1] ;
9778
9779 if (!args) SWIG_fail;
9780 swig_obj[0] = args;
9781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9782 if (!SWIG_IsOK(res1)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9784 }
9785 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9786 {
9787 PyThreadState* __tstate = wxPyBeginAllowThreads();
9788 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9789 wxPyEndAllowThreads(__tstate);
9790 if (PyErr_Occurred()) SWIG_fail;
9791 }
9792 {
9793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9794 }
9795 return resultobj;
9796 fail:
9797 return NULL;
9798 }
9799
9800
9801 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9802 PyObject *resultobj = 0;
9803 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9804 int arg2 ;
9805 void *argp1 = 0 ;
9806 int res1 = 0 ;
9807 int val2 ;
9808 int ecode2 = 0 ;
9809 PyObject * obj0 = 0 ;
9810 PyObject * obj1 = 0 ;
9811 char * kwnames[] = {
9812 (char *) "self",(char *) "width", NULL
9813 };
9814
9815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9817 if (!SWIG_IsOK(res1)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9819 }
9820 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9821 ecode2 = SWIG_AsVal_int(obj1, &val2);
9822 if (!SWIG_IsOK(ecode2)) {
9823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9824 }
9825 arg2 = static_cast< int >(val2);
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 (arg1)->SetSashSize(arg2);
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = SWIG_Py_Void();
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj = 0;
9841 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9842 int arg2 ;
9843 void *argp1 = 0 ;
9844 int res1 = 0 ;
9845 int val2 ;
9846 int ecode2 = 0 ;
9847 PyObject * obj0 = 0 ;
9848 PyObject * obj1 = 0 ;
9849 char * kwnames[] = {
9850 (char *) "self",(char *) "width", NULL
9851 };
9852
9853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9855 if (!SWIG_IsOK(res1)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9857 }
9858 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9859 ecode2 = SWIG_AsVal_int(obj1, &val2);
9860 if (!SWIG_IsOK(ecode2)) {
9861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9862 }
9863 arg2 = static_cast< int >(val2);
9864 {
9865 PyThreadState* __tstate = wxPyBeginAllowThreads();
9866 (arg1)->SetBorderSize(arg2);
9867 wxPyEndAllowThreads(__tstate);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 }
9870 resultobj = SWIG_Py_Void();
9871 return resultobj;
9872 fail:
9873 return NULL;
9874 }
9875
9876
9877 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9878 PyObject *resultobj = 0;
9879 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9880 int result;
9881 void *argp1 = 0 ;
9882 int res1 = 0 ;
9883 PyObject *swig_obj[1] ;
9884
9885 if (!args) SWIG_fail;
9886 swig_obj[0] = args;
9887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9888 if (!SWIG_IsOK(res1)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9890 }
9891 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9892 {
9893 PyThreadState* __tstate = wxPyBeginAllowThreads();
9894 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9895 wxPyEndAllowThreads(__tstate);
9896 if (PyErr_Occurred()) SWIG_fail;
9897 }
9898 resultobj = SWIG_From_int(static_cast< int >(result));
9899 return resultobj;
9900 fail:
9901 return NULL;
9902 }
9903
9904
9905 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9906 PyObject *resultobj = 0;
9907 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9908 int result;
9909 void *argp1 = 0 ;
9910 int res1 = 0 ;
9911 PyObject *swig_obj[1] ;
9912
9913 if (!args) SWIG_fail;
9914 swig_obj[0] = args;
9915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9916 if (!SWIG_IsOK(res1)) {
9917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9918 }
9919 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
9926 resultobj = SWIG_From_int(static_cast< int >(result));
9927 return resultobj;
9928 fail:
9929 return NULL;
9930 }
9931
9932
9933 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj = 0;
9935 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9936 int arg2 ;
9937 bool arg3 = (bool) true ;
9938 void *argp1 = 0 ;
9939 int res1 = 0 ;
9940 int val2 ;
9941 int ecode2 = 0 ;
9942 bool val3 ;
9943 int ecode3 = 0 ;
9944 PyObject * obj0 = 0 ;
9945 PyObject * obj1 = 0 ;
9946 PyObject * obj2 = 0 ;
9947 char * kwnames[] = {
9948 (char *) "self",(char *) "position",(char *) "redraw", NULL
9949 };
9950
9951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9953 if (!SWIG_IsOK(res1)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9955 }
9956 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9957 ecode2 = SWIG_AsVal_int(obj1, &val2);
9958 if (!SWIG_IsOK(ecode2)) {
9959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9960 }
9961 arg2 = static_cast< int >(val2);
9962 if (obj2) {
9963 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9964 if (!SWIG_IsOK(ecode3)) {
9965 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9966 }
9967 arg3 = static_cast< bool >(val3);
9968 }
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 (arg1)->SetSashPosition(arg2,arg3);
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 resultobj = SWIG_Py_Void();
9976 return resultobj;
9977 fail:
9978 return NULL;
9979 }
9980
9981
9982 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9983 PyObject *resultobj = 0;
9984 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9985 int result;
9986 void *argp1 = 0 ;
9987 int res1 = 0 ;
9988 PyObject *swig_obj[1] ;
9989
9990 if (!args) SWIG_fail;
9991 swig_obj[0] = args;
9992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9993 if (!SWIG_IsOK(res1)) {
9994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9995 }
9996 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10000 wxPyEndAllowThreads(__tstate);
10001 if (PyErr_Occurred()) SWIG_fail;
10002 }
10003 resultobj = SWIG_From_int(static_cast< int >(result));
10004 return resultobj;
10005 fail:
10006 return NULL;
10007 }
10008
10009
10010 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10011 PyObject *resultobj = 0;
10012 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10013 double arg2 ;
10014 void *argp1 = 0 ;
10015 int res1 = 0 ;
10016 double val2 ;
10017 int ecode2 = 0 ;
10018 PyObject * obj0 = 0 ;
10019 PyObject * obj1 = 0 ;
10020 char * kwnames[] = {
10021 (char *) "self",(char *) "gravity", NULL
10022 };
10023
10024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",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_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10028 }
10029 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10030 ecode2 = SWIG_AsVal_double(obj1, &val2);
10031 if (!SWIG_IsOK(ecode2)) {
10032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10033 }
10034 arg2 = static_cast< double >(val2);
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 (arg1)->SetSashGravity(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_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10049 PyObject *resultobj = 0;
10050 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10051 double result;
10052 void *argp1 = 0 ;
10053 int res1 = 0 ;
10054 PyObject *swig_obj[1] ;
10055
10056 if (!args) SWIG_fail;
10057 swig_obj[0] = args;
10058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10059 if (!SWIG_IsOK(res1)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10061 }
10062 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10063 {
10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
10065 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 }
10069 resultobj = SWIG_From_double(static_cast< double >(result));
10070 return resultobj;
10071 fail:
10072 return NULL;
10073 }
10074
10075
10076 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj = 0;
10078 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10079 int arg2 ;
10080 void *argp1 = 0 ;
10081 int res1 = 0 ;
10082 int val2 ;
10083 int ecode2 = 0 ;
10084 PyObject * obj0 = 0 ;
10085 PyObject * obj1 = 0 ;
10086 char * kwnames[] = {
10087 (char *) "self",(char *) "min", NULL
10088 };
10089
10090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10092 if (!SWIG_IsOK(res1)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10094 }
10095 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10096 ecode2 = SWIG_AsVal_int(obj1, &val2);
10097 if (!SWIG_IsOK(ecode2)) {
10098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10099 }
10100 arg2 = static_cast< int >(val2);
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 (arg1)->SetMinimumPaneSize(arg2);
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = SWIG_Py_Void();
10108 return resultobj;
10109 fail:
10110 return NULL;
10111 }
10112
10113
10114 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(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_GetMinimumPaneSize" "', 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)->GetMinimumPaneSize();
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_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10143 PyObject *resultobj = 0;
10144 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10145 int arg2 ;
10146 int arg3 ;
10147 int arg4 = (int) 5 ;
10148 bool result;
10149 void *argp1 = 0 ;
10150 int res1 = 0 ;
10151 int val2 ;
10152 int ecode2 = 0 ;
10153 int val3 ;
10154 int ecode3 = 0 ;
10155 int val4 ;
10156 int ecode4 = 0 ;
10157 PyObject * obj0 = 0 ;
10158 PyObject * obj1 = 0 ;
10159 PyObject * obj2 = 0 ;
10160 PyObject * obj3 = 0 ;
10161 char * kwnames[] = {
10162 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10163 };
10164
10165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10167 if (!SWIG_IsOK(res1)) {
10168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10169 }
10170 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10171 ecode2 = SWIG_AsVal_int(obj1, &val2);
10172 if (!SWIG_IsOK(ecode2)) {
10173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10174 }
10175 arg2 = static_cast< int >(val2);
10176 ecode3 = SWIG_AsVal_int(obj2, &val3);
10177 if (!SWIG_IsOK(ecode3)) {
10178 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10179 }
10180 arg3 = static_cast< int >(val3);
10181 if (obj3) {
10182 ecode4 = SWIG_AsVal_int(obj3, &val4);
10183 if (!SWIG_IsOK(ecode4)) {
10184 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10185 }
10186 arg4 = static_cast< int >(val4);
10187 }
10188 {
10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
10190 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10191 wxPyEndAllowThreads(__tstate);
10192 if (PyErr_Occurred()) SWIG_fail;
10193 }
10194 {
10195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10196 }
10197 return resultobj;
10198 fail:
10199 return NULL;
10200 }
10201
10202
10203 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10204 PyObject *resultobj = 0;
10205 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10206 void *argp1 = 0 ;
10207 int res1 = 0 ;
10208 PyObject *swig_obj[1] ;
10209
10210 if (!args) SWIG_fail;
10211 swig_obj[0] = args;
10212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10213 if (!SWIG_IsOK(res1)) {
10214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10215 }
10216 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 (arg1)->SizeWindows();
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 resultobj = SWIG_Py_Void();
10224 return resultobj;
10225 fail:
10226 return NULL;
10227 }
10228
10229
10230 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10231 PyObject *resultobj = 0;
10232 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10233 bool arg2 ;
10234 void *argp1 = 0 ;
10235 int res1 = 0 ;
10236 bool val2 ;
10237 int ecode2 = 0 ;
10238 PyObject * obj0 = 0 ;
10239 PyObject * obj1 = 0 ;
10240 char * kwnames[] = {
10241 (char *) "self",(char *) "needUpdating", NULL
10242 };
10243
10244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10246 if (!SWIG_IsOK(res1)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10248 }
10249 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10250 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10251 if (!SWIG_IsOK(ecode2)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10253 }
10254 arg2 = static_cast< bool >(val2);
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 (arg1)->SetNeedUpdating(arg2);
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 resultobj = SWIG_Py_Void();
10262 return resultobj;
10263 fail:
10264 return NULL;
10265 }
10266
10267
10268 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10269 PyObject *resultobj = 0;
10270 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10271 bool result;
10272 void *argp1 = 0 ;
10273 int res1 = 0 ;
10274 PyObject *swig_obj[1] ;
10275
10276 if (!args) SWIG_fail;
10277 swig_obj[0] = args;
10278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10279 if (!SWIG_IsOK(res1)) {
10280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10281 }
10282 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10283 {
10284 PyThreadState* __tstate = wxPyBeginAllowThreads();
10285 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 {
10290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10291 }
10292 return resultobj;
10293 fail:
10294 return NULL;
10295 }
10296
10297
10298 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10299 PyObject *resultobj = 0;
10300 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10301 SwigValueWrapper<wxVisualAttributes > result;
10302 int val1 ;
10303 int ecode1 = 0 ;
10304 PyObject * obj0 = 0 ;
10305 char * kwnames[] = {
10306 (char *) "variant", NULL
10307 };
10308
10309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10310 if (obj0) {
10311 ecode1 = SWIG_AsVal_int(obj0, &val1);
10312 if (!SWIG_IsOK(ecode1)) {
10313 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10314 }
10315 arg1 = static_cast< wxWindowVariant >(val1);
10316 }
10317 {
10318 if (!wxPyCheckForApp()) SWIG_fail;
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10325 return resultobj;
10326 fail:
10327 return NULL;
10328 }
10329
10330
10331 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10332 PyObject *obj;
10333 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10334 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10335 return SWIG_Py_Void();
10336 }
10337
10338 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10339 return SWIG_Python_InitShadowInstance(args);
10340 }
10341
10342 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10343 PyObject *resultobj = 0;
10344 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10345 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10346 wxSplitterEvent *result = 0 ;
10347 int val1 ;
10348 int ecode1 = 0 ;
10349 void *argp2 = 0 ;
10350 int res2 = 0 ;
10351 PyObject * obj0 = 0 ;
10352 PyObject * obj1 = 0 ;
10353 char * kwnames[] = {
10354 (char *) "type",(char *) "splitter", NULL
10355 };
10356
10357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10358 if (obj0) {
10359 ecode1 = SWIG_AsVal_int(obj0, &val1);
10360 if (!SWIG_IsOK(ecode1)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10362 }
10363 arg1 = static_cast< wxEventType >(val1);
10364 }
10365 if (obj1) {
10366 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10367 if (!SWIG_IsOK(res2)) {
10368 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10369 }
10370 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10371 }
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10379 return resultobj;
10380 fail:
10381 return NULL;
10382 }
10383
10384
10385 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10386 PyObject *resultobj = 0;
10387 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10388 int arg2 ;
10389 void *argp1 = 0 ;
10390 int res1 = 0 ;
10391 int val2 ;
10392 int ecode2 = 0 ;
10393 PyObject * obj0 = 0 ;
10394 PyObject * obj1 = 0 ;
10395 char * kwnames[] = {
10396 (char *) "self",(char *) "pos", NULL
10397 };
10398
10399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10401 if (!SWIG_IsOK(res1)) {
10402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10403 }
10404 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10405 ecode2 = SWIG_AsVal_int(obj1, &val2);
10406 if (!SWIG_IsOK(ecode2)) {
10407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10408 }
10409 arg2 = static_cast< int >(val2);
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 (arg1)->SetSashPosition(arg2);
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = SWIG_Py_Void();
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10424 PyObject *resultobj = 0;
10425 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10426 int result;
10427 void *argp1 = 0 ;
10428 int res1 = 0 ;
10429 PyObject *swig_obj[1] ;
10430
10431 if (!args) SWIG_fail;
10432 swig_obj[0] = args;
10433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10434 if (!SWIG_IsOK(res1)) {
10435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10436 }
10437 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 resultobj = SWIG_From_int(static_cast< int >(result));
10445 return resultobj;
10446 fail:
10447 return NULL;
10448 }
10449
10450
10451 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10452 PyObject *resultobj = 0;
10453 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10454 wxWindow *result = 0 ;
10455 void *argp1 = 0 ;
10456 int res1 = 0 ;
10457 PyObject *swig_obj[1] ;
10458
10459 if (!args) SWIG_fail;
10460 swig_obj[0] = args;
10461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10462 if (!SWIG_IsOK(res1)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10464 }
10465 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
10468 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 {
10473 resultobj = wxPyMake_wxObject(result, 0);
10474 }
10475 return resultobj;
10476 fail:
10477 return NULL;
10478 }
10479
10480
10481 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10482 PyObject *resultobj = 0;
10483 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10484 int result;
10485 void *argp1 = 0 ;
10486 int res1 = 0 ;
10487 PyObject *swig_obj[1] ;
10488
10489 if (!args) SWIG_fail;
10490 swig_obj[0] = args;
10491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10492 if (!SWIG_IsOK(res1)) {
10493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10494 }
10495 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 resultobj = SWIG_From_int(static_cast< int >(result));
10503 return resultobj;
10504 fail:
10505 return NULL;
10506 }
10507
10508
10509 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10510 PyObject *resultobj = 0;
10511 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10512 int result;
10513 void *argp1 = 0 ;
10514 int res1 = 0 ;
10515 PyObject *swig_obj[1] ;
10516
10517 if (!args) SWIG_fail;
10518 swig_obj[0] = args;
10519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10520 if (!SWIG_IsOK(res1)) {
10521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10522 }
10523 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 resultobj = SWIG_From_int(static_cast< int >(result));
10531 return resultobj;
10532 fail:
10533 return NULL;
10534 }
10535
10536
10537 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10538 PyObject *obj;
10539 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10540 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10541 return SWIG_Py_Void();
10542 }
10543
10544 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10545 return SWIG_Python_InitShadowInstance(args);
10546 }
10547
10548 SWIGINTERN int SashNameStr_set(PyObject *) {
10549 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10550 return 1;
10551 }
10552
10553
10554 SWIGINTERN PyObject *SashNameStr_get(void) {
10555 PyObject *pyobj = 0;
10556
10557 {
10558 #if wxUSE_UNICODE
10559 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10560 #else
10561 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10562 #endif
10563 }
10564 return pyobj;
10565 }
10566
10567
10568 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10569 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10570 return 1;
10571 }
10572
10573
10574 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10575 PyObject *pyobj = 0;
10576
10577 {
10578 #if wxUSE_UNICODE
10579 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10580 #else
10581 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10582 #endif
10583 }
10584 return pyobj;
10585 }
10586
10587
10588 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10589 PyObject *resultobj = 0;
10590 wxWindow *arg1 = (wxWindow *) 0 ;
10591 int arg2 = (int) -1 ;
10592 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10593 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10594 wxSize const &arg4_defvalue = wxDefaultSize ;
10595 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10596 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10597 wxString const &arg6_defvalue = wxPySashNameStr ;
10598 wxString *arg6 = (wxString *) &arg6_defvalue ;
10599 wxSashWindow *result = 0 ;
10600 void *argp1 = 0 ;
10601 int res1 = 0 ;
10602 int val2 ;
10603 int ecode2 = 0 ;
10604 wxPoint temp3 ;
10605 wxSize temp4 ;
10606 long val5 ;
10607 int ecode5 = 0 ;
10608 bool temp6 = false ;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 PyObject * obj2 = 0 ;
10612 PyObject * obj3 = 0 ;
10613 PyObject * obj4 = 0 ;
10614 PyObject * obj5 = 0 ;
10615 char * kwnames[] = {
10616 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10617 };
10618
10619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10621 if (!SWIG_IsOK(res1)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10623 }
10624 arg1 = reinterpret_cast< wxWindow * >(argp1);
10625 if (obj1) {
10626 ecode2 = SWIG_AsVal_int(obj1, &val2);
10627 if (!SWIG_IsOK(ecode2)) {
10628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10629 }
10630 arg2 = static_cast< int >(val2);
10631 }
10632 if (obj2) {
10633 {
10634 arg3 = &temp3;
10635 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10636 }
10637 }
10638 if (obj3) {
10639 {
10640 arg4 = &temp4;
10641 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10642 }
10643 }
10644 if (obj4) {
10645 ecode5 = SWIG_AsVal_long(obj4, &val5);
10646 if (!SWIG_IsOK(ecode5)) {
10647 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10648 }
10649 arg5 = static_cast< long >(val5);
10650 }
10651 if (obj5) {
10652 {
10653 arg6 = wxString_in_helper(obj5);
10654 if (arg6 == NULL) SWIG_fail;
10655 temp6 = true;
10656 }
10657 }
10658 {
10659 if (!wxPyCheckForApp()) SWIG_fail;
10660 PyThreadState* __tstate = wxPyBeginAllowThreads();
10661 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10662 wxPyEndAllowThreads(__tstate);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10666 {
10667 if (temp6)
10668 delete arg6;
10669 }
10670 return resultobj;
10671 fail:
10672 {
10673 if (temp6)
10674 delete arg6;
10675 }
10676 return NULL;
10677 }
10678
10679
10680 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10681 PyObject *resultobj = 0;
10682 wxSashWindow *result = 0 ;
10683
10684 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10685 {
10686 if (!wxPyCheckForApp()) SWIG_fail;
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 result = (wxSashWindow *)new wxSashWindow();
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10693 return resultobj;
10694 fail:
10695 return NULL;
10696 }
10697
10698
10699 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10700 PyObject *resultobj = 0;
10701 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10702 wxWindow *arg2 = (wxWindow *) 0 ;
10703 int arg3 = (int) -1 ;
10704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10706 wxSize const &arg5_defvalue = wxDefaultSize ;
10707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10708 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10709 wxString const &arg7_defvalue = wxPySashNameStr ;
10710 wxString *arg7 = (wxString *) &arg7_defvalue ;
10711 bool result;
10712 void *argp1 = 0 ;
10713 int res1 = 0 ;
10714 void *argp2 = 0 ;
10715 int res2 = 0 ;
10716 int val3 ;
10717 int ecode3 = 0 ;
10718 wxPoint temp4 ;
10719 wxSize temp5 ;
10720 long val6 ;
10721 int ecode6 = 0 ;
10722 bool temp7 = false ;
10723 PyObject * obj0 = 0 ;
10724 PyObject * obj1 = 0 ;
10725 PyObject * obj2 = 0 ;
10726 PyObject * obj3 = 0 ;
10727 PyObject * obj4 = 0 ;
10728 PyObject * obj5 = 0 ;
10729 PyObject * obj6 = 0 ;
10730 char * kwnames[] = {
10731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10732 };
10733
10734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10736 if (!SWIG_IsOK(res1)) {
10737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10738 }
10739 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10740 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10741 if (!SWIG_IsOK(res2)) {
10742 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10743 }
10744 arg2 = reinterpret_cast< wxWindow * >(argp2);
10745 if (obj2) {
10746 ecode3 = SWIG_AsVal_int(obj2, &val3);
10747 if (!SWIG_IsOK(ecode3)) {
10748 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10749 }
10750 arg3 = static_cast< int >(val3);
10751 }
10752 if (obj3) {
10753 {
10754 arg4 = &temp4;
10755 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10756 }
10757 }
10758 if (obj4) {
10759 {
10760 arg5 = &temp5;
10761 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10762 }
10763 }
10764 if (obj5) {
10765 ecode6 = SWIG_AsVal_long(obj5, &val6);
10766 if (!SWIG_IsOK(ecode6)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10768 }
10769 arg6 = static_cast< long >(val6);
10770 }
10771 if (obj6) {
10772 {
10773 arg7 = wxString_in_helper(obj6);
10774 if (arg7 == NULL) SWIG_fail;
10775 temp7 = true;
10776 }
10777 }
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 {
10785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10786 }
10787 {
10788 if (temp7)
10789 delete arg7;
10790 }
10791 return resultobj;
10792 fail:
10793 {
10794 if (temp7)
10795 delete arg7;
10796 }
10797 return NULL;
10798 }
10799
10800
10801 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj = 0;
10803 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10804 wxSashEdgePosition arg2 ;
10805 bool arg3 ;
10806 void *argp1 = 0 ;
10807 int res1 = 0 ;
10808 int val2 ;
10809 int ecode2 = 0 ;
10810 bool val3 ;
10811 int ecode3 = 0 ;
10812 PyObject * obj0 = 0 ;
10813 PyObject * obj1 = 0 ;
10814 PyObject * obj2 = 0 ;
10815 char * kwnames[] = {
10816 (char *) "self",(char *) "edge",(char *) "sash", NULL
10817 };
10818
10819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10821 if (!SWIG_IsOK(res1)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10823 }
10824 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10825 ecode2 = SWIG_AsVal_int(obj1, &val2);
10826 if (!SWIG_IsOK(ecode2)) {
10827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10828 }
10829 arg2 = static_cast< wxSashEdgePosition >(val2);
10830 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10831 if (!SWIG_IsOK(ecode3)) {
10832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10833 }
10834 arg3 = static_cast< bool >(val3);
10835 {
10836 PyThreadState* __tstate = wxPyBeginAllowThreads();
10837 (arg1)->SetSashVisible(arg2,arg3);
10838 wxPyEndAllowThreads(__tstate);
10839 if (PyErr_Occurred()) SWIG_fail;
10840 }
10841 resultobj = SWIG_Py_Void();
10842 return resultobj;
10843 fail:
10844 return NULL;
10845 }
10846
10847
10848 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10849 PyObject *resultobj = 0;
10850 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10851 wxSashEdgePosition arg2 ;
10852 bool result;
10853 void *argp1 = 0 ;
10854 int res1 = 0 ;
10855 int val2 ;
10856 int ecode2 = 0 ;
10857 PyObject * obj0 = 0 ;
10858 PyObject * obj1 = 0 ;
10859 char * kwnames[] = {
10860 (char *) "self",(char *) "edge", NULL
10861 };
10862
10863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10865 if (!SWIG_IsOK(res1)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10867 }
10868 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10869 ecode2 = SWIG_AsVal_int(obj1, &val2);
10870 if (!SWIG_IsOK(ecode2)) {
10871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10872 }
10873 arg2 = static_cast< wxSashEdgePosition >(val2);
10874 {
10875 PyThreadState* __tstate = wxPyBeginAllowThreads();
10876 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 {
10881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10882 }
10883 return resultobj;
10884 fail:
10885 return NULL;
10886 }
10887
10888
10889 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10890 PyObject *resultobj = 0;
10891 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10892 wxSashEdgePosition arg2 ;
10893 bool arg3 ;
10894 void *argp1 = 0 ;
10895 int res1 = 0 ;
10896 int val2 ;
10897 int ecode2 = 0 ;
10898 bool val3 ;
10899 int ecode3 = 0 ;
10900 PyObject * obj0 = 0 ;
10901 PyObject * obj1 = 0 ;
10902 PyObject * obj2 = 0 ;
10903 char * kwnames[] = {
10904 (char *) "self",(char *) "edge",(char *) "border", NULL
10905 };
10906
10907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10909 if (!SWIG_IsOK(res1)) {
10910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10911 }
10912 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10913 ecode2 = SWIG_AsVal_int(obj1, &val2);
10914 if (!SWIG_IsOK(ecode2)) {
10915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10916 }
10917 arg2 = static_cast< wxSashEdgePosition >(val2);
10918 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10919 if (!SWIG_IsOK(ecode3)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10921 }
10922 arg3 = static_cast< bool >(val3);
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 (arg1)->SetSashBorder(arg2,arg3);
10926 wxPyEndAllowThreads(__tstate);
10927 if (PyErr_Occurred()) SWIG_fail;
10928 }
10929 resultobj = SWIG_Py_Void();
10930 return resultobj;
10931 fail:
10932 return NULL;
10933 }
10934
10935
10936 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10937 PyObject *resultobj = 0;
10938 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10939 wxSashEdgePosition arg2 ;
10940 bool result;
10941 void *argp1 = 0 ;
10942 int res1 = 0 ;
10943 int val2 ;
10944 int ecode2 = 0 ;
10945 PyObject * obj0 = 0 ;
10946 PyObject * obj1 = 0 ;
10947 char * kwnames[] = {
10948 (char *) "self",(char *) "edge", NULL
10949 };
10950
10951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
10952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10953 if (!SWIG_IsOK(res1)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10955 }
10956 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10957 ecode2 = SWIG_AsVal_int(obj1, &val2);
10958 if (!SWIG_IsOK(ecode2)) {
10959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10960 }
10961 arg2 = static_cast< wxSashEdgePosition >(val2);
10962 {
10963 PyThreadState* __tstate = wxPyBeginAllowThreads();
10964 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 {
10969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10970 }
10971 return resultobj;
10972 fail:
10973 return NULL;
10974 }
10975
10976
10977 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10978 PyObject *resultobj = 0;
10979 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10980 wxSashEdgePosition arg2 ;
10981 int result;
10982 void *argp1 = 0 ;
10983 int res1 = 0 ;
10984 int val2 ;
10985 int ecode2 = 0 ;
10986 PyObject * obj0 = 0 ;
10987 PyObject * obj1 = 0 ;
10988 char * kwnames[] = {
10989 (char *) "self",(char *) "edge", NULL
10990 };
10991
10992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
10993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10994 if (!SWIG_IsOK(res1)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10996 }
10997 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10998 ecode2 = SWIG_AsVal_int(obj1, &val2);
10999 if (!SWIG_IsOK(ecode2)) {
11000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11001 }
11002 arg2 = static_cast< wxSashEdgePosition >(val2);
11003 {
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 resultobj = SWIG_From_int(static_cast< int >(result));
11010 return resultobj;
11011 fail:
11012 return NULL;
11013 }
11014
11015
11016 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11017 PyObject *resultobj = 0;
11018 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11019 int arg2 ;
11020 void *argp1 = 0 ;
11021 int res1 = 0 ;
11022 int val2 ;
11023 int ecode2 = 0 ;
11024 PyObject * obj0 = 0 ;
11025 PyObject * obj1 = 0 ;
11026 char * kwnames[] = {
11027 (char *) "self",(char *) "width", NULL
11028 };
11029
11030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11032 if (!SWIG_IsOK(res1)) {
11033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11034 }
11035 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11036 ecode2 = SWIG_AsVal_int(obj1, &val2);
11037 if (!SWIG_IsOK(ecode2)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11039 }
11040 arg2 = static_cast< int >(val2);
11041 {
11042 PyThreadState* __tstate = wxPyBeginAllowThreads();
11043 (arg1)->SetDefaultBorderSize(arg2);
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 resultobj = SWIG_Py_Void();
11048 return resultobj;
11049 fail:
11050 return NULL;
11051 }
11052
11053
11054 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11055 PyObject *resultobj = 0;
11056 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11057 int result;
11058 void *argp1 = 0 ;
11059 int res1 = 0 ;
11060 PyObject *swig_obj[1] ;
11061
11062 if (!args) SWIG_fail;
11063 swig_obj[0] = args;
11064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11065 if (!SWIG_IsOK(res1)) {
11066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11067 }
11068 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11069 {
11070 PyThreadState* __tstate = wxPyBeginAllowThreads();
11071 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 resultobj = SWIG_From_int(static_cast< int >(result));
11076 return resultobj;
11077 fail:
11078 return NULL;
11079 }
11080
11081
11082 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj = 0;
11084 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11085 int arg2 ;
11086 void *argp1 = 0 ;
11087 int res1 = 0 ;
11088 int val2 ;
11089 int ecode2 = 0 ;
11090 PyObject * obj0 = 0 ;
11091 PyObject * obj1 = 0 ;
11092 char * kwnames[] = {
11093 (char *) "self",(char *) "width", NULL
11094 };
11095
11096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11098 if (!SWIG_IsOK(res1)) {
11099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11100 }
11101 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11102 ecode2 = SWIG_AsVal_int(obj1, &val2);
11103 if (!SWIG_IsOK(ecode2)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11105 }
11106 arg2 = static_cast< int >(val2);
11107 {
11108 PyThreadState* __tstate = wxPyBeginAllowThreads();
11109 (arg1)->SetExtraBorderSize(arg2);
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 resultobj = SWIG_Py_Void();
11114 return resultobj;
11115 fail:
11116 return NULL;
11117 }
11118
11119
11120 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11121 PyObject *resultobj = 0;
11122 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11123 int result;
11124 void *argp1 = 0 ;
11125 int res1 = 0 ;
11126 PyObject *swig_obj[1] ;
11127
11128 if (!args) SWIG_fail;
11129 swig_obj[0] = args;
11130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11131 if (!SWIG_IsOK(res1)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11133 }
11134 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
11137 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11138 wxPyEndAllowThreads(__tstate);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 resultobj = SWIG_From_int(static_cast< int >(result));
11142 return resultobj;
11143 fail:
11144 return NULL;
11145 }
11146
11147
11148 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11149 PyObject *resultobj = 0;
11150 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11151 int arg2 ;
11152 void *argp1 = 0 ;
11153 int res1 = 0 ;
11154 int val2 ;
11155 int ecode2 = 0 ;
11156 PyObject * obj0 = 0 ;
11157 PyObject * obj1 = 0 ;
11158 char * kwnames[] = {
11159 (char *) "self",(char *) "min", NULL
11160 };
11161
11162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11164 if (!SWIG_IsOK(res1)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11166 }
11167 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11168 ecode2 = SWIG_AsVal_int(obj1, &val2);
11169 if (!SWIG_IsOK(ecode2)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11171 }
11172 arg2 = static_cast< int >(val2);
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 (arg1)->SetMinimumSizeX(arg2);
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 resultobj = SWIG_Py_Void();
11180 return resultobj;
11181 fail:
11182 return NULL;
11183 }
11184
11185
11186 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj = 0;
11188 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11189 int arg2 ;
11190 void *argp1 = 0 ;
11191 int res1 = 0 ;
11192 int val2 ;
11193 int ecode2 = 0 ;
11194 PyObject * obj0 = 0 ;
11195 PyObject * obj1 = 0 ;
11196 char * kwnames[] = {
11197 (char *) "self",(char *) "min", NULL
11198 };
11199
11200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11202 if (!SWIG_IsOK(res1)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11204 }
11205 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11206 ecode2 = SWIG_AsVal_int(obj1, &val2);
11207 if (!SWIG_IsOK(ecode2)) {
11208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11209 }
11210 arg2 = static_cast< int >(val2);
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 (arg1)->SetMinimumSizeY(arg2);
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
11217 resultobj = SWIG_Py_Void();
11218 return resultobj;
11219 fail:
11220 return NULL;
11221 }
11222
11223
11224 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11225 PyObject *resultobj = 0;
11226 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11227 int result;
11228 void *argp1 = 0 ;
11229 int res1 = 0 ;
11230 PyObject *swig_obj[1] ;
11231
11232 if (!args) SWIG_fail;
11233 swig_obj[0] = args;
11234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11235 if (!SWIG_IsOK(res1)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11237 }
11238 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11239 {
11240 PyThreadState* __tstate = wxPyBeginAllowThreads();
11241 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 resultobj = SWIG_From_int(static_cast< int >(result));
11246 return resultobj;
11247 fail:
11248 return NULL;
11249 }
11250
11251
11252 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11253 PyObject *resultobj = 0;
11254 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11255 int result;
11256 void *argp1 = 0 ;
11257 int res1 = 0 ;
11258 PyObject *swig_obj[1] ;
11259
11260 if (!args) SWIG_fail;
11261 swig_obj[0] = args;
11262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11263 if (!SWIG_IsOK(res1)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11265 }
11266 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
11269 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 resultobj = SWIG_From_int(static_cast< int >(result));
11274 return resultobj;
11275 fail:
11276 return NULL;
11277 }
11278
11279
11280 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11281 PyObject *resultobj = 0;
11282 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11283 int arg2 ;
11284 void *argp1 = 0 ;
11285 int res1 = 0 ;
11286 int val2 ;
11287 int ecode2 = 0 ;
11288 PyObject * obj0 = 0 ;
11289 PyObject * obj1 = 0 ;
11290 char * kwnames[] = {
11291 (char *) "self",(char *) "max", NULL
11292 };
11293
11294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11296 if (!SWIG_IsOK(res1)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11298 }
11299 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11300 ecode2 = SWIG_AsVal_int(obj1, &val2);
11301 if (!SWIG_IsOK(ecode2)) {
11302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11303 }
11304 arg2 = static_cast< int >(val2);
11305 {
11306 PyThreadState* __tstate = wxPyBeginAllowThreads();
11307 (arg1)->SetMaximumSizeX(arg2);
11308 wxPyEndAllowThreads(__tstate);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 }
11311 resultobj = SWIG_Py_Void();
11312 return resultobj;
11313 fail:
11314 return NULL;
11315 }
11316
11317
11318 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11319 PyObject *resultobj = 0;
11320 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11321 int arg2 ;
11322 void *argp1 = 0 ;
11323 int res1 = 0 ;
11324 int val2 ;
11325 int ecode2 = 0 ;
11326 PyObject * obj0 = 0 ;
11327 PyObject * obj1 = 0 ;
11328 char * kwnames[] = {
11329 (char *) "self",(char *) "max", NULL
11330 };
11331
11332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11334 if (!SWIG_IsOK(res1)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11336 }
11337 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11338 ecode2 = SWIG_AsVal_int(obj1, &val2);
11339 if (!SWIG_IsOK(ecode2)) {
11340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11341 }
11342 arg2 = static_cast< int >(val2);
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 (arg1)->SetMaximumSizeY(arg2);
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 resultobj = SWIG_Py_Void();
11350 return resultobj;
11351 fail:
11352 return NULL;
11353 }
11354
11355
11356 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11357 PyObject *resultobj = 0;
11358 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11359 int result;
11360 void *argp1 = 0 ;
11361 int res1 = 0 ;
11362 PyObject *swig_obj[1] ;
11363
11364 if (!args) SWIG_fail;
11365 swig_obj[0] = args;
11366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11367 if (!SWIG_IsOK(res1)) {
11368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11369 }
11370 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 resultobj = SWIG_From_int(static_cast< int >(result));
11378 return resultobj;
11379 fail:
11380 return NULL;
11381 }
11382
11383
11384 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11385 PyObject *resultobj = 0;
11386 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11387 int result;
11388 void *argp1 = 0 ;
11389 int res1 = 0 ;
11390 PyObject *swig_obj[1] ;
11391
11392 if (!args) SWIG_fail;
11393 swig_obj[0] = args;
11394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11395 if (!SWIG_IsOK(res1)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11397 }
11398 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
11401 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11402 wxPyEndAllowThreads(__tstate);
11403 if (PyErr_Occurred()) SWIG_fail;
11404 }
11405 resultobj = SWIG_From_int(static_cast< int >(result));
11406 return resultobj;
11407 fail:
11408 return NULL;
11409 }
11410
11411
11412 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11413 PyObject *resultobj = 0;
11414 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11415 int arg2 ;
11416 int arg3 ;
11417 int arg4 = (int) 2 ;
11418 wxSashEdgePosition result;
11419 void *argp1 = 0 ;
11420 int res1 = 0 ;
11421 int val2 ;
11422 int ecode2 = 0 ;
11423 int val3 ;
11424 int ecode3 = 0 ;
11425 int val4 ;
11426 int ecode4 = 0 ;
11427 PyObject * obj0 = 0 ;
11428 PyObject * obj1 = 0 ;
11429 PyObject * obj2 = 0 ;
11430 PyObject * obj3 = 0 ;
11431 char * kwnames[] = {
11432 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11433 };
11434
11435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11437 if (!SWIG_IsOK(res1)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11439 }
11440 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11441 ecode2 = SWIG_AsVal_int(obj1, &val2);
11442 if (!SWIG_IsOK(ecode2)) {
11443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11444 }
11445 arg2 = static_cast< int >(val2);
11446 ecode3 = SWIG_AsVal_int(obj2, &val3);
11447 if (!SWIG_IsOK(ecode3)) {
11448 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11449 }
11450 arg3 = static_cast< int >(val3);
11451 if (obj3) {
11452 ecode4 = SWIG_AsVal_int(obj3, &val4);
11453 if (!SWIG_IsOK(ecode4)) {
11454 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11455 }
11456 arg4 = static_cast< int >(val4);
11457 }
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 resultobj = SWIG_From_int(static_cast< int >(result));
11465 return resultobj;
11466 fail:
11467 return NULL;
11468 }
11469
11470
11471 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11472 PyObject *resultobj = 0;
11473 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11474 void *argp1 = 0 ;
11475 int res1 = 0 ;
11476 PyObject *swig_obj[1] ;
11477
11478 if (!args) SWIG_fail;
11479 swig_obj[0] = args;
11480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11481 if (!SWIG_IsOK(res1)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11483 }
11484 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 (arg1)->SizeWindows();
11488 wxPyEndAllowThreads(__tstate);
11489 if (PyErr_Occurred()) SWIG_fail;
11490 }
11491 resultobj = SWIG_Py_Void();
11492 return resultobj;
11493 fail:
11494 return NULL;
11495 }
11496
11497
11498 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11499 PyObject *obj;
11500 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11501 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11502 return SWIG_Py_Void();
11503 }
11504
11505 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11506 return SWIG_Python_InitShadowInstance(args);
11507 }
11508
11509 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11510 PyObject *resultobj = 0;
11511 int arg1 = (int) 0 ;
11512 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11513 wxSashEvent *result = 0 ;
11514 int val1 ;
11515 int ecode1 = 0 ;
11516 int val2 ;
11517 int ecode2 = 0 ;
11518 PyObject * obj0 = 0 ;
11519 PyObject * obj1 = 0 ;
11520 char * kwnames[] = {
11521 (char *) "id",(char *) "edge", NULL
11522 };
11523
11524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11525 if (obj0) {
11526 ecode1 = SWIG_AsVal_int(obj0, &val1);
11527 if (!SWIG_IsOK(ecode1)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11529 }
11530 arg1 = static_cast< int >(val1);
11531 }
11532 if (obj1) {
11533 ecode2 = SWIG_AsVal_int(obj1, &val2);
11534 if (!SWIG_IsOK(ecode2)) {
11535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11536 }
11537 arg2 = static_cast< wxSashEdgePosition >(val2);
11538 }
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11546 return resultobj;
11547 fail:
11548 return NULL;
11549 }
11550
11551
11552 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11553 PyObject *resultobj = 0;
11554 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11555 wxSashEdgePosition arg2 ;
11556 void *argp1 = 0 ;
11557 int res1 = 0 ;
11558 int val2 ;
11559 int ecode2 = 0 ;
11560 PyObject * obj0 = 0 ;
11561 PyObject * obj1 = 0 ;
11562 char * kwnames[] = {
11563 (char *) "self",(char *) "edge", NULL
11564 };
11565
11566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11568 if (!SWIG_IsOK(res1)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11570 }
11571 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11572 ecode2 = SWIG_AsVal_int(obj1, &val2);
11573 if (!SWIG_IsOK(ecode2)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11575 }
11576 arg2 = static_cast< wxSashEdgePosition >(val2);
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 (arg1)->SetEdge(arg2);
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 resultobj = SWIG_Py_Void();
11584 return resultobj;
11585 fail:
11586 return NULL;
11587 }
11588
11589
11590 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11591 PyObject *resultobj = 0;
11592 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11593 wxSashEdgePosition result;
11594 void *argp1 = 0 ;
11595 int res1 = 0 ;
11596 PyObject *swig_obj[1] ;
11597
11598 if (!args) SWIG_fail;
11599 swig_obj[0] = args;
11600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11601 if (!SWIG_IsOK(res1)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11603 }
11604 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11605 {
11606 PyThreadState* __tstate = wxPyBeginAllowThreads();
11607 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11608 wxPyEndAllowThreads(__tstate);
11609 if (PyErr_Occurred()) SWIG_fail;
11610 }
11611 resultobj = SWIG_From_int(static_cast< int >(result));
11612 return resultobj;
11613 fail:
11614 return NULL;
11615 }
11616
11617
11618 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11619 PyObject *resultobj = 0;
11620 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11621 wxRect *arg2 = 0 ;
11622 void *argp1 = 0 ;
11623 int res1 = 0 ;
11624 wxRect temp2 ;
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 char * kwnames[] = {
11628 (char *) "self",(char *) "rect", NULL
11629 };
11630
11631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11633 if (!SWIG_IsOK(res1)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11635 }
11636 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11637 {
11638 arg2 = &temp2;
11639 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11640 }
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 (arg1)->SetDragRect((wxRect const &)*arg2);
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 resultobj = SWIG_Py_Void();
11648 return resultobj;
11649 fail:
11650 return NULL;
11651 }
11652
11653
11654 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11655 PyObject *resultobj = 0;
11656 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11657 wxRect result;
11658 void *argp1 = 0 ;
11659 int res1 = 0 ;
11660 PyObject *swig_obj[1] ;
11661
11662 if (!args) SWIG_fail;
11663 swig_obj[0] = args;
11664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11665 if (!SWIG_IsOK(res1)) {
11666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11667 }
11668 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 result = ((wxSashEvent const *)arg1)->GetDragRect();
11672 wxPyEndAllowThreads(__tstate);
11673 if (PyErr_Occurred()) SWIG_fail;
11674 }
11675 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11676 return resultobj;
11677 fail:
11678 return NULL;
11679 }
11680
11681
11682 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj = 0;
11684 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11685 wxSashDragStatus arg2 ;
11686 void *argp1 = 0 ;
11687 int res1 = 0 ;
11688 int val2 ;
11689 int ecode2 = 0 ;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char * kwnames[] = {
11693 (char *) "self",(char *) "status", NULL
11694 };
11695
11696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11698 if (!SWIG_IsOK(res1)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11700 }
11701 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11702 ecode2 = SWIG_AsVal_int(obj1, &val2);
11703 if (!SWIG_IsOK(ecode2)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11705 }
11706 arg2 = static_cast< wxSashDragStatus >(val2);
11707 {
11708 PyThreadState* __tstate = wxPyBeginAllowThreads();
11709 (arg1)->SetDragStatus(arg2);
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
11713 resultobj = SWIG_Py_Void();
11714 return resultobj;
11715 fail:
11716 return NULL;
11717 }
11718
11719
11720 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11721 PyObject *resultobj = 0;
11722 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11723 wxSashDragStatus result;
11724 void *argp1 = 0 ;
11725 int res1 = 0 ;
11726 PyObject *swig_obj[1] ;
11727
11728 if (!args) SWIG_fail;
11729 swig_obj[0] = args;
11730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11731 if (!SWIG_IsOK(res1)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11733 }
11734 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11735 {
11736 PyThreadState* __tstate = wxPyBeginAllowThreads();
11737 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 resultobj = SWIG_From_int(static_cast< int >(result));
11742 return resultobj;
11743 fail:
11744 return NULL;
11745 }
11746
11747
11748 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11749 PyObject *obj;
11750 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11751 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11752 return SWIG_Py_Void();
11753 }
11754
11755 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11756 return SWIG_Python_InitShadowInstance(args);
11757 }
11758
11759 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11760 PyObject *resultobj = 0;
11761 int arg1 = (int) 0 ;
11762 wxQueryLayoutInfoEvent *result = 0 ;
11763 int val1 ;
11764 int ecode1 = 0 ;
11765 PyObject * obj0 = 0 ;
11766 char * kwnames[] = {
11767 (char *) "id", NULL
11768 };
11769
11770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11771 if (obj0) {
11772 ecode1 = SWIG_AsVal_int(obj0, &val1);
11773 if (!SWIG_IsOK(ecode1)) {
11774 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11775 }
11776 arg1 = static_cast< int >(val1);
11777 }
11778 {
11779 PyThreadState* __tstate = wxPyBeginAllowThreads();
11780 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11781 wxPyEndAllowThreads(__tstate);
11782 if (PyErr_Occurred()) SWIG_fail;
11783 }
11784 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11785 return resultobj;
11786 fail:
11787 return NULL;
11788 }
11789
11790
11791 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11792 PyObject *resultobj = 0;
11793 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11794 int arg2 ;
11795 void *argp1 = 0 ;
11796 int res1 = 0 ;
11797 int val2 ;
11798 int ecode2 = 0 ;
11799 PyObject * obj0 = 0 ;
11800 PyObject * obj1 = 0 ;
11801 char * kwnames[] = {
11802 (char *) "self",(char *) "length", NULL
11803 };
11804
11805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11807 if (!SWIG_IsOK(res1)) {
11808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11809 }
11810 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11811 ecode2 = SWIG_AsVal_int(obj1, &val2);
11812 if (!SWIG_IsOK(ecode2)) {
11813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11814 }
11815 arg2 = static_cast< int >(val2);
11816 {
11817 PyThreadState* __tstate = wxPyBeginAllowThreads();
11818 (arg1)->SetRequestedLength(arg2);
11819 wxPyEndAllowThreads(__tstate);
11820 if (PyErr_Occurred()) SWIG_fail;
11821 }
11822 resultobj = SWIG_Py_Void();
11823 return resultobj;
11824 fail:
11825 return NULL;
11826 }
11827
11828
11829 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11830 PyObject *resultobj = 0;
11831 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11832 int result;
11833 void *argp1 = 0 ;
11834 int res1 = 0 ;
11835 PyObject *swig_obj[1] ;
11836
11837 if (!args) SWIG_fail;
11838 swig_obj[0] = args;
11839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11840 if (!SWIG_IsOK(res1)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11842 }
11843 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11844 {
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
11846 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11847 wxPyEndAllowThreads(__tstate);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
11850 resultobj = SWIG_From_int(static_cast< int >(result));
11851 return resultobj;
11852 fail:
11853 return NULL;
11854 }
11855
11856
11857 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11858 PyObject *resultobj = 0;
11859 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11860 int arg2 ;
11861 void *argp1 = 0 ;
11862 int res1 = 0 ;
11863 int val2 ;
11864 int ecode2 = 0 ;
11865 PyObject * obj0 = 0 ;
11866 PyObject * obj1 = 0 ;
11867 char * kwnames[] = {
11868 (char *) "self",(char *) "flags", NULL
11869 };
11870
11871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11873 if (!SWIG_IsOK(res1)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11875 }
11876 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11877 ecode2 = SWIG_AsVal_int(obj1, &val2);
11878 if (!SWIG_IsOK(ecode2)) {
11879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11880 }
11881 arg2 = static_cast< int >(val2);
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 (arg1)->SetFlags(arg2);
11885 wxPyEndAllowThreads(__tstate);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 }
11888 resultobj = SWIG_Py_Void();
11889 return resultobj;
11890 fail:
11891 return NULL;
11892 }
11893
11894
11895 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11896 PyObject *resultobj = 0;
11897 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11898 int result;
11899 void *argp1 = 0 ;
11900 int res1 = 0 ;
11901 PyObject *swig_obj[1] ;
11902
11903 if (!args) SWIG_fail;
11904 swig_obj[0] = args;
11905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11906 if (!SWIG_IsOK(res1)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11908 }
11909 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11910 {
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11913 wxPyEndAllowThreads(__tstate);
11914 if (PyErr_Occurred()) SWIG_fail;
11915 }
11916 resultobj = SWIG_From_int(static_cast< int >(result));
11917 return resultobj;
11918 fail:
11919 return NULL;
11920 }
11921
11922
11923 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11924 PyObject *resultobj = 0;
11925 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11926 wxSize *arg2 = 0 ;
11927 void *argp1 = 0 ;
11928 int res1 = 0 ;
11929 wxSize temp2 ;
11930 PyObject * obj0 = 0 ;
11931 PyObject * obj1 = 0 ;
11932 char * kwnames[] = {
11933 (char *) "self",(char *) "size", NULL
11934 };
11935
11936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
11937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11938 if (!SWIG_IsOK(res1)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11940 }
11941 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11942 {
11943 arg2 = &temp2;
11944 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11945 }
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 (arg1)->SetSize((wxSize const &)*arg2);
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 resultobj = SWIG_Py_Void();
11953 return resultobj;
11954 fail:
11955 return NULL;
11956 }
11957
11958
11959 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11960 PyObject *resultobj = 0;
11961 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11962 wxSize result;
11963 void *argp1 = 0 ;
11964 int res1 = 0 ;
11965 PyObject *swig_obj[1] ;
11966
11967 if (!args) SWIG_fail;
11968 swig_obj[0] = args;
11969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11970 if (!SWIG_IsOK(res1)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11972 }
11973 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11981 return resultobj;
11982 fail:
11983 return NULL;
11984 }
11985
11986
11987 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj = 0;
11989 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11990 wxLayoutOrientation arg2 ;
11991 void *argp1 = 0 ;
11992 int res1 = 0 ;
11993 int val2 ;
11994 int ecode2 = 0 ;
11995 PyObject * obj0 = 0 ;
11996 PyObject * obj1 = 0 ;
11997 char * kwnames[] = {
11998 (char *) "self",(char *) "orient", NULL
11999 };
12000
12001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12003 if (!SWIG_IsOK(res1)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12005 }
12006 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12007 ecode2 = SWIG_AsVal_int(obj1, &val2);
12008 if (!SWIG_IsOK(ecode2)) {
12009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12010 }
12011 arg2 = static_cast< wxLayoutOrientation >(val2);
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 (arg1)->SetOrientation(arg2);
12015 wxPyEndAllowThreads(__tstate);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 }
12018 resultobj = SWIG_Py_Void();
12019 return resultobj;
12020 fail:
12021 return NULL;
12022 }
12023
12024
12025 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12026 PyObject *resultobj = 0;
12027 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12028 wxLayoutOrientation result;
12029 void *argp1 = 0 ;
12030 int res1 = 0 ;
12031 PyObject *swig_obj[1] ;
12032
12033 if (!args) SWIG_fail;
12034 swig_obj[0] = args;
12035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12036 if (!SWIG_IsOK(res1)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12038 }
12039 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12040 {
12041 PyThreadState* __tstate = wxPyBeginAllowThreads();
12042 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 resultobj = SWIG_From_int(static_cast< int >(result));
12047 return resultobj;
12048 fail:
12049 return NULL;
12050 }
12051
12052
12053 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12054 PyObject *resultobj = 0;
12055 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12056 wxLayoutAlignment arg2 ;
12057 void *argp1 = 0 ;
12058 int res1 = 0 ;
12059 int val2 ;
12060 int ecode2 = 0 ;
12061 PyObject * obj0 = 0 ;
12062 PyObject * obj1 = 0 ;
12063 char * kwnames[] = {
12064 (char *) "self",(char *) "align", NULL
12065 };
12066
12067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12069 if (!SWIG_IsOK(res1)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12071 }
12072 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12073 ecode2 = SWIG_AsVal_int(obj1, &val2);
12074 if (!SWIG_IsOK(ecode2)) {
12075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12076 }
12077 arg2 = static_cast< wxLayoutAlignment >(val2);
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 (arg1)->SetAlignment(arg2);
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 resultobj = SWIG_Py_Void();
12085 return resultobj;
12086 fail:
12087 return NULL;
12088 }
12089
12090
12091 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12092 PyObject *resultobj = 0;
12093 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12094 wxLayoutAlignment result;
12095 void *argp1 = 0 ;
12096 int res1 = 0 ;
12097 PyObject *swig_obj[1] ;
12098
12099 if (!args) SWIG_fail;
12100 swig_obj[0] = args;
12101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12102 if (!SWIG_IsOK(res1)) {
12103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12104 }
12105 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12106 {
12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
12108 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12109 wxPyEndAllowThreads(__tstate);
12110 if (PyErr_Occurred()) SWIG_fail;
12111 }
12112 resultobj = SWIG_From_int(static_cast< int >(result));
12113 return resultobj;
12114 fail:
12115 return NULL;
12116 }
12117
12118
12119 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12120 PyObject *obj;
12121 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12122 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12123 return SWIG_Py_Void();
12124 }
12125
12126 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12127 return SWIG_Python_InitShadowInstance(args);
12128 }
12129
12130 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj = 0;
12132 int arg1 = (int) 0 ;
12133 wxCalculateLayoutEvent *result = 0 ;
12134 int val1 ;
12135 int ecode1 = 0 ;
12136 PyObject * obj0 = 0 ;
12137 char * kwnames[] = {
12138 (char *) "id", NULL
12139 };
12140
12141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12142 if (obj0) {
12143 ecode1 = SWIG_AsVal_int(obj0, &val1);
12144 if (!SWIG_IsOK(ecode1)) {
12145 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12146 }
12147 arg1 = static_cast< int >(val1);
12148 }
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12152 wxPyEndAllowThreads(__tstate);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 }
12155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12156 return resultobj;
12157 fail:
12158 return NULL;
12159 }
12160
12161
12162 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12163 PyObject *resultobj = 0;
12164 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12165 int arg2 ;
12166 void *argp1 = 0 ;
12167 int res1 = 0 ;
12168 int val2 ;
12169 int ecode2 = 0 ;
12170 PyObject * obj0 = 0 ;
12171 PyObject * obj1 = 0 ;
12172 char * kwnames[] = {
12173 (char *) "self",(char *) "flags", NULL
12174 };
12175
12176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12178 if (!SWIG_IsOK(res1)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12180 }
12181 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12182 ecode2 = SWIG_AsVal_int(obj1, &val2);
12183 if (!SWIG_IsOK(ecode2)) {
12184 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12185 }
12186 arg2 = static_cast< int >(val2);
12187 {
12188 PyThreadState* __tstate = wxPyBeginAllowThreads();
12189 (arg1)->SetFlags(arg2);
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 resultobj = SWIG_Py_Void();
12194 return resultobj;
12195 fail:
12196 return NULL;
12197 }
12198
12199
12200 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12201 PyObject *resultobj = 0;
12202 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12203 int result;
12204 void *argp1 = 0 ;
12205 int res1 = 0 ;
12206 PyObject *swig_obj[1] ;
12207
12208 if (!args) SWIG_fail;
12209 swig_obj[0] = args;
12210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12211 if (!SWIG_IsOK(res1)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12213 }
12214 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12215 {
12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
12217 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 resultobj = SWIG_From_int(static_cast< int >(result));
12222 return resultobj;
12223 fail:
12224 return NULL;
12225 }
12226
12227
12228 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj = 0;
12230 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12231 wxRect *arg2 = 0 ;
12232 void *argp1 = 0 ;
12233 int res1 = 0 ;
12234 wxRect temp2 ;
12235 PyObject * obj0 = 0 ;
12236 PyObject * obj1 = 0 ;
12237 char * kwnames[] = {
12238 (char *) "self",(char *) "rect", NULL
12239 };
12240
12241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12243 if (!SWIG_IsOK(res1)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12245 }
12246 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12247 {
12248 arg2 = &temp2;
12249 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12250 }
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 (arg1)->SetRect((wxRect const &)*arg2);
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 resultobj = SWIG_Py_Void();
12258 return resultobj;
12259 fail:
12260 return NULL;
12261 }
12262
12263
12264 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12265 PyObject *resultobj = 0;
12266 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12267 wxRect result;
12268 void *argp1 = 0 ;
12269 int res1 = 0 ;
12270 PyObject *swig_obj[1] ;
12271
12272 if (!args) SWIG_fail;
12273 swig_obj[0] = args;
12274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12275 if (!SWIG_IsOK(res1)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12277 }
12278 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12293 PyObject *obj;
12294 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12295 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12296 return SWIG_Py_Void();
12297 }
12298
12299 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12300 return SWIG_Python_InitShadowInstance(args);
12301 }
12302
12303 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12304 PyObject *resultobj = 0;
12305 wxWindow *arg1 = (wxWindow *) 0 ;
12306 int arg2 = (int) -1 ;
12307 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12308 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12309 wxSize const &arg4_defvalue = wxDefaultSize ;
12310 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12311 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12312 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12313 wxString *arg6 = (wxString *) &arg6_defvalue ;
12314 wxSashLayoutWindow *result = 0 ;
12315 void *argp1 = 0 ;
12316 int res1 = 0 ;
12317 int val2 ;
12318 int ecode2 = 0 ;
12319 wxPoint temp3 ;
12320 wxSize temp4 ;
12321 long val5 ;
12322 int ecode5 = 0 ;
12323 bool temp6 = false ;
12324 PyObject * obj0 = 0 ;
12325 PyObject * obj1 = 0 ;
12326 PyObject * obj2 = 0 ;
12327 PyObject * obj3 = 0 ;
12328 PyObject * obj4 = 0 ;
12329 PyObject * obj5 = 0 ;
12330 char * kwnames[] = {
12331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12332 };
12333
12334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12336 if (!SWIG_IsOK(res1)) {
12337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12338 }
12339 arg1 = reinterpret_cast< wxWindow * >(argp1);
12340 if (obj1) {
12341 ecode2 = SWIG_AsVal_int(obj1, &val2);
12342 if (!SWIG_IsOK(ecode2)) {
12343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12344 }
12345 arg2 = static_cast< int >(val2);
12346 }
12347 if (obj2) {
12348 {
12349 arg3 = &temp3;
12350 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12351 }
12352 }
12353 if (obj3) {
12354 {
12355 arg4 = &temp4;
12356 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12357 }
12358 }
12359 if (obj4) {
12360 ecode5 = SWIG_AsVal_long(obj4, &val5);
12361 if (!SWIG_IsOK(ecode5)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12363 }
12364 arg5 = static_cast< long >(val5);
12365 }
12366 if (obj5) {
12367 {
12368 arg6 = wxString_in_helper(obj5);
12369 if (arg6 == NULL) SWIG_fail;
12370 temp6 = true;
12371 }
12372 }
12373 {
12374 if (!wxPyCheckForApp()) SWIG_fail;
12375 PyThreadState* __tstate = wxPyBeginAllowThreads();
12376 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12381 {
12382 if (temp6)
12383 delete arg6;
12384 }
12385 return resultobj;
12386 fail:
12387 {
12388 if (temp6)
12389 delete arg6;
12390 }
12391 return NULL;
12392 }
12393
12394
12395 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12396 PyObject *resultobj = 0;
12397 wxSashLayoutWindow *result = 0 ;
12398
12399 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12400 {
12401 if (!wxPyCheckForApp()) SWIG_fail;
12402 PyThreadState* __tstate = wxPyBeginAllowThreads();
12403 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12404 wxPyEndAllowThreads(__tstate);
12405 if (PyErr_Occurred()) SWIG_fail;
12406 }
12407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12408 return resultobj;
12409 fail:
12410 return NULL;
12411 }
12412
12413
12414 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12415 PyObject *resultobj = 0;
12416 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12417 wxWindow *arg2 = (wxWindow *) 0 ;
12418 int arg3 = (int) -1 ;
12419 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12420 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12421 wxSize const &arg5_defvalue = wxDefaultSize ;
12422 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12423 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12424 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12425 wxString *arg7 = (wxString *) &arg7_defvalue ;
12426 bool result;
12427 void *argp1 = 0 ;
12428 int res1 = 0 ;
12429 void *argp2 = 0 ;
12430 int res2 = 0 ;
12431 int val3 ;
12432 int ecode3 = 0 ;
12433 wxPoint temp4 ;
12434 wxSize temp5 ;
12435 long val6 ;
12436 int ecode6 = 0 ;
12437 bool temp7 = false ;
12438 PyObject * obj0 = 0 ;
12439 PyObject * obj1 = 0 ;
12440 PyObject * obj2 = 0 ;
12441 PyObject * obj3 = 0 ;
12442 PyObject * obj4 = 0 ;
12443 PyObject * obj5 = 0 ;
12444 PyObject * obj6 = 0 ;
12445 char * kwnames[] = {
12446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12447 };
12448
12449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12451 if (!SWIG_IsOK(res1)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12453 }
12454 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12455 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12456 if (!SWIG_IsOK(res2)) {
12457 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12458 }
12459 arg2 = reinterpret_cast< wxWindow * >(argp2);
12460 if (obj2) {
12461 ecode3 = SWIG_AsVal_int(obj2, &val3);
12462 if (!SWIG_IsOK(ecode3)) {
12463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12464 }
12465 arg3 = static_cast< int >(val3);
12466 }
12467 if (obj3) {
12468 {
12469 arg4 = &temp4;
12470 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12471 }
12472 }
12473 if (obj4) {
12474 {
12475 arg5 = &temp5;
12476 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12477 }
12478 }
12479 if (obj5) {
12480 ecode6 = SWIG_AsVal_long(obj5, &val6);
12481 if (!SWIG_IsOK(ecode6)) {
12482 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12483 }
12484 arg6 = static_cast< long >(val6);
12485 }
12486 if (obj6) {
12487 {
12488 arg7 = wxString_in_helper(obj6);
12489 if (arg7 == NULL) SWIG_fail;
12490 temp7 = true;
12491 }
12492 }
12493 {
12494 PyThreadState* __tstate = wxPyBeginAllowThreads();
12495 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12496 wxPyEndAllowThreads(__tstate);
12497 if (PyErr_Occurred()) SWIG_fail;
12498 }
12499 {
12500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12501 }
12502 {
12503 if (temp7)
12504 delete arg7;
12505 }
12506 return resultobj;
12507 fail:
12508 {
12509 if (temp7)
12510 delete arg7;
12511 }
12512 return NULL;
12513 }
12514
12515
12516 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12517 PyObject *resultobj = 0;
12518 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12519 wxLayoutAlignment result;
12520 void *argp1 = 0 ;
12521 int res1 = 0 ;
12522 PyObject *swig_obj[1] ;
12523
12524 if (!args) SWIG_fail;
12525 swig_obj[0] = args;
12526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12527 if (!SWIG_IsOK(res1)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12529 }
12530 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 resultobj = SWIG_From_int(static_cast< int >(result));
12538 return resultobj;
12539 fail:
12540 return NULL;
12541 }
12542
12543
12544 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12545 PyObject *resultobj = 0;
12546 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12547 wxLayoutOrientation result;
12548 void *argp1 = 0 ;
12549 int res1 = 0 ;
12550 PyObject *swig_obj[1] ;
12551
12552 if (!args) SWIG_fail;
12553 swig_obj[0] = args;
12554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12555 if (!SWIG_IsOK(res1)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12557 }
12558 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
12565 resultobj = SWIG_From_int(static_cast< int >(result));
12566 return resultobj;
12567 fail:
12568 return NULL;
12569 }
12570
12571
12572 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12573 PyObject *resultobj = 0;
12574 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12575 wxLayoutAlignment arg2 ;
12576 void *argp1 = 0 ;
12577 int res1 = 0 ;
12578 int val2 ;
12579 int ecode2 = 0 ;
12580 PyObject * obj0 = 0 ;
12581 PyObject * obj1 = 0 ;
12582 char * kwnames[] = {
12583 (char *) "self",(char *) "alignment", NULL
12584 };
12585
12586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12588 if (!SWIG_IsOK(res1)) {
12589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12590 }
12591 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12592 ecode2 = SWIG_AsVal_int(obj1, &val2);
12593 if (!SWIG_IsOK(ecode2)) {
12594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12595 }
12596 arg2 = static_cast< wxLayoutAlignment >(val2);
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 (arg1)->SetAlignment(arg2);
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 resultobj = SWIG_Py_Void();
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj = 0;
12612 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12613 wxSize *arg2 = 0 ;
12614 void *argp1 = 0 ;
12615 int res1 = 0 ;
12616 wxSize temp2 ;
12617 PyObject * obj0 = 0 ;
12618 PyObject * obj1 = 0 ;
12619 char * kwnames[] = {
12620 (char *) "self",(char *) "size", NULL
12621 };
12622
12623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12625 if (!SWIG_IsOK(res1)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12627 }
12628 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12629 {
12630 arg2 = &temp2;
12631 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12632 }
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 resultobj = SWIG_Py_Void();
12640 return resultobj;
12641 fail:
12642 return NULL;
12643 }
12644
12645
12646 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj = 0;
12648 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12649 wxLayoutOrientation arg2 ;
12650 void *argp1 = 0 ;
12651 int res1 = 0 ;
12652 int val2 ;
12653 int ecode2 = 0 ;
12654 PyObject * obj0 = 0 ;
12655 PyObject * obj1 = 0 ;
12656 char * kwnames[] = {
12657 (char *) "self",(char *) "orientation", NULL
12658 };
12659
12660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12662 if (!SWIG_IsOK(res1)) {
12663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12664 }
12665 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12666 ecode2 = SWIG_AsVal_int(obj1, &val2);
12667 if (!SWIG_IsOK(ecode2)) {
12668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12669 }
12670 arg2 = static_cast< wxLayoutOrientation >(val2);
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 (arg1)->SetOrientation(arg2);
12674 wxPyEndAllowThreads(__tstate);
12675 if (PyErr_Occurred()) SWIG_fail;
12676 }
12677 resultobj = SWIG_Py_Void();
12678 return resultobj;
12679 fail:
12680 return NULL;
12681 }
12682
12683
12684 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12685 PyObject *obj;
12686 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12687 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12688 return SWIG_Py_Void();
12689 }
12690
12691 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12692 return SWIG_Python_InitShadowInstance(args);
12693 }
12694
12695 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12696 PyObject *resultobj = 0;
12697 wxLayoutAlgorithm *result = 0 ;
12698
12699 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12700 {
12701 PyThreadState* __tstate = wxPyBeginAllowThreads();
12702 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12703 wxPyEndAllowThreads(__tstate);
12704 if (PyErr_Occurred()) SWIG_fail;
12705 }
12706 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12707 return resultobj;
12708 fail:
12709 return NULL;
12710 }
12711
12712
12713 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12714 PyObject *resultobj = 0;
12715 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12716 void *argp1 = 0 ;
12717 int res1 = 0 ;
12718 PyObject *swig_obj[1] ;
12719
12720 if (!args) SWIG_fail;
12721 swig_obj[0] = args;
12722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12723 if (!SWIG_IsOK(res1)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12725 }
12726 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12727 {
12728 PyThreadState* __tstate = wxPyBeginAllowThreads();
12729 delete arg1;
12730
12731 wxPyEndAllowThreads(__tstate);
12732 if (PyErr_Occurred()) SWIG_fail;
12733 }
12734 resultobj = SWIG_Py_Void();
12735 return resultobj;
12736 fail:
12737 return NULL;
12738 }
12739
12740
12741 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12742 PyObject *resultobj = 0;
12743 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12744 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12745 wxRect *arg3 = (wxRect *) NULL ;
12746 bool result;
12747 void *argp1 = 0 ;
12748 int res1 = 0 ;
12749 void *argp2 = 0 ;
12750 int res2 = 0 ;
12751 void *argp3 = 0 ;
12752 int res3 = 0 ;
12753 PyObject * obj0 = 0 ;
12754 PyObject * obj1 = 0 ;
12755 PyObject * obj2 = 0 ;
12756 char * kwnames[] = {
12757 (char *) "self",(char *) "frame",(char *) "rect", NULL
12758 };
12759
12760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12762 if (!SWIG_IsOK(res1)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12764 }
12765 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12766 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12767 if (!SWIG_IsOK(res2)) {
12768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12769 }
12770 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12771 if (obj2) {
12772 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12773 if (!SWIG_IsOK(res3)) {
12774 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12775 }
12776 arg3 = reinterpret_cast< wxRect * >(argp3);
12777 }
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 {
12785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12786 }
12787 return resultobj;
12788 fail:
12789 return NULL;
12790 }
12791
12792
12793 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12794 PyObject *resultobj = 0;
12795 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12796 wxFrame *arg2 = (wxFrame *) 0 ;
12797 wxWindow *arg3 = (wxWindow *) NULL ;
12798 bool result;
12799 void *argp1 = 0 ;
12800 int res1 = 0 ;
12801 void *argp2 = 0 ;
12802 int res2 = 0 ;
12803 void *argp3 = 0 ;
12804 int res3 = 0 ;
12805 PyObject * obj0 = 0 ;
12806 PyObject * obj1 = 0 ;
12807 PyObject * obj2 = 0 ;
12808 char * kwnames[] = {
12809 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12810 };
12811
12812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12814 if (!SWIG_IsOK(res1)) {
12815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12816 }
12817 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12818 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12819 if (!SWIG_IsOK(res2)) {
12820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12821 }
12822 arg2 = reinterpret_cast< wxFrame * >(argp2);
12823 if (obj2) {
12824 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12825 if (!SWIG_IsOK(res3)) {
12826 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12827 }
12828 arg3 = reinterpret_cast< wxWindow * >(argp3);
12829 }
12830 {
12831 PyThreadState* __tstate = wxPyBeginAllowThreads();
12832 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12833 wxPyEndAllowThreads(__tstate);
12834 if (PyErr_Occurred()) SWIG_fail;
12835 }
12836 {
12837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12838 }
12839 return resultobj;
12840 fail:
12841 return NULL;
12842 }
12843
12844
12845 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12846 PyObject *resultobj = 0;
12847 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12848 wxWindow *arg2 = (wxWindow *) 0 ;
12849 wxWindow *arg3 = (wxWindow *) NULL ;
12850 bool result;
12851 void *argp1 = 0 ;
12852 int res1 = 0 ;
12853 void *argp2 = 0 ;
12854 int res2 = 0 ;
12855 void *argp3 = 0 ;
12856 int res3 = 0 ;
12857 PyObject * obj0 = 0 ;
12858 PyObject * obj1 = 0 ;
12859 PyObject * obj2 = 0 ;
12860 char * kwnames[] = {
12861 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12862 };
12863
12864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12866 if (!SWIG_IsOK(res1)) {
12867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12868 }
12869 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12870 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12871 if (!SWIG_IsOK(res2)) {
12872 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12873 }
12874 arg2 = reinterpret_cast< wxWindow * >(argp2);
12875 if (obj2) {
12876 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12877 if (!SWIG_IsOK(res3)) {
12878 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12879 }
12880 arg3 = reinterpret_cast< wxWindow * >(argp3);
12881 }
12882 {
12883 PyThreadState* __tstate = wxPyBeginAllowThreads();
12884 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12885 wxPyEndAllowThreads(__tstate);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 }
12888 {
12889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12890 }
12891 return resultobj;
12892 fail:
12893 return NULL;
12894 }
12895
12896
12897 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12898 PyObject *obj;
12899 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12900 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12901 return SWIG_Py_Void();
12902 }
12903
12904 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12905 return SWIG_Python_InitShadowInstance(args);
12906 }
12907
12908 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12909 PyObject *resultobj = 0;
12910 wxWindow *arg1 = (wxWindow *) 0 ;
12911 int arg2 = (int) wxBORDER_NONE ;
12912 wxPopupWindow *result = 0 ;
12913 void *argp1 = 0 ;
12914 int res1 = 0 ;
12915 int val2 ;
12916 int ecode2 = 0 ;
12917 PyObject * obj0 = 0 ;
12918 PyObject * obj1 = 0 ;
12919 char * kwnames[] = {
12920 (char *) "parent",(char *) "flags", NULL
12921 };
12922
12923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12925 if (!SWIG_IsOK(res1)) {
12926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12927 }
12928 arg1 = reinterpret_cast< wxWindow * >(argp1);
12929 if (obj1) {
12930 ecode2 = SWIG_AsVal_int(obj1, &val2);
12931 if (!SWIG_IsOK(ecode2)) {
12932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12933 }
12934 arg2 = static_cast< int >(val2);
12935 }
12936 {
12937 if (!wxPyCheckForApp()) SWIG_fail;
12938 PyThreadState* __tstate = wxPyBeginAllowThreads();
12939 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
12940 wxPyEndAllowThreads(__tstate);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 }
12943 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
12944 return resultobj;
12945 fail:
12946 return NULL;
12947 }
12948
12949
12950 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12951 PyObject *resultobj = 0;
12952 wxPopupWindow *result = 0 ;
12953
12954 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
12955 {
12956 if (!wxPyCheckForApp()) SWIG_fail;
12957 PyThreadState* __tstate = wxPyBeginAllowThreads();
12958 result = (wxPopupWindow *)new wxPopupWindow();
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
12963 return resultobj;
12964 fail:
12965 return NULL;
12966 }
12967
12968
12969 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj = 0;
12971 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
12972 wxWindow *arg2 = (wxWindow *) 0 ;
12973 int arg3 = (int) wxBORDER_NONE ;
12974 bool result;
12975 void *argp1 = 0 ;
12976 int res1 = 0 ;
12977 void *argp2 = 0 ;
12978 int res2 = 0 ;
12979 int val3 ;
12980 int ecode3 = 0 ;
12981 PyObject * obj0 = 0 ;
12982 PyObject * obj1 = 0 ;
12983 PyObject * obj2 = 0 ;
12984 char * kwnames[] = {
12985 (char *) "self",(char *) "parent",(char *) "flags", NULL
12986 };
12987
12988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
12990 if (!SWIG_IsOK(res1)) {
12991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12992 }
12993 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
12994 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12995 if (!SWIG_IsOK(res2)) {
12996 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12997 }
12998 arg2 = reinterpret_cast< wxWindow * >(argp2);
12999 if (obj2) {
13000 ecode3 = SWIG_AsVal_int(obj2, &val3);
13001 if (!SWIG_IsOK(ecode3)) {
13002 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13003 }
13004 arg3 = static_cast< int >(val3);
13005 }
13006 {
13007 PyThreadState* __tstate = wxPyBeginAllowThreads();
13008 result = (bool)(arg1)->Create(arg2,arg3);
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
13012 {
13013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13014 }
13015 return resultobj;
13016 fail:
13017 return NULL;
13018 }
13019
13020
13021 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13022 PyObject *resultobj = 0;
13023 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13024 wxPoint *arg2 = 0 ;
13025 wxSize *arg3 = 0 ;
13026 void *argp1 = 0 ;
13027 int res1 = 0 ;
13028 wxPoint temp2 ;
13029 wxSize temp3 ;
13030 PyObject * obj0 = 0 ;
13031 PyObject * obj1 = 0 ;
13032 PyObject * obj2 = 0 ;
13033 char * kwnames[] = {
13034 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13035 };
13036
13037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13039 if (!SWIG_IsOK(res1)) {
13040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13041 }
13042 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13043 {
13044 arg2 = &temp2;
13045 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13046 }
13047 {
13048 arg3 = &temp3;
13049 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13050 }
13051 {
13052 PyThreadState* __tstate = wxPyBeginAllowThreads();
13053 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13054 wxPyEndAllowThreads(__tstate);
13055 if (PyErr_Occurred()) SWIG_fail;
13056 }
13057 resultobj = SWIG_Py_Void();
13058 return resultobj;
13059 fail:
13060 return NULL;
13061 }
13062
13063
13064 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13065 PyObject *obj;
13066 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13067 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13068 return SWIG_Py_Void();
13069 }
13070
13071 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13072 return SWIG_Python_InitShadowInstance(args);
13073 }
13074
13075 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13076 PyObject *resultobj = 0;
13077 wxWindow *arg1 = (wxWindow *) 0 ;
13078 int arg2 = (int) wxBORDER_NONE ;
13079 wxPyPopupTransientWindow *result = 0 ;
13080 void *argp1 = 0 ;
13081 int res1 = 0 ;
13082 int val2 ;
13083 int ecode2 = 0 ;
13084 PyObject * obj0 = 0 ;
13085 PyObject * obj1 = 0 ;
13086 char * kwnames[] = {
13087 (char *) "parent",(char *) "style", NULL
13088 };
13089
13090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13092 if (!SWIG_IsOK(res1)) {
13093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13094 }
13095 arg1 = reinterpret_cast< wxWindow * >(argp1);
13096 if (obj1) {
13097 ecode2 = SWIG_AsVal_int(obj1, &val2);
13098 if (!SWIG_IsOK(ecode2)) {
13099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13100 }
13101 arg2 = static_cast< int >(val2);
13102 }
13103 {
13104 if (!wxPyCheckForApp()) SWIG_fail;
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
13106 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13111 return resultobj;
13112 fail:
13113 return NULL;
13114 }
13115
13116
13117 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13118 PyObject *resultobj = 0;
13119 wxPyPopupTransientWindow *result = 0 ;
13120
13121 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13122 {
13123 if (!wxPyCheckForApp()) SWIG_fail;
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13126 wxPyEndAllowThreads(__tstate);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
13129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13130 return resultobj;
13131 fail:
13132 return NULL;
13133 }
13134
13135
13136 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13137 PyObject *resultobj = 0;
13138 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13139 PyObject *arg2 = (PyObject *) 0 ;
13140 PyObject *arg3 = (PyObject *) 0 ;
13141 void *argp1 = 0 ;
13142 int res1 = 0 ;
13143 PyObject * obj0 = 0 ;
13144 PyObject * obj1 = 0 ;
13145 PyObject * obj2 = 0 ;
13146 char * kwnames[] = {
13147 (char *) "self",(char *) "self",(char *) "_class", NULL
13148 };
13149
13150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13152 if (!SWIG_IsOK(res1)) {
13153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13154 }
13155 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13156 arg2 = obj1;
13157 arg3 = obj2;
13158 {
13159 PyThreadState* __tstate = wxPyBeginAllowThreads();
13160 (arg1)->_setCallbackInfo(arg2,arg3);
13161 wxPyEndAllowThreads(__tstate);
13162 if (PyErr_Occurred()) SWIG_fail;
13163 }
13164 resultobj = SWIG_Py_Void();
13165 return resultobj;
13166 fail:
13167 return NULL;
13168 }
13169
13170
13171 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13172 PyObject *resultobj = 0;
13173 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13174 wxWindow *arg2 = (wxWindow *) NULL ;
13175 void *argp1 = 0 ;
13176 int res1 = 0 ;
13177 void *argp2 = 0 ;
13178 int res2 = 0 ;
13179 PyObject * obj0 = 0 ;
13180 PyObject * obj1 = 0 ;
13181 char * kwnames[] = {
13182 (char *) "self",(char *) "focus", NULL
13183 };
13184
13185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13187 if (!SWIG_IsOK(res1)) {
13188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13189 }
13190 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13191 if (obj1) {
13192 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13193 if (!SWIG_IsOK(res2)) {
13194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13195 }
13196 arg2 = reinterpret_cast< wxWindow * >(argp2);
13197 }
13198 {
13199 PyThreadState* __tstate = wxPyBeginAllowThreads();
13200 (arg1)->Popup(arg2);
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 resultobj = SWIG_Py_Void();
13205 return resultobj;
13206 fail:
13207 return NULL;
13208 }
13209
13210
13211 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13212 PyObject *resultobj = 0;
13213 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13214 void *argp1 = 0 ;
13215 int res1 = 0 ;
13216 PyObject *swig_obj[1] ;
13217
13218 if (!args) SWIG_fail;
13219 swig_obj[0] = args;
13220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13221 if (!SWIG_IsOK(res1)) {
13222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13223 }
13224 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 (arg1)->Dismiss();
13228 wxPyEndAllowThreads(__tstate);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 }
13231 resultobj = SWIG_Py_Void();
13232 return resultobj;
13233 fail:
13234 return NULL;
13235 }
13236
13237
13238 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13239 PyObject *obj;
13240 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13241 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13242 return SWIG_Py_Void();
13243 }
13244
13245 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13246 return SWIG_Python_InitShadowInstance(args);
13247 }
13248
13249 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13250 PyObject *resultobj = 0;
13251 wxWindow *arg1 = (wxWindow *) 0 ;
13252 wxString *arg2 = 0 ;
13253 int arg3 = (int) 100 ;
13254 wxRect *arg4 = (wxRect *) NULL ;
13255 wxTipWindow *result = 0 ;
13256 void *argp1 = 0 ;
13257 int res1 = 0 ;
13258 bool temp2 = false ;
13259 int val3 ;
13260 int ecode3 = 0 ;
13261 void *argp4 = 0 ;
13262 int res4 = 0 ;
13263 PyObject * obj0 = 0 ;
13264 PyObject * obj1 = 0 ;
13265 PyObject * obj2 = 0 ;
13266 PyObject * obj3 = 0 ;
13267 char * kwnames[] = {
13268 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13269 };
13270
13271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13273 if (!SWIG_IsOK(res1)) {
13274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13275 }
13276 arg1 = reinterpret_cast< wxWindow * >(argp1);
13277 {
13278 arg2 = wxString_in_helper(obj1);
13279 if (arg2 == NULL) SWIG_fail;
13280 temp2 = true;
13281 }
13282 if (obj2) {
13283 ecode3 = SWIG_AsVal_int(obj2, &val3);
13284 if (!SWIG_IsOK(ecode3)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13286 }
13287 arg3 = static_cast< int >(val3);
13288 }
13289 if (obj3) {
13290 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13291 if (!SWIG_IsOK(res4)) {
13292 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13293 }
13294 arg4 = reinterpret_cast< wxRect * >(argp4);
13295 }
13296 {
13297 if (!wxPyCheckForApp()) SWIG_fail;
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
13299 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13304 {
13305 if (temp2)
13306 delete arg2;
13307 }
13308 return resultobj;
13309 fail:
13310 {
13311 if (temp2)
13312 delete arg2;
13313 }
13314 return NULL;
13315 }
13316
13317
13318 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj = 0;
13320 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13321 wxRect *arg2 = 0 ;
13322 void *argp1 = 0 ;
13323 int res1 = 0 ;
13324 wxRect temp2 ;
13325 PyObject * obj0 = 0 ;
13326 PyObject * obj1 = 0 ;
13327 char * kwnames[] = {
13328 (char *) "self",(char *) "rectBound", NULL
13329 };
13330
13331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13333 if (!SWIG_IsOK(res1)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13335 }
13336 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13337 {
13338 arg2 = &temp2;
13339 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13340 }
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13344 wxPyEndAllowThreads(__tstate);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
13347 resultobj = SWIG_Py_Void();
13348 return resultobj;
13349 fail:
13350 return NULL;
13351 }
13352
13353
13354 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13355 PyObject *resultobj = 0;
13356 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13357 void *argp1 = 0 ;
13358 int res1 = 0 ;
13359 PyObject *swig_obj[1] ;
13360
13361 if (!args) SWIG_fail;
13362 swig_obj[0] = args;
13363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13364 if (!SWIG_IsOK(res1)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13366 }
13367 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 (arg1)->Close();
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 resultobj = SWIG_Py_Void();
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13382 PyObject *obj;
13383 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13384 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13385 return SWIG_Py_Void();
13386 }
13387
13388 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13389 return SWIG_Python_InitShadowInstance(args);
13390 }
13391
13392 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13393 PyObject *resultobj = 0;
13394 wxWindow *arg1 = (wxWindow *) 0 ;
13395 int arg2 = (int) wxID_ANY ;
13396 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13397 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13398 wxSize const &arg4_defvalue = wxDefaultSize ;
13399 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13400 long arg5 = (long) 0 ;
13401 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13402 wxString *arg6 = (wxString *) &arg6_defvalue ;
13403 wxPyVScrolledWindow *result = 0 ;
13404 void *argp1 = 0 ;
13405 int res1 = 0 ;
13406 int val2 ;
13407 int ecode2 = 0 ;
13408 wxPoint temp3 ;
13409 wxSize temp4 ;
13410 long val5 ;
13411 int ecode5 = 0 ;
13412 bool temp6 = false ;
13413 PyObject * obj0 = 0 ;
13414 PyObject * obj1 = 0 ;
13415 PyObject * obj2 = 0 ;
13416 PyObject * obj3 = 0 ;
13417 PyObject * obj4 = 0 ;
13418 PyObject * obj5 = 0 ;
13419 char * kwnames[] = {
13420 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13421 };
13422
13423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13425 if (!SWIG_IsOK(res1)) {
13426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13427 }
13428 arg1 = reinterpret_cast< wxWindow * >(argp1);
13429 if (obj1) {
13430 ecode2 = SWIG_AsVal_int(obj1, &val2);
13431 if (!SWIG_IsOK(ecode2)) {
13432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13433 }
13434 arg2 = static_cast< int >(val2);
13435 }
13436 if (obj2) {
13437 {
13438 arg3 = &temp3;
13439 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13440 }
13441 }
13442 if (obj3) {
13443 {
13444 arg4 = &temp4;
13445 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13446 }
13447 }
13448 if (obj4) {
13449 ecode5 = SWIG_AsVal_long(obj4, &val5);
13450 if (!SWIG_IsOK(ecode5)) {
13451 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13452 }
13453 arg5 = static_cast< long >(val5);
13454 }
13455 if (obj5) {
13456 {
13457 arg6 = wxString_in_helper(obj5);
13458 if (arg6 == NULL) SWIG_fail;
13459 temp6 = true;
13460 }
13461 }
13462 {
13463 if (!wxPyCheckForApp()) SWIG_fail;
13464 PyThreadState* __tstate = wxPyBeginAllowThreads();
13465 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13470 {
13471 if (temp6)
13472 delete arg6;
13473 }
13474 return resultobj;
13475 fail:
13476 {
13477 if (temp6)
13478 delete arg6;
13479 }
13480 return NULL;
13481 }
13482
13483
13484 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13485 PyObject *resultobj = 0;
13486 wxPyVScrolledWindow *result = 0 ;
13487
13488 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13489 {
13490 if (!wxPyCheckForApp()) SWIG_fail;
13491 PyThreadState* __tstate = wxPyBeginAllowThreads();
13492 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13497 return resultobj;
13498 fail:
13499 return NULL;
13500 }
13501
13502
13503 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13504 PyObject *resultobj = 0;
13505 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13506 PyObject *arg2 = (PyObject *) 0 ;
13507 PyObject *arg3 = (PyObject *) 0 ;
13508 void *argp1 = 0 ;
13509 int res1 = 0 ;
13510 PyObject * obj0 = 0 ;
13511 PyObject * obj1 = 0 ;
13512 PyObject * obj2 = 0 ;
13513 char * kwnames[] = {
13514 (char *) "self",(char *) "self",(char *) "_class", NULL
13515 };
13516
13517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13519 if (!SWIG_IsOK(res1)) {
13520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13521 }
13522 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13523 arg2 = obj1;
13524 arg3 = obj2;
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 (arg1)->_setCallbackInfo(arg2,arg3);
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 resultobj = SWIG_Py_Void();
13532 return resultobj;
13533 fail:
13534 return NULL;
13535 }
13536
13537
13538 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13539 PyObject *resultobj = 0;
13540 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13541 wxWindow *arg2 = (wxWindow *) 0 ;
13542 int arg3 = (int) wxID_ANY ;
13543 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13544 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13545 wxSize const &arg5_defvalue = wxDefaultSize ;
13546 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13547 long arg6 = (long) 0 ;
13548 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13549 wxString *arg7 = (wxString *) &arg7_defvalue ;
13550 bool result;
13551 void *argp1 = 0 ;
13552 int res1 = 0 ;
13553 void *argp2 = 0 ;
13554 int res2 = 0 ;
13555 int val3 ;
13556 int ecode3 = 0 ;
13557 wxPoint temp4 ;
13558 wxSize temp5 ;
13559 long val6 ;
13560 int ecode6 = 0 ;
13561 bool temp7 = false ;
13562 PyObject * obj0 = 0 ;
13563 PyObject * obj1 = 0 ;
13564 PyObject * obj2 = 0 ;
13565 PyObject * obj3 = 0 ;
13566 PyObject * obj4 = 0 ;
13567 PyObject * obj5 = 0 ;
13568 PyObject * obj6 = 0 ;
13569 char * kwnames[] = {
13570 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13571 };
13572
13573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13575 if (!SWIG_IsOK(res1)) {
13576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13577 }
13578 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13580 if (!SWIG_IsOK(res2)) {
13581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13582 }
13583 arg2 = reinterpret_cast< wxWindow * >(argp2);
13584 if (obj2) {
13585 ecode3 = SWIG_AsVal_int(obj2, &val3);
13586 if (!SWIG_IsOK(ecode3)) {
13587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13588 }
13589 arg3 = static_cast< int >(val3);
13590 }
13591 if (obj3) {
13592 {
13593 arg4 = &temp4;
13594 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13595 }
13596 }
13597 if (obj4) {
13598 {
13599 arg5 = &temp5;
13600 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13601 }
13602 }
13603 if (obj5) {
13604 ecode6 = SWIG_AsVal_long(obj5, &val6);
13605 if (!SWIG_IsOK(ecode6)) {
13606 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13607 }
13608 arg6 = static_cast< long >(val6);
13609 }
13610 if (obj6) {
13611 {
13612 arg7 = wxString_in_helper(obj6);
13613 if (arg7 == NULL) SWIG_fail;
13614 temp7 = true;
13615 }
13616 }
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13620 wxPyEndAllowThreads(__tstate);
13621 if (PyErr_Occurred()) SWIG_fail;
13622 }
13623 {
13624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13625 }
13626 {
13627 if (temp7)
13628 delete arg7;
13629 }
13630 return resultobj;
13631 fail:
13632 {
13633 if (temp7)
13634 delete arg7;
13635 }
13636 return NULL;
13637 }
13638
13639
13640 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13641 PyObject *resultobj = 0;
13642 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13643 size_t arg2 ;
13644 void *argp1 = 0 ;
13645 int res1 = 0 ;
13646 size_t val2 ;
13647 int ecode2 = 0 ;
13648 PyObject * obj0 = 0 ;
13649 PyObject * obj1 = 0 ;
13650 char * kwnames[] = {
13651 (char *) "self",(char *) "count", NULL
13652 };
13653
13654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13656 if (!SWIG_IsOK(res1)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13658 }
13659 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13660 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13661 if (!SWIG_IsOK(ecode2)) {
13662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13663 }
13664 arg2 = static_cast< size_t >(val2);
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 (arg1)->SetLineCount(arg2);
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 resultobj = SWIG_Py_Void();
13672 return resultobj;
13673 fail:
13674 return NULL;
13675 }
13676
13677
13678 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj = 0;
13680 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13681 size_t arg2 ;
13682 bool result;
13683 void *argp1 = 0 ;
13684 int res1 = 0 ;
13685 size_t val2 ;
13686 int ecode2 = 0 ;
13687 PyObject * obj0 = 0 ;
13688 PyObject * obj1 = 0 ;
13689 char * kwnames[] = {
13690 (char *) "self",(char *) "line", NULL
13691 };
13692
13693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13695 if (!SWIG_IsOK(res1)) {
13696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13697 }
13698 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13699 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13700 if (!SWIG_IsOK(ecode2)) {
13701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13702 }
13703 arg2 = static_cast< size_t >(val2);
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
13706 result = (bool)(arg1)->ScrollToLine(arg2);
13707 wxPyEndAllowThreads(__tstate);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 {
13711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13712 }
13713 return resultobj;
13714 fail:
13715 return NULL;
13716 }
13717
13718
13719 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj = 0;
13721 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13722 size_t arg2 ;
13723 void *argp1 = 0 ;
13724 int res1 = 0 ;
13725 size_t val2 ;
13726 int ecode2 = 0 ;
13727 PyObject * obj0 = 0 ;
13728 PyObject * obj1 = 0 ;
13729 char * kwnames[] = {
13730 (char *) "self",(char *) "line", NULL
13731 };
13732
13733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13735 if (!SWIG_IsOK(res1)) {
13736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13737 }
13738 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13739 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13740 if (!SWIG_IsOK(ecode2)) {
13741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13742 }
13743 arg2 = static_cast< size_t >(val2);
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 (arg1)->RefreshLine(arg2);
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 resultobj = SWIG_Py_Void();
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj = 0;
13759 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13760 size_t arg2 ;
13761 size_t arg3 ;
13762 void *argp1 = 0 ;
13763 int res1 = 0 ;
13764 size_t val2 ;
13765 int ecode2 = 0 ;
13766 size_t val3 ;
13767 int ecode3 = 0 ;
13768 PyObject * obj0 = 0 ;
13769 PyObject * obj1 = 0 ;
13770 PyObject * obj2 = 0 ;
13771 char * kwnames[] = {
13772 (char *) "self",(char *) "from",(char *) "to", NULL
13773 };
13774
13775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13777 if (!SWIG_IsOK(res1)) {
13778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13779 }
13780 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13781 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13782 if (!SWIG_IsOK(ecode2)) {
13783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13784 }
13785 arg2 = static_cast< size_t >(val2);
13786 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13787 if (!SWIG_IsOK(ecode3)) {
13788 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13789 }
13790 arg3 = static_cast< size_t >(val3);
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 (arg1)->RefreshLines(arg2,arg3);
13794 wxPyEndAllowThreads(__tstate);
13795 if (PyErr_Occurred()) SWIG_fail;
13796 }
13797 resultobj = SWIG_Py_Void();
13798 return resultobj;
13799 fail:
13800 return NULL;
13801 }
13802
13803
13804 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj = 0;
13806 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13807 int arg2 ;
13808 int arg3 ;
13809 int result;
13810 void *argp1 = 0 ;
13811 int res1 = 0 ;
13812 int val2 ;
13813 int ecode2 = 0 ;
13814 int val3 ;
13815 int ecode3 = 0 ;
13816 PyObject * obj0 = 0 ;
13817 PyObject * obj1 = 0 ;
13818 PyObject * obj2 = 0 ;
13819 char * kwnames[] = {
13820 (char *) "self",(char *) "x",(char *) "y", NULL
13821 };
13822
13823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13825 if (!SWIG_IsOK(res1)) {
13826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13827 }
13828 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13829 ecode2 = SWIG_AsVal_int(obj1, &val2);
13830 if (!SWIG_IsOK(ecode2)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13832 }
13833 arg2 = static_cast< int >(val2);
13834 ecode3 = SWIG_AsVal_int(obj2, &val3);
13835 if (!SWIG_IsOK(ecode3)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13837 }
13838 arg3 = static_cast< int >(val3);
13839 {
13840 PyThreadState* __tstate = wxPyBeginAllowThreads();
13841 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13842 wxPyEndAllowThreads(__tstate);
13843 if (PyErr_Occurred()) SWIG_fail;
13844 }
13845 resultobj = SWIG_From_int(static_cast< int >(result));
13846 return resultobj;
13847 fail:
13848 return NULL;
13849 }
13850
13851
13852 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13853 PyObject *resultobj = 0;
13854 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13855 wxPoint *arg2 = 0 ;
13856 int result;
13857 void *argp1 = 0 ;
13858 int res1 = 0 ;
13859 wxPoint temp2 ;
13860 PyObject * obj0 = 0 ;
13861 PyObject * obj1 = 0 ;
13862 char * kwnames[] = {
13863 (char *) "self",(char *) "pt", NULL
13864 };
13865
13866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13868 if (!SWIG_IsOK(res1)) {
13869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13870 }
13871 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13872 {
13873 arg2 = &temp2;
13874 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13875 }
13876 {
13877 PyThreadState* __tstate = wxPyBeginAllowThreads();
13878 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13879 wxPyEndAllowThreads(__tstate);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 resultobj = SWIG_From_int(static_cast< int >(result));
13883 return resultobj;
13884 fail:
13885 return NULL;
13886 }
13887
13888
13889 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13890 PyObject *resultobj = 0;
13891 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13892 void *argp1 = 0 ;
13893 int res1 = 0 ;
13894 PyObject *swig_obj[1] ;
13895
13896 if (!args) SWIG_fail;
13897 swig_obj[0] = args;
13898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13899 if (!SWIG_IsOK(res1)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13901 }
13902 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13903 {
13904 PyThreadState* __tstate = wxPyBeginAllowThreads();
13905 (arg1)->RefreshAll();
13906 wxPyEndAllowThreads(__tstate);
13907 if (PyErr_Occurred()) SWIG_fail;
13908 }
13909 resultobj = SWIG_Py_Void();
13910 return resultobj;
13911 fail:
13912 return NULL;
13913 }
13914
13915
13916 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13917 PyObject *resultobj = 0;
13918 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13919 size_t result;
13920 void *argp1 = 0 ;
13921 int res1 = 0 ;
13922 PyObject *swig_obj[1] ;
13923
13924 if (!args) SWIG_fail;
13925 swig_obj[0] = args;
13926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13927 if (!SWIG_IsOK(res1)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13929 }
13930 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13931 {
13932 PyThreadState* __tstate = wxPyBeginAllowThreads();
13933 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13938 return resultobj;
13939 fail:
13940 return NULL;
13941 }
13942
13943
13944 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13945 PyObject *resultobj = 0;
13946 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13947 size_t result;
13948 void *argp1 = 0 ;
13949 int res1 = 0 ;
13950 PyObject *swig_obj[1] ;
13951
13952 if (!args) SWIG_fail;
13953 swig_obj[0] = args;
13954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13955 if (!SWIG_IsOK(res1)) {
13956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13957 }
13958 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13959 {
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
13965 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13966 return resultobj;
13967 fail:
13968 return NULL;
13969 }
13970
13971
13972 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13973 PyObject *resultobj = 0;
13974 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13975 size_t result;
13976 void *argp1 = 0 ;
13977 int res1 = 0 ;
13978 PyObject *swig_obj[1] ;
13979
13980 if (!args) SWIG_fail;
13981 swig_obj[0] = args;
13982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13983 if (!SWIG_IsOK(res1)) {
13984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13985 }
13986 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
13993 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13994 return resultobj;
13995 fail:
13996 return NULL;
13997 }
13998
13999
14000 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14001 PyObject *resultobj = 0;
14002 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14003 size_t arg2 ;
14004 bool result;
14005 void *argp1 = 0 ;
14006 int res1 = 0 ;
14007 size_t val2 ;
14008 int ecode2 = 0 ;
14009 PyObject * obj0 = 0 ;
14010 PyObject * obj1 = 0 ;
14011 char * kwnames[] = {
14012 (char *) "self",(char *) "line", NULL
14013 };
14014
14015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14017 if (!SWIG_IsOK(res1)) {
14018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14019 }
14020 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14021 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14022 if (!SWIG_IsOK(ecode2)) {
14023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14024 }
14025 arg2 = static_cast< size_t >(val2);
14026 {
14027 PyThreadState* __tstate = wxPyBeginAllowThreads();
14028 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14029 wxPyEndAllowThreads(__tstate);
14030 if (PyErr_Occurred()) SWIG_fail;
14031 }
14032 {
14033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14034 }
14035 return resultobj;
14036 fail:
14037 return NULL;
14038 }
14039
14040
14041 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14042 PyObject *resultobj = 0;
14043 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14044 size_t result;
14045 void *argp1 = 0 ;
14046 int res1 = 0 ;
14047 PyObject *swig_obj[1] ;
14048
14049 if (!args) SWIG_fail;
14050 swig_obj[0] = args;
14051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14052 if (!SWIG_IsOK(res1)) {
14053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14054 }
14055 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14056 {
14057 PyThreadState* __tstate = wxPyBeginAllowThreads();
14058 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14059 wxPyEndAllowThreads(__tstate);
14060 if (PyErr_Occurred()) SWIG_fail;
14061 }
14062 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14063 return resultobj;
14064 fail:
14065 return NULL;
14066 }
14067
14068
14069 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14070 PyObject *resultobj = 0;
14071 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14072 size_t result;
14073 void *argp1 = 0 ;
14074 int res1 = 0 ;
14075 PyObject *swig_obj[1] ;
14076
14077 if (!args) SWIG_fail;
14078 swig_obj[0] = args;
14079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14080 if (!SWIG_IsOK(res1)) {
14081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14082 }
14083 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14084 {
14085 PyThreadState* __tstate = wxPyBeginAllowThreads();
14086 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14087 wxPyEndAllowThreads(__tstate);
14088 if (PyErr_Occurred()) SWIG_fail;
14089 }
14090 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14091 return resultobj;
14092 fail:
14093 return NULL;
14094 }
14095
14096
14097 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14098 PyObject *resultobj = 0;
14099 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14100 size_t arg2 ;
14101 bool arg3 = (bool) false ;
14102 size_t result;
14103 void *argp1 = 0 ;
14104 int res1 = 0 ;
14105 size_t val2 ;
14106 int ecode2 = 0 ;
14107 bool val3 ;
14108 int ecode3 = 0 ;
14109 PyObject * obj0 = 0 ;
14110 PyObject * obj1 = 0 ;
14111 PyObject * obj2 = 0 ;
14112 char * kwnames[] = {
14113 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14114 };
14115
14116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14118 if (!SWIG_IsOK(res1)) {
14119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14120 }
14121 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14122 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14123 if (!SWIG_IsOK(ecode2)) {
14124 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14125 }
14126 arg2 = static_cast< size_t >(val2);
14127 if (obj2) {
14128 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14129 if (!SWIG_IsOK(ecode3)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14131 }
14132 arg3 = static_cast< bool >(val3);
14133 }
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14141 return resultobj;
14142 fail:
14143 return NULL;
14144 }
14145
14146
14147 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14148 PyObject *resultobj = 0;
14149 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14150 size_t arg2 ;
14151 size_t arg3 ;
14152 int result;
14153 void *argp1 = 0 ;
14154 int res1 = 0 ;
14155 size_t val2 ;
14156 int ecode2 = 0 ;
14157 size_t val3 ;
14158 int ecode3 = 0 ;
14159 PyObject * obj0 = 0 ;
14160 PyObject * obj1 = 0 ;
14161 PyObject * obj2 = 0 ;
14162 char * kwnames[] = {
14163 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14164 };
14165
14166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14168 if (!SWIG_IsOK(res1)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14170 }
14171 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14172 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14173 if (!SWIG_IsOK(ecode2)) {
14174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14175 }
14176 arg2 = static_cast< size_t >(val2);
14177 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14178 if (!SWIG_IsOK(ecode3)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14180 }
14181 arg3 = static_cast< size_t >(val3);
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 resultobj = SWIG_From_int(static_cast< int >(result));
14189 return resultobj;
14190 fail:
14191 return NULL;
14192 }
14193
14194
14195 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14196 PyObject *obj;
14197 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14198 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14199 return SWIG_Py_Void();
14200 }
14201
14202 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14203 return SWIG_Python_InitShadowInstance(args);
14204 }
14205
14206 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14207 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14208 return 1;
14209 }
14210
14211
14212 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14213 PyObject *pyobj = 0;
14214
14215 {
14216 #if wxUSE_UNICODE
14217 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14218 #else
14219 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14220 #endif
14221 }
14222 return pyobj;
14223 }
14224
14225
14226 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14227 PyObject *resultobj = 0;
14228 wxWindow *arg1 = (wxWindow *) 0 ;
14229 int arg2 = (int) wxID_ANY ;
14230 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14231 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14232 wxSize const &arg4_defvalue = wxDefaultSize ;
14233 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14234 long arg5 = (long) 0 ;
14235 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14236 wxString *arg6 = (wxString *) &arg6_defvalue ;
14237 wxPyVListBox *result = 0 ;
14238 void *argp1 = 0 ;
14239 int res1 = 0 ;
14240 int val2 ;
14241 int ecode2 = 0 ;
14242 wxPoint temp3 ;
14243 wxSize temp4 ;
14244 long val5 ;
14245 int ecode5 = 0 ;
14246 bool temp6 = false ;
14247 PyObject * obj0 = 0 ;
14248 PyObject * obj1 = 0 ;
14249 PyObject * obj2 = 0 ;
14250 PyObject * obj3 = 0 ;
14251 PyObject * obj4 = 0 ;
14252 PyObject * obj5 = 0 ;
14253 char * kwnames[] = {
14254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14255 };
14256
14257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14259 if (!SWIG_IsOK(res1)) {
14260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14261 }
14262 arg1 = reinterpret_cast< wxWindow * >(argp1);
14263 if (obj1) {
14264 ecode2 = SWIG_AsVal_int(obj1, &val2);
14265 if (!SWIG_IsOK(ecode2)) {
14266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14267 }
14268 arg2 = static_cast< int >(val2);
14269 }
14270 if (obj2) {
14271 {
14272 arg3 = &temp3;
14273 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14274 }
14275 }
14276 if (obj3) {
14277 {
14278 arg4 = &temp4;
14279 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14280 }
14281 }
14282 if (obj4) {
14283 ecode5 = SWIG_AsVal_long(obj4, &val5);
14284 if (!SWIG_IsOK(ecode5)) {
14285 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14286 }
14287 arg5 = static_cast< long >(val5);
14288 }
14289 if (obj5) {
14290 {
14291 arg6 = wxString_in_helper(obj5);
14292 if (arg6 == NULL) SWIG_fail;
14293 temp6 = true;
14294 }
14295 }
14296 {
14297 if (!wxPyCheckForApp()) SWIG_fail;
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14300 wxPyEndAllowThreads(__tstate);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 }
14303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14304 {
14305 if (temp6)
14306 delete arg6;
14307 }
14308 return resultobj;
14309 fail:
14310 {
14311 if (temp6)
14312 delete arg6;
14313 }
14314 return NULL;
14315 }
14316
14317
14318 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14319 PyObject *resultobj = 0;
14320 wxPyVListBox *result = 0 ;
14321
14322 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14323 {
14324 if (!wxPyCheckForApp()) SWIG_fail;
14325 PyThreadState* __tstate = wxPyBeginAllowThreads();
14326 result = (wxPyVListBox *)new wxPyVListBox();
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14331 return resultobj;
14332 fail:
14333 return NULL;
14334 }
14335
14336
14337 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14338 PyObject *resultobj = 0;
14339 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14340 PyObject *arg2 = (PyObject *) 0 ;
14341 PyObject *arg3 = (PyObject *) 0 ;
14342 void *argp1 = 0 ;
14343 int res1 = 0 ;
14344 PyObject * obj0 = 0 ;
14345 PyObject * obj1 = 0 ;
14346 PyObject * obj2 = 0 ;
14347 char * kwnames[] = {
14348 (char *) "self",(char *) "self",(char *) "_class", NULL
14349 };
14350
14351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14353 if (!SWIG_IsOK(res1)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14355 }
14356 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14357 arg2 = obj1;
14358 arg3 = obj2;
14359 {
14360 PyThreadState* __tstate = wxPyBeginAllowThreads();
14361 (arg1)->_setCallbackInfo(arg2,arg3);
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 resultobj = SWIG_Py_Void();
14366 return resultobj;
14367 fail:
14368 return NULL;
14369 }
14370
14371
14372 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14373 PyObject *resultobj = 0;
14374 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14375 wxWindow *arg2 = (wxWindow *) 0 ;
14376 int arg3 = (int) wxID_ANY ;
14377 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14378 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14379 wxSize const &arg5_defvalue = wxDefaultSize ;
14380 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14381 long arg6 = (long) 0 ;
14382 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14383 wxString *arg7 = (wxString *) &arg7_defvalue ;
14384 bool result;
14385 void *argp1 = 0 ;
14386 int res1 = 0 ;
14387 void *argp2 = 0 ;
14388 int res2 = 0 ;
14389 int val3 ;
14390 int ecode3 = 0 ;
14391 wxPoint temp4 ;
14392 wxSize temp5 ;
14393 long val6 ;
14394 int ecode6 = 0 ;
14395 bool temp7 = false ;
14396 PyObject * obj0 = 0 ;
14397 PyObject * obj1 = 0 ;
14398 PyObject * obj2 = 0 ;
14399 PyObject * obj3 = 0 ;
14400 PyObject * obj4 = 0 ;
14401 PyObject * obj5 = 0 ;
14402 PyObject * obj6 = 0 ;
14403 char * kwnames[] = {
14404 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14405 };
14406
14407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14409 if (!SWIG_IsOK(res1)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14411 }
14412 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14413 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14414 if (!SWIG_IsOK(res2)) {
14415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14416 }
14417 arg2 = reinterpret_cast< wxWindow * >(argp2);
14418 if (obj2) {
14419 ecode3 = SWIG_AsVal_int(obj2, &val3);
14420 if (!SWIG_IsOK(ecode3)) {
14421 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14422 }
14423 arg3 = static_cast< int >(val3);
14424 }
14425 if (obj3) {
14426 {
14427 arg4 = &temp4;
14428 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14429 }
14430 }
14431 if (obj4) {
14432 {
14433 arg5 = &temp5;
14434 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14435 }
14436 }
14437 if (obj5) {
14438 ecode6 = SWIG_AsVal_long(obj5, &val6);
14439 if (!SWIG_IsOK(ecode6)) {
14440 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14441 }
14442 arg6 = static_cast< long >(val6);
14443 }
14444 if (obj6) {
14445 {
14446 arg7 = wxString_in_helper(obj6);
14447 if (arg7 == NULL) SWIG_fail;
14448 temp7 = true;
14449 }
14450 }
14451 {
14452 PyThreadState* __tstate = wxPyBeginAllowThreads();
14453 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14454 wxPyEndAllowThreads(__tstate);
14455 if (PyErr_Occurred()) SWIG_fail;
14456 }
14457 {
14458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14459 }
14460 {
14461 if (temp7)
14462 delete arg7;
14463 }
14464 return resultobj;
14465 fail:
14466 {
14467 if (temp7)
14468 delete arg7;
14469 }
14470 return NULL;
14471 }
14472
14473
14474 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14475 PyObject *resultobj = 0;
14476 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14477 size_t result;
14478 void *argp1 = 0 ;
14479 int res1 = 0 ;
14480 PyObject *swig_obj[1] ;
14481
14482 if (!args) SWIG_fail;
14483 swig_obj[0] = args;
14484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14485 if (!SWIG_IsOK(res1)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14487 }
14488 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14489 {
14490 PyThreadState* __tstate = wxPyBeginAllowThreads();
14491 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14492 wxPyEndAllowThreads(__tstate);
14493 if (PyErr_Occurred()) SWIG_fail;
14494 }
14495 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14496 return resultobj;
14497 fail:
14498 return NULL;
14499 }
14500
14501
14502 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14503 PyObject *resultobj = 0;
14504 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14505 bool result;
14506 void *argp1 = 0 ;
14507 int res1 = 0 ;
14508 PyObject *swig_obj[1] ;
14509
14510 if (!args) SWIG_fail;
14511 swig_obj[0] = args;
14512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14513 if (!SWIG_IsOK(res1)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14515 }
14516 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14517 {
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 {
14524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14525 }
14526 return resultobj;
14527 fail:
14528 return NULL;
14529 }
14530
14531
14532 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14533 PyObject *resultobj = 0;
14534 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14535 int result;
14536 void *argp1 = 0 ;
14537 int res1 = 0 ;
14538 PyObject *swig_obj[1] ;
14539
14540 if (!args) SWIG_fail;
14541 swig_obj[0] = args;
14542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14543 if (!SWIG_IsOK(res1)) {
14544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14545 }
14546 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14547 {
14548 PyThreadState* __tstate = wxPyBeginAllowThreads();
14549 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14550 wxPyEndAllowThreads(__tstate);
14551 if (PyErr_Occurred()) SWIG_fail;
14552 }
14553 resultobj = SWIG_From_int(static_cast< int >(result));
14554 return resultobj;
14555 fail:
14556 return NULL;
14557 }
14558
14559
14560 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14561 PyObject *resultobj = 0;
14562 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14563 size_t arg2 ;
14564 bool result;
14565 void *argp1 = 0 ;
14566 int res1 = 0 ;
14567 size_t val2 ;
14568 int ecode2 = 0 ;
14569 PyObject * obj0 = 0 ;
14570 PyObject * obj1 = 0 ;
14571 char * kwnames[] = {
14572 (char *) "self",(char *) "item", NULL
14573 };
14574
14575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14577 if (!SWIG_IsOK(res1)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14579 }
14580 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14581 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14582 if (!SWIG_IsOK(ecode2)) {
14583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14584 }
14585 arg2 = static_cast< size_t >(val2);
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 {
14593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14594 }
14595 return resultobj;
14596 fail:
14597 return NULL;
14598 }
14599
14600
14601 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj = 0;
14603 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14604 size_t arg2 ;
14605 bool result;
14606 void *argp1 = 0 ;
14607 int res1 = 0 ;
14608 size_t val2 ;
14609 int ecode2 = 0 ;
14610 PyObject * obj0 = 0 ;
14611 PyObject * obj1 = 0 ;
14612 char * kwnames[] = {
14613 (char *) "self",(char *) "item", NULL
14614 };
14615
14616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) 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_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14620 }
14621 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14622 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14623 if (!SWIG_IsOK(ecode2)) {
14624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14625 }
14626 arg2 = static_cast< size_t >(val2);
14627 {
14628 PyThreadState* __tstate = wxPyBeginAllowThreads();
14629 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14630 wxPyEndAllowThreads(__tstate);
14631 if (PyErr_Occurred()) SWIG_fail;
14632 }
14633 {
14634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14635 }
14636 return resultobj;
14637 fail:
14638 return NULL;
14639 }
14640
14641
14642 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14643 PyObject *resultobj = 0;
14644 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14645 size_t result;
14646 void *argp1 = 0 ;
14647 int res1 = 0 ;
14648 PyObject *swig_obj[1] ;
14649
14650 if (!args) SWIG_fail;
14651 swig_obj[0] = args;
14652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14653 if (!SWIG_IsOK(res1)) {
14654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14655 }
14656 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14660 wxPyEndAllowThreads(__tstate);
14661 if (PyErr_Occurred()) SWIG_fail;
14662 }
14663 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14664 return resultobj;
14665 fail:
14666 return NULL;
14667 }
14668
14669
14670 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14671 PyObject *resultobj = 0;
14672 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14673 PyObject *result = 0 ;
14674 void *argp1 = 0 ;
14675 int res1 = 0 ;
14676 PyObject *swig_obj[1] ;
14677
14678 if (!args) SWIG_fail;
14679 swig_obj[0] = args;
14680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14681 if (!SWIG_IsOK(res1)) {
14682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14683 }
14684 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14685 {
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 resultobj = result;
14692 return resultobj;
14693 fail:
14694 return NULL;
14695 }
14696
14697
14698 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14699 PyObject *resultobj = 0;
14700 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14701 unsigned long arg2 ;
14702 PyObject *result = 0 ;
14703 void *argp1 = 0 ;
14704 int res1 = 0 ;
14705 unsigned long val2 ;
14706 int ecode2 = 0 ;
14707 PyObject * obj0 = 0 ;
14708 PyObject * obj1 = 0 ;
14709 char * kwnames[] = {
14710 (char *) "self",(char *) "cookie", NULL
14711 };
14712
14713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14715 if (!SWIG_IsOK(res1)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14717 }
14718 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14719 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14720 if (!SWIG_IsOK(ecode2)) {
14721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14722 }
14723 arg2 = static_cast< unsigned long >(val2);
14724 {
14725 PyThreadState* __tstate = wxPyBeginAllowThreads();
14726 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 resultobj = result;
14731 return resultobj;
14732 fail:
14733 return NULL;
14734 }
14735
14736
14737 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14738 PyObject *resultobj = 0;
14739 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14740 wxPoint result;
14741 void *argp1 = 0 ;
14742 int res1 = 0 ;
14743 PyObject *swig_obj[1] ;
14744
14745 if (!args) SWIG_fail;
14746 swig_obj[0] = args;
14747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14748 if (!SWIG_IsOK(res1)) {
14749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14750 }
14751 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 result = ((wxPyVListBox const *)arg1)->GetMargins();
14755 wxPyEndAllowThreads(__tstate);
14756 if (PyErr_Occurred()) SWIG_fail;
14757 }
14758 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14759 return resultobj;
14760 fail:
14761 return NULL;
14762 }
14763
14764
14765 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14766 PyObject *resultobj = 0;
14767 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14768 wxColour *result = 0 ;
14769 void *argp1 = 0 ;
14770 int res1 = 0 ;
14771 PyObject *swig_obj[1] ;
14772
14773 if (!args) SWIG_fail;
14774 swig_obj[0] = args;
14775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14776 if (!SWIG_IsOK(res1)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14778 }
14779 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14780 {
14781 PyThreadState* __tstate = wxPyBeginAllowThreads();
14782 {
14783 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14784 result = (wxColour *) &_result_ref;
14785 }
14786 wxPyEndAllowThreads(__tstate);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14790 return resultobj;
14791 fail:
14792 return NULL;
14793 }
14794
14795
14796 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14797 PyObject *resultobj = 0;
14798 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14799 size_t arg2 ;
14800 void *argp1 = 0 ;
14801 int res1 = 0 ;
14802 size_t val2 ;
14803 int ecode2 = 0 ;
14804 PyObject * obj0 = 0 ;
14805 PyObject * obj1 = 0 ;
14806 char * kwnames[] = {
14807 (char *) "self",(char *) "count", NULL
14808 };
14809
14810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14812 if (!SWIG_IsOK(res1)) {
14813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14814 }
14815 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14816 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14817 if (!SWIG_IsOK(ecode2)) {
14818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14819 }
14820 arg2 = static_cast< size_t >(val2);
14821 {
14822 PyThreadState* __tstate = wxPyBeginAllowThreads();
14823 (arg1)->SetItemCount(arg2);
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 resultobj = SWIG_Py_Void();
14828 return resultobj;
14829 fail:
14830 return NULL;
14831 }
14832
14833
14834 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14835 PyObject *resultobj = 0;
14836 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14837 void *argp1 = 0 ;
14838 int res1 = 0 ;
14839 PyObject *swig_obj[1] ;
14840
14841 if (!args) SWIG_fail;
14842 swig_obj[0] = args;
14843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14844 if (!SWIG_IsOK(res1)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14846 }
14847 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14848 {
14849 PyThreadState* __tstate = wxPyBeginAllowThreads();
14850 (arg1)->Clear();
14851 wxPyEndAllowThreads(__tstate);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 }
14854 resultobj = SWIG_Py_Void();
14855 return resultobj;
14856 fail:
14857 return NULL;
14858 }
14859
14860
14861 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj = 0;
14863 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14864 int arg2 ;
14865 void *argp1 = 0 ;
14866 int res1 = 0 ;
14867 int val2 ;
14868 int ecode2 = 0 ;
14869 PyObject * obj0 = 0 ;
14870 PyObject * obj1 = 0 ;
14871 char * kwnames[] = {
14872 (char *) "self",(char *) "selection", NULL
14873 };
14874
14875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14877 if (!SWIG_IsOK(res1)) {
14878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14879 }
14880 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14881 ecode2 = SWIG_AsVal_int(obj1, &val2);
14882 if (!SWIG_IsOK(ecode2)) {
14883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14884 }
14885 arg2 = static_cast< int >(val2);
14886 {
14887 PyThreadState* __tstate = wxPyBeginAllowThreads();
14888 (arg1)->SetSelection(arg2);
14889 wxPyEndAllowThreads(__tstate);
14890 if (PyErr_Occurred()) SWIG_fail;
14891 }
14892 resultobj = SWIG_Py_Void();
14893 return resultobj;
14894 fail:
14895 return NULL;
14896 }
14897
14898
14899 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14900 PyObject *resultobj = 0;
14901 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14902 size_t arg2 ;
14903 bool arg3 = (bool) true ;
14904 bool result;
14905 void *argp1 = 0 ;
14906 int res1 = 0 ;
14907 size_t val2 ;
14908 int ecode2 = 0 ;
14909 bool val3 ;
14910 int ecode3 = 0 ;
14911 PyObject * obj0 = 0 ;
14912 PyObject * obj1 = 0 ;
14913 PyObject * obj2 = 0 ;
14914 char * kwnames[] = {
14915 (char *) "self",(char *) "item",(char *) "select", NULL
14916 };
14917
14918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14920 if (!SWIG_IsOK(res1)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14922 }
14923 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14924 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14925 if (!SWIG_IsOK(ecode2)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14927 }
14928 arg2 = static_cast< size_t >(val2);
14929 if (obj2) {
14930 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14931 if (!SWIG_IsOK(ecode3)) {
14932 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14933 }
14934 arg3 = static_cast< bool >(val3);
14935 }
14936 {
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 result = (bool)(arg1)->Select(arg2,arg3);
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 {
14943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14944 }
14945 return resultobj;
14946 fail:
14947 return NULL;
14948 }
14949
14950
14951 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14952 PyObject *resultobj = 0;
14953 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14954 size_t arg2 ;
14955 size_t arg3 ;
14956 bool result;
14957 void *argp1 = 0 ;
14958 int res1 = 0 ;
14959 size_t val2 ;
14960 int ecode2 = 0 ;
14961 size_t val3 ;
14962 int ecode3 = 0 ;
14963 PyObject * obj0 = 0 ;
14964 PyObject * obj1 = 0 ;
14965 PyObject * obj2 = 0 ;
14966 char * kwnames[] = {
14967 (char *) "self",(char *) "from",(char *) "to", NULL
14968 };
14969
14970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14972 if (!SWIG_IsOK(res1)) {
14973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14974 }
14975 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14976 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14977 if (!SWIG_IsOK(ecode2)) {
14978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14979 }
14980 arg2 = static_cast< size_t >(val2);
14981 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14982 if (!SWIG_IsOK(ecode3)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14984 }
14985 arg3 = static_cast< size_t >(val3);
14986 {
14987 PyThreadState* __tstate = wxPyBeginAllowThreads();
14988 result = (bool)(arg1)->SelectRange(arg2,arg3);
14989 wxPyEndAllowThreads(__tstate);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 {
14993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14994 }
14995 return resultobj;
14996 fail:
14997 return NULL;
14998 }
14999
15000
15001 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15002 PyObject *resultobj = 0;
15003 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15004 size_t arg2 ;
15005 void *argp1 = 0 ;
15006 int res1 = 0 ;
15007 size_t val2 ;
15008 int ecode2 = 0 ;
15009 PyObject * obj0 = 0 ;
15010 PyObject * obj1 = 0 ;
15011 char * kwnames[] = {
15012 (char *) "self",(char *) "item", NULL
15013 };
15014
15015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15017 if (!SWIG_IsOK(res1)) {
15018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15019 }
15020 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15021 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15022 if (!SWIG_IsOK(ecode2)) {
15023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15024 }
15025 arg2 = static_cast< size_t >(val2);
15026 {
15027 PyThreadState* __tstate = wxPyBeginAllowThreads();
15028 (arg1)->Toggle(arg2);
15029 wxPyEndAllowThreads(__tstate);
15030 if (PyErr_Occurred()) SWIG_fail;
15031 }
15032 resultobj = SWIG_Py_Void();
15033 return resultobj;
15034 fail:
15035 return NULL;
15036 }
15037
15038
15039 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15040 PyObject *resultobj = 0;
15041 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15042 bool result;
15043 void *argp1 = 0 ;
15044 int res1 = 0 ;
15045 PyObject *swig_obj[1] ;
15046
15047 if (!args) SWIG_fail;
15048 swig_obj[0] = args;
15049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15050 if (!SWIG_IsOK(res1)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15052 }
15053 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15054 {
15055 PyThreadState* __tstate = wxPyBeginAllowThreads();
15056 result = (bool)(arg1)->SelectAll();
15057 wxPyEndAllowThreads(__tstate);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15060 {
15061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15062 }
15063 return resultobj;
15064 fail:
15065 return NULL;
15066 }
15067
15068
15069 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15070 PyObject *resultobj = 0;
15071 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15072 bool result;
15073 void *argp1 = 0 ;
15074 int res1 = 0 ;
15075 PyObject *swig_obj[1] ;
15076
15077 if (!args) SWIG_fail;
15078 swig_obj[0] = args;
15079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15080 if (!SWIG_IsOK(res1)) {
15081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15082 }
15083 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15084 {
15085 PyThreadState* __tstate = wxPyBeginAllowThreads();
15086 result = (bool)(arg1)->DeselectAll();
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15090 {
15091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15092 }
15093 return resultobj;
15094 fail:
15095 return NULL;
15096 }
15097
15098
15099 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15100 PyObject *resultobj = 0;
15101 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15102 wxPoint *arg2 = 0 ;
15103 void *argp1 = 0 ;
15104 int res1 = 0 ;
15105 wxPoint temp2 ;
15106 PyObject * obj0 = 0 ;
15107 PyObject * obj1 = 0 ;
15108 char * kwnames[] = {
15109 (char *) "self",(char *) "pt", NULL
15110 };
15111
15112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15114 if (!SWIG_IsOK(res1)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15116 }
15117 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15118 {
15119 arg2 = &temp2;
15120 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15121 }
15122 {
15123 PyThreadState* __tstate = wxPyBeginAllowThreads();
15124 (arg1)->SetMargins((wxPoint const &)*arg2);
15125 wxPyEndAllowThreads(__tstate);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
15128 resultobj = SWIG_Py_Void();
15129 return resultobj;
15130 fail:
15131 return NULL;
15132 }
15133
15134
15135 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15136 PyObject *resultobj = 0;
15137 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15138 int arg2 ;
15139 int arg3 ;
15140 void *argp1 = 0 ;
15141 int res1 = 0 ;
15142 int val2 ;
15143 int ecode2 = 0 ;
15144 int val3 ;
15145 int ecode3 = 0 ;
15146 PyObject * obj0 = 0 ;
15147 PyObject * obj1 = 0 ;
15148 PyObject * obj2 = 0 ;
15149 char * kwnames[] = {
15150 (char *) "self",(char *) "x",(char *) "y", NULL
15151 };
15152
15153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15155 if (!SWIG_IsOK(res1)) {
15156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15157 }
15158 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15159 ecode2 = SWIG_AsVal_int(obj1, &val2);
15160 if (!SWIG_IsOK(ecode2)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15162 }
15163 arg2 = static_cast< int >(val2);
15164 ecode3 = SWIG_AsVal_int(obj2, &val3);
15165 if (!SWIG_IsOK(ecode3)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15167 }
15168 arg3 = static_cast< int >(val3);
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 (arg1)->SetMargins(arg2,arg3);
15172 wxPyEndAllowThreads(__tstate);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 }
15175 resultobj = SWIG_Py_Void();
15176 return resultobj;
15177 fail:
15178 return NULL;
15179 }
15180
15181
15182 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15183 PyObject *resultobj = 0;
15184 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15185 wxColour *arg2 = 0 ;
15186 void *argp1 = 0 ;
15187 int res1 = 0 ;
15188 wxColour temp2 ;
15189 PyObject * obj0 = 0 ;
15190 PyObject * obj1 = 0 ;
15191 char * kwnames[] = {
15192 (char *) "self",(char *) "col", NULL
15193 };
15194
15195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15197 if (!SWIG_IsOK(res1)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15199 }
15200 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15201 {
15202 arg2 = &temp2;
15203 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15204 }
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
15207 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15208 wxPyEndAllowThreads(__tstate);
15209 if (PyErr_Occurred()) SWIG_fail;
15210 }
15211 resultobj = SWIG_Py_Void();
15212 return resultobj;
15213 fail:
15214 return NULL;
15215 }
15216
15217
15218 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15219 PyObject *resultobj = 0;
15220 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15221 wxDC *arg2 = 0 ;
15222 wxRect *arg3 = 0 ;
15223 size_t arg4 ;
15224 void *argp1 = 0 ;
15225 int res1 = 0 ;
15226 void *argp2 = 0 ;
15227 int res2 = 0 ;
15228 wxRect temp3 ;
15229 size_t val4 ;
15230 int ecode4 = 0 ;
15231 PyObject * obj0 = 0 ;
15232 PyObject * obj1 = 0 ;
15233 PyObject * obj2 = 0 ;
15234 PyObject * obj3 = 0 ;
15235 char * kwnames[] = {
15236 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15237 };
15238
15239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15241 if (!SWIG_IsOK(res1)) {
15242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15243 }
15244 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15245 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15246 if (!SWIG_IsOK(res2)) {
15247 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15248 }
15249 if (!argp2) {
15250 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15251 }
15252 arg2 = reinterpret_cast< wxDC * >(argp2);
15253 {
15254 arg3 = &temp3;
15255 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15256 }
15257 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15258 if (!SWIG_IsOK(ecode4)) {
15259 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15260 }
15261 arg4 = static_cast< size_t >(val4);
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = SWIG_Py_Void();
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj = 0;
15277 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15278 wxDC *arg2 = 0 ;
15279 wxRect *arg3 = 0 ;
15280 size_t arg4 ;
15281 void *argp1 = 0 ;
15282 int res1 = 0 ;
15283 void *argp2 = 0 ;
15284 int res2 = 0 ;
15285 wxRect temp3 ;
15286 size_t val4 ;
15287 int ecode4 = 0 ;
15288 PyObject * obj0 = 0 ;
15289 PyObject * obj1 = 0 ;
15290 PyObject * obj2 = 0 ;
15291 PyObject * obj3 = 0 ;
15292 char * kwnames[] = {
15293 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15294 };
15295
15296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15298 if (!SWIG_IsOK(res1)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15300 }
15301 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15302 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15303 if (!SWIG_IsOK(res2)) {
15304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15305 }
15306 if (!argp2) {
15307 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15308 }
15309 arg2 = reinterpret_cast< wxDC * >(argp2);
15310 {
15311 arg3 = &temp3;
15312 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15313 }
15314 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15315 if (!SWIG_IsOK(ecode4)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15317 }
15318 arg4 = static_cast< size_t >(val4);
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 resultobj = SWIG_Py_Void();
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15333 PyObject *obj;
15334 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15335 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15336 return SWIG_Py_Void();
15337 }
15338
15339 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15340 return SWIG_Python_InitShadowInstance(args);
15341 }
15342
15343 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15344 PyObject *resultobj = 0;
15345 wxWindow *arg1 = (wxWindow *) 0 ;
15346 int arg2 = (int) wxID_ANY ;
15347 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15348 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15349 wxSize const &arg4_defvalue = wxDefaultSize ;
15350 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15351 long arg5 = (long) 0 ;
15352 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15353 wxString *arg6 = (wxString *) &arg6_defvalue ;
15354 wxPyHtmlListBox *result = 0 ;
15355 void *argp1 = 0 ;
15356 int res1 = 0 ;
15357 int val2 ;
15358 int ecode2 = 0 ;
15359 wxPoint temp3 ;
15360 wxSize temp4 ;
15361 long val5 ;
15362 int ecode5 = 0 ;
15363 bool temp6 = false ;
15364 PyObject * obj0 = 0 ;
15365 PyObject * obj1 = 0 ;
15366 PyObject * obj2 = 0 ;
15367 PyObject * obj3 = 0 ;
15368 PyObject * obj4 = 0 ;
15369 PyObject * obj5 = 0 ;
15370 char * kwnames[] = {
15371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15372 };
15373
15374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15376 if (!SWIG_IsOK(res1)) {
15377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15378 }
15379 arg1 = reinterpret_cast< wxWindow * >(argp1);
15380 if (obj1) {
15381 ecode2 = SWIG_AsVal_int(obj1, &val2);
15382 if (!SWIG_IsOK(ecode2)) {
15383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15384 }
15385 arg2 = static_cast< int >(val2);
15386 }
15387 if (obj2) {
15388 {
15389 arg3 = &temp3;
15390 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15391 }
15392 }
15393 if (obj3) {
15394 {
15395 arg4 = &temp4;
15396 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15397 }
15398 }
15399 if (obj4) {
15400 ecode5 = SWIG_AsVal_long(obj4, &val5);
15401 if (!SWIG_IsOK(ecode5)) {
15402 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15403 }
15404 arg5 = static_cast< long >(val5);
15405 }
15406 if (obj5) {
15407 {
15408 arg6 = wxString_in_helper(obj5);
15409 if (arg6 == NULL) SWIG_fail;
15410 temp6 = true;
15411 }
15412 }
15413 {
15414 if (!wxPyCheckForApp()) SWIG_fail;
15415 PyThreadState* __tstate = wxPyBeginAllowThreads();
15416 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15421 {
15422 if (temp6)
15423 delete arg6;
15424 }
15425 return resultobj;
15426 fail:
15427 {
15428 if (temp6)
15429 delete arg6;
15430 }
15431 return NULL;
15432 }
15433
15434
15435 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15436 PyObject *resultobj = 0;
15437 wxPyHtmlListBox *result = 0 ;
15438
15439 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15440 {
15441 if (!wxPyCheckForApp()) SWIG_fail;
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
15447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15448 return resultobj;
15449 fail:
15450 return NULL;
15451 }
15452
15453
15454 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15455 PyObject *resultobj = 0;
15456 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15457 PyObject *arg2 = (PyObject *) 0 ;
15458 PyObject *arg3 = (PyObject *) 0 ;
15459 void *argp1 = 0 ;
15460 int res1 = 0 ;
15461 PyObject * obj0 = 0 ;
15462 PyObject * obj1 = 0 ;
15463 PyObject * obj2 = 0 ;
15464 char * kwnames[] = {
15465 (char *) "self",(char *) "self",(char *) "_class", NULL
15466 };
15467
15468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15470 if (!SWIG_IsOK(res1)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15472 }
15473 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15474 arg2 = obj1;
15475 arg3 = obj2;
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 (arg1)->_setCallbackInfo(arg2,arg3);
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 resultobj = SWIG_Py_Void();
15483 return resultobj;
15484 fail:
15485 return NULL;
15486 }
15487
15488
15489 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj = 0;
15491 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15492 wxWindow *arg2 = (wxWindow *) 0 ;
15493 int arg3 = (int) wxID_ANY ;
15494 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15495 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15496 wxSize const &arg5_defvalue = wxDefaultSize ;
15497 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15498 long arg6 = (long) 0 ;
15499 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15500 wxString *arg7 = (wxString *) &arg7_defvalue ;
15501 bool result;
15502 void *argp1 = 0 ;
15503 int res1 = 0 ;
15504 void *argp2 = 0 ;
15505 int res2 = 0 ;
15506 int val3 ;
15507 int ecode3 = 0 ;
15508 wxPoint temp4 ;
15509 wxSize temp5 ;
15510 long val6 ;
15511 int ecode6 = 0 ;
15512 bool temp7 = false ;
15513 PyObject * obj0 = 0 ;
15514 PyObject * obj1 = 0 ;
15515 PyObject * obj2 = 0 ;
15516 PyObject * obj3 = 0 ;
15517 PyObject * obj4 = 0 ;
15518 PyObject * obj5 = 0 ;
15519 PyObject * obj6 = 0 ;
15520 char * kwnames[] = {
15521 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15522 };
15523
15524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15526 if (!SWIG_IsOK(res1)) {
15527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15528 }
15529 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15530 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15531 if (!SWIG_IsOK(res2)) {
15532 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15533 }
15534 arg2 = reinterpret_cast< wxWindow * >(argp2);
15535 if (obj2) {
15536 ecode3 = SWIG_AsVal_int(obj2, &val3);
15537 if (!SWIG_IsOK(ecode3)) {
15538 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15539 }
15540 arg3 = static_cast< int >(val3);
15541 }
15542 if (obj3) {
15543 {
15544 arg4 = &temp4;
15545 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15546 }
15547 }
15548 if (obj4) {
15549 {
15550 arg5 = &temp5;
15551 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15552 }
15553 }
15554 if (obj5) {
15555 ecode6 = SWIG_AsVal_long(obj5, &val6);
15556 if (!SWIG_IsOK(ecode6)) {
15557 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15558 }
15559 arg6 = static_cast< long >(val6);
15560 }
15561 if (obj6) {
15562 {
15563 arg7 = wxString_in_helper(obj6);
15564 if (arg7 == NULL) SWIG_fail;
15565 temp7 = true;
15566 }
15567 }
15568 {
15569 PyThreadState* __tstate = wxPyBeginAllowThreads();
15570 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15571 wxPyEndAllowThreads(__tstate);
15572 if (PyErr_Occurred()) SWIG_fail;
15573 }
15574 {
15575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15576 }
15577 {
15578 if (temp7)
15579 delete arg7;
15580 }
15581 return resultobj;
15582 fail:
15583 {
15584 if (temp7)
15585 delete arg7;
15586 }
15587 return NULL;
15588 }
15589
15590
15591 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15592 PyObject *resultobj = 0;
15593 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15594 size_t arg2 ;
15595 void *argp1 = 0 ;
15596 int res1 = 0 ;
15597 size_t val2 ;
15598 int ecode2 = 0 ;
15599 PyObject * obj0 = 0 ;
15600 PyObject * obj1 = 0 ;
15601 char * kwnames[] = {
15602 (char *) "self",(char *) "count", NULL
15603 };
15604
15605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15607 if (!SWIG_IsOK(res1)) {
15608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15609 }
15610 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15611 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15612 if (!SWIG_IsOK(ecode2)) {
15613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15614 }
15615 arg2 = static_cast< size_t >(val2);
15616 {
15617 PyThreadState* __tstate = wxPyBeginAllowThreads();
15618 (arg1)->SetItemCount(arg2);
15619 wxPyEndAllowThreads(__tstate);
15620 if (PyErr_Occurred()) SWIG_fail;
15621 }
15622 resultobj = SWIG_Py_Void();
15623 return resultobj;
15624 fail:
15625 return NULL;
15626 }
15627
15628
15629 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15630 PyObject *resultobj = 0;
15631 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15632 wxFileSystem *result = 0 ;
15633 void *argp1 = 0 ;
15634 int res1 = 0 ;
15635 PyObject *swig_obj[1] ;
15636
15637 if (!args) SWIG_fail;
15638 swig_obj[0] = args;
15639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15640 if (!SWIG_IsOK(res1)) {
15641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15642 }
15643 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15644 {
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 {
15647 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15648 result = (wxFileSystem *) &_result_ref;
15649 }
15650 wxPyEndAllowThreads(__tstate);
15651 if (PyErr_Occurred()) SWIG_fail;
15652 }
15653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15654 return resultobj;
15655 fail:
15656 return NULL;
15657 }
15658
15659
15660 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15661 PyObject *resultobj = 0;
15662 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15663 size_t arg2 ;
15664 wxHtmlLinkInfo *arg3 = 0 ;
15665 void *argp1 = 0 ;
15666 int res1 = 0 ;
15667 size_t val2 ;
15668 int ecode2 = 0 ;
15669 void *argp3 = 0 ;
15670 int res3 = 0 ;
15671 PyObject * obj0 = 0 ;
15672 PyObject * obj1 = 0 ;
15673 PyObject * obj2 = 0 ;
15674 char * kwnames[] = {
15675 (char *) "self",(char *) "n",(char *) "link", NULL
15676 };
15677
15678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15680 if (!SWIG_IsOK(res1)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15682 }
15683 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15684 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15685 if (!SWIG_IsOK(ecode2)) {
15686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15687 }
15688 arg2 = static_cast< size_t >(val2);
15689 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15690 if (!SWIG_IsOK(res3)) {
15691 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15692 }
15693 if (!argp3) {
15694 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15695 }
15696 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15697 {
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 resultobj = SWIG_Py_Void();
15704 return resultobj;
15705 fail:
15706 return NULL;
15707 }
15708
15709
15710 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15711 PyObject *obj;
15712 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15713 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15714 return SWIG_Py_Void();
15715 }
15716
15717 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15718 return SWIG_Python_InitShadowInstance(args);
15719 }
15720
15721 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15722 PyObject *resultobj = 0;
15723 wxPyTaskBarIcon *result = 0 ;
15724
15725 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15726 {
15727 if (!wxPyCheckForApp()) SWIG_fail;
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15730 wxPyEndAllowThreads(__tstate);
15731 if (PyErr_Occurred()) SWIG_fail;
15732 }
15733 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15734 return resultobj;
15735 fail:
15736 return NULL;
15737 }
15738
15739
15740 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15741 PyObject *resultobj = 0;
15742 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15743 void *argp1 = 0 ;
15744 int res1 = 0 ;
15745 PyObject *swig_obj[1] ;
15746
15747 if (!args) SWIG_fail;
15748 swig_obj[0] = args;
15749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15750 if (!SWIG_IsOK(res1)) {
15751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15752 }
15753 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 delete arg1;
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 resultobj = SWIG_Py_Void();
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj = 0;
15770 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15771 PyObject *arg2 = (PyObject *) 0 ;
15772 PyObject *arg3 = (PyObject *) 0 ;
15773 int arg4 ;
15774 void *argp1 = 0 ;
15775 int res1 = 0 ;
15776 int val4 ;
15777 int ecode4 = 0 ;
15778 PyObject * obj0 = 0 ;
15779 PyObject * obj1 = 0 ;
15780 PyObject * obj2 = 0 ;
15781 PyObject * obj3 = 0 ;
15782 char * kwnames[] = {
15783 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15784 };
15785
15786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15788 if (!SWIG_IsOK(res1)) {
15789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15790 }
15791 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15792 arg2 = obj1;
15793 arg3 = obj2;
15794 ecode4 = SWIG_AsVal_int(obj3, &val4);
15795 if (!SWIG_IsOK(ecode4)) {
15796 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15797 }
15798 arg4 = static_cast< int >(val4);
15799 {
15800 PyThreadState* __tstate = wxPyBeginAllowThreads();
15801 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15802 wxPyEndAllowThreads(__tstate);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 }
15805 resultobj = SWIG_Py_Void();
15806 return resultobj;
15807 fail:
15808 return NULL;
15809 }
15810
15811
15812 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15813 PyObject *resultobj = 0;
15814 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15815 void *argp1 = 0 ;
15816 int res1 = 0 ;
15817 PyObject *swig_obj[1] ;
15818
15819 if (!args) SWIG_fail;
15820 swig_obj[0] = args;
15821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15822 if (!SWIG_IsOK(res1)) {
15823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15824 }
15825 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 wxPyTaskBarIcon_Destroy(arg1);
15829 wxPyEndAllowThreads(__tstate);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 }
15832 resultobj = SWIG_Py_Void();
15833 return resultobj;
15834 fail:
15835 return NULL;
15836 }
15837
15838
15839 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15840 PyObject *resultobj = 0;
15841 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15842 bool result;
15843 void *argp1 = 0 ;
15844 int res1 = 0 ;
15845 PyObject *swig_obj[1] ;
15846
15847 if (!args) SWIG_fail;
15848 swig_obj[0] = args;
15849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15850 if (!SWIG_IsOK(res1)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15852 }
15853 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15854 {
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 {
15861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15862 }
15863 return resultobj;
15864 fail:
15865 return NULL;
15866 }
15867
15868
15869 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15870 PyObject *resultobj = 0;
15871 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15872 bool result;
15873 void *argp1 = 0 ;
15874 int res1 = 0 ;
15875 PyObject *swig_obj[1] ;
15876
15877 if (!args) SWIG_fail;
15878 swig_obj[0] = args;
15879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15880 if (!SWIG_IsOK(res1)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15882 }
15883 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15884 {
15885 PyThreadState* __tstate = wxPyBeginAllowThreads();
15886 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15887 wxPyEndAllowThreads(__tstate);
15888 if (PyErr_Occurred()) SWIG_fail;
15889 }
15890 {
15891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15892 }
15893 return resultobj;
15894 fail:
15895 return NULL;
15896 }
15897
15898
15899 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15900 PyObject *resultobj = 0;
15901 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15902 wxIcon *arg2 = 0 ;
15903 wxString const &arg3_defvalue = wxPyEmptyString ;
15904 wxString *arg3 = (wxString *) &arg3_defvalue ;
15905 bool result;
15906 void *argp1 = 0 ;
15907 int res1 = 0 ;
15908 void *argp2 = 0 ;
15909 int res2 = 0 ;
15910 bool temp3 = false ;
15911 PyObject * obj0 = 0 ;
15912 PyObject * obj1 = 0 ;
15913 PyObject * obj2 = 0 ;
15914 char * kwnames[] = {
15915 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15916 };
15917
15918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15920 if (!SWIG_IsOK(res1)) {
15921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15922 }
15923 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15924 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15925 if (!SWIG_IsOK(res2)) {
15926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15927 }
15928 if (!argp2) {
15929 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15930 }
15931 arg2 = reinterpret_cast< wxIcon * >(argp2);
15932 if (obj2) {
15933 {
15934 arg3 = wxString_in_helper(obj2);
15935 if (arg3 == NULL) SWIG_fail;
15936 temp3 = true;
15937 }
15938 }
15939 {
15940 PyThreadState* __tstate = wxPyBeginAllowThreads();
15941 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 {
15946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15947 }
15948 {
15949 if (temp3)
15950 delete arg3;
15951 }
15952 return resultobj;
15953 fail:
15954 {
15955 if (temp3)
15956 delete arg3;
15957 }
15958 return NULL;
15959 }
15960
15961
15962 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15963 PyObject *resultobj = 0;
15964 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15965 bool result;
15966 void *argp1 = 0 ;
15967 int res1 = 0 ;
15968 PyObject *swig_obj[1] ;
15969
15970 if (!args) SWIG_fail;
15971 swig_obj[0] = args;
15972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15973 if (!SWIG_IsOK(res1)) {
15974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15975 }
15976 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15977 {
15978 PyThreadState* __tstate = wxPyBeginAllowThreads();
15979 result = (bool)(arg1)->RemoveIcon();
15980 wxPyEndAllowThreads(__tstate);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 {
15984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15985 }
15986 return resultobj;
15987 fail:
15988 return NULL;
15989 }
15990
15991
15992 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15993 PyObject *resultobj = 0;
15994 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15995 wxMenu *arg2 = (wxMenu *) 0 ;
15996 bool result;
15997 void *argp1 = 0 ;
15998 int res1 = 0 ;
15999 void *argp2 = 0 ;
16000 int res2 = 0 ;
16001 PyObject * obj0 = 0 ;
16002 PyObject * obj1 = 0 ;
16003 char * kwnames[] = {
16004 (char *) "self",(char *) "menu", NULL
16005 };
16006
16007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16009 if (!SWIG_IsOK(res1)) {
16010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16011 }
16012 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16013 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16014 if (!SWIG_IsOK(res2)) {
16015 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16016 }
16017 arg2 = reinterpret_cast< wxMenu * >(argp2);
16018 {
16019 PyThreadState* __tstate = wxPyBeginAllowThreads();
16020 result = (bool)(arg1)->PopupMenu(arg2);
16021 wxPyEndAllowThreads(__tstate);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 {
16025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16026 }
16027 return resultobj;
16028 fail:
16029 return NULL;
16030 }
16031
16032
16033 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16034 PyObject *obj;
16035 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16036 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16037 return SWIG_Py_Void();
16038 }
16039
16040 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16041 return SWIG_Python_InitShadowInstance(args);
16042 }
16043
16044 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16045 PyObject *resultobj = 0;
16046 wxEventType arg1 ;
16047 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16048 wxTaskBarIconEvent *result = 0 ;
16049 int val1 ;
16050 int ecode1 = 0 ;
16051 void *argp2 = 0 ;
16052 int res2 = 0 ;
16053 PyObject * obj0 = 0 ;
16054 PyObject * obj1 = 0 ;
16055 char * kwnames[] = {
16056 (char *) "evtType",(char *) "tbIcon", NULL
16057 };
16058
16059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16060 ecode1 = SWIG_AsVal_int(obj0, &val1);
16061 if (!SWIG_IsOK(ecode1)) {
16062 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16063 }
16064 arg1 = static_cast< wxEventType >(val1);
16065 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16066 if (!SWIG_IsOK(res2)) {
16067 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16068 }
16069 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16073 wxPyEndAllowThreads(__tstate);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16077 return resultobj;
16078 fail:
16079 return NULL;
16080 }
16081
16082
16083 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16084 PyObject *obj;
16085 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16086 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16087 return SWIG_Py_Void();
16088 }
16089
16090 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16091 return SWIG_Python_InitShadowInstance(args);
16092 }
16093
16094 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16095 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16096 return 1;
16097 }
16098
16099
16100 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16101 PyObject *pyobj = 0;
16102
16103 {
16104 #if wxUSE_UNICODE
16105 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16106 #else
16107 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16108 #endif
16109 }
16110 return pyobj;
16111 }
16112
16113
16114 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16115 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16116 return 1;
16117 }
16118
16119
16120 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16121 PyObject *pyobj = 0;
16122
16123 {
16124 #if wxUSE_UNICODE
16125 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16126 #else
16127 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16128 #endif
16129 }
16130 return pyobj;
16131 }
16132
16133
16134 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16135 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16136 return 1;
16137 }
16138
16139
16140 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16141 PyObject *pyobj = 0;
16142
16143 {
16144 #if wxUSE_UNICODE
16145 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16146 #else
16147 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16148 #endif
16149 }
16150 return pyobj;
16151 }
16152
16153
16154 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16155 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16156 return 1;
16157 }
16158
16159
16160 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16161 PyObject *pyobj = 0;
16162
16163 {
16164 #if wxUSE_UNICODE
16165 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16166 #else
16167 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16168 #endif
16169 }
16170 return pyobj;
16171 }
16172
16173
16174 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16175 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16176 return 1;
16177 }
16178
16179
16180 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16181 PyObject *pyobj = 0;
16182
16183 {
16184 #if wxUSE_UNICODE
16185 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16186 #else
16187 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16188 #endif
16189 }
16190 return pyobj;
16191 }
16192
16193
16194 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16195 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16196 return 1;
16197 }
16198
16199
16200 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16201 PyObject *pyobj = 0;
16202
16203 {
16204 #if wxUSE_UNICODE
16205 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16206 #else
16207 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16208 #endif
16209 }
16210 return pyobj;
16211 }
16212
16213
16214 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16215 PyObject *resultobj = 0;
16216 wxColourData *result = 0 ;
16217
16218 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16219 {
16220 PyThreadState* __tstate = wxPyBeginAllowThreads();
16221 result = (wxColourData *)new wxColourData();
16222 wxPyEndAllowThreads(__tstate);
16223 if (PyErr_Occurred()) SWIG_fail;
16224 }
16225 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16226 return resultobj;
16227 fail:
16228 return NULL;
16229 }
16230
16231
16232 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16233 PyObject *resultobj = 0;
16234 wxColourData *arg1 = (wxColourData *) 0 ;
16235 void *argp1 = 0 ;
16236 int res1 = 0 ;
16237 PyObject *swig_obj[1] ;
16238
16239 if (!args) SWIG_fail;
16240 swig_obj[0] = args;
16241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16242 if (!SWIG_IsOK(res1)) {
16243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16244 }
16245 arg1 = reinterpret_cast< wxColourData * >(argp1);
16246 {
16247 PyThreadState* __tstate = wxPyBeginAllowThreads();
16248 delete arg1;
16249
16250 wxPyEndAllowThreads(__tstate);
16251 if (PyErr_Occurred()) SWIG_fail;
16252 }
16253 resultobj = SWIG_Py_Void();
16254 return resultobj;
16255 fail:
16256 return NULL;
16257 }
16258
16259
16260 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16261 PyObject *resultobj = 0;
16262 wxColourData *arg1 = (wxColourData *) 0 ;
16263 bool result;
16264 void *argp1 = 0 ;
16265 int res1 = 0 ;
16266 PyObject *swig_obj[1] ;
16267
16268 if (!args) SWIG_fail;
16269 swig_obj[0] = args;
16270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16271 if (!SWIG_IsOK(res1)) {
16272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16273 }
16274 arg1 = reinterpret_cast< wxColourData * >(argp1);
16275 {
16276 PyThreadState* __tstate = wxPyBeginAllowThreads();
16277 result = (bool)(arg1)->GetChooseFull();
16278 wxPyEndAllowThreads(__tstate);
16279 if (PyErr_Occurred()) SWIG_fail;
16280 }
16281 {
16282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16283 }
16284 return resultobj;
16285 fail:
16286 return NULL;
16287 }
16288
16289
16290 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16291 PyObject *resultobj = 0;
16292 wxColourData *arg1 = (wxColourData *) 0 ;
16293 wxColour result;
16294 void *argp1 = 0 ;
16295 int res1 = 0 ;
16296 PyObject *swig_obj[1] ;
16297
16298 if (!args) SWIG_fail;
16299 swig_obj[0] = args;
16300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16301 if (!SWIG_IsOK(res1)) {
16302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16303 }
16304 arg1 = reinterpret_cast< wxColourData * >(argp1);
16305 {
16306 PyThreadState* __tstate = wxPyBeginAllowThreads();
16307 result = (arg1)->GetColour();
16308 wxPyEndAllowThreads(__tstate);
16309 if (PyErr_Occurred()) SWIG_fail;
16310 }
16311 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16312 return resultobj;
16313 fail:
16314 return NULL;
16315 }
16316
16317
16318 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16319 PyObject *resultobj = 0;
16320 wxColourData *arg1 = (wxColourData *) 0 ;
16321 int arg2 ;
16322 wxColour result;
16323 void *argp1 = 0 ;
16324 int res1 = 0 ;
16325 int val2 ;
16326 int ecode2 = 0 ;
16327 PyObject * obj0 = 0 ;
16328 PyObject * obj1 = 0 ;
16329 char * kwnames[] = {
16330 (char *) "self",(char *) "i", NULL
16331 };
16332
16333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16335 if (!SWIG_IsOK(res1)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16337 }
16338 arg1 = reinterpret_cast< wxColourData * >(argp1);
16339 ecode2 = SWIG_AsVal_int(obj1, &val2);
16340 if (!SWIG_IsOK(ecode2)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16342 }
16343 arg2 = static_cast< int >(val2);
16344 {
16345 PyThreadState* __tstate = wxPyBeginAllowThreads();
16346 result = (arg1)->GetCustomColour(arg2);
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
16350 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16351 return resultobj;
16352 fail:
16353 return NULL;
16354 }
16355
16356
16357 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj = 0;
16359 wxColourData *arg1 = (wxColourData *) 0 ;
16360 int arg2 ;
16361 void *argp1 = 0 ;
16362 int res1 = 0 ;
16363 int val2 ;
16364 int ecode2 = 0 ;
16365 PyObject * obj0 = 0 ;
16366 PyObject * obj1 = 0 ;
16367 char * kwnames[] = {
16368 (char *) "self",(char *) "flag", NULL
16369 };
16370
16371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16373 if (!SWIG_IsOK(res1)) {
16374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16375 }
16376 arg1 = reinterpret_cast< wxColourData * >(argp1);
16377 ecode2 = SWIG_AsVal_int(obj1, &val2);
16378 if (!SWIG_IsOK(ecode2)) {
16379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16380 }
16381 arg2 = static_cast< int >(val2);
16382 {
16383 PyThreadState* __tstate = wxPyBeginAllowThreads();
16384 (arg1)->SetChooseFull(arg2);
16385 wxPyEndAllowThreads(__tstate);
16386 if (PyErr_Occurred()) SWIG_fail;
16387 }
16388 resultobj = SWIG_Py_Void();
16389 return resultobj;
16390 fail:
16391 return NULL;
16392 }
16393
16394
16395 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16396 PyObject *resultobj = 0;
16397 wxColourData *arg1 = (wxColourData *) 0 ;
16398 wxColour *arg2 = 0 ;
16399 void *argp1 = 0 ;
16400 int res1 = 0 ;
16401 wxColour temp2 ;
16402 PyObject * obj0 = 0 ;
16403 PyObject * obj1 = 0 ;
16404 char * kwnames[] = {
16405 (char *) "self",(char *) "colour", NULL
16406 };
16407
16408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16410 if (!SWIG_IsOK(res1)) {
16411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16412 }
16413 arg1 = reinterpret_cast< wxColourData * >(argp1);
16414 {
16415 arg2 = &temp2;
16416 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16417 }
16418 {
16419 PyThreadState* __tstate = wxPyBeginAllowThreads();
16420 (arg1)->SetColour((wxColour const &)*arg2);
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 resultobj = SWIG_Py_Void();
16425 return resultobj;
16426 fail:
16427 return NULL;
16428 }
16429
16430
16431 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16432 PyObject *resultobj = 0;
16433 wxColourData *arg1 = (wxColourData *) 0 ;
16434 int arg2 ;
16435 wxColour *arg3 = 0 ;
16436 void *argp1 = 0 ;
16437 int res1 = 0 ;
16438 int val2 ;
16439 int ecode2 = 0 ;
16440 wxColour temp3 ;
16441 PyObject * obj0 = 0 ;
16442 PyObject * obj1 = 0 ;
16443 PyObject * obj2 = 0 ;
16444 char * kwnames[] = {
16445 (char *) "self",(char *) "i",(char *) "colour", NULL
16446 };
16447
16448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16450 if (!SWIG_IsOK(res1)) {
16451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16452 }
16453 arg1 = reinterpret_cast< wxColourData * >(argp1);
16454 ecode2 = SWIG_AsVal_int(obj1, &val2);
16455 if (!SWIG_IsOK(ecode2)) {
16456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16457 }
16458 arg2 = static_cast< int >(val2);
16459 {
16460 arg3 = &temp3;
16461 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16462 }
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 resultobj = SWIG_Py_Void();
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16477 PyObject *obj;
16478 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16479 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16480 return SWIG_Py_Void();
16481 }
16482
16483 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16484 return SWIG_Python_InitShadowInstance(args);
16485 }
16486
16487 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16488 PyObject *resultobj = 0;
16489 wxWindow *arg1 = (wxWindow *) 0 ;
16490 wxColourData *arg2 = (wxColourData *) NULL ;
16491 wxColourDialog *result = 0 ;
16492 void *argp1 = 0 ;
16493 int res1 = 0 ;
16494 void *argp2 = 0 ;
16495 int res2 = 0 ;
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 char * kwnames[] = {
16499 (char *) "parent",(char *) "data", NULL
16500 };
16501
16502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16504 if (!SWIG_IsOK(res1)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16506 }
16507 arg1 = reinterpret_cast< wxWindow * >(argp1);
16508 if (obj1) {
16509 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16510 if (!SWIG_IsOK(res2)) {
16511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16512 }
16513 arg2 = reinterpret_cast< wxColourData * >(argp2);
16514 }
16515 {
16516 if (!wxPyCheckForApp()) SWIG_fail;
16517 PyThreadState* __tstate = wxPyBeginAllowThreads();
16518 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16530 PyObject *resultobj = 0;
16531 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16532 wxColourData *result = 0 ;
16533 void *argp1 = 0 ;
16534 int res1 = 0 ;
16535 PyObject *swig_obj[1] ;
16536
16537 if (!args) SWIG_fail;
16538 swig_obj[0] = args;
16539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16540 if (!SWIG_IsOK(res1)) {
16541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16542 }
16543 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16544 {
16545 PyThreadState* __tstate = wxPyBeginAllowThreads();
16546 {
16547 wxColourData &_result_ref = (arg1)->GetColourData();
16548 result = (wxColourData *) &_result_ref;
16549 }
16550 wxPyEndAllowThreads(__tstate);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 }
16553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16554 return resultobj;
16555 fail:
16556 return NULL;
16557 }
16558
16559
16560 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16561 PyObject *obj;
16562 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16563 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16564 return SWIG_Py_Void();
16565 }
16566
16567 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16568 return SWIG_Python_InitShadowInstance(args);
16569 }
16570
16571 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16572 PyObject *resultobj = 0;
16573 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16574 wxColour const &arg2_defvalue = wxNullColour ;
16575 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16576 wxString const &arg3_defvalue = wxPyEmptyString ;
16577 wxString *arg3 = (wxString *) &arg3_defvalue ;
16578 wxColour result;
16579 void *argp1 = 0 ;
16580 int res1 = 0 ;
16581 wxColour temp2 ;
16582 bool temp3 = false ;
16583 PyObject * obj0 = 0 ;
16584 PyObject * obj1 = 0 ;
16585 PyObject * obj2 = 0 ;
16586 char * kwnames[] = {
16587 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16588 };
16589
16590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16591 if (obj0) {
16592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16593 if (!SWIG_IsOK(res1)) {
16594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16595 }
16596 arg1 = reinterpret_cast< wxWindow * >(argp1);
16597 }
16598 if (obj1) {
16599 {
16600 arg2 = &temp2;
16601 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16602 }
16603 }
16604 if (obj2) {
16605 {
16606 arg3 = wxString_in_helper(obj2);
16607 if (arg3 == NULL) SWIG_fail;
16608 temp3 = true;
16609 }
16610 }
16611 {
16612 PyThreadState* __tstate = wxPyBeginAllowThreads();
16613 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16614 wxPyEndAllowThreads(__tstate);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
16617 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16618 {
16619 if (temp3)
16620 delete arg3;
16621 }
16622 return resultobj;
16623 fail:
16624 {
16625 if (temp3)
16626 delete arg3;
16627 }
16628 return NULL;
16629 }
16630
16631
16632 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16633 PyObject *resultobj = 0;
16634 wxWindow *arg1 = (wxWindow *) 0 ;
16635 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16636 wxString *arg2 = (wxString *) &arg2_defvalue ;
16637 wxString const &arg3_defvalue = wxPyEmptyString ;
16638 wxString *arg3 = (wxString *) &arg3_defvalue ;
16639 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16640 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16641 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16642 wxSize const &arg6_defvalue = wxDefaultSize ;
16643 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16644 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16645 wxString *arg7 = (wxString *) &arg7_defvalue ;
16646 wxDirDialog *result = 0 ;
16647 void *argp1 = 0 ;
16648 int res1 = 0 ;
16649 bool temp2 = false ;
16650 bool temp3 = false ;
16651 long val4 ;
16652 int ecode4 = 0 ;
16653 wxPoint temp5 ;
16654 wxSize temp6 ;
16655 bool temp7 = false ;
16656 PyObject * obj0 = 0 ;
16657 PyObject * obj1 = 0 ;
16658 PyObject * obj2 = 0 ;
16659 PyObject * obj3 = 0 ;
16660 PyObject * obj4 = 0 ;
16661 PyObject * obj5 = 0 ;
16662 PyObject * obj6 = 0 ;
16663 char * kwnames[] = {
16664 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16665 };
16666
16667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16669 if (!SWIG_IsOK(res1)) {
16670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16671 }
16672 arg1 = reinterpret_cast< wxWindow * >(argp1);
16673 if (obj1) {
16674 {
16675 arg2 = wxString_in_helper(obj1);
16676 if (arg2 == NULL) SWIG_fail;
16677 temp2 = true;
16678 }
16679 }
16680 if (obj2) {
16681 {
16682 arg3 = wxString_in_helper(obj2);
16683 if (arg3 == NULL) SWIG_fail;
16684 temp3 = true;
16685 }
16686 }
16687 if (obj3) {
16688 ecode4 = SWIG_AsVal_long(obj3, &val4);
16689 if (!SWIG_IsOK(ecode4)) {
16690 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16691 }
16692 arg4 = static_cast< long >(val4);
16693 }
16694 if (obj4) {
16695 {
16696 arg5 = &temp5;
16697 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16698 }
16699 }
16700 if (obj5) {
16701 {
16702 arg6 = &temp6;
16703 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16704 }
16705 }
16706 if (obj6) {
16707 {
16708 arg7 = wxString_in_helper(obj6);
16709 if (arg7 == NULL) SWIG_fail;
16710 temp7 = true;
16711 }
16712 }
16713 {
16714 if (!wxPyCheckForApp()) SWIG_fail;
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16717 wxPyEndAllowThreads(__tstate);
16718 if (PyErr_Occurred()) SWIG_fail;
16719 }
16720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16721 {
16722 if (temp2)
16723 delete arg2;
16724 }
16725 {
16726 if (temp3)
16727 delete arg3;
16728 }
16729 {
16730 if (temp7)
16731 delete arg7;
16732 }
16733 return resultobj;
16734 fail:
16735 {
16736 if (temp2)
16737 delete arg2;
16738 }
16739 {
16740 if (temp3)
16741 delete arg3;
16742 }
16743 {
16744 if (temp7)
16745 delete arg7;
16746 }
16747 return NULL;
16748 }
16749
16750
16751 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16752 PyObject *resultobj = 0;
16753 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16754 wxString result;
16755 void *argp1 = 0 ;
16756 int res1 = 0 ;
16757 PyObject *swig_obj[1] ;
16758
16759 if (!args) SWIG_fail;
16760 swig_obj[0] = args;
16761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16762 if (!SWIG_IsOK(res1)) {
16763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16764 }
16765 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16766 {
16767 PyThreadState* __tstate = wxPyBeginAllowThreads();
16768 result = (arg1)->GetPath();
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
16772 {
16773 #if wxUSE_UNICODE
16774 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16775 #else
16776 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16777 #endif
16778 }
16779 return resultobj;
16780 fail:
16781 return NULL;
16782 }
16783
16784
16785 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16786 PyObject *resultobj = 0;
16787 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16788 wxString result;
16789 void *argp1 = 0 ;
16790 int res1 = 0 ;
16791 PyObject *swig_obj[1] ;
16792
16793 if (!args) SWIG_fail;
16794 swig_obj[0] = args;
16795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16796 if (!SWIG_IsOK(res1)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16798 }
16799 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16800 {
16801 PyThreadState* __tstate = wxPyBeginAllowThreads();
16802 result = (arg1)->GetMessage();
16803 wxPyEndAllowThreads(__tstate);
16804 if (PyErr_Occurred()) SWIG_fail;
16805 }
16806 {
16807 #if wxUSE_UNICODE
16808 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16809 #else
16810 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16811 #endif
16812 }
16813 return resultobj;
16814 fail:
16815 return NULL;
16816 }
16817
16818
16819 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16820 PyObject *resultobj = 0;
16821 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16822 wxString *arg2 = 0 ;
16823 void *argp1 = 0 ;
16824 int res1 = 0 ;
16825 bool temp2 = false ;
16826 PyObject * obj0 = 0 ;
16827 PyObject * obj1 = 0 ;
16828 char * kwnames[] = {
16829 (char *) "self",(char *) "message", NULL
16830 };
16831
16832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16834 if (!SWIG_IsOK(res1)) {
16835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16836 }
16837 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16838 {
16839 arg2 = wxString_in_helper(obj1);
16840 if (arg2 == NULL) SWIG_fail;
16841 temp2 = true;
16842 }
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 (arg1)->SetMessage((wxString const &)*arg2);
16846 wxPyEndAllowThreads(__tstate);
16847 if (PyErr_Occurred()) SWIG_fail;
16848 }
16849 resultobj = SWIG_Py_Void();
16850 {
16851 if (temp2)
16852 delete arg2;
16853 }
16854 return resultobj;
16855 fail:
16856 {
16857 if (temp2)
16858 delete arg2;
16859 }
16860 return NULL;
16861 }
16862
16863
16864 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16865 PyObject *resultobj = 0;
16866 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16867 wxString *arg2 = 0 ;
16868 void *argp1 = 0 ;
16869 int res1 = 0 ;
16870 bool temp2 = false ;
16871 PyObject * obj0 = 0 ;
16872 PyObject * obj1 = 0 ;
16873 char * kwnames[] = {
16874 (char *) "self",(char *) "path", NULL
16875 };
16876
16877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16879 if (!SWIG_IsOK(res1)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16881 }
16882 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16883 {
16884 arg2 = wxString_in_helper(obj1);
16885 if (arg2 == NULL) SWIG_fail;
16886 temp2 = true;
16887 }
16888 {
16889 PyThreadState* __tstate = wxPyBeginAllowThreads();
16890 (arg1)->SetPath((wxString const &)*arg2);
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 resultobj = SWIG_Py_Void();
16895 {
16896 if (temp2)
16897 delete arg2;
16898 }
16899 return resultobj;
16900 fail:
16901 {
16902 if (temp2)
16903 delete arg2;
16904 }
16905 return NULL;
16906 }
16907
16908
16909 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16910 PyObject *obj;
16911 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16912 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16913 return SWIG_Py_Void();
16914 }
16915
16916 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16917 return SWIG_Python_InitShadowInstance(args);
16918 }
16919
16920 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16921 PyObject *resultobj = 0;
16922 wxWindow *arg1 = (wxWindow *) 0 ;
16923 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16924 wxString *arg2 = (wxString *) &arg2_defvalue ;
16925 wxString const &arg3_defvalue = wxPyEmptyString ;
16926 wxString *arg3 = (wxString *) &arg3_defvalue ;
16927 wxString const &arg4_defvalue = wxPyEmptyString ;
16928 wxString *arg4 = (wxString *) &arg4_defvalue ;
16929 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16930 wxString *arg5 = (wxString *) &arg5_defvalue ;
16931 long arg6 = (long) wxFD_DEFAULT_STYLE ;
16932 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16933 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16934 wxFileDialog *result = 0 ;
16935 void *argp1 = 0 ;
16936 int res1 = 0 ;
16937 bool temp2 = false ;
16938 bool temp3 = false ;
16939 bool temp4 = false ;
16940 bool temp5 = false ;
16941 long val6 ;
16942 int ecode6 = 0 ;
16943 wxPoint temp7 ;
16944 PyObject * obj0 = 0 ;
16945 PyObject * obj1 = 0 ;
16946 PyObject * obj2 = 0 ;
16947 PyObject * obj3 = 0 ;
16948 PyObject * obj4 = 0 ;
16949 PyObject * obj5 = 0 ;
16950 PyObject * obj6 = 0 ;
16951 char * kwnames[] = {
16952 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16953 };
16954
16955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16957 if (!SWIG_IsOK(res1)) {
16958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16959 }
16960 arg1 = reinterpret_cast< wxWindow * >(argp1);
16961 if (obj1) {
16962 {
16963 arg2 = wxString_in_helper(obj1);
16964 if (arg2 == NULL) SWIG_fail;
16965 temp2 = true;
16966 }
16967 }
16968 if (obj2) {
16969 {
16970 arg3 = wxString_in_helper(obj2);
16971 if (arg3 == NULL) SWIG_fail;
16972 temp3 = true;
16973 }
16974 }
16975 if (obj3) {
16976 {
16977 arg4 = wxString_in_helper(obj3);
16978 if (arg4 == NULL) SWIG_fail;
16979 temp4 = true;
16980 }
16981 }
16982 if (obj4) {
16983 {
16984 arg5 = wxString_in_helper(obj4);
16985 if (arg5 == NULL) SWIG_fail;
16986 temp5 = true;
16987 }
16988 }
16989 if (obj5) {
16990 ecode6 = SWIG_AsVal_long(obj5, &val6);
16991 if (!SWIG_IsOK(ecode6)) {
16992 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16993 }
16994 arg6 = static_cast< long >(val6);
16995 }
16996 if (obj6) {
16997 {
16998 arg7 = &temp7;
16999 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17000 }
17001 }
17002 {
17003 if (!wxPyCheckForApp()) SWIG_fail;
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17006 wxPyEndAllowThreads(__tstate);
17007 if (PyErr_Occurred()) SWIG_fail;
17008 }
17009 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17010 {
17011 if (temp2)
17012 delete arg2;
17013 }
17014 {
17015 if (temp3)
17016 delete arg3;
17017 }
17018 {
17019 if (temp4)
17020 delete arg4;
17021 }
17022 {
17023 if (temp5)
17024 delete arg5;
17025 }
17026 return resultobj;
17027 fail:
17028 {
17029 if (temp2)
17030 delete arg2;
17031 }
17032 {
17033 if (temp3)
17034 delete arg3;
17035 }
17036 {
17037 if (temp4)
17038 delete arg4;
17039 }
17040 {
17041 if (temp5)
17042 delete arg5;
17043 }
17044 return NULL;
17045 }
17046
17047
17048 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj = 0;
17050 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17051 wxString *arg2 = 0 ;
17052 void *argp1 = 0 ;
17053 int res1 = 0 ;
17054 bool temp2 = false ;
17055 PyObject * obj0 = 0 ;
17056 PyObject * obj1 = 0 ;
17057 char * kwnames[] = {
17058 (char *) "self",(char *) "message", NULL
17059 };
17060
17061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17063 if (!SWIG_IsOK(res1)) {
17064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17065 }
17066 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17067 {
17068 arg2 = wxString_in_helper(obj1);
17069 if (arg2 == NULL) SWIG_fail;
17070 temp2 = true;
17071 }
17072 {
17073 PyThreadState* __tstate = wxPyBeginAllowThreads();
17074 (arg1)->SetMessage((wxString const &)*arg2);
17075 wxPyEndAllowThreads(__tstate);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 resultobj = SWIG_Py_Void();
17079 {
17080 if (temp2)
17081 delete arg2;
17082 }
17083 return resultobj;
17084 fail:
17085 {
17086 if (temp2)
17087 delete arg2;
17088 }
17089 return NULL;
17090 }
17091
17092
17093 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17094 PyObject *resultobj = 0;
17095 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17096 wxString *arg2 = 0 ;
17097 void *argp1 = 0 ;
17098 int res1 = 0 ;
17099 bool temp2 = false ;
17100 PyObject * obj0 = 0 ;
17101 PyObject * obj1 = 0 ;
17102 char * kwnames[] = {
17103 (char *) "self",(char *) "path", NULL
17104 };
17105
17106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17108 if (!SWIG_IsOK(res1)) {
17109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17110 }
17111 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17112 {
17113 arg2 = wxString_in_helper(obj1);
17114 if (arg2 == NULL) SWIG_fail;
17115 temp2 = true;
17116 }
17117 {
17118 PyThreadState* __tstate = wxPyBeginAllowThreads();
17119 (arg1)->SetPath((wxString const &)*arg2);
17120 wxPyEndAllowThreads(__tstate);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 }
17123 resultobj = SWIG_Py_Void();
17124 {
17125 if (temp2)
17126 delete arg2;
17127 }
17128 return resultobj;
17129 fail:
17130 {
17131 if (temp2)
17132 delete arg2;
17133 }
17134 return NULL;
17135 }
17136
17137
17138 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17139 PyObject *resultobj = 0;
17140 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17141 wxString *arg2 = 0 ;
17142 void *argp1 = 0 ;
17143 int res1 = 0 ;
17144 bool temp2 = false ;
17145 PyObject * obj0 = 0 ;
17146 PyObject * obj1 = 0 ;
17147 char * kwnames[] = {
17148 (char *) "self",(char *) "dir", NULL
17149 };
17150
17151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17153 if (!SWIG_IsOK(res1)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17155 }
17156 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17157 {
17158 arg2 = wxString_in_helper(obj1);
17159 if (arg2 == NULL) SWIG_fail;
17160 temp2 = true;
17161 }
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 (arg1)->SetDirectory((wxString const &)*arg2);
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 resultobj = SWIG_Py_Void();
17169 {
17170 if (temp2)
17171 delete arg2;
17172 }
17173 return resultobj;
17174 fail:
17175 {
17176 if (temp2)
17177 delete arg2;
17178 }
17179 return NULL;
17180 }
17181
17182
17183 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17184 PyObject *resultobj = 0;
17185 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17186 wxString *arg2 = 0 ;
17187 void *argp1 = 0 ;
17188 int res1 = 0 ;
17189 bool temp2 = false ;
17190 PyObject * obj0 = 0 ;
17191 PyObject * obj1 = 0 ;
17192 char * kwnames[] = {
17193 (char *) "self",(char *) "name", NULL
17194 };
17195
17196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17198 if (!SWIG_IsOK(res1)) {
17199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17200 }
17201 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17202 {
17203 arg2 = wxString_in_helper(obj1);
17204 if (arg2 == NULL) SWIG_fail;
17205 temp2 = true;
17206 }
17207 {
17208 PyThreadState* __tstate = wxPyBeginAllowThreads();
17209 (arg1)->SetFilename((wxString const &)*arg2);
17210 wxPyEndAllowThreads(__tstate);
17211 if (PyErr_Occurred()) SWIG_fail;
17212 }
17213 resultobj = SWIG_Py_Void();
17214 {
17215 if (temp2)
17216 delete arg2;
17217 }
17218 return resultobj;
17219 fail:
17220 {
17221 if (temp2)
17222 delete arg2;
17223 }
17224 return NULL;
17225 }
17226
17227
17228 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17229 PyObject *resultobj = 0;
17230 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17231 wxString *arg2 = 0 ;
17232 void *argp1 = 0 ;
17233 int res1 = 0 ;
17234 bool temp2 = false ;
17235 PyObject * obj0 = 0 ;
17236 PyObject * obj1 = 0 ;
17237 char * kwnames[] = {
17238 (char *) "self",(char *) "wildCard", NULL
17239 };
17240
17241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17243 if (!SWIG_IsOK(res1)) {
17244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17245 }
17246 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17247 {
17248 arg2 = wxString_in_helper(obj1);
17249 if (arg2 == NULL) SWIG_fail;
17250 temp2 = true;
17251 }
17252 {
17253 PyThreadState* __tstate = wxPyBeginAllowThreads();
17254 (arg1)->SetWildcard((wxString const &)*arg2);
17255 wxPyEndAllowThreads(__tstate);
17256 if (PyErr_Occurred()) SWIG_fail;
17257 }
17258 resultobj = SWIG_Py_Void();
17259 {
17260 if (temp2)
17261 delete arg2;
17262 }
17263 return resultobj;
17264 fail:
17265 {
17266 if (temp2)
17267 delete arg2;
17268 }
17269 return NULL;
17270 }
17271
17272
17273 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17274 PyObject *resultobj = 0;
17275 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17276 int arg2 ;
17277 void *argp1 = 0 ;
17278 int res1 = 0 ;
17279 int val2 ;
17280 int ecode2 = 0 ;
17281 PyObject * obj0 = 0 ;
17282 PyObject * obj1 = 0 ;
17283 char * kwnames[] = {
17284 (char *) "self",(char *) "filterIndex", NULL
17285 };
17286
17287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17289 if (!SWIG_IsOK(res1)) {
17290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17291 }
17292 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17293 ecode2 = SWIG_AsVal_int(obj1, &val2);
17294 if (!SWIG_IsOK(ecode2)) {
17295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17296 }
17297 arg2 = static_cast< int >(val2);
17298 {
17299 PyThreadState* __tstate = wxPyBeginAllowThreads();
17300 (arg1)->SetFilterIndex(arg2);
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
17304 resultobj = SWIG_Py_Void();
17305 return resultobj;
17306 fail:
17307 return NULL;
17308 }
17309
17310
17311 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17312 PyObject *resultobj = 0;
17313 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17314 wxString result;
17315 void *argp1 = 0 ;
17316 int res1 = 0 ;
17317 PyObject *swig_obj[1] ;
17318
17319 if (!args) SWIG_fail;
17320 swig_obj[0] = args;
17321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17322 if (!SWIG_IsOK(res1)) {
17323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17324 }
17325 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
17328 result = ((wxFileDialog const *)arg1)->GetMessage();
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 {
17333 #if wxUSE_UNICODE
17334 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17335 #else
17336 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17337 #endif
17338 }
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17346 PyObject *resultobj = 0;
17347 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17348 wxString result;
17349 void *argp1 = 0 ;
17350 int res1 = 0 ;
17351 PyObject *swig_obj[1] ;
17352
17353 if (!args) SWIG_fail;
17354 swig_obj[0] = args;
17355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17356 if (!SWIG_IsOK(res1)) {
17357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17358 }
17359 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17360 {
17361 PyThreadState* __tstate = wxPyBeginAllowThreads();
17362 result = ((wxFileDialog const *)arg1)->GetPath();
17363 wxPyEndAllowThreads(__tstate);
17364 if (PyErr_Occurred()) SWIG_fail;
17365 }
17366 {
17367 #if wxUSE_UNICODE
17368 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17369 #else
17370 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17371 #endif
17372 }
17373 return resultobj;
17374 fail:
17375 return NULL;
17376 }
17377
17378
17379 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17380 PyObject *resultobj = 0;
17381 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17382 wxString result;
17383 void *argp1 = 0 ;
17384 int res1 = 0 ;
17385 PyObject *swig_obj[1] ;
17386
17387 if (!args) SWIG_fail;
17388 swig_obj[0] = args;
17389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17390 if (!SWIG_IsOK(res1)) {
17391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17392 }
17393 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17394 {
17395 PyThreadState* __tstate = wxPyBeginAllowThreads();
17396 result = ((wxFileDialog const *)arg1)->GetDirectory();
17397 wxPyEndAllowThreads(__tstate);
17398 if (PyErr_Occurred()) SWIG_fail;
17399 }
17400 {
17401 #if wxUSE_UNICODE
17402 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17403 #else
17404 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17405 #endif
17406 }
17407 return resultobj;
17408 fail:
17409 return NULL;
17410 }
17411
17412
17413 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17414 PyObject *resultobj = 0;
17415 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17416 wxString result;
17417 void *argp1 = 0 ;
17418 int res1 = 0 ;
17419 PyObject *swig_obj[1] ;
17420
17421 if (!args) SWIG_fail;
17422 swig_obj[0] = args;
17423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17424 if (!SWIG_IsOK(res1)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17426 }
17427 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = ((wxFileDialog const *)arg1)->GetFilename();
17431 wxPyEndAllowThreads(__tstate);
17432 if (PyErr_Occurred()) SWIG_fail;
17433 }
17434 {
17435 #if wxUSE_UNICODE
17436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17437 #else
17438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17439 #endif
17440 }
17441 return resultobj;
17442 fail:
17443 return NULL;
17444 }
17445
17446
17447 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17448 PyObject *resultobj = 0;
17449 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17450 wxString result;
17451 void *argp1 = 0 ;
17452 int res1 = 0 ;
17453 PyObject *swig_obj[1] ;
17454
17455 if (!args) SWIG_fail;
17456 swig_obj[0] = args;
17457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17458 if (!SWIG_IsOK(res1)) {
17459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17460 }
17461 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17462 {
17463 PyThreadState* __tstate = wxPyBeginAllowThreads();
17464 result = ((wxFileDialog const *)arg1)->GetWildcard();
17465 wxPyEndAllowThreads(__tstate);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 }
17468 {
17469 #if wxUSE_UNICODE
17470 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17471 #else
17472 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17473 #endif
17474 }
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17482 PyObject *resultobj = 0;
17483 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17484 int result;
17485 void *argp1 = 0 ;
17486 int res1 = 0 ;
17487 PyObject *swig_obj[1] ;
17488
17489 if (!args) SWIG_fail;
17490 swig_obj[0] = args;
17491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17492 if (!SWIG_IsOK(res1)) {
17493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17494 }
17495 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 resultobj = SWIG_From_int(static_cast< int >(result));
17503 return resultobj;
17504 fail:
17505 return NULL;
17506 }
17507
17508
17509 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17510 PyObject *resultobj = 0;
17511 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17512 PyObject *result = 0 ;
17513 void *argp1 = 0 ;
17514 int res1 = 0 ;
17515 PyObject *swig_obj[1] ;
17516
17517 if (!args) SWIG_fail;
17518 swig_obj[0] = args;
17519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17520 if (!SWIG_IsOK(res1)) {
17521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17522 }
17523 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17527 wxPyEndAllowThreads(__tstate);
17528 if (PyErr_Occurred()) SWIG_fail;
17529 }
17530 resultobj = result;
17531 return resultobj;
17532 fail:
17533 return NULL;
17534 }
17535
17536
17537 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17538 PyObject *resultobj = 0;
17539 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17540 PyObject *result = 0 ;
17541 void *argp1 = 0 ;
17542 int res1 = 0 ;
17543 PyObject *swig_obj[1] ;
17544
17545 if (!args) SWIG_fail;
17546 swig_obj[0] = args;
17547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17548 if (!SWIG_IsOK(res1)) {
17549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17550 }
17551 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17552 {
17553 PyThreadState* __tstate = wxPyBeginAllowThreads();
17554 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17555 wxPyEndAllowThreads(__tstate);
17556 if (PyErr_Occurred()) SWIG_fail;
17557 }
17558 resultobj = result;
17559 return resultobj;
17560 fail:
17561 return NULL;
17562 }
17563
17564
17565 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17566 PyObject *obj;
17567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17568 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17569 return SWIG_Py_Void();
17570 }
17571
17572 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17573 return SWIG_Python_InitShadowInstance(args);
17574 }
17575
17576 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17577 PyObject *resultobj = 0;
17578 wxWindow *arg1 = (wxWindow *) 0 ;
17579 wxString *arg2 = 0 ;
17580 wxString *arg3 = 0 ;
17581 int arg4 = (int) 0 ;
17582 wxString *arg5 = (wxString *) NULL ;
17583 long arg6 = (long) wxCHOICEDLG_STYLE ;
17584 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17585 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17586 wxMultiChoiceDialog *result = 0 ;
17587 void *argp1 = 0 ;
17588 int res1 = 0 ;
17589 bool temp2 = false ;
17590 bool temp3 = false ;
17591 long val6 ;
17592 int ecode6 = 0 ;
17593 wxPoint temp7 ;
17594 PyObject * obj0 = 0 ;
17595 PyObject * obj1 = 0 ;
17596 PyObject * obj2 = 0 ;
17597 PyObject * obj3 = 0 ;
17598 PyObject * obj4 = 0 ;
17599 PyObject * obj5 = 0 ;
17600 char * kwnames[] = {
17601 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17602 };
17603
17604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17606 if (!SWIG_IsOK(res1)) {
17607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17608 }
17609 arg1 = reinterpret_cast< wxWindow * >(argp1);
17610 {
17611 arg2 = wxString_in_helper(obj1);
17612 if (arg2 == NULL) SWIG_fail;
17613 temp2 = true;
17614 }
17615 {
17616 arg3 = wxString_in_helper(obj2);
17617 if (arg3 == NULL) SWIG_fail;
17618 temp3 = true;
17619 }
17620 if (obj3) {
17621 {
17622 arg4 = PyList_Size(obj3);
17623 arg5 = wxString_LIST_helper(obj3);
17624 if (arg5 == NULL) SWIG_fail;
17625 }
17626 }
17627 if (obj4) {
17628 ecode6 = SWIG_AsVal_long(obj4, &val6);
17629 if (!SWIG_IsOK(ecode6)) {
17630 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17631 }
17632 arg6 = static_cast< long >(val6);
17633 }
17634 if (obj5) {
17635 {
17636 arg7 = &temp7;
17637 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17638 }
17639 }
17640 {
17641 if (!wxPyCheckForApp()) SWIG_fail;
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17644 wxPyEndAllowThreads(__tstate);
17645 if (PyErr_Occurred()) SWIG_fail;
17646 }
17647 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17648 {
17649 if (temp2)
17650 delete arg2;
17651 }
17652 {
17653 if (temp3)
17654 delete arg3;
17655 }
17656 {
17657 if (arg5) delete [] arg5;
17658 }
17659 return resultobj;
17660 fail:
17661 {
17662 if (temp2)
17663 delete arg2;
17664 }
17665 {
17666 if (temp3)
17667 delete arg3;
17668 }
17669 {
17670 if (arg5) delete [] arg5;
17671 }
17672 return NULL;
17673 }
17674
17675
17676 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17677 PyObject *resultobj = 0;
17678 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17679 wxArrayInt *arg2 = 0 ;
17680 void *argp1 = 0 ;
17681 int res1 = 0 ;
17682 bool temp2 = false ;
17683 PyObject * obj0 = 0 ;
17684 PyObject * obj1 = 0 ;
17685 char * kwnames[] = {
17686 (char *) "self",(char *) "selections", NULL
17687 };
17688
17689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17691 if (!SWIG_IsOK(res1)) {
17692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17693 }
17694 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17695 {
17696 if (! PySequence_Check(obj1)) {
17697 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17698 SWIG_fail;
17699 }
17700 arg2 = new wxArrayInt;
17701 temp2 = true;
17702 int i, len=PySequence_Length(obj1);
17703 for (i=0; i<len; i++) {
17704 PyObject* item = PySequence_GetItem(obj1, i);
17705 PyObject* number = PyNumber_Int(item);
17706 arg2->Add(PyInt_AS_LONG(number));
17707 Py_DECREF(item);
17708 Py_DECREF(number);
17709 }
17710 }
17711 {
17712 PyThreadState* __tstate = wxPyBeginAllowThreads();
17713 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 resultobj = SWIG_Py_Void();
17718 {
17719 if (temp2) delete arg2;
17720 }
17721 return resultobj;
17722 fail:
17723 {
17724 if (temp2) delete arg2;
17725 }
17726 return NULL;
17727 }
17728
17729
17730 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17731 PyObject *resultobj = 0;
17732 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17733 PyObject *result = 0 ;
17734 void *argp1 = 0 ;
17735 int res1 = 0 ;
17736 PyObject *swig_obj[1] ;
17737
17738 if (!args) SWIG_fail;
17739 swig_obj[0] = args;
17740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17741 if (!SWIG_IsOK(res1)) {
17742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17743 }
17744 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17745 {
17746 PyThreadState* __tstate = wxPyBeginAllowThreads();
17747 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17748 wxPyEndAllowThreads(__tstate);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 resultobj = result;
17752 return resultobj;
17753 fail:
17754 return NULL;
17755 }
17756
17757
17758 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17759 PyObject *obj;
17760 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17761 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17762 return SWIG_Py_Void();
17763 }
17764
17765 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17766 return SWIG_Python_InitShadowInstance(args);
17767 }
17768
17769 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17770 PyObject *resultobj = 0;
17771 wxWindow *arg1 = (wxWindow *) 0 ;
17772 wxString *arg2 = 0 ;
17773 wxString *arg3 = 0 ;
17774 int arg4 ;
17775 wxString *arg5 = (wxString *) 0 ;
17776 long arg6 = (long) wxCHOICEDLG_STYLE ;
17777 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17778 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17779 wxSingleChoiceDialog *result = 0 ;
17780 void *argp1 = 0 ;
17781 int res1 = 0 ;
17782 bool temp2 = false ;
17783 bool temp3 = false ;
17784 long val6 ;
17785 int ecode6 = 0 ;
17786 wxPoint temp7 ;
17787 PyObject * obj0 = 0 ;
17788 PyObject * obj1 = 0 ;
17789 PyObject * obj2 = 0 ;
17790 PyObject * obj3 = 0 ;
17791 PyObject * obj4 = 0 ;
17792 PyObject * obj5 = 0 ;
17793 char * kwnames[] = {
17794 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17795 };
17796
17797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17799 if (!SWIG_IsOK(res1)) {
17800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17801 }
17802 arg1 = reinterpret_cast< wxWindow * >(argp1);
17803 {
17804 arg2 = wxString_in_helper(obj1);
17805 if (arg2 == NULL) SWIG_fail;
17806 temp2 = true;
17807 }
17808 {
17809 arg3 = wxString_in_helper(obj2);
17810 if (arg3 == NULL) SWIG_fail;
17811 temp3 = true;
17812 }
17813 {
17814 arg4 = PyList_Size(obj3);
17815 arg5 = wxString_LIST_helper(obj3);
17816 if (arg5 == NULL) SWIG_fail;
17817 }
17818 if (obj4) {
17819 ecode6 = SWIG_AsVal_long(obj4, &val6);
17820 if (!SWIG_IsOK(ecode6)) {
17821 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17822 }
17823 arg6 = static_cast< long >(val6);
17824 }
17825 if (obj5) {
17826 {
17827 arg7 = &temp7;
17828 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17829 }
17830 }
17831 {
17832 if (!wxPyCheckForApp()) SWIG_fail;
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17835 wxPyEndAllowThreads(__tstate);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17839 {
17840 if (temp2)
17841 delete arg2;
17842 }
17843 {
17844 if (temp3)
17845 delete arg3;
17846 }
17847 {
17848 if (arg5) delete [] arg5;
17849 }
17850 return resultobj;
17851 fail:
17852 {
17853 if (temp2)
17854 delete arg2;
17855 }
17856 {
17857 if (temp3)
17858 delete arg3;
17859 }
17860 {
17861 if (arg5) delete [] arg5;
17862 }
17863 return NULL;
17864 }
17865
17866
17867 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17868 PyObject *resultobj = 0;
17869 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17870 int result;
17871 void *argp1 = 0 ;
17872 int res1 = 0 ;
17873 PyObject *swig_obj[1] ;
17874
17875 if (!args) SWIG_fail;
17876 swig_obj[0] = args;
17877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17878 if (!SWIG_IsOK(res1)) {
17879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17880 }
17881 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17882 {
17883 PyThreadState* __tstate = wxPyBeginAllowThreads();
17884 result = (int)(arg1)->GetSelection();
17885 wxPyEndAllowThreads(__tstate);
17886 if (PyErr_Occurred()) SWIG_fail;
17887 }
17888 resultobj = SWIG_From_int(static_cast< int >(result));
17889 return resultobj;
17890 fail:
17891 return NULL;
17892 }
17893
17894
17895 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17896 PyObject *resultobj = 0;
17897 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17898 wxString result;
17899 void *argp1 = 0 ;
17900 int res1 = 0 ;
17901 PyObject *swig_obj[1] ;
17902
17903 if (!args) SWIG_fail;
17904 swig_obj[0] = args;
17905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17906 if (!SWIG_IsOK(res1)) {
17907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17908 }
17909 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17910 {
17911 PyThreadState* __tstate = wxPyBeginAllowThreads();
17912 result = (arg1)->GetStringSelection();
17913 wxPyEndAllowThreads(__tstate);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 }
17916 {
17917 #if wxUSE_UNICODE
17918 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17919 #else
17920 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17921 #endif
17922 }
17923 return resultobj;
17924 fail:
17925 return NULL;
17926 }
17927
17928
17929 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17930 PyObject *resultobj = 0;
17931 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17932 int arg2 ;
17933 void *argp1 = 0 ;
17934 int res1 = 0 ;
17935 int val2 ;
17936 int ecode2 = 0 ;
17937 PyObject * obj0 = 0 ;
17938 PyObject * obj1 = 0 ;
17939 char * kwnames[] = {
17940 (char *) "self",(char *) "sel", NULL
17941 };
17942
17943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17945 if (!SWIG_IsOK(res1)) {
17946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17947 }
17948 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17949 ecode2 = SWIG_AsVal_int(obj1, &val2);
17950 if (!SWIG_IsOK(ecode2)) {
17951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17952 }
17953 arg2 = static_cast< int >(val2);
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 (arg1)->SetSelection(arg2);
17957 wxPyEndAllowThreads(__tstate);
17958 if (PyErr_Occurred()) SWIG_fail;
17959 }
17960 resultobj = SWIG_Py_Void();
17961 return resultobj;
17962 fail:
17963 return NULL;
17964 }
17965
17966
17967 SWIGINTERN PyObject *SingleChoiceDialog_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_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17971 return SWIG_Py_Void();
17972 }
17973
17974 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17975 return SWIG_Python_InitShadowInstance(args);
17976 }
17977
17978 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17979 PyObject *resultobj = 0;
17980 wxWindow *arg1 = (wxWindow *) 0 ;
17981 wxString *arg2 = 0 ;
17982 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17983 wxString *arg3 = (wxString *) &arg3_defvalue ;
17984 wxString const &arg4_defvalue = wxPyEmptyString ;
17985 wxString *arg4 = (wxString *) &arg4_defvalue ;
17986 long arg5 = (long) wxTextEntryDialogStyle ;
17987 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17988 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17989 wxTextEntryDialog *result = 0 ;
17990 void *argp1 = 0 ;
17991 int res1 = 0 ;
17992 bool temp2 = false ;
17993 bool temp3 = false ;
17994 bool temp4 = false ;
17995 long val5 ;
17996 int ecode5 = 0 ;
17997 wxPoint temp6 ;
17998 PyObject * obj0 = 0 ;
17999 PyObject * obj1 = 0 ;
18000 PyObject * obj2 = 0 ;
18001 PyObject * obj3 = 0 ;
18002 PyObject * obj4 = 0 ;
18003 PyObject * obj5 = 0 ;
18004 char * kwnames[] = {
18005 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18006 };
18007
18008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18010 if (!SWIG_IsOK(res1)) {
18011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18012 }
18013 arg1 = reinterpret_cast< wxWindow * >(argp1);
18014 {
18015 arg2 = wxString_in_helper(obj1);
18016 if (arg2 == NULL) SWIG_fail;
18017 temp2 = true;
18018 }
18019 if (obj2) {
18020 {
18021 arg3 = wxString_in_helper(obj2);
18022 if (arg3 == NULL) SWIG_fail;
18023 temp3 = true;
18024 }
18025 }
18026 if (obj3) {
18027 {
18028 arg4 = wxString_in_helper(obj3);
18029 if (arg4 == NULL) SWIG_fail;
18030 temp4 = true;
18031 }
18032 }
18033 if (obj4) {
18034 ecode5 = SWIG_AsVal_long(obj4, &val5);
18035 if (!SWIG_IsOK(ecode5)) {
18036 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18037 }
18038 arg5 = static_cast< long >(val5);
18039 }
18040 if (obj5) {
18041 {
18042 arg6 = &temp6;
18043 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18044 }
18045 }
18046 {
18047 if (!wxPyCheckForApp()) SWIG_fail;
18048 PyThreadState* __tstate = wxPyBeginAllowThreads();
18049 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18050 wxPyEndAllowThreads(__tstate);
18051 if (PyErr_Occurred()) SWIG_fail;
18052 }
18053 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18054 {
18055 if (temp2)
18056 delete arg2;
18057 }
18058 {
18059 if (temp3)
18060 delete arg3;
18061 }
18062 {
18063 if (temp4)
18064 delete arg4;
18065 }
18066 return resultobj;
18067 fail:
18068 {
18069 if (temp2)
18070 delete arg2;
18071 }
18072 {
18073 if (temp3)
18074 delete arg3;
18075 }
18076 {
18077 if (temp4)
18078 delete arg4;
18079 }
18080 return NULL;
18081 }
18082
18083
18084 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18085 PyObject *resultobj = 0;
18086 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18087 wxString result;
18088 void *argp1 = 0 ;
18089 int res1 = 0 ;
18090 PyObject *swig_obj[1] ;
18091
18092 if (!args) SWIG_fail;
18093 swig_obj[0] = args;
18094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18095 if (!SWIG_IsOK(res1)) {
18096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18097 }
18098 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 result = (arg1)->GetValue();
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 {
18106 #if wxUSE_UNICODE
18107 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18108 #else
18109 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18110 #endif
18111 }
18112 return resultobj;
18113 fail:
18114 return NULL;
18115 }
18116
18117
18118 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18119 PyObject *resultobj = 0;
18120 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18121 wxString *arg2 = 0 ;
18122 void *argp1 = 0 ;
18123 int res1 = 0 ;
18124 bool temp2 = false ;
18125 PyObject * obj0 = 0 ;
18126 PyObject * obj1 = 0 ;
18127 char * kwnames[] = {
18128 (char *) "self",(char *) "value", NULL
18129 };
18130
18131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18133 if (!SWIG_IsOK(res1)) {
18134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18135 }
18136 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18137 {
18138 arg2 = wxString_in_helper(obj1);
18139 if (arg2 == NULL) SWIG_fail;
18140 temp2 = true;
18141 }
18142 {
18143 PyThreadState* __tstate = wxPyBeginAllowThreads();
18144 (arg1)->SetValue((wxString const &)*arg2);
18145 wxPyEndAllowThreads(__tstate);
18146 if (PyErr_Occurred()) SWIG_fail;
18147 }
18148 resultobj = SWIG_Py_Void();
18149 {
18150 if (temp2)
18151 delete arg2;
18152 }
18153 return resultobj;
18154 fail:
18155 {
18156 if (temp2)
18157 delete arg2;
18158 }
18159 return NULL;
18160 }
18161
18162
18163 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18164 PyObject *obj;
18165 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18166 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18167 return SWIG_Py_Void();
18168 }
18169
18170 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18171 return SWIG_Python_InitShadowInstance(args);
18172 }
18173
18174 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18175 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18176 return 1;
18177 }
18178
18179
18180 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18181 PyObject *pyobj = 0;
18182
18183 {
18184 #if wxUSE_UNICODE
18185 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18186 #else
18187 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18188 #endif
18189 }
18190 return pyobj;
18191 }
18192
18193
18194 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18195 PyObject *resultobj = 0;
18196 wxWindow *arg1 = (wxWindow *) 0 ;
18197 wxString *arg2 = 0 ;
18198 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18199 wxString *arg3 = (wxString *) &arg3_defvalue ;
18200 wxString const &arg4_defvalue = wxPyEmptyString ;
18201 wxString *arg4 = (wxString *) &arg4_defvalue ;
18202 long arg5 = (long) wxTextEntryDialogStyle ;
18203 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18204 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18205 wxPasswordEntryDialog *result = 0 ;
18206 void *argp1 = 0 ;
18207 int res1 = 0 ;
18208 bool temp2 = false ;
18209 bool temp3 = false ;
18210 bool temp4 = false ;
18211 long val5 ;
18212 int ecode5 = 0 ;
18213 wxPoint temp6 ;
18214 PyObject * obj0 = 0 ;
18215 PyObject * obj1 = 0 ;
18216 PyObject * obj2 = 0 ;
18217 PyObject * obj3 = 0 ;
18218 PyObject * obj4 = 0 ;
18219 PyObject * obj5 = 0 ;
18220 char * kwnames[] = {
18221 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18222 };
18223
18224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18226 if (!SWIG_IsOK(res1)) {
18227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18228 }
18229 arg1 = reinterpret_cast< wxWindow * >(argp1);
18230 {
18231 arg2 = wxString_in_helper(obj1);
18232 if (arg2 == NULL) SWIG_fail;
18233 temp2 = true;
18234 }
18235 if (obj2) {
18236 {
18237 arg3 = wxString_in_helper(obj2);
18238 if (arg3 == NULL) SWIG_fail;
18239 temp3 = true;
18240 }
18241 }
18242 if (obj3) {
18243 {
18244 arg4 = wxString_in_helper(obj3);
18245 if (arg4 == NULL) SWIG_fail;
18246 temp4 = true;
18247 }
18248 }
18249 if (obj4) {
18250 ecode5 = SWIG_AsVal_long(obj4, &val5);
18251 if (!SWIG_IsOK(ecode5)) {
18252 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18253 }
18254 arg5 = static_cast< long >(val5);
18255 }
18256 if (obj5) {
18257 {
18258 arg6 = &temp6;
18259 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18260 }
18261 }
18262 {
18263 PyThreadState* __tstate = wxPyBeginAllowThreads();
18264 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18269 {
18270 if (temp2)
18271 delete arg2;
18272 }
18273 {
18274 if (temp3)
18275 delete arg3;
18276 }
18277 {
18278 if (temp4)
18279 delete arg4;
18280 }
18281 return resultobj;
18282 fail:
18283 {
18284 if (temp2)
18285 delete arg2;
18286 }
18287 {
18288 if (temp3)
18289 delete arg3;
18290 }
18291 {
18292 if (temp4)
18293 delete arg4;
18294 }
18295 return NULL;
18296 }
18297
18298
18299 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18300 PyObject *obj;
18301 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18302 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18303 return SWIG_Py_Void();
18304 }
18305
18306 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18307 return SWIG_Python_InitShadowInstance(args);
18308 }
18309
18310 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18311 PyObject *resultobj = 0;
18312 wxFontData *result = 0 ;
18313
18314 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18315 {
18316 PyThreadState* __tstate = wxPyBeginAllowThreads();
18317 result = (wxFontData *)new wxFontData();
18318 wxPyEndAllowThreads(__tstate);
18319 if (PyErr_Occurred()) SWIG_fail;
18320 }
18321 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18322 return resultobj;
18323 fail:
18324 return NULL;
18325 }
18326
18327
18328 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18329 PyObject *resultobj = 0;
18330 wxFontData *arg1 = (wxFontData *) 0 ;
18331 void *argp1 = 0 ;
18332 int res1 = 0 ;
18333 PyObject *swig_obj[1] ;
18334
18335 if (!args) SWIG_fail;
18336 swig_obj[0] = args;
18337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18338 if (!SWIG_IsOK(res1)) {
18339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18340 }
18341 arg1 = reinterpret_cast< wxFontData * >(argp1);
18342 {
18343 PyThreadState* __tstate = wxPyBeginAllowThreads();
18344 delete arg1;
18345
18346 wxPyEndAllowThreads(__tstate);
18347 if (PyErr_Occurred()) SWIG_fail;
18348 }
18349 resultobj = SWIG_Py_Void();
18350 return resultobj;
18351 fail:
18352 return NULL;
18353 }
18354
18355
18356 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18357 PyObject *resultobj = 0;
18358 wxFontData *arg1 = (wxFontData *) 0 ;
18359 bool arg2 ;
18360 void *argp1 = 0 ;
18361 int res1 = 0 ;
18362 bool val2 ;
18363 int ecode2 = 0 ;
18364 PyObject * obj0 = 0 ;
18365 PyObject * obj1 = 0 ;
18366 char * kwnames[] = {
18367 (char *) "self",(char *) "enable", NULL
18368 };
18369
18370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18372 if (!SWIG_IsOK(res1)) {
18373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18374 }
18375 arg1 = reinterpret_cast< wxFontData * >(argp1);
18376 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18377 if (!SWIG_IsOK(ecode2)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18379 }
18380 arg2 = static_cast< bool >(val2);
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 (arg1)->EnableEffects(arg2);
18384 wxPyEndAllowThreads(__tstate);
18385 if (PyErr_Occurred()) SWIG_fail;
18386 }
18387 resultobj = SWIG_Py_Void();
18388 return resultobj;
18389 fail:
18390 return NULL;
18391 }
18392
18393
18394 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18395 PyObject *resultobj = 0;
18396 wxFontData *arg1 = (wxFontData *) 0 ;
18397 bool result;
18398 void *argp1 = 0 ;
18399 int res1 = 0 ;
18400 PyObject *swig_obj[1] ;
18401
18402 if (!args) SWIG_fail;
18403 swig_obj[0] = args;
18404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18405 if (!SWIG_IsOK(res1)) {
18406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18407 }
18408 arg1 = reinterpret_cast< wxFontData * >(argp1);
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 result = (bool)(arg1)->GetAllowSymbols();
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 {
18416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18417 }
18418 return resultobj;
18419 fail:
18420 return NULL;
18421 }
18422
18423
18424 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18425 PyObject *resultobj = 0;
18426 wxFontData *arg1 = (wxFontData *) 0 ;
18427 wxColour result;
18428 void *argp1 = 0 ;
18429 int res1 = 0 ;
18430 PyObject *swig_obj[1] ;
18431
18432 if (!args) SWIG_fail;
18433 swig_obj[0] = args;
18434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18435 if (!SWIG_IsOK(res1)) {
18436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18437 }
18438 arg1 = reinterpret_cast< wxFontData * >(argp1);
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 result = (arg1)->GetColour();
18442 wxPyEndAllowThreads(__tstate);
18443 if (PyErr_Occurred()) SWIG_fail;
18444 }
18445 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18446 return resultobj;
18447 fail:
18448 return NULL;
18449 }
18450
18451
18452 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18453 PyObject *resultobj = 0;
18454 wxFontData *arg1 = (wxFontData *) 0 ;
18455 wxFont result;
18456 void *argp1 = 0 ;
18457 int res1 = 0 ;
18458 PyObject *swig_obj[1] ;
18459
18460 if (!args) SWIG_fail;
18461 swig_obj[0] = args;
18462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18463 if (!SWIG_IsOK(res1)) {
18464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18465 }
18466 arg1 = reinterpret_cast< wxFontData * >(argp1);
18467 {
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 result = (arg1)->GetChosenFont();
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18474 return resultobj;
18475 fail:
18476 return NULL;
18477 }
18478
18479
18480 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18481 PyObject *resultobj = 0;
18482 wxFontData *arg1 = (wxFontData *) 0 ;
18483 bool result;
18484 void *argp1 = 0 ;
18485 int res1 = 0 ;
18486 PyObject *swig_obj[1] ;
18487
18488 if (!args) SWIG_fail;
18489 swig_obj[0] = args;
18490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18491 if (!SWIG_IsOK(res1)) {
18492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18493 }
18494 arg1 = reinterpret_cast< wxFontData * >(argp1);
18495 {
18496 PyThreadState* __tstate = wxPyBeginAllowThreads();
18497 result = (bool)(arg1)->GetEnableEffects();
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 {
18502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18503 }
18504 return resultobj;
18505 fail:
18506 return NULL;
18507 }
18508
18509
18510 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18511 PyObject *resultobj = 0;
18512 wxFontData *arg1 = (wxFontData *) 0 ;
18513 wxFont result;
18514 void *argp1 = 0 ;
18515 int res1 = 0 ;
18516 PyObject *swig_obj[1] ;
18517
18518 if (!args) SWIG_fail;
18519 swig_obj[0] = args;
18520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18521 if (!SWIG_IsOK(res1)) {
18522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18523 }
18524 arg1 = reinterpret_cast< wxFontData * >(argp1);
18525 {
18526 PyThreadState* __tstate = wxPyBeginAllowThreads();
18527 result = (arg1)->GetInitialFont();
18528 wxPyEndAllowThreads(__tstate);
18529 if (PyErr_Occurred()) SWIG_fail;
18530 }
18531 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18532 return resultobj;
18533 fail:
18534 return NULL;
18535 }
18536
18537
18538 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18539 PyObject *resultobj = 0;
18540 wxFontData *arg1 = (wxFontData *) 0 ;
18541 bool result;
18542 void *argp1 = 0 ;
18543 int res1 = 0 ;
18544 PyObject *swig_obj[1] ;
18545
18546 if (!args) SWIG_fail;
18547 swig_obj[0] = args;
18548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18549 if (!SWIG_IsOK(res1)) {
18550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18551 }
18552 arg1 = reinterpret_cast< wxFontData * >(argp1);
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 result = (bool)(arg1)->GetShowHelp();
18556 wxPyEndAllowThreads(__tstate);
18557 if (PyErr_Occurred()) SWIG_fail;
18558 }
18559 {
18560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18561 }
18562 return resultobj;
18563 fail:
18564 return NULL;
18565 }
18566
18567
18568 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18569 PyObject *resultobj = 0;
18570 wxFontData *arg1 = (wxFontData *) 0 ;
18571 bool arg2 ;
18572 void *argp1 = 0 ;
18573 int res1 = 0 ;
18574 bool val2 ;
18575 int ecode2 = 0 ;
18576 PyObject * obj0 = 0 ;
18577 PyObject * obj1 = 0 ;
18578 char * kwnames[] = {
18579 (char *) "self",(char *) "allowSymbols", NULL
18580 };
18581
18582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18584 if (!SWIG_IsOK(res1)) {
18585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18586 }
18587 arg1 = reinterpret_cast< wxFontData * >(argp1);
18588 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18589 if (!SWIG_IsOK(ecode2)) {
18590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18591 }
18592 arg2 = static_cast< bool >(val2);
18593 {
18594 PyThreadState* __tstate = wxPyBeginAllowThreads();
18595 (arg1)->SetAllowSymbols(arg2);
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 resultobj = SWIG_Py_Void();
18600 return resultobj;
18601 fail:
18602 return NULL;
18603 }
18604
18605
18606 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18607 PyObject *resultobj = 0;
18608 wxFontData *arg1 = (wxFontData *) 0 ;
18609 wxFont *arg2 = 0 ;
18610 void *argp1 = 0 ;
18611 int res1 = 0 ;
18612 void *argp2 = 0 ;
18613 int res2 = 0 ;
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
18616 char * kwnames[] = {
18617 (char *) "self",(char *) "font", NULL
18618 };
18619
18620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18622 if (!SWIG_IsOK(res1)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18624 }
18625 arg1 = reinterpret_cast< wxFontData * >(argp1);
18626 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18627 if (!SWIG_IsOK(res2)) {
18628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18629 }
18630 if (!argp2) {
18631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18632 }
18633 arg2 = reinterpret_cast< wxFont * >(argp2);
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 (arg1)->SetChosenFont((wxFont const &)*arg2);
18637 wxPyEndAllowThreads(__tstate);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 resultobj = SWIG_Py_Void();
18641 return resultobj;
18642 fail:
18643 return NULL;
18644 }
18645
18646
18647 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18648 PyObject *resultobj = 0;
18649 wxFontData *arg1 = (wxFontData *) 0 ;
18650 wxColour *arg2 = 0 ;
18651 void *argp1 = 0 ;
18652 int res1 = 0 ;
18653 wxColour temp2 ;
18654 PyObject * obj0 = 0 ;
18655 PyObject * obj1 = 0 ;
18656 char * kwnames[] = {
18657 (char *) "self",(char *) "colour", NULL
18658 };
18659
18660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18662 if (!SWIG_IsOK(res1)) {
18663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18664 }
18665 arg1 = reinterpret_cast< wxFontData * >(argp1);
18666 {
18667 arg2 = &temp2;
18668 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18669 }
18670 {
18671 PyThreadState* __tstate = wxPyBeginAllowThreads();
18672 (arg1)->SetColour((wxColour const &)*arg2);
18673 wxPyEndAllowThreads(__tstate);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 }
18676 resultobj = SWIG_Py_Void();
18677 return resultobj;
18678 fail:
18679 return NULL;
18680 }
18681
18682
18683 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18684 PyObject *resultobj = 0;
18685 wxFontData *arg1 = (wxFontData *) 0 ;
18686 wxFont *arg2 = 0 ;
18687 void *argp1 = 0 ;
18688 int res1 = 0 ;
18689 void *argp2 = 0 ;
18690 int res2 = 0 ;
18691 PyObject * obj0 = 0 ;
18692 PyObject * obj1 = 0 ;
18693 char * kwnames[] = {
18694 (char *) "self",(char *) "font", NULL
18695 };
18696
18697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18699 if (!SWIG_IsOK(res1)) {
18700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18701 }
18702 arg1 = reinterpret_cast< wxFontData * >(argp1);
18703 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18704 if (!SWIG_IsOK(res2)) {
18705 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18706 }
18707 if (!argp2) {
18708 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18709 }
18710 arg2 = reinterpret_cast< wxFont * >(argp2);
18711 {
18712 PyThreadState* __tstate = wxPyBeginAllowThreads();
18713 (arg1)->SetInitialFont((wxFont const &)*arg2);
18714 wxPyEndAllowThreads(__tstate);
18715 if (PyErr_Occurred()) SWIG_fail;
18716 }
18717 resultobj = SWIG_Py_Void();
18718 return resultobj;
18719 fail:
18720 return NULL;
18721 }
18722
18723
18724 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18725 PyObject *resultobj = 0;
18726 wxFontData *arg1 = (wxFontData *) 0 ;
18727 int arg2 ;
18728 int arg3 ;
18729 void *argp1 = 0 ;
18730 int res1 = 0 ;
18731 int val2 ;
18732 int ecode2 = 0 ;
18733 int val3 ;
18734 int ecode3 = 0 ;
18735 PyObject * obj0 = 0 ;
18736 PyObject * obj1 = 0 ;
18737 PyObject * obj2 = 0 ;
18738 char * kwnames[] = {
18739 (char *) "self",(char *) "min",(char *) "max", NULL
18740 };
18741
18742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18744 if (!SWIG_IsOK(res1)) {
18745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18746 }
18747 arg1 = reinterpret_cast< wxFontData * >(argp1);
18748 ecode2 = SWIG_AsVal_int(obj1, &val2);
18749 if (!SWIG_IsOK(ecode2)) {
18750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18751 }
18752 arg2 = static_cast< int >(val2);
18753 ecode3 = SWIG_AsVal_int(obj2, &val3);
18754 if (!SWIG_IsOK(ecode3)) {
18755 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18756 }
18757 arg3 = static_cast< int >(val3);
18758 {
18759 PyThreadState* __tstate = wxPyBeginAllowThreads();
18760 (arg1)->SetRange(arg2,arg3);
18761 wxPyEndAllowThreads(__tstate);
18762 if (PyErr_Occurred()) SWIG_fail;
18763 }
18764 resultobj = SWIG_Py_Void();
18765 return resultobj;
18766 fail:
18767 return NULL;
18768 }
18769
18770
18771 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18772 PyObject *resultobj = 0;
18773 wxFontData *arg1 = (wxFontData *) 0 ;
18774 bool arg2 ;
18775 void *argp1 = 0 ;
18776 int res1 = 0 ;
18777 bool val2 ;
18778 int ecode2 = 0 ;
18779 PyObject * obj0 = 0 ;
18780 PyObject * obj1 = 0 ;
18781 char * kwnames[] = {
18782 (char *) "self",(char *) "showHelp", NULL
18783 };
18784
18785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18787 if (!SWIG_IsOK(res1)) {
18788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18789 }
18790 arg1 = reinterpret_cast< wxFontData * >(argp1);
18791 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18792 if (!SWIG_IsOK(ecode2)) {
18793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18794 }
18795 arg2 = static_cast< bool >(val2);
18796 {
18797 PyThreadState* __tstate = wxPyBeginAllowThreads();
18798 (arg1)->SetShowHelp(arg2);
18799 wxPyEndAllowThreads(__tstate);
18800 if (PyErr_Occurred()) SWIG_fail;
18801 }
18802 resultobj = SWIG_Py_Void();
18803 return resultobj;
18804 fail:
18805 return NULL;
18806 }
18807
18808
18809 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18810 PyObject *obj;
18811 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18812 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18813 return SWIG_Py_Void();
18814 }
18815
18816 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18817 return SWIG_Python_InitShadowInstance(args);
18818 }
18819
18820 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18821 PyObject *resultobj = 0;
18822 wxWindow *arg1 = (wxWindow *) 0 ;
18823 wxFontData *arg2 = 0 ;
18824 wxFontDialog *result = 0 ;
18825 void *argp1 = 0 ;
18826 int res1 = 0 ;
18827 void *argp2 = 0 ;
18828 int res2 = 0 ;
18829 PyObject * obj0 = 0 ;
18830 PyObject * obj1 = 0 ;
18831 char * kwnames[] = {
18832 (char *) "parent",(char *) "data", NULL
18833 };
18834
18835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18837 if (!SWIG_IsOK(res1)) {
18838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18839 }
18840 arg1 = reinterpret_cast< wxWindow * >(argp1);
18841 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18842 if (!SWIG_IsOK(res2)) {
18843 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18844 }
18845 if (!argp2) {
18846 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18847 }
18848 arg2 = reinterpret_cast< wxFontData * >(argp2);
18849 {
18850 if (!wxPyCheckForApp()) SWIG_fail;
18851 PyThreadState* __tstate = wxPyBeginAllowThreads();
18852 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18853 wxPyEndAllowThreads(__tstate);
18854 if (PyErr_Occurred()) SWIG_fail;
18855 }
18856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18857 return resultobj;
18858 fail:
18859 return NULL;
18860 }
18861
18862
18863 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18864 PyObject *resultobj = 0;
18865 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18866 wxFontData *result = 0 ;
18867 void *argp1 = 0 ;
18868 int res1 = 0 ;
18869 PyObject *swig_obj[1] ;
18870
18871 if (!args) SWIG_fail;
18872 swig_obj[0] = args;
18873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18874 if (!SWIG_IsOK(res1)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18876 }
18877 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18878 {
18879 PyThreadState* __tstate = wxPyBeginAllowThreads();
18880 {
18881 wxFontData &_result_ref = (arg1)->GetFontData();
18882 result = (wxFontData *) &_result_ref;
18883 }
18884 wxPyEndAllowThreads(__tstate);
18885 if (PyErr_Occurred()) SWIG_fail;
18886 }
18887 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18888 return resultobj;
18889 fail:
18890 return NULL;
18891 }
18892
18893
18894 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18895 PyObject *obj;
18896 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18897 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18898 return SWIG_Py_Void();
18899 }
18900
18901 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18902 return SWIG_Python_InitShadowInstance(args);
18903 }
18904
18905 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj = 0;
18907 wxWindow *arg1 = (wxWindow *) NULL ;
18908 wxFont const &arg2_defvalue = wxNullFont ;
18909 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18910 wxString const &arg3_defvalue = wxPyEmptyString ;
18911 wxString *arg3 = (wxString *) &arg3_defvalue ;
18912 wxFont result;
18913 void *argp1 = 0 ;
18914 int res1 = 0 ;
18915 void *argp2 = 0 ;
18916 int res2 = 0 ;
18917 bool temp3 = false ;
18918 PyObject * obj0 = 0 ;
18919 PyObject * obj1 = 0 ;
18920 PyObject * obj2 = 0 ;
18921 char * kwnames[] = {
18922 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18923 };
18924
18925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18926 if (obj0) {
18927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18928 if (!SWIG_IsOK(res1)) {
18929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18930 }
18931 arg1 = reinterpret_cast< wxWindow * >(argp1);
18932 }
18933 if (obj1) {
18934 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18935 if (!SWIG_IsOK(res2)) {
18936 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18937 }
18938 if (!argp2) {
18939 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18940 }
18941 arg2 = reinterpret_cast< wxFont * >(argp2);
18942 }
18943 if (obj2) {
18944 {
18945 arg3 = wxString_in_helper(obj2);
18946 if (arg3 == NULL) SWIG_fail;
18947 temp3 = true;
18948 }
18949 }
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
18953 wxPyEndAllowThreads(__tstate);
18954 if (PyErr_Occurred()) SWIG_fail;
18955 }
18956 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18957 {
18958 if (temp3)
18959 delete arg3;
18960 }
18961 return resultobj;
18962 fail:
18963 {
18964 if (temp3)
18965 delete arg3;
18966 }
18967 return NULL;
18968 }
18969
18970
18971 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj = 0;
18973 wxWindow *arg1 = (wxWindow *) 0 ;
18974 wxString *arg2 = 0 ;
18975 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
18976 wxString *arg3 = (wxString *) &arg3_defvalue ;
18977 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
18978 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18979 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18980 wxMessageDialog *result = 0 ;
18981 void *argp1 = 0 ;
18982 int res1 = 0 ;
18983 bool temp2 = false ;
18984 bool temp3 = false ;
18985 long val4 ;
18986 int ecode4 = 0 ;
18987 wxPoint temp5 ;
18988 PyObject * obj0 = 0 ;
18989 PyObject * obj1 = 0 ;
18990 PyObject * obj2 = 0 ;
18991 PyObject * obj3 = 0 ;
18992 PyObject * obj4 = 0 ;
18993 char * kwnames[] = {
18994 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18995 };
18996
18997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18999 if (!SWIG_IsOK(res1)) {
19000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19001 }
19002 arg1 = reinterpret_cast< wxWindow * >(argp1);
19003 {
19004 arg2 = wxString_in_helper(obj1);
19005 if (arg2 == NULL) SWIG_fail;
19006 temp2 = true;
19007 }
19008 if (obj2) {
19009 {
19010 arg3 = wxString_in_helper(obj2);
19011 if (arg3 == NULL) SWIG_fail;
19012 temp3 = true;
19013 }
19014 }
19015 if (obj3) {
19016 ecode4 = SWIG_AsVal_long(obj3, &val4);
19017 if (!SWIG_IsOK(ecode4)) {
19018 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19019 }
19020 arg4 = static_cast< long >(val4);
19021 }
19022 if (obj4) {
19023 {
19024 arg5 = &temp5;
19025 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19026 }
19027 }
19028 {
19029 if (!wxPyCheckForApp()) SWIG_fail;
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19036 {
19037 if (temp2)
19038 delete arg2;
19039 }
19040 {
19041 if (temp3)
19042 delete arg3;
19043 }
19044 return resultobj;
19045 fail:
19046 {
19047 if (temp2)
19048 delete arg2;
19049 }
19050 {
19051 if (temp3)
19052 delete arg3;
19053 }
19054 return NULL;
19055 }
19056
19057
19058 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19059 PyObject *obj;
19060 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19061 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19062 return SWIG_Py_Void();
19063 }
19064
19065 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19066 return SWIG_Python_InitShadowInstance(args);
19067 }
19068
19069 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19070 PyObject *resultobj = 0;
19071 wxString *arg1 = 0 ;
19072 wxString *arg2 = 0 ;
19073 int arg3 = (int) 100 ;
19074 wxWindow *arg4 = (wxWindow *) NULL ;
19075 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19076 wxProgressDialog *result = 0 ;
19077 bool temp1 = false ;
19078 bool temp2 = false ;
19079 int val3 ;
19080 int ecode3 = 0 ;
19081 void *argp4 = 0 ;
19082 int res4 = 0 ;
19083 int val5 ;
19084 int ecode5 = 0 ;
19085 PyObject * obj0 = 0 ;
19086 PyObject * obj1 = 0 ;
19087 PyObject * obj2 = 0 ;
19088 PyObject * obj3 = 0 ;
19089 PyObject * obj4 = 0 ;
19090 char * kwnames[] = {
19091 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19092 };
19093
19094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19095 {
19096 arg1 = wxString_in_helper(obj0);
19097 if (arg1 == NULL) SWIG_fail;
19098 temp1 = true;
19099 }
19100 {
19101 arg2 = wxString_in_helper(obj1);
19102 if (arg2 == NULL) SWIG_fail;
19103 temp2 = true;
19104 }
19105 if (obj2) {
19106 ecode3 = SWIG_AsVal_int(obj2, &val3);
19107 if (!SWIG_IsOK(ecode3)) {
19108 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19109 }
19110 arg3 = static_cast< int >(val3);
19111 }
19112 if (obj3) {
19113 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19114 if (!SWIG_IsOK(res4)) {
19115 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19116 }
19117 arg4 = reinterpret_cast< wxWindow * >(argp4);
19118 }
19119 if (obj4) {
19120 ecode5 = SWIG_AsVal_int(obj4, &val5);
19121 if (!SWIG_IsOK(ecode5)) {
19122 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19123 }
19124 arg5 = static_cast< int >(val5);
19125 }
19126 {
19127 if (!wxPyCheckForApp()) SWIG_fail;
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
19129 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19134 {
19135 if (temp1)
19136 delete arg1;
19137 }
19138 {
19139 if (temp2)
19140 delete arg2;
19141 }
19142 return resultobj;
19143 fail:
19144 {
19145 if (temp1)
19146 delete arg1;
19147 }
19148 {
19149 if (temp2)
19150 delete arg2;
19151 }
19152 return NULL;
19153 }
19154
19155
19156 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19157 PyObject *resultobj = 0;
19158 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19159 int arg2 ;
19160 wxString const &arg3_defvalue = wxPyEmptyString ;
19161 wxString *arg3 = (wxString *) &arg3_defvalue ;
19162 bool *arg4 = (bool *) 0 ;
19163 bool result;
19164 void *argp1 = 0 ;
19165 int res1 = 0 ;
19166 int val2 ;
19167 int ecode2 = 0 ;
19168 bool temp3 = false ;
19169 bool temp4 ;
19170 int res4 = SWIG_TMPOBJ ;
19171 PyObject * obj0 = 0 ;
19172 PyObject * obj1 = 0 ;
19173 PyObject * obj2 = 0 ;
19174 char * kwnames[] = {
19175 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19176 };
19177
19178 arg4 = &temp4;
19179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19181 if (!SWIG_IsOK(res1)) {
19182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19183 }
19184 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19185 ecode2 = SWIG_AsVal_int(obj1, &val2);
19186 if (!SWIG_IsOK(ecode2)) {
19187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19188 }
19189 arg2 = static_cast< int >(val2);
19190 if (obj2) {
19191 {
19192 arg3 = wxString_in_helper(obj2);
19193 if (arg3 == NULL) SWIG_fail;
19194 temp3 = true;
19195 }
19196 }
19197 {
19198 PyThreadState* __tstate = wxPyBeginAllowThreads();
19199 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19200 wxPyEndAllowThreads(__tstate);
19201 if (PyErr_Occurred()) SWIG_fail;
19202 }
19203 {
19204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19205 }
19206 if (SWIG_IsTmpObj(res4)) {
19207 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19208 } else {
19209 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19210 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19211 }
19212 {
19213 if (temp3)
19214 delete arg3;
19215 }
19216 return resultobj;
19217 fail:
19218 {
19219 if (temp3)
19220 delete arg3;
19221 }
19222 return NULL;
19223 }
19224
19225
19226 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19227 PyObject *resultobj = 0;
19228 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19229 void *argp1 = 0 ;
19230 int res1 = 0 ;
19231 PyObject *swig_obj[1] ;
19232
19233 if (!args) SWIG_fail;
19234 swig_obj[0] = args;
19235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19236 if (!SWIG_IsOK(res1)) {
19237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19238 }
19239 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 (arg1)->Resume();
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 resultobj = SWIG_Py_Void();
19247 return resultobj;
19248 fail:
19249 return NULL;
19250 }
19251
19252
19253 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19254 PyObject *obj;
19255 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19256 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19257 return SWIG_Py_Void();
19258 }
19259
19260 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19261 return SWIG_Python_InitShadowInstance(args);
19262 }
19263
19264 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19265 PyObject *resultobj = 0;
19266 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19267 int arg2 = (int) 0 ;
19268 wxFindDialogEvent *result = 0 ;
19269 int val1 ;
19270 int ecode1 = 0 ;
19271 int val2 ;
19272 int ecode2 = 0 ;
19273 PyObject * obj0 = 0 ;
19274 PyObject * obj1 = 0 ;
19275 char * kwnames[] = {
19276 (char *) "commandType",(char *) "id", NULL
19277 };
19278
19279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19280 if (obj0) {
19281 ecode1 = SWIG_AsVal_int(obj0, &val1);
19282 if (!SWIG_IsOK(ecode1)) {
19283 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19284 }
19285 arg1 = static_cast< wxEventType >(val1);
19286 }
19287 if (obj1) {
19288 ecode2 = SWIG_AsVal_int(obj1, &val2);
19289 if (!SWIG_IsOK(ecode2)) {
19290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19291 }
19292 arg2 = static_cast< int >(val2);
19293 }
19294 {
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19297 wxPyEndAllowThreads(__tstate);
19298 if (PyErr_Occurred()) SWIG_fail;
19299 }
19300 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19301 return resultobj;
19302 fail:
19303 return NULL;
19304 }
19305
19306
19307 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19308 PyObject *resultobj = 0;
19309 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19310 int result;
19311 void *argp1 = 0 ;
19312 int res1 = 0 ;
19313 PyObject *swig_obj[1] ;
19314
19315 if (!args) SWIG_fail;
19316 swig_obj[0] = args;
19317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19318 if (!SWIG_IsOK(res1)) {
19319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19320 }
19321 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19322 {
19323 PyThreadState* __tstate = wxPyBeginAllowThreads();
19324 result = (int)(arg1)->GetFlags();
19325 wxPyEndAllowThreads(__tstate);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 }
19328 resultobj = SWIG_From_int(static_cast< int >(result));
19329 return resultobj;
19330 fail:
19331 return NULL;
19332 }
19333
19334
19335 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19336 PyObject *resultobj = 0;
19337 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19338 wxString *result = 0 ;
19339 void *argp1 = 0 ;
19340 int res1 = 0 ;
19341 PyObject *swig_obj[1] ;
19342
19343 if (!args) SWIG_fail;
19344 swig_obj[0] = args;
19345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19346 if (!SWIG_IsOK(res1)) {
19347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19348 }
19349 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19350 {
19351 PyThreadState* __tstate = wxPyBeginAllowThreads();
19352 {
19353 wxString const &_result_ref = (arg1)->GetFindString();
19354 result = (wxString *) &_result_ref;
19355 }
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 {
19360 #if wxUSE_UNICODE
19361 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19362 #else
19363 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19364 #endif
19365 }
19366 return resultobj;
19367 fail:
19368 return NULL;
19369 }
19370
19371
19372 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19373 PyObject *resultobj = 0;
19374 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19375 wxString *result = 0 ;
19376 void *argp1 = 0 ;
19377 int res1 = 0 ;
19378 PyObject *swig_obj[1] ;
19379
19380 if (!args) SWIG_fail;
19381 swig_obj[0] = args;
19382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19383 if (!SWIG_IsOK(res1)) {
19384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19385 }
19386 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19387 {
19388 PyThreadState* __tstate = wxPyBeginAllowThreads();
19389 {
19390 wxString const &_result_ref = (arg1)->GetReplaceString();
19391 result = (wxString *) &_result_ref;
19392 }
19393 wxPyEndAllowThreads(__tstate);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 {
19397 #if wxUSE_UNICODE
19398 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19399 #else
19400 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19401 #endif
19402 }
19403 return resultobj;
19404 fail:
19405 return NULL;
19406 }
19407
19408
19409 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19410 PyObject *resultobj = 0;
19411 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19412 wxFindReplaceDialog *result = 0 ;
19413 void *argp1 = 0 ;
19414 int res1 = 0 ;
19415 PyObject *swig_obj[1] ;
19416
19417 if (!args) SWIG_fail;
19418 swig_obj[0] = args;
19419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19420 if (!SWIG_IsOK(res1)) {
19421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19422 }
19423 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19424 {
19425 PyThreadState* __tstate = wxPyBeginAllowThreads();
19426 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19431 return resultobj;
19432 fail:
19433 return NULL;
19434 }
19435
19436
19437 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19438 PyObject *resultobj = 0;
19439 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19440 int arg2 ;
19441 void *argp1 = 0 ;
19442 int res1 = 0 ;
19443 int val2 ;
19444 int ecode2 = 0 ;
19445 PyObject * obj0 = 0 ;
19446 PyObject * obj1 = 0 ;
19447 char * kwnames[] = {
19448 (char *) "self",(char *) "flags", NULL
19449 };
19450
19451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19453 if (!SWIG_IsOK(res1)) {
19454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19455 }
19456 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19457 ecode2 = SWIG_AsVal_int(obj1, &val2);
19458 if (!SWIG_IsOK(ecode2)) {
19459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19460 }
19461 arg2 = static_cast< int >(val2);
19462 {
19463 PyThreadState* __tstate = wxPyBeginAllowThreads();
19464 (arg1)->SetFlags(arg2);
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 resultobj = SWIG_Py_Void();
19469 return resultobj;
19470 fail:
19471 return NULL;
19472 }
19473
19474
19475 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19476 PyObject *resultobj = 0;
19477 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19478 wxString *arg2 = 0 ;
19479 void *argp1 = 0 ;
19480 int res1 = 0 ;
19481 bool temp2 = false ;
19482 PyObject * obj0 = 0 ;
19483 PyObject * obj1 = 0 ;
19484 char * kwnames[] = {
19485 (char *) "self",(char *) "str", NULL
19486 };
19487
19488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19490 if (!SWIG_IsOK(res1)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19492 }
19493 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19494 {
19495 arg2 = wxString_in_helper(obj1);
19496 if (arg2 == NULL) SWIG_fail;
19497 temp2 = true;
19498 }
19499 {
19500 PyThreadState* __tstate = wxPyBeginAllowThreads();
19501 (arg1)->SetFindString((wxString const &)*arg2);
19502 wxPyEndAllowThreads(__tstate);
19503 if (PyErr_Occurred()) SWIG_fail;
19504 }
19505 resultobj = SWIG_Py_Void();
19506 {
19507 if (temp2)
19508 delete arg2;
19509 }
19510 return resultobj;
19511 fail:
19512 {
19513 if (temp2)
19514 delete arg2;
19515 }
19516 return NULL;
19517 }
19518
19519
19520 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19521 PyObject *resultobj = 0;
19522 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19523 wxString *arg2 = 0 ;
19524 void *argp1 = 0 ;
19525 int res1 = 0 ;
19526 bool temp2 = false ;
19527 PyObject * obj0 = 0 ;
19528 PyObject * obj1 = 0 ;
19529 char * kwnames[] = {
19530 (char *) "self",(char *) "str", NULL
19531 };
19532
19533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19535 if (!SWIG_IsOK(res1)) {
19536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19537 }
19538 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19539 {
19540 arg2 = wxString_in_helper(obj1);
19541 if (arg2 == NULL) SWIG_fail;
19542 temp2 = true;
19543 }
19544 {
19545 PyThreadState* __tstate = wxPyBeginAllowThreads();
19546 (arg1)->SetReplaceString((wxString const &)*arg2);
19547 wxPyEndAllowThreads(__tstate);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 }
19550 resultobj = SWIG_Py_Void();
19551 {
19552 if (temp2)
19553 delete arg2;
19554 }
19555 return resultobj;
19556 fail:
19557 {
19558 if (temp2)
19559 delete arg2;
19560 }
19561 return NULL;
19562 }
19563
19564
19565 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19566 PyObject *obj;
19567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19568 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19569 return SWIG_Py_Void();
19570 }
19571
19572 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19573 return SWIG_Python_InitShadowInstance(args);
19574 }
19575
19576 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19577 PyObject *resultobj = 0;
19578 int arg1 = (int) 0 ;
19579 wxFindReplaceData *result = 0 ;
19580 int val1 ;
19581 int ecode1 = 0 ;
19582 PyObject * obj0 = 0 ;
19583 char * kwnames[] = {
19584 (char *) "flags", NULL
19585 };
19586
19587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19588 if (obj0) {
19589 ecode1 = SWIG_AsVal_int(obj0, &val1);
19590 if (!SWIG_IsOK(ecode1)) {
19591 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19592 }
19593 arg1 = static_cast< int >(val1);
19594 }
19595 {
19596 PyThreadState* __tstate = wxPyBeginAllowThreads();
19597 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19598 wxPyEndAllowThreads(__tstate);
19599 if (PyErr_Occurred()) SWIG_fail;
19600 }
19601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19602 return resultobj;
19603 fail:
19604 return NULL;
19605 }
19606
19607
19608 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19609 PyObject *resultobj = 0;
19610 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19611 void *argp1 = 0 ;
19612 int res1 = 0 ;
19613 PyObject *swig_obj[1] ;
19614
19615 if (!args) SWIG_fail;
19616 swig_obj[0] = args;
19617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19618 if (!SWIG_IsOK(res1)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19620 }
19621 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 delete arg1;
19625
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 resultobj = SWIG_Py_Void();
19630 return resultobj;
19631 fail:
19632 return NULL;
19633 }
19634
19635
19636 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19637 PyObject *resultobj = 0;
19638 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19639 wxString *result = 0 ;
19640 void *argp1 = 0 ;
19641 int res1 = 0 ;
19642 PyObject *swig_obj[1] ;
19643
19644 if (!args) SWIG_fail;
19645 swig_obj[0] = args;
19646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19647 if (!SWIG_IsOK(res1)) {
19648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19649 }
19650 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19651 {
19652 PyThreadState* __tstate = wxPyBeginAllowThreads();
19653 {
19654 wxString const &_result_ref = (arg1)->GetFindString();
19655 result = (wxString *) &_result_ref;
19656 }
19657 wxPyEndAllowThreads(__tstate);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
19660 {
19661 #if wxUSE_UNICODE
19662 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19663 #else
19664 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19665 #endif
19666 }
19667 return resultobj;
19668 fail:
19669 return NULL;
19670 }
19671
19672
19673 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19674 PyObject *resultobj = 0;
19675 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19676 wxString *result = 0 ;
19677 void *argp1 = 0 ;
19678 int res1 = 0 ;
19679 PyObject *swig_obj[1] ;
19680
19681 if (!args) SWIG_fail;
19682 swig_obj[0] = args;
19683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19684 if (!SWIG_IsOK(res1)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19686 }
19687 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19688 {
19689 PyThreadState* __tstate = wxPyBeginAllowThreads();
19690 {
19691 wxString const &_result_ref = (arg1)->GetReplaceString();
19692 result = (wxString *) &_result_ref;
19693 }
19694 wxPyEndAllowThreads(__tstate);
19695 if (PyErr_Occurred()) SWIG_fail;
19696 }
19697 {
19698 #if wxUSE_UNICODE
19699 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19700 #else
19701 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19702 #endif
19703 }
19704 return resultobj;
19705 fail:
19706 return NULL;
19707 }
19708
19709
19710 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19711 PyObject *resultobj = 0;
19712 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19713 int result;
19714 void *argp1 = 0 ;
19715 int res1 = 0 ;
19716 PyObject *swig_obj[1] ;
19717
19718 if (!args) SWIG_fail;
19719 swig_obj[0] = args;
19720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19721 if (!SWIG_IsOK(res1)) {
19722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19723 }
19724 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 result = (int)(arg1)->GetFlags();
19728 wxPyEndAllowThreads(__tstate);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 }
19731 resultobj = SWIG_From_int(static_cast< int >(result));
19732 return resultobj;
19733 fail:
19734 return NULL;
19735 }
19736
19737
19738 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19739 PyObject *resultobj = 0;
19740 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19741 int arg2 ;
19742 void *argp1 = 0 ;
19743 int res1 = 0 ;
19744 int val2 ;
19745 int ecode2 = 0 ;
19746 PyObject * obj0 = 0 ;
19747 PyObject * obj1 = 0 ;
19748 char * kwnames[] = {
19749 (char *) "self",(char *) "flags", NULL
19750 };
19751
19752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19754 if (!SWIG_IsOK(res1)) {
19755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19756 }
19757 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19758 ecode2 = SWIG_AsVal_int(obj1, &val2);
19759 if (!SWIG_IsOK(ecode2)) {
19760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19761 }
19762 arg2 = static_cast< int >(val2);
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 (arg1)->SetFlags(arg2);
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 resultobj = SWIG_Py_Void();
19770 return resultobj;
19771 fail:
19772 return NULL;
19773 }
19774
19775
19776 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19777 PyObject *resultobj = 0;
19778 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19779 wxString *arg2 = 0 ;
19780 void *argp1 = 0 ;
19781 int res1 = 0 ;
19782 bool temp2 = false ;
19783 PyObject * obj0 = 0 ;
19784 PyObject * obj1 = 0 ;
19785 char * kwnames[] = {
19786 (char *) "self",(char *) "str", NULL
19787 };
19788
19789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19791 if (!SWIG_IsOK(res1)) {
19792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19793 }
19794 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19795 {
19796 arg2 = wxString_in_helper(obj1);
19797 if (arg2 == NULL) SWIG_fail;
19798 temp2 = true;
19799 }
19800 {
19801 PyThreadState* __tstate = wxPyBeginAllowThreads();
19802 (arg1)->SetFindString((wxString const &)*arg2);
19803 wxPyEndAllowThreads(__tstate);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
19806 resultobj = SWIG_Py_Void();
19807 {
19808 if (temp2)
19809 delete arg2;
19810 }
19811 return resultobj;
19812 fail:
19813 {
19814 if (temp2)
19815 delete arg2;
19816 }
19817 return NULL;
19818 }
19819
19820
19821 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19822 PyObject *resultobj = 0;
19823 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19824 wxString *arg2 = 0 ;
19825 void *argp1 = 0 ;
19826 int res1 = 0 ;
19827 bool temp2 = false ;
19828 PyObject * obj0 = 0 ;
19829 PyObject * obj1 = 0 ;
19830 char * kwnames[] = {
19831 (char *) "self",(char *) "str", NULL
19832 };
19833
19834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19836 if (!SWIG_IsOK(res1)) {
19837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19838 }
19839 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19840 {
19841 arg2 = wxString_in_helper(obj1);
19842 if (arg2 == NULL) SWIG_fail;
19843 temp2 = true;
19844 }
19845 {
19846 PyThreadState* __tstate = wxPyBeginAllowThreads();
19847 (arg1)->SetReplaceString((wxString const &)*arg2);
19848 wxPyEndAllowThreads(__tstate);
19849 if (PyErr_Occurred()) SWIG_fail;
19850 }
19851 resultobj = SWIG_Py_Void();
19852 {
19853 if (temp2)
19854 delete arg2;
19855 }
19856 return resultobj;
19857 fail:
19858 {
19859 if (temp2)
19860 delete arg2;
19861 }
19862 return NULL;
19863 }
19864
19865
19866 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19867 PyObject *obj;
19868 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19869 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19870 return SWIG_Py_Void();
19871 }
19872
19873 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19874 return SWIG_Python_InitShadowInstance(args);
19875 }
19876
19877 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19878 PyObject *resultobj = 0;
19879 wxWindow *arg1 = (wxWindow *) 0 ;
19880 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19881 wxString *arg3 = 0 ;
19882 int arg4 = (int) 0 ;
19883 wxFindReplaceDialog *result = 0 ;
19884 void *argp1 = 0 ;
19885 int res1 = 0 ;
19886 void *argp2 = 0 ;
19887 int res2 = 0 ;
19888 bool temp3 = false ;
19889 int val4 ;
19890 int ecode4 = 0 ;
19891 PyObject * obj0 = 0 ;
19892 PyObject * obj1 = 0 ;
19893 PyObject * obj2 = 0 ;
19894 PyObject * obj3 = 0 ;
19895 char * kwnames[] = {
19896 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19897 };
19898
19899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19901 if (!SWIG_IsOK(res1)) {
19902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19903 }
19904 arg1 = reinterpret_cast< wxWindow * >(argp1);
19905 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19906 if (!SWIG_IsOK(res2)) {
19907 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19908 }
19909 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19910 {
19911 arg3 = wxString_in_helper(obj2);
19912 if (arg3 == NULL) SWIG_fail;
19913 temp3 = true;
19914 }
19915 if (obj3) {
19916 ecode4 = SWIG_AsVal_int(obj3, &val4);
19917 if (!SWIG_IsOK(ecode4)) {
19918 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19919 }
19920 arg4 = static_cast< int >(val4);
19921 }
19922 {
19923 if (!wxPyCheckForApp()) SWIG_fail;
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19926 wxPyEndAllowThreads(__tstate);
19927 if (PyErr_Occurred()) SWIG_fail;
19928 }
19929 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19930 {
19931 if (temp3)
19932 delete arg3;
19933 }
19934 return resultobj;
19935 fail:
19936 {
19937 if (temp3)
19938 delete arg3;
19939 }
19940 return NULL;
19941 }
19942
19943
19944 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19945 PyObject *resultobj = 0;
19946 wxFindReplaceDialog *result = 0 ;
19947
19948 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19949 {
19950 if (!wxPyCheckForApp()) SWIG_fail;
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19953 wxPyEndAllowThreads(__tstate);
19954 if (PyErr_Occurred()) SWIG_fail;
19955 }
19956 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19957 return resultobj;
19958 fail:
19959 return NULL;
19960 }
19961
19962
19963 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19964 PyObject *resultobj = 0;
19965 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19966 wxWindow *arg2 = (wxWindow *) 0 ;
19967 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
19968 wxString *arg4 = 0 ;
19969 int arg5 = (int) 0 ;
19970 bool result;
19971 void *argp1 = 0 ;
19972 int res1 = 0 ;
19973 void *argp2 = 0 ;
19974 int res2 = 0 ;
19975 void *argp3 = 0 ;
19976 int res3 = 0 ;
19977 bool temp4 = false ;
19978 int val5 ;
19979 int ecode5 = 0 ;
19980 PyObject * obj0 = 0 ;
19981 PyObject * obj1 = 0 ;
19982 PyObject * obj2 = 0 ;
19983 PyObject * obj3 = 0 ;
19984 PyObject * obj4 = 0 ;
19985 char * kwnames[] = {
19986 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19987 };
19988
19989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19991 if (!SWIG_IsOK(res1)) {
19992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19993 }
19994 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19995 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19996 if (!SWIG_IsOK(res2)) {
19997 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19998 }
19999 arg2 = reinterpret_cast< wxWindow * >(argp2);
20000 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20001 if (!SWIG_IsOK(res3)) {
20002 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20003 }
20004 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20005 {
20006 arg4 = wxString_in_helper(obj3);
20007 if (arg4 == NULL) SWIG_fail;
20008 temp4 = true;
20009 }
20010 if (obj4) {
20011 ecode5 = SWIG_AsVal_int(obj4, &val5);
20012 if (!SWIG_IsOK(ecode5)) {
20013 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20014 }
20015 arg5 = static_cast< int >(val5);
20016 }
20017 {
20018 PyThreadState* __tstate = wxPyBeginAllowThreads();
20019 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20020 wxPyEndAllowThreads(__tstate);
20021 if (PyErr_Occurred()) SWIG_fail;
20022 }
20023 {
20024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20025 }
20026 {
20027 if (temp4)
20028 delete arg4;
20029 }
20030 return resultobj;
20031 fail:
20032 {
20033 if (temp4)
20034 delete arg4;
20035 }
20036 return NULL;
20037 }
20038
20039
20040 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20041 PyObject *resultobj = 0;
20042 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20043 wxFindReplaceData *result = 0 ;
20044 void *argp1 = 0 ;
20045 int res1 = 0 ;
20046 PyObject *swig_obj[1] ;
20047
20048 if (!args) SWIG_fail;
20049 swig_obj[0] = args;
20050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20051 if (!SWIG_IsOK(res1)) {
20052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20053 }
20054 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20055 {
20056 PyThreadState* __tstate = wxPyBeginAllowThreads();
20057 result = (wxFindReplaceData *)(arg1)->GetData();
20058 wxPyEndAllowThreads(__tstate);
20059 if (PyErr_Occurred()) SWIG_fail;
20060 }
20061 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20062 return resultobj;
20063 fail:
20064 return NULL;
20065 }
20066
20067
20068 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20069 PyObject *resultobj = 0;
20070 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20071 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20072 void *argp1 = 0 ;
20073 int res1 = 0 ;
20074 void *argp2 = 0 ;
20075 int res2 = 0 ;
20076 PyObject * obj0 = 0 ;
20077 PyObject * obj1 = 0 ;
20078 char * kwnames[] = {
20079 (char *) "self",(char *) "data", NULL
20080 };
20081
20082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20084 if (!SWIG_IsOK(res1)) {
20085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20086 }
20087 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20088 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20089 if (!SWIG_IsOK(res2)) {
20090 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20091 }
20092 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20093 {
20094 PyThreadState* __tstate = wxPyBeginAllowThreads();
20095 (arg1)->SetData(arg2);
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 resultobj = SWIG_Py_Void();
20100 return resultobj;
20101 fail:
20102 return NULL;
20103 }
20104
20105
20106 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20107 PyObject *obj;
20108 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20109 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20110 return SWIG_Py_Void();
20111 }
20112
20113 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20114 return SWIG_Python_InitShadowInstance(args);
20115 }
20116
20117 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20118 PyObject *resultobj = 0;
20119 wxWindow *arg1 = (wxWindow *) 0 ;
20120 int arg2 = (int) (int)-1 ;
20121 wxString const &arg3_defvalue = wxPyEmptyString ;
20122 wxString *arg3 = (wxString *) &arg3_defvalue ;
20123 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20124 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20125 wxSize const &arg5_defvalue = wxDefaultSize ;
20126 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20127 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20128 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20129 wxString *arg7 = (wxString *) &arg7_defvalue ;
20130 wxMDIParentFrame *result = 0 ;
20131 void *argp1 = 0 ;
20132 int res1 = 0 ;
20133 int val2 ;
20134 int ecode2 = 0 ;
20135 bool temp3 = false ;
20136 wxPoint temp4 ;
20137 wxSize temp5 ;
20138 long val6 ;
20139 int ecode6 = 0 ;
20140 bool temp7 = false ;
20141 PyObject * obj0 = 0 ;
20142 PyObject * obj1 = 0 ;
20143 PyObject * obj2 = 0 ;
20144 PyObject * obj3 = 0 ;
20145 PyObject * obj4 = 0 ;
20146 PyObject * obj5 = 0 ;
20147 PyObject * obj6 = 0 ;
20148 char * kwnames[] = {
20149 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20150 };
20151
20152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20154 if (!SWIG_IsOK(res1)) {
20155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20156 }
20157 arg1 = reinterpret_cast< wxWindow * >(argp1);
20158 if (obj1) {
20159 ecode2 = SWIG_AsVal_int(obj1, &val2);
20160 if (!SWIG_IsOK(ecode2)) {
20161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20162 }
20163 arg2 = static_cast< int >(val2);
20164 }
20165 if (obj2) {
20166 {
20167 arg3 = wxString_in_helper(obj2);
20168 if (arg3 == NULL) SWIG_fail;
20169 temp3 = true;
20170 }
20171 }
20172 if (obj3) {
20173 {
20174 arg4 = &temp4;
20175 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20176 }
20177 }
20178 if (obj4) {
20179 {
20180 arg5 = &temp5;
20181 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20182 }
20183 }
20184 if (obj5) {
20185 ecode6 = SWIG_AsVal_long(obj5, &val6);
20186 if (!SWIG_IsOK(ecode6)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20188 }
20189 arg6 = static_cast< long >(val6);
20190 }
20191 if (obj6) {
20192 {
20193 arg7 = wxString_in_helper(obj6);
20194 if (arg7 == NULL) SWIG_fail;
20195 temp7 = true;
20196 }
20197 }
20198 {
20199 if (!wxPyCheckForApp()) SWIG_fail;
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20202 wxPyEndAllowThreads(__tstate);
20203 if (PyErr_Occurred()) SWIG_fail;
20204 }
20205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20206 {
20207 if (temp3)
20208 delete arg3;
20209 }
20210 {
20211 if (temp7)
20212 delete arg7;
20213 }
20214 return resultobj;
20215 fail:
20216 {
20217 if (temp3)
20218 delete arg3;
20219 }
20220 {
20221 if (temp7)
20222 delete arg7;
20223 }
20224 return NULL;
20225 }
20226
20227
20228 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20229 PyObject *resultobj = 0;
20230 wxMDIParentFrame *result = 0 ;
20231
20232 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20233 {
20234 if (!wxPyCheckForApp()) SWIG_fail;
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20237 wxPyEndAllowThreads(__tstate);
20238 if (PyErr_Occurred()) SWIG_fail;
20239 }
20240 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20241 return resultobj;
20242 fail:
20243 return NULL;
20244 }
20245
20246
20247 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20248 PyObject *resultobj = 0;
20249 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20250 wxWindow *arg2 = (wxWindow *) 0 ;
20251 int arg3 = (int) (int)-1 ;
20252 wxString const &arg4_defvalue = wxPyEmptyString ;
20253 wxString *arg4 = (wxString *) &arg4_defvalue ;
20254 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20255 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20256 wxSize const &arg6_defvalue = wxDefaultSize ;
20257 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20258 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20259 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20260 wxString *arg8 = (wxString *) &arg8_defvalue ;
20261 bool result;
20262 void *argp1 = 0 ;
20263 int res1 = 0 ;
20264 void *argp2 = 0 ;
20265 int res2 = 0 ;
20266 int val3 ;
20267 int ecode3 = 0 ;
20268 bool temp4 = false ;
20269 wxPoint temp5 ;
20270 wxSize temp6 ;
20271 long val7 ;
20272 int ecode7 = 0 ;
20273 bool temp8 = false ;
20274 PyObject * obj0 = 0 ;
20275 PyObject * obj1 = 0 ;
20276 PyObject * obj2 = 0 ;
20277 PyObject * obj3 = 0 ;
20278 PyObject * obj4 = 0 ;
20279 PyObject * obj5 = 0 ;
20280 PyObject * obj6 = 0 ;
20281 PyObject * obj7 = 0 ;
20282 char * kwnames[] = {
20283 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20284 };
20285
20286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20288 if (!SWIG_IsOK(res1)) {
20289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20290 }
20291 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20292 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20293 if (!SWIG_IsOK(res2)) {
20294 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20295 }
20296 arg2 = reinterpret_cast< wxWindow * >(argp2);
20297 if (obj2) {
20298 ecode3 = SWIG_AsVal_int(obj2, &val3);
20299 if (!SWIG_IsOK(ecode3)) {
20300 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20301 }
20302 arg3 = static_cast< int >(val3);
20303 }
20304 if (obj3) {
20305 {
20306 arg4 = wxString_in_helper(obj3);
20307 if (arg4 == NULL) SWIG_fail;
20308 temp4 = true;
20309 }
20310 }
20311 if (obj4) {
20312 {
20313 arg5 = &temp5;
20314 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20315 }
20316 }
20317 if (obj5) {
20318 {
20319 arg6 = &temp6;
20320 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20321 }
20322 }
20323 if (obj6) {
20324 ecode7 = SWIG_AsVal_long(obj6, &val7);
20325 if (!SWIG_IsOK(ecode7)) {
20326 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20327 }
20328 arg7 = static_cast< long >(val7);
20329 }
20330 if (obj7) {
20331 {
20332 arg8 = wxString_in_helper(obj7);
20333 if (arg8 == NULL) SWIG_fail;
20334 temp8 = true;
20335 }
20336 }
20337 {
20338 PyThreadState* __tstate = wxPyBeginAllowThreads();
20339 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20340 wxPyEndAllowThreads(__tstate);
20341 if (PyErr_Occurred()) SWIG_fail;
20342 }
20343 {
20344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20345 }
20346 {
20347 if (temp4)
20348 delete arg4;
20349 }
20350 {
20351 if (temp8)
20352 delete arg8;
20353 }
20354 return resultobj;
20355 fail:
20356 {
20357 if (temp4)
20358 delete arg4;
20359 }
20360 {
20361 if (temp8)
20362 delete arg8;
20363 }
20364 return NULL;
20365 }
20366
20367
20368 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20369 PyObject *resultobj = 0;
20370 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20371 void *argp1 = 0 ;
20372 int res1 = 0 ;
20373 PyObject *swig_obj[1] ;
20374
20375 if (!args) SWIG_fail;
20376 swig_obj[0] = args;
20377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20378 if (!SWIG_IsOK(res1)) {
20379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20380 }
20381 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20382 {
20383 PyThreadState* __tstate = wxPyBeginAllowThreads();
20384 (arg1)->ActivateNext();
20385 wxPyEndAllowThreads(__tstate);
20386 if (PyErr_Occurred()) SWIG_fail;
20387 }
20388 resultobj = SWIG_Py_Void();
20389 return resultobj;
20390 fail:
20391 return NULL;
20392 }
20393
20394
20395 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20396 PyObject *resultobj = 0;
20397 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20398 void *argp1 = 0 ;
20399 int res1 = 0 ;
20400 PyObject *swig_obj[1] ;
20401
20402 if (!args) SWIG_fail;
20403 swig_obj[0] = args;
20404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20405 if (!SWIG_IsOK(res1)) {
20406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20407 }
20408 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20409 {
20410 PyThreadState* __tstate = wxPyBeginAllowThreads();
20411 (arg1)->ActivatePrevious();
20412 wxPyEndAllowThreads(__tstate);
20413 if (PyErr_Occurred()) SWIG_fail;
20414 }
20415 resultobj = SWIG_Py_Void();
20416 return resultobj;
20417 fail:
20418 return NULL;
20419 }
20420
20421
20422 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20423 PyObject *resultobj = 0;
20424 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20425 void *argp1 = 0 ;
20426 int res1 = 0 ;
20427 PyObject *swig_obj[1] ;
20428
20429 if (!args) SWIG_fail;
20430 swig_obj[0] = args;
20431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20432 if (!SWIG_IsOK(res1)) {
20433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20434 }
20435 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20436 {
20437 PyThreadState* __tstate = wxPyBeginAllowThreads();
20438 (arg1)->ArrangeIcons();
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 resultobj = SWIG_Py_Void();
20443 return resultobj;
20444 fail:
20445 return NULL;
20446 }
20447
20448
20449 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20450 PyObject *resultobj = 0;
20451 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20452 void *argp1 = 0 ;
20453 int res1 = 0 ;
20454 PyObject *swig_obj[1] ;
20455
20456 if (!args) SWIG_fail;
20457 swig_obj[0] = args;
20458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20459 if (!SWIG_IsOK(res1)) {
20460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20461 }
20462 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20463 {
20464 PyThreadState* __tstate = wxPyBeginAllowThreads();
20465 (arg1)->Cascade();
20466 wxPyEndAllowThreads(__tstate);
20467 if (PyErr_Occurred()) SWIG_fail;
20468 }
20469 resultobj = SWIG_Py_Void();
20470 return resultobj;
20471 fail:
20472 return NULL;
20473 }
20474
20475
20476 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20477 PyObject *resultobj = 0;
20478 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20479 wxMDIChildFrame *result = 0 ;
20480 void *argp1 = 0 ;
20481 int res1 = 0 ;
20482 PyObject *swig_obj[1] ;
20483
20484 if (!args) SWIG_fail;
20485 swig_obj[0] = args;
20486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20487 if (!SWIG_IsOK(res1)) {
20488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20489 }
20490 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20491 {
20492 PyThreadState* __tstate = wxPyBeginAllowThreads();
20493 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20494 wxPyEndAllowThreads(__tstate);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 }
20497 {
20498 resultobj = wxPyMake_wxObject(result, (bool)0);
20499 }
20500 return resultobj;
20501 fail:
20502 return NULL;
20503 }
20504
20505
20506 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20507 PyObject *resultobj = 0;
20508 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20509 wxMDIClientWindow *result = 0 ;
20510 void *argp1 = 0 ;
20511 int res1 = 0 ;
20512 PyObject *swig_obj[1] ;
20513
20514 if (!args) SWIG_fail;
20515 swig_obj[0] = args;
20516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20517 if (!SWIG_IsOK(res1)) {
20518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20519 }
20520 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20521 {
20522 PyThreadState* __tstate = wxPyBeginAllowThreads();
20523 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20524 wxPyEndAllowThreads(__tstate);
20525 if (PyErr_Occurred()) SWIG_fail;
20526 }
20527 {
20528 resultobj = wxPyMake_wxObject(result, (bool)0);
20529 }
20530 return resultobj;
20531 fail:
20532 return NULL;
20533 }
20534
20535
20536 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20537 PyObject *resultobj = 0;
20538 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20539 wxWindow *result = 0 ;
20540 void *argp1 = 0 ;
20541 int res1 = 0 ;
20542 PyObject *swig_obj[1] ;
20543
20544 if (!args) SWIG_fail;
20545 swig_obj[0] = args;
20546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20547 if (!SWIG_IsOK(res1)) {
20548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20549 }
20550 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20551 {
20552 PyThreadState* __tstate = wxPyBeginAllowThreads();
20553 result = (wxWindow *)(arg1)->GetToolBar();
20554 wxPyEndAllowThreads(__tstate);
20555 if (PyErr_Occurred()) SWIG_fail;
20556 }
20557 {
20558 resultobj = wxPyMake_wxObject(result, 0);
20559 }
20560 return resultobj;
20561 fail:
20562 return NULL;
20563 }
20564
20565
20566 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20567 PyObject *resultobj = 0;
20568 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20569 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20570 void *argp1 = 0 ;
20571 int res1 = 0 ;
20572 int val2 ;
20573 int ecode2 = 0 ;
20574 PyObject * obj0 = 0 ;
20575 PyObject * obj1 = 0 ;
20576 char * kwnames[] = {
20577 (char *) "self",(char *) "orient", NULL
20578 };
20579
20580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20582 if (!SWIG_IsOK(res1)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20584 }
20585 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20586 if (obj1) {
20587 ecode2 = SWIG_AsVal_int(obj1, &val2);
20588 if (!SWIG_IsOK(ecode2)) {
20589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20590 }
20591 arg2 = static_cast< wxOrientation >(val2);
20592 }
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 (arg1)->Tile(arg2);
20596 wxPyEndAllowThreads(__tstate);
20597 if (PyErr_Occurred()) SWIG_fail;
20598 }
20599 resultobj = SWIG_Py_Void();
20600 return resultobj;
20601 fail:
20602 return NULL;
20603 }
20604
20605
20606 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20607 PyObject *obj;
20608 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20609 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20610 return SWIG_Py_Void();
20611 }
20612
20613 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20614 return SWIG_Python_InitShadowInstance(args);
20615 }
20616
20617 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20618 PyObject *resultobj = 0;
20619 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20620 int arg2 = (int) (int)-1 ;
20621 wxString const &arg3_defvalue = wxPyEmptyString ;
20622 wxString *arg3 = (wxString *) &arg3_defvalue ;
20623 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20624 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20625 wxSize const &arg5_defvalue = wxDefaultSize ;
20626 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20627 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20628 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20629 wxString *arg7 = (wxString *) &arg7_defvalue ;
20630 wxMDIChildFrame *result = 0 ;
20631 void *argp1 = 0 ;
20632 int res1 = 0 ;
20633 int val2 ;
20634 int ecode2 = 0 ;
20635 bool temp3 = false ;
20636 wxPoint temp4 ;
20637 wxSize temp5 ;
20638 long val6 ;
20639 int ecode6 = 0 ;
20640 bool temp7 = false ;
20641 PyObject * obj0 = 0 ;
20642 PyObject * obj1 = 0 ;
20643 PyObject * obj2 = 0 ;
20644 PyObject * obj3 = 0 ;
20645 PyObject * obj4 = 0 ;
20646 PyObject * obj5 = 0 ;
20647 PyObject * obj6 = 0 ;
20648 char * kwnames[] = {
20649 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20650 };
20651
20652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20654 if (!SWIG_IsOK(res1)) {
20655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20656 }
20657 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20658 if (obj1) {
20659 ecode2 = SWIG_AsVal_int(obj1, &val2);
20660 if (!SWIG_IsOK(ecode2)) {
20661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20662 }
20663 arg2 = static_cast< int >(val2);
20664 }
20665 if (obj2) {
20666 {
20667 arg3 = wxString_in_helper(obj2);
20668 if (arg3 == NULL) SWIG_fail;
20669 temp3 = true;
20670 }
20671 }
20672 if (obj3) {
20673 {
20674 arg4 = &temp4;
20675 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20676 }
20677 }
20678 if (obj4) {
20679 {
20680 arg5 = &temp5;
20681 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20682 }
20683 }
20684 if (obj5) {
20685 ecode6 = SWIG_AsVal_long(obj5, &val6);
20686 if (!SWIG_IsOK(ecode6)) {
20687 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20688 }
20689 arg6 = static_cast< long >(val6);
20690 }
20691 if (obj6) {
20692 {
20693 arg7 = wxString_in_helper(obj6);
20694 if (arg7 == NULL) SWIG_fail;
20695 temp7 = true;
20696 }
20697 }
20698 {
20699 if (!wxPyCheckForApp()) SWIG_fail;
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20702 wxPyEndAllowThreads(__tstate);
20703 if (PyErr_Occurred()) SWIG_fail;
20704 }
20705 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20706 {
20707 if (temp3)
20708 delete arg3;
20709 }
20710 {
20711 if (temp7)
20712 delete arg7;
20713 }
20714 return resultobj;
20715 fail:
20716 {
20717 if (temp3)
20718 delete arg3;
20719 }
20720 {
20721 if (temp7)
20722 delete arg7;
20723 }
20724 return NULL;
20725 }
20726
20727
20728 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20729 PyObject *resultobj = 0;
20730 wxMDIChildFrame *result = 0 ;
20731
20732 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20733 {
20734 if (!wxPyCheckForApp()) SWIG_fail;
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20737 wxPyEndAllowThreads(__tstate);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 }
20740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20741 return resultobj;
20742 fail:
20743 return NULL;
20744 }
20745
20746
20747 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20748 PyObject *resultobj = 0;
20749 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20750 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20751 int arg3 = (int) (int)-1 ;
20752 wxString const &arg4_defvalue = wxPyEmptyString ;
20753 wxString *arg4 = (wxString *) &arg4_defvalue ;
20754 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20755 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20756 wxSize const &arg6_defvalue = wxDefaultSize ;
20757 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20758 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20759 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20760 wxString *arg8 = (wxString *) &arg8_defvalue ;
20761 bool result;
20762 void *argp1 = 0 ;
20763 int res1 = 0 ;
20764 void *argp2 = 0 ;
20765 int res2 = 0 ;
20766 int val3 ;
20767 int ecode3 = 0 ;
20768 bool temp4 = false ;
20769 wxPoint temp5 ;
20770 wxSize temp6 ;
20771 long val7 ;
20772 int ecode7 = 0 ;
20773 bool temp8 = false ;
20774 PyObject * obj0 = 0 ;
20775 PyObject * obj1 = 0 ;
20776 PyObject * obj2 = 0 ;
20777 PyObject * obj3 = 0 ;
20778 PyObject * obj4 = 0 ;
20779 PyObject * obj5 = 0 ;
20780 PyObject * obj6 = 0 ;
20781 PyObject * obj7 = 0 ;
20782 char * kwnames[] = {
20783 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20784 };
20785
20786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20788 if (!SWIG_IsOK(res1)) {
20789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20790 }
20791 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20792 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20793 if (!SWIG_IsOK(res2)) {
20794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20795 }
20796 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20797 if (obj2) {
20798 ecode3 = SWIG_AsVal_int(obj2, &val3);
20799 if (!SWIG_IsOK(ecode3)) {
20800 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20801 }
20802 arg3 = static_cast< int >(val3);
20803 }
20804 if (obj3) {
20805 {
20806 arg4 = wxString_in_helper(obj3);
20807 if (arg4 == NULL) SWIG_fail;
20808 temp4 = true;
20809 }
20810 }
20811 if (obj4) {
20812 {
20813 arg5 = &temp5;
20814 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20815 }
20816 }
20817 if (obj5) {
20818 {
20819 arg6 = &temp6;
20820 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20821 }
20822 }
20823 if (obj6) {
20824 ecode7 = SWIG_AsVal_long(obj6, &val7);
20825 if (!SWIG_IsOK(ecode7)) {
20826 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20827 }
20828 arg7 = static_cast< long >(val7);
20829 }
20830 if (obj7) {
20831 {
20832 arg8 = wxString_in_helper(obj7);
20833 if (arg8 == NULL) SWIG_fail;
20834 temp8 = true;
20835 }
20836 }
20837 {
20838 PyThreadState* __tstate = wxPyBeginAllowThreads();
20839 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20840 wxPyEndAllowThreads(__tstate);
20841 if (PyErr_Occurred()) SWIG_fail;
20842 }
20843 {
20844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20845 }
20846 {
20847 if (temp4)
20848 delete arg4;
20849 }
20850 {
20851 if (temp8)
20852 delete arg8;
20853 }
20854 return resultobj;
20855 fail:
20856 {
20857 if (temp4)
20858 delete arg4;
20859 }
20860 {
20861 if (temp8)
20862 delete arg8;
20863 }
20864 return NULL;
20865 }
20866
20867
20868 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20869 PyObject *resultobj = 0;
20870 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20871 void *argp1 = 0 ;
20872 int res1 = 0 ;
20873 PyObject *swig_obj[1] ;
20874
20875 if (!args) SWIG_fail;
20876 swig_obj[0] = args;
20877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20878 if (!SWIG_IsOK(res1)) {
20879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20880 }
20881 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20882 {
20883 PyThreadState* __tstate = wxPyBeginAllowThreads();
20884 (arg1)->Activate();
20885 wxPyEndAllowThreads(__tstate);
20886 if (PyErr_Occurred()) SWIG_fail;
20887 }
20888 resultobj = SWIG_Py_Void();
20889 return resultobj;
20890 fail:
20891 return NULL;
20892 }
20893
20894
20895 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20896 PyObject *obj;
20897 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20898 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20899 return SWIG_Py_Void();
20900 }
20901
20902 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20903 return SWIG_Python_InitShadowInstance(args);
20904 }
20905
20906 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20907 PyObject *resultobj = 0;
20908 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20909 long arg2 = (long) 0 ;
20910 wxMDIClientWindow *result = 0 ;
20911 void *argp1 = 0 ;
20912 int res1 = 0 ;
20913 long val2 ;
20914 int ecode2 = 0 ;
20915 PyObject * obj0 = 0 ;
20916 PyObject * obj1 = 0 ;
20917 char * kwnames[] = {
20918 (char *) "parent",(char *) "style", NULL
20919 };
20920
20921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20923 if (!SWIG_IsOK(res1)) {
20924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20925 }
20926 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20927 if (obj1) {
20928 ecode2 = SWIG_AsVal_long(obj1, &val2);
20929 if (!SWIG_IsOK(ecode2)) {
20930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20931 }
20932 arg2 = static_cast< long >(val2);
20933 }
20934 {
20935 if (!wxPyCheckForApp()) SWIG_fail;
20936 PyThreadState* __tstate = wxPyBeginAllowThreads();
20937 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
20942 return resultobj;
20943 fail:
20944 return NULL;
20945 }
20946
20947
20948 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20949 PyObject *resultobj = 0;
20950 wxMDIClientWindow *result = 0 ;
20951
20952 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
20953 {
20954 if (!wxPyCheckForApp()) SWIG_fail;
20955 PyThreadState* __tstate = wxPyBeginAllowThreads();
20956 result = (wxMDIClientWindow *)new wxMDIClientWindow();
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
20961 return resultobj;
20962 fail:
20963 return NULL;
20964 }
20965
20966
20967 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20968 PyObject *resultobj = 0;
20969 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
20970 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20971 long arg3 = (long) 0 ;
20972 bool result;
20973 void *argp1 = 0 ;
20974 int res1 = 0 ;
20975 void *argp2 = 0 ;
20976 int res2 = 0 ;
20977 long val3 ;
20978 int ecode3 = 0 ;
20979 PyObject * obj0 = 0 ;
20980 PyObject * obj1 = 0 ;
20981 PyObject * obj2 = 0 ;
20982 char * kwnames[] = {
20983 (char *) "self",(char *) "parent",(char *) "style", NULL
20984 };
20985
20986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
20988 if (!SWIG_IsOK(res1)) {
20989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20990 }
20991 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
20992 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20993 if (!SWIG_IsOK(res2)) {
20994 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20995 }
20996 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20997 if (obj2) {
20998 ecode3 = SWIG_AsVal_long(obj2, &val3);
20999 if (!SWIG_IsOK(ecode3)) {
21000 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21001 }
21002 arg3 = static_cast< long >(val3);
21003 }
21004 {
21005 PyThreadState* __tstate = wxPyBeginAllowThreads();
21006 result = (bool)(arg1)->Create(arg2,arg3);
21007 wxPyEndAllowThreads(__tstate);
21008 if (PyErr_Occurred()) SWIG_fail;
21009 }
21010 {
21011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21012 }
21013 return resultobj;
21014 fail:
21015 return NULL;
21016 }
21017
21018
21019 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21020 PyObject *obj;
21021 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21022 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21023 return SWIG_Py_Void();
21024 }
21025
21026 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21027 return SWIG_Python_InitShadowInstance(args);
21028 }
21029
21030 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21031 PyObject *resultobj = 0;
21032 wxWindow *arg1 = (wxWindow *) 0 ;
21033 int arg2 = (int) (int)-1 ;
21034 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21035 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21036 wxSize const &arg4_defvalue = wxDefaultSize ;
21037 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21038 long arg5 = (long) 0 ;
21039 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21040 wxString *arg6 = (wxString *) &arg6_defvalue ;
21041 wxPyWindow *result = 0 ;
21042 void *argp1 = 0 ;
21043 int res1 = 0 ;
21044 int val2 ;
21045 int ecode2 = 0 ;
21046 wxPoint temp3 ;
21047 wxSize temp4 ;
21048 long val5 ;
21049 int ecode5 = 0 ;
21050 bool temp6 = false ;
21051 PyObject * obj0 = 0 ;
21052 PyObject * obj1 = 0 ;
21053 PyObject * obj2 = 0 ;
21054 PyObject * obj3 = 0 ;
21055 PyObject * obj4 = 0 ;
21056 PyObject * obj5 = 0 ;
21057 char * kwnames[] = {
21058 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21059 };
21060
21061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21063 if (!SWIG_IsOK(res1)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21065 }
21066 arg1 = reinterpret_cast< wxWindow * >(argp1);
21067 if (obj1) {
21068 ecode2 = SWIG_AsVal_int(obj1, &val2);
21069 if (!SWIG_IsOK(ecode2)) {
21070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21071 }
21072 arg2 = static_cast< int >(val2);
21073 }
21074 if (obj2) {
21075 {
21076 arg3 = &temp3;
21077 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21078 }
21079 }
21080 if (obj3) {
21081 {
21082 arg4 = &temp4;
21083 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21084 }
21085 }
21086 if (obj4) {
21087 ecode5 = SWIG_AsVal_long(obj4, &val5);
21088 if (!SWIG_IsOK(ecode5)) {
21089 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21090 }
21091 arg5 = static_cast< long >(val5);
21092 }
21093 if (obj5) {
21094 {
21095 arg6 = wxString_in_helper(obj5);
21096 if (arg6 == NULL) SWIG_fail;
21097 temp6 = true;
21098 }
21099 }
21100 {
21101 if (!wxPyCheckForApp()) SWIG_fail;
21102 PyThreadState* __tstate = wxPyBeginAllowThreads();
21103 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21104 wxPyEndAllowThreads(__tstate);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21108 {
21109 if (temp6)
21110 delete arg6;
21111 }
21112 return resultobj;
21113 fail:
21114 {
21115 if (temp6)
21116 delete arg6;
21117 }
21118 return NULL;
21119 }
21120
21121
21122 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21123 PyObject *resultobj = 0;
21124 wxPyWindow *result = 0 ;
21125
21126 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21127 {
21128 if (!wxPyCheckForApp()) SWIG_fail;
21129 PyThreadState* __tstate = wxPyBeginAllowThreads();
21130 result = (wxPyWindow *)new wxPyWindow();
21131 wxPyEndAllowThreads(__tstate);
21132 if (PyErr_Occurred()) SWIG_fail;
21133 }
21134 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21135 return resultobj;
21136 fail:
21137 return NULL;
21138 }
21139
21140
21141 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21142 PyObject *resultobj = 0;
21143 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21144 PyObject *arg2 = (PyObject *) 0 ;
21145 PyObject *arg3 = (PyObject *) 0 ;
21146 void *argp1 = 0 ;
21147 int res1 = 0 ;
21148 PyObject * obj0 = 0 ;
21149 PyObject * obj1 = 0 ;
21150 PyObject * obj2 = 0 ;
21151 char * kwnames[] = {
21152 (char *) "self",(char *) "self",(char *) "_class", NULL
21153 };
21154
21155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21157 if (!SWIG_IsOK(res1)) {
21158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21159 }
21160 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21161 arg2 = obj1;
21162 arg3 = obj2;
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
21165 (arg1)->_setCallbackInfo(arg2,arg3);
21166 wxPyEndAllowThreads(__tstate);
21167 if (PyErr_Occurred()) SWIG_fail;
21168 }
21169 resultobj = SWIG_Py_Void();
21170 return resultobj;
21171 fail:
21172 return NULL;
21173 }
21174
21175
21176 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21177 PyObject *resultobj = 0;
21178 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21179 wxSize *arg2 = 0 ;
21180 void *argp1 = 0 ;
21181 int res1 = 0 ;
21182 wxSize temp2 ;
21183 PyObject * obj0 = 0 ;
21184 PyObject * obj1 = 0 ;
21185 char * kwnames[] = {
21186 (char *) "self",(char *) "size", NULL
21187 };
21188
21189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21191 if (!SWIG_IsOK(res1)) {
21192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21193 }
21194 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21195 {
21196 arg2 = &temp2;
21197 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21198 }
21199 {
21200 PyThreadState* __tstate = wxPyBeginAllowThreads();
21201 (arg1)->SetBestSize((wxSize const &)*arg2);
21202 wxPyEndAllowThreads(__tstate);
21203 if (PyErr_Occurred()) SWIG_fail;
21204 }
21205 resultobj = SWIG_Py_Void();
21206 return resultobj;
21207 fail:
21208 return NULL;
21209 }
21210
21211
21212 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21213 PyObject *resultobj = 0;
21214 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21215 wxDC *arg2 = (wxDC *) 0 ;
21216 bool result;
21217 void *argp1 = 0 ;
21218 int res1 = 0 ;
21219 void *argp2 = 0 ;
21220 int res2 = 0 ;
21221 PyObject * obj0 = 0 ;
21222 PyObject * obj1 = 0 ;
21223 char * kwnames[] = {
21224 (char *) "self",(char *) "dc", NULL
21225 };
21226
21227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21229 if (!SWIG_IsOK(res1)) {
21230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21231 }
21232 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21233 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21234 if (!SWIG_IsOK(res2)) {
21235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21236 }
21237 arg2 = reinterpret_cast< wxDC * >(argp2);
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 result = (bool)(arg1)->DoEraseBackground(arg2);
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 {
21245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21246 }
21247 return resultobj;
21248 fail:
21249 return NULL;
21250 }
21251
21252
21253 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21254 PyObject *resultobj = 0;
21255 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21256 int arg2 ;
21257 int arg3 ;
21258 int arg4 ;
21259 int arg5 ;
21260 void *argp1 = 0 ;
21261 int res1 = 0 ;
21262 int val2 ;
21263 int ecode2 = 0 ;
21264 int val3 ;
21265 int ecode3 = 0 ;
21266 int val4 ;
21267 int ecode4 = 0 ;
21268 int val5 ;
21269 int ecode5 = 0 ;
21270 PyObject * obj0 = 0 ;
21271 PyObject * obj1 = 0 ;
21272 PyObject * obj2 = 0 ;
21273 PyObject * obj3 = 0 ;
21274 PyObject * obj4 = 0 ;
21275 char * kwnames[] = {
21276 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21277 };
21278
21279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21281 if (!SWIG_IsOK(res1)) {
21282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21283 }
21284 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21285 ecode2 = SWIG_AsVal_int(obj1, &val2);
21286 if (!SWIG_IsOK(ecode2)) {
21287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21288 }
21289 arg2 = static_cast< int >(val2);
21290 ecode3 = SWIG_AsVal_int(obj2, &val3);
21291 if (!SWIG_IsOK(ecode3)) {
21292 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21293 }
21294 arg3 = static_cast< int >(val3);
21295 ecode4 = SWIG_AsVal_int(obj3, &val4);
21296 if (!SWIG_IsOK(ecode4)) {
21297 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21298 }
21299 arg4 = static_cast< int >(val4);
21300 ecode5 = SWIG_AsVal_int(obj4, &val5);
21301 if (!SWIG_IsOK(ecode5)) {
21302 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21303 }
21304 arg5 = static_cast< int >(val5);
21305 {
21306 PyThreadState* __tstate = wxPyBeginAllowThreads();
21307 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21308 wxPyEndAllowThreads(__tstate);
21309 if (PyErr_Occurred()) SWIG_fail;
21310 }
21311 resultobj = SWIG_Py_Void();
21312 return resultobj;
21313 fail:
21314 return NULL;
21315 }
21316
21317
21318 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21319 PyObject *resultobj = 0;
21320 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21321 int arg2 ;
21322 int arg3 ;
21323 int arg4 ;
21324 int arg5 ;
21325 int arg6 = (int) wxSIZE_AUTO ;
21326 void *argp1 = 0 ;
21327 int res1 = 0 ;
21328 int val2 ;
21329 int ecode2 = 0 ;
21330 int val3 ;
21331 int ecode3 = 0 ;
21332 int val4 ;
21333 int ecode4 = 0 ;
21334 int val5 ;
21335 int ecode5 = 0 ;
21336 int val6 ;
21337 int ecode6 = 0 ;
21338 PyObject * obj0 = 0 ;
21339 PyObject * obj1 = 0 ;
21340 PyObject * obj2 = 0 ;
21341 PyObject * obj3 = 0 ;
21342 PyObject * obj4 = 0 ;
21343 PyObject * obj5 = 0 ;
21344 char * kwnames[] = {
21345 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21346 };
21347
21348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21350 if (!SWIG_IsOK(res1)) {
21351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21352 }
21353 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21354 ecode2 = SWIG_AsVal_int(obj1, &val2);
21355 if (!SWIG_IsOK(ecode2)) {
21356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21357 }
21358 arg2 = static_cast< int >(val2);
21359 ecode3 = SWIG_AsVal_int(obj2, &val3);
21360 if (!SWIG_IsOK(ecode3)) {
21361 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21362 }
21363 arg3 = static_cast< int >(val3);
21364 ecode4 = SWIG_AsVal_int(obj3, &val4);
21365 if (!SWIG_IsOK(ecode4)) {
21366 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21367 }
21368 arg4 = static_cast< int >(val4);
21369 ecode5 = SWIG_AsVal_int(obj4, &val5);
21370 if (!SWIG_IsOK(ecode5)) {
21371 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21372 }
21373 arg5 = static_cast< int >(val5);
21374 if (obj5) {
21375 ecode6 = SWIG_AsVal_int(obj5, &val6);
21376 if (!SWIG_IsOK(ecode6)) {
21377 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21378 }
21379 arg6 = static_cast< int >(val6);
21380 }
21381 {
21382 PyThreadState* __tstate = wxPyBeginAllowThreads();
21383 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 resultobj = SWIG_Py_Void();
21388 return resultobj;
21389 fail:
21390 return NULL;
21391 }
21392
21393
21394 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21395 PyObject *resultobj = 0;
21396 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21397 int arg2 ;
21398 int arg3 ;
21399 void *argp1 = 0 ;
21400 int res1 = 0 ;
21401 int val2 ;
21402 int ecode2 = 0 ;
21403 int val3 ;
21404 int ecode3 = 0 ;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 PyObject * obj2 = 0 ;
21408 char * kwnames[] = {
21409 (char *) "self",(char *) "width",(char *) "height", NULL
21410 };
21411
21412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21414 if (!SWIG_IsOK(res1)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21416 }
21417 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21418 ecode2 = SWIG_AsVal_int(obj1, &val2);
21419 if (!SWIG_IsOK(ecode2)) {
21420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21421 }
21422 arg2 = static_cast< int >(val2);
21423 ecode3 = SWIG_AsVal_int(obj2, &val3);
21424 if (!SWIG_IsOK(ecode3)) {
21425 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21426 }
21427 arg3 = static_cast< int >(val3);
21428 {
21429 PyThreadState* __tstate = wxPyBeginAllowThreads();
21430 (arg1)->DoSetClientSize(arg2,arg3);
21431 wxPyEndAllowThreads(__tstate);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 }
21434 resultobj = SWIG_Py_Void();
21435 return resultobj;
21436 fail:
21437 return NULL;
21438 }
21439
21440
21441 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21442 PyObject *resultobj = 0;
21443 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21444 int arg2 ;
21445 int arg3 ;
21446 void *argp1 = 0 ;
21447 int res1 = 0 ;
21448 int val2 ;
21449 int ecode2 = 0 ;
21450 int val3 ;
21451 int ecode3 = 0 ;
21452 PyObject * obj0 = 0 ;
21453 PyObject * obj1 = 0 ;
21454 PyObject * obj2 = 0 ;
21455 char * kwnames[] = {
21456 (char *) "self",(char *) "x",(char *) "y", NULL
21457 };
21458
21459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21461 if (!SWIG_IsOK(res1)) {
21462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21463 }
21464 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21465 ecode2 = SWIG_AsVal_int(obj1, &val2);
21466 if (!SWIG_IsOK(ecode2)) {
21467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21468 }
21469 arg2 = static_cast< int >(val2);
21470 ecode3 = SWIG_AsVal_int(obj2, &val3);
21471 if (!SWIG_IsOK(ecode3)) {
21472 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21473 }
21474 arg3 = static_cast< int >(val3);
21475 {
21476 PyThreadState* __tstate = wxPyBeginAllowThreads();
21477 (arg1)->DoSetVirtualSize(arg2,arg3);
21478 wxPyEndAllowThreads(__tstate);
21479 if (PyErr_Occurred()) SWIG_fail;
21480 }
21481 resultobj = SWIG_Py_Void();
21482 return resultobj;
21483 fail:
21484 return NULL;
21485 }
21486
21487
21488 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21489 PyObject *resultobj = 0;
21490 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21491 int *arg2 = (int *) 0 ;
21492 int *arg3 = (int *) 0 ;
21493 void *argp1 = 0 ;
21494 int res1 = 0 ;
21495 int temp2 ;
21496 int res2 = SWIG_TMPOBJ ;
21497 int temp3 ;
21498 int res3 = SWIG_TMPOBJ ;
21499 PyObject *swig_obj[1] ;
21500
21501 arg2 = &temp2;
21502 arg3 = &temp3;
21503 if (!args) SWIG_fail;
21504 swig_obj[0] = args;
21505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21506 if (!SWIG_IsOK(res1)) {
21507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21508 }
21509 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 resultobj = SWIG_Py_Void();
21517 if (SWIG_IsTmpObj(res2)) {
21518 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21519 } else {
21520 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21521 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21522 }
21523 if (SWIG_IsTmpObj(res3)) {
21524 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21525 } else {
21526 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21527 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21528 }
21529 return resultobj;
21530 fail:
21531 return NULL;
21532 }
21533
21534
21535 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21536 PyObject *resultobj = 0;
21537 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21538 int *arg2 = (int *) 0 ;
21539 int *arg3 = (int *) 0 ;
21540 void *argp1 = 0 ;
21541 int res1 = 0 ;
21542 int temp2 ;
21543 int res2 = SWIG_TMPOBJ ;
21544 int temp3 ;
21545 int res3 = SWIG_TMPOBJ ;
21546 PyObject *swig_obj[1] ;
21547
21548 arg2 = &temp2;
21549 arg3 = &temp3;
21550 if (!args) SWIG_fail;
21551 swig_obj[0] = args;
21552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21553 if (!SWIG_IsOK(res1)) {
21554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21555 }
21556 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21557 {
21558 PyThreadState* __tstate = wxPyBeginAllowThreads();
21559 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21560 wxPyEndAllowThreads(__tstate);
21561 if (PyErr_Occurred()) SWIG_fail;
21562 }
21563 resultobj = SWIG_Py_Void();
21564 if (SWIG_IsTmpObj(res2)) {
21565 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21566 } else {
21567 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21568 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21569 }
21570 if (SWIG_IsTmpObj(res3)) {
21571 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21572 } else {
21573 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21574 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21575 }
21576 return resultobj;
21577 fail:
21578 return NULL;
21579 }
21580
21581
21582 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21583 PyObject *resultobj = 0;
21584 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21585 int *arg2 = (int *) 0 ;
21586 int *arg3 = (int *) 0 ;
21587 void *argp1 = 0 ;
21588 int res1 = 0 ;
21589 int temp2 ;
21590 int res2 = SWIG_TMPOBJ ;
21591 int temp3 ;
21592 int res3 = SWIG_TMPOBJ ;
21593 PyObject *swig_obj[1] ;
21594
21595 arg2 = &temp2;
21596 arg3 = &temp3;
21597 if (!args) SWIG_fail;
21598 swig_obj[0] = args;
21599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21600 if (!SWIG_IsOK(res1)) {
21601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21602 }
21603 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21604 {
21605 PyThreadState* __tstate = wxPyBeginAllowThreads();
21606 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21607 wxPyEndAllowThreads(__tstate);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
21610 resultobj = SWIG_Py_Void();
21611 if (SWIG_IsTmpObj(res2)) {
21612 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21613 } else {
21614 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21615 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21616 }
21617 if (SWIG_IsTmpObj(res3)) {
21618 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21619 } else {
21620 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21621 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21622 }
21623 return resultobj;
21624 fail:
21625 return NULL;
21626 }
21627
21628
21629 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21630 PyObject *resultobj = 0;
21631 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21632 wxSize result;
21633 void *argp1 = 0 ;
21634 int res1 = 0 ;
21635 PyObject *swig_obj[1] ;
21636
21637 if (!args) SWIG_fail;
21638 swig_obj[0] = args;
21639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21640 if (!SWIG_IsOK(res1)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21642 }
21643 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
21646 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21647 wxPyEndAllowThreads(__tstate);
21648 if (PyErr_Occurred()) SWIG_fail;
21649 }
21650 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21651 return resultobj;
21652 fail:
21653 return NULL;
21654 }
21655
21656
21657 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21658 PyObject *resultobj = 0;
21659 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21660 wxSize result;
21661 void *argp1 = 0 ;
21662 int res1 = 0 ;
21663 PyObject *swig_obj[1] ;
21664
21665 if (!args) SWIG_fail;
21666 swig_obj[0] = args;
21667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21668 if (!SWIG_IsOK(res1)) {
21669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21670 }
21671 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21679 return resultobj;
21680 fail:
21681 return NULL;
21682 }
21683
21684
21685 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21686 PyObject *resultobj = 0;
21687 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21688 SwigValueWrapper<wxVisualAttributes > result;
21689 void *argp1 = 0 ;
21690 int res1 = 0 ;
21691 PyObject *swig_obj[1] ;
21692
21693 if (!args) SWIG_fail;
21694 swig_obj[0] = args;
21695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21696 if (!SWIG_IsOK(res1)) {
21697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21698 }
21699 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21700 {
21701 PyThreadState* __tstate = wxPyBeginAllowThreads();
21702 result = (arg1)->GetDefaultAttributes();
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21707 return resultobj;
21708 fail:
21709 return NULL;
21710 }
21711
21712
21713 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21714 PyObject *resultobj = 0;
21715 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21716 void *argp1 = 0 ;
21717 int res1 = 0 ;
21718 PyObject *swig_obj[1] ;
21719
21720 if (!args) SWIG_fail;
21721 swig_obj[0] = args;
21722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21723 if (!SWIG_IsOK(res1)) {
21724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21725 }
21726 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21727 {
21728 PyThreadState* __tstate = wxPyBeginAllowThreads();
21729 (arg1)->OnInternalIdle();
21730 wxPyEndAllowThreads(__tstate);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 }
21733 resultobj = SWIG_Py_Void();
21734 return resultobj;
21735 fail:
21736 return NULL;
21737 }
21738
21739
21740 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21741 PyObject *obj;
21742 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21743 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21744 return SWIG_Py_Void();
21745 }
21746
21747 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21748 return SWIG_Python_InitShadowInstance(args);
21749 }
21750
21751 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21752 PyObject *resultobj = 0;
21753 wxWindow *arg1 = (wxWindow *) 0 ;
21754 int arg2 = (int) (int)-1 ;
21755 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21756 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21757 wxSize const &arg4_defvalue = wxDefaultSize ;
21758 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21759 long arg5 = (long) 0 ;
21760 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21761 wxString *arg6 = (wxString *) &arg6_defvalue ;
21762 wxPyPanel *result = 0 ;
21763 void *argp1 = 0 ;
21764 int res1 = 0 ;
21765 int val2 ;
21766 int ecode2 = 0 ;
21767 wxPoint temp3 ;
21768 wxSize temp4 ;
21769 long val5 ;
21770 int ecode5 = 0 ;
21771 bool temp6 = false ;
21772 PyObject * obj0 = 0 ;
21773 PyObject * obj1 = 0 ;
21774 PyObject * obj2 = 0 ;
21775 PyObject * obj3 = 0 ;
21776 PyObject * obj4 = 0 ;
21777 PyObject * obj5 = 0 ;
21778 char * kwnames[] = {
21779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21780 };
21781
21782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21784 if (!SWIG_IsOK(res1)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21786 }
21787 arg1 = reinterpret_cast< wxWindow * >(argp1);
21788 if (obj1) {
21789 ecode2 = SWIG_AsVal_int(obj1, &val2);
21790 if (!SWIG_IsOK(ecode2)) {
21791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21792 }
21793 arg2 = static_cast< int >(val2);
21794 }
21795 if (obj2) {
21796 {
21797 arg3 = &temp3;
21798 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21799 }
21800 }
21801 if (obj3) {
21802 {
21803 arg4 = &temp4;
21804 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21805 }
21806 }
21807 if (obj4) {
21808 ecode5 = SWIG_AsVal_long(obj4, &val5);
21809 if (!SWIG_IsOK(ecode5)) {
21810 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21811 }
21812 arg5 = static_cast< long >(val5);
21813 }
21814 if (obj5) {
21815 {
21816 arg6 = wxString_in_helper(obj5);
21817 if (arg6 == NULL) SWIG_fail;
21818 temp6 = true;
21819 }
21820 }
21821 {
21822 if (!wxPyCheckForApp()) SWIG_fail;
21823 PyThreadState* __tstate = wxPyBeginAllowThreads();
21824 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21825 wxPyEndAllowThreads(__tstate);
21826 if (PyErr_Occurred()) SWIG_fail;
21827 }
21828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21829 {
21830 if (temp6)
21831 delete arg6;
21832 }
21833 return resultobj;
21834 fail:
21835 {
21836 if (temp6)
21837 delete arg6;
21838 }
21839 return NULL;
21840 }
21841
21842
21843 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21844 PyObject *resultobj = 0;
21845 wxPyPanel *result = 0 ;
21846
21847 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21848 {
21849 if (!wxPyCheckForApp()) SWIG_fail;
21850 PyThreadState* __tstate = wxPyBeginAllowThreads();
21851 result = (wxPyPanel *)new wxPyPanel();
21852 wxPyEndAllowThreads(__tstate);
21853 if (PyErr_Occurred()) SWIG_fail;
21854 }
21855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21856 return resultobj;
21857 fail:
21858 return NULL;
21859 }
21860
21861
21862 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21863 PyObject *resultobj = 0;
21864 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21865 PyObject *arg2 = (PyObject *) 0 ;
21866 PyObject *arg3 = (PyObject *) 0 ;
21867 void *argp1 = 0 ;
21868 int res1 = 0 ;
21869 PyObject * obj0 = 0 ;
21870 PyObject * obj1 = 0 ;
21871 PyObject * obj2 = 0 ;
21872 char * kwnames[] = {
21873 (char *) "self",(char *) "self",(char *) "_class", NULL
21874 };
21875
21876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21878 if (!SWIG_IsOK(res1)) {
21879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21880 }
21881 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21882 arg2 = obj1;
21883 arg3 = obj2;
21884 {
21885 PyThreadState* __tstate = wxPyBeginAllowThreads();
21886 (arg1)->_setCallbackInfo(arg2,arg3);
21887 wxPyEndAllowThreads(__tstate);
21888 if (PyErr_Occurred()) SWIG_fail;
21889 }
21890 resultobj = SWIG_Py_Void();
21891 return resultobj;
21892 fail:
21893 return NULL;
21894 }
21895
21896
21897 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21898 PyObject *resultobj = 0;
21899 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21900 wxSize *arg2 = 0 ;
21901 void *argp1 = 0 ;
21902 int res1 = 0 ;
21903 wxSize temp2 ;
21904 PyObject * obj0 = 0 ;
21905 PyObject * obj1 = 0 ;
21906 char * kwnames[] = {
21907 (char *) "self",(char *) "size", NULL
21908 };
21909
21910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21912 if (!SWIG_IsOK(res1)) {
21913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21914 }
21915 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21916 {
21917 arg2 = &temp2;
21918 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21919 }
21920 {
21921 PyThreadState* __tstate = wxPyBeginAllowThreads();
21922 (arg1)->SetBestSize((wxSize const &)*arg2);
21923 wxPyEndAllowThreads(__tstate);
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
21926 resultobj = SWIG_Py_Void();
21927 return resultobj;
21928 fail:
21929 return NULL;
21930 }
21931
21932
21933 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21934 PyObject *resultobj = 0;
21935 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21936 wxDC *arg2 = (wxDC *) 0 ;
21937 bool result;
21938 void *argp1 = 0 ;
21939 int res1 = 0 ;
21940 void *argp2 = 0 ;
21941 int res2 = 0 ;
21942 PyObject * obj0 = 0 ;
21943 PyObject * obj1 = 0 ;
21944 char * kwnames[] = {
21945 (char *) "self",(char *) "dc", NULL
21946 };
21947
21948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21950 if (!SWIG_IsOK(res1)) {
21951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21952 }
21953 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21954 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21955 if (!SWIG_IsOK(res2)) {
21956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21957 }
21958 arg2 = reinterpret_cast< wxDC * >(argp2);
21959 {
21960 PyThreadState* __tstate = wxPyBeginAllowThreads();
21961 result = (bool)(arg1)->DoEraseBackground(arg2);
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 {
21966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21967 }
21968 return resultobj;
21969 fail:
21970 return NULL;
21971 }
21972
21973
21974 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21975 PyObject *resultobj = 0;
21976 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21977 int arg2 ;
21978 int arg3 ;
21979 int arg4 ;
21980 int arg5 ;
21981 void *argp1 = 0 ;
21982 int res1 = 0 ;
21983 int val2 ;
21984 int ecode2 = 0 ;
21985 int val3 ;
21986 int ecode3 = 0 ;
21987 int val4 ;
21988 int ecode4 = 0 ;
21989 int val5 ;
21990 int ecode5 = 0 ;
21991 PyObject * obj0 = 0 ;
21992 PyObject * obj1 = 0 ;
21993 PyObject * obj2 = 0 ;
21994 PyObject * obj3 = 0 ;
21995 PyObject * obj4 = 0 ;
21996 char * kwnames[] = {
21997 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21998 };
21999
22000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22002 if (!SWIG_IsOK(res1)) {
22003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22004 }
22005 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22006 ecode2 = SWIG_AsVal_int(obj1, &val2);
22007 if (!SWIG_IsOK(ecode2)) {
22008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22009 }
22010 arg2 = static_cast< int >(val2);
22011 ecode3 = SWIG_AsVal_int(obj2, &val3);
22012 if (!SWIG_IsOK(ecode3)) {
22013 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22014 }
22015 arg3 = static_cast< int >(val3);
22016 ecode4 = SWIG_AsVal_int(obj3, &val4);
22017 if (!SWIG_IsOK(ecode4)) {
22018 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22019 }
22020 arg4 = static_cast< int >(val4);
22021 ecode5 = SWIG_AsVal_int(obj4, &val5);
22022 if (!SWIG_IsOK(ecode5)) {
22023 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22024 }
22025 arg5 = static_cast< int >(val5);
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22029 wxPyEndAllowThreads(__tstate);
22030 if (PyErr_Occurred()) SWIG_fail;
22031 }
22032 resultobj = SWIG_Py_Void();
22033 return resultobj;
22034 fail:
22035 return NULL;
22036 }
22037
22038
22039 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22040 PyObject *resultobj = 0;
22041 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22042 int arg2 ;
22043 int arg3 ;
22044 int arg4 ;
22045 int arg5 ;
22046 int arg6 = (int) wxSIZE_AUTO ;
22047 void *argp1 = 0 ;
22048 int res1 = 0 ;
22049 int val2 ;
22050 int ecode2 = 0 ;
22051 int val3 ;
22052 int ecode3 = 0 ;
22053 int val4 ;
22054 int ecode4 = 0 ;
22055 int val5 ;
22056 int ecode5 = 0 ;
22057 int val6 ;
22058 int ecode6 = 0 ;
22059 PyObject * obj0 = 0 ;
22060 PyObject * obj1 = 0 ;
22061 PyObject * obj2 = 0 ;
22062 PyObject * obj3 = 0 ;
22063 PyObject * obj4 = 0 ;
22064 PyObject * obj5 = 0 ;
22065 char * kwnames[] = {
22066 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22067 };
22068
22069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22071 if (!SWIG_IsOK(res1)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22073 }
22074 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22075 ecode2 = SWIG_AsVal_int(obj1, &val2);
22076 if (!SWIG_IsOK(ecode2)) {
22077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22078 }
22079 arg2 = static_cast< int >(val2);
22080 ecode3 = SWIG_AsVal_int(obj2, &val3);
22081 if (!SWIG_IsOK(ecode3)) {
22082 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22083 }
22084 arg3 = static_cast< int >(val3);
22085 ecode4 = SWIG_AsVal_int(obj3, &val4);
22086 if (!SWIG_IsOK(ecode4)) {
22087 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22088 }
22089 arg4 = static_cast< int >(val4);
22090 ecode5 = SWIG_AsVal_int(obj4, &val5);
22091 if (!SWIG_IsOK(ecode5)) {
22092 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22093 }
22094 arg5 = static_cast< int >(val5);
22095 if (obj5) {
22096 ecode6 = SWIG_AsVal_int(obj5, &val6);
22097 if (!SWIG_IsOK(ecode6)) {
22098 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22099 }
22100 arg6 = static_cast< int >(val6);
22101 }
22102 {
22103 PyThreadState* __tstate = wxPyBeginAllowThreads();
22104 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22105 wxPyEndAllowThreads(__tstate);
22106 if (PyErr_Occurred()) SWIG_fail;
22107 }
22108 resultobj = SWIG_Py_Void();
22109 return resultobj;
22110 fail:
22111 return NULL;
22112 }
22113
22114
22115 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22116 PyObject *resultobj = 0;
22117 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22118 int arg2 ;
22119 int arg3 ;
22120 void *argp1 = 0 ;
22121 int res1 = 0 ;
22122 int val2 ;
22123 int ecode2 = 0 ;
22124 int val3 ;
22125 int ecode3 = 0 ;
22126 PyObject * obj0 = 0 ;
22127 PyObject * obj1 = 0 ;
22128 PyObject * obj2 = 0 ;
22129 char * kwnames[] = {
22130 (char *) "self",(char *) "width",(char *) "height", NULL
22131 };
22132
22133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22135 if (!SWIG_IsOK(res1)) {
22136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22137 }
22138 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22139 ecode2 = SWIG_AsVal_int(obj1, &val2);
22140 if (!SWIG_IsOK(ecode2)) {
22141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22142 }
22143 arg2 = static_cast< int >(val2);
22144 ecode3 = SWIG_AsVal_int(obj2, &val3);
22145 if (!SWIG_IsOK(ecode3)) {
22146 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22147 }
22148 arg3 = static_cast< int >(val3);
22149 {
22150 PyThreadState* __tstate = wxPyBeginAllowThreads();
22151 (arg1)->DoSetClientSize(arg2,arg3);
22152 wxPyEndAllowThreads(__tstate);
22153 if (PyErr_Occurred()) SWIG_fail;
22154 }
22155 resultobj = SWIG_Py_Void();
22156 return resultobj;
22157 fail:
22158 return NULL;
22159 }
22160
22161
22162 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22163 PyObject *resultobj = 0;
22164 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22165 int arg2 ;
22166 int arg3 ;
22167 void *argp1 = 0 ;
22168 int res1 = 0 ;
22169 int val2 ;
22170 int ecode2 = 0 ;
22171 int val3 ;
22172 int ecode3 = 0 ;
22173 PyObject * obj0 = 0 ;
22174 PyObject * obj1 = 0 ;
22175 PyObject * obj2 = 0 ;
22176 char * kwnames[] = {
22177 (char *) "self",(char *) "x",(char *) "y", NULL
22178 };
22179
22180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22182 if (!SWIG_IsOK(res1)) {
22183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22184 }
22185 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22186 ecode2 = SWIG_AsVal_int(obj1, &val2);
22187 if (!SWIG_IsOK(ecode2)) {
22188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22189 }
22190 arg2 = static_cast< int >(val2);
22191 ecode3 = SWIG_AsVal_int(obj2, &val3);
22192 if (!SWIG_IsOK(ecode3)) {
22193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22194 }
22195 arg3 = static_cast< int >(val3);
22196 {
22197 PyThreadState* __tstate = wxPyBeginAllowThreads();
22198 (arg1)->DoSetVirtualSize(arg2,arg3);
22199 wxPyEndAllowThreads(__tstate);
22200 if (PyErr_Occurred()) SWIG_fail;
22201 }
22202 resultobj = SWIG_Py_Void();
22203 return resultobj;
22204 fail:
22205 return NULL;
22206 }
22207
22208
22209 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22210 PyObject *resultobj = 0;
22211 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22212 int *arg2 = (int *) 0 ;
22213 int *arg3 = (int *) 0 ;
22214 void *argp1 = 0 ;
22215 int res1 = 0 ;
22216 int temp2 ;
22217 int res2 = SWIG_TMPOBJ ;
22218 int temp3 ;
22219 int res3 = SWIG_TMPOBJ ;
22220 PyObject *swig_obj[1] ;
22221
22222 arg2 = &temp2;
22223 arg3 = &temp3;
22224 if (!args) SWIG_fail;
22225 swig_obj[0] = args;
22226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22227 if (!SWIG_IsOK(res1)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22229 }
22230 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22231 {
22232 PyThreadState* __tstate = wxPyBeginAllowThreads();
22233 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22234 wxPyEndAllowThreads(__tstate);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
22237 resultobj = SWIG_Py_Void();
22238 if (SWIG_IsTmpObj(res2)) {
22239 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22240 } else {
22241 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22242 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22243 }
22244 if (SWIG_IsTmpObj(res3)) {
22245 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22246 } else {
22247 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22248 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22249 }
22250 return resultobj;
22251 fail:
22252 return NULL;
22253 }
22254
22255
22256 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22257 PyObject *resultobj = 0;
22258 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22259 int *arg2 = (int *) 0 ;
22260 int *arg3 = (int *) 0 ;
22261 void *argp1 = 0 ;
22262 int res1 = 0 ;
22263 int temp2 ;
22264 int res2 = SWIG_TMPOBJ ;
22265 int temp3 ;
22266 int res3 = SWIG_TMPOBJ ;
22267 PyObject *swig_obj[1] ;
22268
22269 arg2 = &temp2;
22270 arg3 = &temp3;
22271 if (!args) SWIG_fail;
22272 swig_obj[0] = args;
22273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22274 if (!SWIG_IsOK(res1)) {
22275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22276 }
22277 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22278 {
22279 PyThreadState* __tstate = wxPyBeginAllowThreads();
22280 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22281 wxPyEndAllowThreads(__tstate);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 resultobj = SWIG_Py_Void();
22285 if (SWIG_IsTmpObj(res2)) {
22286 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22287 } else {
22288 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22289 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22290 }
22291 if (SWIG_IsTmpObj(res3)) {
22292 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22293 } else {
22294 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22295 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22296 }
22297 return resultobj;
22298 fail:
22299 return NULL;
22300 }
22301
22302
22303 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22304 PyObject *resultobj = 0;
22305 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22306 int *arg2 = (int *) 0 ;
22307 int *arg3 = (int *) 0 ;
22308 void *argp1 = 0 ;
22309 int res1 = 0 ;
22310 int temp2 ;
22311 int res2 = SWIG_TMPOBJ ;
22312 int temp3 ;
22313 int res3 = SWIG_TMPOBJ ;
22314 PyObject *swig_obj[1] ;
22315
22316 arg2 = &temp2;
22317 arg3 = &temp3;
22318 if (!args) SWIG_fail;
22319 swig_obj[0] = args;
22320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22321 if (!SWIG_IsOK(res1)) {
22322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22323 }
22324 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22325 {
22326 PyThreadState* __tstate = wxPyBeginAllowThreads();
22327 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22328 wxPyEndAllowThreads(__tstate);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 resultobj = SWIG_Py_Void();
22332 if (SWIG_IsTmpObj(res2)) {
22333 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22334 } else {
22335 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22336 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22337 }
22338 if (SWIG_IsTmpObj(res3)) {
22339 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22340 } else {
22341 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22342 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22343 }
22344 return resultobj;
22345 fail:
22346 return NULL;
22347 }
22348
22349
22350 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22351 PyObject *resultobj = 0;
22352 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22353 wxSize result;
22354 void *argp1 = 0 ;
22355 int res1 = 0 ;
22356 PyObject *swig_obj[1] ;
22357
22358 if (!args) SWIG_fail;
22359 swig_obj[0] = args;
22360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22361 if (!SWIG_IsOK(res1)) {
22362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22363 }
22364 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22365 {
22366 PyThreadState* __tstate = wxPyBeginAllowThreads();
22367 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
22371 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22372 return resultobj;
22373 fail:
22374 return NULL;
22375 }
22376
22377
22378 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22379 PyObject *resultobj = 0;
22380 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22381 wxSize result;
22382 void *argp1 = 0 ;
22383 int res1 = 0 ;
22384 PyObject *swig_obj[1] ;
22385
22386 if (!args) SWIG_fail;
22387 swig_obj[0] = args;
22388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22389 if (!SWIG_IsOK(res1)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22391 }
22392 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22393 {
22394 PyThreadState* __tstate = wxPyBeginAllowThreads();
22395 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22400 return resultobj;
22401 fail:
22402 return NULL;
22403 }
22404
22405
22406 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22407 PyObject *resultobj = 0;
22408 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22409 SwigValueWrapper<wxVisualAttributes > result;
22410 void *argp1 = 0 ;
22411 int res1 = 0 ;
22412 PyObject *swig_obj[1] ;
22413
22414 if (!args) SWIG_fail;
22415 swig_obj[0] = args;
22416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22417 if (!SWIG_IsOK(res1)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22419 }
22420 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 result = (arg1)->GetDefaultAttributes();
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22428 return resultobj;
22429 fail:
22430 return NULL;
22431 }
22432
22433
22434 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22435 PyObject *resultobj = 0;
22436 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22437 void *argp1 = 0 ;
22438 int res1 = 0 ;
22439 PyObject *swig_obj[1] ;
22440
22441 if (!args) SWIG_fail;
22442 swig_obj[0] = args;
22443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22444 if (!SWIG_IsOK(res1)) {
22445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22446 }
22447 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 (arg1)->OnInternalIdle();
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 resultobj = SWIG_Py_Void();
22455 return resultobj;
22456 fail:
22457 return NULL;
22458 }
22459
22460
22461 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22462 PyObject *obj;
22463 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22464 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22465 return SWIG_Py_Void();
22466 }
22467
22468 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22469 return SWIG_Python_InitShadowInstance(args);
22470 }
22471
22472 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22473 PyObject *resultobj = 0;
22474 wxWindow *arg1 = (wxWindow *) 0 ;
22475 int arg2 = (int) (int)-1 ;
22476 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22477 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22478 wxSize const &arg4_defvalue = wxDefaultSize ;
22479 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22480 long arg5 = (long) 0 ;
22481 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22482 wxString *arg6 = (wxString *) &arg6_defvalue ;
22483 wxPyScrolledWindow *result = 0 ;
22484 void *argp1 = 0 ;
22485 int res1 = 0 ;
22486 int val2 ;
22487 int ecode2 = 0 ;
22488 wxPoint temp3 ;
22489 wxSize temp4 ;
22490 long val5 ;
22491 int ecode5 = 0 ;
22492 bool temp6 = false ;
22493 PyObject * obj0 = 0 ;
22494 PyObject * obj1 = 0 ;
22495 PyObject * obj2 = 0 ;
22496 PyObject * obj3 = 0 ;
22497 PyObject * obj4 = 0 ;
22498 PyObject * obj5 = 0 ;
22499 char * kwnames[] = {
22500 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22501 };
22502
22503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22505 if (!SWIG_IsOK(res1)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22507 }
22508 arg1 = reinterpret_cast< wxWindow * >(argp1);
22509 if (obj1) {
22510 ecode2 = SWIG_AsVal_int(obj1, &val2);
22511 if (!SWIG_IsOK(ecode2)) {
22512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22513 }
22514 arg2 = static_cast< int >(val2);
22515 }
22516 if (obj2) {
22517 {
22518 arg3 = &temp3;
22519 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22520 }
22521 }
22522 if (obj3) {
22523 {
22524 arg4 = &temp4;
22525 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22526 }
22527 }
22528 if (obj4) {
22529 ecode5 = SWIG_AsVal_long(obj4, &val5);
22530 if (!SWIG_IsOK(ecode5)) {
22531 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22532 }
22533 arg5 = static_cast< long >(val5);
22534 }
22535 if (obj5) {
22536 {
22537 arg6 = wxString_in_helper(obj5);
22538 if (arg6 == NULL) SWIG_fail;
22539 temp6 = true;
22540 }
22541 }
22542 {
22543 if (!wxPyCheckForApp()) SWIG_fail;
22544 PyThreadState* __tstate = wxPyBeginAllowThreads();
22545 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22546 wxPyEndAllowThreads(__tstate);
22547 if (PyErr_Occurred()) SWIG_fail;
22548 }
22549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22550 {
22551 if (temp6)
22552 delete arg6;
22553 }
22554 return resultobj;
22555 fail:
22556 {
22557 if (temp6)
22558 delete arg6;
22559 }
22560 return NULL;
22561 }
22562
22563
22564 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22565 PyObject *resultobj = 0;
22566 wxPyScrolledWindow *result = 0 ;
22567
22568 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22569 {
22570 if (!wxPyCheckForApp()) SWIG_fail;
22571 PyThreadState* __tstate = wxPyBeginAllowThreads();
22572 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22577 return resultobj;
22578 fail:
22579 return NULL;
22580 }
22581
22582
22583 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22584 PyObject *resultobj = 0;
22585 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22586 PyObject *arg2 = (PyObject *) 0 ;
22587 PyObject *arg3 = (PyObject *) 0 ;
22588 void *argp1 = 0 ;
22589 int res1 = 0 ;
22590 PyObject * obj0 = 0 ;
22591 PyObject * obj1 = 0 ;
22592 PyObject * obj2 = 0 ;
22593 char * kwnames[] = {
22594 (char *) "self",(char *) "self",(char *) "_class", NULL
22595 };
22596
22597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22599 if (!SWIG_IsOK(res1)) {
22600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22601 }
22602 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22603 arg2 = obj1;
22604 arg3 = obj2;
22605 {
22606 PyThreadState* __tstate = wxPyBeginAllowThreads();
22607 (arg1)->_setCallbackInfo(arg2,arg3);
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 resultobj = SWIG_Py_Void();
22612 return resultobj;
22613 fail:
22614 return NULL;
22615 }
22616
22617
22618 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22619 PyObject *resultobj = 0;
22620 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22621 wxSize *arg2 = 0 ;
22622 void *argp1 = 0 ;
22623 int res1 = 0 ;
22624 wxSize temp2 ;
22625 PyObject * obj0 = 0 ;
22626 PyObject * obj1 = 0 ;
22627 char * kwnames[] = {
22628 (char *) "self",(char *) "size", NULL
22629 };
22630
22631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22633 if (!SWIG_IsOK(res1)) {
22634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22635 }
22636 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22637 {
22638 arg2 = &temp2;
22639 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22640 }
22641 {
22642 PyThreadState* __tstate = wxPyBeginAllowThreads();
22643 (arg1)->SetBestSize((wxSize const &)*arg2);
22644 wxPyEndAllowThreads(__tstate);
22645 if (PyErr_Occurred()) SWIG_fail;
22646 }
22647 resultobj = SWIG_Py_Void();
22648 return resultobj;
22649 fail:
22650 return NULL;
22651 }
22652
22653
22654 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22655 PyObject *resultobj = 0;
22656 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22657 wxDC *arg2 = (wxDC *) 0 ;
22658 bool result;
22659 void *argp1 = 0 ;
22660 int res1 = 0 ;
22661 void *argp2 = 0 ;
22662 int res2 = 0 ;
22663 PyObject * obj0 = 0 ;
22664 PyObject * obj1 = 0 ;
22665 char * kwnames[] = {
22666 (char *) "self",(char *) "dc", NULL
22667 };
22668
22669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22671 if (!SWIG_IsOK(res1)) {
22672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22673 }
22674 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22675 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22676 if (!SWIG_IsOK(res2)) {
22677 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22678 }
22679 arg2 = reinterpret_cast< wxDC * >(argp2);
22680 {
22681 PyThreadState* __tstate = wxPyBeginAllowThreads();
22682 result = (bool)(arg1)->DoEraseBackground(arg2);
22683 wxPyEndAllowThreads(__tstate);
22684 if (PyErr_Occurred()) SWIG_fail;
22685 }
22686 {
22687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22688 }
22689 return resultobj;
22690 fail:
22691 return NULL;
22692 }
22693
22694
22695 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22696 PyObject *resultobj = 0;
22697 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22698 int arg2 ;
22699 int arg3 ;
22700 int arg4 ;
22701 int arg5 ;
22702 void *argp1 = 0 ;
22703 int res1 = 0 ;
22704 int val2 ;
22705 int ecode2 = 0 ;
22706 int val3 ;
22707 int ecode3 = 0 ;
22708 int val4 ;
22709 int ecode4 = 0 ;
22710 int val5 ;
22711 int ecode5 = 0 ;
22712 PyObject * obj0 = 0 ;
22713 PyObject * obj1 = 0 ;
22714 PyObject * obj2 = 0 ;
22715 PyObject * obj3 = 0 ;
22716 PyObject * obj4 = 0 ;
22717 char * kwnames[] = {
22718 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22719 };
22720
22721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22723 if (!SWIG_IsOK(res1)) {
22724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22725 }
22726 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22727 ecode2 = SWIG_AsVal_int(obj1, &val2);
22728 if (!SWIG_IsOK(ecode2)) {
22729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22730 }
22731 arg2 = static_cast< int >(val2);
22732 ecode3 = SWIG_AsVal_int(obj2, &val3);
22733 if (!SWIG_IsOK(ecode3)) {
22734 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22735 }
22736 arg3 = static_cast< int >(val3);
22737 ecode4 = SWIG_AsVal_int(obj3, &val4);
22738 if (!SWIG_IsOK(ecode4)) {
22739 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22740 }
22741 arg4 = static_cast< int >(val4);
22742 ecode5 = SWIG_AsVal_int(obj4, &val5);
22743 if (!SWIG_IsOK(ecode5)) {
22744 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22745 }
22746 arg5 = static_cast< int >(val5);
22747 {
22748 PyThreadState* __tstate = wxPyBeginAllowThreads();
22749 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22750 wxPyEndAllowThreads(__tstate);
22751 if (PyErr_Occurred()) SWIG_fail;
22752 }
22753 resultobj = SWIG_Py_Void();
22754 return resultobj;
22755 fail:
22756 return NULL;
22757 }
22758
22759
22760 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22761 PyObject *resultobj = 0;
22762 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22763 int arg2 ;
22764 int arg3 ;
22765 int arg4 ;
22766 int arg5 ;
22767 int arg6 = (int) wxSIZE_AUTO ;
22768 void *argp1 = 0 ;
22769 int res1 = 0 ;
22770 int val2 ;
22771 int ecode2 = 0 ;
22772 int val3 ;
22773 int ecode3 = 0 ;
22774 int val4 ;
22775 int ecode4 = 0 ;
22776 int val5 ;
22777 int ecode5 = 0 ;
22778 int val6 ;
22779 int ecode6 = 0 ;
22780 PyObject * obj0 = 0 ;
22781 PyObject * obj1 = 0 ;
22782 PyObject * obj2 = 0 ;
22783 PyObject * obj3 = 0 ;
22784 PyObject * obj4 = 0 ;
22785 PyObject * obj5 = 0 ;
22786 char * kwnames[] = {
22787 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22788 };
22789
22790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22792 if (!SWIG_IsOK(res1)) {
22793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22794 }
22795 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22796 ecode2 = SWIG_AsVal_int(obj1, &val2);
22797 if (!SWIG_IsOK(ecode2)) {
22798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22799 }
22800 arg2 = static_cast< int >(val2);
22801 ecode3 = SWIG_AsVal_int(obj2, &val3);
22802 if (!SWIG_IsOK(ecode3)) {
22803 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22804 }
22805 arg3 = static_cast< int >(val3);
22806 ecode4 = SWIG_AsVal_int(obj3, &val4);
22807 if (!SWIG_IsOK(ecode4)) {
22808 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22809 }
22810 arg4 = static_cast< int >(val4);
22811 ecode5 = SWIG_AsVal_int(obj4, &val5);
22812 if (!SWIG_IsOK(ecode5)) {
22813 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22814 }
22815 arg5 = static_cast< int >(val5);
22816 if (obj5) {
22817 ecode6 = SWIG_AsVal_int(obj5, &val6);
22818 if (!SWIG_IsOK(ecode6)) {
22819 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22820 }
22821 arg6 = static_cast< int >(val6);
22822 }
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22826 wxPyEndAllowThreads(__tstate);
22827 if (PyErr_Occurred()) SWIG_fail;
22828 }
22829 resultobj = SWIG_Py_Void();
22830 return resultobj;
22831 fail:
22832 return NULL;
22833 }
22834
22835
22836 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22837 PyObject *resultobj = 0;
22838 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22839 int arg2 ;
22840 int arg3 ;
22841 void *argp1 = 0 ;
22842 int res1 = 0 ;
22843 int val2 ;
22844 int ecode2 = 0 ;
22845 int val3 ;
22846 int ecode3 = 0 ;
22847 PyObject * obj0 = 0 ;
22848 PyObject * obj1 = 0 ;
22849 PyObject * obj2 = 0 ;
22850 char * kwnames[] = {
22851 (char *) "self",(char *) "width",(char *) "height", NULL
22852 };
22853
22854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22856 if (!SWIG_IsOK(res1)) {
22857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22858 }
22859 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22860 ecode2 = SWIG_AsVal_int(obj1, &val2);
22861 if (!SWIG_IsOK(ecode2)) {
22862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22863 }
22864 arg2 = static_cast< int >(val2);
22865 ecode3 = SWIG_AsVal_int(obj2, &val3);
22866 if (!SWIG_IsOK(ecode3)) {
22867 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22868 }
22869 arg3 = static_cast< int >(val3);
22870 {
22871 PyThreadState* __tstate = wxPyBeginAllowThreads();
22872 (arg1)->DoSetClientSize(arg2,arg3);
22873 wxPyEndAllowThreads(__tstate);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 }
22876 resultobj = SWIG_Py_Void();
22877 return resultobj;
22878 fail:
22879 return NULL;
22880 }
22881
22882
22883 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22884 PyObject *resultobj = 0;
22885 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22886 int arg2 ;
22887 int arg3 ;
22888 void *argp1 = 0 ;
22889 int res1 = 0 ;
22890 int val2 ;
22891 int ecode2 = 0 ;
22892 int val3 ;
22893 int ecode3 = 0 ;
22894 PyObject * obj0 = 0 ;
22895 PyObject * obj1 = 0 ;
22896 PyObject * obj2 = 0 ;
22897 char * kwnames[] = {
22898 (char *) "self",(char *) "x",(char *) "y", NULL
22899 };
22900
22901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22903 if (!SWIG_IsOK(res1)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22905 }
22906 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22907 ecode2 = SWIG_AsVal_int(obj1, &val2);
22908 if (!SWIG_IsOK(ecode2)) {
22909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22910 }
22911 arg2 = static_cast< int >(val2);
22912 ecode3 = SWIG_AsVal_int(obj2, &val3);
22913 if (!SWIG_IsOK(ecode3)) {
22914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22915 }
22916 arg3 = static_cast< int >(val3);
22917 {
22918 PyThreadState* __tstate = wxPyBeginAllowThreads();
22919 (arg1)->DoSetVirtualSize(arg2,arg3);
22920 wxPyEndAllowThreads(__tstate);
22921 if (PyErr_Occurred()) SWIG_fail;
22922 }
22923 resultobj = SWIG_Py_Void();
22924 return resultobj;
22925 fail:
22926 return NULL;
22927 }
22928
22929
22930 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22931 PyObject *resultobj = 0;
22932 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22933 int *arg2 = (int *) 0 ;
22934 int *arg3 = (int *) 0 ;
22935 void *argp1 = 0 ;
22936 int res1 = 0 ;
22937 int temp2 ;
22938 int res2 = SWIG_TMPOBJ ;
22939 int temp3 ;
22940 int res3 = SWIG_TMPOBJ ;
22941 PyObject *swig_obj[1] ;
22942
22943 arg2 = &temp2;
22944 arg3 = &temp3;
22945 if (!args) SWIG_fail;
22946 swig_obj[0] = args;
22947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22948 if (!SWIG_IsOK(res1)) {
22949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22950 }
22951 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22952 {
22953 PyThreadState* __tstate = wxPyBeginAllowThreads();
22954 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
22955 wxPyEndAllowThreads(__tstate);
22956 if (PyErr_Occurred()) SWIG_fail;
22957 }
22958 resultobj = SWIG_Py_Void();
22959 if (SWIG_IsTmpObj(res2)) {
22960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22961 } else {
22962 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22964 }
22965 if (SWIG_IsTmpObj(res3)) {
22966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22967 } else {
22968 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22969 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22970 }
22971 return resultobj;
22972 fail:
22973 return NULL;
22974 }
22975
22976
22977 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22978 PyObject *resultobj = 0;
22979 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22980 int *arg2 = (int *) 0 ;
22981 int *arg3 = (int *) 0 ;
22982 void *argp1 = 0 ;
22983 int res1 = 0 ;
22984 int temp2 ;
22985 int res2 = SWIG_TMPOBJ ;
22986 int temp3 ;
22987 int res3 = SWIG_TMPOBJ ;
22988 PyObject *swig_obj[1] ;
22989
22990 arg2 = &temp2;
22991 arg3 = &temp3;
22992 if (!args) SWIG_fail;
22993 swig_obj[0] = args;
22994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22995 if (!SWIG_IsOK(res1)) {
22996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22997 }
22998 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22999 {
23000 PyThreadState* __tstate = wxPyBeginAllowThreads();
23001 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23002 wxPyEndAllowThreads(__tstate);
23003 if (PyErr_Occurred()) SWIG_fail;
23004 }
23005 resultobj = SWIG_Py_Void();
23006 if (SWIG_IsTmpObj(res2)) {
23007 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23008 } else {
23009 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23010 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23011 }
23012 if (SWIG_IsTmpObj(res3)) {
23013 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23014 } else {
23015 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23016 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23017 }
23018 return resultobj;
23019 fail:
23020 return NULL;
23021 }
23022
23023
23024 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23025 PyObject *resultobj = 0;
23026 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23027 int *arg2 = (int *) 0 ;
23028 int *arg3 = (int *) 0 ;
23029 void *argp1 = 0 ;
23030 int res1 = 0 ;
23031 int temp2 ;
23032 int res2 = SWIG_TMPOBJ ;
23033 int temp3 ;
23034 int res3 = SWIG_TMPOBJ ;
23035 PyObject *swig_obj[1] ;
23036
23037 arg2 = &temp2;
23038 arg3 = &temp3;
23039 if (!args) SWIG_fail;
23040 swig_obj[0] = args;
23041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23042 if (!SWIG_IsOK(res1)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23044 }
23045 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23049 wxPyEndAllowThreads(__tstate);
23050 if (PyErr_Occurred()) SWIG_fail;
23051 }
23052 resultobj = SWIG_Py_Void();
23053 if (SWIG_IsTmpObj(res2)) {
23054 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23055 } else {
23056 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23057 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23058 }
23059 if (SWIG_IsTmpObj(res3)) {
23060 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23061 } else {
23062 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23063 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23064 }
23065 return resultobj;
23066 fail:
23067 return NULL;
23068 }
23069
23070
23071 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23072 PyObject *resultobj = 0;
23073 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23074 wxSize result;
23075 void *argp1 = 0 ;
23076 int res1 = 0 ;
23077 PyObject *swig_obj[1] ;
23078
23079 if (!args) SWIG_fail;
23080 swig_obj[0] = args;
23081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23082 if (!SWIG_IsOK(res1)) {
23083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23084 }
23085 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23086 {
23087 PyThreadState* __tstate = wxPyBeginAllowThreads();
23088 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23089 wxPyEndAllowThreads(__tstate);
23090 if (PyErr_Occurred()) SWIG_fail;
23091 }
23092 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23093 return resultobj;
23094 fail:
23095 return NULL;
23096 }
23097
23098
23099 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23100 PyObject *resultobj = 0;
23101 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23102 wxSize result;
23103 void *argp1 = 0 ;
23104 int res1 = 0 ;
23105 PyObject *swig_obj[1] ;
23106
23107 if (!args) SWIG_fail;
23108 swig_obj[0] = args;
23109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23110 if (!SWIG_IsOK(res1)) {
23111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23112 }
23113 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23114 {
23115 PyThreadState* __tstate = wxPyBeginAllowThreads();
23116 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
23120 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23121 return resultobj;
23122 fail:
23123 return NULL;
23124 }
23125
23126
23127 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23128 PyObject *resultobj = 0;
23129 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23130 SwigValueWrapper<wxVisualAttributes > result;
23131 void *argp1 = 0 ;
23132 int res1 = 0 ;
23133 PyObject *swig_obj[1] ;
23134
23135 if (!args) SWIG_fail;
23136 swig_obj[0] = args;
23137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23138 if (!SWIG_IsOK(res1)) {
23139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23140 }
23141 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23142 {
23143 PyThreadState* __tstate = wxPyBeginAllowThreads();
23144 result = (arg1)->GetDefaultAttributes();
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23149 return resultobj;
23150 fail:
23151 return NULL;
23152 }
23153
23154
23155 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23156 PyObject *resultobj = 0;
23157 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23158 void *argp1 = 0 ;
23159 int res1 = 0 ;
23160 PyObject *swig_obj[1] ;
23161
23162 if (!args) SWIG_fail;
23163 swig_obj[0] = args;
23164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23165 if (!SWIG_IsOK(res1)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23167 }
23168 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23169 {
23170 PyThreadState* __tstate = wxPyBeginAllowThreads();
23171 (arg1)->OnInternalIdle();
23172 wxPyEndAllowThreads(__tstate);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 }
23175 resultobj = SWIG_Py_Void();
23176 return resultobj;
23177 fail:
23178 return NULL;
23179 }
23180
23181
23182 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23183 PyObject *obj;
23184 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23185 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23186 return SWIG_Py_Void();
23187 }
23188
23189 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23190 return SWIG_Python_InitShadowInstance(args);
23191 }
23192
23193 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23194 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23195 return 1;
23196 }
23197
23198
23199 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23200 PyObject *pyobj = 0;
23201
23202 {
23203 #if wxUSE_UNICODE
23204 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23205 #else
23206 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23207 #endif
23208 }
23209 return pyobj;
23210 }
23211
23212
23213 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23214 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23215 return 1;
23216 }
23217
23218
23219 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23220 PyObject *pyobj = 0;
23221
23222 {
23223 #if wxUSE_UNICODE
23224 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23225 #else
23226 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23227 #endif
23228 }
23229 return pyobj;
23230 }
23231
23232
23233 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23234 PyObject *resultobj = 0;
23235 wxPrintData *result = 0 ;
23236
23237 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23238 {
23239 PyThreadState* __tstate = wxPyBeginAllowThreads();
23240 result = (wxPrintData *)new wxPrintData();
23241 wxPyEndAllowThreads(__tstate);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
23244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23245 return resultobj;
23246 fail:
23247 return NULL;
23248 }
23249
23250
23251 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23252 PyObject *resultobj = 0;
23253 wxPrintData *arg1 = 0 ;
23254 wxPrintData *result = 0 ;
23255 void *argp1 = 0 ;
23256 int res1 = 0 ;
23257
23258 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23260 if (!SWIG_IsOK(res1)) {
23261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23262 }
23263 if (!argp1) {
23264 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23265 }
23266 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23267 {
23268 PyThreadState* __tstate = wxPyBeginAllowThreads();
23269 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
23273 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23274 return resultobj;
23275 fail:
23276 return NULL;
23277 }
23278
23279
23280 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23281 int argc;
23282 PyObject *argv[2];
23283
23284 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23285 --argc;
23286 if (argc == 0) {
23287 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23288 }
23289 if (argc == 1) {
23290 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23291 }
23292
23293 fail:
23294 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23295 return NULL;
23296 }
23297
23298
23299 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23300 PyObject *resultobj = 0;
23301 wxPrintData *arg1 = (wxPrintData *) 0 ;
23302 void *argp1 = 0 ;
23303 int res1 = 0 ;
23304 PyObject *swig_obj[1] ;
23305
23306 if (!args) SWIG_fail;
23307 swig_obj[0] = args;
23308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23309 if (!SWIG_IsOK(res1)) {
23310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23311 }
23312 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23313 {
23314 PyThreadState* __tstate = wxPyBeginAllowThreads();
23315 delete arg1;
23316
23317 wxPyEndAllowThreads(__tstate);
23318 if (PyErr_Occurred()) SWIG_fail;
23319 }
23320 resultobj = SWIG_Py_Void();
23321 return resultobj;
23322 fail:
23323 return NULL;
23324 }
23325
23326
23327 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23328 PyObject *resultobj = 0;
23329 wxPrintData *arg1 = (wxPrintData *) 0 ;
23330 int result;
23331 void *argp1 = 0 ;
23332 int res1 = 0 ;
23333 PyObject *swig_obj[1] ;
23334
23335 if (!args) SWIG_fail;
23336 swig_obj[0] = args;
23337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23338 if (!SWIG_IsOK(res1)) {
23339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23340 }
23341 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23342 {
23343 PyThreadState* __tstate = wxPyBeginAllowThreads();
23344 result = (int)(arg1)->GetNoCopies();
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 resultobj = SWIG_From_int(static_cast< int >(result));
23349 return resultobj;
23350 fail:
23351 return NULL;
23352 }
23353
23354
23355 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23356 PyObject *resultobj = 0;
23357 wxPrintData *arg1 = (wxPrintData *) 0 ;
23358 bool result;
23359 void *argp1 = 0 ;
23360 int res1 = 0 ;
23361 PyObject *swig_obj[1] ;
23362
23363 if (!args) SWIG_fail;
23364 swig_obj[0] = args;
23365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23366 if (!SWIG_IsOK(res1)) {
23367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23368 }
23369 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23370 {
23371 PyThreadState* __tstate = wxPyBeginAllowThreads();
23372 result = (bool)(arg1)->GetCollate();
23373 wxPyEndAllowThreads(__tstate);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 }
23376 {
23377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23378 }
23379 return resultobj;
23380 fail:
23381 return NULL;
23382 }
23383
23384
23385 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23386 PyObject *resultobj = 0;
23387 wxPrintData *arg1 = (wxPrintData *) 0 ;
23388 int result;
23389 void *argp1 = 0 ;
23390 int res1 = 0 ;
23391 PyObject *swig_obj[1] ;
23392
23393 if (!args) SWIG_fail;
23394 swig_obj[0] = args;
23395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23396 if (!SWIG_IsOK(res1)) {
23397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23398 }
23399 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23400 {
23401 PyThreadState* __tstate = wxPyBeginAllowThreads();
23402 result = (int)(arg1)->GetOrientation();
23403 wxPyEndAllowThreads(__tstate);
23404 if (PyErr_Occurred()) SWIG_fail;
23405 }
23406 resultobj = SWIG_From_int(static_cast< int >(result));
23407 return resultobj;
23408 fail:
23409 return NULL;
23410 }
23411
23412
23413 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23414 PyObject *resultobj = 0;
23415 wxPrintData *arg1 = (wxPrintData *) 0 ;
23416 bool result;
23417 void *argp1 = 0 ;
23418 int res1 = 0 ;
23419 PyObject *swig_obj[1] ;
23420
23421 if (!args) SWIG_fail;
23422 swig_obj[0] = args;
23423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23424 if (!SWIG_IsOK(res1)) {
23425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23426 }
23427 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23428 {
23429 PyThreadState* __tstate = wxPyBeginAllowThreads();
23430 result = (bool)(arg1)->Ok();
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
23434 {
23435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23436 }
23437 return resultobj;
23438 fail:
23439 return NULL;
23440 }
23441
23442
23443 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23444 PyObject *resultobj = 0;
23445 wxPrintData *arg1 = (wxPrintData *) 0 ;
23446 wxString *result = 0 ;
23447 void *argp1 = 0 ;
23448 int res1 = 0 ;
23449 PyObject *swig_obj[1] ;
23450
23451 if (!args) SWIG_fail;
23452 swig_obj[0] = args;
23453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23454 if (!SWIG_IsOK(res1)) {
23455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23456 }
23457 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23458 {
23459 PyThreadState* __tstate = wxPyBeginAllowThreads();
23460 {
23461 wxString const &_result_ref = (arg1)->GetPrinterName();
23462 result = (wxString *) &_result_ref;
23463 }
23464 wxPyEndAllowThreads(__tstate);
23465 if (PyErr_Occurred()) SWIG_fail;
23466 }
23467 {
23468 #if wxUSE_UNICODE
23469 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23470 #else
23471 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23472 #endif
23473 }
23474 return resultobj;
23475 fail:
23476 return NULL;
23477 }
23478
23479
23480 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23481 PyObject *resultobj = 0;
23482 wxPrintData *arg1 = (wxPrintData *) 0 ;
23483 bool result;
23484 void *argp1 = 0 ;
23485 int res1 = 0 ;
23486 PyObject *swig_obj[1] ;
23487
23488 if (!args) SWIG_fail;
23489 swig_obj[0] = args;
23490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23491 if (!SWIG_IsOK(res1)) {
23492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23493 }
23494 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23495 {
23496 PyThreadState* __tstate = wxPyBeginAllowThreads();
23497 result = (bool)(arg1)->GetColour();
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 {
23502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23503 }
23504 return resultobj;
23505 fail:
23506 return NULL;
23507 }
23508
23509
23510 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23511 PyObject *resultobj = 0;
23512 wxPrintData *arg1 = (wxPrintData *) 0 ;
23513 wxDuplexMode result;
23514 void *argp1 = 0 ;
23515 int res1 = 0 ;
23516 PyObject *swig_obj[1] ;
23517
23518 if (!args) SWIG_fail;
23519 swig_obj[0] = args;
23520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23521 if (!SWIG_IsOK(res1)) {
23522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23523 }
23524 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23525 {
23526 PyThreadState* __tstate = wxPyBeginAllowThreads();
23527 result = (wxDuplexMode)(arg1)->GetDuplex();
23528 wxPyEndAllowThreads(__tstate);
23529 if (PyErr_Occurred()) SWIG_fail;
23530 }
23531 resultobj = SWIG_From_int(static_cast< int >(result));
23532 return resultobj;
23533 fail:
23534 return NULL;
23535 }
23536
23537
23538 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23539 PyObject *resultobj = 0;
23540 wxPrintData *arg1 = (wxPrintData *) 0 ;
23541 wxPaperSize result;
23542 void *argp1 = 0 ;
23543 int res1 = 0 ;
23544 PyObject *swig_obj[1] ;
23545
23546 if (!args) SWIG_fail;
23547 swig_obj[0] = args;
23548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23549 if (!SWIG_IsOK(res1)) {
23550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23551 }
23552 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 result = (wxPaperSize)(arg1)->GetPaperId();
23556 wxPyEndAllowThreads(__tstate);
23557 if (PyErr_Occurred()) SWIG_fail;
23558 }
23559 resultobj = SWIG_From_int(static_cast< int >(result));
23560 return resultobj;
23561 fail:
23562 return NULL;
23563 }
23564
23565
23566 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23567 PyObject *resultobj = 0;
23568 wxPrintData *arg1 = (wxPrintData *) 0 ;
23569 wxSize *result = 0 ;
23570 void *argp1 = 0 ;
23571 int res1 = 0 ;
23572 PyObject *swig_obj[1] ;
23573
23574 if (!args) SWIG_fail;
23575 swig_obj[0] = args;
23576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23577 if (!SWIG_IsOK(res1)) {
23578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23579 }
23580 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23581 {
23582 PyThreadState* __tstate = wxPyBeginAllowThreads();
23583 {
23584 wxSize const &_result_ref = (arg1)->GetPaperSize();
23585 result = (wxSize *) &_result_ref;
23586 }
23587 wxPyEndAllowThreads(__tstate);
23588 if (PyErr_Occurred()) SWIG_fail;
23589 }
23590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23591 return resultobj;
23592 fail:
23593 return NULL;
23594 }
23595
23596
23597 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23598 PyObject *resultobj = 0;
23599 wxPrintData *arg1 = (wxPrintData *) 0 ;
23600 int result;
23601 void *argp1 = 0 ;
23602 int res1 = 0 ;
23603 PyObject *swig_obj[1] ;
23604
23605 if (!args) SWIG_fail;
23606 swig_obj[0] = args;
23607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23608 if (!SWIG_IsOK(res1)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23610 }
23611 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23612 {
23613 PyThreadState* __tstate = wxPyBeginAllowThreads();
23614 result = (int)(arg1)->GetQuality();
23615 wxPyEndAllowThreads(__tstate);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 }
23618 resultobj = SWIG_From_int(static_cast< int >(result));
23619 return resultobj;
23620 fail:
23621 return NULL;
23622 }
23623
23624
23625 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23626 PyObject *resultobj = 0;
23627 wxPrintData *arg1 = (wxPrintData *) 0 ;
23628 wxPrintBin result;
23629 void *argp1 = 0 ;
23630 int res1 = 0 ;
23631 PyObject *swig_obj[1] ;
23632
23633 if (!args) SWIG_fail;
23634 swig_obj[0] = args;
23635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23636 if (!SWIG_IsOK(res1)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23638 }
23639 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 result = (wxPrintBin)(arg1)->GetBin();
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 resultobj = SWIG_From_int(static_cast< int >(result));
23647 return resultobj;
23648 fail:
23649 return NULL;
23650 }
23651
23652
23653 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23654 PyObject *resultobj = 0;
23655 wxPrintData *arg1 = (wxPrintData *) 0 ;
23656 wxPrintMode result;
23657 void *argp1 = 0 ;
23658 int res1 = 0 ;
23659 PyObject *swig_obj[1] ;
23660
23661 if (!args) SWIG_fail;
23662 swig_obj[0] = args;
23663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23664 if (!SWIG_IsOK(res1)) {
23665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23666 }
23667 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 resultobj = SWIG_From_int(static_cast< int >(result));
23675 return resultobj;
23676 fail:
23677 return NULL;
23678 }
23679
23680
23681 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj = 0;
23683 wxPrintData *arg1 = (wxPrintData *) 0 ;
23684 int arg2 ;
23685 void *argp1 = 0 ;
23686 int res1 = 0 ;
23687 int val2 ;
23688 int ecode2 = 0 ;
23689 PyObject * obj0 = 0 ;
23690 PyObject * obj1 = 0 ;
23691 char * kwnames[] = {
23692 (char *) "self",(char *) "v", NULL
23693 };
23694
23695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23697 if (!SWIG_IsOK(res1)) {
23698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23699 }
23700 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23701 ecode2 = SWIG_AsVal_int(obj1, &val2);
23702 if (!SWIG_IsOK(ecode2)) {
23703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23704 }
23705 arg2 = static_cast< int >(val2);
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
23708 (arg1)->SetNoCopies(arg2);
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 resultobj = SWIG_Py_Void();
23713 return resultobj;
23714 fail:
23715 return NULL;
23716 }
23717
23718
23719 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23720 PyObject *resultobj = 0;
23721 wxPrintData *arg1 = (wxPrintData *) 0 ;
23722 bool arg2 ;
23723 void *argp1 = 0 ;
23724 int res1 = 0 ;
23725 bool val2 ;
23726 int ecode2 = 0 ;
23727 PyObject * obj0 = 0 ;
23728 PyObject * obj1 = 0 ;
23729 char * kwnames[] = {
23730 (char *) "self",(char *) "flag", NULL
23731 };
23732
23733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23735 if (!SWIG_IsOK(res1)) {
23736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23737 }
23738 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23739 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23740 if (!SWIG_IsOK(ecode2)) {
23741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23742 }
23743 arg2 = static_cast< bool >(val2);
23744 {
23745 PyThreadState* __tstate = wxPyBeginAllowThreads();
23746 (arg1)->SetCollate(arg2);
23747 wxPyEndAllowThreads(__tstate);
23748 if (PyErr_Occurred()) SWIG_fail;
23749 }
23750 resultobj = SWIG_Py_Void();
23751 return resultobj;
23752 fail:
23753 return NULL;
23754 }
23755
23756
23757 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23758 PyObject *resultobj = 0;
23759 wxPrintData *arg1 = (wxPrintData *) 0 ;
23760 int arg2 ;
23761 void *argp1 = 0 ;
23762 int res1 = 0 ;
23763 int val2 ;
23764 int ecode2 = 0 ;
23765 PyObject * obj0 = 0 ;
23766 PyObject * obj1 = 0 ;
23767 char * kwnames[] = {
23768 (char *) "self",(char *) "orient", NULL
23769 };
23770
23771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23773 if (!SWIG_IsOK(res1)) {
23774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23775 }
23776 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23777 ecode2 = SWIG_AsVal_int(obj1, &val2);
23778 if (!SWIG_IsOK(ecode2)) {
23779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23780 }
23781 arg2 = static_cast< int >(val2);
23782 {
23783 PyThreadState* __tstate = wxPyBeginAllowThreads();
23784 (arg1)->SetOrientation(arg2);
23785 wxPyEndAllowThreads(__tstate);
23786 if (PyErr_Occurred()) SWIG_fail;
23787 }
23788 resultobj = SWIG_Py_Void();
23789 return resultobj;
23790 fail:
23791 return NULL;
23792 }
23793
23794
23795 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23796 PyObject *resultobj = 0;
23797 wxPrintData *arg1 = (wxPrintData *) 0 ;
23798 wxString *arg2 = 0 ;
23799 void *argp1 = 0 ;
23800 int res1 = 0 ;
23801 bool temp2 = false ;
23802 PyObject * obj0 = 0 ;
23803 PyObject * obj1 = 0 ;
23804 char * kwnames[] = {
23805 (char *) "self",(char *) "name", NULL
23806 };
23807
23808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23810 if (!SWIG_IsOK(res1)) {
23811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23812 }
23813 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23814 {
23815 arg2 = wxString_in_helper(obj1);
23816 if (arg2 == NULL) SWIG_fail;
23817 temp2 = true;
23818 }
23819 {
23820 PyThreadState* __tstate = wxPyBeginAllowThreads();
23821 (arg1)->SetPrinterName((wxString const &)*arg2);
23822 wxPyEndAllowThreads(__tstate);
23823 if (PyErr_Occurred()) SWIG_fail;
23824 }
23825 resultobj = SWIG_Py_Void();
23826 {
23827 if (temp2)
23828 delete arg2;
23829 }
23830 return resultobj;
23831 fail:
23832 {
23833 if (temp2)
23834 delete arg2;
23835 }
23836 return NULL;
23837 }
23838
23839
23840 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23841 PyObject *resultobj = 0;
23842 wxPrintData *arg1 = (wxPrintData *) 0 ;
23843 bool arg2 ;
23844 void *argp1 = 0 ;
23845 int res1 = 0 ;
23846 bool val2 ;
23847 int ecode2 = 0 ;
23848 PyObject * obj0 = 0 ;
23849 PyObject * obj1 = 0 ;
23850 char * kwnames[] = {
23851 (char *) "self",(char *) "colour", NULL
23852 };
23853
23854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23856 if (!SWIG_IsOK(res1)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23858 }
23859 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23860 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23861 if (!SWIG_IsOK(ecode2)) {
23862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23863 }
23864 arg2 = static_cast< bool >(val2);
23865 {
23866 PyThreadState* __tstate = wxPyBeginAllowThreads();
23867 (arg1)->SetColour(arg2);
23868 wxPyEndAllowThreads(__tstate);
23869 if (PyErr_Occurred()) SWIG_fail;
23870 }
23871 resultobj = SWIG_Py_Void();
23872 return resultobj;
23873 fail:
23874 return NULL;
23875 }
23876
23877
23878 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23879 PyObject *resultobj = 0;
23880 wxPrintData *arg1 = (wxPrintData *) 0 ;
23881 wxDuplexMode arg2 ;
23882 void *argp1 = 0 ;
23883 int res1 = 0 ;
23884 int val2 ;
23885 int ecode2 = 0 ;
23886 PyObject * obj0 = 0 ;
23887 PyObject * obj1 = 0 ;
23888 char * kwnames[] = {
23889 (char *) "self",(char *) "duplex", NULL
23890 };
23891
23892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23894 if (!SWIG_IsOK(res1)) {
23895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23896 }
23897 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23898 ecode2 = SWIG_AsVal_int(obj1, &val2);
23899 if (!SWIG_IsOK(ecode2)) {
23900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23901 }
23902 arg2 = static_cast< wxDuplexMode >(val2);
23903 {
23904 PyThreadState* __tstate = wxPyBeginAllowThreads();
23905 (arg1)->SetDuplex(arg2);
23906 wxPyEndAllowThreads(__tstate);
23907 if (PyErr_Occurred()) SWIG_fail;
23908 }
23909 resultobj = SWIG_Py_Void();
23910 return resultobj;
23911 fail:
23912 return NULL;
23913 }
23914
23915
23916 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23917 PyObject *resultobj = 0;
23918 wxPrintData *arg1 = (wxPrintData *) 0 ;
23919 wxPaperSize arg2 ;
23920 void *argp1 = 0 ;
23921 int res1 = 0 ;
23922 int val2 ;
23923 int ecode2 = 0 ;
23924 PyObject * obj0 = 0 ;
23925 PyObject * obj1 = 0 ;
23926 char * kwnames[] = {
23927 (char *) "self",(char *) "sizeId", NULL
23928 };
23929
23930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23932 if (!SWIG_IsOK(res1)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23934 }
23935 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23936 ecode2 = SWIG_AsVal_int(obj1, &val2);
23937 if (!SWIG_IsOK(ecode2)) {
23938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23939 }
23940 arg2 = static_cast< wxPaperSize >(val2);
23941 {
23942 PyThreadState* __tstate = wxPyBeginAllowThreads();
23943 (arg1)->SetPaperId(arg2);
23944 wxPyEndAllowThreads(__tstate);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
23947 resultobj = SWIG_Py_Void();
23948 return resultobj;
23949 fail:
23950 return NULL;
23951 }
23952
23953
23954 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23955 PyObject *resultobj = 0;
23956 wxPrintData *arg1 = (wxPrintData *) 0 ;
23957 wxSize *arg2 = 0 ;
23958 void *argp1 = 0 ;
23959 int res1 = 0 ;
23960 wxSize temp2 ;
23961 PyObject * obj0 = 0 ;
23962 PyObject * obj1 = 0 ;
23963 char * kwnames[] = {
23964 (char *) "self",(char *) "sz", NULL
23965 };
23966
23967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
23968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23969 if (!SWIG_IsOK(res1)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23971 }
23972 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23973 {
23974 arg2 = &temp2;
23975 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23976 }
23977 {
23978 PyThreadState* __tstate = wxPyBeginAllowThreads();
23979 (arg1)->SetPaperSize((wxSize const &)*arg2);
23980 wxPyEndAllowThreads(__tstate);
23981 if (PyErr_Occurred()) SWIG_fail;
23982 }
23983 resultobj = SWIG_Py_Void();
23984 return resultobj;
23985 fail:
23986 return NULL;
23987 }
23988
23989
23990 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23991 PyObject *resultobj = 0;
23992 wxPrintData *arg1 = (wxPrintData *) 0 ;
23993 int arg2 ;
23994 void *argp1 = 0 ;
23995 int res1 = 0 ;
23996 int val2 ;
23997 int ecode2 = 0 ;
23998 PyObject * obj0 = 0 ;
23999 PyObject * obj1 = 0 ;
24000 char * kwnames[] = {
24001 (char *) "self",(char *) "quality", NULL
24002 };
24003
24004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24006 if (!SWIG_IsOK(res1)) {
24007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24008 }
24009 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24010 ecode2 = SWIG_AsVal_int(obj1, &val2);
24011 if (!SWIG_IsOK(ecode2)) {
24012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24013 }
24014 arg2 = static_cast< int >(val2);
24015 {
24016 PyThreadState* __tstate = wxPyBeginAllowThreads();
24017 (arg1)->SetQuality(arg2);
24018 wxPyEndAllowThreads(__tstate);
24019 if (PyErr_Occurred()) SWIG_fail;
24020 }
24021 resultobj = SWIG_Py_Void();
24022 return resultobj;
24023 fail:
24024 return NULL;
24025 }
24026
24027
24028 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24029 PyObject *resultobj = 0;
24030 wxPrintData *arg1 = (wxPrintData *) 0 ;
24031 wxPrintBin arg2 ;
24032 void *argp1 = 0 ;
24033 int res1 = 0 ;
24034 int val2 ;
24035 int ecode2 = 0 ;
24036 PyObject * obj0 = 0 ;
24037 PyObject * obj1 = 0 ;
24038 char * kwnames[] = {
24039 (char *) "self",(char *) "bin", NULL
24040 };
24041
24042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24044 if (!SWIG_IsOK(res1)) {
24045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24046 }
24047 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24048 ecode2 = SWIG_AsVal_int(obj1, &val2);
24049 if (!SWIG_IsOK(ecode2)) {
24050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24051 }
24052 arg2 = static_cast< wxPrintBin >(val2);
24053 {
24054 PyThreadState* __tstate = wxPyBeginAllowThreads();
24055 (arg1)->SetBin(arg2);
24056 wxPyEndAllowThreads(__tstate);
24057 if (PyErr_Occurred()) SWIG_fail;
24058 }
24059 resultobj = SWIG_Py_Void();
24060 return resultobj;
24061 fail:
24062 return NULL;
24063 }
24064
24065
24066 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24067 PyObject *resultobj = 0;
24068 wxPrintData *arg1 = (wxPrintData *) 0 ;
24069 wxPrintMode arg2 ;
24070 void *argp1 = 0 ;
24071 int res1 = 0 ;
24072 int val2 ;
24073 int ecode2 = 0 ;
24074 PyObject * obj0 = 0 ;
24075 PyObject * obj1 = 0 ;
24076 char * kwnames[] = {
24077 (char *) "self",(char *) "printMode", NULL
24078 };
24079
24080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24082 if (!SWIG_IsOK(res1)) {
24083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24084 }
24085 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24086 ecode2 = SWIG_AsVal_int(obj1, &val2);
24087 if (!SWIG_IsOK(ecode2)) {
24088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24089 }
24090 arg2 = static_cast< wxPrintMode >(val2);
24091 {
24092 PyThreadState* __tstate = wxPyBeginAllowThreads();
24093 (arg1)->SetPrintMode(arg2);
24094 wxPyEndAllowThreads(__tstate);
24095 if (PyErr_Occurred()) SWIG_fail;
24096 }
24097 resultobj = SWIG_Py_Void();
24098 return resultobj;
24099 fail:
24100 return NULL;
24101 }
24102
24103
24104 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24105 PyObject *resultobj = 0;
24106 wxPrintData *arg1 = (wxPrintData *) 0 ;
24107 wxString result;
24108 void *argp1 = 0 ;
24109 int res1 = 0 ;
24110 PyObject *swig_obj[1] ;
24111
24112 if (!args) SWIG_fail;
24113 swig_obj[0] = args;
24114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24115 if (!SWIG_IsOK(res1)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24117 }
24118 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 result = ((wxPrintData const *)arg1)->GetFilename();
24122 wxPyEndAllowThreads(__tstate);
24123 if (PyErr_Occurred()) SWIG_fail;
24124 }
24125 {
24126 #if wxUSE_UNICODE
24127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24128 #else
24129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24130 #endif
24131 }
24132 return resultobj;
24133 fail:
24134 return NULL;
24135 }
24136
24137
24138 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24139 PyObject *resultobj = 0;
24140 wxPrintData *arg1 = (wxPrintData *) 0 ;
24141 wxString *arg2 = 0 ;
24142 void *argp1 = 0 ;
24143 int res1 = 0 ;
24144 bool temp2 = false ;
24145 PyObject * obj0 = 0 ;
24146 PyObject * obj1 = 0 ;
24147 char * kwnames[] = {
24148 (char *) "self",(char *) "filename", NULL
24149 };
24150
24151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24153 if (!SWIG_IsOK(res1)) {
24154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24155 }
24156 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24157 {
24158 arg2 = wxString_in_helper(obj1);
24159 if (arg2 == NULL) SWIG_fail;
24160 temp2 = true;
24161 }
24162 {
24163 PyThreadState* __tstate = wxPyBeginAllowThreads();
24164 (arg1)->SetFilename((wxString const &)*arg2);
24165 wxPyEndAllowThreads(__tstate);
24166 if (PyErr_Occurred()) SWIG_fail;
24167 }
24168 resultobj = SWIG_Py_Void();
24169 {
24170 if (temp2)
24171 delete arg2;
24172 }
24173 return resultobj;
24174 fail:
24175 {
24176 if (temp2)
24177 delete arg2;
24178 }
24179 return NULL;
24180 }
24181
24182
24183 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24184 PyObject *resultobj = 0;
24185 wxPrintData *arg1 = (wxPrintData *) 0 ;
24186 PyObject *result = 0 ;
24187 void *argp1 = 0 ;
24188 int res1 = 0 ;
24189 PyObject *swig_obj[1] ;
24190
24191 if (!args) SWIG_fail;
24192 swig_obj[0] = args;
24193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24194 if (!SWIG_IsOK(res1)) {
24195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24196 }
24197 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24198 {
24199 PyThreadState* __tstate = wxPyBeginAllowThreads();
24200 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24201 wxPyEndAllowThreads(__tstate);
24202 if (PyErr_Occurred()) SWIG_fail;
24203 }
24204 resultobj = result;
24205 return resultobj;
24206 fail:
24207 return NULL;
24208 }
24209
24210
24211 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24212 PyObject *resultobj = 0;
24213 wxPrintData *arg1 = (wxPrintData *) 0 ;
24214 PyObject *arg2 = (PyObject *) 0 ;
24215 void *argp1 = 0 ;
24216 int res1 = 0 ;
24217 PyObject * obj0 = 0 ;
24218 PyObject * obj1 = 0 ;
24219 char * kwnames[] = {
24220 (char *) "self",(char *) "data", NULL
24221 };
24222
24223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24225 if (!SWIG_IsOK(res1)) {
24226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24227 }
24228 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24229 arg2 = obj1;
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 wxPrintData_SetPrivData(arg1,arg2);
24233 wxPyEndAllowThreads(__tstate);
24234 if (PyErr_Occurred()) SWIG_fail;
24235 }
24236 resultobj = SWIG_Py_Void();
24237 return resultobj;
24238 fail:
24239 return NULL;
24240 }
24241
24242
24243 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24244 PyObject *obj;
24245 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24246 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24247 return SWIG_Py_Void();
24248 }
24249
24250 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24251 return SWIG_Python_InitShadowInstance(args);
24252 }
24253
24254 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24255 PyObject *resultobj = 0;
24256 wxPageSetupDialogData *result = 0 ;
24257
24258 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24259 {
24260 PyThreadState* __tstate = wxPyBeginAllowThreads();
24261 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24262 wxPyEndAllowThreads(__tstate);
24263 if (PyErr_Occurred()) SWIG_fail;
24264 }
24265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24266 return resultobj;
24267 fail:
24268 return NULL;
24269 }
24270
24271
24272 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24273 PyObject *resultobj = 0;
24274 wxPageSetupDialogData *arg1 = 0 ;
24275 wxPageSetupDialogData *result = 0 ;
24276 void *argp1 = 0 ;
24277 int res1 = 0 ;
24278
24279 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24281 if (!SWIG_IsOK(res1)) {
24282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24283 }
24284 if (!argp1) {
24285 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24286 }
24287 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24291 wxPyEndAllowThreads(__tstate);
24292 if (PyErr_Occurred()) SWIG_fail;
24293 }
24294 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24295 return resultobj;
24296 fail:
24297 return NULL;
24298 }
24299
24300
24301 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24302 PyObject *resultobj = 0;
24303 wxPrintData *arg1 = 0 ;
24304 wxPageSetupDialogData *result = 0 ;
24305 void *argp1 = 0 ;
24306 int res1 = 0 ;
24307
24308 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24310 if (!SWIG_IsOK(res1)) {
24311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24312 }
24313 if (!argp1) {
24314 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24315 }
24316 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24317 {
24318 PyThreadState* __tstate = wxPyBeginAllowThreads();
24319 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24320 wxPyEndAllowThreads(__tstate);
24321 if (PyErr_Occurred()) SWIG_fail;
24322 }
24323 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24324 return resultobj;
24325 fail:
24326 return NULL;
24327 }
24328
24329
24330 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24331 int argc;
24332 PyObject *argv[2];
24333
24334 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24335 --argc;
24336 if (argc == 0) {
24337 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24338 }
24339 if (argc == 1) {
24340 int _v = 0;
24341 {
24342 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24343 _v = SWIG_CheckState(res);
24344 }
24345 if (!_v) goto check_2;
24346 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24347 }
24348 check_2:
24349
24350 if (argc == 1) {
24351 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24352 }
24353
24354 fail:
24355 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24356 return NULL;
24357 }
24358
24359
24360 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24361 PyObject *resultobj = 0;
24362 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24363 void *argp1 = 0 ;
24364 int res1 = 0 ;
24365 PyObject *swig_obj[1] ;
24366
24367 if (!args) SWIG_fail;
24368 swig_obj[0] = args;
24369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24370 if (!SWIG_IsOK(res1)) {
24371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24372 }
24373 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24374 {
24375 PyThreadState* __tstate = wxPyBeginAllowThreads();
24376 delete arg1;
24377
24378 wxPyEndAllowThreads(__tstate);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
24381 resultobj = SWIG_Py_Void();
24382 return resultobj;
24383 fail:
24384 return NULL;
24385 }
24386
24387
24388 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj = 0;
24390 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24391 bool arg2 ;
24392 void *argp1 = 0 ;
24393 int res1 = 0 ;
24394 bool val2 ;
24395 int ecode2 = 0 ;
24396 PyObject * obj0 = 0 ;
24397 PyObject * obj1 = 0 ;
24398 char * kwnames[] = {
24399 (char *) "self",(char *) "flag", NULL
24400 };
24401
24402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24404 if (!SWIG_IsOK(res1)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24406 }
24407 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24408 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24409 if (!SWIG_IsOK(ecode2)) {
24410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24411 }
24412 arg2 = static_cast< bool >(val2);
24413 {
24414 PyThreadState* __tstate = wxPyBeginAllowThreads();
24415 (arg1)->EnableHelp(arg2);
24416 wxPyEndAllowThreads(__tstate);
24417 if (PyErr_Occurred()) SWIG_fail;
24418 }
24419 resultobj = SWIG_Py_Void();
24420 return resultobj;
24421 fail:
24422 return NULL;
24423 }
24424
24425
24426 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24427 PyObject *resultobj = 0;
24428 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24429 bool arg2 ;
24430 void *argp1 = 0 ;
24431 int res1 = 0 ;
24432 bool val2 ;
24433 int ecode2 = 0 ;
24434 PyObject * obj0 = 0 ;
24435 PyObject * obj1 = 0 ;
24436 char * kwnames[] = {
24437 (char *) "self",(char *) "flag", NULL
24438 };
24439
24440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24442 if (!SWIG_IsOK(res1)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24444 }
24445 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24446 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24447 if (!SWIG_IsOK(ecode2)) {
24448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24449 }
24450 arg2 = static_cast< bool >(val2);
24451 {
24452 PyThreadState* __tstate = wxPyBeginAllowThreads();
24453 (arg1)->EnableMargins(arg2);
24454 wxPyEndAllowThreads(__tstate);
24455 if (PyErr_Occurred()) SWIG_fail;
24456 }
24457 resultobj = SWIG_Py_Void();
24458 return resultobj;
24459 fail:
24460 return NULL;
24461 }
24462
24463
24464 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24465 PyObject *resultobj = 0;
24466 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24467 bool arg2 ;
24468 void *argp1 = 0 ;
24469 int res1 = 0 ;
24470 bool val2 ;
24471 int ecode2 = 0 ;
24472 PyObject * obj0 = 0 ;
24473 PyObject * obj1 = 0 ;
24474 char * kwnames[] = {
24475 (char *) "self",(char *) "flag", NULL
24476 };
24477
24478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24480 if (!SWIG_IsOK(res1)) {
24481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24482 }
24483 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24484 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24485 if (!SWIG_IsOK(ecode2)) {
24486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24487 }
24488 arg2 = static_cast< bool >(val2);
24489 {
24490 PyThreadState* __tstate = wxPyBeginAllowThreads();
24491 (arg1)->EnableOrientation(arg2);
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
24495 resultobj = SWIG_Py_Void();
24496 return resultobj;
24497 fail:
24498 return NULL;
24499 }
24500
24501
24502 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24503 PyObject *resultobj = 0;
24504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24505 bool arg2 ;
24506 void *argp1 = 0 ;
24507 int res1 = 0 ;
24508 bool val2 ;
24509 int ecode2 = 0 ;
24510 PyObject * obj0 = 0 ;
24511 PyObject * obj1 = 0 ;
24512 char * kwnames[] = {
24513 (char *) "self",(char *) "flag", NULL
24514 };
24515
24516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24518 if (!SWIG_IsOK(res1)) {
24519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24520 }
24521 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24522 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24523 if (!SWIG_IsOK(ecode2)) {
24524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24525 }
24526 arg2 = static_cast< bool >(val2);
24527 {
24528 PyThreadState* __tstate = wxPyBeginAllowThreads();
24529 (arg1)->EnablePaper(arg2);
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
24533 resultobj = SWIG_Py_Void();
24534 return resultobj;
24535 fail:
24536 return NULL;
24537 }
24538
24539
24540 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24541 PyObject *resultobj = 0;
24542 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24543 bool arg2 ;
24544 void *argp1 = 0 ;
24545 int res1 = 0 ;
24546 bool val2 ;
24547 int ecode2 = 0 ;
24548 PyObject * obj0 = 0 ;
24549 PyObject * obj1 = 0 ;
24550 char * kwnames[] = {
24551 (char *) "self",(char *) "flag", NULL
24552 };
24553
24554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24556 if (!SWIG_IsOK(res1)) {
24557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24558 }
24559 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24560 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24561 if (!SWIG_IsOK(ecode2)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24563 }
24564 arg2 = static_cast< bool >(val2);
24565 {
24566 PyThreadState* __tstate = wxPyBeginAllowThreads();
24567 (arg1)->EnablePrinter(arg2);
24568 wxPyEndAllowThreads(__tstate);
24569 if (PyErr_Occurred()) SWIG_fail;
24570 }
24571 resultobj = SWIG_Py_Void();
24572 return resultobj;
24573 fail:
24574 return NULL;
24575 }
24576
24577
24578 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24579 PyObject *resultobj = 0;
24580 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24581 bool result;
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_wxPageSetupDialogData, 0 | 0 );
24589 if (!SWIG_IsOK(res1)) {
24590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24591 }
24592 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 result = (bool)(arg1)->GetDefaultMinMargins();
24596 wxPyEndAllowThreads(__tstate);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 }
24599 {
24600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24601 }
24602 return resultobj;
24603 fail:
24604 return NULL;
24605 }
24606
24607
24608 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24609 PyObject *resultobj = 0;
24610 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24611 bool result;
24612 void *argp1 = 0 ;
24613 int res1 = 0 ;
24614 PyObject *swig_obj[1] ;
24615
24616 if (!args) SWIG_fail;
24617 swig_obj[0] = args;
24618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24619 if (!SWIG_IsOK(res1)) {
24620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24621 }
24622 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24623 {
24624 PyThreadState* __tstate = wxPyBeginAllowThreads();
24625 result = (bool)(arg1)->GetEnableMargins();
24626 wxPyEndAllowThreads(__tstate);
24627 if (PyErr_Occurred()) SWIG_fail;
24628 }
24629 {
24630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24631 }
24632 return resultobj;
24633 fail:
24634 return NULL;
24635 }
24636
24637
24638 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24639 PyObject *resultobj = 0;
24640 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24641 bool result;
24642 void *argp1 = 0 ;
24643 int res1 = 0 ;
24644 PyObject *swig_obj[1] ;
24645
24646 if (!args) SWIG_fail;
24647 swig_obj[0] = args;
24648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24649 if (!SWIG_IsOK(res1)) {
24650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24651 }
24652 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 result = (bool)(arg1)->GetEnableOrientation();
24656 wxPyEndAllowThreads(__tstate);
24657 if (PyErr_Occurred()) SWIG_fail;
24658 }
24659 {
24660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24661 }
24662 return resultobj;
24663 fail:
24664 return NULL;
24665 }
24666
24667
24668 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24669 PyObject *resultobj = 0;
24670 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24671 bool result;
24672 void *argp1 = 0 ;
24673 int res1 = 0 ;
24674 PyObject *swig_obj[1] ;
24675
24676 if (!args) SWIG_fail;
24677 swig_obj[0] = args;
24678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24679 if (!SWIG_IsOK(res1)) {
24680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24681 }
24682 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24683 {
24684 PyThreadState* __tstate = wxPyBeginAllowThreads();
24685 result = (bool)(arg1)->GetEnablePaper();
24686 wxPyEndAllowThreads(__tstate);
24687 if (PyErr_Occurred()) SWIG_fail;
24688 }
24689 {
24690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24691 }
24692 return resultobj;
24693 fail:
24694 return NULL;
24695 }
24696
24697
24698 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24699 PyObject *resultobj = 0;
24700 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24701 bool result;
24702 void *argp1 = 0 ;
24703 int res1 = 0 ;
24704 PyObject *swig_obj[1] ;
24705
24706 if (!args) SWIG_fail;
24707 swig_obj[0] = args;
24708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24709 if (!SWIG_IsOK(res1)) {
24710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24711 }
24712 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24713 {
24714 PyThreadState* __tstate = wxPyBeginAllowThreads();
24715 result = (bool)(arg1)->GetEnablePrinter();
24716 wxPyEndAllowThreads(__tstate);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 }
24719 {
24720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24721 }
24722 return resultobj;
24723 fail:
24724 return NULL;
24725 }
24726
24727
24728 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24729 PyObject *resultobj = 0;
24730 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24731 bool result;
24732 void *argp1 = 0 ;
24733 int res1 = 0 ;
24734 PyObject *swig_obj[1] ;
24735
24736 if (!args) SWIG_fail;
24737 swig_obj[0] = args;
24738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24739 if (!SWIG_IsOK(res1)) {
24740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24741 }
24742 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24743 {
24744 PyThreadState* __tstate = wxPyBeginAllowThreads();
24745 result = (bool)(arg1)->GetEnableHelp();
24746 wxPyEndAllowThreads(__tstate);
24747 if (PyErr_Occurred()) SWIG_fail;
24748 }
24749 {
24750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24751 }
24752 return resultobj;
24753 fail:
24754 return NULL;
24755 }
24756
24757
24758 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24759 PyObject *resultobj = 0;
24760 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24761 bool result;
24762 void *argp1 = 0 ;
24763 int res1 = 0 ;
24764 PyObject *swig_obj[1] ;
24765
24766 if (!args) SWIG_fail;
24767 swig_obj[0] = args;
24768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24769 if (!SWIG_IsOK(res1)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24771 }
24772 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24773 {
24774 PyThreadState* __tstate = wxPyBeginAllowThreads();
24775 result = (bool)(arg1)->GetDefaultInfo();
24776 wxPyEndAllowThreads(__tstate);
24777 if (PyErr_Occurred()) SWIG_fail;
24778 }
24779 {
24780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24781 }
24782 return resultobj;
24783 fail:
24784 return NULL;
24785 }
24786
24787
24788 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24789 PyObject *resultobj = 0;
24790 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24791 wxPoint result;
24792 void *argp1 = 0 ;
24793 int res1 = 0 ;
24794 PyObject *swig_obj[1] ;
24795
24796 if (!args) SWIG_fail;
24797 swig_obj[0] = args;
24798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24799 if (!SWIG_IsOK(res1)) {
24800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24801 }
24802 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24803 {
24804 PyThreadState* __tstate = wxPyBeginAllowThreads();
24805 result = (arg1)->GetMarginTopLeft();
24806 wxPyEndAllowThreads(__tstate);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 }
24809 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24810 return resultobj;
24811 fail:
24812 return NULL;
24813 }
24814
24815
24816 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24817 PyObject *resultobj = 0;
24818 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24819 wxPoint result;
24820 void *argp1 = 0 ;
24821 int res1 = 0 ;
24822 PyObject *swig_obj[1] ;
24823
24824 if (!args) SWIG_fail;
24825 swig_obj[0] = args;
24826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24827 if (!SWIG_IsOK(res1)) {
24828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24829 }
24830 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24831 {
24832 PyThreadState* __tstate = wxPyBeginAllowThreads();
24833 result = (arg1)->GetMarginBottomRight();
24834 wxPyEndAllowThreads(__tstate);
24835 if (PyErr_Occurred()) SWIG_fail;
24836 }
24837 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24838 return resultobj;
24839 fail:
24840 return NULL;
24841 }
24842
24843
24844 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24845 PyObject *resultobj = 0;
24846 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24847 wxPoint result;
24848 void *argp1 = 0 ;
24849 int res1 = 0 ;
24850 PyObject *swig_obj[1] ;
24851
24852 if (!args) SWIG_fail;
24853 swig_obj[0] = args;
24854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24855 if (!SWIG_IsOK(res1)) {
24856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24857 }
24858 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24859 {
24860 PyThreadState* __tstate = wxPyBeginAllowThreads();
24861 result = (arg1)->GetMinMarginTopLeft();
24862 wxPyEndAllowThreads(__tstate);
24863 if (PyErr_Occurred()) SWIG_fail;
24864 }
24865 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24866 return resultobj;
24867 fail:
24868 return NULL;
24869 }
24870
24871
24872 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24873 PyObject *resultobj = 0;
24874 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24875 wxPoint result;
24876 void *argp1 = 0 ;
24877 int res1 = 0 ;
24878 PyObject *swig_obj[1] ;
24879
24880 if (!args) SWIG_fail;
24881 swig_obj[0] = args;
24882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24883 if (!SWIG_IsOK(res1)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24885 }
24886 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 result = (arg1)->GetMinMarginBottomRight();
24890 wxPyEndAllowThreads(__tstate);
24891 if (PyErr_Occurred()) SWIG_fail;
24892 }
24893 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24894 return resultobj;
24895 fail:
24896 return NULL;
24897 }
24898
24899
24900 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24901 PyObject *resultobj = 0;
24902 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24903 wxPaperSize result;
24904 void *argp1 = 0 ;
24905 int res1 = 0 ;
24906 PyObject *swig_obj[1] ;
24907
24908 if (!args) SWIG_fail;
24909 swig_obj[0] = args;
24910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24911 if (!SWIG_IsOK(res1)) {
24912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24913 }
24914 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 result = (wxPaperSize)(arg1)->GetPaperId();
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
24921 resultobj = SWIG_From_int(static_cast< int >(result));
24922 return resultobj;
24923 fail:
24924 return NULL;
24925 }
24926
24927
24928 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24929 PyObject *resultobj = 0;
24930 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24931 wxSize result;
24932 void *argp1 = 0 ;
24933 int res1 = 0 ;
24934 PyObject *swig_obj[1] ;
24935
24936 if (!args) SWIG_fail;
24937 swig_obj[0] = args;
24938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24939 if (!SWIG_IsOK(res1)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24941 }
24942 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24943 {
24944 PyThreadState* __tstate = wxPyBeginAllowThreads();
24945 result = (arg1)->GetPaperSize();
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
24949 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24950 return resultobj;
24951 fail:
24952 return NULL;
24953 }
24954
24955
24956 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24957 PyObject *resultobj = 0;
24958 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24959 wxPrintData *result = 0 ;
24960 void *argp1 = 0 ;
24961 int res1 = 0 ;
24962 PyObject *swig_obj[1] ;
24963
24964 if (!args) SWIG_fail;
24965 swig_obj[0] = args;
24966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24967 if (!SWIG_IsOK(res1)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24969 }
24970 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24971 {
24972 PyThreadState* __tstate = wxPyBeginAllowThreads();
24973 {
24974 wxPrintData &_result_ref = (arg1)->GetPrintData();
24975 result = (wxPrintData *) &_result_ref;
24976 }
24977 wxPyEndAllowThreads(__tstate);
24978 if (PyErr_Occurred()) SWIG_fail;
24979 }
24980 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
24981 return resultobj;
24982 fail:
24983 return NULL;
24984 }
24985
24986
24987 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24988 PyObject *resultobj = 0;
24989 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24990 bool result;
24991 void *argp1 = 0 ;
24992 int res1 = 0 ;
24993 PyObject *swig_obj[1] ;
24994
24995 if (!args) SWIG_fail;
24996 swig_obj[0] = args;
24997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24998 if (!SWIG_IsOK(res1)) {
24999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25000 }
25001 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25002 {
25003 PyThreadState* __tstate = wxPyBeginAllowThreads();
25004 result = (bool)(arg1)->Ok();
25005 wxPyEndAllowThreads(__tstate);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
25008 {
25009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25010 }
25011 return resultobj;
25012 fail:
25013 return NULL;
25014 }
25015
25016
25017 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25018 PyObject *resultobj = 0;
25019 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25020 bool arg2 ;
25021 void *argp1 = 0 ;
25022 int res1 = 0 ;
25023 bool val2 ;
25024 int ecode2 = 0 ;
25025 PyObject * obj0 = 0 ;
25026 PyObject * obj1 = 0 ;
25027 char * kwnames[] = {
25028 (char *) "self",(char *) "flag", NULL
25029 };
25030
25031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25033 if (!SWIG_IsOK(res1)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25035 }
25036 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25037 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25038 if (!SWIG_IsOK(ecode2)) {
25039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25040 }
25041 arg2 = static_cast< bool >(val2);
25042 {
25043 PyThreadState* __tstate = wxPyBeginAllowThreads();
25044 (arg1)->SetDefaultInfo(arg2);
25045 wxPyEndAllowThreads(__tstate);
25046 if (PyErr_Occurred()) SWIG_fail;
25047 }
25048 resultobj = SWIG_Py_Void();
25049 return resultobj;
25050 fail:
25051 return NULL;
25052 }
25053
25054
25055 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25056 PyObject *resultobj = 0;
25057 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25058 bool arg2 ;
25059 void *argp1 = 0 ;
25060 int res1 = 0 ;
25061 bool val2 ;
25062 int ecode2 = 0 ;
25063 PyObject * obj0 = 0 ;
25064 PyObject * obj1 = 0 ;
25065 char * kwnames[] = {
25066 (char *) "self",(char *) "flag", NULL
25067 };
25068
25069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25071 if (!SWIG_IsOK(res1)) {
25072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25073 }
25074 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25075 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25076 if (!SWIG_IsOK(ecode2)) {
25077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25078 }
25079 arg2 = static_cast< bool >(val2);
25080 {
25081 PyThreadState* __tstate = wxPyBeginAllowThreads();
25082 (arg1)->SetDefaultMinMargins(arg2);
25083 wxPyEndAllowThreads(__tstate);
25084 if (PyErr_Occurred()) SWIG_fail;
25085 }
25086 resultobj = SWIG_Py_Void();
25087 return resultobj;
25088 fail:
25089 return NULL;
25090 }
25091
25092
25093 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25094 PyObject *resultobj = 0;
25095 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25096 wxPoint *arg2 = 0 ;
25097 void *argp1 = 0 ;
25098 int res1 = 0 ;
25099 wxPoint temp2 ;
25100 PyObject * obj0 = 0 ;
25101 PyObject * obj1 = 0 ;
25102 char * kwnames[] = {
25103 (char *) "self",(char *) "pt", NULL
25104 };
25105
25106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25108 if (!SWIG_IsOK(res1)) {
25109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25110 }
25111 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25112 {
25113 arg2 = &temp2;
25114 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25115 }
25116 {
25117 PyThreadState* __tstate = wxPyBeginAllowThreads();
25118 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25119 wxPyEndAllowThreads(__tstate);
25120 if (PyErr_Occurred()) SWIG_fail;
25121 }
25122 resultobj = SWIG_Py_Void();
25123 return resultobj;
25124 fail:
25125 return NULL;
25126 }
25127
25128
25129 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25130 PyObject *resultobj = 0;
25131 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25132 wxPoint *arg2 = 0 ;
25133 void *argp1 = 0 ;
25134 int res1 = 0 ;
25135 wxPoint temp2 ;
25136 PyObject * obj0 = 0 ;
25137 PyObject * obj1 = 0 ;
25138 char * kwnames[] = {
25139 (char *) "self",(char *) "pt", NULL
25140 };
25141
25142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25144 if (!SWIG_IsOK(res1)) {
25145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25146 }
25147 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25148 {
25149 arg2 = &temp2;
25150 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25151 }
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25155 wxPyEndAllowThreads(__tstate);
25156 if (PyErr_Occurred()) SWIG_fail;
25157 }
25158 resultobj = SWIG_Py_Void();
25159 return resultobj;
25160 fail:
25161 return NULL;
25162 }
25163
25164
25165 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25166 PyObject *resultobj = 0;
25167 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25168 wxPoint *arg2 = 0 ;
25169 void *argp1 = 0 ;
25170 int res1 = 0 ;
25171 wxPoint temp2 ;
25172 PyObject * obj0 = 0 ;
25173 PyObject * obj1 = 0 ;
25174 char * kwnames[] = {
25175 (char *) "self",(char *) "pt", NULL
25176 };
25177
25178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25180 if (!SWIG_IsOK(res1)) {
25181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25182 }
25183 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25184 {
25185 arg2 = &temp2;
25186 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25187 }
25188 {
25189 PyThreadState* __tstate = wxPyBeginAllowThreads();
25190 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 resultobj = SWIG_Py_Void();
25195 return resultobj;
25196 fail:
25197 return NULL;
25198 }
25199
25200
25201 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25202 PyObject *resultobj = 0;
25203 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25204 wxPoint *arg2 = 0 ;
25205 void *argp1 = 0 ;
25206 int res1 = 0 ;
25207 wxPoint temp2 ;
25208 PyObject * obj0 = 0 ;
25209 PyObject * obj1 = 0 ;
25210 char * kwnames[] = {
25211 (char *) "self",(char *) "pt", NULL
25212 };
25213
25214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25216 if (!SWIG_IsOK(res1)) {
25217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25218 }
25219 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25220 {
25221 arg2 = &temp2;
25222 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25223 }
25224 {
25225 PyThreadState* __tstate = wxPyBeginAllowThreads();
25226 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25227 wxPyEndAllowThreads(__tstate);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 resultobj = SWIG_Py_Void();
25231 return resultobj;
25232 fail:
25233 return NULL;
25234 }
25235
25236
25237 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25238 PyObject *resultobj = 0;
25239 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25240 wxPaperSize arg2 ;
25241 void *argp1 = 0 ;
25242 int res1 = 0 ;
25243 int val2 ;
25244 int ecode2 = 0 ;
25245 PyObject * obj0 = 0 ;
25246 PyObject * obj1 = 0 ;
25247 char * kwnames[] = {
25248 (char *) "self",(char *) "id", NULL
25249 };
25250
25251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25253 if (!SWIG_IsOK(res1)) {
25254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25255 }
25256 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25257 ecode2 = SWIG_AsVal_int(obj1, &val2);
25258 if (!SWIG_IsOK(ecode2)) {
25259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25260 }
25261 arg2 = static_cast< wxPaperSize >(val2);
25262 {
25263 PyThreadState* __tstate = wxPyBeginAllowThreads();
25264 (arg1)->SetPaperId(arg2);
25265 wxPyEndAllowThreads(__tstate);
25266 if (PyErr_Occurred()) SWIG_fail;
25267 }
25268 resultobj = SWIG_Py_Void();
25269 return resultobj;
25270 fail:
25271 return NULL;
25272 }
25273
25274
25275 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25276 PyObject *resultobj = 0;
25277 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25278 wxSize *arg2 = 0 ;
25279 void *argp1 = 0 ;
25280 int res1 = 0 ;
25281 wxSize temp2 ;
25282 PyObject * obj0 = 0 ;
25283 PyObject * obj1 = 0 ;
25284 char * kwnames[] = {
25285 (char *) "self",(char *) "size", NULL
25286 };
25287
25288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25290 if (!SWIG_IsOK(res1)) {
25291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25292 }
25293 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25294 {
25295 arg2 = &temp2;
25296 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25297 }
25298 {
25299 PyThreadState* __tstate = wxPyBeginAllowThreads();
25300 (arg1)->SetPaperSize((wxSize const &)*arg2);
25301 wxPyEndAllowThreads(__tstate);
25302 if (PyErr_Occurred()) SWIG_fail;
25303 }
25304 resultobj = SWIG_Py_Void();
25305 return resultobj;
25306 fail:
25307 return NULL;
25308 }
25309
25310
25311 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25312 PyObject *resultobj = 0;
25313 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25314 wxPrintData *arg2 = 0 ;
25315 void *argp1 = 0 ;
25316 int res1 = 0 ;
25317 void *argp2 = 0 ;
25318 int res2 = 0 ;
25319 PyObject * obj0 = 0 ;
25320 PyObject * obj1 = 0 ;
25321 char * kwnames[] = {
25322 (char *) "self",(char *) "printData", NULL
25323 };
25324
25325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25327 if (!SWIG_IsOK(res1)) {
25328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25329 }
25330 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25331 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25332 if (!SWIG_IsOK(res2)) {
25333 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25334 }
25335 if (!argp2) {
25336 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25337 }
25338 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25339 {
25340 PyThreadState* __tstate = wxPyBeginAllowThreads();
25341 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25342 wxPyEndAllowThreads(__tstate);
25343 if (PyErr_Occurred()) SWIG_fail;
25344 }
25345 resultobj = SWIG_Py_Void();
25346 return resultobj;
25347 fail:
25348 return NULL;
25349 }
25350
25351
25352 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25353 PyObject *resultobj = 0;
25354 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 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_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25364 }
25365 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25366 {
25367 PyThreadState* __tstate = wxPyBeginAllowThreads();
25368 (arg1)->CalculateIdFromPaperSize();
25369 wxPyEndAllowThreads(__tstate);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 resultobj = SWIG_Py_Void();
25373 return resultobj;
25374 fail:
25375 return NULL;
25376 }
25377
25378
25379 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25380 PyObject *resultobj = 0;
25381 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25382 void *argp1 = 0 ;
25383 int res1 = 0 ;
25384 PyObject *swig_obj[1] ;
25385
25386 if (!args) SWIG_fail;
25387 swig_obj[0] = args;
25388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25389 if (!SWIG_IsOK(res1)) {
25390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25391 }
25392 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25393 {
25394 PyThreadState* __tstate = wxPyBeginAllowThreads();
25395 (arg1)->CalculatePaperSizeFromId();
25396 wxPyEndAllowThreads(__tstate);
25397 if (PyErr_Occurred()) SWIG_fail;
25398 }
25399 resultobj = SWIG_Py_Void();
25400 return resultobj;
25401 fail:
25402 return NULL;
25403 }
25404
25405
25406 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25407 PyObject *obj;
25408 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25409 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25410 return SWIG_Py_Void();
25411 }
25412
25413 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25414 return SWIG_Python_InitShadowInstance(args);
25415 }
25416
25417 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25418 PyObject *resultobj = 0;
25419 wxWindow *arg1 = (wxWindow *) 0 ;
25420 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25421 wxPageSetupDialog *result = 0 ;
25422 void *argp1 = 0 ;
25423 int res1 = 0 ;
25424 void *argp2 = 0 ;
25425 int res2 = 0 ;
25426 PyObject * obj0 = 0 ;
25427 PyObject * obj1 = 0 ;
25428 char * kwnames[] = {
25429 (char *) "parent",(char *) "data", NULL
25430 };
25431
25432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25434 if (!SWIG_IsOK(res1)) {
25435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25436 }
25437 arg1 = reinterpret_cast< wxWindow * >(argp1);
25438 if (obj1) {
25439 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25440 if (!SWIG_IsOK(res2)) {
25441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25442 }
25443 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25444 }
25445 {
25446 if (!wxPyCheckForApp()) SWIG_fail;
25447 PyThreadState* __tstate = wxPyBeginAllowThreads();
25448 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25449 wxPyEndAllowThreads(__tstate);
25450 if (PyErr_Occurred()) SWIG_fail;
25451 }
25452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25453 return resultobj;
25454 fail:
25455 return NULL;
25456 }
25457
25458
25459 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25460 PyObject *resultobj = 0;
25461 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25462 void *argp1 = 0 ;
25463 int res1 = 0 ;
25464 PyObject *swig_obj[1] ;
25465
25466 if (!args) SWIG_fail;
25467 swig_obj[0] = args;
25468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25469 if (!SWIG_IsOK(res1)) {
25470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25471 }
25472 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25473 {
25474 PyThreadState* __tstate = wxPyBeginAllowThreads();
25475 delete arg1;
25476
25477 wxPyEndAllowThreads(__tstate);
25478 if (PyErr_Occurred()) SWIG_fail;
25479 }
25480 resultobj = SWIG_Py_Void();
25481 return resultobj;
25482 fail:
25483 return NULL;
25484 }
25485
25486
25487 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25488 PyObject *resultobj = 0;
25489 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25490 wxPageSetupDialogData *result = 0 ;
25491 void *argp1 = 0 ;
25492 int res1 = 0 ;
25493 PyObject *swig_obj[1] ;
25494
25495 if (!args) SWIG_fail;
25496 swig_obj[0] = args;
25497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25498 if (!SWIG_IsOK(res1)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25500 }
25501 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25502 {
25503 PyThreadState* __tstate = wxPyBeginAllowThreads();
25504 {
25505 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25506 result = (wxPageSetupDialogData *) &_result_ref;
25507 }
25508 wxPyEndAllowThreads(__tstate);
25509 if (PyErr_Occurred()) SWIG_fail;
25510 }
25511 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25512 return resultobj;
25513 fail:
25514 return NULL;
25515 }
25516
25517
25518 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25519 PyObject *resultobj = 0;
25520 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25521 wxPageSetupDialogData *result = 0 ;
25522 void *argp1 = 0 ;
25523 int res1 = 0 ;
25524 PyObject *swig_obj[1] ;
25525
25526 if (!args) SWIG_fail;
25527 swig_obj[0] = args;
25528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25529 if (!SWIG_IsOK(res1)) {
25530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25531 }
25532 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25533 {
25534 PyThreadState* __tstate = wxPyBeginAllowThreads();
25535 {
25536 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25537 result = (wxPageSetupDialogData *) &_result_ref;
25538 }
25539 wxPyEndAllowThreads(__tstate);
25540 if (PyErr_Occurred()) SWIG_fail;
25541 }
25542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25543 return resultobj;
25544 fail:
25545 return NULL;
25546 }
25547
25548
25549 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25550 PyObject *resultobj = 0;
25551 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25552 int result;
25553 void *argp1 = 0 ;
25554 int res1 = 0 ;
25555 PyObject *swig_obj[1] ;
25556
25557 if (!args) SWIG_fail;
25558 swig_obj[0] = args;
25559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25560 if (!SWIG_IsOK(res1)) {
25561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25562 }
25563 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25564 {
25565 PyThreadState* __tstate = wxPyBeginAllowThreads();
25566 result = (int)(arg1)->ShowModal();
25567 wxPyEndAllowThreads(__tstate);
25568 if (PyErr_Occurred()) SWIG_fail;
25569 }
25570 resultobj = SWIG_From_int(static_cast< int >(result));
25571 return resultobj;
25572 fail:
25573 return NULL;
25574 }
25575
25576
25577 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25578 PyObject *obj;
25579 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25581 return SWIG_Py_Void();
25582 }
25583
25584 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25585 return SWIG_Python_InitShadowInstance(args);
25586 }
25587
25588 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25589 PyObject *resultobj = 0;
25590 wxPrintDialogData *result = 0 ;
25591
25592 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25593 {
25594 PyThreadState* __tstate = wxPyBeginAllowThreads();
25595 result = (wxPrintDialogData *)new wxPrintDialogData();
25596 wxPyEndAllowThreads(__tstate);
25597 if (PyErr_Occurred()) SWIG_fail;
25598 }
25599 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25600 return resultobj;
25601 fail:
25602 return NULL;
25603 }
25604
25605
25606 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25607 PyObject *resultobj = 0;
25608 wxPrintData *arg1 = 0 ;
25609 wxPrintDialogData *result = 0 ;
25610 void *argp1 = 0 ;
25611 int res1 = 0 ;
25612
25613 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25615 if (!SWIG_IsOK(res1)) {
25616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25617 }
25618 if (!argp1) {
25619 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25620 }
25621 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25622 {
25623 PyThreadState* __tstate = wxPyBeginAllowThreads();
25624 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25629 return resultobj;
25630 fail:
25631 return NULL;
25632 }
25633
25634
25635 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25636 PyObject *resultobj = 0;
25637 wxPrintDialogData *arg1 = 0 ;
25638 wxPrintDialogData *result = 0 ;
25639 void *argp1 = 0 ;
25640 int res1 = 0 ;
25641
25642 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25644 if (!SWIG_IsOK(res1)) {
25645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25646 }
25647 if (!argp1) {
25648 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25649 }
25650 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25651 {
25652 PyThreadState* __tstate = wxPyBeginAllowThreads();
25653 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25658 return resultobj;
25659 fail:
25660 return NULL;
25661 }
25662
25663
25664 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25665 int argc;
25666 PyObject *argv[2];
25667
25668 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25669 --argc;
25670 if (argc == 0) {
25671 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25672 }
25673 if (argc == 1) {
25674 int _v = 0;
25675 {
25676 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25677 _v = SWIG_CheckState(res);
25678 }
25679 if (!_v) goto check_2;
25680 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25681 }
25682 check_2:
25683
25684 if (argc == 1) {
25685 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25686 }
25687
25688 fail:
25689 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25690 return NULL;
25691 }
25692
25693
25694 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25695 PyObject *resultobj = 0;
25696 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25697 void *argp1 = 0 ;
25698 int res1 = 0 ;
25699 PyObject *swig_obj[1] ;
25700
25701 if (!args) SWIG_fail;
25702 swig_obj[0] = args;
25703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25704 if (!SWIG_IsOK(res1)) {
25705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25706 }
25707 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25708 {
25709 PyThreadState* __tstate = wxPyBeginAllowThreads();
25710 delete arg1;
25711
25712 wxPyEndAllowThreads(__tstate);
25713 if (PyErr_Occurred()) SWIG_fail;
25714 }
25715 resultobj = SWIG_Py_Void();
25716 return resultobj;
25717 fail:
25718 return NULL;
25719 }
25720
25721
25722 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25723 PyObject *resultobj = 0;
25724 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25725 int result;
25726 void *argp1 = 0 ;
25727 int res1 = 0 ;
25728 PyObject *swig_obj[1] ;
25729
25730 if (!args) SWIG_fail;
25731 swig_obj[0] = args;
25732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25733 if (!SWIG_IsOK(res1)) {
25734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25735 }
25736 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25737 {
25738 PyThreadState* __tstate = wxPyBeginAllowThreads();
25739 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25740 wxPyEndAllowThreads(__tstate);
25741 if (PyErr_Occurred()) SWIG_fail;
25742 }
25743 resultobj = SWIG_From_int(static_cast< int >(result));
25744 return resultobj;
25745 fail:
25746 return NULL;
25747 }
25748
25749
25750 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25751 PyObject *resultobj = 0;
25752 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25753 int result;
25754 void *argp1 = 0 ;
25755 int res1 = 0 ;
25756 PyObject *swig_obj[1] ;
25757
25758 if (!args) SWIG_fail;
25759 swig_obj[0] = args;
25760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25761 if (!SWIG_IsOK(res1)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25763 }
25764 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25765 {
25766 PyThreadState* __tstate = wxPyBeginAllowThreads();
25767 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25768 wxPyEndAllowThreads(__tstate);
25769 if (PyErr_Occurred()) SWIG_fail;
25770 }
25771 resultobj = SWIG_From_int(static_cast< int >(result));
25772 return resultobj;
25773 fail:
25774 return NULL;
25775 }
25776
25777
25778 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25779 PyObject *resultobj = 0;
25780 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25781 int result;
25782 void *argp1 = 0 ;
25783 int res1 = 0 ;
25784 PyObject *swig_obj[1] ;
25785
25786 if (!args) SWIG_fail;
25787 swig_obj[0] = args;
25788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25789 if (!SWIG_IsOK(res1)) {
25790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25791 }
25792 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25793 {
25794 PyThreadState* __tstate = wxPyBeginAllowThreads();
25795 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25796 wxPyEndAllowThreads(__tstate);
25797 if (PyErr_Occurred()) SWIG_fail;
25798 }
25799 resultobj = SWIG_From_int(static_cast< int >(result));
25800 return resultobj;
25801 fail:
25802 return NULL;
25803 }
25804
25805
25806 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25807 PyObject *resultobj = 0;
25808 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25809 int result;
25810 void *argp1 = 0 ;
25811 int res1 = 0 ;
25812 PyObject *swig_obj[1] ;
25813
25814 if (!args) SWIG_fail;
25815 swig_obj[0] = args;
25816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25817 if (!SWIG_IsOK(res1)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25819 }
25820 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25824 wxPyEndAllowThreads(__tstate);
25825 if (PyErr_Occurred()) SWIG_fail;
25826 }
25827 resultobj = SWIG_From_int(static_cast< int >(result));
25828 return resultobj;
25829 fail:
25830 return NULL;
25831 }
25832
25833
25834 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25835 PyObject *resultobj = 0;
25836 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25837 int result;
25838 void *argp1 = 0 ;
25839 int res1 = 0 ;
25840 PyObject *swig_obj[1] ;
25841
25842 if (!args) SWIG_fail;
25843 swig_obj[0] = args;
25844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25845 if (!SWIG_IsOK(res1)) {
25846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25847 }
25848 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25849 {
25850 PyThreadState* __tstate = wxPyBeginAllowThreads();
25851 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25852 wxPyEndAllowThreads(__tstate);
25853 if (PyErr_Occurred()) SWIG_fail;
25854 }
25855 resultobj = SWIG_From_int(static_cast< int >(result));
25856 return resultobj;
25857 fail:
25858 return NULL;
25859 }
25860
25861
25862 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25863 PyObject *resultobj = 0;
25864 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25865 bool result;
25866 void *argp1 = 0 ;
25867 int res1 = 0 ;
25868 PyObject *swig_obj[1] ;
25869
25870 if (!args) SWIG_fail;
25871 swig_obj[0] = args;
25872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25873 if (!SWIG_IsOK(res1)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25875 }
25876 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25877 {
25878 PyThreadState* __tstate = wxPyBeginAllowThreads();
25879 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25880 wxPyEndAllowThreads(__tstate);
25881 if (PyErr_Occurred()) SWIG_fail;
25882 }
25883 {
25884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25885 }
25886 return resultobj;
25887 fail:
25888 return NULL;
25889 }
25890
25891
25892 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25893 PyObject *resultobj = 0;
25894 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25895 bool result;
25896 void *argp1 = 0 ;
25897 int res1 = 0 ;
25898 PyObject *swig_obj[1] ;
25899
25900 if (!args) SWIG_fail;
25901 swig_obj[0] = args;
25902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25903 if (!SWIG_IsOK(res1)) {
25904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25905 }
25906 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25907 {
25908 PyThreadState* __tstate = wxPyBeginAllowThreads();
25909 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25910 wxPyEndAllowThreads(__tstate);
25911 if (PyErr_Occurred()) SWIG_fail;
25912 }
25913 {
25914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25915 }
25916 return resultobj;
25917 fail:
25918 return NULL;
25919 }
25920
25921
25922 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25923 PyObject *resultobj = 0;
25924 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25925 bool result;
25926 void *argp1 = 0 ;
25927 int res1 = 0 ;
25928 PyObject *swig_obj[1] ;
25929
25930 if (!args) SWIG_fail;
25931 swig_obj[0] = args;
25932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25933 if (!SWIG_IsOK(res1)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25935 }
25936 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25937 {
25938 PyThreadState* __tstate = wxPyBeginAllowThreads();
25939 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25940 wxPyEndAllowThreads(__tstate);
25941 if (PyErr_Occurred()) SWIG_fail;
25942 }
25943 {
25944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25945 }
25946 return resultobj;
25947 fail:
25948 return NULL;
25949 }
25950
25951
25952 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25953 PyObject *resultobj = 0;
25954 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25955 bool result;
25956 void *argp1 = 0 ;
25957 int res1 = 0 ;
25958 PyObject *swig_obj[1] ;
25959
25960 if (!args) SWIG_fail;
25961 swig_obj[0] = args;
25962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25963 if (!SWIG_IsOK(res1)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25965 }
25966 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25967 {
25968 PyThreadState* __tstate = wxPyBeginAllowThreads();
25969 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
25970 wxPyEndAllowThreads(__tstate);
25971 if (PyErr_Occurred()) SWIG_fail;
25972 }
25973 {
25974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25975 }
25976 return resultobj;
25977 fail:
25978 return NULL;
25979 }
25980
25981
25982 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25983 PyObject *resultobj = 0;
25984 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25985 int arg2 ;
25986 void *argp1 = 0 ;
25987 int res1 = 0 ;
25988 int val2 ;
25989 int ecode2 = 0 ;
25990 PyObject * obj0 = 0 ;
25991 PyObject * obj1 = 0 ;
25992 char * kwnames[] = {
25993 (char *) "self",(char *) "v", NULL
25994 };
25995
25996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
25997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25998 if (!SWIG_IsOK(res1)) {
25999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26000 }
26001 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26002 ecode2 = SWIG_AsVal_int(obj1, &val2);
26003 if (!SWIG_IsOK(ecode2)) {
26004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26005 }
26006 arg2 = static_cast< int >(val2);
26007 {
26008 PyThreadState* __tstate = wxPyBeginAllowThreads();
26009 (arg1)->SetFromPage(arg2);
26010 wxPyEndAllowThreads(__tstate);
26011 if (PyErr_Occurred()) SWIG_fail;
26012 }
26013 resultobj = SWIG_Py_Void();
26014 return resultobj;
26015 fail:
26016 return NULL;
26017 }
26018
26019
26020 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26021 PyObject *resultobj = 0;
26022 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26023 int arg2 ;
26024 void *argp1 = 0 ;
26025 int res1 = 0 ;
26026 int val2 ;
26027 int ecode2 = 0 ;
26028 PyObject * obj0 = 0 ;
26029 PyObject * obj1 = 0 ;
26030 char * kwnames[] = {
26031 (char *) "self",(char *) "v", NULL
26032 };
26033
26034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26036 if (!SWIG_IsOK(res1)) {
26037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26038 }
26039 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26040 ecode2 = SWIG_AsVal_int(obj1, &val2);
26041 if (!SWIG_IsOK(ecode2)) {
26042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26043 }
26044 arg2 = static_cast< int >(val2);
26045 {
26046 PyThreadState* __tstate = wxPyBeginAllowThreads();
26047 (arg1)->SetToPage(arg2);
26048 wxPyEndAllowThreads(__tstate);
26049 if (PyErr_Occurred()) SWIG_fail;
26050 }
26051 resultobj = SWIG_Py_Void();
26052 return resultobj;
26053 fail:
26054 return NULL;
26055 }
26056
26057
26058 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26059 PyObject *resultobj = 0;
26060 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26061 int arg2 ;
26062 void *argp1 = 0 ;
26063 int res1 = 0 ;
26064 int val2 ;
26065 int ecode2 = 0 ;
26066 PyObject * obj0 = 0 ;
26067 PyObject * obj1 = 0 ;
26068 char * kwnames[] = {
26069 (char *) "self",(char *) "v", NULL
26070 };
26071
26072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26074 if (!SWIG_IsOK(res1)) {
26075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26076 }
26077 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26078 ecode2 = SWIG_AsVal_int(obj1, &val2);
26079 if (!SWIG_IsOK(ecode2)) {
26080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26081 }
26082 arg2 = static_cast< int >(val2);
26083 {
26084 PyThreadState* __tstate = wxPyBeginAllowThreads();
26085 (arg1)->SetMinPage(arg2);
26086 wxPyEndAllowThreads(__tstate);
26087 if (PyErr_Occurred()) SWIG_fail;
26088 }
26089 resultobj = SWIG_Py_Void();
26090 return resultobj;
26091 fail:
26092 return NULL;
26093 }
26094
26095
26096 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26097 PyObject *resultobj = 0;
26098 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26099 int arg2 ;
26100 void *argp1 = 0 ;
26101 int res1 = 0 ;
26102 int val2 ;
26103 int ecode2 = 0 ;
26104 PyObject * obj0 = 0 ;
26105 PyObject * obj1 = 0 ;
26106 char * kwnames[] = {
26107 (char *) "self",(char *) "v", NULL
26108 };
26109
26110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26112 if (!SWIG_IsOK(res1)) {
26113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26114 }
26115 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26116 ecode2 = SWIG_AsVal_int(obj1, &val2);
26117 if (!SWIG_IsOK(ecode2)) {
26118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26119 }
26120 arg2 = static_cast< int >(val2);
26121 {
26122 PyThreadState* __tstate = wxPyBeginAllowThreads();
26123 (arg1)->SetMaxPage(arg2);
26124 wxPyEndAllowThreads(__tstate);
26125 if (PyErr_Occurred()) SWIG_fail;
26126 }
26127 resultobj = SWIG_Py_Void();
26128 return resultobj;
26129 fail:
26130 return NULL;
26131 }
26132
26133
26134 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26135 PyObject *resultobj = 0;
26136 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26137 int arg2 ;
26138 void *argp1 = 0 ;
26139 int res1 = 0 ;
26140 int val2 ;
26141 int ecode2 = 0 ;
26142 PyObject * obj0 = 0 ;
26143 PyObject * obj1 = 0 ;
26144 char * kwnames[] = {
26145 (char *) "self",(char *) "v", NULL
26146 };
26147
26148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26150 if (!SWIG_IsOK(res1)) {
26151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26152 }
26153 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26154 ecode2 = SWIG_AsVal_int(obj1, &val2);
26155 if (!SWIG_IsOK(ecode2)) {
26156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26157 }
26158 arg2 = static_cast< int >(val2);
26159 {
26160 PyThreadState* __tstate = wxPyBeginAllowThreads();
26161 (arg1)->SetNoCopies(arg2);
26162 wxPyEndAllowThreads(__tstate);
26163 if (PyErr_Occurred()) SWIG_fail;
26164 }
26165 resultobj = SWIG_Py_Void();
26166 return resultobj;
26167 fail:
26168 return NULL;
26169 }
26170
26171
26172 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26173 PyObject *resultobj = 0;
26174 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26175 bool arg2 ;
26176 void *argp1 = 0 ;
26177 int res1 = 0 ;
26178 bool val2 ;
26179 int ecode2 = 0 ;
26180 PyObject * obj0 = 0 ;
26181 PyObject * obj1 = 0 ;
26182 char * kwnames[] = {
26183 (char *) "self",(char *) "flag", NULL
26184 };
26185
26186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26188 if (!SWIG_IsOK(res1)) {
26189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26190 }
26191 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26192 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26193 if (!SWIG_IsOK(ecode2)) {
26194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26195 }
26196 arg2 = static_cast< bool >(val2);
26197 {
26198 PyThreadState* __tstate = wxPyBeginAllowThreads();
26199 (arg1)->SetAllPages(arg2);
26200 wxPyEndAllowThreads(__tstate);
26201 if (PyErr_Occurred()) SWIG_fail;
26202 }
26203 resultobj = SWIG_Py_Void();
26204 return resultobj;
26205 fail:
26206 return NULL;
26207 }
26208
26209
26210 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26211 PyObject *resultobj = 0;
26212 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26213 bool arg2 ;
26214 void *argp1 = 0 ;
26215 int res1 = 0 ;
26216 bool val2 ;
26217 int ecode2 = 0 ;
26218 PyObject * obj0 = 0 ;
26219 PyObject * obj1 = 0 ;
26220 char * kwnames[] = {
26221 (char *) "self",(char *) "flag", NULL
26222 };
26223
26224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26226 if (!SWIG_IsOK(res1)) {
26227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26228 }
26229 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26230 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26231 if (!SWIG_IsOK(ecode2)) {
26232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26233 }
26234 arg2 = static_cast< bool >(val2);
26235 {
26236 PyThreadState* __tstate = wxPyBeginAllowThreads();
26237 (arg1)->SetSelection(arg2);
26238 wxPyEndAllowThreads(__tstate);
26239 if (PyErr_Occurred()) SWIG_fail;
26240 }
26241 resultobj = SWIG_Py_Void();
26242 return resultobj;
26243 fail:
26244 return NULL;
26245 }
26246
26247
26248 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26249 PyObject *resultobj = 0;
26250 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26251 bool arg2 ;
26252 void *argp1 = 0 ;
26253 int res1 = 0 ;
26254 bool val2 ;
26255 int ecode2 = 0 ;
26256 PyObject * obj0 = 0 ;
26257 PyObject * obj1 = 0 ;
26258 char * kwnames[] = {
26259 (char *) "self",(char *) "flag", NULL
26260 };
26261
26262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26264 if (!SWIG_IsOK(res1)) {
26265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26266 }
26267 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26268 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26269 if (!SWIG_IsOK(ecode2)) {
26270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26271 }
26272 arg2 = static_cast< bool >(val2);
26273 {
26274 PyThreadState* __tstate = wxPyBeginAllowThreads();
26275 (arg1)->SetCollate(arg2);
26276 wxPyEndAllowThreads(__tstate);
26277 if (PyErr_Occurred()) SWIG_fail;
26278 }
26279 resultobj = SWIG_Py_Void();
26280 return resultobj;
26281 fail:
26282 return NULL;
26283 }
26284
26285
26286 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26287 PyObject *resultobj = 0;
26288 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26289 bool arg2 ;
26290 void *argp1 = 0 ;
26291 int res1 = 0 ;
26292 bool val2 ;
26293 int ecode2 = 0 ;
26294 PyObject * obj0 = 0 ;
26295 PyObject * obj1 = 0 ;
26296 char * kwnames[] = {
26297 (char *) "self",(char *) "flag", NULL
26298 };
26299
26300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26302 if (!SWIG_IsOK(res1)) {
26303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26304 }
26305 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26306 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26307 if (!SWIG_IsOK(ecode2)) {
26308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26309 }
26310 arg2 = static_cast< bool >(val2);
26311 {
26312 PyThreadState* __tstate = wxPyBeginAllowThreads();
26313 (arg1)->SetPrintToFile(arg2);
26314 wxPyEndAllowThreads(__tstate);
26315 if (PyErr_Occurred()) SWIG_fail;
26316 }
26317 resultobj = SWIG_Py_Void();
26318 return resultobj;
26319 fail:
26320 return NULL;
26321 }
26322
26323
26324 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26325 PyObject *resultobj = 0;
26326 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26327 bool arg2 ;
26328 void *argp1 = 0 ;
26329 int res1 = 0 ;
26330 bool val2 ;
26331 int ecode2 = 0 ;
26332 PyObject * obj0 = 0 ;
26333 PyObject * obj1 = 0 ;
26334 char * kwnames[] = {
26335 (char *) "self",(char *) "flag", NULL
26336 };
26337
26338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26340 if (!SWIG_IsOK(res1)) {
26341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26342 }
26343 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26344 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26345 if (!SWIG_IsOK(ecode2)) {
26346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26347 }
26348 arg2 = static_cast< bool >(val2);
26349 {
26350 PyThreadState* __tstate = wxPyBeginAllowThreads();
26351 (arg1)->EnablePrintToFile(arg2);
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
26355 resultobj = SWIG_Py_Void();
26356 return resultobj;
26357 fail:
26358 return NULL;
26359 }
26360
26361
26362 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26363 PyObject *resultobj = 0;
26364 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26365 bool arg2 ;
26366 void *argp1 = 0 ;
26367 int res1 = 0 ;
26368 bool val2 ;
26369 int ecode2 = 0 ;
26370 PyObject * obj0 = 0 ;
26371 PyObject * obj1 = 0 ;
26372 char * kwnames[] = {
26373 (char *) "self",(char *) "flag", NULL
26374 };
26375
26376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26378 if (!SWIG_IsOK(res1)) {
26379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26380 }
26381 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26382 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26383 if (!SWIG_IsOK(ecode2)) {
26384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26385 }
26386 arg2 = static_cast< bool >(val2);
26387 {
26388 PyThreadState* __tstate = wxPyBeginAllowThreads();
26389 (arg1)->EnableSelection(arg2);
26390 wxPyEndAllowThreads(__tstate);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 }
26393 resultobj = SWIG_Py_Void();
26394 return resultobj;
26395 fail:
26396 return NULL;
26397 }
26398
26399
26400 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26401 PyObject *resultobj = 0;
26402 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26403 bool arg2 ;
26404 void *argp1 = 0 ;
26405 int res1 = 0 ;
26406 bool val2 ;
26407 int ecode2 = 0 ;
26408 PyObject * obj0 = 0 ;
26409 PyObject * obj1 = 0 ;
26410 char * kwnames[] = {
26411 (char *) "self",(char *) "flag", NULL
26412 };
26413
26414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26416 if (!SWIG_IsOK(res1)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26418 }
26419 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26420 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26421 if (!SWIG_IsOK(ecode2)) {
26422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26423 }
26424 arg2 = static_cast< bool >(val2);
26425 {
26426 PyThreadState* __tstate = wxPyBeginAllowThreads();
26427 (arg1)->EnablePageNumbers(arg2);
26428 wxPyEndAllowThreads(__tstate);
26429 if (PyErr_Occurred()) SWIG_fail;
26430 }
26431 resultobj = SWIG_Py_Void();
26432 return resultobj;
26433 fail:
26434 return NULL;
26435 }
26436
26437
26438 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26439 PyObject *resultobj = 0;
26440 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26441 bool arg2 ;
26442 void *argp1 = 0 ;
26443 int res1 = 0 ;
26444 bool val2 ;
26445 int ecode2 = 0 ;
26446 PyObject * obj0 = 0 ;
26447 PyObject * obj1 = 0 ;
26448 char * kwnames[] = {
26449 (char *) "self",(char *) "flag", NULL
26450 };
26451
26452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26454 if (!SWIG_IsOK(res1)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26456 }
26457 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26458 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26459 if (!SWIG_IsOK(ecode2)) {
26460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26461 }
26462 arg2 = static_cast< bool >(val2);
26463 {
26464 PyThreadState* __tstate = wxPyBeginAllowThreads();
26465 (arg1)->EnableHelp(arg2);
26466 wxPyEndAllowThreads(__tstate);
26467 if (PyErr_Occurred()) SWIG_fail;
26468 }
26469 resultobj = SWIG_Py_Void();
26470 return resultobj;
26471 fail:
26472 return NULL;
26473 }
26474
26475
26476 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26477 PyObject *resultobj = 0;
26478 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26479 bool result;
26480 void *argp1 = 0 ;
26481 int res1 = 0 ;
26482 PyObject *swig_obj[1] ;
26483
26484 if (!args) SWIG_fail;
26485 swig_obj[0] = args;
26486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26487 if (!SWIG_IsOK(res1)) {
26488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26489 }
26490 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26491 {
26492 PyThreadState* __tstate = wxPyBeginAllowThreads();
26493 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26494 wxPyEndAllowThreads(__tstate);
26495 if (PyErr_Occurred()) SWIG_fail;
26496 }
26497 {
26498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26499 }
26500 return resultobj;
26501 fail:
26502 return NULL;
26503 }
26504
26505
26506 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26507 PyObject *resultobj = 0;
26508 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26509 bool result;
26510 void *argp1 = 0 ;
26511 int res1 = 0 ;
26512 PyObject *swig_obj[1] ;
26513
26514 if (!args) SWIG_fail;
26515 swig_obj[0] = args;
26516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26517 if (!SWIG_IsOK(res1)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26519 }
26520 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26521 {
26522 PyThreadState* __tstate = wxPyBeginAllowThreads();
26523 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26524 wxPyEndAllowThreads(__tstate);
26525 if (PyErr_Occurred()) SWIG_fail;
26526 }
26527 {
26528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26529 }
26530 return resultobj;
26531 fail:
26532 return NULL;
26533 }
26534
26535
26536 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26537 PyObject *resultobj = 0;
26538 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26539 bool result;
26540 void *argp1 = 0 ;
26541 int res1 = 0 ;
26542 PyObject *swig_obj[1] ;
26543
26544 if (!args) SWIG_fail;
26545 swig_obj[0] = args;
26546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26547 if (!SWIG_IsOK(res1)) {
26548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26549 }
26550 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26551 {
26552 PyThreadState* __tstate = wxPyBeginAllowThreads();
26553 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26554 wxPyEndAllowThreads(__tstate);
26555 if (PyErr_Occurred()) SWIG_fail;
26556 }
26557 {
26558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26559 }
26560 return resultobj;
26561 fail:
26562 return NULL;
26563 }
26564
26565
26566 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26567 PyObject *resultobj = 0;
26568 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26569 bool result;
26570 void *argp1 = 0 ;
26571 int res1 = 0 ;
26572 PyObject *swig_obj[1] ;
26573
26574 if (!args) SWIG_fail;
26575 swig_obj[0] = args;
26576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26577 if (!SWIG_IsOK(res1)) {
26578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26579 }
26580 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26581 {
26582 PyThreadState* __tstate = wxPyBeginAllowThreads();
26583 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26584 wxPyEndAllowThreads(__tstate);
26585 if (PyErr_Occurred()) SWIG_fail;
26586 }
26587 {
26588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26589 }
26590 return resultobj;
26591 fail:
26592 return NULL;
26593 }
26594
26595
26596 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26597 PyObject *resultobj = 0;
26598 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26599 bool result;
26600 void *argp1 = 0 ;
26601 int res1 = 0 ;
26602 PyObject *swig_obj[1] ;
26603
26604 if (!args) SWIG_fail;
26605 swig_obj[0] = args;
26606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26607 if (!SWIG_IsOK(res1)) {
26608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26609 }
26610 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26611 {
26612 PyThreadState* __tstate = wxPyBeginAllowThreads();
26613 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26614 wxPyEndAllowThreads(__tstate);
26615 if (PyErr_Occurred()) SWIG_fail;
26616 }
26617 {
26618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26619 }
26620 return resultobj;
26621 fail:
26622 return NULL;
26623 }
26624
26625
26626 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26627 PyObject *resultobj = 0;
26628 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26629 wxPrintData *result = 0 ;
26630 void *argp1 = 0 ;
26631 int res1 = 0 ;
26632 PyObject *swig_obj[1] ;
26633
26634 if (!args) SWIG_fail;
26635 swig_obj[0] = args;
26636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26637 if (!SWIG_IsOK(res1)) {
26638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26639 }
26640 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26641 {
26642 PyThreadState* __tstate = wxPyBeginAllowThreads();
26643 {
26644 wxPrintData &_result_ref = (arg1)->GetPrintData();
26645 result = (wxPrintData *) &_result_ref;
26646 }
26647 wxPyEndAllowThreads(__tstate);
26648 if (PyErr_Occurred()) SWIG_fail;
26649 }
26650 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26651 return resultobj;
26652 fail:
26653 return NULL;
26654 }
26655
26656
26657 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26658 PyObject *resultobj = 0;
26659 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26660 wxPrintData *arg2 = 0 ;
26661 void *argp1 = 0 ;
26662 int res1 = 0 ;
26663 void *argp2 = 0 ;
26664 int res2 = 0 ;
26665 PyObject * obj0 = 0 ;
26666 PyObject * obj1 = 0 ;
26667 char * kwnames[] = {
26668 (char *) "self",(char *) "printData", NULL
26669 };
26670
26671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26673 if (!SWIG_IsOK(res1)) {
26674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26675 }
26676 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26677 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26678 if (!SWIG_IsOK(res2)) {
26679 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26680 }
26681 if (!argp2) {
26682 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26683 }
26684 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26685 {
26686 PyThreadState* __tstate = wxPyBeginAllowThreads();
26687 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26688 wxPyEndAllowThreads(__tstate);
26689 if (PyErr_Occurred()) SWIG_fail;
26690 }
26691 resultobj = SWIG_Py_Void();
26692 return resultobj;
26693 fail:
26694 return NULL;
26695 }
26696
26697
26698 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26699 PyObject *obj;
26700 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26701 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26702 return SWIG_Py_Void();
26703 }
26704
26705 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26706 return SWIG_Python_InitShadowInstance(args);
26707 }
26708
26709 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26710 PyObject *resultobj = 0;
26711 wxWindow *arg1 = (wxWindow *) 0 ;
26712 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26713 wxPrintDialog *result = 0 ;
26714 void *argp1 = 0 ;
26715 int res1 = 0 ;
26716 void *argp2 = 0 ;
26717 int res2 = 0 ;
26718 PyObject * obj0 = 0 ;
26719 PyObject * obj1 = 0 ;
26720 char * kwnames[] = {
26721 (char *) "parent",(char *) "data", NULL
26722 };
26723
26724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26726 if (!SWIG_IsOK(res1)) {
26727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26728 }
26729 arg1 = reinterpret_cast< wxWindow * >(argp1);
26730 if (obj1) {
26731 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26732 if (!SWIG_IsOK(res2)) {
26733 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26734 }
26735 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26736 }
26737 {
26738 if (!wxPyCheckForApp()) SWIG_fail;
26739 PyThreadState* __tstate = wxPyBeginAllowThreads();
26740 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26741 wxPyEndAllowThreads(__tstate);
26742 if (PyErr_Occurred()) SWIG_fail;
26743 }
26744 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26745 return resultobj;
26746 fail:
26747 return NULL;
26748 }
26749
26750
26751 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26752 PyObject *resultobj = 0;
26753 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26754 void *argp1 = 0 ;
26755 int res1 = 0 ;
26756 PyObject *swig_obj[1] ;
26757
26758 if (!args) SWIG_fail;
26759 swig_obj[0] = args;
26760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26761 if (!SWIG_IsOK(res1)) {
26762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26763 }
26764 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26765 {
26766 PyThreadState* __tstate = wxPyBeginAllowThreads();
26767 delete arg1;
26768
26769 wxPyEndAllowThreads(__tstate);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 }
26772 resultobj = SWIG_Py_Void();
26773 return resultobj;
26774 fail:
26775 return NULL;
26776 }
26777
26778
26779 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26780 PyObject *resultobj = 0;
26781 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26782 int result;
26783 void *argp1 = 0 ;
26784 int res1 = 0 ;
26785 PyObject *swig_obj[1] ;
26786
26787 if (!args) SWIG_fail;
26788 swig_obj[0] = args;
26789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26790 if (!SWIG_IsOK(res1)) {
26791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26792 }
26793 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 result = (int)(arg1)->ShowModal();
26797 wxPyEndAllowThreads(__tstate);
26798 if (PyErr_Occurred()) SWIG_fail;
26799 }
26800 resultobj = SWIG_From_int(static_cast< int >(result));
26801 return resultobj;
26802 fail:
26803 return NULL;
26804 }
26805
26806
26807 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26808 PyObject *resultobj = 0;
26809 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26810 wxPrintDialogData *result = 0 ;
26811 void *argp1 = 0 ;
26812 int res1 = 0 ;
26813 PyObject *swig_obj[1] ;
26814
26815 if (!args) SWIG_fail;
26816 swig_obj[0] = args;
26817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26818 if (!SWIG_IsOK(res1)) {
26819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26820 }
26821 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26822 {
26823 PyThreadState* __tstate = wxPyBeginAllowThreads();
26824 {
26825 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26826 result = (wxPrintDialogData *) &_result_ref;
26827 }
26828 wxPyEndAllowThreads(__tstate);
26829 if (PyErr_Occurred()) SWIG_fail;
26830 }
26831 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26832 return resultobj;
26833 fail:
26834 return NULL;
26835 }
26836
26837
26838 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26839 PyObject *resultobj = 0;
26840 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26841 wxPrintData *result = 0 ;
26842 void *argp1 = 0 ;
26843 int res1 = 0 ;
26844 PyObject *swig_obj[1] ;
26845
26846 if (!args) SWIG_fail;
26847 swig_obj[0] = args;
26848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26849 if (!SWIG_IsOK(res1)) {
26850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26851 }
26852 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26853 {
26854 PyThreadState* __tstate = wxPyBeginAllowThreads();
26855 {
26856 wxPrintData &_result_ref = (arg1)->GetPrintData();
26857 result = (wxPrintData *) &_result_ref;
26858 }
26859 wxPyEndAllowThreads(__tstate);
26860 if (PyErr_Occurred()) SWIG_fail;
26861 }
26862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26863 return resultobj;
26864 fail:
26865 return NULL;
26866 }
26867
26868
26869 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26870 PyObject *resultobj = 0;
26871 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26872 wxDC *result = 0 ;
26873 void *argp1 = 0 ;
26874 int res1 = 0 ;
26875 PyObject *swig_obj[1] ;
26876
26877 if (!args) SWIG_fail;
26878 swig_obj[0] = args;
26879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26880 if (!SWIG_IsOK(res1)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26882 }
26883 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 result = (wxDC *)(arg1)->GetPrintDC();
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 {
26891 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26892 }
26893 return resultobj;
26894 fail:
26895 return NULL;
26896 }
26897
26898
26899 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26900 PyObject *obj;
26901 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26902 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26903 return SWIG_Py_Void();
26904 }
26905
26906 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26907 return SWIG_Python_InitShadowInstance(args);
26908 }
26909
26910 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26911 PyObject *resultobj = 0;
26912 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26913 wxPrinter *result = 0 ;
26914 void *argp1 = 0 ;
26915 int res1 = 0 ;
26916 PyObject * obj0 = 0 ;
26917 char * kwnames[] = {
26918 (char *) "data", NULL
26919 };
26920
26921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26922 if (obj0) {
26923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26924 if (!SWIG_IsOK(res1)) {
26925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26926 }
26927 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26928 }
26929 {
26930 if (!wxPyCheckForApp()) SWIG_fail;
26931 PyThreadState* __tstate = wxPyBeginAllowThreads();
26932 result = (wxPrinter *)new wxPrinter(arg1);
26933 wxPyEndAllowThreads(__tstate);
26934 if (PyErr_Occurred()) SWIG_fail;
26935 }
26936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26937 return resultobj;
26938 fail:
26939 return NULL;
26940 }
26941
26942
26943 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26944 PyObject *resultobj = 0;
26945 wxPrinter *arg1 = (wxPrinter *) 0 ;
26946 void *argp1 = 0 ;
26947 int res1 = 0 ;
26948 PyObject *swig_obj[1] ;
26949
26950 if (!args) SWIG_fail;
26951 swig_obj[0] = args;
26952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26953 if (!SWIG_IsOK(res1)) {
26954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26955 }
26956 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26957 {
26958 PyThreadState* __tstate = wxPyBeginAllowThreads();
26959 delete arg1;
26960
26961 wxPyEndAllowThreads(__tstate);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 resultobj = SWIG_Py_Void();
26965 return resultobj;
26966 fail:
26967 return NULL;
26968 }
26969
26970
26971 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26972 PyObject *resultobj = 0;
26973 wxPrinter *arg1 = (wxPrinter *) 0 ;
26974 wxWindow *arg2 = (wxWindow *) 0 ;
26975 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26976 wxWindow *result = 0 ;
26977 void *argp1 = 0 ;
26978 int res1 = 0 ;
26979 void *argp2 = 0 ;
26980 int res2 = 0 ;
26981 void *argp3 = 0 ;
26982 int res3 = 0 ;
26983 PyObject * obj0 = 0 ;
26984 PyObject * obj1 = 0 ;
26985 PyObject * obj2 = 0 ;
26986 char * kwnames[] = {
26987 (char *) "self",(char *) "parent",(char *) "printout", NULL
26988 };
26989
26990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26992 if (!SWIG_IsOK(res1)) {
26993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26994 }
26995 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26996 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26997 if (!SWIG_IsOK(res2)) {
26998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26999 }
27000 arg2 = reinterpret_cast< wxWindow * >(argp2);
27001 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27002 if (!SWIG_IsOK(res3)) {
27003 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27004 }
27005 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27006 {
27007 PyThreadState* __tstate = wxPyBeginAllowThreads();
27008 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27009 wxPyEndAllowThreads(__tstate);
27010 if (PyErr_Occurred()) SWIG_fail;
27011 }
27012 {
27013 resultobj = wxPyMake_wxObject(result, 0);
27014 }
27015 return resultobj;
27016 fail:
27017 return NULL;
27018 }
27019
27020
27021 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27022 PyObject *resultobj = 0;
27023 wxPrinter *arg1 = (wxPrinter *) 0 ;
27024 wxWindow *arg2 = (wxWindow *) 0 ;
27025 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27026 wxString *arg4 = 0 ;
27027 void *argp1 = 0 ;
27028 int res1 = 0 ;
27029 void *argp2 = 0 ;
27030 int res2 = 0 ;
27031 void *argp3 = 0 ;
27032 int res3 = 0 ;
27033 bool temp4 = false ;
27034 PyObject * obj0 = 0 ;
27035 PyObject * obj1 = 0 ;
27036 PyObject * obj2 = 0 ;
27037 PyObject * obj3 = 0 ;
27038 char * kwnames[] = {
27039 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27040 };
27041
27042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27044 if (!SWIG_IsOK(res1)) {
27045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27046 }
27047 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27048 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27049 if (!SWIG_IsOK(res2)) {
27050 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27051 }
27052 arg2 = reinterpret_cast< wxWindow * >(argp2);
27053 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27054 if (!SWIG_IsOK(res3)) {
27055 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27056 }
27057 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27058 {
27059 arg4 = wxString_in_helper(obj3);
27060 if (arg4 == NULL) SWIG_fail;
27061 temp4 = true;
27062 }
27063 {
27064 PyThreadState* __tstate = wxPyBeginAllowThreads();
27065 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27066 wxPyEndAllowThreads(__tstate);
27067 if (PyErr_Occurred()) SWIG_fail;
27068 }
27069 resultobj = SWIG_Py_Void();
27070 {
27071 if (temp4)
27072 delete arg4;
27073 }
27074 return resultobj;
27075 fail:
27076 {
27077 if (temp4)
27078 delete arg4;
27079 }
27080 return NULL;
27081 }
27082
27083
27084 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27085 PyObject *resultobj = 0;
27086 wxPrinter *arg1 = (wxPrinter *) 0 ;
27087 wxWindow *arg2 = (wxWindow *) 0 ;
27088 bool result;
27089 void *argp1 = 0 ;
27090 int res1 = 0 ;
27091 void *argp2 = 0 ;
27092 int res2 = 0 ;
27093 PyObject * obj0 = 0 ;
27094 PyObject * obj1 = 0 ;
27095 char * kwnames[] = {
27096 (char *) "self",(char *) "parent", NULL
27097 };
27098
27099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27101 if (!SWIG_IsOK(res1)) {
27102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27103 }
27104 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27105 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27106 if (!SWIG_IsOK(res2)) {
27107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27108 }
27109 arg2 = reinterpret_cast< wxWindow * >(argp2);
27110 {
27111 PyThreadState* __tstate = wxPyBeginAllowThreads();
27112 result = (bool)(arg1)->Setup(arg2);
27113 wxPyEndAllowThreads(__tstate);
27114 if (PyErr_Occurred()) SWIG_fail;
27115 }
27116 {
27117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27118 }
27119 return resultobj;
27120 fail:
27121 return NULL;
27122 }
27123
27124
27125 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27126 PyObject *resultobj = 0;
27127 wxPrinter *arg1 = (wxPrinter *) 0 ;
27128 wxWindow *arg2 = (wxWindow *) 0 ;
27129 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27130 bool arg4 = (bool) true ;
27131 bool result;
27132 void *argp1 = 0 ;
27133 int res1 = 0 ;
27134 void *argp2 = 0 ;
27135 int res2 = 0 ;
27136 void *argp3 = 0 ;
27137 int res3 = 0 ;
27138 bool val4 ;
27139 int ecode4 = 0 ;
27140 PyObject * obj0 = 0 ;
27141 PyObject * obj1 = 0 ;
27142 PyObject * obj2 = 0 ;
27143 PyObject * obj3 = 0 ;
27144 char * kwnames[] = {
27145 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27146 };
27147
27148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27150 if (!SWIG_IsOK(res1)) {
27151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27152 }
27153 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27154 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27155 if (!SWIG_IsOK(res2)) {
27156 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27157 }
27158 arg2 = reinterpret_cast< wxWindow * >(argp2);
27159 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27160 if (!SWIG_IsOK(res3)) {
27161 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27162 }
27163 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27164 if (obj3) {
27165 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27166 if (!SWIG_IsOK(ecode4)) {
27167 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27168 }
27169 arg4 = static_cast< bool >(val4);
27170 }
27171 {
27172 PyThreadState* __tstate = wxPyBeginAllowThreads();
27173 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27174 wxPyEndAllowThreads(__tstate);
27175 if (PyErr_Occurred()) SWIG_fail;
27176 }
27177 {
27178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27179 }
27180 return resultobj;
27181 fail:
27182 return NULL;
27183 }
27184
27185
27186 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27187 PyObject *resultobj = 0;
27188 wxPrinter *arg1 = (wxPrinter *) 0 ;
27189 wxWindow *arg2 = (wxWindow *) 0 ;
27190 wxDC *result = 0 ;
27191 void *argp1 = 0 ;
27192 int res1 = 0 ;
27193 void *argp2 = 0 ;
27194 int res2 = 0 ;
27195 PyObject * obj0 = 0 ;
27196 PyObject * obj1 = 0 ;
27197 char * kwnames[] = {
27198 (char *) "self",(char *) "parent", NULL
27199 };
27200
27201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27203 if (!SWIG_IsOK(res1)) {
27204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27205 }
27206 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27207 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27208 if (!SWIG_IsOK(res2)) {
27209 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27210 }
27211 arg2 = reinterpret_cast< wxWindow * >(argp2);
27212 {
27213 PyThreadState* __tstate = wxPyBeginAllowThreads();
27214 result = (wxDC *)(arg1)->PrintDialog(arg2);
27215 wxPyEndAllowThreads(__tstate);
27216 if (PyErr_Occurred()) SWIG_fail;
27217 }
27218 {
27219 resultobj = wxPyMake_wxObject(result, (bool)0);
27220 }
27221 return resultobj;
27222 fail:
27223 return NULL;
27224 }
27225
27226
27227 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27228 PyObject *resultobj = 0;
27229 wxPrinter *arg1 = (wxPrinter *) 0 ;
27230 wxPrintDialogData *result = 0 ;
27231 void *argp1 = 0 ;
27232 int res1 = 0 ;
27233 PyObject *swig_obj[1] ;
27234
27235 if (!args) SWIG_fail;
27236 swig_obj[0] = args;
27237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27238 if (!SWIG_IsOK(res1)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27240 }
27241 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27242 {
27243 PyThreadState* __tstate = wxPyBeginAllowThreads();
27244 {
27245 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27246 result = (wxPrintDialogData *) &_result_ref;
27247 }
27248 wxPyEndAllowThreads(__tstate);
27249 if (PyErr_Occurred()) SWIG_fail;
27250 }
27251 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27252 return resultobj;
27253 fail:
27254 return NULL;
27255 }
27256
27257
27258 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27259 PyObject *resultobj = 0;
27260 wxPrinter *arg1 = (wxPrinter *) 0 ;
27261 bool result;
27262 void *argp1 = 0 ;
27263 int res1 = 0 ;
27264 PyObject *swig_obj[1] ;
27265
27266 if (!args) SWIG_fail;
27267 swig_obj[0] = args;
27268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27269 if (!SWIG_IsOK(res1)) {
27270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27271 }
27272 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27273 {
27274 PyThreadState* __tstate = wxPyBeginAllowThreads();
27275 result = (bool)(arg1)->GetAbort();
27276 wxPyEndAllowThreads(__tstate);
27277 if (PyErr_Occurred()) SWIG_fail;
27278 }
27279 {
27280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27281 }
27282 return resultobj;
27283 fail:
27284 return NULL;
27285 }
27286
27287
27288 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27289 PyObject *resultobj = 0;
27290 wxPrinterError result;
27291
27292 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27293 {
27294 PyThreadState* __tstate = wxPyBeginAllowThreads();
27295 result = (wxPrinterError)wxPrinter::GetLastError();
27296 wxPyEndAllowThreads(__tstate);
27297 if (PyErr_Occurred()) SWIG_fail;
27298 }
27299 resultobj = SWIG_From_int(static_cast< int >(result));
27300 return resultobj;
27301 fail:
27302 return NULL;
27303 }
27304
27305
27306 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27307 PyObject *obj;
27308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27310 return SWIG_Py_Void();
27311 }
27312
27313 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27314 return SWIG_Python_InitShadowInstance(args);
27315 }
27316
27317 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27318 PyObject *resultobj = 0;
27319 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27320 wxString *arg1 = (wxString *) &arg1_defvalue ;
27321 wxPyPrintout *result = 0 ;
27322 bool temp1 = false ;
27323 PyObject * obj0 = 0 ;
27324 char * kwnames[] = {
27325 (char *) "title", NULL
27326 };
27327
27328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27329 if (obj0) {
27330 {
27331 arg1 = wxString_in_helper(obj0);
27332 if (arg1 == NULL) SWIG_fail;
27333 temp1 = true;
27334 }
27335 }
27336 {
27337 if (!wxPyCheckForApp()) SWIG_fail;
27338 PyThreadState* __tstate = wxPyBeginAllowThreads();
27339 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27340 wxPyEndAllowThreads(__tstate);
27341 if (PyErr_Occurred()) SWIG_fail;
27342 }
27343 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27344 {
27345 if (temp1)
27346 delete arg1;
27347 }
27348 return resultobj;
27349 fail:
27350 {
27351 if (temp1)
27352 delete arg1;
27353 }
27354 return NULL;
27355 }
27356
27357
27358 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27359 PyObject *resultobj = 0;
27360 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27361 void *argp1 = 0 ;
27362 int res1 = 0 ;
27363 PyObject *swig_obj[1] ;
27364
27365 if (!args) SWIG_fail;
27366 swig_obj[0] = args;
27367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27368 if (!SWIG_IsOK(res1)) {
27369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27370 }
27371 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27372 {
27373 PyThreadState* __tstate = wxPyBeginAllowThreads();
27374 delete arg1;
27375
27376 wxPyEndAllowThreads(__tstate);
27377 if (PyErr_Occurred()) SWIG_fail;
27378 }
27379 resultobj = SWIG_Py_Void();
27380 return resultobj;
27381 fail:
27382 return NULL;
27383 }
27384
27385
27386 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27387 PyObject *resultobj = 0;
27388 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27389 PyObject *arg2 = (PyObject *) 0 ;
27390 PyObject *arg3 = (PyObject *) 0 ;
27391 void *argp1 = 0 ;
27392 int res1 = 0 ;
27393 PyObject * obj0 = 0 ;
27394 PyObject * obj1 = 0 ;
27395 PyObject * obj2 = 0 ;
27396 char * kwnames[] = {
27397 (char *) "self",(char *) "self",(char *) "_class", NULL
27398 };
27399
27400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27402 if (!SWIG_IsOK(res1)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27404 }
27405 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27406 arg2 = obj1;
27407 arg3 = obj2;
27408 {
27409 PyThreadState* __tstate = wxPyBeginAllowThreads();
27410 (arg1)->_setCallbackInfo(arg2,arg3);
27411 wxPyEndAllowThreads(__tstate);
27412 if (PyErr_Occurred()) SWIG_fail;
27413 }
27414 resultobj = SWIG_Py_Void();
27415 return resultobj;
27416 fail:
27417 return NULL;
27418 }
27419
27420
27421 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27422 PyObject *resultobj = 0;
27423 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27424 wxString result;
27425 void *argp1 = 0 ;
27426 int res1 = 0 ;
27427 PyObject *swig_obj[1] ;
27428
27429 if (!args) SWIG_fail;
27430 swig_obj[0] = args;
27431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27432 if (!SWIG_IsOK(res1)) {
27433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27434 }
27435 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27436 {
27437 PyThreadState* __tstate = wxPyBeginAllowThreads();
27438 result = ((wxPyPrintout const *)arg1)->GetTitle();
27439 wxPyEndAllowThreads(__tstate);
27440 if (PyErr_Occurred()) SWIG_fail;
27441 }
27442 {
27443 #if wxUSE_UNICODE
27444 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27445 #else
27446 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27447 #endif
27448 }
27449 return resultobj;
27450 fail:
27451 return NULL;
27452 }
27453
27454
27455 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27456 PyObject *resultobj = 0;
27457 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27458 wxDC *result = 0 ;
27459 void *argp1 = 0 ;
27460 int res1 = 0 ;
27461 PyObject *swig_obj[1] ;
27462
27463 if (!args) SWIG_fail;
27464 swig_obj[0] = args;
27465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27466 if (!SWIG_IsOK(res1)) {
27467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27468 }
27469 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27470 {
27471 PyThreadState* __tstate = wxPyBeginAllowThreads();
27472 result = (wxDC *)(arg1)->GetDC();
27473 wxPyEndAllowThreads(__tstate);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 }
27476 {
27477 resultobj = wxPyMake_wxObject(result, (bool)0);
27478 }
27479 return resultobj;
27480 fail:
27481 return NULL;
27482 }
27483
27484
27485 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27486 PyObject *resultobj = 0;
27487 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27488 wxDC *arg2 = (wxDC *) 0 ;
27489 void *argp1 = 0 ;
27490 int res1 = 0 ;
27491 void *argp2 = 0 ;
27492 int res2 = 0 ;
27493 PyObject * obj0 = 0 ;
27494 PyObject * obj1 = 0 ;
27495 char * kwnames[] = {
27496 (char *) "self",(char *) "dc", NULL
27497 };
27498
27499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27501 if (!SWIG_IsOK(res1)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27503 }
27504 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27505 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27506 if (!SWIG_IsOK(res2)) {
27507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27508 }
27509 arg2 = reinterpret_cast< wxDC * >(argp2);
27510 {
27511 PyThreadState* __tstate = wxPyBeginAllowThreads();
27512 (arg1)->SetDC(arg2);
27513 wxPyEndAllowThreads(__tstate);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 resultobj = SWIG_Py_Void();
27517 return resultobj;
27518 fail:
27519 return NULL;
27520 }
27521
27522
27523 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27524 PyObject *resultobj = 0;
27525 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27526 int arg2 ;
27527 int arg3 ;
27528 void *argp1 = 0 ;
27529 int res1 = 0 ;
27530 int val2 ;
27531 int ecode2 = 0 ;
27532 int val3 ;
27533 int ecode3 = 0 ;
27534 PyObject * obj0 = 0 ;
27535 PyObject * obj1 = 0 ;
27536 PyObject * obj2 = 0 ;
27537 char * kwnames[] = {
27538 (char *) "self",(char *) "w",(char *) "h", NULL
27539 };
27540
27541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27543 if (!SWIG_IsOK(res1)) {
27544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27545 }
27546 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27547 ecode2 = SWIG_AsVal_int(obj1, &val2);
27548 if (!SWIG_IsOK(ecode2)) {
27549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27550 }
27551 arg2 = static_cast< int >(val2);
27552 ecode3 = SWIG_AsVal_int(obj2, &val3);
27553 if (!SWIG_IsOK(ecode3)) {
27554 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27555 }
27556 arg3 = static_cast< int >(val3);
27557 {
27558 PyThreadState* __tstate = wxPyBeginAllowThreads();
27559 (arg1)->SetPageSizePixels(arg2,arg3);
27560 wxPyEndAllowThreads(__tstate);
27561 if (PyErr_Occurred()) SWIG_fail;
27562 }
27563 resultobj = SWIG_Py_Void();
27564 return resultobj;
27565 fail:
27566 return NULL;
27567 }
27568
27569
27570 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27571 PyObject *resultobj = 0;
27572 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27573 int *arg2 = (int *) 0 ;
27574 int *arg3 = (int *) 0 ;
27575 void *argp1 = 0 ;
27576 int res1 = 0 ;
27577 int temp2 ;
27578 int res2 = SWIG_TMPOBJ ;
27579 int temp3 ;
27580 int res3 = SWIG_TMPOBJ ;
27581 PyObject *swig_obj[1] ;
27582
27583 arg2 = &temp2;
27584 arg3 = &temp3;
27585 if (!args) SWIG_fail;
27586 swig_obj[0] = args;
27587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27588 if (!SWIG_IsOK(res1)) {
27589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27590 }
27591 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27592 {
27593 PyThreadState* __tstate = wxPyBeginAllowThreads();
27594 (arg1)->GetPageSizePixels(arg2,arg3);
27595 wxPyEndAllowThreads(__tstate);
27596 if (PyErr_Occurred()) SWIG_fail;
27597 }
27598 resultobj = SWIG_Py_Void();
27599 if (SWIG_IsTmpObj(res2)) {
27600 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27601 } else {
27602 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27603 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27604 }
27605 if (SWIG_IsTmpObj(res3)) {
27606 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27607 } else {
27608 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27609 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27610 }
27611 return resultobj;
27612 fail:
27613 return NULL;
27614 }
27615
27616
27617 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27618 PyObject *resultobj = 0;
27619 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27620 int arg2 ;
27621 int arg3 ;
27622 void *argp1 = 0 ;
27623 int res1 = 0 ;
27624 int val2 ;
27625 int ecode2 = 0 ;
27626 int val3 ;
27627 int ecode3 = 0 ;
27628 PyObject * obj0 = 0 ;
27629 PyObject * obj1 = 0 ;
27630 PyObject * obj2 = 0 ;
27631 char * kwnames[] = {
27632 (char *) "self",(char *) "w",(char *) "h", NULL
27633 };
27634
27635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27637 if (!SWIG_IsOK(res1)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27639 }
27640 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27641 ecode2 = SWIG_AsVal_int(obj1, &val2);
27642 if (!SWIG_IsOK(ecode2)) {
27643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27644 }
27645 arg2 = static_cast< int >(val2);
27646 ecode3 = SWIG_AsVal_int(obj2, &val3);
27647 if (!SWIG_IsOK(ecode3)) {
27648 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27649 }
27650 arg3 = static_cast< int >(val3);
27651 {
27652 PyThreadState* __tstate = wxPyBeginAllowThreads();
27653 (arg1)->SetPageSizeMM(arg2,arg3);
27654 wxPyEndAllowThreads(__tstate);
27655 if (PyErr_Occurred()) SWIG_fail;
27656 }
27657 resultobj = SWIG_Py_Void();
27658 return resultobj;
27659 fail:
27660 return NULL;
27661 }
27662
27663
27664 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27665 PyObject *resultobj = 0;
27666 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27667 int *arg2 = (int *) 0 ;
27668 int *arg3 = (int *) 0 ;
27669 void *argp1 = 0 ;
27670 int res1 = 0 ;
27671 int temp2 ;
27672 int res2 = SWIG_TMPOBJ ;
27673 int temp3 ;
27674 int res3 = SWIG_TMPOBJ ;
27675 PyObject *swig_obj[1] ;
27676
27677 arg2 = &temp2;
27678 arg3 = &temp3;
27679 if (!args) SWIG_fail;
27680 swig_obj[0] = args;
27681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27682 if (!SWIG_IsOK(res1)) {
27683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27684 }
27685 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27686 {
27687 PyThreadState* __tstate = wxPyBeginAllowThreads();
27688 (arg1)->GetPageSizeMM(arg2,arg3);
27689 wxPyEndAllowThreads(__tstate);
27690 if (PyErr_Occurred()) SWIG_fail;
27691 }
27692 resultobj = SWIG_Py_Void();
27693 if (SWIG_IsTmpObj(res2)) {
27694 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27695 } else {
27696 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27697 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27698 }
27699 if (SWIG_IsTmpObj(res3)) {
27700 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27701 } else {
27702 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27703 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27704 }
27705 return resultobj;
27706 fail:
27707 return NULL;
27708 }
27709
27710
27711 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27712 PyObject *resultobj = 0;
27713 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27714 int arg2 ;
27715 int arg3 ;
27716 void *argp1 = 0 ;
27717 int res1 = 0 ;
27718 int val2 ;
27719 int ecode2 = 0 ;
27720 int val3 ;
27721 int ecode3 = 0 ;
27722 PyObject * obj0 = 0 ;
27723 PyObject * obj1 = 0 ;
27724 PyObject * obj2 = 0 ;
27725 char * kwnames[] = {
27726 (char *) "self",(char *) "x",(char *) "y", NULL
27727 };
27728
27729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27731 if (!SWIG_IsOK(res1)) {
27732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27733 }
27734 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27735 ecode2 = SWIG_AsVal_int(obj1, &val2);
27736 if (!SWIG_IsOK(ecode2)) {
27737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27738 }
27739 arg2 = static_cast< int >(val2);
27740 ecode3 = SWIG_AsVal_int(obj2, &val3);
27741 if (!SWIG_IsOK(ecode3)) {
27742 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27743 }
27744 arg3 = static_cast< int >(val3);
27745 {
27746 PyThreadState* __tstate = wxPyBeginAllowThreads();
27747 (arg1)->SetPPIScreen(arg2,arg3);
27748 wxPyEndAllowThreads(__tstate);
27749 if (PyErr_Occurred()) SWIG_fail;
27750 }
27751 resultobj = SWIG_Py_Void();
27752 return resultobj;
27753 fail:
27754 return NULL;
27755 }
27756
27757
27758 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27759 PyObject *resultobj = 0;
27760 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27761 int *arg2 = (int *) 0 ;
27762 int *arg3 = (int *) 0 ;
27763 void *argp1 = 0 ;
27764 int res1 = 0 ;
27765 int temp2 ;
27766 int res2 = SWIG_TMPOBJ ;
27767 int temp3 ;
27768 int res3 = SWIG_TMPOBJ ;
27769 PyObject *swig_obj[1] ;
27770
27771 arg2 = &temp2;
27772 arg3 = &temp3;
27773 if (!args) SWIG_fail;
27774 swig_obj[0] = args;
27775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27776 if (!SWIG_IsOK(res1)) {
27777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27778 }
27779 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27780 {
27781 PyThreadState* __tstate = wxPyBeginAllowThreads();
27782 (arg1)->GetPPIScreen(arg2,arg3);
27783 wxPyEndAllowThreads(__tstate);
27784 if (PyErr_Occurred()) SWIG_fail;
27785 }
27786 resultobj = SWIG_Py_Void();
27787 if (SWIG_IsTmpObj(res2)) {
27788 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27789 } else {
27790 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27791 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27792 }
27793 if (SWIG_IsTmpObj(res3)) {
27794 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27795 } else {
27796 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27797 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27798 }
27799 return resultobj;
27800 fail:
27801 return NULL;
27802 }
27803
27804
27805 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27806 PyObject *resultobj = 0;
27807 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27808 int arg2 ;
27809 int arg3 ;
27810 void *argp1 = 0 ;
27811 int res1 = 0 ;
27812 int val2 ;
27813 int ecode2 = 0 ;
27814 int val3 ;
27815 int ecode3 = 0 ;
27816 PyObject * obj0 = 0 ;
27817 PyObject * obj1 = 0 ;
27818 PyObject * obj2 = 0 ;
27819 char * kwnames[] = {
27820 (char *) "self",(char *) "x",(char *) "y", NULL
27821 };
27822
27823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27825 if (!SWIG_IsOK(res1)) {
27826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27827 }
27828 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27829 ecode2 = SWIG_AsVal_int(obj1, &val2);
27830 if (!SWIG_IsOK(ecode2)) {
27831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27832 }
27833 arg2 = static_cast< int >(val2);
27834 ecode3 = SWIG_AsVal_int(obj2, &val3);
27835 if (!SWIG_IsOK(ecode3)) {
27836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27837 }
27838 arg3 = static_cast< int >(val3);
27839 {
27840 PyThreadState* __tstate = wxPyBeginAllowThreads();
27841 (arg1)->SetPPIPrinter(arg2,arg3);
27842 wxPyEndAllowThreads(__tstate);
27843 if (PyErr_Occurred()) SWIG_fail;
27844 }
27845 resultobj = SWIG_Py_Void();
27846 return resultobj;
27847 fail:
27848 return NULL;
27849 }
27850
27851
27852 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27853 PyObject *resultobj = 0;
27854 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27855 int *arg2 = (int *) 0 ;
27856 int *arg3 = (int *) 0 ;
27857 void *argp1 = 0 ;
27858 int res1 = 0 ;
27859 int temp2 ;
27860 int res2 = SWIG_TMPOBJ ;
27861 int temp3 ;
27862 int res3 = SWIG_TMPOBJ ;
27863 PyObject *swig_obj[1] ;
27864
27865 arg2 = &temp2;
27866 arg3 = &temp3;
27867 if (!args) SWIG_fail;
27868 swig_obj[0] = args;
27869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27870 if (!SWIG_IsOK(res1)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27872 }
27873 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27874 {
27875 PyThreadState* __tstate = wxPyBeginAllowThreads();
27876 (arg1)->GetPPIPrinter(arg2,arg3);
27877 wxPyEndAllowThreads(__tstate);
27878 if (PyErr_Occurred()) SWIG_fail;
27879 }
27880 resultobj = SWIG_Py_Void();
27881 if (SWIG_IsTmpObj(res2)) {
27882 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27883 } else {
27884 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27885 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27886 }
27887 if (SWIG_IsTmpObj(res3)) {
27888 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27889 } else {
27890 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27891 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27892 }
27893 return resultobj;
27894 fail:
27895 return NULL;
27896 }
27897
27898
27899 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27900 PyObject *resultobj = 0;
27901 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27902 bool result;
27903 void *argp1 = 0 ;
27904 int res1 = 0 ;
27905 PyObject *swig_obj[1] ;
27906
27907 if (!args) SWIG_fail;
27908 swig_obj[0] = args;
27909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27910 if (!SWIG_IsOK(res1)) {
27911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27912 }
27913 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27914 {
27915 PyThreadState* __tstate = wxPyBeginAllowThreads();
27916 result = (bool)(arg1)->IsPreview();
27917 wxPyEndAllowThreads(__tstate);
27918 if (PyErr_Occurred()) SWIG_fail;
27919 }
27920 {
27921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27922 }
27923 return resultobj;
27924 fail:
27925 return NULL;
27926 }
27927
27928
27929 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27930 PyObject *resultobj = 0;
27931 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27932 bool arg2 ;
27933 void *argp1 = 0 ;
27934 int res1 = 0 ;
27935 bool val2 ;
27936 int ecode2 = 0 ;
27937 PyObject * obj0 = 0 ;
27938 PyObject * obj1 = 0 ;
27939 char * kwnames[] = {
27940 (char *) "self",(char *) "p", NULL
27941 };
27942
27943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27945 if (!SWIG_IsOK(res1)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27947 }
27948 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27949 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27950 if (!SWIG_IsOK(ecode2)) {
27951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27952 }
27953 arg2 = static_cast< bool >(val2);
27954 {
27955 PyThreadState* __tstate = wxPyBeginAllowThreads();
27956 (arg1)->SetIsPreview(arg2);
27957 wxPyEndAllowThreads(__tstate);
27958 if (PyErr_Occurred()) SWIG_fail;
27959 }
27960 resultobj = SWIG_Py_Void();
27961 return resultobj;
27962 fail:
27963 return NULL;
27964 }
27965
27966
27967 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27968 PyObject *resultobj = 0;
27969 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27970 int arg2 ;
27971 int arg3 ;
27972 bool result;
27973 void *argp1 = 0 ;
27974 int res1 = 0 ;
27975 int val2 ;
27976 int ecode2 = 0 ;
27977 int val3 ;
27978 int ecode3 = 0 ;
27979 PyObject * obj0 = 0 ;
27980 PyObject * obj1 = 0 ;
27981 PyObject * obj2 = 0 ;
27982 char * kwnames[] = {
27983 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27984 };
27985
27986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27988 if (!SWIG_IsOK(res1)) {
27989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27990 }
27991 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27992 ecode2 = SWIG_AsVal_int(obj1, &val2);
27993 if (!SWIG_IsOK(ecode2)) {
27994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27995 }
27996 arg2 = static_cast< int >(val2);
27997 ecode3 = SWIG_AsVal_int(obj2, &val3);
27998 if (!SWIG_IsOK(ecode3)) {
27999 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28000 }
28001 arg3 = static_cast< int >(val3);
28002 {
28003 PyThreadState* __tstate = wxPyBeginAllowThreads();
28004 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28005 wxPyEndAllowThreads(__tstate);
28006 if (PyErr_Occurred()) SWIG_fail;
28007 }
28008 {
28009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28010 }
28011 return resultobj;
28012 fail:
28013 return NULL;
28014 }
28015
28016
28017 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28018 PyObject *resultobj = 0;
28019 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28020 void *argp1 = 0 ;
28021 int res1 = 0 ;
28022 PyObject *swig_obj[1] ;
28023
28024 if (!args) SWIG_fail;
28025 swig_obj[0] = args;
28026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28027 if (!SWIG_IsOK(res1)) {
28028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28029 }
28030 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28031 {
28032 PyThreadState* __tstate = wxPyBeginAllowThreads();
28033 (arg1)->OnEndDocument();
28034 wxPyEndAllowThreads(__tstate);
28035 if (PyErr_Occurred()) SWIG_fail;
28036 }
28037 resultobj = SWIG_Py_Void();
28038 return resultobj;
28039 fail:
28040 return NULL;
28041 }
28042
28043
28044 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28045 PyObject *resultobj = 0;
28046 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28047 void *argp1 = 0 ;
28048 int res1 = 0 ;
28049 PyObject *swig_obj[1] ;
28050
28051 if (!args) SWIG_fail;
28052 swig_obj[0] = args;
28053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28054 if (!SWIG_IsOK(res1)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28056 }
28057 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28058 {
28059 PyThreadState* __tstate = wxPyBeginAllowThreads();
28060 (arg1)->OnBeginPrinting();
28061 wxPyEndAllowThreads(__tstate);
28062 if (PyErr_Occurred()) SWIG_fail;
28063 }
28064 resultobj = SWIG_Py_Void();
28065 return resultobj;
28066 fail:
28067 return NULL;
28068 }
28069
28070
28071 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28072 PyObject *resultobj = 0;
28073 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28074 void *argp1 = 0 ;
28075 int res1 = 0 ;
28076 PyObject *swig_obj[1] ;
28077
28078 if (!args) SWIG_fail;
28079 swig_obj[0] = args;
28080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28081 if (!SWIG_IsOK(res1)) {
28082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28083 }
28084 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28085 {
28086 PyThreadState* __tstate = wxPyBeginAllowThreads();
28087 (arg1)->OnEndPrinting();
28088 wxPyEndAllowThreads(__tstate);
28089 if (PyErr_Occurred()) SWIG_fail;
28090 }
28091 resultobj = SWIG_Py_Void();
28092 return resultobj;
28093 fail:
28094 return NULL;
28095 }
28096
28097
28098 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28099 PyObject *resultobj = 0;
28100 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28101 void *argp1 = 0 ;
28102 int res1 = 0 ;
28103 PyObject *swig_obj[1] ;
28104
28105 if (!args) SWIG_fail;
28106 swig_obj[0] = args;
28107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28108 if (!SWIG_IsOK(res1)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28110 }
28111 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28112 {
28113 PyThreadState* __tstate = wxPyBeginAllowThreads();
28114 (arg1)->OnPreparePrinting();
28115 wxPyEndAllowThreads(__tstate);
28116 if (PyErr_Occurred()) SWIG_fail;
28117 }
28118 resultobj = SWIG_Py_Void();
28119 return resultobj;
28120 fail:
28121 return NULL;
28122 }
28123
28124
28125 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28126 PyObject *resultobj = 0;
28127 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28128 int arg2 ;
28129 bool result;
28130 void *argp1 = 0 ;
28131 int res1 = 0 ;
28132 int val2 ;
28133 int ecode2 = 0 ;
28134 PyObject * obj0 = 0 ;
28135 PyObject * obj1 = 0 ;
28136 char * kwnames[] = {
28137 (char *) "self",(char *) "page", NULL
28138 };
28139
28140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28142 if (!SWIG_IsOK(res1)) {
28143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28144 }
28145 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28146 ecode2 = SWIG_AsVal_int(obj1, &val2);
28147 if (!SWIG_IsOK(ecode2)) {
28148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28149 }
28150 arg2 = static_cast< int >(val2);
28151 {
28152 PyThreadState* __tstate = wxPyBeginAllowThreads();
28153 result = (bool)(arg1)->HasPage(arg2);
28154 wxPyEndAllowThreads(__tstate);
28155 if (PyErr_Occurred()) SWIG_fail;
28156 }
28157 {
28158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28159 }
28160 return resultobj;
28161 fail:
28162 return NULL;
28163 }
28164
28165
28166 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28167 PyObject *resultobj = 0;
28168 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28169 int *arg2 = (int *) 0 ;
28170 int *arg3 = (int *) 0 ;
28171 int *arg4 = (int *) 0 ;
28172 int *arg5 = (int *) 0 ;
28173 void *argp1 = 0 ;
28174 int res1 = 0 ;
28175 int temp2 ;
28176 int res2 = SWIG_TMPOBJ ;
28177 int temp3 ;
28178 int res3 = SWIG_TMPOBJ ;
28179 int temp4 ;
28180 int res4 = SWIG_TMPOBJ ;
28181 int temp5 ;
28182 int res5 = SWIG_TMPOBJ ;
28183 PyObject *swig_obj[1] ;
28184
28185 arg2 = &temp2;
28186 arg3 = &temp3;
28187 arg4 = &temp4;
28188 arg5 = &temp5;
28189 if (!args) SWIG_fail;
28190 swig_obj[0] = args;
28191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28192 if (!SWIG_IsOK(res1)) {
28193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28194 }
28195 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28196 {
28197 PyThreadState* __tstate = wxPyBeginAllowThreads();
28198 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28199 wxPyEndAllowThreads(__tstate);
28200 if (PyErr_Occurred()) SWIG_fail;
28201 }
28202 resultobj = SWIG_Py_Void();
28203 if (SWIG_IsTmpObj(res2)) {
28204 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28205 } else {
28206 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28207 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28208 }
28209 if (SWIG_IsTmpObj(res3)) {
28210 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28211 } else {
28212 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28213 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28214 }
28215 if (SWIG_IsTmpObj(res4)) {
28216 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28217 } else {
28218 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28219 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28220 }
28221 if (SWIG_IsTmpObj(res5)) {
28222 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28223 } else {
28224 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28225 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28226 }
28227 return resultobj;
28228 fail:
28229 return NULL;
28230 }
28231
28232
28233 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28234 PyObject *obj;
28235 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28236 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28237 return SWIG_Py_Void();
28238 }
28239
28240 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28241 return SWIG_Python_InitShadowInstance(args);
28242 }
28243
28244 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28245 PyObject *resultobj = 0;
28246 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28247 wxWindow *arg2 = (wxWindow *) 0 ;
28248 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28249 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28250 wxSize const &arg4_defvalue = wxDefaultSize ;
28251 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28252 long arg5 = (long) 0 ;
28253 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28254 wxString *arg6 = (wxString *) &arg6_defvalue ;
28255 wxPreviewCanvas *result = 0 ;
28256 void *argp1 = 0 ;
28257 int res1 = 0 ;
28258 void *argp2 = 0 ;
28259 int res2 = 0 ;
28260 wxPoint temp3 ;
28261 wxSize temp4 ;
28262 long val5 ;
28263 int ecode5 = 0 ;
28264 bool temp6 = false ;
28265 PyObject * obj0 = 0 ;
28266 PyObject * obj1 = 0 ;
28267 PyObject * obj2 = 0 ;
28268 PyObject * obj3 = 0 ;
28269 PyObject * obj4 = 0 ;
28270 PyObject * obj5 = 0 ;
28271 char * kwnames[] = {
28272 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28273 };
28274
28275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28277 if (!SWIG_IsOK(res1)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28279 }
28280 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28281 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28282 if (!SWIG_IsOK(res2)) {
28283 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28284 }
28285 arg2 = reinterpret_cast< wxWindow * >(argp2);
28286 if (obj2) {
28287 {
28288 arg3 = &temp3;
28289 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28290 }
28291 }
28292 if (obj3) {
28293 {
28294 arg4 = &temp4;
28295 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28296 }
28297 }
28298 if (obj4) {
28299 ecode5 = SWIG_AsVal_long(obj4, &val5);
28300 if (!SWIG_IsOK(ecode5)) {
28301 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28302 }
28303 arg5 = static_cast< long >(val5);
28304 }
28305 if (obj5) {
28306 {
28307 arg6 = wxString_in_helper(obj5);
28308 if (arg6 == NULL) SWIG_fail;
28309 temp6 = true;
28310 }
28311 }
28312 {
28313 if (!wxPyCheckForApp()) SWIG_fail;
28314 PyThreadState* __tstate = wxPyBeginAllowThreads();
28315 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28316 wxPyEndAllowThreads(__tstate);
28317 if (PyErr_Occurred()) SWIG_fail;
28318 }
28319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28320 {
28321 if (temp6)
28322 delete arg6;
28323 }
28324 return resultobj;
28325 fail:
28326 {
28327 if (temp6)
28328 delete arg6;
28329 }
28330 return NULL;
28331 }
28332
28333
28334 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28335 PyObject *obj;
28336 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28337 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28338 return SWIG_Py_Void();
28339 }
28340
28341 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28342 return SWIG_Python_InitShadowInstance(args);
28343 }
28344
28345 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28346 PyObject *resultobj = 0;
28347 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28348 wxFrame *arg2 = (wxFrame *) 0 ;
28349 wxString *arg3 = 0 ;
28350 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28351 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28352 wxSize const &arg5_defvalue = wxDefaultSize ;
28353 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28354 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28355 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28356 wxString *arg7 = (wxString *) &arg7_defvalue ;
28357 wxPreviewFrame *result = 0 ;
28358 int res1 = 0 ;
28359 void *argp2 = 0 ;
28360 int res2 = 0 ;
28361 bool temp3 = false ;
28362 wxPoint temp4 ;
28363 wxSize temp5 ;
28364 long val6 ;
28365 int ecode6 = 0 ;
28366 bool temp7 = false ;
28367 PyObject * obj0 = 0 ;
28368 PyObject * obj1 = 0 ;
28369 PyObject * obj2 = 0 ;
28370 PyObject * obj3 = 0 ;
28371 PyObject * obj4 = 0 ;
28372 PyObject * obj5 = 0 ;
28373 PyObject * obj6 = 0 ;
28374 char * kwnames[] = {
28375 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28376 };
28377
28378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28379 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28380 if (!SWIG_IsOK(res1)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28382 }
28383 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28384 if (!SWIG_IsOK(res2)) {
28385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28386 }
28387 arg2 = reinterpret_cast< wxFrame * >(argp2);
28388 {
28389 arg3 = wxString_in_helper(obj2);
28390 if (arg3 == NULL) SWIG_fail;
28391 temp3 = true;
28392 }
28393 if (obj3) {
28394 {
28395 arg4 = &temp4;
28396 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28397 }
28398 }
28399 if (obj4) {
28400 {
28401 arg5 = &temp5;
28402 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28403 }
28404 }
28405 if (obj5) {
28406 ecode6 = SWIG_AsVal_long(obj5, &val6);
28407 if (!SWIG_IsOK(ecode6)) {
28408 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28409 }
28410 arg6 = static_cast< long >(val6);
28411 }
28412 if (obj6) {
28413 {
28414 arg7 = wxString_in_helper(obj6);
28415 if (arg7 == NULL) SWIG_fail;
28416 temp7 = true;
28417 }
28418 }
28419 {
28420 if (!wxPyCheckForApp()) SWIG_fail;
28421 PyThreadState* __tstate = wxPyBeginAllowThreads();
28422 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28423 wxPyEndAllowThreads(__tstate);
28424 if (PyErr_Occurred()) SWIG_fail;
28425 }
28426 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28427 {
28428 if (temp3)
28429 delete arg3;
28430 }
28431 {
28432 if (temp7)
28433 delete arg7;
28434 }
28435 return resultobj;
28436 fail:
28437 {
28438 if (temp3)
28439 delete arg3;
28440 }
28441 {
28442 if (temp7)
28443 delete arg7;
28444 }
28445 return NULL;
28446 }
28447
28448
28449 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28450 PyObject *resultobj = 0;
28451 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28452 void *argp1 = 0 ;
28453 int res1 = 0 ;
28454 PyObject *swig_obj[1] ;
28455
28456 if (!args) SWIG_fail;
28457 swig_obj[0] = args;
28458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28459 if (!SWIG_IsOK(res1)) {
28460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28461 }
28462 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28463 {
28464 PyThreadState* __tstate = wxPyBeginAllowThreads();
28465 (arg1)->Initialize();
28466 wxPyEndAllowThreads(__tstate);
28467 if (PyErr_Occurred()) SWIG_fail;
28468 }
28469 resultobj = SWIG_Py_Void();
28470 return resultobj;
28471 fail:
28472 return NULL;
28473 }
28474
28475
28476 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28477 PyObject *resultobj = 0;
28478 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28479 void *argp1 = 0 ;
28480 int res1 = 0 ;
28481 PyObject *swig_obj[1] ;
28482
28483 if (!args) SWIG_fail;
28484 swig_obj[0] = args;
28485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28486 if (!SWIG_IsOK(res1)) {
28487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28488 }
28489 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28490 {
28491 PyThreadState* __tstate = wxPyBeginAllowThreads();
28492 (arg1)->CreateControlBar();
28493 wxPyEndAllowThreads(__tstate);
28494 if (PyErr_Occurred()) SWIG_fail;
28495 }
28496 resultobj = SWIG_Py_Void();
28497 return resultobj;
28498 fail:
28499 return NULL;
28500 }
28501
28502
28503 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28504 PyObject *resultobj = 0;
28505 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28506 void *argp1 = 0 ;
28507 int res1 = 0 ;
28508 PyObject *swig_obj[1] ;
28509
28510 if (!args) SWIG_fail;
28511 swig_obj[0] = args;
28512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28513 if (!SWIG_IsOK(res1)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28515 }
28516 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28517 {
28518 PyThreadState* __tstate = wxPyBeginAllowThreads();
28519 (arg1)->CreateCanvas();
28520 wxPyEndAllowThreads(__tstate);
28521 if (PyErr_Occurred()) SWIG_fail;
28522 }
28523 resultobj = SWIG_Py_Void();
28524 return resultobj;
28525 fail:
28526 return NULL;
28527 }
28528
28529
28530 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28531 PyObject *resultobj = 0;
28532 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28533 wxPreviewControlBar *result = 0 ;
28534 void *argp1 = 0 ;
28535 int res1 = 0 ;
28536 PyObject *swig_obj[1] ;
28537
28538 if (!args) SWIG_fail;
28539 swig_obj[0] = args;
28540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28541 if (!SWIG_IsOK(res1)) {
28542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28543 }
28544 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28545 {
28546 PyThreadState* __tstate = wxPyBeginAllowThreads();
28547 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28548 wxPyEndAllowThreads(__tstate);
28549 if (PyErr_Occurred()) SWIG_fail;
28550 }
28551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28552 return resultobj;
28553 fail:
28554 return NULL;
28555 }
28556
28557
28558 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28559 PyObject *obj;
28560 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28561 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28562 return SWIG_Py_Void();
28563 }
28564
28565 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28566 return SWIG_Python_InitShadowInstance(args);
28567 }
28568
28569 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28570 PyObject *resultobj = 0;
28571 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28572 long arg2 ;
28573 wxWindow *arg3 = (wxWindow *) 0 ;
28574 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28575 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28576 wxSize const &arg5_defvalue = wxDefaultSize ;
28577 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28578 long arg6 = (long) wxTAB_TRAVERSAL ;
28579 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28580 wxString *arg7 = (wxString *) &arg7_defvalue ;
28581 wxPreviewControlBar *result = 0 ;
28582 void *argp1 = 0 ;
28583 int res1 = 0 ;
28584 long val2 ;
28585 int ecode2 = 0 ;
28586 void *argp3 = 0 ;
28587 int res3 = 0 ;
28588 wxPoint temp4 ;
28589 wxSize temp5 ;
28590 long val6 ;
28591 int ecode6 = 0 ;
28592 bool temp7 = false ;
28593 PyObject * obj0 = 0 ;
28594 PyObject * obj1 = 0 ;
28595 PyObject * obj2 = 0 ;
28596 PyObject * obj3 = 0 ;
28597 PyObject * obj4 = 0 ;
28598 PyObject * obj5 = 0 ;
28599 PyObject * obj6 = 0 ;
28600 char * kwnames[] = {
28601 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28602 };
28603
28604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28606 if (!SWIG_IsOK(res1)) {
28607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28608 }
28609 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28610 ecode2 = SWIG_AsVal_long(obj1, &val2);
28611 if (!SWIG_IsOK(ecode2)) {
28612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28613 }
28614 arg2 = static_cast< long >(val2);
28615 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28616 if (!SWIG_IsOK(res3)) {
28617 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28618 }
28619 arg3 = reinterpret_cast< wxWindow * >(argp3);
28620 if (obj3) {
28621 {
28622 arg4 = &temp4;
28623 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28624 }
28625 }
28626 if (obj4) {
28627 {
28628 arg5 = &temp5;
28629 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28630 }
28631 }
28632 if (obj5) {
28633 ecode6 = SWIG_AsVal_long(obj5, &val6);
28634 if (!SWIG_IsOK(ecode6)) {
28635 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28636 }
28637 arg6 = static_cast< long >(val6);
28638 }
28639 if (obj6) {
28640 {
28641 arg7 = wxString_in_helper(obj6);
28642 if (arg7 == NULL) SWIG_fail;
28643 temp7 = true;
28644 }
28645 }
28646 {
28647 if (!wxPyCheckForApp()) SWIG_fail;
28648 PyThreadState* __tstate = wxPyBeginAllowThreads();
28649 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28650 wxPyEndAllowThreads(__tstate);
28651 if (PyErr_Occurred()) SWIG_fail;
28652 }
28653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28654 {
28655 if (temp7)
28656 delete arg7;
28657 }
28658 return resultobj;
28659 fail:
28660 {
28661 if (temp7)
28662 delete arg7;
28663 }
28664 return NULL;
28665 }
28666
28667
28668 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28669 PyObject *resultobj = 0;
28670 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28671 int result;
28672 void *argp1 = 0 ;
28673 int res1 = 0 ;
28674 PyObject *swig_obj[1] ;
28675
28676 if (!args) SWIG_fail;
28677 swig_obj[0] = args;
28678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28679 if (!SWIG_IsOK(res1)) {
28680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28681 }
28682 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28683 {
28684 PyThreadState* __tstate = wxPyBeginAllowThreads();
28685 result = (int)(arg1)->GetZoomControl();
28686 wxPyEndAllowThreads(__tstate);
28687 if (PyErr_Occurred()) SWIG_fail;
28688 }
28689 resultobj = SWIG_From_int(static_cast< int >(result));
28690 return resultobj;
28691 fail:
28692 return NULL;
28693 }
28694
28695
28696 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28697 PyObject *resultobj = 0;
28698 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28699 int arg2 ;
28700 void *argp1 = 0 ;
28701 int res1 = 0 ;
28702 int val2 ;
28703 int ecode2 = 0 ;
28704 PyObject * obj0 = 0 ;
28705 PyObject * obj1 = 0 ;
28706 char * kwnames[] = {
28707 (char *) "self",(char *) "zoom", NULL
28708 };
28709
28710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28712 if (!SWIG_IsOK(res1)) {
28713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28714 }
28715 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28716 ecode2 = SWIG_AsVal_int(obj1, &val2);
28717 if (!SWIG_IsOK(ecode2)) {
28718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28719 }
28720 arg2 = static_cast< int >(val2);
28721 {
28722 PyThreadState* __tstate = wxPyBeginAllowThreads();
28723 (arg1)->SetZoomControl(arg2);
28724 wxPyEndAllowThreads(__tstate);
28725 if (PyErr_Occurred()) SWIG_fail;
28726 }
28727 resultobj = SWIG_Py_Void();
28728 return resultobj;
28729 fail:
28730 return NULL;
28731 }
28732
28733
28734 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28735 PyObject *resultobj = 0;
28736 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28737 wxPrintPreview *result = 0 ;
28738 void *argp1 = 0 ;
28739 int res1 = 0 ;
28740 PyObject *swig_obj[1] ;
28741
28742 if (!args) SWIG_fail;
28743 swig_obj[0] = args;
28744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28745 if (!SWIG_IsOK(res1)) {
28746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28747 }
28748 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28749 {
28750 PyThreadState* __tstate = wxPyBeginAllowThreads();
28751 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28752 wxPyEndAllowThreads(__tstate);
28753 if (PyErr_Occurred()) SWIG_fail;
28754 }
28755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28756 return resultobj;
28757 fail:
28758 return NULL;
28759 }
28760
28761
28762 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28763 PyObject *resultobj = 0;
28764 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28765 void *argp1 = 0 ;
28766 int res1 = 0 ;
28767 PyObject *swig_obj[1] ;
28768
28769 if (!args) SWIG_fail;
28770 swig_obj[0] = args;
28771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28772 if (!SWIG_IsOK(res1)) {
28773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28774 }
28775 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28776 {
28777 PyThreadState* __tstate = wxPyBeginAllowThreads();
28778 (arg1)->OnNext();
28779 wxPyEndAllowThreads(__tstate);
28780 if (PyErr_Occurred()) SWIG_fail;
28781 }
28782 resultobj = SWIG_Py_Void();
28783 return resultobj;
28784 fail:
28785 return NULL;
28786 }
28787
28788
28789 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28790 PyObject *resultobj = 0;
28791 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28792 void *argp1 = 0 ;
28793 int res1 = 0 ;
28794 PyObject *swig_obj[1] ;
28795
28796 if (!args) SWIG_fail;
28797 swig_obj[0] = args;
28798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28799 if (!SWIG_IsOK(res1)) {
28800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28801 }
28802 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28803 {
28804 PyThreadState* __tstate = wxPyBeginAllowThreads();
28805 (arg1)->OnPrevious();
28806 wxPyEndAllowThreads(__tstate);
28807 if (PyErr_Occurred()) SWIG_fail;
28808 }
28809 resultobj = SWIG_Py_Void();
28810 return resultobj;
28811 fail:
28812 return NULL;
28813 }
28814
28815
28816 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28817 PyObject *resultobj = 0;
28818 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28819 void *argp1 = 0 ;
28820 int res1 = 0 ;
28821 PyObject *swig_obj[1] ;
28822
28823 if (!args) SWIG_fail;
28824 swig_obj[0] = args;
28825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28826 if (!SWIG_IsOK(res1)) {
28827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28828 }
28829 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28830 {
28831 PyThreadState* __tstate = wxPyBeginAllowThreads();
28832 (arg1)->OnFirst();
28833 wxPyEndAllowThreads(__tstate);
28834 if (PyErr_Occurred()) SWIG_fail;
28835 }
28836 resultobj = SWIG_Py_Void();
28837 return resultobj;
28838 fail:
28839 return NULL;
28840 }
28841
28842
28843 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28844 PyObject *resultobj = 0;
28845 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28846 void *argp1 = 0 ;
28847 int res1 = 0 ;
28848 PyObject *swig_obj[1] ;
28849
28850 if (!args) SWIG_fail;
28851 swig_obj[0] = args;
28852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28853 if (!SWIG_IsOK(res1)) {
28854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28855 }
28856 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28857 {
28858 PyThreadState* __tstate = wxPyBeginAllowThreads();
28859 (arg1)->OnLast();
28860 wxPyEndAllowThreads(__tstate);
28861 if (PyErr_Occurred()) SWIG_fail;
28862 }
28863 resultobj = SWIG_Py_Void();
28864 return resultobj;
28865 fail:
28866 return NULL;
28867 }
28868
28869
28870 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28871 PyObject *resultobj = 0;
28872 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28873 void *argp1 = 0 ;
28874 int res1 = 0 ;
28875 PyObject *swig_obj[1] ;
28876
28877 if (!args) SWIG_fail;
28878 swig_obj[0] = args;
28879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28880 if (!SWIG_IsOK(res1)) {
28881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28882 }
28883 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28884 {
28885 PyThreadState* __tstate = wxPyBeginAllowThreads();
28886 (arg1)->OnGoto();
28887 wxPyEndAllowThreads(__tstate);
28888 if (PyErr_Occurred()) SWIG_fail;
28889 }
28890 resultobj = SWIG_Py_Void();
28891 return resultobj;
28892 fail:
28893 return NULL;
28894 }
28895
28896
28897 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28898 PyObject *obj;
28899 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28900 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28901 return SWIG_Py_Void();
28902 }
28903
28904 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28905 return SWIG_Python_InitShadowInstance(args);
28906 }
28907
28908 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28909 PyObject *resultobj = 0;
28910 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28911 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28912 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28913 wxPrintPreview *result = 0 ;
28914 int res1 = 0 ;
28915 int res2 = 0 ;
28916 void *argp3 = 0 ;
28917 int res3 = 0 ;
28918
28919 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28920 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28921 if (!SWIG_IsOK(res1)) {
28922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28923 }
28924 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28925 if (!SWIG_IsOK(res2)) {
28926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28927 }
28928 if (swig_obj[2]) {
28929 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28930 if (!SWIG_IsOK(res3)) {
28931 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28932 }
28933 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28934 }
28935 {
28936 if (!wxPyCheckForApp()) SWIG_fail;
28937 PyThreadState* __tstate = wxPyBeginAllowThreads();
28938 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28939 wxPyEndAllowThreads(__tstate);
28940 if (PyErr_Occurred()) SWIG_fail;
28941 }
28942 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28943 return resultobj;
28944 fail:
28945 return NULL;
28946 }
28947
28948
28949 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28950 PyObject *resultobj = 0;
28951 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28952 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28953 wxPrintData *arg3 = (wxPrintData *) 0 ;
28954 wxPrintPreview *result = 0 ;
28955 int res1 = 0 ;
28956 int res2 = 0 ;
28957 void *argp3 = 0 ;
28958 int res3 = 0 ;
28959
28960 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28961 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28962 if (!SWIG_IsOK(res1)) {
28963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28964 }
28965 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28966 if (!SWIG_IsOK(res2)) {
28967 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28968 }
28969 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28970 if (!SWIG_IsOK(res3)) {
28971 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28972 }
28973 arg3 = reinterpret_cast< wxPrintData * >(argp3);
28974 {
28975 if (!wxPyCheckForApp()) SWIG_fail;
28976 PyThreadState* __tstate = wxPyBeginAllowThreads();
28977 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28978 wxPyEndAllowThreads(__tstate);
28979 if (PyErr_Occurred()) SWIG_fail;
28980 }
28981 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28982 return resultobj;
28983 fail:
28984 return NULL;
28985 }
28986
28987
28988 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
28989 int argc;
28990 PyObject *argv[4];
28991
28992 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
28993 --argc;
28994 if ((argc >= 2) && (argc <= 3)) {
28995 int _v = 0;
28996 if (argc > 2) {
28997 {
28998 void *vptr = 0;
28999 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29000 _v = SWIG_CheckState(res);
29001 }
29002 if (!_v) goto check_1;
29003 }
29004 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29005 }
29006 check_1:
29007
29008 if (argc == 3) {
29009 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29010 }
29011
29012 fail:
29013 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29014 return NULL;
29015 }
29016
29017
29018 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29019 PyObject *resultobj = 0;
29020 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29021 void *argp1 = 0 ;
29022 int res1 = 0 ;
29023 PyObject *swig_obj[1] ;
29024
29025 if (!args) SWIG_fail;
29026 swig_obj[0] = args;
29027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29028 if (!SWIG_IsOK(res1)) {
29029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29030 }
29031 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29032 {
29033 PyThreadState* __tstate = wxPyBeginAllowThreads();
29034 delete arg1;
29035
29036 wxPyEndAllowThreads(__tstate);
29037 if (PyErr_Occurred()) SWIG_fail;
29038 }
29039 resultobj = SWIG_Py_Void();
29040 return resultobj;
29041 fail:
29042 return NULL;
29043 }
29044
29045
29046 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29047 PyObject *resultobj = 0;
29048 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29049 int arg2 ;
29050 bool result;
29051 void *argp1 = 0 ;
29052 int res1 = 0 ;
29053 int val2 ;
29054 int ecode2 = 0 ;
29055 PyObject * obj0 = 0 ;
29056 PyObject * obj1 = 0 ;
29057 char * kwnames[] = {
29058 (char *) "self",(char *) "pageNum", NULL
29059 };
29060
29061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29063 if (!SWIG_IsOK(res1)) {
29064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29065 }
29066 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29067 ecode2 = SWIG_AsVal_int(obj1, &val2);
29068 if (!SWIG_IsOK(ecode2)) {
29069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29070 }
29071 arg2 = static_cast< int >(val2);
29072 {
29073 PyThreadState* __tstate = wxPyBeginAllowThreads();
29074 result = (bool)(arg1)->SetCurrentPage(arg2);
29075 wxPyEndAllowThreads(__tstate);
29076 if (PyErr_Occurred()) SWIG_fail;
29077 }
29078 {
29079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29080 }
29081 return resultobj;
29082 fail:
29083 return NULL;
29084 }
29085
29086
29087 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29088 PyObject *resultobj = 0;
29089 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29090 int result;
29091 void *argp1 = 0 ;
29092 int res1 = 0 ;
29093 PyObject *swig_obj[1] ;
29094
29095 if (!args) SWIG_fail;
29096 swig_obj[0] = args;
29097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29098 if (!SWIG_IsOK(res1)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29100 }
29101 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29102 {
29103 PyThreadState* __tstate = wxPyBeginAllowThreads();
29104 result = (int)(arg1)->GetCurrentPage();
29105 wxPyEndAllowThreads(__tstate);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
29108 resultobj = SWIG_From_int(static_cast< int >(result));
29109 return resultobj;
29110 fail:
29111 return NULL;
29112 }
29113
29114
29115 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29116 PyObject *resultobj = 0;
29117 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29118 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29119 void *argp1 = 0 ;
29120 int res1 = 0 ;
29121 int res2 = 0 ;
29122 PyObject * obj0 = 0 ;
29123 PyObject * obj1 = 0 ;
29124 char * kwnames[] = {
29125 (char *) "self",(char *) "printout", NULL
29126 };
29127
29128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29130 if (!SWIG_IsOK(res1)) {
29131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29132 }
29133 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29134 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29135 if (!SWIG_IsOK(res2)) {
29136 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29137 }
29138 {
29139 PyThreadState* __tstate = wxPyBeginAllowThreads();
29140 (arg1)->SetPrintout(arg2);
29141 wxPyEndAllowThreads(__tstate);
29142 if (PyErr_Occurred()) SWIG_fail;
29143 }
29144 resultobj = SWIG_Py_Void();
29145 return resultobj;
29146 fail:
29147 return NULL;
29148 }
29149
29150
29151 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29152 PyObject *resultobj = 0;
29153 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29154 wxPyPrintout *result = 0 ;
29155 void *argp1 = 0 ;
29156 int res1 = 0 ;
29157 PyObject *swig_obj[1] ;
29158
29159 if (!args) SWIG_fail;
29160 swig_obj[0] = args;
29161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29162 if (!SWIG_IsOK(res1)) {
29163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29164 }
29165 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29166 {
29167 PyThreadState* __tstate = wxPyBeginAllowThreads();
29168 result = (wxPyPrintout *)(arg1)->GetPrintout();
29169 wxPyEndAllowThreads(__tstate);
29170 if (PyErr_Occurred()) SWIG_fail;
29171 }
29172 {
29173 resultobj = wxPyMake_wxObject(result, 0);
29174 }
29175 return resultobj;
29176 fail:
29177 return NULL;
29178 }
29179
29180
29181 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29182 PyObject *resultobj = 0;
29183 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29184 wxPyPrintout *result = 0 ;
29185 void *argp1 = 0 ;
29186 int res1 = 0 ;
29187 PyObject *swig_obj[1] ;
29188
29189 if (!args) SWIG_fail;
29190 swig_obj[0] = args;
29191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29192 if (!SWIG_IsOK(res1)) {
29193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29194 }
29195 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29196 {
29197 PyThreadState* __tstate = wxPyBeginAllowThreads();
29198 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29199 wxPyEndAllowThreads(__tstate);
29200 if (PyErr_Occurred()) SWIG_fail;
29201 }
29202 {
29203 resultobj = wxPyMake_wxObject(result, 0);
29204 }
29205 return resultobj;
29206 fail:
29207 return NULL;
29208 }
29209
29210
29211 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29212 PyObject *resultobj = 0;
29213 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29214 wxFrame *arg2 = (wxFrame *) 0 ;
29215 void *argp1 = 0 ;
29216 int res1 = 0 ;
29217 void *argp2 = 0 ;
29218 int res2 = 0 ;
29219 PyObject * obj0 = 0 ;
29220 PyObject * obj1 = 0 ;
29221 char * kwnames[] = {
29222 (char *) "self",(char *) "frame", NULL
29223 };
29224
29225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29227 if (!SWIG_IsOK(res1)) {
29228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29229 }
29230 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29231 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29232 if (!SWIG_IsOK(res2)) {
29233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29234 }
29235 arg2 = reinterpret_cast< wxFrame * >(argp2);
29236 {
29237 PyThreadState* __tstate = wxPyBeginAllowThreads();
29238 (arg1)->SetFrame(arg2);
29239 wxPyEndAllowThreads(__tstate);
29240 if (PyErr_Occurred()) SWIG_fail;
29241 }
29242 resultobj = SWIG_Py_Void();
29243 return resultobj;
29244 fail:
29245 return NULL;
29246 }
29247
29248
29249 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29250 PyObject *resultobj = 0;
29251 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29252 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29253 void *argp1 = 0 ;
29254 int res1 = 0 ;
29255 void *argp2 = 0 ;
29256 int res2 = 0 ;
29257 PyObject * obj0 = 0 ;
29258 PyObject * obj1 = 0 ;
29259 char * kwnames[] = {
29260 (char *) "self",(char *) "canvas", NULL
29261 };
29262
29263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29265 if (!SWIG_IsOK(res1)) {
29266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29267 }
29268 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29269 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29270 if (!SWIG_IsOK(res2)) {
29271 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29272 }
29273 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29274 {
29275 PyThreadState* __tstate = wxPyBeginAllowThreads();
29276 (arg1)->SetCanvas(arg2);
29277 wxPyEndAllowThreads(__tstate);
29278 if (PyErr_Occurred()) SWIG_fail;
29279 }
29280 resultobj = SWIG_Py_Void();
29281 return resultobj;
29282 fail:
29283 return NULL;
29284 }
29285
29286
29287 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29288 PyObject *resultobj = 0;
29289 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29290 wxFrame *result = 0 ;
29291 void *argp1 = 0 ;
29292 int res1 = 0 ;
29293 PyObject *swig_obj[1] ;
29294
29295 if (!args) SWIG_fail;
29296 swig_obj[0] = args;
29297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29298 if (!SWIG_IsOK(res1)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29300 }
29301 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29302 {
29303 PyThreadState* __tstate = wxPyBeginAllowThreads();
29304 result = (wxFrame *)(arg1)->GetFrame();
29305 wxPyEndAllowThreads(__tstate);
29306 if (PyErr_Occurred()) SWIG_fail;
29307 }
29308 {
29309 resultobj = wxPyMake_wxObject(result, 0);
29310 }
29311 return resultobj;
29312 fail:
29313 return NULL;
29314 }
29315
29316
29317 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29318 PyObject *resultobj = 0;
29319 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29320 wxPreviewCanvas *result = 0 ;
29321 void *argp1 = 0 ;
29322 int res1 = 0 ;
29323 PyObject *swig_obj[1] ;
29324
29325 if (!args) SWIG_fail;
29326 swig_obj[0] = args;
29327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29328 if (!SWIG_IsOK(res1)) {
29329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29330 }
29331 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29332 {
29333 PyThreadState* __tstate = wxPyBeginAllowThreads();
29334 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29335 wxPyEndAllowThreads(__tstate);
29336 if (PyErr_Occurred()) SWIG_fail;
29337 }
29338 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29339 return resultobj;
29340 fail:
29341 return NULL;
29342 }
29343
29344
29345 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29346 PyObject *resultobj = 0;
29347 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29348 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29349 wxDC *arg3 = 0 ;
29350 bool result;
29351 void *argp1 = 0 ;
29352 int res1 = 0 ;
29353 void *argp2 = 0 ;
29354 int res2 = 0 ;
29355 void *argp3 = 0 ;
29356 int res3 = 0 ;
29357 PyObject * obj0 = 0 ;
29358 PyObject * obj1 = 0 ;
29359 PyObject * obj2 = 0 ;
29360 char * kwnames[] = {
29361 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29362 };
29363
29364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29366 if (!SWIG_IsOK(res1)) {
29367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29368 }
29369 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29370 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29371 if (!SWIG_IsOK(res2)) {
29372 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29373 }
29374 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29375 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29376 if (!SWIG_IsOK(res3)) {
29377 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29378 }
29379 if (!argp3) {
29380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29381 }
29382 arg3 = reinterpret_cast< wxDC * >(argp3);
29383 {
29384 PyThreadState* __tstate = wxPyBeginAllowThreads();
29385 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29386 wxPyEndAllowThreads(__tstate);
29387 if (PyErr_Occurred()) SWIG_fail;
29388 }
29389 {
29390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29391 }
29392 return resultobj;
29393 fail:
29394 return NULL;
29395 }
29396
29397
29398 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29399 PyObject *resultobj = 0;
29400 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29401 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29402 wxDC *arg3 = 0 ;
29403 bool result;
29404 void *argp1 = 0 ;
29405 int res1 = 0 ;
29406 void *argp2 = 0 ;
29407 int res2 = 0 ;
29408 void *argp3 = 0 ;
29409 int res3 = 0 ;
29410 PyObject * obj0 = 0 ;
29411 PyObject * obj1 = 0 ;
29412 PyObject * obj2 = 0 ;
29413 char * kwnames[] = {
29414 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29415 };
29416
29417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29419 if (!SWIG_IsOK(res1)) {
29420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29421 }
29422 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29423 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29424 if (!SWIG_IsOK(res2)) {
29425 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29426 }
29427 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29428 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29429 if (!SWIG_IsOK(res3)) {
29430 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29431 }
29432 if (!argp3) {
29433 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29434 }
29435 arg3 = reinterpret_cast< wxDC * >(argp3);
29436 {
29437 PyThreadState* __tstate = wxPyBeginAllowThreads();
29438 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29439 wxPyEndAllowThreads(__tstate);
29440 if (PyErr_Occurred()) SWIG_fail;
29441 }
29442 {
29443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29444 }
29445 return resultobj;
29446 fail:
29447 return NULL;
29448 }
29449
29450
29451 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29452 PyObject *resultobj = 0;
29453 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29454 int arg2 ;
29455 bool result;
29456 void *argp1 = 0 ;
29457 int res1 = 0 ;
29458 int val2 ;
29459 int ecode2 = 0 ;
29460 PyObject * obj0 = 0 ;
29461 PyObject * obj1 = 0 ;
29462 char * kwnames[] = {
29463 (char *) "self",(char *) "pageNum", NULL
29464 };
29465
29466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29468 if (!SWIG_IsOK(res1)) {
29469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29470 }
29471 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29472 ecode2 = SWIG_AsVal_int(obj1, &val2);
29473 if (!SWIG_IsOK(ecode2)) {
29474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29475 }
29476 arg2 = static_cast< int >(val2);
29477 {
29478 PyThreadState* __tstate = wxPyBeginAllowThreads();
29479 result = (bool)(arg1)->RenderPage(arg2);
29480 wxPyEndAllowThreads(__tstate);
29481 if (PyErr_Occurred()) SWIG_fail;
29482 }
29483 {
29484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29485 }
29486 return resultobj;
29487 fail:
29488 return NULL;
29489 }
29490
29491
29492 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29493 PyObject *resultobj = 0;
29494 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29495 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29496 void *argp1 = 0 ;
29497 int res1 = 0 ;
29498 void *argp2 = 0 ;
29499 int res2 = 0 ;
29500 PyObject * obj0 = 0 ;
29501 PyObject * obj1 = 0 ;
29502 char * kwnames[] = {
29503 (char *) "self",(char *) "canvas", NULL
29504 };
29505
29506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29508 if (!SWIG_IsOK(res1)) {
29509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29510 }
29511 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29512 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29513 if (!SWIG_IsOK(res2)) {
29514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29515 }
29516 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29517 {
29518 PyThreadState* __tstate = wxPyBeginAllowThreads();
29519 (arg1)->AdjustScrollbars(arg2);
29520 wxPyEndAllowThreads(__tstate);
29521 if (PyErr_Occurred()) SWIG_fail;
29522 }
29523 resultobj = SWIG_Py_Void();
29524 return resultobj;
29525 fail:
29526 return NULL;
29527 }
29528
29529
29530 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29531 PyObject *resultobj = 0;
29532 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29533 wxPrintDialogData *result = 0 ;
29534 void *argp1 = 0 ;
29535 int res1 = 0 ;
29536 PyObject *swig_obj[1] ;
29537
29538 if (!args) SWIG_fail;
29539 swig_obj[0] = args;
29540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29541 if (!SWIG_IsOK(res1)) {
29542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29543 }
29544 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29545 {
29546 PyThreadState* __tstate = wxPyBeginAllowThreads();
29547 {
29548 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29549 result = (wxPrintDialogData *) &_result_ref;
29550 }
29551 wxPyEndAllowThreads(__tstate);
29552 if (PyErr_Occurred()) SWIG_fail;
29553 }
29554 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29555 return resultobj;
29556 fail:
29557 return NULL;
29558 }
29559
29560
29561 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29562 PyObject *resultobj = 0;
29563 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29564 int arg2 ;
29565 void *argp1 = 0 ;
29566 int res1 = 0 ;
29567 int val2 ;
29568 int ecode2 = 0 ;
29569 PyObject * obj0 = 0 ;
29570 PyObject * obj1 = 0 ;
29571 char * kwnames[] = {
29572 (char *) "self",(char *) "percent", NULL
29573 };
29574
29575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29577 if (!SWIG_IsOK(res1)) {
29578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29579 }
29580 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29581 ecode2 = SWIG_AsVal_int(obj1, &val2);
29582 if (!SWIG_IsOK(ecode2)) {
29583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29584 }
29585 arg2 = static_cast< int >(val2);
29586 {
29587 PyThreadState* __tstate = wxPyBeginAllowThreads();
29588 (arg1)->SetZoom(arg2);
29589 wxPyEndAllowThreads(__tstate);
29590 if (PyErr_Occurred()) SWIG_fail;
29591 }
29592 resultobj = SWIG_Py_Void();
29593 return resultobj;
29594 fail:
29595 return NULL;
29596 }
29597
29598
29599 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29600 PyObject *resultobj = 0;
29601 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29602 int result;
29603 void *argp1 = 0 ;
29604 int res1 = 0 ;
29605 PyObject *swig_obj[1] ;
29606
29607 if (!args) SWIG_fail;
29608 swig_obj[0] = args;
29609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29610 if (!SWIG_IsOK(res1)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29612 }
29613 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29614 {
29615 PyThreadState* __tstate = wxPyBeginAllowThreads();
29616 result = (int)(arg1)->GetZoom();
29617 wxPyEndAllowThreads(__tstate);
29618 if (PyErr_Occurred()) SWIG_fail;
29619 }
29620 resultobj = SWIG_From_int(static_cast< int >(result));
29621 return resultobj;
29622 fail:
29623 return NULL;
29624 }
29625
29626
29627 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29628 PyObject *resultobj = 0;
29629 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29630 int result;
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_wxPrintPreview, 0 | 0 );
29638 if (!SWIG_IsOK(res1)) {
29639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29640 }
29641 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29642 {
29643 PyThreadState* __tstate = wxPyBeginAllowThreads();
29644 result = (int)(arg1)->GetMaxPage();
29645 wxPyEndAllowThreads(__tstate);
29646 if (PyErr_Occurred()) SWIG_fail;
29647 }
29648 resultobj = SWIG_From_int(static_cast< int >(result));
29649 return resultobj;
29650 fail:
29651 return NULL;
29652 }
29653
29654
29655 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29656 PyObject *resultobj = 0;
29657 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29658 int result;
29659 void *argp1 = 0 ;
29660 int res1 = 0 ;
29661 PyObject *swig_obj[1] ;
29662
29663 if (!args) SWIG_fail;
29664 swig_obj[0] = args;
29665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29666 if (!SWIG_IsOK(res1)) {
29667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29668 }
29669 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29670 {
29671 PyThreadState* __tstate = wxPyBeginAllowThreads();
29672 result = (int)(arg1)->GetMinPage();
29673 wxPyEndAllowThreads(__tstate);
29674 if (PyErr_Occurred()) SWIG_fail;
29675 }
29676 resultobj = SWIG_From_int(static_cast< int >(result));
29677 return resultobj;
29678 fail:
29679 return NULL;
29680 }
29681
29682
29683 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29684 PyObject *resultobj = 0;
29685 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29686 bool result;
29687 void *argp1 = 0 ;
29688 int res1 = 0 ;
29689 PyObject *swig_obj[1] ;
29690
29691 if (!args) SWIG_fail;
29692 swig_obj[0] = args;
29693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29694 if (!SWIG_IsOK(res1)) {
29695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29696 }
29697 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29698 {
29699 PyThreadState* __tstate = wxPyBeginAllowThreads();
29700 result = (bool)(arg1)->Ok();
29701 wxPyEndAllowThreads(__tstate);
29702 if (PyErr_Occurred()) SWIG_fail;
29703 }
29704 {
29705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29706 }
29707 return resultobj;
29708 fail:
29709 return NULL;
29710 }
29711
29712
29713 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29714 PyObject *resultobj = 0;
29715 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29716 bool arg2 ;
29717 void *argp1 = 0 ;
29718 int res1 = 0 ;
29719 bool val2 ;
29720 int ecode2 = 0 ;
29721 PyObject * obj0 = 0 ;
29722 PyObject * obj1 = 0 ;
29723 char * kwnames[] = {
29724 (char *) "self",(char *) "ok", NULL
29725 };
29726
29727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29729 if (!SWIG_IsOK(res1)) {
29730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29731 }
29732 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29733 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29734 if (!SWIG_IsOK(ecode2)) {
29735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29736 }
29737 arg2 = static_cast< bool >(val2);
29738 {
29739 PyThreadState* __tstate = wxPyBeginAllowThreads();
29740 (arg1)->SetOk(arg2);
29741 wxPyEndAllowThreads(__tstate);
29742 if (PyErr_Occurred()) SWIG_fail;
29743 }
29744 resultobj = SWIG_Py_Void();
29745 return resultobj;
29746 fail:
29747 return NULL;
29748 }
29749
29750
29751 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29752 PyObject *resultobj = 0;
29753 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29754 bool arg2 ;
29755 bool result;
29756 void *argp1 = 0 ;
29757 int res1 = 0 ;
29758 bool val2 ;
29759 int ecode2 = 0 ;
29760 PyObject * obj0 = 0 ;
29761 PyObject * obj1 = 0 ;
29762 char * kwnames[] = {
29763 (char *) "self",(char *) "interactive", NULL
29764 };
29765
29766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29768 if (!SWIG_IsOK(res1)) {
29769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29770 }
29771 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29772 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29773 if (!SWIG_IsOK(ecode2)) {
29774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29775 }
29776 arg2 = static_cast< bool >(val2);
29777 {
29778 PyThreadState* __tstate = wxPyBeginAllowThreads();
29779 result = (bool)(arg1)->Print(arg2);
29780 wxPyEndAllowThreads(__tstate);
29781 if (PyErr_Occurred()) SWIG_fail;
29782 }
29783 {
29784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29785 }
29786 return resultobj;
29787 fail:
29788 return NULL;
29789 }
29790
29791
29792 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29793 PyObject *resultobj = 0;
29794 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29795 void *argp1 = 0 ;
29796 int res1 = 0 ;
29797 PyObject *swig_obj[1] ;
29798
29799 if (!args) SWIG_fail;
29800 swig_obj[0] = args;
29801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29802 if (!SWIG_IsOK(res1)) {
29803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29804 }
29805 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29806 {
29807 PyThreadState* __tstate = wxPyBeginAllowThreads();
29808 (arg1)->DetermineScaling();
29809 wxPyEndAllowThreads(__tstate);
29810 if (PyErr_Occurred()) SWIG_fail;
29811 }
29812 resultobj = SWIG_Py_Void();
29813 return resultobj;
29814 fail:
29815 return NULL;
29816 }
29817
29818
29819 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29820 PyObject *obj;
29821 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29822 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29823 return SWIG_Py_Void();
29824 }
29825
29826 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29827 return SWIG_Python_InitShadowInstance(args);
29828 }
29829
29830 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29831 PyObject *resultobj = 0;
29832 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29833 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29834 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29835 wxPyPrintPreview *result = 0 ;
29836 int res1 = 0 ;
29837 int res2 = 0 ;
29838 void *argp3 = 0 ;
29839 int res3 = 0 ;
29840
29841 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29842 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29843 if (!SWIG_IsOK(res1)) {
29844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29845 }
29846 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29847 if (!SWIG_IsOK(res2)) {
29848 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29849 }
29850 if (swig_obj[2]) {
29851 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29852 if (!SWIG_IsOK(res3)) {
29853 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29854 }
29855 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29856 }
29857 {
29858 if (!wxPyCheckForApp()) SWIG_fail;
29859 PyThreadState* __tstate = wxPyBeginAllowThreads();
29860 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29861 wxPyEndAllowThreads(__tstate);
29862 if (PyErr_Occurred()) SWIG_fail;
29863 }
29864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29865 return resultobj;
29866 fail:
29867 return NULL;
29868 }
29869
29870
29871 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29872 PyObject *resultobj = 0;
29873 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29874 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29875 wxPrintData *arg3 = (wxPrintData *) 0 ;
29876 wxPyPrintPreview *result = 0 ;
29877 int res1 = 0 ;
29878 int res2 = 0 ;
29879 void *argp3 = 0 ;
29880 int res3 = 0 ;
29881
29882 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29883 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29884 if (!SWIG_IsOK(res1)) {
29885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29886 }
29887 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29888 if (!SWIG_IsOK(res2)) {
29889 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29890 }
29891 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29892 if (!SWIG_IsOK(res3)) {
29893 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29894 }
29895 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29896 {
29897 if (!wxPyCheckForApp()) SWIG_fail;
29898 PyThreadState* __tstate = wxPyBeginAllowThreads();
29899 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29900 wxPyEndAllowThreads(__tstate);
29901 if (PyErr_Occurred()) SWIG_fail;
29902 }
29903 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29904 return resultobj;
29905 fail:
29906 return NULL;
29907 }
29908
29909
29910 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29911 int argc;
29912 PyObject *argv[4];
29913
29914 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29915 --argc;
29916 if ((argc >= 2) && (argc <= 3)) {
29917 int _v = 0;
29918 if (argc > 2) {
29919 {
29920 void *vptr = 0;
29921 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29922 _v = SWIG_CheckState(res);
29923 }
29924 if (!_v) goto check_1;
29925 }
29926 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29927 }
29928 check_1:
29929
29930 if (argc == 3) {
29931 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29932 }
29933
29934 fail:
29935 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29936 return NULL;
29937 }
29938
29939
29940 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29941 PyObject *resultobj = 0;
29942 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29943 PyObject *arg2 = (PyObject *) 0 ;
29944 PyObject *arg3 = (PyObject *) 0 ;
29945 void *argp1 = 0 ;
29946 int res1 = 0 ;
29947 PyObject * obj0 = 0 ;
29948 PyObject * obj1 = 0 ;
29949 PyObject * obj2 = 0 ;
29950 char * kwnames[] = {
29951 (char *) "self",(char *) "self",(char *) "_class", NULL
29952 };
29953
29954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29956 if (!SWIG_IsOK(res1)) {
29957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29958 }
29959 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29960 arg2 = obj1;
29961 arg3 = obj2;
29962 {
29963 PyThreadState* __tstate = wxPyBeginAllowThreads();
29964 (arg1)->_setCallbackInfo(arg2,arg3);
29965 wxPyEndAllowThreads(__tstate);
29966 if (PyErr_Occurred()) SWIG_fail;
29967 }
29968 resultobj = SWIG_Py_Void();
29969 return resultobj;
29970 fail:
29971 return NULL;
29972 }
29973
29974
29975 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29976 PyObject *obj;
29977 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29978 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
29979 return SWIG_Py_Void();
29980 }
29981
29982 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29983 return SWIG_Python_InitShadowInstance(args);
29984 }
29985
29986 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29987 PyObject *resultobj = 0;
29988 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29989 wxFrame *arg2 = (wxFrame *) 0 ;
29990 wxString *arg3 = 0 ;
29991 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29992 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29993 wxSize const &arg5_defvalue = wxDefaultSize ;
29994 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29995 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29996 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29997 wxString *arg7 = (wxString *) &arg7_defvalue ;
29998 wxPyPreviewFrame *result = 0 ;
29999 void *argp1 = 0 ;
30000 int res1 = 0 ;
30001 void *argp2 = 0 ;
30002 int res2 = 0 ;
30003 bool temp3 = false ;
30004 wxPoint temp4 ;
30005 wxSize temp5 ;
30006 long val6 ;
30007 int ecode6 = 0 ;
30008 bool temp7 = false ;
30009 PyObject * obj0 = 0 ;
30010 PyObject * obj1 = 0 ;
30011 PyObject * obj2 = 0 ;
30012 PyObject * obj3 = 0 ;
30013 PyObject * obj4 = 0 ;
30014 PyObject * obj5 = 0 ;
30015 PyObject * obj6 = 0 ;
30016 char * kwnames[] = {
30017 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30018 };
30019
30020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30022 if (!SWIG_IsOK(res1)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30024 }
30025 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30026 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30027 if (!SWIG_IsOK(res2)) {
30028 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30029 }
30030 arg2 = reinterpret_cast< wxFrame * >(argp2);
30031 {
30032 arg3 = wxString_in_helper(obj2);
30033 if (arg3 == NULL) SWIG_fail;
30034 temp3 = true;
30035 }
30036 if (obj3) {
30037 {
30038 arg4 = &temp4;
30039 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30040 }
30041 }
30042 if (obj4) {
30043 {
30044 arg5 = &temp5;
30045 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30046 }
30047 }
30048 if (obj5) {
30049 ecode6 = SWIG_AsVal_long(obj5, &val6);
30050 if (!SWIG_IsOK(ecode6)) {
30051 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30052 }
30053 arg6 = static_cast< long >(val6);
30054 }
30055 if (obj6) {
30056 {
30057 arg7 = wxString_in_helper(obj6);
30058 if (arg7 == NULL) SWIG_fail;
30059 temp7 = true;
30060 }
30061 }
30062 {
30063 if (!wxPyCheckForApp()) SWIG_fail;
30064 PyThreadState* __tstate = wxPyBeginAllowThreads();
30065 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30066 wxPyEndAllowThreads(__tstate);
30067 if (PyErr_Occurred()) SWIG_fail;
30068 }
30069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30070 {
30071 if (temp3)
30072 delete arg3;
30073 }
30074 {
30075 if (temp7)
30076 delete arg7;
30077 }
30078 return resultobj;
30079 fail:
30080 {
30081 if (temp3)
30082 delete arg3;
30083 }
30084 {
30085 if (temp7)
30086 delete arg7;
30087 }
30088 return NULL;
30089 }
30090
30091
30092 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30093 PyObject *resultobj = 0;
30094 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30095 PyObject *arg2 = (PyObject *) 0 ;
30096 PyObject *arg3 = (PyObject *) 0 ;
30097 void *argp1 = 0 ;
30098 int res1 = 0 ;
30099 PyObject * obj0 = 0 ;
30100 PyObject * obj1 = 0 ;
30101 PyObject * obj2 = 0 ;
30102 char * kwnames[] = {
30103 (char *) "self",(char *) "self",(char *) "_class", NULL
30104 };
30105
30106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30108 if (!SWIG_IsOK(res1)) {
30109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30110 }
30111 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30112 arg2 = obj1;
30113 arg3 = obj2;
30114 {
30115 PyThreadState* __tstate = wxPyBeginAllowThreads();
30116 (arg1)->_setCallbackInfo(arg2,arg3);
30117 wxPyEndAllowThreads(__tstate);
30118 if (PyErr_Occurred()) SWIG_fail;
30119 }
30120 resultobj = SWIG_Py_Void();
30121 return resultobj;
30122 fail:
30123 return NULL;
30124 }
30125
30126
30127 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30128 PyObject *resultobj = 0;
30129 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30130 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30131 void *argp1 = 0 ;
30132 int res1 = 0 ;
30133 void *argp2 = 0 ;
30134 int res2 = 0 ;
30135 PyObject * obj0 = 0 ;
30136 PyObject * obj1 = 0 ;
30137 char * kwnames[] = {
30138 (char *) "self",(char *) "canvas", NULL
30139 };
30140
30141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30143 if (!SWIG_IsOK(res1)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30145 }
30146 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30147 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30148 if (!SWIG_IsOK(res2)) {
30149 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30150 }
30151 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30152 {
30153 PyThreadState* __tstate = wxPyBeginAllowThreads();
30154 (arg1)->SetPreviewCanvas(arg2);
30155 wxPyEndAllowThreads(__tstate);
30156 if (PyErr_Occurred()) SWIG_fail;
30157 }
30158 resultobj = SWIG_Py_Void();
30159 return resultobj;
30160 fail:
30161 return NULL;
30162 }
30163
30164
30165 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30166 PyObject *resultobj = 0;
30167 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30168 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30169 void *argp1 = 0 ;
30170 int res1 = 0 ;
30171 void *argp2 = 0 ;
30172 int res2 = 0 ;
30173 PyObject * obj0 = 0 ;
30174 PyObject * obj1 = 0 ;
30175 char * kwnames[] = {
30176 (char *) "self",(char *) "bar", NULL
30177 };
30178
30179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30181 if (!SWIG_IsOK(res1)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30183 }
30184 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30186 if (!SWIG_IsOK(res2)) {
30187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30188 }
30189 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30190 {
30191 PyThreadState* __tstate = wxPyBeginAllowThreads();
30192 (arg1)->SetControlBar(arg2);
30193 wxPyEndAllowThreads(__tstate);
30194 if (PyErr_Occurred()) SWIG_fail;
30195 }
30196 resultobj = SWIG_Py_Void();
30197 return resultobj;
30198 fail:
30199 return NULL;
30200 }
30201
30202
30203 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30204 PyObject *resultobj = 0;
30205 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30206 void *argp1 = 0 ;
30207 int res1 = 0 ;
30208 PyObject *swig_obj[1] ;
30209
30210 if (!args) SWIG_fail;
30211 swig_obj[0] = args;
30212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30213 if (!SWIG_IsOK(res1)) {
30214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30215 }
30216 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30217 {
30218 PyThreadState* __tstate = wxPyBeginAllowThreads();
30219 (arg1)->Initialize();
30220 wxPyEndAllowThreads(__tstate);
30221 if (PyErr_Occurred()) SWIG_fail;
30222 }
30223 resultobj = SWIG_Py_Void();
30224 return resultobj;
30225 fail:
30226 return NULL;
30227 }
30228
30229
30230 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30231 PyObject *resultobj = 0;
30232 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30233 void *argp1 = 0 ;
30234 int res1 = 0 ;
30235 PyObject *swig_obj[1] ;
30236
30237 if (!args) SWIG_fail;
30238 swig_obj[0] = args;
30239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30240 if (!SWIG_IsOK(res1)) {
30241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30242 }
30243 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30244 {
30245 PyThreadState* __tstate = wxPyBeginAllowThreads();
30246 (arg1)->CreateCanvas();
30247 wxPyEndAllowThreads(__tstate);
30248 if (PyErr_Occurred()) SWIG_fail;
30249 }
30250 resultobj = SWIG_Py_Void();
30251 return resultobj;
30252 fail:
30253 return NULL;
30254 }
30255
30256
30257 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30258 PyObject *resultobj = 0;
30259 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30260 void *argp1 = 0 ;
30261 int res1 = 0 ;
30262 PyObject *swig_obj[1] ;
30263
30264 if (!args) SWIG_fail;
30265 swig_obj[0] = args;
30266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30267 if (!SWIG_IsOK(res1)) {
30268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30269 }
30270 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30271 {
30272 PyThreadState* __tstate = wxPyBeginAllowThreads();
30273 (arg1)->CreateControlBar();
30274 wxPyEndAllowThreads(__tstate);
30275 if (PyErr_Occurred()) SWIG_fail;
30276 }
30277 resultobj = SWIG_Py_Void();
30278 return resultobj;
30279 fail:
30280 return NULL;
30281 }
30282
30283
30284 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30285 PyObject *obj;
30286 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30287 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30288 return SWIG_Py_Void();
30289 }
30290
30291 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30292 return SWIG_Python_InitShadowInstance(args);
30293 }
30294
30295 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30296 PyObject *resultobj = 0;
30297 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30298 long arg2 ;
30299 wxWindow *arg3 = (wxWindow *) 0 ;
30300 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30301 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30302 wxSize const &arg5_defvalue = wxDefaultSize ;
30303 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30304 long arg6 = (long) 0 ;
30305 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30306 wxString *arg7 = (wxString *) &arg7_defvalue ;
30307 wxPyPreviewControlBar *result = 0 ;
30308 void *argp1 = 0 ;
30309 int res1 = 0 ;
30310 long val2 ;
30311 int ecode2 = 0 ;
30312 void *argp3 = 0 ;
30313 int res3 = 0 ;
30314 wxPoint temp4 ;
30315 wxSize temp5 ;
30316 long val6 ;
30317 int ecode6 = 0 ;
30318 bool temp7 = false ;
30319 PyObject * obj0 = 0 ;
30320 PyObject * obj1 = 0 ;
30321 PyObject * obj2 = 0 ;
30322 PyObject * obj3 = 0 ;
30323 PyObject * obj4 = 0 ;
30324 PyObject * obj5 = 0 ;
30325 PyObject * obj6 = 0 ;
30326 char * kwnames[] = {
30327 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30328 };
30329
30330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30332 if (!SWIG_IsOK(res1)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30334 }
30335 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30336 ecode2 = SWIG_AsVal_long(obj1, &val2);
30337 if (!SWIG_IsOK(ecode2)) {
30338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30339 }
30340 arg2 = static_cast< long >(val2);
30341 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30342 if (!SWIG_IsOK(res3)) {
30343 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30344 }
30345 arg3 = reinterpret_cast< wxWindow * >(argp3);
30346 if (obj3) {
30347 {
30348 arg4 = &temp4;
30349 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30350 }
30351 }
30352 if (obj4) {
30353 {
30354 arg5 = &temp5;
30355 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30356 }
30357 }
30358 if (obj5) {
30359 ecode6 = SWIG_AsVal_long(obj5, &val6);
30360 if (!SWIG_IsOK(ecode6)) {
30361 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30362 }
30363 arg6 = static_cast< long >(val6);
30364 }
30365 if (obj6) {
30366 {
30367 arg7 = wxString_in_helper(obj6);
30368 if (arg7 == NULL) SWIG_fail;
30369 temp7 = true;
30370 }
30371 }
30372 {
30373 if (!wxPyCheckForApp()) SWIG_fail;
30374 PyThreadState* __tstate = wxPyBeginAllowThreads();
30375 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30376 wxPyEndAllowThreads(__tstate);
30377 if (PyErr_Occurred()) SWIG_fail;
30378 }
30379 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30380 {
30381 if (temp7)
30382 delete arg7;
30383 }
30384 return resultobj;
30385 fail:
30386 {
30387 if (temp7)
30388 delete arg7;
30389 }
30390 return NULL;
30391 }
30392
30393
30394 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30395 PyObject *resultobj = 0;
30396 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30397 PyObject *arg2 = (PyObject *) 0 ;
30398 PyObject *arg3 = (PyObject *) 0 ;
30399 void *argp1 = 0 ;
30400 int res1 = 0 ;
30401 PyObject * obj0 = 0 ;
30402 PyObject * obj1 = 0 ;
30403 PyObject * obj2 = 0 ;
30404 char * kwnames[] = {
30405 (char *) "self",(char *) "self",(char *) "_class", NULL
30406 };
30407
30408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30410 if (!SWIG_IsOK(res1)) {
30411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30412 }
30413 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30414 arg2 = obj1;
30415 arg3 = obj2;
30416 {
30417 PyThreadState* __tstate = wxPyBeginAllowThreads();
30418 (arg1)->_setCallbackInfo(arg2,arg3);
30419 wxPyEndAllowThreads(__tstate);
30420 if (PyErr_Occurred()) SWIG_fail;
30421 }
30422 resultobj = SWIG_Py_Void();
30423 return resultobj;
30424 fail:
30425 return NULL;
30426 }
30427
30428
30429 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30430 PyObject *resultobj = 0;
30431 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30432 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30433 void *argp1 = 0 ;
30434 int res1 = 0 ;
30435 void *argp2 = 0 ;
30436 int res2 = 0 ;
30437 PyObject * obj0 = 0 ;
30438 PyObject * obj1 = 0 ;
30439 char * kwnames[] = {
30440 (char *) "self",(char *) "preview", NULL
30441 };
30442
30443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30445 if (!SWIG_IsOK(res1)) {
30446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30447 }
30448 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30449 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30450 if (!SWIG_IsOK(res2)) {
30451 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30452 }
30453 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30454 {
30455 PyThreadState* __tstate = wxPyBeginAllowThreads();
30456 (arg1)->SetPrintPreview(arg2);
30457 wxPyEndAllowThreads(__tstate);
30458 if (PyErr_Occurred()) SWIG_fail;
30459 }
30460 resultobj = SWIG_Py_Void();
30461 return resultobj;
30462 fail:
30463 return NULL;
30464 }
30465
30466
30467 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30468 PyObject *resultobj = 0;
30469 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30470 void *argp1 = 0 ;
30471 int res1 = 0 ;
30472 PyObject *swig_obj[1] ;
30473
30474 if (!args) SWIG_fail;
30475 swig_obj[0] = args;
30476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30477 if (!SWIG_IsOK(res1)) {
30478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30479 }
30480 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30481 {
30482 PyThreadState* __tstate = wxPyBeginAllowThreads();
30483 (arg1)->CreateButtons();
30484 wxPyEndAllowThreads(__tstate);
30485 if (PyErr_Occurred()) SWIG_fail;
30486 }
30487 resultobj = SWIG_Py_Void();
30488 return resultobj;
30489 fail:
30490 return NULL;
30491 }
30492
30493
30494 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30495 PyObject *resultobj = 0;
30496 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30497 int arg2 ;
30498 void *argp1 = 0 ;
30499 int res1 = 0 ;
30500 int val2 ;
30501 int ecode2 = 0 ;
30502 PyObject * obj0 = 0 ;
30503 PyObject * obj1 = 0 ;
30504 char * kwnames[] = {
30505 (char *) "self",(char *) "zoom", NULL
30506 };
30507
30508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30510 if (!SWIG_IsOK(res1)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30512 }
30513 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30514 ecode2 = SWIG_AsVal_int(obj1, &val2);
30515 if (!SWIG_IsOK(ecode2)) {
30516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30517 }
30518 arg2 = static_cast< int >(val2);
30519 {
30520 PyThreadState* __tstate = wxPyBeginAllowThreads();
30521 (arg1)->SetZoomControl(arg2);
30522 wxPyEndAllowThreads(__tstate);
30523 if (PyErr_Occurred()) SWIG_fail;
30524 }
30525 resultobj = SWIG_Py_Void();
30526 return resultobj;
30527 fail:
30528 return NULL;
30529 }
30530
30531
30532 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30533 PyObject *obj;
30534 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30535 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30536 return SWIG_Py_Void();
30537 }
30538
30539 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30540 return SWIG_Python_InitShadowInstance(args);
30541 }
30542
30543 static PyMethodDef SwigMethods[] = {
30544 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30545 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30546 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30547 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30548 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30549 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30550 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30551 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30552 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30553 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30554 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30555 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30556 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30557 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30558 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30559 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30560 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30561 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30562 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30563 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30564 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30565 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30566 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30567 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30568 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30569 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30570 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30571 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30572 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30573 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30574 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30575 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30576 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30577 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30578 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30579 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30580 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30581 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30582 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30583 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30584 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30585 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30586 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30587 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30588 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30589 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30590 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30591 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30592 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30593 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30594 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30595 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30596 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30597 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30598 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30599 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30600 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30601 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30602 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30603 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30604 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30605 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30606 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30607 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30608 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30609 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30610 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30611 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30612 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30613 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30614 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30615 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30616 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30617 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30618 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30619 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30620 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30621 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30622 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30623 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30624 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30625 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30626 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30627 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30628 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30629 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30630 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30631 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30632 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30633 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30634 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30635 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30636 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30637 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30638 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30639 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30640 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30641 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30642 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30643 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30644 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30645 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30646 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30647 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30648 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30649 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30650 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30651 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30652 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30653 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30654 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30655 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30656 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30657 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30658 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30659 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30660 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30661 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30662 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30663 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30664 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30665 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30666 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30667 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30668 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30669 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30670 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30671 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30672 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30673 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30674 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30675 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30676 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30677 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30678 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30679 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30680 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30681 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30682 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30683 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30684 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30685 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30686 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30687 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30688 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30689 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30690 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30691 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30692 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30693 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30694 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30695 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30696 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30697 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30698 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30699 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30700 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30701 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30702 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30703 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30704 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30705 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30706 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30707 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30708 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30709 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30710 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30711 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30712 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30713 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30714 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30715 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30716 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30717 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30718 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30719 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30720 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30721 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30722 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30723 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30724 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30725 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30726 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30727 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30728 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30729 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30730 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30731 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30732 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30733 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30734 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30735 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30736 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30737 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30738 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30739 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30740 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30741 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30742 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30743 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30744 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30745 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30746 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30747 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30748 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30749 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30750 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30751 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30752 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30753 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30754 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30755 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30756 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30758 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30759 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30760 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30761 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30762 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30763 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30765 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30766 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30767 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30768 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30769 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30770 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30771 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30772 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30773 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30774 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30775 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30776 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30777 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30778 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30779 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30780 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30781 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30782 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30783 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30784 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30785 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30786 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30787 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30788 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30789 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
30790 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
30791 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30792 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30793 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30794 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30795 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30796 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30797 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30798 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30799 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30800 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30801 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30802 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30803 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30804 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30805 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30807 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30808 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30809 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30810 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30811 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30812 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30813 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30814 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30815 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30816 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30817 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30818 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30819 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30820 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30821 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30822 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30823 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30824 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30825 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30826 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30829 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30830 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30831 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30832 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30833 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30834 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30835 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30837 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30838 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30839 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30840 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30841 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30842 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30844 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30846 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30847 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30848 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30849 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30850 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30851 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30852 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30854 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
30855 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30856 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30857 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30858 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30859 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30860 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30861 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30862 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30863 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30864 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30865 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30866 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30867 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30868 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30869 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30870 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30871 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30872 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30873 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30874 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30875 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30876 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30877 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30878 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30879 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30880 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30881 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30883 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30884 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30885 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30886 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30887 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30888 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30889 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30891 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30892 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30893 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30897 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30901 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30902 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30903 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30904 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30905 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30906 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30907 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30908 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30909 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30910 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30911 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30912 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30913 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30914 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30915 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30917 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30918 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30919 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30920 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30921 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30922 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30923 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30925 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30926 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30928 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30929 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30930 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30931 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30932 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30933 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30934 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30935 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30936 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30937 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30938 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30939 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30945 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30946 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30948 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30949 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30950 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30951 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30952 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
30953 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
30954 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30955 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
30956 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
30957 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
30958 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
30959 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30961 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30962 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30963 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
30964 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30965 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
30968 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
30969 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
30971 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
30972 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
30973 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
30974 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30975 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30976 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30977 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
30978 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
30979 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
30981 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30982 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
30983 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
30985 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
30986 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
30988 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
30990 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
30991 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
30992 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
30993 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
30994 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
30995 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
30996 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
30997 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
30998 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
30999 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31000 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31001 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31002 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31003 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31004 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31005 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31006 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31007 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31009 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31010 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31012 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31020 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31021 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31022 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31023 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31024 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31025 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31026 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31027 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31028 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31030 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31032 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31034 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31038 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31039 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31040 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31041 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31042 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31043 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31044 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31045 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31046 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31048 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31055 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31056 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31057 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31058 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31059 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31060 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31061 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31062 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31063 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31064 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31065 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31066 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31067 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31068 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31069 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31070 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31071 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31072 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31073 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31074 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31075 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31076 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31077 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31078 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31080 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31082 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31089 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31090 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31092 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31093 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31094 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31095 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31096 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31097 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31098 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31099 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31102 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31103 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31104 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31105 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31106 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31107 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31108 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31109 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31110 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31111 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31112 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31113 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31114 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31115 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31116 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31117 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31124 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31127 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31128 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31129 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31130 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31131 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31132 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31133 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31134 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31135 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31136 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31137 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31138 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31139 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31140 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31141 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31142 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31143 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31144 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31145 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31146 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31147 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31148 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31149 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31150 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31155 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31156 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31159 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31160 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31162 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31163 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31164 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31165 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31166 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31167 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31169 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31170 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31172 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31173 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31174 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31175 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31176 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31177 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31178 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31180 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31183 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31186 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31187 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31188 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31189 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31190 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31192 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31194 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31195 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31196 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31198 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31200 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31202 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31203 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31204 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31205 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31206 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31207 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31208 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31209 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31210 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31211 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31212 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31213 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31214 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31215 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31216 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31217 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31218 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31219 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31220 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31221 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31222 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31223 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31224 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31225 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31226 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31227 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31228 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31229 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31230 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31231 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31232 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31233 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31234 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31235 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31236 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31237 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31238 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31239 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31240 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31241 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31242 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31243 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31244 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31246 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31247 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31250 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31252 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31254 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31255 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31256 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31257 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31259 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31260 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31261 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31262 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31263 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31265 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31266 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31270 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31271 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31272 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31273 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31274 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31275 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31276 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31277 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31279 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31280 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31281 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31282 { NULL, NULL, 0, NULL }
31283 };
31284
31285
31286 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31287
31288 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31289 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31290 }
31291 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31292 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31293 }
31294 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31295 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31296 }
31297 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31298 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31299 }
31300 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31301 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31302 }
31303 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31304 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31305 }
31306 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31307 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31308 }
31309 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31310 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31311 }
31312 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31313 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31314 }
31315 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31316 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31317 }
31318 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31319 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31320 }
31321 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31322 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31323 }
31324 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31325 return (void *)((wxEvent *) ((wxPyEvent *) x));
31326 }
31327 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31328 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31329 }
31330 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31331 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31332 }
31333 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31334 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31335 }
31336 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31337 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31338 }
31339 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31340 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31341 }
31342 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31343 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31344 }
31345 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31346 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31347 }
31348 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31349 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31350 }
31351 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31352 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31353 }
31354 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31355 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31356 }
31357 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31358 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31359 }
31360 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31361 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31362 }
31363 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31364 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31365 }
31366 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31367 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31368 }
31369 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31370 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31371 }
31372 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31373 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31374 }
31375 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31376 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31377 }
31378 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31379 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31380 }
31381 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31382 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31383 }
31384 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31385 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31386 }
31387 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31388 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31389 }
31390 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31391 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31392 }
31393 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31394 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31395 }
31396 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31397 return (void *)((wxEvent *) ((wxShowEvent *) x));
31398 }
31399 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31400 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31401 }
31402 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31403 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31404 }
31405 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31406 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31407 }
31408 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31409 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31410 }
31411 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31412 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31413 }
31414 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31415 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31416 }
31417 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31418 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31419 }
31420 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31421 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31422 }
31423 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31424 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31425 }
31426 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31427 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31428 }
31429 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31430 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31431 }
31432 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31433 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31434 }
31435 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31436 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31437 }
31438 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31439 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31440 }
31441 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31442 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31443 }
31444 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31445 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31446 }
31447 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31448 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31449 }
31450 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31451 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31452 }
31453 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31454 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31455 }
31456 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31457 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31458 }
31459 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31460 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31461 }
31462 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31463 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31464 }
31465 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31466 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31467 }
31468 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31469 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31470 }
31471 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31472 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31473 }
31474 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31475 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31476 }
31477 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31478 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31479 }
31480 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31481 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31482 }
31483 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31484 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31485 }
31486 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31487 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31488 }
31489 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31490 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31491 }
31492 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31493 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31494 }
31495 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31496 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31497 }
31498 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31499 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31500 }
31501 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31502 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31503 }
31504 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31505 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31506 }
31507 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31508 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31509 }
31510 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31511 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31512 }
31513 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31514 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31515 }
31516 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31517 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31518 }
31519 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31520 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31521 }
31522 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31523 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31524 }
31525 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31526 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31527 }
31528 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31529 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31530 }
31531 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31532 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31533 }
31534 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31535 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31536 }
31537 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31538 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31539 }
31540 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31541 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31542 }
31543 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31544 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31545 }
31546 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31547 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31548 }
31549 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31550 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31551 }
31552 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31553 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31554 }
31555 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31556 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31557 }
31558 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31559 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31560 }
31561 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31562 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31563 }
31564 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31565 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31566 }
31567 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31568 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31569 }
31570 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31571 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31572 }
31573 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31574 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31575 }
31576 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31577 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31578 }
31579 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31580 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31581 }
31582 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31583 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31584 }
31585 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31586 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31587 }
31588 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31589 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31590 }
31591 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31592 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31593 }
31594 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31595 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31596 }
31597 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31598 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31599 }
31600 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31601 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31602 }
31603 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31605 }
31606 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31608 }
31609 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31610 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31611 }
31612 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31613 return (void *)((wxObject *) ((wxSizerItem *) x));
31614 }
31615 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31616 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31617 }
31618 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31619 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31620 }
31621 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31622 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31623 }
31624 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31625 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31626 }
31627 static void *_p_wxSizerTo_p_wxObject(void *x) {
31628 return (void *)((wxObject *) ((wxSizer *) x));
31629 }
31630 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31631 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31632 }
31633 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31634 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31635 }
31636 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31638 }
31639 static void *_p_wxEventTo_p_wxObject(void *x) {
31640 return (void *)((wxObject *) ((wxEvent *) x));
31641 }
31642 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31643 return (void *)((wxObject *) ((wxFontData *) x));
31644 }
31645 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31646 return (void *)((wxObject *) ((wxPrintData *) x));
31647 }
31648 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31649 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31650 }
31651 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31652 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31653 }
31654 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31655 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31656 }
31657 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31658 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31659 }
31660 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31661 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31662 }
31663 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31664 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31665 }
31666 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31667 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31668 }
31669 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31670 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31671 }
31672 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31673 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31674 }
31675 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31676 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31677 }
31678 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31679 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31680 }
31681 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31682 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31683 }
31684 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31685 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31686 }
31687 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31689 }
31690 static void *_p_wxControlTo_p_wxObject(void *x) {
31691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31692 }
31693 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31694 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31695 }
31696 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31697 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31698 }
31699 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31700 return (void *)((wxObject *) ((wxFSFile *) x));
31701 }
31702 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31703 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31704 }
31705 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31706 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31707 }
31708 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31710 }
31711 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31712 return (void *)((wxObject *) ((wxColourData *) x));
31713 }
31714 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31715 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31716 }
31717 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31718 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31719 }
31720 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31722 }
31723 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31725 }
31726 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31728 }
31729 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31731 }
31732 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31734 }
31735 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31737 }
31738 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31740 }
31741 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31743 }
31744 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31746 }
31747 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31749 }
31750 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31751 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31752 }
31753 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31754 return (void *)((wxObject *) ((wxPrinter *) x));
31755 }
31756 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31757 return (void *)((wxObject *) ((wxMenuItem *) x));
31758 }
31759 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31760 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31761 }
31762 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31763 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31764 }
31765 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31766 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31767 }
31768 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31769 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31770 }
31771 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31772 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31773 }
31774 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31775 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31776 }
31777 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31778 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31779 }
31780 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31781 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31782 }
31783 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31784 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31785 }
31786 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31787 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31788 }
31789 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31790 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31791 }
31792 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31793 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31794 }
31795 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31796 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31797 }
31798 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31799 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31800 }
31801 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31802 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31803 }
31804 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31805 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31806 }
31807 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31808 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31809 }
31810 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31811 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31812 }
31813 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31814 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31815 }
31816 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31817 return (void *)((wxObject *) ((wxImageHandler *) x));
31818 }
31819 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31820 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31821 }
31822 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31823 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31824 }
31825 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31826 return (void *)((wxObject *) ((wxEvtHandler *) x));
31827 }
31828 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31829 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31830 }
31831 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31833 }
31834 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31836 }
31837 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31838 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31839 }
31840 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31841 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31842 }
31843 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31845 }
31846 static void *_p_wxImageTo_p_wxObject(void *x) {
31847 return (void *)((wxObject *) ((wxImage *) x));
31848 }
31849 static void *_p_wxFrameTo_p_wxObject(void *x) {
31850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31851 }
31852 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31853 return (void *)((wxObject *) ((wxPyPrintout *) x));
31854 }
31855 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31856 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31857 }
31858 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31859 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31860 }
31861 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31863 }
31864 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31866 }
31867 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31868 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31869 }
31870 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31871 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31872 }
31873 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31874 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31875 }
31876 static void *_p_wxWindowTo_p_wxObject(void *x) {
31877 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31878 }
31879 static void *_p_wxMenuTo_p_wxObject(void *x) {
31880 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31881 }
31882 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31884 }
31885 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31887 }
31888 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31890 }
31891 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31893 }
31894 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31896 }
31897 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31899 }
31900 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31902 }
31903 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31905 }
31906 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31908 }
31909 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31911 }
31912 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31914 }
31915 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31917 }
31918 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31920 }
31921 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31922 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31923 }
31924 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31925 return (void *)((wxObject *) ((wxPrintPreview *) x));
31926 }
31927 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31928 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31929 }
31930 static void *_p_wxPanelTo_p_wxObject(void *x) {
31931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31932 }
31933 static void *_p_wxDialogTo_p_wxObject(void *x) {
31934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31935 }
31936 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31938 }
31939 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31941 }
31942 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31944 }
31945 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31946 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31947 }
31948 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31949 return (void *)((wxObject *) ((wxPrintDialog *) x));
31950 }
31951 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31952 return (void *)((wxObject *) ((wxFileSystem *) x));
31953 }
31954 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31955 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31956 }
31957 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31958 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31959 }
31960 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31961 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31962 }
31963 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31964 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31965 }
31966 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31967 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31968 }
31969 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31970 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31971 }
31972 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31973 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31974 }
31975 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31976 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31977 }
31978 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31980 }
31981 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31983 }
31984 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31985 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31986 }
31987 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31988 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31989 }
31990 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31991 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31992 }
31993 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31995 }
31996 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
31997 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
31998 }
31999 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32000 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32001 }
32002 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32003 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32004 }
32005 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32006 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32007 }
32008 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32009 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32010 }
32011 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32012 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32013 }
32014 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32015 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32016 }
32017 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32018 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32019 }
32020 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32021 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32022 }
32023 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32024 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32025 }
32026 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32027 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32028 }
32029 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32030 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32031 }
32032 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32033 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32034 }
32035 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32036 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32037 }
32038 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32039 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32040 }
32041 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32042 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32043 }
32044 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32045 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32046 }
32047 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32048 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32049 }
32050 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32051 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32052 }
32053 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32054 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32055 }
32056 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32057 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32058 }
32059 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32060 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32061 }
32062 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32063 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32064 }
32065 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32066 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32067 }
32068 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32069 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32070 }
32071 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32072 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32073 }
32074 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32075 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32076 }
32077 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32078 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32079 }
32080 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32081 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32082 }
32083 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32084 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32085 }
32086 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32087 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32088 }
32089 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32090 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32091 }
32092 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32093 return (void *)((wxWindow *) ((wxMenuBar *) x));
32094 }
32095 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32096 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32097 }
32098 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32099 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32100 }
32101 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32102 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32103 }
32104 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32105 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32106 }
32107 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32108 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32109 }
32110 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32111 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32112 }
32113 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32114 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32115 }
32116 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32117 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32118 }
32119 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32120 return (void *)((wxWindow *) ((wxPanel *) x));
32121 }
32122 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32123 return (void *)((wxWindow *) ((wxStatusBar *) x));
32124 }
32125 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32126 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32127 }
32128 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32129 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32130 }
32131 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32132 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32133 }
32134 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32135 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32136 }
32137 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32138 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32139 }
32140 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32141 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32142 }
32143 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32144 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32145 }
32146 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32147 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32148 }
32149 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32150 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32151 }
32152 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32153 return (void *)((wxWindow *) ((wxSashWindow *) x));
32154 }
32155 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32156 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32157 }
32158 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32159 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32160 }
32161 static void *_p_wxControlTo_p_wxWindow(void *x) {
32162 return (void *)((wxWindow *) ((wxControl *) x));
32163 }
32164 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32165 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32166 }
32167 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32168 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32169 }
32170 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32171 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32172 }
32173 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32174 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32175 }
32176 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32177 return (void *)((wxWindow *) ((wxPyWindow *) x));
32178 }
32179 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32180 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32181 }
32182 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32183 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32184 }
32185 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32186 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32187 }
32188 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32189 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32190 }
32191 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32192 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32193 }
32194 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32195 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32196 }
32197 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32198 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32199 }
32200 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32201 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32202 }
32203 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32204 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32205 }
32206 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32207 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32208 }
32209 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32210 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32211 }
32212 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32213 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32214 }
32215 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32216 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32217 }
32218 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32219 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32220 }
32221 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32222 return (void *)((wxDialog *) ((wxColourDialog *) x));
32223 }
32224 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32225 return (void *)((wxDialog *) ((wxDirDialog *) x));
32226 }
32227 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32228 return (void *)((wxDialog *) ((wxFontDialog *) x));
32229 }
32230 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32231 return (void *)((wxDialog *) ((wxFileDialog *) x));
32232 }
32233 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32234 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32235 }
32236 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32237 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32238 }
32239 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32240 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32241 }
32242 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32243 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32244 }
32245 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32246 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32247 }
32248 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32249 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32250 }
32251 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32252 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32253 }
32254 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32255 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32256 }
32257 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32258 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32259 }
32260 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32261 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32262 }
32263 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32264 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32265 }
32266 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32267 return (void *)((wxPanel *) ((wxPyPanel *) x));
32268 }
32269 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32270 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32271 }
32272 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32273 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32274 }
32275 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32276 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32277 }
32278 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32279 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32280 }
32281 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32282 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32283 }
32284 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32285 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32286 }
32287 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32288 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32289 }
32290 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32291 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32292 }
32293 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32294 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32295 }
32296 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32297 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32298 }
32299 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32300 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32301 }
32302 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32303 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32304 }
32305 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32306 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32307 }
32308 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32309 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32310 }
32311 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32312 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32313 }
32314 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32315 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32316 }
32317 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32318 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32319 }
32320 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32321 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32322 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};
32323 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32324 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32325 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32326 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32327 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32328 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32330 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32335 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32336 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32337 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32338 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32339 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32340 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32341 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32342 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32343 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32344 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32345 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32346 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32348 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32349 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32350 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32351 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32352 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32353 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32354 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32355 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32356 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32357 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32358 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32359 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32360 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32361 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32362 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32363 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32364 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32365 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32366 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32367 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32368 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32369 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32370 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32371 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32372 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32373 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32374 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32375 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32376 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32377 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32378 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32380 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32381 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32382 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32383 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32384 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32385 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32386 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32387 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32388 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32389 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32390 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32391 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32393 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32394 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32395 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32396 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32397 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32398 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32399 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32400 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32401 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32402 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32403 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32404 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32405 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32406 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32407 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32408 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32409 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32410 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32411 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32412 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32413 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32414 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32415 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32416 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32417 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32418 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32419 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32420 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32421 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32422 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32423 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32424 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32425 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32426 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32427 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32428 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32429 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32430 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32431 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32432 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32433 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32434 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32435 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32436 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32437 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32438 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32439 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32440 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32441 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32442 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32443 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32444 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32445 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32446 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32447 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32448 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32449 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32450 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32451 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32452 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32453 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32454 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32455 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32456 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32457 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32458 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32459 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32460 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32461 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32462 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32463 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32464 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32465 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32466 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32467 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32471 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32472 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32473 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32474 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32475 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32476 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32477 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32478 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32479 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32480 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32481 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32482 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32483
32484 static swig_type_info *swig_type_initial[] = {
32485 &_swigt__p_bool,
32486 &_swigt__p_char,
32487 &_swigt__p_form_ops_t,
32488 &_swigt__p_int,
32489 &_swigt__p_unsigned_char,
32490 &_swigt__p_unsigned_int,
32491 &_swigt__p_unsigned_long,
32492 &_swigt__p_wxANIHandler,
32493 &_swigt__p_wxAcceleratorTable,
32494 &_swigt__p_wxActivateEvent,
32495 &_swigt__p_wxArrayInt,
32496 &_swigt__p_wxBMPHandler,
32497 &_swigt__p_wxBitmap,
32498 &_swigt__p_wxBoxSizer,
32499 &_swigt__p_wxCURHandler,
32500 &_swigt__p_wxCalculateLayoutEvent,
32501 &_swigt__p_wxChildFocusEvent,
32502 &_swigt__p_wxClipboardTextEvent,
32503 &_swigt__p_wxCloseEvent,
32504 &_swigt__p_wxColour,
32505 &_swigt__p_wxColourData,
32506 &_swigt__p_wxColourDialog,
32507 &_swigt__p_wxCommandEvent,
32508 &_swigt__p_wxContextMenuEvent,
32509 &_swigt__p_wxControl,
32510 &_swigt__p_wxControlWithItems,
32511 &_swigt__p_wxDC,
32512 &_swigt__p_wxDateEvent,
32513 &_swigt__p_wxDialog,
32514 &_swigt__p_wxDirDialog,
32515 &_swigt__p_wxDisplayChangedEvent,
32516 &_swigt__p_wxDropFilesEvent,
32517 &_swigt__p_wxDuplexMode,
32518 &_swigt__p_wxEraseEvent,
32519 &_swigt__p_wxEvent,
32520 &_swigt__p_wxEvtHandler,
32521 &_swigt__p_wxFSFile,
32522 &_swigt__p_wxFileDialog,
32523 &_swigt__p_wxFileSystem,
32524 &_swigt__p_wxFindDialogEvent,
32525 &_swigt__p_wxFindReplaceData,
32526 &_swigt__p_wxFindReplaceDialog,
32527 &_swigt__p_wxFlexGridSizer,
32528 &_swigt__p_wxFocusEvent,
32529 &_swigt__p_wxFont,
32530 &_swigt__p_wxFontData,
32531 &_swigt__p_wxFontDialog,
32532 &_swigt__p_wxFrame,
32533 &_swigt__p_wxGBSizerItem,
32534 &_swigt__p_wxGIFHandler,
32535 &_swigt__p_wxGridBagSizer,
32536 &_swigt__p_wxGridSizer,
32537 &_swigt__p_wxHtmlLinkInfo,
32538 &_swigt__p_wxICOHandler,
32539 &_swigt__p_wxIcon,
32540 &_swigt__p_wxIconBundle,
32541 &_swigt__p_wxIconizeEvent,
32542 &_swigt__p_wxIdleEvent,
32543 &_swigt__p_wxImage,
32544 &_swigt__p_wxImageHandler,
32545 &_swigt__p_wxIndividualLayoutConstraint,
32546 &_swigt__p_wxInitDialogEvent,
32547 &_swigt__p_wxJPEGHandler,
32548 &_swigt__p_wxKeyEvent,
32549 &_swigt__p_wxLayoutAlgorithm,
32550 &_swigt__p_wxLayoutConstraints,
32551 &_swigt__p_wxMDIChildFrame,
32552 &_swigt__p_wxMDIClientWindow,
32553 &_swigt__p_wxMDIParentFrame,
32554 &_swigt__p_wxMaximizeEvent,
32555 &_swigt__p_wxMenu,
32556 &_swigt__p_wxMenuBar,
32557 &_swigt__p_wxMenuEvent,
32558 &_swigt__p_wxMenuItem,
32559 &_swigt__p_wxMessageDialog,
32560 &_swigt__p_wxMiniFrame,
32561 &_swigt__p_wxMouseCaptureChangedEvent,
32562 &_swigt__p_wxMouseEvent,
32563 &_swigt__p_wxMoveEvent,
32564 &_swigt__p_wxMultiChoiceDialog,
32565 &_swigt__p_wxNavigationKeyEvent,
32566 &_swigt__p_wxNcPaintEvent,
32567 &_swigt__p_wxNotifyEvent,
32568 &_swigt__p_wxObject,
32569 &_swigt__p_wxPCXHandler,
32570 &_swigt__p_wxPNGHandler,
32571 &_swigt__p_wxPNMHandler,
32572 &_swigt__p_wxPageSetupDialog,
32573 &_swigt__p_wxPageSetupDialogData,
32574 &_swigt__p_wxPaintEvent,
32575 &_swigt__p_wxPaletteChangedEvent,
32576 &_swigt__p_wxPanel,
32577 &_swigt__p_wxPaperSize,
32578 &_swigt__p_wxPasswordEntryDialog,
32579 &_swigt__p_wxPoint,
32580 &_swigt__p_wxPopupWindow,
32581 &_swigt__p_wxPreviewCanvas,
32582 &_swigt__p_wxPreviewControlBar,
32583 &_swigt__p_wxPreviewFrame,
32584 &_swigt__p_wxPrintData,
32585 &_swigt__p_wxPrintDialog,
32586 &_swigt__p_wxPrintDialogData,
32587 &_swigt__p_wxPrintPreview,
32588 &_swigt__p_wxPrinter,
32589 &_swigt__p_wxProgressDialog,
32590 &_swigt__p_wxPyApp,
32591 &_swigt__p_wxPyCommandEvent,
32592 &_swigt__p_wxPyEvent,
32593 &_swigt__p_wxPyHtmlListBox,
32594 &_swigt__p_wxPyImageHandler,
32595 &_swigt__p_wxPyPanel,
32596 &_swigt__p_wxPyPopupTransientWindow,
32597 &_swigt__p_wxPyPreviewControlBar,
32598 &_swigt__p_wxPyPreviewFrame,
32599 &_swigt__p_wxPyPrintPreview,
32600 &_swigt__p_wxPyPrintout,
32601 &_swigt__p_wxPyScrolledWindow,
32602 &_swigt__p_wxPySizer,
32603 &_swigt__p_wxPyTaskBarIcon,
32604 &_swigt__p_wxPyVListBox,
32605 &_swigt__p_wxPyVScrolledWindow,
32606 &_swigt__p_wxPyValidator,
32607 &_swigt__p_wxPyWindow,
32608 &_swigt__p_wxQueryLayoutInfoEvent,
32609 &_swigt__p_wxQueryNewPaletteEvent,
32610 &_swigt__p_wxRect,
32611 &_swigt__p_wxRegion,
32612 &_swigt__p_wxSashEvent,
32613 &_swigt__p_wxSashLayoutWindow,
32614 &_swigt__p_wxSashWindow,
32615 &_swigt__p_wxScrollEvent,
32616 &_swigt__p_wxScrollWinEvent,
32617 &_swigt__p_wxScrolledWindow,
32618 &_swigt__p_wxSetCursorEvent,
32619 &_swigt__p_wxShowEvent,
32620 &_swigt__p_wxSingleChoiceDialog,
32621 &_swigt__p_wxSize,
32622 &_swigt__p_wxSizeEvent,
32623 &_swigt__p_wxSizer,
32624 &_swigt__p_wxSizerItem,
32625 &_swigt__p_wxSplashScreen,
32626 &_swigt__p_wxSplashScreenWindow,
32627 &_swigt__p_wxSplitterEvent,
32628 &_swigt__p_wxSplitterWindow,
32629 &_swigt__p_wxStaticBoxSizer,
32630 &_swigt__p_wxStatusBar,
32631 &_swigt__p_wxStdDialogButtonSizer,
32632 &_swigt__p_wxString,
32633 &_swigt__p_wxSysColourChangedEvent,
32634 &_swigt__p_wxTIFFHandler,
32635 &_swigt__p_wxTaskBarIcon,
32636 &_swigt__p_wxTaskBarIconEvent,
32637 &_swigt__p_wxTextEntryDialog,
32638 &_swigt__p_wxTipWindow,
32639 &_swigt__p_wxToolBar,
32640 &_swigt__p_wxTopLevelWindow,
32641 &_swigt__p_wxUpdateUIEvent,
32642 &_swigt__p_wxValidator,
32643 &_swigt__p_wxVisualAttributes,
32644 &_swigt__p_wxWindow,
32645 &_swigt__p_wxWindowCreateEvent,
32646 &_swigt__p_wxWindowDestroyEvent,
32647 &_swigt__p_wxXPMHandler,
32648 };
32649
32650 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32654 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32656 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32672 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}};
32673 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32681 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32682 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32716 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32717 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}};
32718 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32730 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}};
32731 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32734 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32738 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32739 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32748 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32762 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}};
32763 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32764 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32765 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32766 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}};
32767 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32768 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}};
32769 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}};
32770 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32771 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32772 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32773 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}};
32774 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32775 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32776 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32777 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32778 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}};
32779 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32781 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32782 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32783 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32784 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32785 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}};
32786 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}};
32787 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32789 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32790 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32791 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32792 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32793 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}};
32794 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32795 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}};
32796 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32797 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32798 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32799 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32800 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32803 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32804 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32807 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}};
32808 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32809 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32810 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32811 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32812 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32813
32814 static swig_cast_info *swig_cast_initial[] = {
32815 _swigc__p_bool,
32816 _swigc__p_char,
32817 _swigc__p_form_ops_t,
32818 _swigc__p_int,
32819 _swigc__p_unsigned_char,
32820 _swigc__p_unsigned_int,
32821 _swigc__p_unsigned_long,
32822 _swigc__p_wxANIHandler,
32823 _swigc__p_wxAcceleratorTable,
32824 _swigc__p_wxActivateEvent,
32825 _swigc__p_wxArrayInt,
32826 _swigc__p_wxBMPHandler,
32827 _swigc__p_wxBitmap,
32828 _swigc__p_wxBoxSizer,
32829 _swigc__p_wxCURHandler,
32830 _swigc__p_wxCalculateLayoutEvent,
32831 _swigc__p_wxChildFocusEvent,
32832 _swigc__p_wxClipboardTextEvent,
32833 _swigc__p_wxCloseEvent,
32834 _swigc__p_wxColour,
32835 _swigc__p_wxColourData,
32836 _swigc__p_wxColourDialog,
32837 _swigc__p_wxCommandEvent,
32838 _swigc__p_wxContextMenuEvent,
32839 _swigc__p_wxControl,
32840 _swigc__p_wxControlWithItems,
32841 _swigc__p_wxDC,
32842 _swigc__p_wxDateEvent,
32843 _swigc__p_wxDialog,
32844 _swigc__p_wxDirDialog,
32845 _swigc__p_wxDisplayChangedEvent,
32846 _swigc__p_wxDropFilesEvent,
32847 _swigc__p_wxDuplexMode,
32848 _swigc__p_wxEraseEvent,
32849 _swigc__p_wxEvent,
32850 _swigc__p_wxEvtHandler,
32851 _swigc__p_wxFSFile,
32852 _swigc__p_wxFileDialog,
32853 _swigc__p_wxFileSystem,
32854 _swigc__p_wxFindDialogEvent,
32855 _swigc__p_wxFindReplaceData,
32856 _swigc__p_wxFindReplaceDialog,
32857 _swigc__p_wxFlexGridSizer,
32858 _swigc__p_wxFocusEvent,
32859 _swigc__p_wxFont,
32860 _swigc__p_wxFontData,
32861 _swigc__p_wxFontDialog,
32862 _swigc__p_wxFrame,
32863 _swigc__p_wxGBSizerItem,
32864 _swigc__p_wxGIFHandler,
32865 _swigc__p_wxGridBagSizer,
32866 _swigc__p_wxGridSizer,
32867 _swigc__p_wxHtmlLinkInfo,
32868 _swigc__p_wxICOHandler,
32869 _swigc__p_wxIcon,
32870 _swigc__p_wxIconBundle,
32871 _swigc__p_wxIconizeEvent,
32872 _swigc__p_wxIdleEvent,
32873 _swigc__p_wxImage,
32874 _swigc__p_wxImageHandler,
32875 _swigc__p_wxIndividualLayoutConstraint,
32876 _swigc__p_wxInitDialogEvent,
32877 _swigc__p_wxJPEGHandler,
32878 _swigc__p_wxKeyEvent,
32879 _swigc__p_wxLayoutAlgorithm,
32880 _swigc__p_wxLayoutConstraints,
32881 _swigc__p_wxMDIChildFrame,
32882 _swigc__p_wxMDIClientWindow,
32883 _swigc__p_wxMDIParentFrame,
32884 _swigc__p_wxMaximizeEvent,
32885 _swigc__p_wxMenu,
32886 _swigc__p_wxMenuBar,
32887 _swigc__p_wxMenuEvent,
32888 _swigc__p_wxMenuItem,
32889 _swigc__p_wxMessageDialog,
32890 _swigc__p_wxMiniFrame,
32891 _swigc__p_wxMouseCaptureChangedEvent,
32892 _swigc__p_wxMouseEvent,
32893 _swigc__p_wxMoveEvent,
32894 _swigc__p_wxMultiChoiceDialog,
32895 _swigc__p_wxNavigationKeyEvent,
32896 _swigc__p_wxNcPaintEvent,
32897 _swigc__p_wxNotifyEvent,
32898 _swigc__p_wxObject,
32899 _swigc__p_wxPCXHandler,
32900 _swigc__p_wxPNGHandler,
32901 _swigc__p_wxPNMHandler,
32902 _swigc__p_wxPageSetupDialog,
32903 _swigc__p_wxPageSetupDialogData,
32904 _swigc__p_wxPaintEvent,
32905 _swigc__p_wxPaletteChangedEvent,
32906 _swigc__p_wxPanel,
32907 _swigc__p_wxPaperSize,
32908 _swigc__p_wxPasswordEntryDialog,
32909 _swigc__p_wxPoint,
32910 _swigc__p_wxPopupWindow,
32911 _swigc__p_wxPreviewCanvas,
32912 _swigc__p_wxPreviewControlBar,
32913 _swigc__p_wxPreviewFrame,
32914 _swigc__p_wxPrintData,
32915 _swigc__p_wxPrintDialog,
32916 _swigc__p_wxPrintDialogData,
32917 _swigc__p_wxPrintPreview,
32918 _swigc__p_wxPrinter,
32919 _swigc__p_wxProgressDialog,
32920 _swigc__p_wxPyApp,
32921 _swigc__p_wxPyCommandEvent,
32922 _swigc__p_wxPyEvent,
32923 _swigc__p_wxPyHtmlListBox,
32924 _swigc__p_wxPyImageHandler,
32925 _swigc__p_wxPyPanel,
32926 _swigc__p_wxPyPopupTransientWindow,
32927 _swigc__p_wxPyPreviewControlBar,
32928 _swigc__p_wxPyPreviewFrame,
32929 _swigc__p_wxPyPrintPreview,
32930 _swigc__p_wxPyPrintout,
32931 _swigc__p_wxPyScrolledWindow,
32932 _swigc__p_wxPySizer,
32933 _swigc__p_wxPyTaskBarIcon,
32934 _swigc__p_wxPyVListBox,
32935 _swigc__p_wxPyVScrolledWindow,
32936 _swigc__p_wxPyValidator,
32937 _swigc__p_wxPyWindow,
32938 _swigc__p_wxQueryLayoutInfoEvent,
32939 _swigc__p_wxQueryNewPaletteEvent,
32940 _swigc__p_wxRect,
32941 _swigc__p_wxRegion,
32942 _swigc__p_wxSashEvent,
32943 _swigc__p_wxSashLayoutWindow,
32944 _swigc__p_wxSashWindow,
32945 _swigc__p_wxScrollEvent,
32946 _swigc__p_wxScrollWinEvent,
32947 _swigc__p_wxScrolledWindow,
32948 _swigc__p_wxSetCursorEvent,
32949 _swigc__p_wxShowEvent,
32950 _swigc__p_wxSingleChoiceDialog,
32951 _swigc__p_wxSize,
32952 _swigc__p_wxSizeEvent,
32953 _swigc__p_wxSizer,
32954 _swigc__p_wxSizerItem,
32955 _swigc__p_wxSplashScreen,
32956 _swigc__p_wxSplashScreenWindow,
32957 _swigc__p_wxSplitterEvent,
32958 _swigc__p_wxSplitterWindow,
32959 _swigc__p_wxStaticBoxSizer,
32960 _swigc__p_wxStatusBar,
32961 _swigc__p_wxStdDialogButtonSizer,
32962 _swigc__p_wxString,
32963 _swigc__p_wxSysColourChangedEvent,
32964 _swigc__p_wxTIFFHandler,
32965 _swigc__p_wxTaskBarIcon,
32966 _swigc__p_wxTaskBarIconEvent,
32967 _swigc__p_wxTextEntryDialog,
32968 _swigc__p_wxTipWindow,
32969 _swigc__p_wxToolBar,
32970 _swigc__p_wxTopLevelWindow,
32971 _swigc__p_wxUpdateUIEvent,
32972 _swigc__p_wxValidator,
32973 _swigc__p_wxVisualAttributes,
32974 _swigc__p_wxWindow,
32975 _swigc__p_wxWindowCreateEvent,
32976 _swigc__p_wxWindowDestroyEvent,
32977 _swigc__p_wxXPMHandler,
32978 };
32979
32980
32981 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32982
32983 static swig_const_info swig_const_table[] = {
32984 {0, 0, 0, 0.0, 0, 0}};
32985
32986 #ifdef __cplusplus
32987 }
32988 #endif
32989 /* -----------------------------------------------------------------------------
32990 * Type initialization:
32991 * This problem is tough by the requirement that no dynamic
32992 * memory is used. Also, since swig_type_info structures store pointers to
32993 * swig_cast_info structures and swig_cast_info structures store pointers back
32994 * to swig_type_info structures, we need some lookup code at initialization.
32995 * The idea is that swig generates all the structures that are needed.
32996 * The runtime then collects these partially filled structures.
32997 * The SWIG_InitializeModule function takes these initial arrays out of
32998 * swig_module, and does all the lookup, filling in the swig_module.types
32999 * array with the correct data and linking the correct swig_cast_info
33000 * structures together.
33001 *
33002 * The generated swig_type_info structures are assigned staticly to an initial
33003 * array. We just loop though that array, and handle each type individually.
33004 * First we lookup if this type has been already loaded, and if so, use the
33005 * loaded structure instead of the generated one. Then we have to fill in the
33006 * cast linked list. The cast data is initially stored in something like a
33007 * two-dimensional array. Each row corresponds to a type (there are the same
33008 * number of rows as there are in the swig_type_initial array). Each entry in
33009 * a column is one of the swig_cast_info structures for that type.
33010 * The cast_initial array is actually an array of arrays, because each row has
33011 * a variable number of columns. So to actually build the cast linked list,
33012 * we find the array of casts associated with the type, and loop through it
33013 * adding the casts to the list. The one last trick we need to do is making
33014 * sure the type pointer in the swig_cast_info struct is correct.
33015 *
33016 * First off, we lookup the cast->type name to see if it is already loaded.
33017 * There are three cases to handle:
33018 * 1) If the cast->type has already been loaded AND the type we are adding
33019 * casting info to has not been loaded (it is in this module), THEN we
33020 * replace the cast->type pointer with the type pointer that has already
33021 * been loaded.
33022 * 2) If BOTH types (the one we are adding casting info to, and the
33023 * cast->type) are loaded, THEN the cast info has already been loaded by
33024 * the previous module so we just ignore it.
33025 * 3) Finally, if cast->type has not already been loaded, then we add that
33026 * swig_cast_info to the linked list (because the cast->type) pointer will
33027 * be correct.
33028 * ----------------------------------------------------------------------------- */
33029
33030 #ifdef __cplusplus
33031 extern "C" {
33032 #if 0
33033 } /* c-mode */
33034 #endif
33035 #endif
33036
33037 #if 0
33038 #define SWIGRUNTIME_DEBUG
33039 #endif
33040
33041 SWIGRUNTIME void
33042 SWIG_InitializeModule(void *clientdata) {
33043 size_t i;
33044 swig_module_info *module_head;
33045 static int init_run = 0;
33046
33047 clientdata = clientdata;
33048
33049 if (init_run) return;
33050 init_run = 1;
33051
33052 /* Initialize the swig_module */
33053 swig_module.type_initial = swig_type_initial;
33054 swig_module.cast_initial = swig_cast_initial;
33055
33056 /* Try and load any already created modules */
33057 module_head = SWIG_GetModule(clientdata);
33058 if (module_head) {
33059 swig_module.next = module_head->next;
33060 module_head->next = &swig_module;
33061 } else {
33062 /* This is the first module loaded */
33063 swig_module.next = &swig_module;
33064 SWIG_SetModule(clientdata, &swig_module);
33065 }
33066
33067 /* Now work on filling in swig_module.types */
33068 #ifdef SWIGRUNTIME_DEBUG
33069 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33070 #endif
33071 for (i = 0; i < swig_module.size; ++i) {
33072 swig_type_info *type = 0;
33073 swig_type_info *ret;
33074 swig_cast_info *cast;
33075
33076 #ifdef SWIGRUNTIME_DEBUG
33077 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33078 #endif
33079
33080 /* if there is another module already loaded */
33081 if (swig_module.next != &swig_module) {
33082 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33083 }
33084 if (type) {
33085 /* Overwrite clientdata field */
33086 #ifdef SWIGRUNTIME_DEBUG
33087 printf("SWIG_InitializeModule: found type %s\n", type->name);
33088 #endif
33089 if (swig_module.type_initial[i]->clientdata) {
33090 type->clientdata = swig_module.type_initial[i]->clientdata;
33091 #ifdef SWIGRUNTIME_DEBUG
33092 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33093 #endif
33094 }
33095 } else {
33096 type = swig_module.type_initial[i];
33097 }
33098
33099 /* Insert casting types */
33100 cast = swig_module.cast_initial[i];
33101 while (cast->type) {
33102 /* Don't need to add information already in the list */
33103 ret = 0;
33104 #ifdef SWIGRUNTIME_DEBUG
33105 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33106 #endif
33107 if (swig_module.next != &swig_module) {
33108 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33109 #ifdef SWIGRUNTIME_DEBUG
33110 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33111 #endif
33112 }
33113 if (ret) {
33114 if (type == swig_module.type_initial[i]) {
33115 #ifdef SWIGRUNTIME_DEBUG
33116 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33117 #endif
33118 cast->type = ret;
33119 ret = 0;
33120 } else {
33121 /* Check for casting already in the list */
33122 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33123 #ifdef SWIGRUNTIME_DEBUG
33124 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33125 #endif
33126 if (!ocast) ret = 0;
33127 }
33128 }
33129
33130 if (!ret) {
33131 #ifdef SWIGRUNTIME_DEBUG
33132 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33133 #endif
33134 if (type->cast) {
33135 type->cast->prev = cast;
33136 cast->next = type->cast;
33137 }
33138 type->cast = cast;
33139 }
33140 cast++;
33141 }
33142 /* Set entry in modules->types array equal to the type */
33143 swig_module.types[i] = type;
33144 }
33145 swig_module.types[i] = 0;
33146
33147 #ifdef SWIGRUNTIME_DEBUG
33148 printf("**** SWIG_InitializeModule: Cast List ******\n");
33149 for (i = 0; i < swig_module.size; ++i) {
33150 int j = 0;
33151 swig_cast_info *cast = swig_module.cast_initial[i];
33152 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33153 while (cast->type) {
33154 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33155 cast++;
33156 ++j;
33157 }
33158 printf("---- Total casts: %d\n",j);
33159 }
33160 printf("**** SWIG_InitializeModule: Cast List ******\n");
33161 #endif
33162 }
33163
33164 /* This function will propagate the clientdata field of type to
33165 * any new swig_type_info structures that have been added into the list
33166 * of equivalent types. It is like calling
33167 * SWIG_TypeClientData(type, clientdata) a second time.
33168 */
33169 SWIGRUNTIME void
33170 SWIG_PropagateClientData(void) {
33171 size_t i;
33172 swig_cast_info *equiv;
33173 static int init_run = 0;
33174
33175 if (init_run) return;
33176 init_run = 1;
33177
33178 for (i = 0; i < swig_module.size; i++) {
33179 if (swig_module.types[i]->clientdata) {
33180 equiv = swig_module.types[i]->cast;
33181 while (equiv) {
33182 if (!equiv->converter) {
33183 if (equiv->type && !equiv->type->clientdata)
33184 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33185 }
33186 equiv = equiv->next;
33187 }
33188 }
33189 }
33190 }
33191
33192 #ifdef __cplusplus
33193 #if 0
33194 {
33195 /* c-mode */
33196 #endif
33197 }
33198 #endif
33199
33200
33201
33202 #ifdef __cplusplus
33203 extern "C" {
33204 #endif
33205
33206 /* Python-specific SWIG API */
33207 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33208 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33209 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33210
33211 /* -----------------------------------------------------------------------------
33212 * global variable support code.
33213 * ----------------------------------------------------------------------------- */
33214
33215 typedef struct swig_globalvar {
33216 char *name; /* Name of global variable */
33217 PyObject *(*get_attr)(void); /* Return the current value */
33218 int (*set_attr)(PyObject *); /* Set the value */
33219 struct swig_globalvar *next;
33220 } swig_globalvar;
33221
33222 typedef struct swig_varlinkobject {
33223 PyObject_HEAD
33224 swig_globalvar *vars;
33225 } swig_varlinkobject;
33226
33227 SWIGINTERN PyObject *
33228 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33229 return PyString_FromString("<Swig global variables>");
33230 }
33231
33232 SWIGINTERN PyObject *
33233 swig_varlink_str(swig_varlinkobject *v) {
33234 PyObject *str = PyString_FromString("(");
33235 swig_globalvar *var;
33236 for (var = v->vars; var; var=var->next) {
33237 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33238 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33239 }
33240 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33241 return str;
33242 }
33243
33244 SWIGINTERN int
33245 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33246 PyObject *str = swig_varlink_str(v);
33247 fprintf(fp,"Swig global variables ");
33248 fprintf(fp,"%s\n", PyString_AsString(str));
33249 Py_DECREF(str);
33250 return 0;
33251 }
33252
33253 SWIGINTERN void
33254 swig_varlink_dealloc(swig_varlinkobject *v) {
33255 swig_globalvar *var = v->vars;
33256 while (var) {
33257 swig_globalvar *n = var->next;
33258 free(var->name);
33259 free(var);
33260 var = n;
33261 }
33262 }
33263
33264 SWIGINTERN PyObject *
33265 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33266 PyObject *res = NULL;
33267 swig_globalvar *var = v->vars;
33268 while (var) {
33269 if (strcmp(var->name,n) == 0) {
33270 res = (*var->get_attr)();
33271 break;
33272 }
33273 var = var->next;
33274 }
33275 if (res == NULL && !PyErr_Occurred()) {
33276 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33277 }
33278 return res;
33279 }
33280
33281 SWIGINTERN int
33282 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33283 int res = 1;
33284 swig_globalvar *var = v->vars;
33285 while (var) {
33286 if (strcmp(var->name,n) == 0) {
33287 res = (*var->set_attr)(p);
33288 break;
33289 }
33290 var = var->next;
33291 }
33292 if (res == 1 && !PyErr_Occurred()) {
33293 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33294 }
33295 return res;
33296 }
33297
33298 SWIGINTERN PyTypeObject*
33299 swig_varlink_type(void) {
33300 static char varlink__doc__[] = "Swig var link object";
33301 static PyTypeObject varlink_type;
33302 static int type_init = 0;
33303 if (!type_init) {
33304 const PyTypeObject tmp
33305 = {
33306 PyObject_HEAD_INIT(NULL)
33307 0, /* Number of items in variable part (ob_size) */
33308 (char *)"swigvarlink", /* Type name (tp_name) */
33309 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33310 0, /* Itemsize (tp_itemsize) */
33311 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33312 (printfunc) swig_varlink_print, /* Print (tp_print) */
33313 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33314 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33315 0, /* tp_compare */
33316 (reprfunc) swig_varlink_repr, /* tp_repr */
33317 0, /* tp_as_number */
33318 0, /* tp_as_sequence */
33319 0, /* tp_as_mapping */
33320 0, /* tp_hash */
33321 0, /* tp_call */
33322 (reprfunc)swig_varlink_str, /* tp_str */
33323 0, /* tp_getattro */
33324 0, /* tp_setattro */
33325 0, /* tp_as_buffer */
33326 0, /* tp_flags */
33327 varlink__doc__, /* tp_doc */
33328 0, /* tp_traverse */
33329 0, /* tp_clear */
33330 0, /* tp_richcompare */
33331 0, /* tp_weaklistoffset */
33332 #if PY_VERSION_HEX >= 0x02020000
33333 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33334 #endif
33335 #if PY_VERSION_HEX >= 0x02030000
33336 0, /* tp_del */
33337 #endif
33338 #ifdef COUNT_ALLOCS
33339 0,0,0,0 /* tp_alloc -> tp_next */
33340 #endif
33341 };
33342 varlink_type = tmp;
33343 varlink_type.ob_type = &PyType_Type;
33344 type_init = 1;
33345 }
33346 return &varlink_type;
33347 }
33348
33349 /* Create a variable linking object for use later */
33350 SWIGINTERN PyObject *
33351 SWIG_Python_newvarlink(void) {
33352 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33353 if (result) {
33354 result->vars = 0;
33355 }
33356 return ((PyObject*) result);
33357 }
33358
33359 SWIGINTERN void
33360 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33361 swig_varlinkobject *v = (swig_varlinkobject *) p;
33362 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33363 if (gv) {
33364 size_t size = strlen(name)+1;
33365 gv->name = (char *)malloc(size);
33366 if (gv->name) {
33367 strncpy(gv->name,name,size);
33368 gv->get_attr = get_attr;
33369 gv->set_attr = set_attr;
33370 gv->next = v->vars;
33371 }
33372 }
33373 v->vars = gv;
33374 }
33375
33376 SWIGINTERN PyObject *
33377 SWIG_globals() {
33378 static PyObject *_SWIG_globals = 0;
33379 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33380 return _SWIG_globals;
33381 }
33382
33383 /* -----------------------------------------------------------------------------
33384 * constants/methods manipulation
33385 * ----------------------------------------------------------------------------- */
33386
33387 /* Install Constants */
33388 SWIGINTERN void
33389 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33390 PyObject *obj = 0;
33391 size_t i;
33392 for (i = 0; constants[i].type; ++i) {
33393 switch(constants[i].type) {
33394 case SWIG_PY_POINTER:
33395 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33396 break;
33397 case SWIG_PY_BINARY:
33398 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33399 break;
33400 default:
33401 obj = 0;
33402 break;
33403 }
33404 if (obj) {
33405 PyDict_SetItemString(d, constants[i].name, obj);
33406 Py_DECREF(obj);
33407 }
33408 }
33409 }
33410
33411 /* -----------------------------------------------------------------------------*/
33412 /* Fix SwigMethods to carry the callback ptrs when needed */
33413 /* -----------------------------------------------------------------------------*/
33414
33415 SWIGINTERN void
33416 SWIG_Python_FixMethods(PyMethodDef *methods,
33417 swig_const_info *const_table,
33418 swig_type_info **types,
33419 swig_type_info **types_initial) {
33420 size_t i;
33421 for (i = 0; methods[i].ml_name; ++i) {
33422 char *c = methods[i].ml_doc;
33423 if (c && (c = strstr(c, "swig_ptr: "))) {
33424 int j;
33425 swig_const_info *ci = 0;
33426 char *name = c + 10;
33427 for (j = 0; const_table[j].type; ++j) {
33428 if (strncmp(const_table[j].name, name,
33429 strlen(const_table[j].name)) == 0) {
33430 ci = &(const_table[j]);
33431 break;
33432 }
33433 }
33434 if (ci) {
33435 size_t shift = (ci->ptype) - types;
33436 swig_type_info *ty = types_initial[shift];
33437 size_t ldoc = (c - methods[i].ml_doc);
33438 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33439 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33440 if (ndoc) {
33441 char *buff = ndoc;
33442 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33443 if (ptr) {
33444 strncpy(buff, methods[i].ml_doc, ldoc);
33445 buff += ldoc;
33446 strncpy(buff, "swig_ptr: ", 10);
33447 buff += 10;
33448 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33449 methods[i].ml_doc = ndoc;
33450 }
33451 }
33452 }
33453 }
33454 }
33455 }
33456
33457 #ifdef __cplusplus
33458 }
33459 #endif
33460
33461 /* -----------------------------------------------------------------------------*
33462 * Partial Init method
33463 * -----------------------------------------------------------------------------*/
33464
33465 #ifdef __cplusplus
33466 extern "C"
33467 #endif
33468 SWIGEXPORT void SWIG_init(void) {
33469 PyObject *m, *d;
33470
33471 /* Fix SwigMethods to carry the callback ptrs when needed */
33472 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33473
33474 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33475 d = PyModule_GetDict(m);
33476
33477 SWIG_InitializeModule(0);
33478 SWIG_InstallConstants(d,swig_const_table);
33479
33480
33481 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33482 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33483 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33484 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33485 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33486 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33487 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33488 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33489 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33490 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33491 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33492 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33493 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33494 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33495 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33496 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33497 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33498 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33499 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33500 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33501 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33502 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33503 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33504 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33505 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33506 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33507 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33508 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33509 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33510 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33511 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33512 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33513 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33514 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33515 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33516 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33517 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33518 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33519 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33520 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33521 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33522 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33523 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33524 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33525 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33526 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33527 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33528 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33529 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33530 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33531 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33532 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33533 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33534 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33535 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33536 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33537 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33538 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33539 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33540 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33541 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33542 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33543 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33544 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33545 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33546 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33547 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33548 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33549 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33550 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33551 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33552 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33553 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33554 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33555 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33556 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33557 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33558 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33559 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33560 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33561 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33562 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33563 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33564 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33565 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33566 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33567 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33568 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33569 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33570 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33571 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33572 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33573 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33574 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33575 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33576 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33577 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33578 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33579 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33580 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33581 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33582 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33583
33584 // Map renamed classes back to their common name for OOR
33585 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33586 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33587 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33588
33589 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33590 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33591 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33592 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33593 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33594 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33595 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33596 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33597 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33598 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33599 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33600 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33601 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33602 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33603 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33604 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33605 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33606 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33607 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33608 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33609 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33610 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
33611 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33612 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33613 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33614 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33615 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33616 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33617 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
33618 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33619 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33620 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33621 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33622 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33623 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33624 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33625 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33626 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33627 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33628 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33629 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33630 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33631 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33632 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33633 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33634 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33635 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33636 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33637 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33638 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33639 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33640 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33641 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33642 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33643 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33644 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33645 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33646 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33647 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33648 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33649 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33650 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33651 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33652 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33653 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33654 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33655 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33656 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33657 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33658 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33659 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33660 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33661 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33662 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33663 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33664 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33665 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33666 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33667 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33668 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33669 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33670 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33671 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33672 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33673 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33674 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33675 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33676 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33677 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33678 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33679 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33680 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33681 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33682 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33683
33684 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33685
33686 }
33687