]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49]
2512 #define SWIGTYPE_p_wxICOHandler swig_types[50]
2513 #define SWIGTYPE_p_wxIcon swig_types[51]
2514 #define SWIGTYPE_p_wxIconBundle swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2520 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2521 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2522 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2523 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2525 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2526 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2527 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxMenu swig_types[67]
2530 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2531 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2533 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2534 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2535 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2539 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxObject swig_types[80]
2543 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2544 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPanel swig_types[88]
2551 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2552 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2553 #define SWIGTYPE_p_wxPoint swig_types[91]
2554 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
2555 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
2558 #define SWIGTYPE_p_wxPrintData swig_types[96]
2559 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
2560 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
2561 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
2562 #define SWIGTYPE_p_wxPrinter swig_types[100]
2563 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPyPanel swig_types[107]
2570 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
2571 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
2572 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
2573 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
2574 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
2575 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
2578 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
2579 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
2580 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2581 #define SWIGTYPE_p_wxPyWindow swig_types[119]
2582 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
2583 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
2584 #define SWIGTYPE_p_wxRect swig_types[122]
2585 #define SWIGTYPE_p_wxRegion swig_types[123]
2586 #define SWIGTYPE_p_wxSashEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
2588 #define SWIGTYPE_p_wxSashWindow swig_types[126]
2589 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2590 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2591 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
2592 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
2593 #define SWIGTYPE_p_wxShowEvent swig_types[131]
2594 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
2595 #define SWIGTYPE_p_wxSize swig_types[133]
2596 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxSizerItem swig_types[136]
2599 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
2600 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
2601 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
2603 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
2604 #define SWIGTYPE_p_wxStatusBar swig_types[142]
2605 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2606 #define SWIGTYPE_p_wxString swig_types[144]
2607 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
2608 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
2609 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
2610 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
2612 #define SWIGTYPE_p_wxTipWindow swig_types[150]
2613 #define SWIGTYPE_p_wxToolBar swig_types[151]
2614 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
2616 #define SWIGTYPE_p_wxValidator swig_types[154]
2617 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
2618 #define SWIGTYPE_p_wxWindow swig_types[156]
2619 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
2622 static swig_type_info *swig_types[161];
2623 static swig_module_info swig_module = {swig_types, 160, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2626
2627 /* -------- TYPES TABLE (END) -------- */
2628
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2632 # endif
2633 #endif
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2636 #endif
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2639 #endif
2640 #ifndef METH_O
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2642 #endif
2643
2644 /*-----------------------------------------------
2645 @(target):= _windows_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_windows_
2648
2649 #define SWIG_name "_windows_"
2650
2651 #define SWIGVERSION 0x010329
2652
2653
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2656
2657
2658 #include <stdexcept>
2659
2660
2661 namespace swig {
2662 class PyObject_ptr {
2663 protected:
2664 PyObject *_obj;
2665
2666 public:
2667 PyObject_ptr() :_obj(0)
2668 {
2669 }
2670
2671 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2672 {
2673 Py_XINCREF(_obj);
2674 }
2675
2676 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2677 {
2678 if (initial_ref) Py_XINCREF(_obj);
2679 }
2680
2681 PyObject_ptr & operator=(const PyObject_ptr& item)
2682 {
2683 Py_XINCREF(item._obj);
2684 Py_XDECREF(_obj);
2685 _obj = item._obj;
2686 return *this;
2687 }
2688
2689 ~PyObject_ptr()
2690 {
2691 Py_XDECREF(_obj);
2692 }
2693
2694 operator PyObject *() const
2695 {
2696 return _obj;
2697 }
2698
2699 PyObject *operator->() const
2700 {
2701 return _obj;
2702 }
2703 };
2704 }
2705
2706
2707 namespace swig {
2708 struct PyObject_var : PyObject_ptr {
2709 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2710
2711 PyObject_var & operator = (PyObject* obj)
2712 {
2713 Py_XDECREF(_obj);
2714 _obj = obj;
2715 return *this;
2716 }
2717 };
2718 }
2719
2720
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2723
2724
2725 static const wxString wxPyEmptyString(wxEmptyString);
2726 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2727
2728
2729
2730 #include <limits.h>
2731 #ifndef LLONG_MIN
2732 # define LLONG_MIN LONG_LONG_MIN
2733 #endif
2734 #ifndef LLONG_MAX
2735 # define LLONG_MAX LONG_LONG_MAX
2736 #endif
2737 #ifndef ULLONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2739 #endif
2740
2741
2742 SWIGINTERN int
2743 SWIG_AsVal_long (PyObject* obj, long* val)
2744 {
2745 if (PyNumber_Check(obj)) {
2746 if (val) *val = PyInt_AsLong(obj);
2747 return SWIG_OK;
2748 }
2749 return SWIG_TypeError;
2750 }
2751
2752
2753 SWIGINTERN int
2754 SWIG_AsVal_int (PyObject * obj, int *val)
2755 {
2756 long v;
2757 int res = SWIG_AsVal_long (obj, &v);
2758 if (SWIG_IsOK(res)) {
2759 if ((v < INT_MIN || v > INT_MAX)) {
2760 return SWIG_OverflowError;
2761 } else {
2762 if (val) *val = static_cast< int >(v);
2763 }
2764 }
2765 return res;
2766 }
2767
2768
2769 SWIGINTERN int
2770 SWIG_AsVal_bool (PyObject *obj, bool *val)
2771 {
2772 if (obj == Py_True) {
2773 if (val) *val = true;
2774 return SWIG_OK;
2775 } else if (obj == Py_False) {
2776 if (val) *val = false;
2777 return SWIG_OK;
2778 } else {
2779 long v = 0;
2780 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2781 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2782 return res;
2783 }
2784 }
2785
2786
2787 #define SWIG_From_long PyInt_FromLong
2788
2789
2790 SWIGINTERNINLINE PyObject *
2791 SWIG_From_int (int value)
2792 {
2793 return SWIG_From_long (value);
2794 }
2795
2796
2797 SWIGINTERN int
2798 SWIG_AsVal_double (PyObject *obj, double* val)
2799 {
2800 if (PyNumber_Check(obj)) {
2801 if (val) *val = PyFloat_AsDouble(obj);
2802 return SWIG_OK;
2803 }
2804 return SWIG_TypeError;
2805 }
2806
2807
2808 #define SWIG_From_double PyFloat_FromDouble
2809
2810 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2811 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2812 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2813 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2814 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2815 int style = self->GetExtraStyle();
2816 if ( on )
2817 style |= wxFRAME_EX_METAL;
2818 else
2819 style &= ~wxFRAME_EX_METAL;
2820 self->SetExtraStyle(style);
2821 }
2822
2823
2824 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2825 wxRect r;
2826 self->GetFieldRect(i, r);
2827 return r;
2828 }
2829 static const wxString wxPySplitterNameStr(wxT("splitter"));
2830 static const wxString wxPySashNameStr(wxT("sashWindow"));
2831 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2832
2833 #include <wx/popupwin.h>
2834
2835
2836 class wxPopupWindow : public wxWindow {
2837 public:
2838 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2839 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2840 };
2841
2842 class wxPyPopupTransientWindow : public wxPopupWindow
2843 {
2844 public:
2845 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2846 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2847 };
2848
2849
2850 #include <wx/tipwin.h>
2851
2852 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2853 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2854 }
2855
2856 #include <wx/tipwin.h>
2857
2858
2859 #include <wx/vscroll.h>
2860
2861
2862 class wxPyVScrolledWindow : public wxVScrolledWindow
2863 {
2864 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2865 public:
2866 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2867
2868 wxPyVScrolledWindow(wxWindow *parent,
2869 wxWindowID id = wxID_ANY,
2870 const wxPoint& pos = wxDefaultPosition,
2871 const wxSize& size = wxDefaultSize,
2872 long style = 0,
2873 const wxString& name = wxPyPanelNameStr)
2874 : wxVScrolledWindow(parent, id, pos, size, style, name)
2875 {}
2876
2877 // Overridable virtuals
2878
2879 // this function must be overridden in the derived class and it should
2880 // return the height of the given line in pixels
2881 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2882
2883
2884 // this function doesn't have to be overridden but it may be useful to do
2885 // it if calculating the lines heights is a relatively expensive operation
2886 // as it gives the user code a possibility to calculate several of them at
2887 // once
2888 //
2889 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2890 // shouldn't rely on the latter being called for all lines in the interval
2891 // specified here. It is also possible that OnGetLineHeight() will be
2892 // called for the lines outside of this interval, so this is really just a
2893 // hint, not a promise.
2894 //
2895 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2896 // usual
2897 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2898
2899
2900 // when the number of lines changes, we try to estimate the total height
2901 // of all lines which is a rather expensive operation in terms of lines
2902 // access, so if the user code may estimate the average height
2903 // better/faster than we do, it should override this function to implement
2904 // its own logic
2905 //
2906 // this function should return the best guess for the total height it may
2907 // make
2908 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2909
2910
2911 // Also expose some other interesting protected methods
2912
2913
2914 // find the index of the line we need to show at the top of the window such
2915 // that the last (fully or partially) visible line is the given one
2916 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2917 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2918
2919 // get the total height of the lines between lineMin (inclusive) and
2920 // lineMax (exclusive)
2921 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2922 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2923
2924
2925 PYPRIVATE;
2926 };
2927
2928 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2929
2930 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2931 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2932 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2933
2934
2935 SWIGINTERN int
2936 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2937 {
2938 long v = 0;
2939 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2940 return SWIG_TypeError;
2941 }
2942 else if (val)
2943 *val = (unsigned long)v;
2944 return SWIG_OK;
2945 }
2946
2947
2948 SWIGINTERNINLINE int
2949 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2950 {
2951 unsigned long v;
2952 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2953 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2954 return res;
2955 }
2956
2957
2958 SWIGINTERNINLINE PyObject*
2959 SWIG_From_unsigned_SS_long (unsigned long value)
2960 {
2961 return (value > LONG_MAX) ?
2962 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2963 }
2964
2965
2966 SWIGINTERNINLINE PyObject *
2967 SWIG_From_size_t (size_t value)
2968 {
2969 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2970 }
2971
2972
2973 #include <wx/vlbox.h>
2974
2975 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2976
2977 class wxPyVListBox : public wxVListBox
2978 {
2979 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2980 public:
2981 wxPyVListBox() : wxVListBox() {}
2982
2983 wxPyVListBox(wxWindow *parent,
2984 wxWindowID id = wxID_ANY,
2985 const wxPoint& pos = wxDefaultPosition,
2986 const wxSize& size = wxDefaultSize,
2987 long style = 0,
2988 const wxString& name = wxPyVListBoxNameStr)
2989 : wxVListBox(parent, id, pos, size, style, name)
2990 {}
2991
2992 // Overridable virtuals
2993
2994 // the derived class must implement this function to actually draw the item
2995 // with the given index on the provided DC
2996 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2997 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2998
2999
3000 // the derived class must implement this method to return the height of the
3001 // specified item
3002 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3003 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3004
3005
3006 // this method may be used to draw separators between the lines; note that
3007 // the rectangle may be modified, typically to deflate it a bit before
3008 // passing to OnDrawItem()
3009 //
3010 // the base class version doesn't do anything
3011 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3012 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3013
3014
3015 // this method is used to draw the items background and, maybe, a border
3016 // around it
3017 //
3018 // the base class version implements a reasonable default behaviour which
3019 // consists in drawing the selected item with the standard background
3020 // colour and drawing a border around the item if it is either selected or
3021 // current
3022 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3023 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3024
3025
3026 PYPRIVATE;
3027 };
3028
3029 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3030
3031 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3032 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3033 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3034 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3035
3036
3037 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3038 unsigned long cookie = 0;
3039 int selected = self->GetFirstSelected(cookie);
3040 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3041 PyObject* tup = PyTuple_New(2);
3042 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3043 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3044 wxPyEndBlockThreads(blocked);
3045 return tup;
3046 }
3047 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3048 int selected = self->GetNextSelected(cookie);
3049 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3050 PyObject* tup = PyTuple_New(2);
3051 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3052 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3053 wxPyEndBlockThreads(blocked);
3054 return tup;
3055 }
3056
3057 #include <wx/htmllbox.h>
3058
3059
3060 class wxPyHtmlListBox : public wxHtmlListBox
3061 {
3062 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3063 public:
3064 wxPyHtmlListBox() : wxHtmlListBox() {}
3065
3066 wxPyHtmlListBox(wxWindow *parent,
3067 wxWindowID id = wxID_ANY,
3068 const wxPoint& pos = wxDefaultPosition,
3069 const wxSize& size = wxDefaultSize,
3070 long style = 0,
3071 const wxString& name = wxPyVListBoxNameStr)
3072 : wxHtmlListBox(parent, id, pos, size, style, name)
3073 {}
3074
3075 // Overridable virtuals
3076
3077 // this method must be implemented in the derived class and should return
3078 // the body (i.e. without <html>) of the HTML for the given item
3079 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3080
3081 // this function may be overridden to decorate HTML returned by OnGetItem()
3082 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3083
3084 // These are from wxVListBox
3085 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3086 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3087
3088 // TODO:
3089 // // this method allows to customize the selection appearance: it may be used
3090 // // to specify the colour of the text which normally has the given colour
3091 // // colFg when it is inside the selection
3092 // //
3093 // // by default, the original colour is not used at all and all text has the
3094 // // same (default for this system) colour inside selection
3095 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3096
3097 // // this is the same as GetSelectedTextColour() but allows to customize the
3098 // // background colour -- this is even more rarely used as you can change it
3099 // // globally using SetSelectionBackground()
3100 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3101
3102
3103 PYPRIVATE;
3104 };
3105
3106
3107 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3108
3109 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3110 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3111 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3112 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3113
3114
3115
3116
3117
3118 #ifndef wxHAS_TASK_BAR_ICON
3119 // implement dummy classes for platforms that don't have it
3120
3121 class wxTaskBarIcon : public wxEvtHandler
3122 {
3123 public:
3124 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3125 };
3126
3127
3128 class wxTaskBarIconEvent : public wxEvent
3129 {
3130 public:
3131 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3132 { wxPyRaiseNotImplemented(); }
3133 virtual wxEvent* Clone() const { return NULL; }
3134 bool IsOk() const { return false; }
3135 bool IsIconInstalled() const { return false; }
3136 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3137 bool RemoveIcon() { return false; }
3138 bool PopupMenu(wxMenu *menu) { return false; }
3139 };
3140
3141 enum {
3142 wxEVT_TASKBAR_MOVE = 0,
3143 wxEVT_TASKBAR_LEFT_DOWN = 0,
3144 wxEVT_TASKBAR_LEFT_UP = 0,
3145 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3146 wxEVT_TASKBAR_RIGHT_UP = 0,
3147 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3148 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3149 };
3150
3151
3152 #else
3153 // Otherwise make a class that can virtualize CreatePopupMenu
3154 class wxPyTaskBarIcon : public wxTaskBarIcon
3155 {
3156 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3157 public:
3158 wxPyTaskBarIcon() : wxTaskBarIcon()
3159 {}
3160
3161 wxMenu* CreatePopupMenu() {
3162 wxMenu *rval = NULL;
3163 bool found;
3164 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3165 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3166 PyObject* ro;
3167 wxMenu* ptr;
3168 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3169 if (ro) {
3170 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3171 rval = ptr;
3172 Py_DECREF(ro);
3173 }
3174 }
3175 wxPyEndBlockThreads(blocked);
3176 if (! found)
3177 rval = wxTaskBarIcon::CreatePopupMenu();
3178 return rval;
3179 }
3180
3181 PYPRIVATE;
3182 };
3183
3184 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3185
3186 #endif
3187
3188 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3189 self->RemoveIcon();
3190 delete self;
3191 }
3192 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3193 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3194 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3195 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3196 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3197 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3198 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3199 wxArrayString arr;
3200 self->GetFilenames(arr);
3201 return wxArrayString2PyList_helper(arr);
3202 }
3203 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3204 wxArrayString arr;
3205 self->GetPaths(arr);
3206 return wxArrayString2PyList_helper(arr);
3207 }
3208 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3209 return wxArrayInt2PyList_helper(self->GetSelections());
3210 }
3211 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){
3212 return new wxSingleChoiceDialog(parent, message, caption,
3213 choices, choices_array, NULL, style, pos);
3214 }
3215 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3216
3217 #include <wx/mdi.h>
3218
3219 // C++ version of Python aware wxWindow
3220 class wxPyWindow : public wxWindow
3221 {
3222 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3223 public:
3224 wxPyWindow() : wxWindow() {}
3225 wxPyWindow(wxWindow* parent, const wxWindowID id,
3226 const wxPoint& pos = wxDefaultPosition,
3227 const wxSize& size = wxDefaultSize,
3228 long style = 0,
3229 const wxString& name = wxPyPanelNameStr)
3230 : wxWindow(parent, id, pos, size, style, name) {}
3231
3232 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3233
3234 bool DoEraseBackground(wxDC* dc) {
3235 #ifdef __WXMSW__
3236 return wxWindow::DoEraseBackground(dc->GetHDC());
3237 #else
3238 dc->SetBackground(wxBrush(GetBackgroundColour()));
3239 dc->Clear();
3240 return true;
3241 #endif
3242 }
3243
3244 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3245 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3246 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3247 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3248
3249 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3250 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3251 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3252
3253 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3254 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3255
3256 DEC_PYCALLBACK__(InitDialog);
3257 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3258 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3259 DEC_PYCALLBACK_BOOL_(Validate);
3260
3261 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3262 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3263 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3264
3265 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3266 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3267
3268 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3269 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3270
3271 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3272
3273 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3274
3275 PYPRIVATE;
3276 };
3277
3278 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3279
3280 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3281 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3282 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3283 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3284
3285 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3286 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3287 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3288
3289 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3290 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3291
3292 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3293 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3294 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3295 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3296
3297 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3298 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3299 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3300
3301 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3302 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3303
3304 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3305 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3306
3307 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3308
3309 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3310
3311 // C++ version of Python aware wxPanel
3312 class wxPyPanel : public wxPanel
3313 {
3314 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3315 public:
3316 wxPyPanel() : wxPanel() {}
3317 wxPyPanel(wxWindow* parent, const wxWindowID id,
3318 const wxPoint& pos = wxDefaultPosition,
3319 const wxSize& size = wxDefaultSize,
3320 long style = 0,
3321 const wxString& name = wxPyPanelNameStr)
3322 : wxPanel(parent, id, pos, size, style, name) {}
3323
3324 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3325 bool DoEraseBackground(wxDC* dc) {
3326 #ifdef __WXMSW__
3327 return wxWindow::DoEraseBackground(dc->GetHDC());
3328 #else
3329 dc->SetBackground(wxBrush(GetBackgroundColour()));
3330 dc->Clear();
3331 return true;
3332 #endif
3333 }
3334
3335
3336 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3337 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3338 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3339 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3340
3341 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3342 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3343 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3344
3345 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3346 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3347
3348 DEC_PYCALLBACK__(InitDialog);
3349 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3350 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3351 DEC_PYCALLBACK_BOOL_(Validate);
3352
3353 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3354 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3355 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3356
3357 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3358 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3359
3360 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3361 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3362
3363 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3364
3365 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3366
3367 PYPRIVATE;
3368 };
3369
3370 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3371
3372 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3373 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3374 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3375 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3376
3377 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3378 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3379 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3380
3381 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3382 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3383
3384 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3385 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3386 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3387 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3388
3389 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3390 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3391 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3392
3393 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3394 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3395
3396 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3397 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3398
3399 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3400
3401 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3402
3403 // C++ version of Python aware wxScrolledWindow
3404 class wxPyScrolledWindow : public wxScrolledWindow
3405 {
3406 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3407 public:
3408 wxPyScrolledWindow() : wxScrolledWindow() {}
3409 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3410 const wxPoint& pos = wxDefaultPosition,
3411 const wxSize& size = wxDefaultSize,
3412 long style = 0,
3413 const wxString& name = wxPyPanelNameStr)
3414 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3415
3416 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3417 bool DoEraseBackground(wxDC* dc) {
3418 #ifdef __WXMSW__
3419 return wxWindow::DoEraseBackground(dc->GetHDC());
3420 #else
3421 dc->SetBackground(wxBrush(GetBackgroundColour()));
3422 dc->Clear();
3423 return true;
3424 #endif
3425 }
3426
3427 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3428 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3429 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3430 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3431
3432 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3433 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3434 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3435
3436 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3437 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3438
3439 DEC_PYCALLBACK__(InitDialog);
3440 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3441 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3442 DEC_PYCALLBACK_BOOL_(Validate);
3443
3444 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3445 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3446 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3447
3448 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3449 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3450
3451 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3452 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3453
3454 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3455
3456 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3457
3458 PYPRIVATE;
3459 };
3460
3461 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3462
3463 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3464 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3465 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3466 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3467
3468 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3469 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3470 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3471
3472 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3473 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3474
3475 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3476 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3477 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3478 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3479
3480 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3481 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3482 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3483
3484 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3485 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3486
3487 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3488 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3489
3490 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3491
3492 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3493
3494
3495 #include "wx/wxPython/printfw.h"
3496
3497
3498 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3499 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3500 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3501 PyObject* data;
3502 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3503 data = PyString_FromStringAndSize(self->GetPrivData(),
3504 self->GetPrivDataLen());
3505 wxPyEndBlockThreads(blocked);
3506 return data;
3507 }
3508 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3509 if (! PyString_Check(data)) {
3510 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3511 "Expected string object"));
3512 return /* NULL */ ;
3513 }
3514
3515 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3516 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3517 wxPyEndBlockThreads(blocked);
3518 }
3519
3520
3521 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3522
3523 // Since this one would be tough and ugly to do with the Macros...
3524 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3525 bool hadErr = false;
3526 bool found;
3527
3528 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3529 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3530 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3531 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3532 PyObject* val;
3533
3534 val = PyTuple_GetItem(result, 0);
3535 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3536 else hadErr = true;
3537
3538 val = PyTuple_GetItem(result, 1);
3539 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3540 else hadErr = true;
3541
3542 val = PyTuple_GetItem(result, 2);
3543 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3544 else hadErr = true;
3545
3546 val = PyTuple_GetItem(result, 3);
3547 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3548 else hadErr = true;
3549 }
3550 else
3551 hadErr = true;
3552
3553 if (hadErr) {
3554 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3555 PyErr_Print();
3556 }
3557 Py_DECREF(result);
3558 }
3559 wxPyEndBlockThreads(blocked);
3560 if (! found)
3561 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3562 }
3563
3564
3565
3566 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3567 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3568 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3569 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3570 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3571 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3572 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3573
3574
3575
3576
3577
3578 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3579 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3580
3581
3582 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3583 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3584 bool rval=false; \
3585 bool found; \
3586 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3587 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3588 PyObject* win = wxPyMake_wxObject(a,false); \
3589 PyObject* dc = wxPyMake_wxObject(&b,false); \
3590 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3591 Py_DECREF(win); \
3592 Py_DECREF(dc); \
3593 } \
3594 wxPyEndBlockThreads(blocked); \
3595 if (! found) \
3596 rval = PCLASS::CBNAME(a, b); \
3597 return rval; \
3598 }
3599
3600
3601
3602
3603 class wxPyPrintPreview : public wxPrintPreview
3604 {
3605 DECLARE_CLASS(wxPyPrintPreview)
3606 public:
3607 wxPyPrintPreview(wxPyPrintout* printout,
3608 wxPyPrintout* printoutForPrinting,
3609 wxPrintDialogData* data=NULL)
3610 : wxPrintPreview(printout, printoutForPrinting, data)
3611 {}
3612 wxPyPrintPreview(wxPyPrintout* printout,
3613 wxPyPrintout* printoutForPrinting,
3614 wxPrintData* data)
3615 : wxPrintPreview(printout, printoutForPrinting, data)
3616 {}
3617
3618 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3619 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3620 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3621 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3622 DEC_PYCALLBACK_VOID_INT(SetZoom);
3623 DEC_PYCALLBACK_BOOL_BOOL(Print);
3624 DEC_PYCALLBACK_VOID_(DetermineScaling);
3625
3626 PYPRIVATE;
3627 };
3628
3629 // Stupid renamed classes... Fix this in 2.5...
3630 #if defined(__WXMSW__)
3631 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3632 #elif defined(__WXMAC__)
3633 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3634 #else
3635 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3636 #endif
3637
3638 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3639 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3640 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3641 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3642 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3643 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3644 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3645
3646
3647 class wxPyPreviewFrame : public wxPreviewFrame
3648 {
3649 DECLARE_CLASS(wxPyPreviewFrame)
3650 public:
3651 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3652 const wxString& title,
3653 const wxPoint& pos = wxDefaultPosition,
3654 const wxSize& size = wxDefaultSize,
3655 long style = wxDEFAULT_FRAME_STYLE,
3656 const wxString& name = wxPyFrameNameStr)
3657 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3658 {}
3659
3660 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3661 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3662
3663 DEC_PYCALLBACK_VOID_(Initialize);
3664 DEC_PYCALLBACK_VOID_(CreateCanvas);
3665 DEC_PYCALLBACK_VOID_(CreateControlBar);
3666
3667 PYPRIVATE;
3668 };
3669
3670 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3671
3672 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3673 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3674 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3675
3676
3677 class wxPyPreviewControlBar : public wxPreviewControlBar
3678 {
3679 DECLARE_CLASS(wxPyPreviewControlBar)
3680 public:
3681 wxPyPreviewControlBar(wxPrintPreview *preview,
3682 long buttons,
3683 wxWindow *parent,
3684 const wxPoint& pos = wxDefaultPosition,
3685 const wxSize& size = wxDefaultSize,
3686 long style = 0,
3687 const wxString& name = wxPyPanelNameStr)
3688 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3689 {}
3690
3691 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3692
3693 DEC_PYCALLBACK_VOID_(CreateButtons);
3694 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3695
3696 PYPRIVATE;
3697 };
3698
3699 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3700 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3701 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3702
3703 #ifdef __cplusplus
3704 extern "C" {
3705 #endif
3706 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3707 PyObject *resultobj = 0;
3708 wxWindow *arg1 = (wxWindow *) 0 ;
3709 int arg2 = (int) (int)-1 ;
3710 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3711 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3712 wxSize const &arg4_defvalue = wxDefaultSize ;
3713 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3714 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3715 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3716 wxString *arg6 = (wxString *) &arg6_defvalue ;
3717 wxPanel *result = 0 ;
3718 void *argp1 = 0 ;
3719 int res1 = 0 ;
3720 int val2 ;
3721 int ecode2 = 0 ;
3722 wxPoint temp3 ;
3723 wxSize temp4 ;
3724 long val5 ;
3725 int ecode5 = 0 ;
3726 bool temp6 = false ;
3727 PyObject * obj0 = 0 ;
3728 PyObject * obj1 = 0 ;
3729 PyObject * obj2 = 0 ;
3730 PyObject * obj3 = 0 ;
3731 PyObject * obj4 = 0 ;
3732 PyObject * obj5 = 0 ;
3733 char * kwnames[] = {
3734 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3735 };
3736
3737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3739 if (!SWIG_IsOK(res1)) {
3740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3741 }
3742 arg1 = reinterpret_cast< wxWindow * >(argp1);
3743 if (obj1) {
3744 ecode2 = SWIG_AsVal_int(obj1, &val2);
3745 if (!SWIG_IsOK(ecode2)) {
3746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3747 }
3748 arg2 = static_cast< int >(val2);
3749 }
3750 if (obj2) {
3751 {
3752 arg3 = &temp3;
3753 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3754 }
3755 }
3756 if (obj3) {
3757 {
3758 arg4 = &temp4;
3759 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3760 }
3761 }
3762 if (obj4) {
3763 ecode5 = SWIG_AsVal_long(obj4, &val5);
3764 if (!SWIG_IsOK(ecode5)) {
3765 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3766 }
3767 arg5 = static_cast< long >(val5);
3768 }
3769 if (obj5) {
3770 {
3771 arg6 = wxString_in_helper(obj5);
3772 if (arg6 == NULL) SWIG_fail;
3773 temp6 = true;
3774 }
3775 }
3776 {
3777 if (!wxPyCheckForApp()) SWIG_fail;
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3780 wxPyEndAllowThreads(__tstate);
3781 if (PyErr_Occurred()) SWIG_fail;
3782 }
3783 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3784 {
3785 if (temp6)
3786 delete arg6;
3787 }
3788 return resultobj;
3789 fail:
3790 {
3791 if (temp6)
3792 delete arg6;
3793 }
3794 return NULL;
3795 }
3796
3797
3798 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3799 PyObject *resultobj = 0;
3800 wxPanel *result = 0 ;
3801
3802 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3803 {
3804 if (!wxPyCheckForApp()) SWIG_fail;
3805 PyThreadState* __tstate = wxPyBeginAllowThreads();
3806 result = (wxPanel *)new wxPanel();
3807 wxPyEndAllowThreads(__tstate);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 }
3810 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3811 return resultobj;
3812 fail:
3813 return NULL;
3814 }
3815
3816
3817 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3818 PyObject *resultobj = 0;
3819 wxPanel *arg1 = (wxPanel *) 0 ;
3820 wxWindow *arg2 = (wxWindow *) 0 ;
3821 int arg3 = (int) (int)-1 ;
3822 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3823 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3824 wxSize const &arg5_defvalue = wxDefaultSize ;
3825 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3826 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3827 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3828 wxString *arg7 = (wxString *) &arg7_defvalue ;
3829 bool result;
3830 void *argp1 = 0 ;
3831 int res1 = 0 ;
3832 void *argp2 = 0 ;
3833 int res2 = 0 ;
3834 int val3 ;
3835 int ecode3 = 0 ;
3836 wxPoint temp4 ;
3837 wxSize temp5 ;
3838 long val6 ;
3839 int ecode6 = 0 ;
3840 bool temp7 = false ;
3841 PyObject * obj0 = 0 ;
3842 PyObject * obj1 = 0 ;
3843 PyObject * obj2 = 0 ;
3844 PyObject * obj3 = 0 ;
3845 PyObject * obj4 = 0 ;
3846 PyObject * obj5 = 0 ;
3847 PyObject * obj6 = 0 ;
3848 char * kwnames[] = {
3849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3850 };
3851
3852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3854 if (!SWIG_IsOK(res1)) {
3855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3856 }
3857 arg1 = reinterpret_cast< wxPanel * >(argp1);
3858 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3859 if (!SWIG_IsOK(res2)) {
3860 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3861 }
3862 arg2 = reinterpret_cast< wxWindow * >(argp2);
3863 if (obj2) {
3864 ecode3 = SWIG_AsVal_int(obj2, &val3);
3865 if (!SWIG_IsOK(ecode3)) {
3866 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3867 }
3868 arg3 = static_cast< int >(val3);
3869 }
3870 if (obj3) {
3871 {
3872 arg4 = &temp4;
3873 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3874 }
3875 }
3876 if (obj4) {
3877 {
3878 arg5 = &temp5;
3879 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3880 }
3881 }
3882 if (obj5) {
3883 ecode6 = SWIG_AsVal_long(obj5, &val6);
3884 if (!SWIG_IsOK(ecode6)) {
3885 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3886 }
3887 arg6 = static_cast< long >(val6);
3888 }
3889 if (obj6) {
3890 {
3891 arg7 = wxString_in_helper(obj6);
3892 if (arg7 == NULL) SWIG_fail;
3893 temp7 = true;
3894 }
3895 }
3896 {
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
3898 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 {
3903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3904 }
3905 {
3906 if (temp7)
3907 delete arg7;
3908 }
3909 return resultobj;
3910 fail:
3911 {
3912 if (temp7)
3913 delete arg7;
3914 }
3915 return NULL;
3916 }
3917
3918
3919 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3920 PyObject *resultobj = 0;
3921 wxPanel *arg1 = (wxPanel *) 0 ;
3922 void *argp1 = 0 ;
3923 int res1 = 0 ;
3924 PyObject *swig_obj[1] ;
3925
3926 if (!args) SWIG_fail;
3927 swig_obj[0] = args;
3928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3929 if (!SWIG_IsOK(res1)) {
3930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3931 }
3932 arg1 = reinterpret_cast< wxPanel * >(argp1);
3933 {
3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
3935 (arg1)->SetFocusIgnoringChildren();
3936 wxPyEndAllowThreads(__tstate);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 }
3939 resultobj = SWIG_Py_Void();
3940 return resultobj;
3941 fail:
3942 return NULL;
3943 }
3944
3945
3946 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj = 0;
3948 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3949 SwigValueWrapper<wxVisualAttributes > result;
3950 int val1 ;
3951 int ecode1 = 0 ;
3952 PyObject * obj0 = 0 ;
3953 char * kwnames[] = {
3954 (char *) "variant", NULL
3955 };
3956
3957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3958 if (obj0) {
3959 ecode1 = SWIG_AsVal_int(obj0, &val1);
3960 if (!SWIG_IsOK(ecode1)) {
3961 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3962 }
3963 arg1 = static_cast< wxWindowVariant >(val1);
3964 }
3965 {
3966 if (!wxPyCheckForApp()) SWIG_fail;
3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
3968 result = wxPanel::GetClassDefaultAttributes(arg1);
3969 wxPyEndAllowThreads(__tstate);
3970 if (PyErr_Occurred()) SWIG_fail;
3971 }
3972 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3973 return resultobj;
3974 fail:
3975 return NULL;
3976 }
3977
3978
3979 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3980 PyObject *obj;
3981 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3982 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
3983 return SWIG_Py_Void();
3984 }
3985
3986 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3987 return SWIG_Python_InitShadowInstance(args);
3988 }
3989
3990 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3991 PyObject *resultobj = 0;
3992 wxWindow *arg1 = (wxWindow *) 0 ;
3993 int arg2 = (int) (int)-1 ;
3994 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3995 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3996 wxSize const &arg4_defvalue = wxDefaultSize ;
3997 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3998 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3999 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4000 wxString *arg6 = (wxString *) &arg6_defvalue ;
4001 wxScrolledWindow *result = 0 ;
4002 void *argp1 = 0 ;
4003 int res1 = 0 ;
4004 int val2 ;
4005 int ecode2 = 0 ;
4006 wxPoint temp3 ;
4007 wxSize temp4 ;
4008 long val5 ;
4009 int ecode5 = 0 ;
4010 bool temp6 = false ;
4011 PyObject * obj0 = 0 ;
4012 PyObject * obj1 = 0 ;
4013 PyObject * obj2 = 0 ;
4014 PyObject * obj3 = 0 ;
4015 PyObject * obj4 = 0 ;
4016 PyObject * obj5 = 0 ;
4017 char * kwnames[] = {
4018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4019 };
4020
4021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4023 if (!SWIG_IsOK(res1)) {
4024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4025 }
4026 arg1 = reinterpret_cast< wxWindow * >(argp1);
4027 if (obj1) {
4028 ecode2 = SWIG_AsVal_int(obj1, &val2);
4029 if (!SWIG_IsOK(ecode2)) {
4030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4031 }
4032 arg2 = static_cast< int >(val2);
4033 }
4034 if (obj2) {
4035 {
4036 arg3 = &temp3;
4037 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4038 }
4039 }
4040 if (obj3) {
4041 {
4042 arg4 = &temp4;
4043 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4044 }
4045 }
4046 if (obj4) {
4047 ecode5 = SWIG_AsVal_long(obj4, &val5);
4048 if (!SWIG_IsOK(ecode5)) {
4049 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4050 }
4051 arg5 = static_cast< long >(val5);
4052 }
4053 if (obj5) {
4054 {
4055 arg6 = wxString_in_helper(obj5);
4056 if (arg6 == NULL) SWIG_fail;
4057 temp6 = true;
4058 }
4059 }
4060 {
4061 if (!wxPyCheckForApp()) SWIG_fail;
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4064 wxPyEndAllowThreads(__tstate);
4065 if (PyErr_Occurred()) SWIG_fail;
4066 }
4067 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4068 {
4069 if (temp6)
4070 delete arg6;
4071 }
4072 return resultobj;
4073 fail:
4074 {
4075 if (temp6)
4076 delete arg6;
4077 }
4078 return NULL;
4079 }
4080
4081
4082 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4083 PyObject *resultobj = 0;
4084 wxScrolledWindow *result = 0 ;
4085
4086 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4087 {
4088 if (!wxPyCheckForApp()) SWIG_fail;
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 result = (wxScrolledWindow *)new wxScrolledWindow();
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj = 0;
4103 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4104 wxWindow *arg2 = (wxWindow *) 0 ;
4105 int arg3 = (int) (int)-1 ;
4106 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4107 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4108 wxSize const &arg5_defvalue = wxDefaultSize ;
4109 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4110 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4111 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4112 wxString *arg7 = (wxString *) &arg7_defvalue ;
4113 bool result;
4114 void *argp1 = 0 ;
4115 int res1 = 0 ;
4116 void *argp2 = 0 ;
4117 int res2 = 0 ;
4118 int val3 ;
4119 int ecode3 = 0 ;
4120 wxPoint temp4 ;
4121 wxSize temp5 ;
4122 long val6 ;
4123 int ecode6 = 0 ;
4124 bool temp7 = false ;
4125 PyObject * obj0 = 0 ;
4126 PyObject * obj1 = 0 ;
4127 PyObject * obj2 = 0 ;
4128 PyObject * obj3 = 0 ;
4129 PyObject * obj4 = 0 ;
4130 PyObject * obj5 = 0 ;
4131 PyObject * obj6 = 0 ;
4132 char * kwnames[] = {
4133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4134 };
4135
4136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4138 if (!SWIG_IsOK(res1)) {
4139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4140 }
4141 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4142 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4143 if (!SWIG_IsOK(res2)) {
4144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4145 }
4146 arg2 = reinterpret_cast< wxWindow * >(argp2);
4147 if (obj2) {
4148 ecode3 = SWIG_AsVal_int(obj2, &val3);
4149 if (!SWIG_IsOK(ecode3)) {
4150 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4151 }
4152 arg3 = static_cast< int >(val3);
4153 }
4154 if (obj3) {
4155 {
4156 arg4 = &temp4;
4157 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4158 }
4159 }
4160 if (obj4) {
4161 {
4162 arg5 = &temp5;
4163 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4164 }
4165 }
4166 if (obj5) {
4167 ecode6 = SWIG_AsVal_long(obj5, &val6);
4168 if (!SWIG_IsOK(ecode6)) {
4169 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4170 }
4171 arg6 = static_cast< long >(val6);
4172 }
4173 if (obj6) {
4174 {
4175 arg7 = wxString_in_helper(obj6);
4176 if (arg7 == NULL) SWIG_fail;
4177 temp7 = true;
4178 }
4179 }
4180 {
4181 PyThreadState* __tstate = wxPyBeginAllowThreads();
4182 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4183 wxPyEndAllowThreads(__tstate);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 {
4187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4188 }
4189 {
4190 if (temp7)
4191 delete arg7;
4192 }
4193 return resultobj;
4194 fail:
4195 {
4196 if (temp7)
4197 delete arg7;
4198 }
4199 return NULL;
4200 }
4201
4202
4203 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4204 PyObject *resultobj = 0;
4205 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4206 int arg2 ;
4207 int arg3 ;
4208 int arg4 ;
4209 int arg5 ;
4210 int arg6 = (int) 0 ;
4211 int arg7 = (int) 0 ;
4212 bool arg8 = (bool) false ;
4213 void *argp1 = 0 ;
4214 int res1 = 0 ;
4215 int val2 ;
4216 int ecode2 = 0 ;
4217 int val3 ;
4218 int ecode3 = 0 ;
4219 int val4 ;
4220 int ecode4 = 0 ;
4221 int val5 ;
4222 int ecode5 = 0 ;
4223 int val6 ;
4224 int ecode6 = 0 ;
4225 int val7 ;
4226 int ecode7 = 0 ;
4227 bool val8 ;
4228 int ecode8 = 0 ;
4229 PyObject * obj0 = 0 ;
4230 PyObject * obj1 = 0 ;
4231 PyObject * obj2 = 0 ;
4232 PyObject * obj3 = 0 ;
4233 PyObject * obj4 = 0 ;
4234 PyObject * obj5 = 0 ;
4235 PyObject * obj6 = 0 ;
4236 PyObject * obj7 = 0 ;
4237 char * kwnames[] = {
4238 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4239 };
4240
4241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4243 if (!SWIG_IsOK(res1)) {
4244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4245 }
4246 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4247 ecode2 = SWIG_AsVal_int(obj1, &val2);
4248 if (!SWIG_IsOK(ecode2)) {
4249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4250 }
4251 arg2 = static_cast< int >(val2);
4252 ecode3 = SWIG_AsVal_int(obj2, &val3);
4253 if (!SWIG_IsOK(ecode3)) {
4254 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4255 }
4256 arg3 = static_cast< int >(val3);
4257 ecode4 = SWIG_AsVal_int(obj3, &val4);
4258 if (!SWIG_IsOK(ecode4)) {
4259 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4260 }
4261 arg4 = static_cast< int >(val4);
4262 ecode5 = SWIG_AsVal_int(obj4, &val5);
4263 if (!SWIG_IsOK(ecode5)) {
4264 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4265 }
4266 arg5 = static_cast< int >(val5);
4267 if (obj5) {
4268 ecode6 = SWIG_AsVal_int(obj5, &val6);
4269 if (!SWIG_IsOK(ecode6)) {
4270 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4271 }
4272 arg6 = static_cast< int >(val6);
4273 }
4274 if (obj6) {
4275 ecode7 = SWIG_AsVal_int(obj6, &val7);
4276 if (!SWIG_IsOK(ecode7)) {
4277 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4278 }
4279 arg7 = static_cast< int >(val7);
4280 }
4281 if (obj7) {
4282 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4283 if (!SWIG_IsOK(ecode8)) {
4284 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4285 }
4286 arg8 = static_cast< bool >(val8);
4287 }
4288 {
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 resultobj = SWIG_Py_Void();
4295 return resultobj;
4296 fail:
4297 return NULL;
4298 }
4299
4300
4301 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj = 0;
4303 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4304 int arg2 ;
4305 int arg3 ;
4306 void *argp1 = 0 ;
4307 int res1 = 0 ;
4308 int val2 ;
4309 int ecode2 = 0 ;
4310 int val3 ;
4311 int ecode3 = 0 ;
4312 PyObject * obj0 = 0 ;
4313 PyObject * obj1 = 0 ;
4314 PyObject * obj2 = 0 ;
4315 char * kwnames[] = {
4316 (char *) "self",(char *) "x",(char *) "y", NULL
4317 };
4318
4319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4321 if (!SWIG_IsOK(res1)) {
4322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4323 }
4324 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4325 ecode2 = SWIG_AsVal_int(obj1, &val2);
4326 if (!SWIG_IsOK(ecode2)) {
4327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4328 }
4329 arg2 = static_cast< int >(val2);
4330 ecode3 = SWIG_AsVal_int(obj2, &val3);
4331 if (!SWIG_IsOK(ecode3)) {
4332 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4333 }
4334 arg3 = static_cast< int >(val3);
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 (arg1)->Scroll(arg2,arg3);
4338 wxPyEndAllowThreads(__tstate);
4339 if (PyErr_Occurred()) SWIG_fail;
4340 }
4341 resultobj = SWIG_Py_Void();
4342 return resultobj;
4343 fail:
4344 return NULL;
4345 }
4346
4347
4348 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4349 PyObject *resultobj = 0;
4350 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4351 int arg2 ;
4352 int result;
4353 void *argp1 = 0 ;
4354 int res1 = 0 ;
4355 int val2 ;
4356 int ecode2 = 0 ;
4357 PyObject * obj0 = 0 ;
4358 PyObject * obj1 = 0 ;
4359 char * kwnames[] = {
4360 (char *) "self",(char *) "orient", NULL
4361 };
4362
4363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4365 if (!SWIG_IsOK(res1)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4367 }
4368 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4369 ecode2 = SWIG_AsVal_int(obj1, &val2);
4370 if (!SWIG_IsOK(ecode2)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4372 }
4373 arg2 = static_cast< int >(val2);
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 resultobj = SWIG_From_int(static_cast< int >(result));
4381 return resultobj;
4382 fail:
4383 return NULL;
4384 }
4385
4386
4387 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4388 PyObject *resultobj = 0;
4389 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4390 int arg2 ;
4391 int arg3 ;
4392 void *argp1 = 0 ;
4393 int res1 = 0 ;
4394 int val2 ;
4395 int ecode2 = 0 ;
4396 int val3 ;
4397 int ecode3 = 0 ;
4398 PyObject * obj0 = 0 ;
4399 PyObject * obj1 = 0 ;
4400 PyObject * obj2 = 0 ;
4401 char * kwnames[] = {
4402 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4403 };
4404
4405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4407 if (!SWIG_IsOK(res1)) {
4408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4409 }
4410 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4411 ecode2 = SWIG_AsVal_int(obj1, &val2);
4412 if (!SWIG_IsOK(ecode2)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4414 }
4415 arg2 = static_cast< int >(val2);
4416 ecode3 = SWIG_AsVal_int(obj2, &val3);
4417 if (!SWIG_IsOK(ecode3)) {
4418 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4419 }
4420 arg3 = static_cast< int >(val3);
4421 {
4422 PyThreadState* __tstate = wxPyBeginAllowThreads();
4423 (arg1)->SetScrollPageSize(arg2,arg3);
4424 wxPyEndAllowThreads(__tstate);
4425 if (PyErr_Occurred()) SWIG_fail;
4426 }
4427 resultobj = SWIG_Py_Void();
4428 return resultobj;
4429 fail:
4430 return NULL;
4431 }
4432
4433
4434 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4435 PyObject *resultobj = 0;
4436 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4437 int arg2 ;
4438 int arg3 ;
4439 void *argp1 = 0 ;
4440 int res1 = 0 ;
4441 int val2 ;
4442 int ecode2 = 0 ;
4443 int val3 ;
4444 int ecode3 = 0 ;
4445 PyObject * obj0 = 0 ;
4446 PyObject * obj1 = 0 ;
4447 PyObject * obj2 = 0 ;
4448 char * kwnames[] = {
4449 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4450 };
4451
4452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4454 if (!SWIG_IsOK(res1)) {
4455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4456 }
4457 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4458 ecode2 = SWIG_AsVal_int(obj1, &val2);
4459 if (!SWIG_IsOK(ecode2)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4461 }
4462 arg2 = static_cast< int >(val2);
4463 ecode3 = SWIG_AsVal_int(obj2, &val3);
4464 if (!SWIG_IsOK(ecode3)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4466 }
4467 arg3 = static_cast< int >(val3);
4468 {
4469 PyThreadState* __tstate = wxPyBeginAllowThreads();
4470 (arg1)->SetScrollRate(arg2,arg3);
4471 wxPyEndAllowThreads(__tstate);
4472 if (PyErr_Occurred()) SWIG_fail;
4473 }
4474 resultobj = SWIG_Py_Void();
4475 return resultobj;
4476 fail:
4477 return NULL;
4478 }
4479
4480
4481 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4482 PyObject *resultobj = 0;
4483 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4484 int *arg2 = (int *) 0 ;
4485 int *arg3 = (int *) 0 ;
4486 void *argp1 = 0 ;
4487 int res1 = 0 ;
4488 int temp2 ;
4489 int res2 = SWIG_TMPOBJ ;
4490 int temp3 ;
4491 int res3 = SWIG_TMPOBJ ;
4492 PyObject *swig_obj[1] ;
4493
4494 arg2 = &temp2;
4495 arg3 = &temp3;
4496 if (!args) SWIG_fail;
4497 swig_obj[0] = args;
4498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4499 if (!SWIG_IsOK(res1)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4501 }
4502 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4503 {
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 resultobj = SWIG_Py_Void();
4510 if (SWIG_IsTmpObj(res2)) {
4511 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4512 } else {
4513 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4514 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4515 }
4516 if (SWIG_IsTmpObj(res3)) {
4517 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4518 } else {
4519 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4520 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4521 }
4522 return resultobj;
4523 fail:
4524 return NULL;
4525 }
4526
4527
4528 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj = 0;
4530 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4531 bool arg2 ;
4532 bool arg3 ;
4533 void *argp1 = 0 ;
4534 int res1 = 0 ;
4535 bool val2 ;
4536 int ecode2 = 0 ;
4537 bool val3 ;
4538 int ecode3 = 0 ;
4539 PyObject * obj0 = 0 ;
4540 PyObject * obj1 = 0 ;
4541 PyObject * obj2 = 0 ;
4542 char * kwnames[] = {
4543 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4544 };
4545
4546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4548 if (!SWIG_IsOK(res1)) {
4549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4550 }
4551 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4552 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4553 if (!SWIG_IsOK(ecode2)) {
4554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4555 }
4556 arg2 = static_cast< bool >(val2);
4557 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4558 if (!SWIG_IsOK(ecode3)) {
4559 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4560 }
4561 arg3 = static_cast< bool >(val3);
4562 {
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 (arg1)->EnableScrolling(arg2,arg3);
4565 wxPyEndAllowThreads(__tstate);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 }
4568 resultobj = SWIG_Py_Void();
4569 return resultobj;
4570 fail:
4571 return NULL;
4572 }
4573
4574
4575 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4576 PyObject *resultobj = 0;
4577 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4578 int *arg2 = (int *) 0 ;
4579 int *arg3 = (int *) 0 ;
4580 void *argp1 = 0 ;
4581 int res1 = 0 ;
4582 int temp2 ;
4583 int res2 = SWIG_TMPOBJ ;
4584 int temp3 ;
4585 int res3 = SWIG_TMPOBJ ;
4586 PyObject *swig_obj[1] ;
4587
4588 arg2 = &temp2;
4589 arg3 = &temp3;
4590 if (!args) SWIG_fail;
4591 swig_obj[0] = args;
4592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4593 if (!SWIG_IsOK(res1)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4595 }
4596 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4597 {
4598 PyThreadState* __tstate = wxPyBeginAllowThreads();
4599 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 }
4603 resultobj = SWIG_Py_Void();
4604 if (SWIG_IsTmpObj(res2)) {
4605 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4606 } else {
4607 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4608 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4609 }
4610 if (SWIG_IsTmpObj(res3)) {
4611 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4612 } else {
4613 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4614 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4615 }
4616 return resultobj;
4617 fail:
4618 return NULL;
4619 }
4620
4621
4622 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4623 PyObject *resultobj = 0;
4624 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4625 double arg2 ;
4626 double arg3 ;
4627 void *argp1 = 0 ;
4628 int res1 = 0 ;
4629 double val2 ;
4630 int ecode2 = 0 ;
4631 double val3 ;
4632 int ecode3 = 0 ;
4633 PyObject * obj0 = 0 ;
4634 PyObject * obj1 = 0 ;
4635 PyObject * obj2 = 0 ;
4636 char * kwnames[] = {
4637 (char *) "self",(char *) "xs",(char *) "ys", NULL
4638 };
4639
4640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4642 if (!SWIG_IsOK(res1)) {
4643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4644 }
4645 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4646 ecode2 = SWIG_AsVal_double(obj1, &val2);
4647 if (!SWIG_IsOK(ecode2)) {
4648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4649 }
4650 arg2 = static_cast< double >(val2);
4651 ecode3 = SWIG_AsVal_double(obj2, &val3);
4652 if (!SWIG_IsOK(ecode3)) {
4653 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4654 }
4655 arg3 = static_cast< double >(val3);
4656 {
4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
4658 (arg1)->SetScale(arg2,arg3);
4659 wxPyEndAllowThreads(__tstate);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 resultobj = SWIG_Py_Void();
4663 return resultobj;
4664 fail:
4665 return NULL;
4666 }
4667
4668
4669 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4670 PyObject *resultobj = 0;
4671 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4672 double result;
4673 void *argp1 = 0 ;
4674 int res1 = 0 ;
4675 PyObject *swig_obj[1] ;
4676
4677 if (!args) SWIG_fail;
4678 swig_obj[0] = args;
4679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4680 if (!SWIG_IsOK(res1)) {
4681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4682 }
4683 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4684 {
4685 PyThreadState* __tstate = wxPyBeginAllowThreads();
4686 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4687 wxPyEndAllowThreads(__tstate);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
4690 resultobj = SWIG_From_double(static_cast< double >(result));
4691 return resultobj;
4692 fail:
4693 return NULL;
4694 }
4695
4696
4697 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4698 PyObject *resultobj = 0;
4699 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4700 double result;
4701 void *argp1 = 0 ;
4702 int res1 = 0 ;
4703 PyObject *swig_obj[1] ;
4704
4705 if (!args) SWIG_fail;
4706 swig_obj[0] = args;
4707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4708 if (!SWIG_IsOK(res1)) {
4709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4710 }
4711 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4712 {
4713 PyThreadState* __tstate = wxPyBeginAllowThreads();
4714 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 resultobj = SWIG_From_double(static_cast< double >(result));
4719 return resultobj;
4720 fail:
4721 return NULL;
4722 }
4723
4724
4725 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4726 PyObject *resultobj = 0;
4727 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4728 wxPoint *arg2 = 0 ;
4729 wxPoint result;
4730 void *argp1 = 0 ;
4731 int res1 = 0 ;
4732 wxPoint temp2 ;
4733
4734 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4736 if (!SWIG_IsOK(res1)) {
4737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4738 }
4739 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4740 {
4741 arg2 = &temp2;
4742 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4743 }
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4751 return resultobj;
4752 fail:
4753 return NULL;
4754 }
4755
4756
4757 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4758 PyObject *resultobj = 0;
4759 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4760 int arg2 ;
4761 int arg3 ;
4762 int *arg4 = (int *) 0 ;
4763 int *arg5 = (int *) 0 ;
4764 void *argp1 = 0 ;
4765 int res1 = 0 ;
4766 int val2 ;
4767 int ecode2 = 0 ;
4768 int val3 ;
4769 int ecode3 = 0 ;
4770 int temp4 ;
4771 int res4 = SWIG_TMPOBJ ;
4772 int temp5 ;
4773 int res5 = SWIG_TMPOBJ ;
4774
4775 arg4 = &temp4;
4776 arg5 = &temp5;
4777 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4779 if (!SWIG_IsOK(res1)) {
4780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4781 }
4782 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4783 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4784 if (!SWIG_IsOK(ecode2)) {
4785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4786 }
4787 arg2 = static_cast< int >(val2);
4788 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4789 if (!SWIG_IsOK(ecode3)) {
4790 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4791 }
4792 arg3 = static_cast< int >(val3);
4793 {
4794 PyThreadState* __tstate = wxPyBeginAllowThreads();
4795 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4796 wxPyEndAllowThreads(__tstate);
4797 if (PyErr_Occurred()) SWIG_fail;
4798 }
4799 resultobj = SWIG_Py_Void();
4800 if (SWIG_IsTmpObj(res4)) {
4801 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4802 } else {
4803 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4804 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4805 }
4806 if (SWIG_IsTmpObj(res5)) {
4807 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4808 } else {
4809 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4810 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4811 }
4812 return resultobj;
4813 fail:
4814 return NULL;
4815 }
4816
4817
4818 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4819 int argc;
4820 PyObject *argv[4];
4821
4822 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4823 --argc;
4824 if (argc == 2) {
4825 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4826 }
4827 if (argc == 3) {
4828 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4829 }
4830
4831 fail:
4832 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4833 return NULL;
4834 }
4835
4836
4837 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4838 PyObject *resultobj = 0;
4839 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4840 wxPoint *arg2 = 0 ;
4841 wxPoint result;
4842 void *argp1 = 0 ;
4843 int res1 = 0 ;
4844 wxPoint temp2 ;
4845
4846 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4848 if (!SWIG_IsOK(res1)) {
4849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4850 }
4851 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4852 {
4853 arg2 = &temp2;
4854 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4855 }
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4862 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4863 return resultobj;
4864 fail:
4865 return NULL;
4866 }
4867
4868
4869 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4870 PyObject *resultobj = 0;
4871 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4872 int arg2 ;
4873 int arg3 ;
4874 int *arg4 = (int *) 0 ;
4875 int *arg5 = (int *) 0 ;
4876 void *argp1 = 0 ;
4877 int res1 = 0 ;
4878 int val2 ;
4879 int ecode2 = 0 ;
4880 int val3 ;
4881 int ecode3 = 0 ;
4882 int temp4 ;
4883 int res4 = SWIG_TMPOBJ ;
4884 int temp5 ;
4885 int res5 = SWIG_TMPOBJ ;
4886
4887 arg4 = &temp4;
4888 arg5 = &temp5;
4889 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4891 if (!SWIG_IsOK(res1)) {
4892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4893 }
4894 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4895 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4896 if (!SWIG_IsOK(ecode2)) {
4897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4898 }
4899 arg2 = static_cast< int >(val2);
4900 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4901 if (!SWIG_IsOK(ecode3)) {
4902 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4903 }
4904 arg3 = static_cast< int >(val3);
4905 {
4906 PyThreadState* __tstate = wxPyBeginAllowThreads();
4907 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4908 wxPyEndAllowThreads(__tstate);
4909 if (PyErr_Occurred()) SWIG_fail;
4910 }
4911 resultobj = SWIG_Py_Void();
4912 if (SWIG_IsTmpObj(res4)) {
4913 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4914 } else {
4915 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4916 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4917 }
4918 if (SWIG_IsTmpObj(res5)) {
4919 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4920 } else {
4921 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4922 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4923 }
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4931 int argc;
4932 PyObject *argv[4];
4933
4934 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4935 --argc;
4936 if (argc == 2) {
4937 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4938 }
4939 if (argc == 3) {
4940 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4941 }
4942
4943 fail:
4944 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4945 return NULL;
4946 }
4947
4948
4949 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4950 PyObject *resultobj = 0;
4951 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4952 void *argp1 = 0 ;
4953 int res1 = 0 ;
4954 PyObject *swig_obj[1] ;
4955
4956 if (!args) SWIG_fail;
4957 swig_obj[0] = args;
4958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4959 if (!SWIG_IsOK(res1)) {
4960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4961 }
4962 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4963 {
4964 PyThreadState* __tstate = wxPyBeginAllowThreads();
4965 (arg1)->AdjustScrollbars();
4966 wxPyEndAllowThreads(__tstate);
4967 if (PyErr_Occurred()) SWIG_fail;
4968 }
4969 resultobj = SWIG_Py_Void();
4970 return resultobj;
4971 fail:
4972 return NULL;
4973 }
4974
4975
4976 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4977 PyObject *resultobj = 0;
4978 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4979 wxScrollWinEvent *arg2 = 0 ;
4980 int result;
4981 void *argp1 = 0 ;
4982 int res1 = 0 ;
4983 void *argp2 = 0 ;
4984 int res2 = 0 ;
4985 PyObject * obj0 = 0 ;
4986 PyObject * obj1 = 0 ;
4987 char * kwnames[] = {
4988 (char *) "self",(char *) "event", NULL
4989 };
4990
4991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
4992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4993 if (!SWIG_IsOK(res1)) {
4994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4995 }
4996 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4997 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
4998 if (!SWIG_IsOK(res2)) {
4999 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5000 }
5001 if (!argp2) {
5002 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5003 }
5004 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 result = (int)(arg1)->CalcScrollInc(*arg2);
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 resultobj = SWIG_From_int(static_cast< int >(result));
5012 return resultobj;
5013 fail:
5014 return NULL;
5015 }
5016
5017
5018 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj = 0;
5020 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5021 wxWindow *arg2 = (wxWindow *) 0 ;
5022 void *argp1 = 0 ;
5023 int res1 = 0 ;
5024 void *argp2 = 0 ;
5025 int res2 = 0 ;
5026 PyObject * obj0 = 0 ;
5027 PyObject * obj1 = 0 ;
5028 char * kwnames[] = {
5029 (char *) "self",(char *) "target", NULL
5030 };
5031
5032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5034 if (!SWIG_IsOK(res1)) {
5035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5036 }
5037 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5038 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5039 if (!SWIG_IsOK(res2)) {
5040 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5041 }
5042 arg2 = reinterpret_cast< wxWindow * >(argp2);
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 (arg1)->SetTargetWindow(arg2);
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 resultobj = SWIG_Py_Void();
5050 return resultobj;
5051 fail:
5052 return NULL;
5053 }
5054
5055
5056 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5057 PyObject *resultobj = 0;
5058 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5059 wxWindow *result = 0 ;
5060 void *argp1 = 0 ;
5061 int res1 = 0 ;
5062 PyObject *swig_obj[1] ;
5063
5064 if (!args) SWIG_fail;
5065 swig_obj[0] = args;
5066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5067 if (!SWIG_IsOK(res1)) {
5068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5069 }
5070 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5071 {
5072 PyThreadState* __tstate = wxPyBeginAllowThreads();
5073 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5074 wxPyEndAllowThreads(__tstate);
5075 if (PyErr_Occurred()) SWIG_fail;
5076 }
5077 {
5078 resultobj = wxPyMake_wxObject(result, 0);
5079 }
5080 return resultobj;
5081 fail:
5082 return NULL;
5083 }
5084
5085
5086 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5087 PyObject *resultobj = 0;
5088 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5089 wxRect *arg2 = 0 ;
5090 void *argp1 = 0 ;
5091 int res1 = 0 ;
5092 wxRect temp2 ;
5093 PyObject * obj0 = 0 ;
5094 PyObject * obj1 = 0 ;
5095 char * kwnames[] = {
5096 (char *) "self",(char *) "rect", NULL
5097 };
5098
5099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5101 if (!SWIG_IsOK(res1)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5103 }
5104 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5105 {
5106 arg2 = &temp2;
5107 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5108 }
5109 {
5110 PyThreadState* __tstate = wxPyBeginAllowThreads();
5111 (arg1)->SetTargetRect((wxRect const &)*arg2);
5112 wxPyEndAllowThreads(__tstate);
5113 if (PyErr_Occurred()) SWIG_fail;
5114 }
5115 resultobj = SWIG_Py_Void();
5116 return resultobj;
5117 fail:
5118 return NULL;
5119 }
5120
5121
5122 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5123 PyObject *resultobj = 0;
5124 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5125 wxRect result;
5126 void *argp1 = 0 ;
5127 int res1 = 0 ;
5128 PyObject *swig_obj[1] ;
5129
5130 if (!args) SWIG_fail;
5131 swig_obj[0] = args;
5132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5133 if (!SWIG_IsOK(res1)) {
5134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5135 }
5136 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5137 {
5138 PyThreadState* __tstate = wxPyBeginAllowThreads();
5139 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5140 wxPyEndAllowThreads(__tstate);
5141 if (PyErr_Occurred()) SWIG_fail;
5142 }
5143 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5144 return resultobj;
5145 fail:
5146 return NULL;
5147 }
5148
5149
5150 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5151 PyObject *resultobj = 0;
5152 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5153 wxDC *arg2 = 0 ;
5154 void *argp1 = 0 ;
5155 int res1 = 0 ;
5156 void *argp2 = 0 ;
5157 int res2 = 0 ;
5158 PyObject * obj0 = 0 ;
5159 PyObject * obj1 = 0 ;
5160 char * kwnames[] = {
5161 (char *) "self",(char *) "dc", NULL
5162 };
5163
5164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5166 if (!SWIG_IsOK(res1)) {
5167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5168 }
5169 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5170 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5171 if (!SWIG_IsOK(res2)) {
5172 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5173 }
5174 if (!argp2) {
5175 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5176 }
5177 arg2 = reinterpret_cast< wxDC * >(argp2);
5178 {
5179 PyThreadState* __tstate = wxPyBeginAllowThreads();
5180 (arg1)->DoPrepareDC(*arg2);
5181 wxPyEndAllowThreads(__tstate);
5182 if (PyErr_Occurred()) SWIG_fail;
5183 }
5184 resultobj = SWIG_Py_Void();
5185 return resultobj;
5186 fail:
5187 return NULL;
5188 }
5189
5190
5191 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5192 PyObject *resultobj = 0;
5193 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5194 SwigValueWrapper<wxVisualAttributes > result;
5195 int val1 ;
5196 int ecode1 = 0 ;
5197 PyObject * obj0 = 0 ;
5198 char * kwnames[] = {
5199 (char *) "variant", NULL
5200 };
5201
5202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5203 if (obj0) {
5204 ecode1 = SWIG_AsVal_int(obj0, &val1);
5205 if (!SWIG_IsOK(ecode1)) {
5206 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5207 }
5208 arg1 = static_cast< wxWindowVariant >(val1);
5209 }
5210 {
5211 if (!wxPyCheckForApp()) SWIG_fail;
5212 PyThreadState* __tstate = wxPyBeginAllowThreads();
5213 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5218 return resultobj;
5219 fail:
5220 return NULL;
5221 }
5222
5223
5224 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5225 PyObject *obj;
5226 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5227 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5228 return SWIG_Py_Void();
5229 }
5230
5231 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5232 return SWIG_Python_InitShadowInstance(args);
5233 }
5234
5235 SWIGINTERN int FrameNameStr_set(PyObject *) {
5236 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5237 return 1;
5238 }
5239
5240
5241 SWIGINTERN PyObject *FrameNameStr_get(void) {
5242 PyObject *pyobj = 0;
5243
5244 {
5245 #if wxUSE_UNICODE
5246 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5247 #else
5248 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5249 #endif
5250 }
5251 return pyobj;
5252 }
5253
5254
5255 SWIGINTERN int DialogNameStr_set(PyObject *) {
5256 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5257 return 1;
5258 }
5259
5260
5261 SWIGINTERN PyObject *DialogNameStr_get(void) {
5262 PyObject *pyobj = 0;
5263
5264 {
5265 #if wxUSE_UNICODE
5266 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5267 #else
5268 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5269 #endif
5270 }
5271 return pyobj;
5272 }
5273
5274
5275 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5276 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5277 return 1;
5278 }
5279
5280
5281 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5282 PyObject *pyobj = 0;
5283
5284 {
5285 #if wxUSE_UNICODE
5286 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5287 #else
5288 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5289 #endif
5290 }
5291 return pyobj;
5292 }
5293
5294
5295 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5296 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5297 return 1;
5298 }
5299
5300
5301 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5302 PyObject *pyobj = 0;
5303
5304 {
5305 #if wxUSE_UNICODE
5306 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5307 #else
5308 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5309 #endif
5310 }
5311 return pyobj;
5312 }
5313
5314
5315 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5316 PyObject *resultobj = 0;
5317 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5318 bool arg2 = (bool) true ;
5319 void *argp1 = 0 ;
5320 int res1 = 0 ;
5321 bool val2 ;
5322 int ecode2 = 0 ;
5323 PyObject * obj0 = 0 ;
5324 PyObject * obj1 = 0 ;
5325 char * kwnames[] = {
5326 (char *) "self",(char *) "maximize", NULL
5327 };
5328
5329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5331 if (!SWIG_IsOK(res1)) {
5332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5333 }
5334 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5335 if (obj1) {
5336 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5337 if (!SWIG_IsOK(ecode2)) {
5338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5339 }
5340 arg2 = static_cast< bool >(val2);
5341 }
5342 {
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 (arg1)->Maximize(arg2);
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 resultobj = SWIG_Py_Void();
5349 return resultobj;
5350 fail:
5351 return NULL;
5352 }
5353
5354
5355 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5356 PyObject *resultobj = 0;
5357 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5358 void *argp1 = 0 ;
5359 int res1 = 0 ;
5360 PyObject *swig_obj[1] ;
5361
5362 if (!args) SWIG_fail;
5363 swig_obj[0] = args;
5364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5365 if (!SWIG_IsOK(res1)) {
5366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5367 }
5368 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 (arg1)->Restore();
5372 wxPyEndAllowThreads(__tstate);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 resultobj = SWIG_Py_Void();
5376 return resultobj;
5377 fail:
5378 return NULL;
5379 }
5380
5381
5382 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5383 PyObject *resultobj = 0;
5384 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5385 bool arg2 = (bool) true ;
5386 void *argp1 = 0 ;
5387 int res1 = 0 ;
5388 bool val2 ;
5389 int ecode2 = 0 ;
5390 PyObject * obj0 = 0 ;
5391 PyObject * obj1 = 0 ;
5392 char * kwnames[] = {
5393 (char *) "self",(char *) "iconize", NULL
5394 };
5395
5396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5398 if (!SWIG_IsOK(res1)) {
5399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5400 }
5401 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5402 if (obj1) {
5403 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5404 if (!SWIG_IsOK(ecode2)) {
5405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5406 }
5407 arg2 = static_cast< bool >(val2);
5408 }
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 (arg1)->Iconize(arg2);
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 resultobj = SWIG_Py_Void();
5416 return resultobj;
5417 fail:
5418 return NULL;
5419 }
5420
5421
5422 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(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_IsMaximized" "', 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)->IsMaximized();
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 const *)arg1)->MacGetMetalAppearance();
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 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
12939 wxPyEndAllowThreads(__tstate);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 }
12942 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
12943 return resultobj;
12944 fail:
12945 return NULL;
12946 }
12947
12948
12949 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12950 PyObject *resultobj = 0;
12951 wxPopupWindow *result = 0 ;
12952
12953 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 result = (wxPopupWindow *)new wxPopupWindow();
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
12960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
12961 return resultobj;
12962 fail:
12963 return NULL;
12964 }
12965
12966
12967 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12968 PyObject *obj;
12969 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12970 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
12971 return SWIG_Py_Void();
12972 }
12973
12974 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12975 return SWIG_Python_InitShadowInstance(args);
12976 }
12977
12978 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12979 PyObject *resultobj = 0;
12980 wxWindow *arg1 = (wxWindow *) 0 ;
12981 int arg2 = (int) wxBORDER_NONE ;
12982 wxPyPopupTransientWindow *result = 0 ;
12983 void *argp1 = 0 ;
12984 int res1 = 0 ;
12985 int val2 ;
12986 int ecode2 = 0 ;
12987 PyObject * obj0 = 0 ;
12988 PyObject * obj1 = 0 ;
12989 char * kwnames[] = {
12990 (char *) "parent",(char *) "style", NULL
12991 };
12992
12993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12995 if (!SWIG_IsOK(res1)) {
12996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12997 }
12998 arg1 = reinterpret_cast< wxWindow * >(argp1);
12999 if (obj1) {
13000 ecode2 = SWIG_AsVal_int(obj1, &val2);
13001 if (!SWIG_IsOK(ecode2)) {
13002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13003 }
13004 arg2 = static_cast< int >(val2);
13005 }
13006 {
13007 PyThreadState* __tstate = wxPyBeginAllowThreads();
13008 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
13012 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13013 return resultobj;
13014 fail:
13015 return NULL;
13016 }
13017
13018
13019 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13020 PyObject *resultobj = 0;
13021 wxPyPopupTransientWindow *result = 0 ;
13022
13023 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13024 {
13025 PyThreadState* __tstate = wxPyBeginAllowThreads();
13026 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13031 return resultobj;
13032 fail:
13033 return NULL;
13034 }
13035
13036
13037 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13038 PyObject *obj;
13039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13041 return SWIG_Py_Void();
13042 }
13043
13044 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13045 return SWIG_Python_InitShadowInstance(args);
13046 }
13047
13048 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj = 0;
13050 wxWindow *arg1 = (wxWindow *) 0 ;
13051 wxString *arg2 = 0 ;
13052 int arg3 = (int) 100 ;
13053 wxRect *arg4 = (wxRect *) NULL ;
13054 wxTipWindow *result = 0 ;
13055 void *argp1 = 0 ;
13056 int res1 = 0 ;
13057 bool temp2 = false ;
13058 int val3 ;
13059 int ecode3 = 0 ;
13060 void *argp4 = 0 ;
13061 int res4 = 0 ;
13062 PyObject * obj0 = 0 ;
13063 PyObject * obj1 = 0 ;
13064 PyObject * obj2 = 0 ;
13065 PyObject * obj3 = 0 ;
13066 char * kwnames[] = {
13067 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13068 };
13069
13070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13072 if (!SWIG_IsOK(res1)) {
13073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13074 }
13075 arg1 = reinterpret_cast< wxWindow * >(argp1);
13076 {
13077 arg2 = wxString_in_helper(obj1);
13078 if (arg2 == NULL) SWIG_fail;
13079 temp2 = true;
13080 }
13081 if (obj2) {
13082 ecode3 = SWIG_AsVal_int(obj2, &val3);
13083 if (!SWIG_IsOK(ecode3)) {
13084 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13085 }
13086 arg3 = static_cast< int >(val3);
13087 }
13088 if (obj3) {
13089 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13090 if (!SWIG_IsOK(res4)) {
13091 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13092 }
13093 arg4 = reinterpret_cast< wxRect * >(argp4);
13094 }
13095 {
13096 if (!wxPyCheckForApp()) SWIG_fail;
13097 PyThreadState* __tstate = wxPyBeginAllowThreads();
13098 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13099 wxPyEndAllowThreads(__tstate);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
13102 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13103 {
13104 if (temp2)
13105 delete arg2;
13106 }
13107 return resultobj;
13108 fail:
13109 {
13110 if (temp2)
13111 delete arg2;
13112 }
13113 return NULL;
13114 }
13115
13116
13117 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13118 PyObject *resultobj = 0;
13119 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13120 wxRect *arg2 = 0 ;
13121 void *argp1 = 0 ;
13122 int res1 = 0 ;
13123 wxRect temp2 ;
13124 PyObject * obj0 = 0 ;
13125 PyObject * obj1 = 0 ;
13126 char * kwnames[] = {
13127 (char *) "self",(char *) "rectBound", NULL
13128 };
13129
13130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13132 if (!SWIG_IsOK(res1)) {
13133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13134 }
13135 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13136 {
13137 arg2 = &temp2;
13138 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13139 }
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 resultobj = SWIG_Py_Void();
13147 return resultobj;
13148 fail:
13149 return NULL;
13150 }
13151
13152
13153 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13154 PyObject *resultobj = 0;
13155 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13156 void *argp1 = 0 ;
13157 int res1 = 0 ;
13158 PyObject *swig_obj[1] ;
13159
13160 if (!args) SWIG_fail;
13161 swig_obj[0] = args;
13162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13163 if (!SWIG_IsOK(res1)) {
13164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13165 }
13166 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 (arg1)->Close();
13170 wxPyEndAllowThreads(__tstate);
13171 if (PyErr_Occurred()) SWIG_fail;
13172 }
13173 resultobj = SWIG_Py_Void();
13174 return resultobj;
13175 fail:
13176 return NULL;
13177 }
13178
13179
13180 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13181 PyObject *obj;
13182 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13183 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13184 return SWIG_Py_Void();
13185 }
13186
13187 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13188 return SWIG_Python_InitShadowInstance(args);
13189 }
13190
13191 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj = 0;
13193 wxWindow *arg1 = (wxWindow *) 0 ;
13194 int arg2 = (int) wxID_ANY ;
13195 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13196 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13197 wxSize const &arg4_defvalue = wxDefaultSize ;
13198 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13199 long arg5 = (long) 0 ;
13200 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13201 wxString *arg6 = (wxString *) &arg6_defvalue ;
13202 wxPyVScrolledWindow *result = 0 ;
13203 void *argp1 = 0 ;
13204 int res1 = 0 ;
13205 int val2 ;
13206 int ecode2 = 0 ;
13207 wxPoint temp3 ;
13208 wxSize temp4 ;
13209 long val5 ;
13210 int ecode5 = 0 ;
13211 bool temp6 = false ;
13212 PyObject * obj0 = 0 ;
13213 PyObject * obj1 = 0 ;
13214 PyObject * obj2 = 0 ;
13215 PyObject * obj3 = 0 ;
13216 PyObject * obj4 = 0 ;
13217 PyObject * obj5 = 0 ;
13218 char * kwnames[] = {
13219 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13220 };
13221
13222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13224 if (!SWIG_IsOK(res1)) {
13225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13226 }
13227 arg1 = reinterpret_cast< wxWindow * >(argp1);
13228 if (obj1) {
13229 ecode2 = SWIG_AsVal_int(obj1, &val2);
13230 if (!SWIG_IsOK(ecode2)) {
13231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13232 }
13233 arg2 = static_cast< int >(val2);
13234 }
13235 if (obj2) {
13236 {
13237 arg3 = &temp3;
13238 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13239 }
13240 }
13241 if (obj3) {
13242 {
13243 arg4 = &temp4;
13244 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13245 }
13246 }
13247 if (obj4) {
13248 ecode5 = SWIG_AsVal_long(obj4, &val5);
13249 if (!SWIG_IsOK(ecode5)) {
13250 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13251 }
13252 arg5 = static_cast< long >(val5);
13253 }
13254 if (obj5) {
13255 {
13256 arg6 = wxString_in_helper(obj5);
13257 if (arg6 == NULL) SWIG_fail;
13258 temp6 = true;
13259 }
13260 }
13261 {
13262 if (!wxPyCheckForApp()) SWIG_fail;
13263 PyThreadState* __tstate = wxPyBeginAllowThreads();
13264 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13269 {
13270 if (temp6)
13271 delete arg6;
13272 }
13273 return resultobj;
13274 fail:
13275 {
13276 if (temp6)
13277 delete arg6;
13278 }
13279 return NULL;
13280 }
13281
13282
13283 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13284 PyObject *resultobj = 0;
13285 wxPyVScrolledWindow *result = 0 ;
13286
13287 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13288 {
13289 if (!wxPyCheckForApp()) SWIG_fail;
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
13295 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13296 return resultobj;
13297 fail:
13298 return NULL;
13299 }
13300
13301
13302 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj = 0;
13304 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13305 PyObject *arg2 = (PyObject *) 0 ;
13306 PyObject *arg3 = (PyObject *) 0 ;
13307 void *argp1 = 0 ;
13308 int res1 = 0 ;
13309 PyObject * obj0 = 0 ;
13310 PyObject * obj1 = 0 ;
13311 PyObject * obj2 = 0 ;
13312 char * kwnames[] = {
13313 (char *) "self",(char *) "self",(char *) "_class", NULL
13314 };
13315
13316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13318 if (!SWIG_IsOK(res1)) {
13319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13320 }
13321 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13322 arg2 = obj1;
13323 arg3 = obj2;
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 (arg1)->_setCallbackInfo(arg2,arg3);
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
13330 resultobj = SWIG_Py_Void();
13331 return resultobj;
13332 fail:
13333 return NULL;
13334 }
13335
13336
13337 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13338 PyObject *resultobj = 0;
13339 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13340 wxWindow *arg2 = (wxWindow *) 0 ;
13341 int arg3 = (int) wxID_ANY ;
13342 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13343 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13344 wxSize const &arg5_defvalue = wxDefaultSize ;
13345 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13346 long arg6 = (long) 0 ;
13347 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13348 wxString *arg7 = (wxString *) &arg7_defvalue ;
13349 bool result;
13350 void *argp1 = 0 ;
13351 int res1 = 0 ;
13352 void *argp2 = 0 ;
13353 int res2 = 0 ;
13354 int val3 ;
13355 int ecode3 = 0 ;
13356 wxPoint temp4 ;
13357 wxSize temp5 ;
13358 long val6 ;
13359 int ecode6 = 0 ;
13360 bool temp7 = false ;
13361 PyObject * obj0 = 0 ;
13362 PyObject * obj1 = 0 ;
13363 PyObject * obj2 = 0 ;
13364 PyObject * obj3 = 0 ;
13365 PyObject * obj4 = 0 ;
13366 PyObject * obj5 = 0 ;
13367 PyObject * obj6 = 0 ;
13368 char * kwnames[] = {
13369 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13370 };
13371
13372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13374 if (!SWIG_IsOK(res1)) {
13375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13376 }
13377 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13378 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13379 if (!SWIG_IsOK(res2)) {
13380 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13381 }
13382 arg2 = reinterpret_cast< wxWindow * >(argp2);
13383 if (obj2) {
13384 ecode3 = SWIG_AsVal_int(obj2, &val3);
13385 if (!SWIG_IsOK(ecode3)) {
13386 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13387 }
13388 arg3 = static_cast< int >(val3);
13389 }
13390 if (obj3) {
13391 {
13392 arg4 = &temp4;
13393 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13394 }
13395 }
13396 if (obj4) {
13397 {
13398 arg5 = &temp5;
13399 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13400 }
13401 }
13402 if (obj5) {
13403 ecode6 = SWIG_AsVal_long(obj5, &val6);
13404 if (!SWIG_IsOK(ecode6)) {
13405 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13406 }
13407 arg6 = static_cast< long >(val6);
13408 }
13409 if (obj6) {
13410 {
13411 arg7 = wxString_in_helper(obj6);
13412 if (arg7 == NULL) SWIG_fail;
13413 temp7 = true;
13414 }
13415 }
13416 {
13417 PyThreadState* __tstate = wxPyBeginAllowThreads();
13418 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 {
13423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13424 }
13425 {
13426 if (temp7)
13427 delete arg7;
13428 }
13429 return resultobj;
13430 fail:
13431 {
13432 if (temp7)
13433 delete arg7;
13434 }
13435 return NULL;
13436 }
13437
13438
13439 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13440 PyObject *resultobj = 0;
13441 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13442 size_t arg2 ;
13443 void *argp1 = 0 ;
13444 int res1 = 0 ;
13445 size_t val2 ;
13446 int ecode2 = 0 ;
13447 PyObject * obj0 = 0 ;
13448 PyObject * obj1 = 0 ;
13449 char * kwnames[] = {
13450 (char *) "self",(char *) "count", NULL
13451 };
13452
13453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13455 if (!SWIG_IsOK(res1)) {
13456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13457 }
13458 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13459 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13460 if (!SWIG_IsOK(ecode2)) {
13461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13462 }
13463 arg2 = static_cast< size_t >(val2);
13464 {
13465 PyThreadState* __tstate = wxPyBeginAllowThreads();
13466 (arg1)->SetLineCount(arg2);
13467 wxPyEndAllowThreads(__tstate);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 }
13470 resultobj = SWIG_Py_Void();
13471 return resultobj;
13472 fail:
13473 return NULL;
13474 }
13475
13476
13477 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13478 PyObject *resultobj = 0;
13479 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13480 size_t arg2 ;
13481 bool result;
13482 void *argp1 = 0 ;
13483 int res1 = 0 ;
13484 size_t val2 ;
13485 int ecode2 = 0 ;
13486 PyObject * obj0 = 0 ;
13487 PyObject * obj1 = 0 ;
13488 char * kwnames[] = {
13489 (char *) "self",(char *) "line", NULL
13490 };
13491
13492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13494 if (!SWIG_IsOK(res1)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13496 }
13497 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13498 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13499 if (!SWIG_IsOK(ecode2)) {
13500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13501 }
13502 arg2 = static_cast< size_t >(val2);
13503 {
13504 PyThreadState* __tstate = wxPyBeginAllowThreads();
13505 result = (bool)(arg1)->ScrollToLine(arg2);
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 {
13510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13511 }
13512 return resultobj;
13513 fail:
13514 return NULL;
13515 }
13516
13517
13518 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13519 PyObject *resultobj = 0;
13520 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13521 size_t arg2 ;
13522 void *argp1 = 0 ;
13523 int res1 = 0 ;
13524 size_t val2 ;
13525 int ecode2 = 0 ;
13526 PyObject * obj0 = 0 ;
13527 PyObject * obj1 = 0 ;
13528 char * kwnames[] = {
13529 (char *) "self",(char *) "line", NULL
13530 };
13531
13532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13534 if (!SWIG_IsOK(res1)) {
13535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13536 }
13537 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13538 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13539 if (!SWIG_IsOK(ecode2)) {
13540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13541 }
13542 arg2 = static_cast< size_t >(val2);
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 (arg1)->RefreshLine(arg2);
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) SWIG_fail;
13548 }
13549 resultobj = SWIG_Py_Void();
13550 return resultobj;
13551 fail:
13552 return NULL;
13553 }
13554
13555
13556 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13557 PyObject *resultobj = 0;
13558 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13559 size_t arg2 ;
13560 size_t arg3 ;
13561 void *argp1 = 0 ;
13562 int res1 = 0 ;
13563 size_t val2 ;
13564 int ecode2 = 0 ;
13565 size_t val3 ;
13566 int ecode3 = 0 ;
13567 PyObject * obj0 = 0 ;
13568 PyObject * obj1 = 0 ;
13569 PyObject * obj2 = 0 ;
13570 char * kwnames[] = {
13571 (char *) "self",(char *) "_from",(char *) "to", NULL
13572 };
13573
13574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13576 if (!SWIG_IsOK(res1)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13578 }
13579 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13580 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13581 if (!SWIG_IsOK(ecode2)) {
13582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13583 }
13584 arg2 = static_cast< size_t >(val2);
13585 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13586 if (!SWIG_IsOK(ecode3)) {
13587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13588 }
13589 arg3 = static_cast< size_t >(val3);
13590 {
13591 PyThreadState* __tstate = wxPyBeginAllowThreads();
13592 (arg1)->RefreshLines(arg2,arg3);
13593 wxPyEndAllowThreads(__tstate);
13594 if (PyErr_Occurred()) SWIG_fail;
13595 }
13596 resultobj = SWIG_Py_Void();
13597 return resultobj;
13598 fail:
13599 return NULL;
13600 }
13601
13602
13603 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13604 PyObject *resultobj = 0;
13605 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13606 int arg2 ;
13607 int arg3 ;
13608 int result;
13609 void *argp1 = 0 ;
13610 int res1 = 0 ;
13611 int val2 ;
13612 int ecode2 = 0 ;
13613 int val3 ;
13614 int ecode3 = 0 ;
13615 PyObject * obj0 = 0 ;
13616 PyObject * obj1 = 0 ;
13617 PyObject * obj2 = 0 ;
13618 char * kwnames[] = {
13619 (char *) "self",(char *) "x",(char *) "y", NULL
13620 };
13621
13622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13624 if (!SWIG_IsOK(res1)) {
13625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13626 }
13627 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13628 ecode2 = SWIG_AsVal_int(obj1, &val2);
13629 if (!SWIG_IsOK(ecode2)) {
13630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13631 }
13632 arg2 = static_cast< int >(val2);
13633 ecode3 = SWIG_AsVal_int(obj2, &val3);
13634 if (!SWIG_IsOK(ecode3)) {
13635 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13636 }
13637 arg3 = static_cast< int >(val3);
13638 {
13639 PyThreadState* __tstate = wxPyBeginAllowThreads();
13640 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 resultobj = SWIG_From_int(static_cast< int >(result));
13645 return resultobj;
13646 fail:
13647 return NULL;
13648 }
13649
13650
13651 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj = 0;
13653 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13654 wxPoint *arg2 = 0 ;
13655 int result;
13656 void *argp1 = 0 ;
13657 int res1 = 0 ;
13658 wxPoint temp2 ;
13659 PyObject * obj0 = 0 ;
13660 PyObject * obj1 = 0 ;
13661 char * kwnames[] = {
13662 (char *) "self",(char *) "pt", NULL
13663 };
13664
13665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13667 if (!SWIG_IsOK(res1)) {
13668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13669 }
13670 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13671 {
13672 arg2 = &temp2;
13673 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13674 }
13675 {
13676 PyThreadState* __tstate = wxPyBeginAllowThreads();
13677 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13678 wxPyEndAllowThreads(__tstate);
13679 if (PyErr_Occurred()) SWIG_fail;
13680 }
13681 resultobj = SWIG_From_int(static_cast< int >(result));
13682 return resultobj;
13683 fail:
13684 return NULL;
13685 }
13686
13687
13688 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13689 PyObject *resultobj = 0;
13690 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13691 void *argp1 = 0 ;
13692 int res1 = 0 ;
13693 PyObject *swig_obj[1] ;
13694
13695 if (!args) SWIG_fail;
13696 swig_obj[0] = args;
13697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13698 if (!SWIG_IsOK(res1)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13700 }
13701 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13702 {
13703 PyThreadState* __tstate = wxPyBeginAllowThreads();
13704 (arg1)->RefreshAll();
13705 wxPyEndAllowThreads(__tstate);
13706 if (PyErr_Occurred()) SWIG_fail;
13707 }
13708 resultobj = SWIG_Py_Void();
13709 return resultobj;
13710 fail:
13711 return NULL;
13712 }
13713
13714
13715 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13716 PyObject *resultobj = 0;
13717 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13718 size_t result;
13719 void *argp1 = 0 ;
13720 int res1 = 0 ;
13721 PyObject *swig_obj[1] ;
13722
13723 if (!args) SWIG_fail;
13724 swig_obj[0] = args;
13725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13726 if (!SWIG_IsOK(res1)) {
13727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13728 }
13729 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13737 return resultobj;
13738 fail:
13739 return NULL;
13740 }
13741
13742
13743 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13744 PyObject *resultobj = 0;
13745 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13746 size_t result;
13747 void *argp1 = 0 ;
13748 int res1 = 0 ;
13749 PyObject *swig_obj[1] ;
13750
13751 if (!args) SWIG_fail;
13752 swig_obj[0] = args;
13753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13754 if (!SWIG_IsOK(res1)) {
13755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13756 }
13757 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13758 {
13759 PyThreadState* __tstate = wxPyBeginAllowThreads();
13760 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13761 wxPyEndAllowThreads(__tstate);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
13764 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13765 return resultobj;
13766 fail:
13767 return NULL;
13768 }
13769
13770
13771 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13772 PyObject *resultobj = 0;
13773 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13774 size_t result;
13775 void *argp1 = 0 ;
13776 int res1 = 0 ;
13777 PyObject *swig_obj[1] ;
13778
13779 if (!args) SWIG_fail;
13780 swig_obj[0] = args;
13781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13782 if (!SWIG_IsOK(res1)) {
13783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13784 }
13785 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13786 {
13787 PyThreadState* __tstate = wxPyBeginAllowThreads();
13788 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13789 wxPyEndAllowThreads(__tstate);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 }
13792 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13793 return resultobj;
13794 fail:
13795 return NULL;
13796 }
13797
13798
13799 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13800 PyObject *resultobj = 0;
13801 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13802 size_t arg2 ;
13803 bool result;
13804 void *argp1 = 0 ;
13805 int res1 = 0 ;
13806 size_t val2 ;
13807 int ecode2 = 0 ;
13808 PyObject * obj0 = 0 ;
13809 PyObject * obj1 = 0 ;
13810 char * kwnames[] = {
13811 (char *) "self",(char *) "line", NULL
13812 };
13813
13814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13816 if (!SWIG_IsOK(res1)) {
13817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13818 }
13819 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13820 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13821 if (!SWIG_IsOK(ecode2)) {
13822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13823 }
13824 arg2 = static_cast< size_t >(val2);
13825 {
13826 PyThreadState* __tstate = wxPyBeginAllowThreads();
13827 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
13828 wxPyEndAllowThreads(__tstate);
13829 if (PyErr_Occurred()) SWIG_fail;
13830 }
13831 {
13832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13833 }
13834 return resultobj;
13835 fail:
13836 return NULL;
13837 }
13838
13839
13840 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13841 PyObject *resultobj = 0;
13842 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13843 size_t result;
13844 void *argp1 = 0 ;
13845 int res1 = 0 ;
13846 PyObject *swig_obj[1] ;
13847
13848 if (!args) SWIG_fail;
13849 swig_obj[0] = args;
13850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13851 if (!SWIG_IsOK(res1)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13853 }
13854 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13855 {
13856 PyThreadState* __tstate = wxPyBeginAllowThreads();
13857 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13862 return resultobj;
13863 fail:
13864 return NULL;
13865 }
13866
13867
13868 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13869 PyObject *resultobj = 0;
13870 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13871 size_t result;
13872 void *argp1 = 0 ;
13873 int res1 = 0 ;
13874 PyObject *swig_obj[1] ;
13875
13876 if (!args) SWIG_fail;
13877 swig_obj[0] = args;
13878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13879 if (!SWIG_IsOK(res1)) {
13880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13881 }
13882 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13890 return resultobj;
13891 fail:
13892 return NULL;
13893 }
13894
13895
13896 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13897 PyObject *resultobj = 0;
13898 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13899 size_t arg2 ;
13900 bool arg3 = (bool) false ;
13901 size_t result;
13902 void *argp1 = 0 ;
13903 int res1 = 0 ;
13904 size_t val2 ;
13905 int ecode2 = 0 ;
13906 bool val3 ;
13907 int ecode3 = 0 ;
13908 PyObject * obj0 = 0 ;
13909 PyObject * obj1 = 0 ;
13910 PyObject * obj2 = 0 ;
13911 char * kwnames[] = {
13912 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13913 };
13914
13915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13917 if (!SWIG_IsOK(res1)) {
13918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13919 }
13920 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13921 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13922 if (!SWIG_IsOK(ecode2)) {
13923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13924 }
13925 arg2 = static_cast< size_t >(val2);
13926 if (obj2) {
13927 ecode3 = SWIG_AsVal_bool(obj2, &val3);
13928 if (!SWIG_IsOK(ecode3)) {
13929 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
13930 }
13931 arg3 = static_cast< bool >(val3);
13932 }
13933 {
13934 PyThreadState* __tstate = wxPyBeginAllowThreads();
13935 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
13936 wxPyEndAllowThreads(__tstate);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 }
13939 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13940 return resultobj;
13941 fail:
13942 return NULL;
13943 }
13944
13945
13946 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13947 PyObject *resultobj = 0;
13948 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13949 size_t arg2 ;
13950 size_t arg3 ;
13951 int result;
13952 void *argp1 = 0 ;
13953 int res1 = 0 ;
13954 size_t val2 ;
13955 int ecode2 = 0 ;
13956 size_t val3 ;
13957 int ecode3 = 0 ;
13958 PyObject * obj0 = 0 ;
13959 PyObject * obj1 = 0 ;
13960 PyObject * obj2 = 0 ;
13961 char * kwnames[] = {
13962 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
13963 };
13964
13965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13967 if (!SWIG_IsOK(res1)) {
13968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13969 }
13970 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13971 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13972 if (!SWIG_IsOK(ecode2)) {
13973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
13974 }
13975 arg2 = static_cast< size_t >(val2);
13976 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13977 if (!SWIG_IsOK(ecode3)) {
13978 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
13979 }
13980 arg3 = static_cast< size_t >(val3);
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
13984 wxPyEndAllowThreads(__tstate);
13985 if (PyErr_Occurred()) SWIG_fail;
13986 }
13987 resultobj = SWIG_From_int(static_cast< int >(result));
13988 return resultobj;
13989 fail:
13990 return NULL;
13991 }
13992
13993
13994 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13995 PyObject *obj;
13996 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13997 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
13998 return SWIG_Py_Void();
13999 }
14000
14001 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14002 return SWIG_Python_InitShadowInstance(args);
14003 }
14004
14005 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14006 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14007 return 1;
14008 }
14009
14010
14011 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14012 PyObject *pyobj = 0;
14013
14014 {
14015 #if wxUSE_UNICODE
14016 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14017 #else
14018 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14019 #endif
14020 }
14021 return pyobj;
14022 }
14023
14024
14025 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14026 PyObject *resultobj = 0;
14027 wxWindow *arg1 = (wxWindow *) 0 ;
14028 int arg2 = (int) wxID_ANY ;
14029 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14030 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14031 wxSize const &arg4_defvalue = wxDefaultSize ;
14032 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14033 long arg5 = (long) 0 ;
14034 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14035 wxString *arg6 = (wxString *) &arg6_defvalue ;
14036 wxPyVListBox *result = 0 ;
14037 void *argp1 = 0 ;
14038 int res1 = 0 ;
14039 int val2 ;
14040 int ecode2 = 0 ;
14041 wxPoint temp3 ;
14042 wxSize temp4 ;
14043 long val5 ;
14044 int ecode5 = 0 ;
14045 bool temp6 = false ;
14046 PyObject * obj0 = 0 ;
14047 PyObject * obj1 = 0 ;
14048 PyObject * obj2 = 0 ;
14049 PyObject * obj3 = 0 ;
14050 PyObject * obj4 = 0 ;
14051 PyObject * obj5 = 0 ;
14052 char * kwnames[] = {
14053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14054 };
14055
14056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14058 if (!SWIG_IsOK(res1)) {
14059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14060 }
14061 arg1 = reinterpret_cast< wxWindow * >(argp1);
14062 if (obj1) {
14063 ecode2 = SWIG_AsVal_int(obj1, &val2);
14064 if (!SWIG_IsOK(ecode2)) {
14065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14066 }
14067 arg2 = static_cast< int >(val2);
14068 }
14069 if (obj2) {
14070 {
14071 arg3 = &temp3;
14072 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14073 }
14074 }
14075 if (obj3) {
14076 {
14077 arg4 = &temp4;
14078 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14079 }
14080 }
14081 if (obj4) {
14082 ecode5 = SWIG_AsVal_long(obj4, &val5);
14083 if (!SWIG_IsOK(ecode5)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14085 }
14086 arg5 = static_cast< long >(val5);
14087 }
14088 if (obj5) {
14089 {
14090 arg6 = wxString_in_helper(obj5);
14091 if (arg6 == NULL) SWIG_fail;
14092 temp6 = true;
14093 }
14094 }
14095 {
14096 if (!wxPyCheckForApp()) SWIG_fail;
14097 PyThreadState* __tstate = wxPyBeginAllowThreads();
14098 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14099 wxPyEndAllowThreads(__tstate);
14100 if (PyErr_Occurred()) SWIG_fail;
14101 }
14102 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14103 {
14104 if (temp6)
14105 delete arg6;
14106 }
14107 return resultobj;
14108 fail:
14109 {
14110 if (temp6)
14111 delete arg6;
14112 }
14113 return NULL;
14114 }
14115
14116
14117 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14118 PyObject *resultobj = 0;
14119 wxPyVListBox *result = 0 ;
14120
14121 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14122 {
14123 if (!wxPyCheckForApp()) SWIG_fail;
14124 PyThreadState* __tstate = wxPyBeginAllowThreads();
14125 result = (wxPyVListBox *)new wxPyVListBox();
14126 wxPyEndAllowThreads(__tstate);
14127 if (PyErr_Occurred()) SWIG_fail;
14128 }
14129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14130 return resultobj;
14131 fail:
14132 return NULL;
14133 }
14134
14135
14136 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14137 PyObject *resultobj = 0;
14138 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14139 PyObject *arg2 = (PyObject *) 0 ;
14140 PyObject *arg3 = (PyObject *) 0 ;
14141 void *argp1 = 0 ;
14142 int res1 = 0 ;
14143 PyObject * obj0 = 0 ;
14144 PyObject * obj1 = 0 ;
14145 PyObject * obj2 = 0 ;
14146 char * kwnames[] = {
14147 (char *) "self",(char *) "self",(char *) "_class", NULL
14148 };
14149
14150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14152 if (!SWIG_IsOK(res1)) {
14153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14154 }
14155 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14156 arg2 = obj1;
14157 arg3 = obj2;
14158 {
14159 PyThreadState* __tstate = wxPyBeginAllowThreads();
14160 (arg1)->_setCallbackInfo(arg2,arg3);
14161 wxPyEndAllowThreads(__tstate);
14162 if (PyErr_Occurred()) SWIG_fail;
14163 }
14164 resultobj = SWIG_Py_Void();
14165 return resultobj;
14166 fail:
14167 return NULL;
14168 }
14169
14170
14171 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14172 PyObject *resultobj = 0;
14173 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14174 wxWindow *arg2 = (wxWindow *) 0 ;
14175 int arg3 = (int) wxID_ANY ;
14176 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14177 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14178 wxSize const &arg5_defvalue = wxDefaultSize ;
14179 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14180 long arg6 = (long) 0 ;
14181 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14182 wxString *arg7 = (wxString *) &arg7_defvalue ;
14183 bool result;
14184 void *argp1 = 0 ;
14185 int res1 = 0 ;
14186 void *argp2 = 0 ;
14187 int res2 = 0 ;
14188 int val3 ;
14189 int ecode3 = 0 ;
14190 wxPoint temp4 ;
14191 wxSize temp5 ;
14192 long val6 ;
14193 int ecode6 = 0 ;
14194 bool temp7 = false ;
14195 PyObject * obj0 = 0 ;
14196 PyObject * obj1 = 0 ;
14197 PyObject * obj2 = 0 ;
14198 PyObject * obj3 = 0 ;
14199 PyObject * obj4 = 0 ;
14200 PyObject * obj5 = 0 ;
14201 PyObject * obj6 = 0 ;
14202 char * kwnames[] = {
14203 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14204 };
14205
14206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14208 if (!SWIG_IsOK(res1)) {
14209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14210 }
14211 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14212 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14213 if (!SWIG_IsOK(res2)) {
14214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14215 }
14216 arg2 = reinterpret_cast< wxWindow * >(argp2);
14217 if (obj2) {
14218 ecode3 = SWIG_AsVal_int(obj2, &val3);
14219 if (!SWIG_IsOK(ecode3)) {
14220 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14221 }
14222 arg3 = static_cast< int >(val3);
14223 }
14224 if (obj3) {
14225 {
14226 arg4 = &temp4;
14227 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14228 }
14229 }
14230 if (obj4) {
14231 {
14232 arg5 = &temp5;
14233 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14234 }
14235 }
14236 if (obj5) {
14237 ecode6 = SWIG_AsVal_long(obj5, &val6);
14238 if (!SWIG_IsOK(ecode6)) {
14239 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14240 }
14241 arg6 = static_cast< long >(val6);
14242 }
14243 if (obj6) {
14244 {
14245 arg7 = wxString_in_helper(obj6);
14246 if (arg7 == NULL) SWIG_fail;
14247 temp7 = true;
14248 }
14249 }
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 {
14257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14258 }
14259 {
14260 if (temp7)
14261 delete arg7;
14262 }
14263 return resultobj;
14264 fail:
14265 {
14266 if (temp7)
14267 delete arg7;
14268 }
14269 return NULL;
14270 }
14271
14272
14273 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14274 PyObject *resultobj = 0;
14275 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14276 size_t result;
14277 void *argp1 = 0 ;
14278 int res1 = 0 ;
14279 PyObject *swig_obj[1] ;
14280
14281 if (!args) SWIG_fail;
14282 swig_obj[0] = args;
14283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14284 if (!SWIG_IsOK(res1)) {
14285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14286 }
14287 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14288 {
14289 PyThreadState* __tstate = wxPyBeginAllowThreads();
14290 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14291 wxPyEndAllowThreads(__tstate);
14292 if (PyErr_Occurred()) SWIG_fail;
14293 }
14294 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14295 return resultobj;
14296 fail:
14297 return NULL;
14298 }
14299
14300
14301 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14302 PyObject *resultobj = 0;
14303 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14304 bool result;
14305 void *argp1 = 0 ;
14306 int res1 = 0 ;
14307 PyObject *swig_obj[1] ;
14308
14309 if (!args) SWIG_fail;
14310 swig_obj[0] = args;
14311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14312 if (!SWIG_IsOK(res1)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14314 }
14315 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14316 {
14317 PyThreadState* __tstate = wxPyBeginAllowThreads();
14318 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 {
14323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14324 }
14325 return resultobj;
14326 fail:
14327 return NULL;
14328 }
14329
14330
14331 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14332 PyObject *resultobj = 0;
14333 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14334 int result;
14335 void *argp1 = 0 ;
14336 int res1 = 0 ;
14337 PyObject *swig_obj[1] ;
14338
14339 if (!args) SWIG_fail;
14340 swig_obj[0] = args;
14341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14342 if (!SWIG_IsOK(res1)) {
14343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14344 }
14345 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14349 wxPyEndAllowThreads(__tstate);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
14352 resultobj = SWIG_From_int(static_cast< int >(result));
14353 return resultobj;
14354 fail:
14355 return NULL;
14356 }
14357
14358
14359 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj = 0;
14361 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14362 size_t arg2 ;
14363 bool result;
14364 void *argp1 = 0 ;
14365 int res1 = 0 ;
14366 size_t val2 ;
14367 int ecode2 = 0 ;
14368 PyObject * obj0 = 0 ;
14369 PyObject * obj1 = 0 ;
14370 char * kwnames[] = {
14371 (char *) "self",(char *) "item", NULL
14372 };
14373
14374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14376 if (!SWIG_IsOK(res1)) {
14377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14378 }
14379 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14380 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14381 if (!SWIG_IsOK(ecode2)) {
14382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14383 }
14384 arg2 = static_cast< size_t >(val2);
14385 {
14386 PyThreadState* __tstate = wxPyBeginAllowThreads();
14387 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14388 wxPyEndAllowThreads(__tstate);
14389 if (PyErr_Occurred()) SWIG_fail;
14390 }
14391 {
14392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14393 }
14394 return resultobj;
14395 fail:
14396 return NULL;
14397 }
14398
14399
14400 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14401 PyObject *resultobj = 0;
14402 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14403 size_t arg2 ;
14404 bool result;
14405 void *argp1 = 0 ;
14406 int res1 = 0 ;
14407 size_t val2 ;
14408 int ecode2 = 0 ;
14409 PyObject * obj0 = 0 ;
14410 PyObject * obj1 = 0 ;
14411 char * kwnames[] = {
14412 (char *) "self",(char *) "item", NULL
14413 };
14414
14415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14417 if (!SWIG_IsOK(res1)) {
14418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14419 }
14420 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14421 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14422 if (!SWIG_IsOK(ecode2)) {
14423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14424 }
14425 arg2 = static_cast< size_t >(val2);
14426 {
14427 PyThreadState* __tstate = wxPyBeginAllowThreads();
14428 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14429 wxPyEndAllowThreads(__tstate);
14430 if (PyErr_Occurred()) SWIG_fail;
14431 }
14432 {
14433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14434 }
14435 return resultobj;
14436 fail:
14437 return NULL;
14438 }
14439
14440
14441 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14442 PyObject *resultobj = 0;
14443 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14444 size_t result;
14445 void *argp1 = 0 ;
14446 int res1 = 0 ;
14447 PyObject *swig_obj[1] ;
14448
14449 if (!args) SWIG_fail;
14450 swig_obj[0] = args;
14451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14452 if (!SWIG_IsOK(res1)) {
14453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14454 }
14455 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14456 {
14457 PyThreadState* __tstate = wxPyBeginAllowThreads();
14458 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14459 wxPyEndAllowThreads(__tstate);
14460 if (PyErr_Occurred()) SWIG_fail;
14461 }
14462 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14463 return resultobj;
14464 fail:
14465 return NULL;
14466 }
14467
14468
14469 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14470 PyObject *resultobj = 0;
14471 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14472 PyObject *result = 0 ;
14473 void *argp1 = 0 ;
14474 int res1 = 0 ;
14475 PyObject *swig_obj[1] ;
14476
14477 if (!args) SWIG_fail;
14478 swig_obj[0] = args;
14479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14480 if (!SWIG_IsOK(res1)) {
14481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14482 }
14483 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14484 {
14485 PyThreadState* __tstate = wxPyBeginAllowThreads();
14486 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14487 wxPyEndAllowThreads(__tstate);
14488 if (PyErr_Occurred()) SWIG_fail;
14489 }
14490 resultobj = result;
14491 return resultobj;
14492 fail:
14493 return NULL;
14494 }
14495
14496
14497 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14498 PyObject *resultobj = 0;
14499 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14500 unsigned long arg2 ;
14501 PyObject *result = 0 ;
14502 void *argp1 = 0 ;
14503 int res1 = 0 ;
14504 unsigned long val2 ;
14505 int ecode2 = 0 ;
14506 PyObject * obj0 = 0 ;
14507 PyObject * obj1 = 0 ;
14508 char * kwnames[] = {
14509 (char *) "self",(char *) "cookie", NULL
14510 };
14511
14512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14514 if (!SWIG_IsOK(res1)) {
14515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14516 }
14517 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14518 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14519 if (!SWIG_IsOK(ecode2)) {
14520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14521 }
14522 arg2 = static_cast< unsigned long >(val2);
14523 {
14524 PyThreadState* __tstate = wxPyBeginAllowThreads();
14525 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
14529 resultobj = result;
14530 return resultobj;
14531 fail:
14532 return NULL;
14533 }
14534
14535
14536 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14537 PyObject *resultobj = 0;
14538 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14539 wxPoint result;
14540 void *argp1 = 0 ;
14541 int res1 = 0 ;
14542 PyObject *swig_obj[1] ;
14543
14544 if (!args) SWIG_fail;
14545 swig_obj[0] = args;
14546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14547 if (!SWIG_IsOK(res1)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14549 }
14550 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 result = ((wxPyVListBox const *)arg1)->GetMargins();
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14558 return resultobj;
14559 fail:
14560 return NULL;
14561 }
14562
14563
14564 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14565 PyObject *resultobj = 0;
14566 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14567 wxColour *result = 0 ;
14568 void *argp1 = 0 ;
14569 int res1 = 0 ;
14570 PyObject *swig_obj[1] ;
14571
14572 if (!args) SWIG_fail;
14573 swig_obj[0] = args;
14574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14575 if (!SWIG_IsOK(res1)) {
14576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14577 }
14578 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14579 {
14580 PyThreadState* __tstate = wxPyBeginAllowThreads();
14581 {
14582 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14583 result = (wxColour *) &_result_ref;
14584 }
14585 wxPyEndAllowThreads(__tstate);
14586 if (PyErr_Occurred()) SWIG_fail;
14587 }
14588 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14589 return resultobj;
14590 fail:
14591 return NULL;
14592 }
14593
14594
14595 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14596 PyObject *resultobj = 0;
14597 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14598 size_t arg2 ;
14599 void *argp1 = 0 ;
14600 int res1 = 0 ;
14601 size_t val2 ;
14602 int ecode2 = 0 ;
14603 PyObject * obj0 = 0 ;
14604 PyObject * obj1 = 0 ;
14605 char * kwnames[] = {
14606 (char *) "self",(char *) "count", NULL
14607 };
14608
14609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14611 if (!SWIG_IsOK(res1)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14613 }
14614 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14615 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14616 if (!SWIG_IsOK(ecode2)) {
14617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14618 }
14619 arg2 = static_cast< size_t >(val2);
14620 {
14621 PyThreadState* __tstate = wxPyBeginAllowThreads();
14622 (arg1)->SetItemCount(arg2);
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 resultobj = SWIG_Py_Void();
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14634 PyObject *resultobj = 0;
14635 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14636 void *argp1 = 0 ;
14637 int res1 = 0 ;
14638 PyObject *swig_obj[1] ;
14639
14640 if (!args) SWIG_fail;
14641 swig_obj[0] = args;
14642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14643 if (!SWIG_IsOK(res1)) {
14644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14645 }
14646 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14647 {
14648 PyThreadState* __tstate = wxPyBeginAllowThreads();
14649 (arg1)->Clear();
14650 wxPyEndAllowThreads(__tstate);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 resultobj = SWIG_Py_Void();
14654 return resultobj;
14655 fail:
14656 return NULL;
14657 }
14658
14659
14660 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14661 PyObject *resultobj = 0;
14662 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14663 int arg2 ;
14664 void *argp1 = 0 ;
14665 int res1 = 0 ;
14666 int val2 ;
14667 int ecode2 = 0 ;
14668 PyObject * obj0 = 0 ;
14669 PyObject * obj1 = 0 ;
14670 char * kwnames[] = {
14671 (char *) "self",(char *) "selection", NULL
14672 };
14673
14674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14676 if (!SWIG_IsOK(res1)) {
14677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14678 }
14679 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14680 ecode2 = SWIG_AsVal_int(obj1, &val2);
14681 if (!SWIG_IsOK(ecode2)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14683 }
14684 arg2 = static_cast< int >(val2);
14685 {
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 (arg1)->SetSelection(arg2);
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 resultobj = SWIG_Py_Void();
14692 return resultobj;
14693 fail:
14694 return NULL;
14695 }
14696
14697
14698 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14699 PyObject *resultobj = 0;
14700 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14701 size_t arg2 ;
14702 bool arg3 = (bool) true ;
14703 bool result;
14704 void *argp1 = 0 ;
14705 int res1 = 0 ;
14706 size_t val2 ;
14707 int ecode2 = 0 ;
14708 bool val3 ;
14709 int ecode3 = 0 ;
14710 PyObject * obj0 = 0 ;
14711 PyObject * obj1 = 0 ;
14712 PyObject * obj2 = 0 ;
14713 char * kwnames[] = {
14714 (char *) "self",(char *) "item",(char *) "select", NULL
14715 };
14716
14717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14719 if (!SWIG_IsOK(res1)) {
14720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14721 }
14722 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14723 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14724 if (!SWIG_IsOK(ecode2)) {
14725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14726 }
14727 arg2 = static_cast< size_t >(val2);
14728 if (obj2) {
14729 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14730 if (!SWIG_IsOK(ecode3)) {
14731 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14732 }
14733 arg3 = static_cast< bool >(val3);
14734 }
14735 {
14736 PyThreadState* __tstate = wxPyBeginAllowThreads();
14737 result = (bool)(arg1)->Select(arg2,arg3);
14738 wxPyEndAllowThreads(__tstate);
14739 if (PyErr_Occurred()) SWIG_fail;
14740 }
14741 {
14742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14743 }
14744 return resultobj;
14745 fail:
14746 return NULL;
14747 }
14748
14749
14750 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14751 PyObject *resultobj = 0;
14752 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14753 size_t arg2 ;
14754 size_t arg3 ;
14755 bool result;
14756 void *argp1 = 0 ;
14757 int res1 = 0 ;
14758 size_t val2 ;
14759 int ecode2 = 0 ;
14760 size_t val3 ;
14761 int ecode3 = 0 ;
14762 PyObject * obj0 = 0 ;
14763 PyObject * obj1 = 0 ;
14764 PyObject * obj2 = 0 ;
14765 char * kwnames[] = {
14766 (char *) "self",(char *) "_from",(char *) "to", NULL
14767 };
14768
14769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14771 if (!SWIG_IsOK(res1)) {
14772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14773 }
14774 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14775 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14776 if (!SWIG_IsOK(ecode2)) {
14777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14778 }
14779 arg2 = static_cast< size_t >(val2);
14780 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14781 if (!SWIG_IsOK(ecode3)) {
14782 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14783 }
14784 arg3 = static_cast< size_t >(val3);
14785 {
14786 PyThreadState* __tstate = wxPyBeginAllowThreads();
14787 result = (bool)(arg1)->SelectRange(arg2,arg3);
14788 wxPyEndAllowThreads(__tstate);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 }
14791 {
14792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14793 }
14794 return resultobj;
14795 fail:
14796 return NULL;
14797 }
14798
14799
14800 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14801 PyObject *resultobj = 0;
14802 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14803 size_t arg2 ;
14804 void *argp1 = 0 ;
14805 int res1 = 0 ;
14806 size_t val2 ;
14807 int ecode2 = 0 ;
14808 PyObject * obj0 = 0 ;
14809 PyObject * obj1 = 0 ;
14810 char * kwnames[] = {
14811 (char *) "self",(char *) "item", NULL
14812 };
14813
14814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
14815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14816 if (!SWIG_IsOK(res1)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14818 }
14819 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14820 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14821 if (!SWIG_IsOK(ecode2)) {
14822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14823 }
14824 arg2 = static_cast< size_t >(val2);
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 (arg1)->Toggle(arg2);
14828 wxPyEndAllowThreads(__tstate);
14829 if (PyErr_Occurred()) SWIG_fail;
14830 }
14831 resultobj = SWIG_Py_Void();
14832 return resultobj;
14833 fail:
14834 return NULL;
14835 }
14836
14837
14838 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14839 PyObject *resultobj = 0;
14840 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14841 bool result;
14842 void *argp1 = 0 ;
14843 int res1 = 0 ;
14844 PyObject *swig_obj[1] ;
14845
14846 if (!args) SWIG_fail;
14847 swig_obj[0] = args;
14848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14849 if (!SWIG_IsOK(res1)) {
14850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14851 }
14852 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14853 {
14854 PyThreadState* __tstate = wxPyBeginAllowThreads();
14855 result = (bool)(arg1)->SelectAll();
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 {
14860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14861 }
14862 return resultobj;
14863 fail:
14864 return NULL;
14865 }
14866
14867
14868 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14869 PyObject *resultobj = 0;
14870 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14871 bool result;
14872 void *argp1 = 0 ;
14873 int res1 = 0 ;
14874 PyObject *swig_obj[1] ;
14875
14876 if (!args) SWIG_fail;
14877 swig_obj[0] = args;
14878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14879 if (!SWIG_IsOK(res1)) {
14880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14881 }
14882 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14883 {
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
14885 result = (bool)(arg1)->DeselectAll();
14886 wxPyEndAllowThreads(__tstate);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 {
14890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14891 }
14892 return resultobj;
14893 fail:
14894 return NULL;
14895 }
14896
14897
14898 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj = 0;
14900 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14901 wxPoint *arg2 = 0 ;
14902 void *argp1 = 0 ;
14903 int res1 = 0 ;
14904 wxPoint temp2 ;
14905 PyObject * obj0 = 0 ;
14906 PyObject * obj1 = 0 ;
14907 char * kwnames[] = {
14908 (char *) "self",(char *) "pt", NULL
14909 };
14910
14911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
14912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14913 if (!SWIG_IsOK(res1)) {
14914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14915 }
14916 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14917 {
14918 arg2 = &temp2;
14919 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14920 }
14921 {
14922 PyThreadState* __tstate = wxPyBeginAllowThreads();
14923 (arg1)->SetMargins((wxPoint const &)*arg2);
14924 wxPyEndAllowThreads(__tstate);
14925 if (PyErr_Occurred()) SWIG_fail;
14926 }
14927 resultobj = SWIG_Py_Void();
14928 return resultobj;
14929 fail:
14930 return NULL;
14931 }
14932
14933
14934 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14935 PyObject *resultobj = 0;
14936 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14937 int arg2 ;
14938 int arg3 ;
14939 void *argp1 = 0 ;
14940 int res1 = 0 ;
14941 int val2 ;
14942 int ecode2 = 0 ;
14943 int val3 ;
14944 int ecode3 = 0 ;
14945 PyObject * obj0 = 0 ;
14946 PyObject * obj1 = 0 ;
14947 PyObject * obj2 = 0 ;
14948 char * kwnames[] = {
14949 (char *) "self",(char *) "x",(char *) "y", NULL
14950 };
14951
14952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14954 if (!SWIG_IsOK(res1)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14956 }
14957 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14958 ecode2 = SWIG_AsVal_int(obj1, &val2);
14959 if (!SWIG_IsOK(ecode2)) {
14960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
14961 }
14962 arg2 = static_cast< int >(val2);
14963 ecode3 = SWIG_AsVal_int(obj2, &val3);
14964 if (!SWIG_IsOK(ecode3)) {
14965 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
14966 }
14967 arg3 = static_cast< int >(val3);
14968 {
14969 PyThreadState* __tstate = wxPyBeginAllowThreads();
14970 (arg1)->SetMargins(arg2,arg3);
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 resultobj = SWIG_Py_Void();
14975 return resultobj;
14976 fail:
14977 return NULL;
14978 }
14979
14980
14981 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14982 PyObject *resultobj = 0;
14983 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14984 wxColour *arg2 = 0 ;
14985 void *argp1 = 0 ;
14986 int res1 = 0 ;
14987 wxColour temp2 ;
14988 PyObject * obj0 = 0 ;
14989 PyObject * obj1 = 0 ;
14990 char * kwnames[] = {
14991 (char *) "self",(char *) "col", NULL
14992 };
14993
14994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
14995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14996 if (!SWIG_IsOK(res1)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14998 }
14999 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15000 {
15001 arg2 = &temp2;
15002 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15003 }
15004 {
15005 PyThreadState* __tstate = wxPyBeginAllowThreads();
15006 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15007 wxPyEndAllowThreads(__tstate);
15008 if (PyErr_Occurred()) SWIG_fail;
15009 }
15010 resultobj = SWIG_Py_Void();
15011 return resultobj;
15012 fail:
15013 return NULL;
15014 }
15015
15016
15017 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15018 PyObject *resultobj = 0;
15019 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15020 wxDC *arg2 = 0 ;
15021 wxRect *arg3 = 0 ;
15022 size_t arg4 ;
15023 void *argp1 = 0 ;
15024 int res1 = 0 ;
15025 void *argp2 = 0 ;
15026 int res2 = 0 ;
15027 wxRect temp3 ;
15028 size_t val4 ;
15029 int ecode4 = 0 ;
15030 PyObject * obj0 = 0 ;
15031 PyObject * obj1 = 0 ;
15032 PyObject * obj2 = 0 ;
15033 PyObject * obj3 = 0 ;
15034 char * kwnames[] = {
15035 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15036 };
15037
15038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15040 if (!SWIG_IsOK(res1)) {
15041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15042 }
15043 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15044 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15045 if (!SWIG_IsOK(res2)) {
15046 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15047 }
15048 if (!argp2) {
15049 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15050 }
15051 arg2 = reinterpret_cast< wxDC * >(argp2);
15052 {
15053 arg3 = &temp3;
15054 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15055 }
15056 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15057 if (!SWIG_IsOK(ecode4)) {
15058 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15059 }
15060 arg4 = static_cast< size_t >(val4);
15061 {
15062 PyThreadState* __tstate = wxPyBeginAllowThreads();
15063 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15064 wxPyEndAllowThreads(__tstate);
15065 if (PyErr_Occurred()) SWIG_fail;
15066 }
15067 resultobj = SWIG_Py_Void();
15068 return resultobj;
15069 fail:
15070 return NULL;
15071 }
15072
15073
15074 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15075 PyObject *resultobj = 0;
15076 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15077 wxDC *arg2 = 0 ;
15078 wxRect *arg3 = 0 ;
15079 size_t arg4 ;
15080 void *argp1 = 0 ;
15081 int res1 = 0 ;
15082 void *argp2 = 0 ;
15083 int res2 = 0 ;
15084 wxRect temp3 ;
15085 size_t val4 ;
15086 int ecode4 = 0 ;
15087 PyObject * obj0 = 0 ;
15088 PyObject * obj1 = 0 ;
15089 PyObject * obj2 = 0 ;
15090 PyObject * obj3 = 0 ;
15091 char * kwnames[] = {
15092 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15093 };
15094
15095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15097 if (!SWIG_IsOK(res1)) {
15098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15099 }
15100 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15101 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15102 if (!SWIG_IsOK(res2)) {
15103 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15104 }
15105 if (!argp2) {
15106 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15107 }
15108 arg2 = reinterpret_cast< wxDC * >(argp2);
15109 {
15110 arg3 = &temp3;
15111 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15112 }
15113 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15114 if (!SWIG_IsOK(ecode4)) {
15115 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15116 }
15117 arg4 = static_cast< size_t >(val4);
15118 {
15119 PyThreadState* __tstate = wxPyBeginAllowThreads();
15120 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15121 wxPyEndAllowThreads(__tstate);
15122 if (PyErr_Occurred()) SWIG_fail;
15123 }
15124 resultobj = SWIG_Py_Void();
15125 return resultobj;
15126 fail:
15127 return NULL;
15128 }
15129
15130
15131 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15132 PyObject *obj;
15133 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15134 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15135 return SWIG_Py_Void();
15136 }
15137
15138 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15139 return SWIG_Python_InitShadowInstance(args);
15140 }
15141
15142 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj = 0;
15144 wxWindow *arg1 = (wxWindow *) 0 ;
15145 int arg2 = (int) wxID_ANY ;
15146 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15147 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15148 wxSize const &arg4_defvalue = wxDefaultSize ;
15149 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15150 long arg5 = (long) 0 ;
15151 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15152 wxString *arg6 = (wxString *) &arg6_defvalue ;
15153 wxPyHtmlListBox *result = 0 ;
15154 void *argp1 = 0 ;
15155 int res1 = 0 ;
15156 int val2 ;
15157 int ecode2 = 0 ;
15158 wxPoint temp3 ;
15159 wxSize temp4 ;
15160 long val5 ;
15161 int ecode5 = 0 ;
15162 bool temp6 = false ;
15163 PyObject * obj0 = 0 ;
15164 PyObject * obj1 = 0 ;
15165 PyObject * obj2 = 0 ;
15166 PyObject * obj3 = 0 ;
15167 PyObject * obj4 = 0 ;
15168 PyObject * obj5 = 0 ;
15169 char * kwnames[] = {
15170 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15171 };
15172
15173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15175 if (!SWIG_IsOK(res1)) {
15176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15177 }
15178 arg1 = reinterpret_cast< wxWindow * >(argp1);
15179 if (obj1) {
15180 ecode2 = SWIG_AsVal_int(obj1, &val2);
15181 if (!SWIG_IsOK(ecode2)) {
15182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15183 }
15184 arg2 = static_cast< int >(val2);
15185 }
15186 if (obj2) {
15187 {
15188 arg3 = &temp3;
15189 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15190 }
15191 }
15192 if (obj3) {
15193 {
15194 arg4 = &temp4;
15195 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15196 }
15197 }
15198 if (obj4) {
15199 ecode5 = SWIG_AsVal_long(obj4, &val5);
15200 if (!SWIG_IsOK(ecode5)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15202 }
15203 arg5 = static_cast< long >(val5);
15204 }
15205 if (obj5) {
15206 {
15207 arg6 = wxString_in_helper(obj5);
15208 if (arg6 == NULL) SWIG_fail;
15209 temp6 = true;
15210 }
15211 }
15212 {
15213 if (!wxPyCheckForApp()) SWIG_fail;
15214 PyThreadState* __tstate = wxPyBeginAllowThreads();
15215 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15216 wxPyEndAllowThreads(__tstate);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
15219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15220 {
15221 if (temp6)
15222 delete arg6;
15223 }
15224 return resultobj;
15225 fail:
15226 {
15227 if (temp6)
15228 delete arg6;
15229 }
15230 return NULL;
15231 }
15232
15233
15234 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15235 PyObject *resultobj = 0;
15236 wxPyHtmlListBox *result = 0 ;
15237
15238 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15239 {
15240 if (!wxPyCheckForApp()) SWIG_fail;
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
15242 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15247 return resultobj;
15248 fail:
15249 return NULL;
15250 }
15251
15252
15253 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15254 PyObject *resultobj = 0;
15255 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15256 PyObject *arg2 = (PyObject *) 0 ;
15257 PyObject *arg3 = (PyObject *) 0 ;
15258 void *argp1 = 0 ;
15259 int res1 = 0 ;
15260 PyObject * obj0 = 0 ;
15261 PyObject * obj1 = 0 ;
15262 PyObject * obj2 = 0 ;
15263 char * kwnames[] = {
15264 (char *) "self",(char *) "self",(char *) "_class", NULL
15265 };
15266
15267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15269 if (!SWIG_IsOK(res1)) {
15270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15271 }
15272 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15273 arg2 = obj1;
15274 arg3 = obj2;
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 (arg1)->_setCallbackInfo(arg2,arg3);
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 resultobj = SWIG_Py_Void();
15282 return resultobj;
15283 fail:
15284 return NULL;
15285 }
15286
15287
15288 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj = 0;
15290 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15291 wxWindow *arg2 = (wxWindow *) 0 ;
15292 int arg3 = (int) wxID_ANY ;
15293 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15294 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15295 wxSize const &arg5_defvalue = wxDefaultSize ;
15296 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15297 long arg6 = (long) 0 ;
15298 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15299 wxString *arg7 = (wxString *) &arg7_defvalue ;
15300 bool result;
15301 void *argp1 = 0 ;
15302 int res1 = 0 ;
15303 void *argp2 = 0 ;
15304 int res2 = 0 ;
15305 int val3 ;
15306 int ecode3 = 0 ;
15307 wxPoint temp4 ;
15308 wxSize temp5 ;
15309 long val6 ;
15310 int ecode6 = 0 ;
15311 bool temp7 = false ;
15312 PyObject * obj0 = 0 ;
15313 PyObject * obj1 = 0 ;
15314 PyObject * obj2 = 0 ;
15315 PyObject * obj3 = 0 ;
15316 PyObject * obj4 = 0 ;
15317 PyObject * obj5 = 0 ;
15318 PyObject * obj6 = 0 ;
15319 char * kwnames[] = {
15320 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15321 };
15322
15323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15325 if (!SWIG_IsOK(res1)) {
15326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15327 }
15328 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15329 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15330 if (!SWIG_IsOK(res2)) {
15331 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15332 }
15333 arg2 = reinterpret_cast< wxWindow * >(argp2);
15334 if (obj2) {
15335 ecode3 = SWIG_AsVal_int(obj2, &val3);
15336 if (!SWIG_IsOK(ecode3)) {
15337 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15338 }
15339 arg3 = static_cast< int >(val3);
15340 }
15341 if (obj3) {
15342 {
15343 arg4 = &temp4;
15344 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15345 }
15346 }
15347 if (obj4) {
15348 {
15349 arg5 = &temp5;
15350 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15351 }
15352 }
15353 if (obj5) {
15354 ecode6 = SWIG_AsVal_long(obj5, &val6);
15355 if (!SWIG_IsOK(ecode6)) {
15356 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15357 }
15358 arg6 = static_cast< long >(val6);
15359 }
15360 if (obj6) {
15361 {
15362 arg7 = wxString_in_helper(obj6);
15363 if (arg7 == NULL) SWIG_fail;
15364 temp7 = true;
15365 }
15366 }
15367 {
15368 PyThreadState* __tstate = wxPyBeginAllowThreads();
15369 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15370 wxPyEndAllowThreads(__tstate);
15371 if (PyErr_Occurred()) SWIG_fail;
15372 }
15373 {
15374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15375 }
15376 {
15377 if (temp7)
15378 delete arg7;
15379 }
15380 return resultobj;
15381 fail:
15382 {
15383 if (temp7)
15384 delete arg7;
15385 }
15386 return NULL;
15387 }
15388
15389
15390 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj = 0;
15392 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15393 size_t arg2 ;
15394 void *argp1 = 0 ;
15395 int res1 = 0 ;
15396 size_t val2 ;
15397 int ecode2 = 0 ;
15398 PyObject * obj0 = 0 ;
15399 PyObject * obj1 = 0 ;
15400 char * kwnames[] = {
15401 (char *) "self",(char *) "count", NULL
15402 };
15403
15404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15406 if (!SWIG_IsOK(res1)) {
15407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15408 }
15409 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15410 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15411 if (!SWIG_IsOK(ecode2)) {
15412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15413 }
15414 arg2 = static_cast< size_t >(val2);
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 (arg1)->SetItemCount(arg2);
15418 wxPyEndAllowThreads(__tstate);
15419 if (PyErr_Occurred()) SWIG_fail;
15420 }
15421 resultobj = SWIG_Py_Void();
15422 return resultobj;
15423 fail:
15424 return NULL;
15425 }
15426
15427
15428 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15429 PyObject *resultobj = 0;
15430 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15431 wxFileSystem *result = 0 ;
15432 void *argp1 = 0 ;
15433 int res1 = 0 ;
15434 PyObject *swig_obj[1] ;
15435
15436 if (!args) SWIG_fail;
15437 swig_obj[0] = args;
15438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15439 if (!SWIG_IsOK(res1)) {
15440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15441 }
15442 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 {
15446 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15447 result = (wxFileSystem *) &_result_ref;
15448 }
15449 wxPyEndAllowThreads(__tstate);
15450 if (PyErr_Occurred()) SWIG_fail;
15451 }
15452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15453 return resultobj;
15454 fail:
15455 return NULL;
15456 }
15457
15458
15459 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15460 PyObject *obj;
15461 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15462 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15463 return SWIG_Py_Void();
15464 }
15465
15466 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15467 return SWIG_Python_InitShadowInstance(args);
15468 }
15469
15470 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15471 PyObject *resultobj = 0;
15472 wxPyTaskBarIcon *result = 0 ;
15473
15474 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15475 {
15476 if (!wxPyCheckForApp()) SWIG_fail;
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15483 return resultobj;
15484 fail:
15485 return NULL;
15486 }
15487
15488
15489 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15490 PyObject *resultobj = 0;
15491 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15492 void *argp1 = 0 ;
15493 int res1 = 0 ;
15494 PyObject *swig_obj[1] ;
15495
15496 if (!args) SWIG_fail;
15497 swig_obj[0] = args;
15498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15499 if (!SWIG_IsOK(res1)) {
15500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15501 }
15502 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15503 {
15504 PyThreadState* __tstate = wxPyBeginAllowThreads();
15505 delete arg1;
15506
15507 wxPyEndAllowThreads(__tstate);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 }
15510 resultobj = SWIG_Py_Void();
15511 return resultobj;
15512 fail:
15513 return NULL;
15514 }
15515
15516
15517 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15518 PyObject *resultobj = 0;
15519 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15520 PyObject *arg2 = (PyObject *) 0 ;
15521 PyObject *arg3 = (PyObject *) 0 ;
15522 int arg4 ;
15523 void *argp1 = 0 ;
15524 int res1 = 0 ;
15525 int val4 ;
15526 int ecode4 = 0 ;
15527 PyObject * obj0 = 0 ;
15528 PyObject * obj1 = 0 ;
15529 PyObject * obj2 = 0 ;
15530 PyObject * obj3 = 0 ;
15531 char * kwnames[] = {
15532 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15533 };
15534
15535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15537 if (!SWIG_IsOK(res1)) {
15538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15539 }
15540 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15541 arg2 = obj1;
15542 arg3 = obj2;
15543 ecode4 = SWIG_AsVal_int(obj3, &val4);
15544 if (!SWIG_IsOK(ecode4)) {
15545 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15546 }
15547 arg4 = static_cast< int >(val4);
15548 {
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
15550 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 resultobj = SWIG_Py_Void();
15555 return resultobj;
15556 fail:
15557 return NULL;
15558 }
15559
15560
15561 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15562 PyObject *resultobj = 0;
15563 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15564 void *argp1 = 0 ;
15565 int res1 = 0 ;
15566 PyObject *swig_obj[1] ;
15567
15568 if (!args) SWIG_fail;
15569 swig_obj[0] = args;
15570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15571 if (!SWIG_IsOK(res1)) {
15572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15573 }
15574 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 wxPyTaskBarIcon_Destroy(arg1);
15578 wxPyEndAllowThreads(__tstate);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 resultobj = SWIG_Py_Void();
15582 return resultobj;
15583 fail:
15584 return NULL;
15585 }
15586
15587
15588 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15589 PyObject *resultobj = 0;
15590 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15591 bool result;
15592 void *argp1 = 0 ;
15593 int res1 = 0 ;
15594 PyObject *swig_obj[1] ;
15595
15596 if (!args) SWIG_fail;
15597 swig_obj[0] = args;
15598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15599 if (!SWIG_IsOK(res1)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15601 }
15602 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15603 {
15604 PyThreadState* __tstate = wxPyBeginAllowThreads();
15605 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15606 wxPyEndAllowThreads(__tstate);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 }
15609 {
15610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15611 }
15612 return resultobj;
15613 fail:
15614 return NULL;
15615 }
15616
15617
15618 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15619 PyObject *resultobj = 0;
15620 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15621 bool result;
15622 void *argp1 = 0 ;
15623 int res1 = 0 ;
15624 PyObject *swig_obj[1] ;
15625
15626 if (!args) SWIG_fail;
15627 swig_obj[0] = args;
15628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15629 if (!SWIG_IsOK(res1)) {
15630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15631 }
15632 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15633 {
15634 PyThreadState* __tstate = wxPyBeginAllowThreads();
15635 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15636 wxPyEndAllowThreads(__tstate);
15637 if (PyErr_Occurred()) SWIG_fail;
15638 }
15639 {
15640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15641 }
15642 return resultobj;
15643 fail:
15644 return NULL;
15645 }
15646
15647
15648 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15649 PyObject *resultobj = 0;
15650 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15651 wxIcon *arg2 = 0 ;
15652 wxString const &arg3_defvalue = wxPyEmptyString ;
15653 wxString *arg3 = (wxString *) &arg3_defvalue ;
15654 bool result;
15655 void *argp1 = 0 ;
15656 int res1 = 0 ;
15657 void *argp2 = 0 ;
15658 int res2 = 0 ;
15659 bool temp3 = false ;
15660 PyObject * obj0 = 0 ;
15661 PyObject * obj1 = 0 ;
15662 PyObject * obj2 = 0 ;
15663 char * kwnames[] = {
15664 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15665 };
15666
15667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15669 if (!SWIG_IsOK(res1)) {
15670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15671 }
15672 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15673 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15674 if (!SWIG_IsOK(res2)) {
15675 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15676 }
15677 if (!argp2) {
15678 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15679 }
15680 arg2 = reinterpret_cast< wxIcon * >(argp2);
15681 if (obj2) {
15682 {
15683 arg3 = wxString_in_helper(obj2);
15684 if (arg3 == NULL) SWIG_fail;
15685 temp3 = true;
15686 }
15687 }
15688 {
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 {
15695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15696 }
15697 {
15698 if (temp3)
15699 delete arg3;
15700 }
15701 return resultobj;
15702 fail:
15703 {
15704 if (temp3)
15705 delete arg3;
15706 }
15707 return NULL;
15708 }
15709
15710
15711 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15712 PyObject *resultobj = 0;
15713 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15714 bool result;
15715 void *argp1 = 0 ;
15716 int res1 = 0 ;
15717 PyObject *swig_obj[1] ;
15718
15719 if (!args) SWIG_fail;
15720 swig_obj[0] = args;
15721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15722 if (!SWIG_IsOK(res1)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15724 }
15725 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15726 {
15727 PyThreadState* __tstate = wxPyBeginAllowThreads();
15728 result = (bool)(arg1)->RemoveIcon();
15729 wxPyEndAllowThreads(__tstate);
15730 if (PyErr_Occurred()) SWIG_fail;
15731 }
15732 {
15733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15734 }
15735 return resultobj;
15736 fail:
15737 return NULL;
15738 }
15739
15740
15741 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15742 PyObject *resultobj = 0;
15743 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15744 wxMenu *arg2 = (wxMenu *) 0 ;
15745 bool result;
15746 void *argp1 = 0 ;
15747 int res1 = 0 ;
15748 void *argp2 = 0 ;
15749 int res2 = 0 ;
15750 PyObject * obj0 = 0 ;
15751 PyObject * obj1 = 0 ;
15752 char * kwnames[] = {
15753 (char *) "self",(char *) "menu", NULL
15754 };
15755
15756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
15757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15758 if (!SWIG_IsOK(res1)) {
15759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15760 }
15761 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15762 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
15763 if (!SWIG_IsOK(res2)) {
15764 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15765 }
15766 arg2 = reinterpret_cast< wxMenu * >(argp2);
15767 {
15768 PyThreadState* __tstate = wxPyBeginAllowThreads();
15769 result = (bool)(arg1)->PopupMenu(arg2);
15770 wxPyEndAllowThreads(__tstate);
15771 if (PyErr_Occurred()) SWIG_fail;
15772 }
15773 {
15774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15775 }
15776 return resultobj;
15777 fail:
15778 return NULL;
15779 }
15780
15781
15782 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15783 PyObject *obj;
15784 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15785 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
15786 return SWIG_Py_Void();
15787 }
15788
15789 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15790 return SWIG_Python_InitShadowInstance(args);
15791 }
15792
15793 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15794 PyObject *resultobj = 0;
15795 wxEventType arg1 ;
15796 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
15797 wxTaskBarIconEvent *result = 0 ;
15798 int val1 ;
15799 int ecode1 = 0 ;
15800 void *argp2 = 0 ;
15801 int res2 = 0 ;
15802 PyObject * obj0 = 0 ;
15803 PyObject * obj1 = 0 ;
15804 char * kwnames[] = {
15805 (char *) "evtType",(char *) "tbIcon", NULL
15806 };
15807
15808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15809 ecode1 = SWIG_AsVal_int(obj0, &val1);
15810 if (!SWIG_IsOK(ecode1)) {
15811 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15812 }
15813 arg1 = static_cast< wxEventType >(val1);
15814 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
15815 if (!SWIG_IsOK(res2)) {
15816 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15817 }
15818 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
15819 {
15820 PyThreadState* __tstate = wxPyBeginAllowThreads();
15821 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
15822 wxPyEndAllowThreads(__tstate);
15823 if (PyErr_Occurred()) SWIG_fail;
15824 }
15825 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
15826 return resultobj;
15827 fail:
15828 return NULL;
15829 }
15830
15831
15832 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15833 PyObject *obj;
15834 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15835 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
15836 return SWIG_Py_Void();
15837 }
15838
15839 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15840 return SWIG_Python_InitShadowInstance(args);
15841 }
15842
15843 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
15844 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
15845 return 1;
15846 }
15847
15848
15849 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
15850 PyObject *pyobj = 0;
15851
15852 {
15853 #if wxUSE_UNICODE
15854 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15855 #else
15856 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15857 #endif
15858 }
15859 return pyobj;
15860 }
15861
15862
15863 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
15864 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
15865 return 1;
15866 }
15867
15868
15869 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
15870 PyObject *pyobj = 0;
15871
15872 {
15873 #if wxUSE_UNICODE
15874 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
15875 #else
15876 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
15877 #endif
15878 }
15879 return pyobj;
15880 }
15881
15882
15883 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
15884 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
15885 return 1;
15886 }
15887
15888
15889 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
15890 PyObject *pyobj = 0;
15891
15892 {
15893 #if wxUSE_UNICODE
15894 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
15895 #else
15896 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
15897 #endif
15898 }
15899 return pyobj;
15900 }
15901
15902
15903 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
15904 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
15905 return 1;
15906 }
15907
15908
15909 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
15910 PyObject *pyobj = 0;
15911
15912 {
15913 #if wxUSE_UNICODE
15914 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
15915 #else
15916 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
15917 #endif
15918 }
15919 return pyobj;
15920 }
15921
15922
15923 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
15924 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
15925 return 1;
15926 }
15927
15928
15929 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
15930 PyObject *pyobj = 0;
15931
15932 {
15933 #if wxUSE_UNICODE
15934 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
15935 #else
15936 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
15937 #endif
15938 }
15939 return pyobj;
15940 }
15941
15942
15943 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
15944 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
15945 return 1;
15946 }
15947
15948
15949 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
15950 PyObject *pyobj = 0;
15951
15952 {
15953 #if wxUSE_UNICODE
15954 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
15955 #else
15956 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
15957 #endif
15958 }
15959 return pyobj;
15960 }
15961
15962
15963 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15964 PyObject *resultobj = 0;
15965 wxColourData *result = 0 ;
15966
15967 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
15968 {
15969 PyThreadState* __tstate = wxPyBeginAllowThreads();
15970 result = (wxColourData *)new wxColourData();
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
15975 return resultobj;
15976 fail:
15977 return NULL;
15978 }
15979
15980
15981 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15982 PyObject *resultobj = 0;
15983 wxColourData *arg1 = (wxColourData *) 0 ;
15984 void *argp1 = 0 ;
15985 int res1 = 0 ;
15986 PyObject *swig_obj[1] ;
15987
15988 if (!args) SWIG_fail;
15989 swig_obj[0] = args;
15990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
15991 if (!SWIG_IsOK(res1)) {
15992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
15993 }
15994 arg1 = reinterpret_cast< wxColourData * >(argp1);
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 delete arg1;
15998
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 resultobj = SWIG_Py_Void();
16003 return resultobj;
16004 fail:
16005 return NULL;
16006 }
16007
16008
16009 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16010 PyObject *resultobj = 0;
16011 wxColourData *arg1 = (wxColourData *) 0 ;
16012 bool result;
16013 void *argp1 = 0 ;
16014 int res1 = 0 ;
16015 PyObject *swig_obj[1] ;
16016
16017 if (!args) SWIG_fail;
16018 swig_obj[0] = args;
16019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16020 if (!SWIG_IsOK(res1)) {
16021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16022 }
16023 arg1 = reinterpret_cast< wxColourData * >(argp1);
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 result = (bool)(arg1)->GetChooseFull();
16027 wxPyEndAllowThreads(__tstate);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 }
16030 {
16031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16032 }
16033 return resultobj;
16034 fail:
16035 return NULL;
16036 }
16037
16038
16039 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16040 PyObject *resultobj = 0;
16041 wxColourData *arg1 = (wxColourData *) 0 ;
16042 wxColour result;
16043 void *argp1 = 0 ;
16044 int res1 = 0 ;
16045 PyObject *swig_obj[1] ;
16046
16047 if (!args) SWIG_fail;
16048 swig_obj[0] = args;
16049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16050 if (!SWIG_IsOK(res1)) {
16051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16052 }
16053 arg1 = reinterpret_cast< wxColourData * >(argp1);
16054 {
16055 PyThreadState* __tstate = wxPyBeginAllowThreads();
16056 result = (arg1)->GetColour();
16057 wxPyEndAllowThreads(__tstate);
16058 if (PyErr_Occurred()) SWIG_fail;
16059 }
16060 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16061 return resultobj;
16062 fail:
16063 return NULL;
16064 }
16065
16066
16067 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16068 PyObject *resultobj = 0;
16069 wxColourData *arg1 = (wxColourData *) 0 ;
16070 int arg2 ;
16071 wxColour result;
16072 void *argp1 = 0 ;
16073 int res1 = 0 ;
16074 int val2 ;
16075 int ecode2 = 0 ;
16076 PyObject * obj0 = 0 ;
16077 PyObject * obj1 = 0 ;
16078 char * kwnames[] = {
16079 (char *) "self",(char *) "i", NULL
16080 };
16081
16082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16084 if (!SWIG_IsOK(res1)) {
16085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16086 }
16087 arg1 = reinterpret_cast< wxColourData * >(argp1);
16088 ecode2 = SWIG_AsVal_int(obj1, &val2);
16089 if (!SWIG_IsOK(ecode2)) {
16090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16091 }
16092 arg2 = static_cast< int >(val2);
16093 {
16094 PyThreadState* __tstate = wxPyBeginAllowThreads();
16095 result = (arg1)->GetCustomColour(arg2);
16096 wxPyEndAllowThreads(__tstate);
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16100 return resultobj;
16101 fail:
16102 return NULL;
16103 }
16104
16105
16106 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16107 PyObject *resultobj = 0;
16108 wxColourData *arg1 = (wxColourData *) 0 ;
16109 int arg2 ;
16110 void *argp1 = 0 ;
16111 int res1 = 0 ;
16112 int val2 ;
16113 int ecode2 = 0 ;
16114 PyObject * obj0 = 0 ;
16115 PyObject * obj1 = 0 ;
16116 char * kwnames[] = {
16117 (char *) "self",(char *) "flag", NULL
16118 };
16119
16120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16122 if (!SWIG_IsOK(res1)) {
16123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16124 }
16125 arg1 = reinterpret_cast< wxColourData * >(argp1);
16126 ecode2 = SWIG_AsVal_int(obj1, &val2);
16127 if (!SWIG_IsOK(ecode2)) {
16128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16129 }
16130 arg2 = static_cast< int >(val2);
16131 {
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 (arg1)->SetChooseFull(arg2);
16134 wxPyEndAllowThreads(__tstate);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 }
16137 resultobj = SWIG_Py_Void();
16138 return resultobj;
16139 fail:
16140 return NULL;
16141 }
16142
16143
16144 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj = 0;
16146 wxColourData *arg1 = (wxColourData *) 0 ;
16147 wxColour *arg2 = 0 ;
16148 void *argp1 = 0 ;
16149 int res1 = 0 ;
16150 wxColour temp2 ;
16151 PyObject * obj0 = 0 ;
16152 PyObject * obj1 = 0 ;
16153 char * kwnames[] = {
16154 (char *) "self",(char *) "colour", NULL
16155 };
16156
16157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16159 if (!SWIG_IsOK(res1)) {
16160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16161 }
16162 arg1 = reinterpret_cast< wxColourData * >(argp1);
16163 {
16164 arg2 = &temp2;
16165 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16166 }
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 (arg1)->SetColour((wxColour const &)*arg2);
16170 wxPyEndAllowThreads(__tstate);
16171 if (PyErr_Occurred()) SWIG_fail;
16172 }
16173 resultobj = SWIG_Py_Void();
16174 return resultobj;
16175 fail:
16176 return NULL;
16177 }
16178
16179
16180 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16181 PyObject *resultobj = 0;
16182 wxColourData *arg1 = (wxColourData *) 0 ;
16183 int arg2 ;
16184 wxColour *arg3 = 0 ;
16185 void *argp1 = 0 ;
16186 int res1 = 0 ;
16187 int val2 ;
16188 int ecode2 = 0 ;
16189 wxColour temp3 ;
16190 PyObject * obj0 = 0 ;
16191 PyObject * obj1 = 0 ;
16192 PyObject * obj2 = 0 ;
16193 char * kwnames[] = {
16194 (char *) "self",(char *) "i",(char *) "colour", NULL
16195 };
16196
16197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16199 if (!SWIG_IsOK(res1)) {
16200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16201 }
16202 arg1 = reinterpret_cast< wxColourData * >(argp1);
16203 ecode2 = SWIG_AsVal_int(obj1, &val2);
16204 if (!SWIG_IsOK(ecode2)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16206 }
16207 arg2 = static_cast< int >(val2);
16208 {
16209 arg3 = &temp3;
16210 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16211 }
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 resultobj = SWIG_Py_Void();
16219 return resultobj;
16220 fail:
16221 return NULL;
16222 }
16223
16224
16225 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16226 PyObject *obj;
16227 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16228 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16229 return SWIG_Py_Void();
16230 }
16231
16232 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16233 return SWIG_Python_InitShadowInstance(args);
16234 }
16235
16236 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16237 PyObject *resultobj = 0;
16238 wxWindow *arg1 = (wxWindow *) 0 ;
16239 wxColourData *arg2 = (wxColourData *) NULL ;
16240 wxColourDialog *result = 0 ;
16241 void *argp1 = 0 ;
16242 int res1 = 0 ;
16243 void *argp2 = 0 ;
16244 int res2 = 0 ;
16245 PyObject * obj0 = 0 ;
16246 PyObject * obj1 = 0 ;
16247 char * kwnames[] = {
16248 (char *) "parent",(char *) "data", NULL
16249 };
16250
16251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16253 if (!SWIG_IsOK(res1)) {
16254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16255 }
16256 arg1 = reinterpret_cast< wxWindow * >(argp1);
16257 if (obj1) {
16258 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16259 if (!SWIG_IsOK(res2)) {
16260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16261 }
16262 arg2 = reinterpret_cast< wxColourData * >(argp2);
16263 }
16264 {
16265 if (!wxPyCheckForApp()) SWIG_fail;
16266 PyThreadState* __tstate = wxPyBeginAllowThreads();
16267 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16268 wxPyEndAllowThreads(__tstate);
16269 if (PyErr_Occurred()) SWIG_fail;
16270 }
16271 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16272 return resultobj;
16273 fail:
16274 return NULL;
16275 }
16276
16277
16278 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16279 PyObject *resultobj = 0;
16280 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16281 wxColourData *result = 0 ;
16282 void *argp1 = 0 ;
16283 int res1 = 0 ;
16284 PyObject *swig_obj[1] ;
16285
16286 if (!args) SWIG_fail;
16287 swig_obj[0] = args;
16288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16289 if (!SWIG_IsOK(res1)) {
16290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16291 }
16292 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 {
16296 wxColourData &_result_ref = (arg1)->GetColourData();
16297 result = (wxColourData *) &_result_ref;
16298 }
16299 wxPyEndAllowThreads(__tstate);
16300 if (PyErr_Occurred()) SWIG_fail;
16301 }
16302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16303 return resultobj;
16304 fail:
16305 return NULL;
16306 }
16307
16308
16309 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16310 PyObject *obj;
16311 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16312 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16313 return SWIG_Py_Void();
16314 }
16315
16316 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16317 return SWIG_Python_InitShadowInstance(args);
16318 }
16319
16320 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16321 PyObject *resultobj = 0;
16322 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16323 wxColour const &arg2_defvalue = wxNullColour ;
16324 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16325 wxString const &arg3_defvalue = wxPyEmptyString ;
16326 wxString *arg3 = (wxString *) &arg3_defvalue ;
16327 wxColour result;
16328 void *argp1 = 0 ;
16329 int res1 = 0 ;
16330 wxColour temp2 ;
16331 bool temp3 = false ;
16332 PyObject * obj0 = 0 ;
16333 PyObject * obj1 = 0 ;
16334 PyObject * obj2 = 0 ;
16335 char * kwnames[] = {
16336 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16337 };
16338
16339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16340 if (obj0) {
16341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16342 if (!SWIG_IsOK(res1)) {
16343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16344 }
16345 arg1 = reinterpret_cast< wxWindow * >(argp1);
16346 }
16347 if (obj1) {
16348 {
16349 arg2 = &temp2;
16350 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16351 }
16352 }
16353 if (obj2) {
16354 {
16355 arg3 = wxString_in_helper(obj2);
16356 if (arg3 == NULL) SWIG_fail;
16357 temp3 = true;
16358 }
16359 }
16360 {
16361 PyThreadState* __tstate = wxPyBeginAllowThreads();
16362 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
16366 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16367 {
16368 if (temp3)
16369 delete arg3;
16370 }
16371 return resultobj;
16372 fail:
16373 {
16374 if (temp3)
16375 delete arg3;
16376 }
16377 return NULL;
16378 }
16379
16380
16381 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16382 PyObject *resultobj = 0;
16383 wxWindow *arg1 = (wxWindow *) 0 ;
16384 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16385 wxString *arg2 = (wxString *) &arg2_defvalue ;
16386 wxString const &arg3_defvalue = wxPyEmptyString ;
16387 wxString *arg3 = (wxString *) &arg3_defvalue ;
16388 long arg4 = (long) 0 ;
16389 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16390 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16391 wxSize const &arg6_defvalue = wxDefaultSize ;
16392 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16393 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16394 wxString *arg7 = (wxString *) &arg7_defvalue ;
16395 wxDirDialog *result = 0 ;
16396 void *argp1 = 0 ;
16397 int res1 = 0 ;
16398 bool temp2 = false ;
16399 bool temp3 = false ;
16400 long val4 ;
16401 int ecode4 = 0 ;
16402 wxPoint temp5 ;
16403 wxSize temp6 ;
16404 bool temp7 = false ;
16405 PyObject * obj0 = 0 ;
16406 PyObject * obj1 = 0 ;
16407 PyObject * obj2 = 0 ;
16408 PyObject * obj3 = 0 ;
16409 PyObject * obj4 = 0 ;
16410 PyObject * obj5 = 0 ;
16411 PyObject * obj6 = 0 ;
16412 char * kwnames[] = {
16413 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16414 };
16415
16416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16418 if (!SWIG_IsOK(res1)) {
16419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16420 }
16421 arg1 = reinterpret_cast< wxWindow * >(argp1);
16422 if (obj1) {
16423 {
16424 arg2 = wxString_in_helper(obj1);
16425 if (arg2 == NULL) SWIG_fail;
16426 temp2 = true;
16427 }
16428 }
16429 if (obj2) {
16430 {
16431 arg3 = wxString_in_helper(obj2);
16432 if (arg3 == NULL) SWIG_fail;
16433 temp3 = true;
16434 }
16435 }
16436 if (obj3) {
16437 ecode4 = SWIG_AsVal_long(obj3, &val4);
16438 if (!SWIG_IsOK(ecode4)) {
16439 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16440 }
16441 arg4 = static_cast< long >(val4);
16442 }
16443 if (obj4) {
16444 {
16445 arg5 = &temp5;
16446 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16447 }
16448 }
16449 if (obj5) {
16450 {
16451 arg6 = &temp6;
16452 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16453 }
16454 }
16455 if (obj6) {
16456 {
16457 arg7 = wxString_in_helper(obj6);
16458 if (arg7 == NULL) SWIG_fail;
16459 temp7 = true;
16460 }
16461 }
16462 {
16463 if (!wxPyCheckForApp()) SWIG_fail;
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16470 {
16471 if (temp2)
16472 delete arg2;
16473 }
16474 {
16475 if (temp3)
16476 delete arg3;
16477 }
16478 {
16479 if (temp7)
16480 delete arg7;
16481 }
16482 return resultobj;
16483 fail:
16484 {
16485 if (temp2)
16486 delete arg2;
16487 }
16488 {
16489 if (temp3)
16490 delete arg3;
16491 }
16492 {
16493 if (temp7)
16494 delete arg7;
16495 }
16496 return NULL;
16497 }
16498
16499
16500 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16501 PyObject *resultobj = 0;
16502 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16503 wxString result;
16504 void *argp1 = 0 ;
16505 int res1 = 0 ;
16506 PyObject *swig_obj[1] ;
16507
16508 if (!args) SWIG_fail;
16509 swig_obj[0] = args;
16510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16511 if (!SWIG_IsOK(res1)) {
16512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16513 }
16514 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 result = (arg1)->GetPath();
16518 wxPyEndAllowThreads(__tstate);
16519 if (PyErr_Occurred()) SWIG_fail;
16520 }
16521 {
16522 #if wxUSE_UNICODE
16523 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16524 #else
16525 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16526 #endif
16527 }
16528 return resultobj;
16529 fail:
16530 return NULL;
16531 }
16532
16533
16534 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16535 PyObject *resultobj = 0;
16536 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16537 wxString result;
16538 void *argp1 = 0 ;
16539 int res1 = 0 ;
16540 PyObject *swig_obj[1] ;
16541
16542 if (!args) SWIG_fail;
16543 swig_obj[0] = args;
16544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16545 if (!SWIG_IsOK(res1)) {
16546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16547 }
16548 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16549 {
16550 PyThreadState* __tstate = wxPyBeginAllowThreads();
16551 result = (arg1)->GetMessage();
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 {
16556 #if wxUSE_UNICODE
16557 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16558 #else
16559 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16560 #endif
16561 }
16562 return resultobj;
16563 fail:
16564 return NULL;
16565 }
16566
16567
16568 SWIGINTERN PyObject *_wrap_DirDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16569 PyObject *resultobj = 0;
16570 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16571 long result;
16572 void *argp1 = 0 ;
16573 int res1 = 0 ;
16574 PyObject *swig_obj[1] ;
16575
16576 if (!args) SWIG_fail;
16577 swig_obj[0] = args;
16578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16579 if (!SWIG_IsOK(res1)) {
16580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16581 }
16582 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16583 {
16584 PyThreadState* __tstate = wxPyBeginAllowThreads();
16585 result = (long)(arg1)->GetStyle();
16586 wxPyEndAllowThreads(__tstate);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 }
16589 resultobj = SWIG_From_long(static_cast< long >(result));
16590 return resultobj;
16591 fail:
16592 return NULL;
16593 }
16594
16595
16596 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj = 0;
16598 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16599 wxString *arg2 = 0 ;
16600 void *argp1 = 0 ;
16601 int res1 = 0 ;
16602 bool temp2 = false ;
16603 PyObject * obj0 = 0 ;
16604 PyObject * obj1 = 0 ;
16605 char * kwnames[] = {
16606 (char *) "self",(char *) "message", NULL
16607 };
16608
16609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16611 if (!SWIG_IsOK(res1)) {
16612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16613 }
16614 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16615 {
16616 arg2 = wxString_in_helper(obj1);
16617 if (arg2 == NULL) SWIG_fail;
16618 temp2 = true;
16619 }
16620 {
16621 PyThreadState* __tstate = wxPyBeginAllowThreads();
16622 (arg1)->SetMessage((wxString const &)*arg2);
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 resultobj = SWIG_Py_Void();
16627 {
16628 if (temp2)
16629 delete arg2;
16630 }
16631 return resultobj;
16632 fail:
16633 {
16634 if (temp2)
16635 delete arg2;
16636 }
16637 return NULL;
16638 }
16639
16640
16641 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16642 PyObject *resultobj = 0;
16643 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16644 wxString *arg2 = 0 ;
16645 void *argp1 = 0 ;
16646 int res1 = 0 ;
16647 bool temp2 = false ;
16648 PyObject * obj0 = 0 ;
16649 PyObject * obj1 = 0 ;
16650 char * kwnames[] = {
16651 (char *) "self",(char *) "path", NULL
16652 };
16653
16654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16656 if (!SWIG_IsOK(res1)) {
16657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16658 }
16659 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16660 {
16661 arg2 = wxString_in_helper(obj1);
16662 if (arg2 == NULL) SWIG_fail;
16663 temp2 = true;
16664 }
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 (arg1)->SetPath((wxString const &)*arg2);
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 resultobj = SWIG_Py_Void();
16672 {
16673 if (temp2)
16674 delete arg2;
16675 }
16676 return resultobj;
16677 fail:
16678 {
16679 if (temp2)
16680 delete arg2;
16681 }
16682 return NULL;
16683 }
16684
16685
16686 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16687 PyObject *obj;
16688 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16689 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16690 return SWIG_Py_Void();
16691 }
16692
16693 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16694 return SWIG_Python_InitShadowInstance(args);
16695 }
16696
16697 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16698 PyObject *resultobj = 0;
16699 wxWindow *arg1 = (wxWindow *) 0 ;
16700 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16701 wxString *arg2 = (wxString *) &arg2_defvalue ;
16702 wxString const &arg3_defvalue = wxPyEmptyString ;
16703 wxString *arg3 = (wxString *) &arg3_defvalue ;
16704 wxString const &arg4_defvalue = wxPyEmptyString ;
16705 wxString *arg4 = (wxString *) &arg4_defvalue ;
16706 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16707 wxString *arg5 = (wxString *) &arg5_defvalue ;
16708 long arg6 = (long) 0 ;
16709 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16710 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16711 wxFileDialog *result = 0 ;
16712 void *argp1 = 0 ;
16713 int res1 = 0 ;
16714 bool temp2 = false ;
16715 bool temp3 = false ;
16716 bool temp4 = false ;
16717 bool temp5 = false ;
16718 long val6 ;
16719 int ecode6 = 0 ;
16720 wxPoint temp7 ;
16721 PyObject * obj0 = 0 ;
16722 PyObject * obj1 = 0 ;
16723 PyObject * obj2 = 0 ;
16724 PyObject * obj3 = 0 ;
16725 PyObject * obj4 = 0 ;
16726 PyObject * obj5 = 0 ;
16727 PyObject * obj6 = 0 ;
16728 char * kwnames[] = {
16729 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16730 };
16731
16732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16734 if (!SWIG_IsOK(res1)) {
16735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16736 }
16737 arg1 = reinterpret_cast< wxWindow * >(argp1);
16738 if (obj1) {
16739 {
16740 arg2 = wxString_in_helper(obj1);
16741 if (arg2 == NULL) SWIG_fail;
16742 temp2 = true;
16743 }
16744 }
16745 if (obj2) {
16746 {
16747 arg3 = wxString_in_helper(obj2);
16748 if (arg3 == NULL) SWIG_fail;
16749 temp3 = true;
16750 }
16751 }
16752 if (obj3) {
16753 {
16754 arg4 = wxString_in_helper(obj3);
16755 if (arg4 == NULL) SWIG_fail;
16756 temp4 = true;
16757 }
16758 }
16759 if (obj4) {
16760 {
16761 arg5 = wxString_in_helper(obj4);
16762 if (arg5 == NULL) SWIG_fail;
16763 temp5 = true;
16764 }
16765 }
16766 if (obj5) {
16767 ecode6 = SWIG_AsVal_long(obj5, &val6);
16768 if (!SWIG_IsOK(ecode6)) {
16769 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16770 }
16771 arg6 = static_cast< long >(val6);
16772 }
16773 if (obj6) {
16774 {
16775 arg7 = &temp7;
16776 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
16777 }
16778 }
16779 {
16780 if (!wxPyCheckForApp()) SWIG_fail;
16781 PyThreadState* __tstate = wxPyBeginAllowThreads();
16782 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
16783 wxPyEndAllowThreads(__tstate);
16784 if (PyErr_Occurred()) SWIG_fail;
16785 }
16786 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
16787 {
16788 if (temp2)
16789 delete arg2;
16790 }
16791 {
16792 if (temp3)
16793 delete arg3;
16794 }
16795 {
16796 if (temp4)
16797 delete arg4;
16798 }
16799 {
16800 if (temp5)
16801 delete arg5;
16802 }
16803 return resultobj;
16804 fail:
16805 {
16806 if (temp2)
16807 delete arg2;
16808 }
16809 {
16810 if (temp3)
16811 delete arg3;
16812 }
16813 {
16814 if (temp4)
16815 delete arg4;
16816 }
16817 {
16818 if (temp5)
16819 delete arg5;
16820 }
16821 return NULL;
16822 }
16823
16824
16825 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj = 0;
16827 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16828 wxString *arg2 = 0 ;
16829 void *argp1 = 0 ;
16830 int res1 = 0 ;
16831 bool temp2 = false ;
16832 PyObject * obj0 = 0 ;
16833 PyObject * obj1 = 0 ;
16834 char * kwnames[] = {
16835 (char *) "self",(char *) "message", NULL
16836 };
16837
16838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16840 if (!SWIG_IsOK(res1)) {
16841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16842 }
16843 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16844 {
16845 arg2 = wxString_in_helper(obj1);
16846 if (arg2 == NULL) SWIG_fail;
16847 temp2 = true;
16848 }
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 (arg1)->SetMessage((wxString const &)*arg2);
16852 wxPyEndAllowThreads(__tstate);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 }
16855 resultobj = SWIG_Py_Void();
16856 {
16857 if (temp2)
16858 delete arg2;
16859 }
16860 return resultobj;
16861 fail:
16862 {
16863 if (temp2)
16864 delete arg2;
16865 }
16866 return NULL;
16867 }
16868
16869
16870 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16871 PyObject *resultobj = 0;
16872 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16873 wxString *arg2 = 0 ;
16874 void *argp1 = 0 ;
16875 int res1 = 0 ;
16876 bool temp2 = false ;
16877 PyObject * obj0 = 0 ;
16878 PyObject * obj1 = 0 ;
16879 char * kwnames[] = {
16880 (char *) "self",(char *) "path", NULL
16881 };
16882
16883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16885 if (!SWIG_IsOK(res1)) {
16886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16887 }
16888 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16889 {
16890 arg2 = wxString_in_helper(obj1);
16891 if (arg2 == NULL) SWIG_fail;
16892 temp2 = true;
16893 }
16894 {
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 (arg1)->SetPath((wxString const &)*arg2);
16897 wxPyEndAllowThreads(__tstate);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 }
16900 resultobj = SWIG_Py_Void();
16901 {
16902 if (temp2)
16903 delete arg2;
16904 }
16905 return resultobj;
16906 fail:
16907 {
16908 if (temp2)
16909 delete arg2;
16910 }
16911 return NULL;
16912 }
16913
16914
16915 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16916 PyObject *resultobj = 0;
16917 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16918 wxString *arg2 = 0 ;
16919 void *argp1 = 0 ;
16920 int res1 = 0 ;
16921 bool temp2 = false ;
16922 PyObject * obj0 = 0 ;
16923 PyObject * obj1 = 0 ;
16924 char * kwnames[] = {
16925 (char *) "self",(char *) "dir", NULL
16926 };
16927
16928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
16929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16930 if (!SWIG_IsOK(res1)) {
16931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16932 }
16933 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16934 {
16935 arg2 = wxString_in_helper(obj1);
16936 if (arg2 == NULL) SWIG_fail;
16937 temp2 = true;
16938 }
16939 {
16940 PyThreadState* __tstate = wxPyBeginAllowThreads();
16941 (arg1)->SetDirectory((wxString const &)*arg2);
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 resultobj = SWIG_Py_Void();
16946 {
16947 if (temp2)
16948 delete arg2;
16949 }
16950 return resultobj;
16951 fail:
16952 {
16953 if (temp2)
16954 delete arg2;
16955 }
16956 return NULL;
16957 }
16958
16959
16960 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16961 PyObject *resultobj = 0;
16962 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16963 wxString *arg2 = 0 ;
16964 void *argp1 = 0 ;
16965 int res1 = 0 ;
16966 bool temp2 = false ;
16967 PyObject * obj0 = 0 ;
16968 PyObject * obj1 = 0 ;
16969 char * kwnames[] = {
16970 (char *) "self",(char *) "name", NULL
16971 };
16972
16973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
16974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16975 if (!SWIG_IsOK(res1)) {
16976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16977 }
16978 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16979 {
16980 arg2 = wxString_in_helper(obj1);
16981 if (arg2 == NULL) SWIG_fail;
16982 temp2 = true;
16983 }
16984 {
16985 PyThreadState* __tstate = wxPyBeginAllowThreads();
16986 (arg1)->SetFilename((wxString const &)*arg2);
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 resultobj = SWIG_Py_Void();
16991 {
16992 if (temp2)
16993 delete arg2;
16994 }
16995 return resultobj;
16996 fail:
16997 {
16998 if (temp2)
16999 delete arg2;
17000 }
17001 return NULL;
17002 }
17003
17004
17005 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17006 PyObject *resultobj = 0;
17007 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17008 wxString *arg2 = 0 ;
17009 void *argp1 = 0 ;
17010 int res1 = 0 ;
17011 bool temp2 = false ;
17012 PyObject * obj0 = 0 ;
17013 PyObject * obj1 = 0 ;
17014 char * kwnames[] = {
17015 (char *) "self",(char *) "wildCard", NULL
17016 };
17017
17018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17020 if (!SWIG_IsOK(res1)) {
17021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17022 }
17023 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17024 {
17025 arg2 = wxString_in_helper(obj1);
17026 if (arg2 == NULL) SWIG_fail;
17027 temp2 = true;
17028 }
17029 {
17030 PyThreadState* __tstate = wxPyBeginAllowThreads();
17031 (arg1)->SetWildcard((wxString const &)*arg2);
17032 wxPyEndAllowThreads(__tstate);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
17035 resultobj = SWIG_Py_Void();
17036 {
17037 if (temp2)
17038 delete arg2;
17039 }
17040 return resultobj;
17041 fail:
17042 {
17043 if (temp2)
17044 delete arg2;
17045 }
17046 return NULL;
17047 }
17048
17049
17050 SWIGINTERN PyObject *_wrap_FileDialog_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17051 PyObject *resultobj = 0;
17052 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17053 long arg2 ;
17054 void *argp1 = 0 ;
17055 int res1 = 0 ;
17056 long val2 ;
17057 int ecode2 = 0 ;
17058 PyObject * obj0 = 0 ;
17059 PyObject * obj1 = 0 ;
17060 char * kwnames[] = {
17061 (char *) "self",(char *) "style", NULL
17062 };
17063
17064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
17065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17066 if (!SWIG_IsOK(res1)) {
17067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17068 }
17069 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17070 ecode2 = SWIG_AsVal_long(obj1, &val2);
17071 if (!SWIG_IsOK(ecode2)) {
17072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17073 }
17074 arg2 = static_cast< long >(val2);
17075 {
17076 PyThreadState* __tstate = wxPyBeginAllowThreads();
17077 (arg1)->SetStyle(arg2);
17078 wxPyEndAllowThreads(__tstate);
17079 if (PyErr_Occurred()) SWIG_fail;
17080 }
17081 resultobj = SWIG_Py_Void();
17082 return resultobj;
17083 fail:
17084 return NULL;
17085 }
17086
17087
17088 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17089 PyObject *resultobj = 0;
17090 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17091 int arg2 ;
17092 void *argp1 = 0 ;
17093 int res1 = 0 ;
17094 int val2 ;
17095 int ecode2 = 0 ;
17096 PyObject * obj0 = 0 ;
17097 PyObject * obj1 = 0 ;
17098 char * kwnames[] = {
17099 (char *) "self",(char *) "filterIndex", NULL
17100 };
17101
17102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17104 if (!SWIG_IsOK(res1)) {
17105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17106 }
17107 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17108 ecode2 = SWIG_AsVal_int(obj1, &val2);
17109 if (!SWIG_IsOK(ecode2)) {
17110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17111 }
17112 arg2 = static_cast< int >(val2);
17113 {
17114 PyThreadState* __tstate = wxPyBeginAllowThreads();
17115 (arg1)->SetFilterIndex(arg2);
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 resultobj = SWIG_Py_Void();
17120 return resultobj;
17121 fail:
17122 return NULL;
17123 }
17124
17125
17126 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17127 PyObject *resultobj = 0;
17128 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17129 wxString result;
17130 void *argp1 = 0 ;
17131 int res1 = 0 ;
17132 PyObject *swig_obj[1] ;
17133
17134 if (!args) SWIG_fail;
17135 swig_obj[0] = args;
17136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17137 if (!SWIG_IsOK(res1)) {
17138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17139 }
17140 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17141 {
17142 PyThreadState* __tstate = wxPyBeginAllowThreads();
17143 result = ((wxFileDialog const *)arg1)->GetMessage();
17144 wxPyEndAllowThreads(__tstate);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 }
17147 {
17148 #if wxUSE_UNICODE
17149 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17150 #else
17151 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17152 #endif
17153 }
17154 return resultobj;
17155 fail:
17156 return NULL;
17157 }
17158
17159
17160 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17161 PyObject *resultobj = 0;
17162 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17163 wxString result;
17164 void *argp1 = 0 ;
17165 int res1 = 0 ;
17166 PyObject *swig_obj[1] ;
17167
17168 if (!args) SWIG_fail;
17169 swig_obj[0] = args;
17170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17171 if (!SWIG_IsOK(res1)) {
17172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17173 }
17174 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17175 {
17176 PyThreadState* __tstate = wxPyBeginAllowThreads();
17177 result = ((wxFileDialog const *)arg1)->GetPath();
17178 wxPyEndAllowThreads(__tstate);
17179 if (PyErr_Occurred()) SWIG_fail;
17180 }
17181 {
17182 #if wxUSE_UNICODE
17183 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17184 #else
17185 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17186 #endif
17187 }
17188 return resultobj;
17189 fail:
17190 return NULL;
17191 }
17192
17193
17194 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17195 PyObject *resultobj = 0;
17196 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17197 wxString result;
17198 void *argp1 = 0 ;
17199 int res1 = 0 ;
17200 PyObject *swig_obj[1] ;
17201
17202 if (!args) SWIG_fail;
17203 swig_obj[0] = args;
17204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17205 if (!SWIG_IsOK(res1)) {
17206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17207 }
17208 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17209 {
17210 PyThreadState* __tstate = wxPyBeginAllowThreads();
17211 result = ((wxFileDialog const *)arg1)->GetDirectory();
17212 wxPyEndAllowThreads(__tstate);
17213 if (PyErr_Occurred()) SWIG_fail;
17214 }
17215 {
17216 #if wxUSE_UNICODE
17217 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17218 #else
17219 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17220 #endif
17221 }
17222 return resultobj;
17223 fail:
17224 return NULL;
17225 }
17226
17227
17228 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17229 PyObject *resultobj = 0;
17230 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17231 wxString result;
17232 void *argp1 = 0 ;
17233 int res1 = 0 ;
17234 PyObject *swig_obj[1] ;
17235
17236 if (!args) SWIG_fail;
17237 swig_obj[0] = args;
17238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17239 if (!SWIG_IsOK(res1)) {
17240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17241 }
17242 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17243 {
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 result = ((wxFileDialog const *)arg1)->GetFilename();
17246 wxPyEndAllowThreads(__tstate);
17247 if (PyErr_Occurred()) SWIG_fail;
17248 }
17249 {
17250 #if wxUSE_UNICODE
17251 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17252 #else
17253 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17254 #endif
17255 }
17256 return resultobj;
17257 fail:
17258 return NULL;
17259 }
17260
17261
17262 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17263 PyObject *resultobj = 0;
17264 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17265 wxString result;
17266 void *argp1 = 0 ;
17267 int res1 = 0 ;
17268 PyObject *swig_obj[1] ;
17269
17270 if (!args) SWIG_fail;
17271 swig_obj[0] = args;
17272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17273 if (!SWIG_IsOK(res1)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17275 }
17276 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17277 {
17278 PyThreadState* __tstate = wxPyBeginAllowThreads();
17279 result = ((wxFileDialog const *)arg1)->GetWildcard();
17280 wxPyEndAllowThreads(__tstate);
17281 if (PyErr_Occurred()) SWIG_fail;
17282 }
17283 {
17284 #if wxUSE_UNICODE
17285 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17286 #else
17287 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17288 #endif
17289 }
17290 return resultobj;
17291 fail:
17292 return NULL;
17293 }
17294
17295
17296 SWIGINTERN PyObject *_wrap_FileDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17297 PyObject *resultobj = 0;
17298 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17299 long result;
17300 void *argp1 = 0 ;
17301 int res1 = 0 ;
17302 PyObject *swig_obj[1] ;
17303
17304 if (!args) SWIG_fail;
17305 swig_obj[0] = args;
17306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17307 if (!SWIG_IsOK(res1)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17309 }
17310 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17311 {
17312 PyThreadState* __tstate = wxPyBeginAllowThreads();
17313 result = (long)((wxFileDialog const *)arg1)->GetStyle();
17314 wxPyEndAllowThreads(__tstate);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 }
17317 resultobj = SWIG_From_long(static_cast< long >(result));
17318 return resultobj;
17319 fail:
17320 return NULL;
17321 }
17322
17323
17324 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17325 PyObject *resultobj = 0;
17326 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17327 int result;
17328 void *argp1 = 0 ;
17329 int res1 = 0 ;
17330 PyObject *swig_obj[1] ;
17331
17332 if (!args) SWIG_fail;
17333 swig_obj[0] = args;
17334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17335 if (!SWIG_IsOK(res1)) {
17336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17337 }
17338 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17339 {
17340 PyThreadState* __tstate = wxPyBeginAllowThreads();
17341 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17342 wxPyEndAllowThreads(__tstate);
17343 if (PyErr_Occurred()) SWIG_fail;
17344 }
17345 resultobj = SWIG_From_int(static_cast< int >(result));
17346 return resultobj;
17347 fail:
17348 return NULL;
17349 }
17350
17351
17352 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17353 PyObject *resultobj = 0;
17354 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17355 PyObject *result = 0 ;
17356 void *argp1 = 0 ;
17357 int res1 = 0 ;
17358 PyObject *swig_obj[1] ;
17359
17360 if (!args) SWIG_fail;
17361 swig_obj[0] = args;
17362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17363 if (!SWIG_IsOK(res1)) {
17364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17365 }
17366 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 resultobj = result;
17374 return resultobj;
17375 fail:
17376 return NULL;
17377 }
17378
17379
17380 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17381 PyObject *resultobj = 0;
17382 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17383 PyObject *result = 0 ;
17384 void *argp1 = 0 ;
17385 int res1 = 0 ;
17386 PyObject *swig_obj[1] ;
17387
17388 if (!args) SWIG_fail;
17389 swig_obj[0] = args;
17390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17391 if (!SWIG_IsOK(res1)) {
17392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17393 }
17394 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17395 {
17396 PyThreadState* __tstate = wxPyBeginAllowThreads();
17397 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17398 wxPyEndAllowThreads(__tstate);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
17401 resultobj = result;
17402 return resultobj;
17403 fail:
17404 return NULL;
17405 }
17406
17407
17408 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17409 PyObject *obj;
17410 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17411 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17412 return SWIG_Py_Void();
17413 }
17414
17415 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17416 return SWIG_Python_InitShadowInstance(args);
17417 }
17418
17419 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17420 PyObject *resultobj = 0;
17421 wxWindow *arg1 = (wxWindow *) 0 ;
17422 wxString *arg2 = 0 ;
17423 wxString *arg3 = 0 ;
17424 int arg4 = (int) 0 ;
17425 wxString *arg5 = (wxString *) NULL ;
17426 long arg6 = (long) wxCHOICEDLG_STYLE ;
17427 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17428 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17429 wxMultiChoiceDialog *result = 0 ;
17430 void *argp1 = 0 ;
17431 int res1 = 0 ;
17432 bool temp2 = false ;
17433 bool temp3 = false ;
17434 long val6 ;
17435 int ecode6 = 0 ;
17436 wxPoint temp7 ;
17437 PyObject * obj0 = 0 ;
17438 PyObject * obj1 = 0 ;
17439 PyObject * obj2 = 0 ;
17440 PyObject * obj3 = 0 ;
17441 PyObject * obj4 = 0 ;
17442 PyObject * obj5 = 0 ;
17443 char * kwnames[] = {
17444 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17445 };
17446
17447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17449 if (!SWIG_IsOK(res1)) {
17450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17451 }
17452 arg1 = reinterpret_cast< wxWindow * >(argp1);
17453 {
17454 arg2 = wxString_in_helper(obj1);
17455 if (arg2 == NULL) SWIG_fail;
17456 temp2 = true;
17457 }
17458 {
17459 arg3 = wxString_in_helper(obj2);
17460 if (arg3 == NULL) SWIG_fail;
17461 temp3 = true;
17462 }
17463 if (obj3) {
17464 {
17465 arg4 = PyList_Size(obj3);
17466 arg5 = wxString_LIST_helper(obj3);
17467 if (arg5 == NULL) SWIG_fail;
17468 }
17469 }
17470 if (obj4) {
17471 ecode6 = SWIG_AsVal_long(obj4, &val6);
17472 if (!SWIG_IsOK(ecode6)) {
17473 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17474 }
17475 arg6 = static_cast< long >(val6);
17476 }
17477 if (obj5) {
17478 {
17479 arg7 = &temp7;
17480 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17481 }
17482 }
17483 {
17484 if (!wxPyCheckForApp()) SWIG_fail;
17485 PyThreadState* __tstate = wxPyBeginAllowThreads();
17486 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
17490 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17491 {
17492 if (temp2)
17493 delete arg2;
17494 }
17495 {
17496 if (temp3)
17497 delete arg3;
17498 }
17499 {
17500 if (arg5) delete [] arg5;
17501 }
17502 return resultobj;
17503 fail:
17504 {
17505 if (temp2)
17506 delete arg2;
17507 }
17508 {
17509 if (temp3)
17510 delete arg3;
17511 }
17512 {
17513 if (arg5) delete [] arg5;
17514 }
17515 return NULL;
17516 }
17517
17518
17519 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17520 PyObject *resultobj = 0;
17521 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17522 wxArrayInt *arg2 = 0 ;
17523 void *argp1 = 0 ;
17524 int res1 = 0 ;
17525 bool temp2 = false ;
17526 PyObject * obj0 = 0 ;
17527 PyObject * obj1 = 0 ;
17528 char * kwnames[] = {
17529 (char *) "self",(char *) "selections", NULL
17530 };
17531
17532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17534 if (!SWIG_IsOK(res1)) {
17535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17536 }
17537 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17538 {
17539 if (! PySequence_Check(obj1)) {
17540 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17541 SWIG_fail;
17542 }
17543 arg2 = new wxArrayInt;
17544 temp2 = true;
17545 int i, len=PySequence_Length(obj1);
17546 for (i=0; i<len; i++) {
17547 PyObject* item = PySequence_GetItem(obj1, i);
17548 PyObject* number = PyNumber_Int(item);
17549 arg2->Add(PyInt_AS_LONG(number));
17550 Py_DECREF(item);
17551 Py_DECREF(number);
17552 }
17553 }
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
17556 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17557 wxPyEndAllowThreads(__tstate);
17558 if (PyErr_Occurred()) SWIG_fail;
17559 }
17560 resultobj = SWIG_Py_Void();
17561 {
17562 if (temp2) delete arg2;
17563 }
17564 return resultobj;
17565 fail:
17566 {
17567 if (temp2) delete arg2;
17568 }
17569 return NULL;
17570 }
17571
17572
17573 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17574 PyObject *resultobj = 0;
17575 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17576 PyObject *result = 0 ;
17577 void *argp1 = 0 ;
17578 int res1 = 0 ;
17579 PyObject *swig_obj[1] ;
17580
17581 if (!args) SWIG_fail;
17582 swig_obj[0] = args;
17583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17584 if (!SWIG_IsOK(res1)) {
17585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17586 }
17587 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17588 {
17589 PyThreadState* __tstate = wxPyBeginAllowThreads();
17590 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17591 wxPyEndAllowThreads(__tstate);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 }
17594 resultobj = result;
17595 return resultobj;
17596 fail:
17597 return NULL;
17598 }
17599
17600
17601 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17602 PyObject *obj;
17603 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17604 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17605 return SWIG_Py_Void();
17606 }
17607
17608 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17609 return SWIG_Python_InitShadowInstance(args);
17610 }
17611
17612 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj = 0;
17614 wxWindow *arg1 = (wxWindow *) 0 ;
17615 wxString *arg2 = 0 ;
17616 wxString *arg3 = 0 ;
17617 int arg4 ;
17618 wxString *arg5 = (wxString *) 0 ;
17619 long arg6 = (long) wxCHOICEDLG_STYLE ;
17620 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17621 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17622 wxSingleChoiceDialog *result = 0 ;
17623 void *argp1 = 0 ;
17624 int res1 = 0 ;
17625 bool temp2 = false ;
17626 bool temp3 = false ;
17627 long val6 ;
17628 int ecode6 = 0 ;
17629 wxPoint temp7 ;
17630 PyObject * obj0 = 0 ;
17631 PyObject * obj1 = 0 ;
17632 PyObject * obj2 = 0 ;
17633 PyObject * obj3 = 0 ;
17634 PyObject * obj4 = 0 ;
17635 PyObject * obj5 = 0 ;
17636 char * kwnames[] = {
17637 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17638 };
17639
17640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17642 if (!SWIG_IsOK(res1)) {
17643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17644 }
17645 arg1 = reinterpret_cast< wxWindow * >(argp1);
17646 {
17647 arg2 = wxString_in_helper(obj1);
17648 if (arg2 == NULL) SWIG_fail;
17649 temp2 = true;
17650 }
17651 {
17652 arg3 = wxString_in_helper(obj2);
17653 if (arg3 == NULL) SWIG_fail;
17654 temp3 = true;
17655 }
17656 {
17657 arg4 = PyList_Size(obj3);
17658 arg5 = wxString_LIST_helper(obj3);
17659 if (arg5 == NULL) SWIG_fail;
17660 }
17661 if (obj4) {
17662 ecode6 = SWIG_AsVal_long(obj4, &val6);
17663 if (!SWIG_IsOK(ecode6)) {
17664 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17665 }
17666 arg6 = static_cast< long >(val6);
17667 }
17668 if (obj5) {
17669 {
17670 arg7 = &temp7;
17671 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17672 }
17673 }
17674 {
17675 if (!wxPyCheckForApp()) SWIG_fail;
17676 PyThreadState* __tstate = wxPyBeginAllowThreads();
17677 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17678 wxPyEndAllowThreads(__tstate);
17679 if (PyErr_Occurred()) SWIG_fail;
17680 }
17681 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17682 {
17683 if (temp2)
17684 delete arg2;
17685 }
17686 {
17687 if (temp3)
17688 delete arg3;
17689 }
17690 {
17691 if (arg5) delete [] arg5;
17692 }
17693 return resultobj;
17694 fail:
17695 {
17696 if (temp2)
17697 delete arg2;
17698 }
17699 {
17700 if (temp3)
17701 delete arg3;
17702 }
17703 {
17704 if (arg5) delete [] arg5;
17705 }
17706 return NULL;
17707 }
17708
17709
17710 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17711 PyObject *resultobj = 0;
17712 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17713 int result;
17714 void *argp1 = 0 ;
17715 int res1 = 0 ;
17716 PyObject *swig_obj[1] ;
17717
17718 if (!args) SWIG_fail;
17719 swig_obj[0] = args;
17720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17721 if (!SWIG_IsOK(res1)) {
17722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17723 }
17724 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17725 {
17726 PyThreadState* __tstate = wxPyBeginAllowThreads();
17727 result = (int)(arg1)->GetSelection();
17728 wxPyEndAllowThreads(__tstate);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 resultobj = SWIG_From_int(static_cast< int >(result));
17732 return resultobj;
17733 fail:
17734 return NULL;
17735 }
17736
17737
17738 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17739 PyObject *resultobj = 0;
17740 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17741 wxString result;
17742 void *argp1 = 0 ;
17743 int res1 = 0 ;
17744 PyObject *swig_obj[1] ;
17745
17746 if (!args) SWIG_fail;
17747 swig_obj[0] = args;
17748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17749 if (!SWIG_IsOK(res1)) {
17750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17751 }
17752 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17753 {
17754 PyThreadState* __tstate = wxPyBeginAllowThreads();
17755 result = (arg1)->GetStringSelection();
17756 wxPyEndAllowThreads(__tstate);
17757 if (PyErr_Occurred()) SWIG_fail;
17758 }
17759 {
17760 #if wxUSE_UNICODE
17761 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17762 #else
17763 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17764 #endif
17765 }
17766 return resultobj;
17767 fail:
17768 return NULL;
17769 }
17770
17771
17772 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17773 PyObject *resultobj = 0;
17774 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17775 int arg2 ;
17776 void *argp1 = 0 ;
17777 int res1 = 0 ;
17778 int val2 ;
17779 int ecode2 = 0 ;
17780 PyObject * obj0 = 0 ;
17781 PyObject * obj1 = 0 ;
17782 char * kwnames[] = {
17783 (char *) "self",(char *) "sel", NULL
17784 };
17785
17786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17788 if (!SWIG_IsOK(res1)) {
17789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17790 }
17791 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17792 ecode2 = SWIG_AsVal_int(obj1, &val2);
17793 if (!SWIG_IsOK(ecode2)) {
17794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17795 }
17796 arg2 = static_cast< int >(val2);
17797 {
17798 PyThreadState* __tstate = wxPyBeginAllowThreads();
17799 (arg1)->SetSelection(arg2);
17800 wxPyEndAllowThreads(__tstate);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
17803 resultobj = SWIG_Py_Void();
17804 return resultobj;
17805 fail:
17806 return NULL;
17807 }
17808
17809
17810 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17811 PyObject *obj;
17812 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17813 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17814 return SWIG_Py_Void();
17815 }
17816
17817 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17818 return SWIG_Python_InitShadowInstance(args);
17819 }
17820
17821 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17822 PyObject *resultobj = 0;
17823 wxWindow *arg1 = (wxWindow *) 0 ;
17824 wxString *arg2 = 0 ;
17825 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17826 wxString *arg3 = (wxString *) &arg3_defvalue ;
17827 wxString const &arg4_defvalue = wxPyEmptyString ;
17828 wxString *arg4 = (wxString *) &arg4_defvalue ;
17829 long arg5 = (long) wxTextEntryDialogStyle ;
17830 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17831 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17832 wxTextEntryDialog *result = 0 ;
17833 void *argp1 = 0 ;
17834 int res1 = 0 ;
17835 bool temp2 = false ;
17836 bool temp3 = false ;
17837 bool temp4 = false ;
17838 long val5 ;
17839 int ecode5 = 0 ;
17840 wxPoint temp6 ;
17841 PyObject * obj0 = 0 ;
17842 PyObject * obj1 = 0 ;
17843 PyObject * obj2 = 0 ;
17844 PyObject * obj3 = 0 ;
17845 PyObject * obj4 = 0 ;
17846 PyObject * obj5 = 0 ;
17847 char * kwnames[] = {
17848 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17849 };
17850
17851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17853 if (!SWIG_IsOK(res1)) {
17854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17855 }
17856 arg1 = reinterpret_cast< wxWindow * >(argp1);
17857 {
17858 arg2 = wxString_in_helper(obj1);
17859 if (arg2 == NULL) SWIG_fail;
17860 temp2 = true;
17861 }
17862 if (obj2) {
17863 {
17864 arg3 = wxString_in_helper(obj2);
17865 if (arg3 == NULL) SWIG_fail;
17866 temp3 = true;
17867 }
17868 }
17869 if (obj3) {
17870 {
17871 arg4 = wxString_in_helper(obj3);
17872 if (arg4 == NULL) SWIG_fail;
17873 temp4 = true;
17874 }
17875 }
17876 if (obj4) {
17877 ecode5 = SWIG_AsVal_long(obj4, &val5);
17878 if (!SWIG_IsOK(ecode5)) {
17879 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17880 }
17881 arg5 = static_cast< long >(val5);
17882 }
17883 if (obj5) {
17884 {
17885 arg6 = &temp6;
17886 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17887 }
17888 }
17889 {
17890 if (!wxPyCheckForApp()) SWIG_fail;
17891 PyThreadState* __tstate = wxPyBeginAllowThreads();
17892 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
17897 {
17898 if (temp2)
17899 delete arg2;
17900 }
17901 {
17902 if (temp3)
17903 delete arg3;
17904 }
17905 {
17906 if (temp4)
17907 delete arg4;
17908 }
17909 return resultobj;
17910 fail:
17911 {
17912 if (temp2)
17913 delete arg2;
17914 }
17915 {
17916 if (temp3)
17917 delete arg3;
17918 }
17919 {
17920 if (temp4)
17921 delete arg4;
17922 }
17923 return NULL;
17924 }
17925
17926
17927 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17928 PyObject *resultobj = 0;
17929 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
17930 wxString result;
17931 void *argp1 = 0 ;
17932 int res1 = 0 ;
17933 PyObject *swig_obj[1] ;
17934
17935 if (!args) SWIG_fail;
17936 swig_obj[0] = args;
17937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
17938 if (!SWIG_IsOK(res1)) {
17939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17940 }
17941 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
17942 {
17943 PyThreadState* __tstate = wxPyBeginAllowThreads();
17944 result = (arg1)->GetValue();
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 {
17949 #if wxUSE_UNICODE
17950 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17951 #else
17952 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17953 #endif
17954 }
17955 return resultobj;
17956 fail:
17957 return NULL;
17958 }
17959
17960
17961 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17962 PyObject *resultobj = 0;
17963 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
17964 wxString *arg2 = 0 ;
17965 void *argp1 = 0 ;
17966 int res1 = 0 ;
17967 bool temp2 = false ;
17968 PyObject * obj0 = 0 ;
17969 PyObject * obj1 = 0 ;
17970 char * kwnames[] = {
17971 (char *) "self",(char *) "value", NULL
17972 };
17973
17974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
17976 if (!SWIG_IsOK(res1)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17978 }
17979 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
17980 {
17981 arg2 = wxString_in_helper(obj1);
17982 if (arg2 == NULL) SWIG_fail;
17983 temp2 = true;
17984 }
17985 {
17986 PyThreadState* __tstate = wxPyBeginAllowThreads();
17987 (arg1)->SetValue((wxString const &)*arg2);
17988 wxPyEndAllowThreads(__tstate);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 }
17991 resultobj = SWIG_Py_Void();
17992 {
17993 if (temp2)
17994 delete arg2;
17995 }
17996 return resultobj;
17997 fail:
17998 {
17999 if (temp2)
18000 delete arg2;
18001 }
18002 return NULL;
18003 }
18004
18005
18006 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18007 PyObject *obj;
18008 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18009 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18010 return SWIG_Py_Void();
18011 }
18012
18013 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18014 return SWIG_Python_InitShadowInstance(args);
18015 }
18016
18017 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18018 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18019 return 1;
18020 }
18021
18022
18023 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18024 PyObject *pyobj = 0;
18025
18026 {
18027 #if wxUSE_UNICODE
18028 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18029 #else
18030 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18031 #endif
18032 }
18033 return pyobj;
18034 }
18035
18036
18037 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18038 PyObject *resultobj = 0;
18039 wxWindow *arg1 = (wxWindow *) 0 ;
18040 wxString *arg2 = 0 ;
18041 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18042 wxString *arg3 = (wxString *) &arg3_defvalue ;
18043 wxString const &arg4_defvalue = wxPyEmptyString ;
18044 wxString *arg4 = (wxString *) &arg4_defvalue ;
18045 long arg5 = (long) wxTextEntryDialogStyle ;
18046 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18047 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18048 wxPasswordEntryDialog *result = 0 ;
18049 void *argp1 = 0 ;
18050 int res1 = 0 ;
18051 bool temp2 = false ;
18052 bool temp3 = false ;
18053 bool temp4 = false ;
18054 long val5 ;
18055 int ecode5 = 0 ;
18056 wxPoint temp6 ;
18057 PyObject * obj0 = 0 ;
18058 PyObject * obj1 = 0 ;
18059 PyObject * obj2 = 0 ;
18060 PyObject * obj3 = 0 ;
18061 PyObject * obj4 = 0 ;
18062 PyObject * obj5 = 0 ;
18063 char * kwnames[] = {
18064 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18065 };
18066
18067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18069 if (!SWIG_IsOK(res1)) {
18070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18071 }
18072 arg1 = reinterpret_cast< wxWindow * >(argp1);
18073 {
18074 arg2 = wxString_in_helper(obj1);
18075 if (arg2 == NULL) SWIG_fail;
18076 temp2 = true;
18077 }
18078 if (obj2) {
18079 {
18080 arg3 = wxString_in_helper(obj2);
18081 if (arg3 == NULL) SWIG_fail;
18082 temp3 = true;
18083 }
18084 }
18085 if (obj3) {
18086 {
18087 arg4 = wxString_in_helper(obj3);
18088 if (arg4 == NULL) SWIG_fail;
18089 temp4 = true;
18090 }
18091 }
18092 if (obj4) {
18093 ecode5 = SWIG_AsVal_long(obj4, &val5);
18094 if (!SWIG_IsOK(ecode5)) {
18095 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18096 }
18097 arg5 = static_cast< long >(val5);
18098 }
18099 if (obj5) {
18100 {
18101 arg6 = &temp6;
18102 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18103 }
18104 }
18105 {
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18108 wxPyEndAllowThreads(__tstate);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 }
18111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18112 {
18113 if (temp2)
18114 delete arg2;
18115 }
18116 {
18117 if (temp3)
18118 delete arg3;
18119 }
18120 {
18121 if (temp4)
18122 delete arg4;
18123 }
18124 return resultobj;
18125 fail:
18126 {
18127 if (temp2)
18128 delete arg2;
18129 }
18130 {
18131 if (temp3)
18132 delete arg3;
18133 }
18134 {
18135 if (temp4)
18136 delete arg4;
18137 }
18138 return NULL;
18139 }
18140
18141
18142 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18143 PyObject *obj;
18144 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18145 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18146 return SWIG_Py_Void();
18147 }
18148
18149 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18150 return SWIG_Python_InitShadowInstance(args);
18151 }
18152
18153 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18154 PyObject *resultobj = 0;
18155 wxFontData *result = 0 ;
18156
18157 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 result = (wxFontData *)new wxFontData();
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18165 return resultobj;
18166 fail:
18167 return NULL;
18168 }
18169
18170
18171 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18172 PyObject *resultobj = 0;
18173 wxFontData *arg1 = (wxFontData *) 0 ;
18174 void *argp1 = 0 ;
18175 int res1 = 0 ;
18176 PyObject *swig_obj[1] ;
18177
18178 if (!args) SWIG_fail;
18179 swig_obj[0] = args;
18180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18181 if (!SWIG_IsOK(res1)) {
18182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18183 }
18184 arg1 = reinterpret_cast< wxFontData * >(argp1);
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 delete arg1;
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 resultobj = SWIG_Py_Void();
18193 return resultobj;
18194 fail:
18195 return NULL;
18196 }
18197
18198
18199 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18200 PyObject *resultobj = 0;
18201 wxFontData *arg1 = (wxFontData *) 0 ;
18202 bool arg2 ;
18203 void *argp1 = 0 ;
18204 int res1 = 0 ;
18205 bool val2 ;
18206 int ecode2 = 0 ;
18207 PyObject * obj0 = 0 ;
18208 PyObject * obj1 = 0 ;
18209 char * kwnames[] = {
18210 (char *) "self",(char *) "enable", NULL
18211 };
18212
18213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18215 if (!SWIG_IsOK(res1)) {
18216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18217 }
18218 arg1 = reinterpret_cast< wxFontData * >(argp1);
18219 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18220 if (!SWIG_IsOK(ecode2)) {
18221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18222 }
18223 arg2 = static_cast< bool >(val2);
18224 {
18225 PyThreadState* __tstate = wxPyBeginAllowThreads();
18226 (arg1)->EnableEffects(arg2);
18227 wxPyEndAllowThreads(__tstate);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 }
18230 resultobj = SWIG_Py_Void();
18231 return resultobj;
18232 fail:
18233 return NULL;
18234 }
18235
18236
18237 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18238 PyObject *resultobj = 0;
18239 wxFontData *arg1 = (wxFontData *) 0 ;
18240 bool result;
18241 void *argp1 = 0 ;
18242 int res1 = 0 ;
18243 PyObject *swig_obj[1] ;
18244
18245 if (!args) SWIG_fail;
18246 swig_obj[0] = args;
18247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18248 if (!SWIG_IsOK(res1)) {
18249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18250 }
18251 arg1 = reinterpret_cast< wxFontData * >(argp1);
18252 {
18253 PyThreadState* __tstate = wxPyBeginAllowThreads();
18254 result = (bool)(arg1)->GetAllowSymbols();
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 {
18259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18260 }
18261 return resultobj;
18262 fail:
18263 return NULL;
18264 }
18265
18266
18267 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18268 PyObject *resultobj = 0;
18269 wxFontData *arg1 = (wxFontData *) 0 ;
18270 wxColour result;
18271 void *argp1 = 0 ;
18272 int res1 = 0 ;
18273 PyObject *swig_obj[1] ;
18274
18275 if (!args) SWIG_fail;
18276 swig_obj[0] = args;
18277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18278 if (!SWIG_IsOK(res1)) {
18279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18280 }
18281 arg1 = reinterpret_cast< wxFontData * >(argp1);
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 result = (arg1)->GetColour();
18285 wxPyEndAllowThreads(__tstate);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 }
18288 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18289 return resultobj;
18290 fail:
18291 return NULL;
18292 }
18293
18294
18295 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18296 PyObject *resultobj = 0;
18297 wxFontData *arg1 = (wxFontData *) 0 ;
18298 wxFont result;
18299 void *argp1 = 0 ;
18300 int res1 = 0 ;
18301 PyObject *swig_obj[1] ;
18302
18303 if (!args) SWIG_fail;
18304 swig_obj[0] = args;
18305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18306 if (!SWIG_IsOK(res1)) {
18307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18308 }
18309 arg1 = reinterpret_cast< wxFontData * >(argp1);
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 result = (arg1)->GetChosenFont();
18313 wxPyEndAllowThreads(__tstate);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18317 return resultobj;
18318 fail:
18319 return NULL;
18320 }
18321
18322
18323 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18324 PyObject *resultobj = 0;
18325 wxFontData *arg1 = (wxFontData *) 0 ;
18326 bool result;
18327 void *argp1 = 0 ;
18328 int res1 = 0 ;
18329 PyObject *swig_obj[1] ;
18330
18331 if (!args) SWIG_fail;
18332 swig_obj[0] = args;
18333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18334 if (!SWIG_IsOK(res1)) {
18335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18336 }
18337 arg1 = reinterpret_cast< wxFontData * >(argp1);
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 result = (bool)(arg1)->GetEnableEffects();
18341 wxPyEndAllowThreads(__tstate);
18342 if (PyErr_Occurred()) SWIG_fail;
18343 }
18344 {
18345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18346 }
18347 return resultobj;
18348 fail:
18349 return NULL;
18350 }
18351
18352
18353 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18354 PyObject *resultobj = 0;
18355 wxFontData *arg1 = (wxFontData *) 0 ;
18356 wxFont result;
18357 void *argp1 = 0 ;
18358 int res1 = 0 ;
18359 PyObject *swig_obj[1] ;
18360
18361 if (!args) SWIG_fail;
18362 swig_obj[0] = args;
18363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18364 if (!SWIG_IsOK(res1)) {
18365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18366 }
18367 arg1 = reinterpret_cast< wxFontData * >(argp1);
18368 {
18369 PyThreadState* __tstate = wxPyBeginAllowThreads();
18370 result = (arg1)->GetInitialFont();
18371 wxPyEndAllowThreads(__tstate);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 }
18374 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18375 return resultobj;
18376 fail:
18377 return NULL;
18378 }
18379
18380
18381 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18382 PyObject *resultobj = 0;
18383 wxFontData *arg1 = (wxFontData *) 0 ;
18384 bool result;
18385 void *argp1 = 0 ;
18386 int res1 = 0 ;
18387 PyObject *swig_obj[1] ;
18388
18389 if (!args) SWIG_fail;
18390 swig_obj[0] = args;
18391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18392 if (!SWIG_IsOK(res1)) {
18393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18394 }
18395 arg1 = reinterpret_cast< wxFontData * >(argp1);
18396 {
18397 PyThreadState* __tstate = wxPyBeginAllowThreads();
18398 result = (bool)(arg1)->GetShowHelp();
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 {
18403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18404 }
18405 return resultobj;
18406 fail:
18407 return NULL;
18408 }
18409
18410
18411 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18412 PyObject *resultobj = 0;
18413 wxFontData *arg1 = (wxFontData *) 0 ;
18414 bool arg2 ;
18415 void *argp1 = 0 ;
18416 int res1 = 0 ;
18417 bool val2 ;
18418 int ecode2 = 0 ;
18419 PyObject * obj0 = 0 ;
18420 PyObject * obj1 = 0 ;
18421 char * kwnames[] = {
18422 (char *) "self",(char *) "allowSymbols", NULL
18423 };
18424
18425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18427 if (!SWIG_IsOK(res1)) {
18428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18429 }
18430 arg1 = reinterpret_cast< wxFontData * >(argp1);
18431 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18432 if (!SWIG_IsOK(ecode2)) {
18433 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18434 }
18435 arg2 = static_cast< bool >(val2);
18436 {
18437 PyThreadState* __tstate = wxPyBeginAllowThreads();
18438 (arg1)->SetAllowSymbols(arg2);
18439 wxPyEndAllowThreads(__tstate);
18440 if (PyErr_Occurred()) SWIG_fail;
18441 }
18442 resultobj = SWIG_Py_Void();
18443 return resultobj;
18444 fail:
18445 return NULL;
18446 }
18447
18448
18449 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18450 PyObject *resultobj = 0;
18451 wxFontData *arg1 = (wxFontData *) 0 ;
18452 wxFont *arg2 = 0 ;
18453 void *argp1 = 0 ;
18454 int res1 = 0 ;
18455 void *argp2 = 0 ;
18456 int res2 = 0 ;
18457 PyObject * obj0 = 0 ;
18458 PyObject * obj1 = 0 ;
18459 char * kwnames[] = {
18460 (char *) "self",(char *) "font", NULL
18461 };
18462
18463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18465 if (!SWIG_IsOK(res1)) {
18466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18467 }
18468 arg1 = reinterpret_cast< wxFontData * >(argp1);
18469 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18470 if (!SWIG_IsOK(res2)) {
18471 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18472 }
18473 if (!argp2) {
18474 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18475 }
18476 arg2 = reinterpret_cast< wxFont * >(argp2);
18477 {
18478 PyThreadState* __tstate = wxPyBeginAllowThreads();
18479 (arg1)->SetChosenFont((wxFont const &)*arg2);
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 resultobj = SWIG_Py_Void();
18484 return resultobj;
18485 fail:
18486 return NULL;
18487 }
18488
18489
18490 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18491 PyObject *resultobj = 0;
18492 wxFontData *arg1 = (wxFontData *) 0 ;
18493 wxColour *arg2 = 0 ;
18494 void *argp1 = 0 ;
18495 int res1 = 0 ;
18496 wxColour temp2 ;
18497 PyObject * obj0 = 0 ;
18498 PyObject * obj1 = 0 ;
18499 char * kwnames[] = {
18500 (char *) "self",(char *) "colour", NULL
18501 };
18502
18503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18505 if (!SWIG_IsOK(res1)) {
18506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18507 }
18508 arg1 = reinterpret_cast< wxFontData * >(argp1);
18509 {
18510 arg2 = &temp2;
18511 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18512 }
18513 {
18514 PyThreadState* __tstate = wxPyBeginAllowThreads();
18515 (arg1)->SetColour((wxColour const &)*arg2);
18516 wxPyEndAllowThreads(__tstate);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 resultobj = SWIG_Py_Void();
18520 return resultobj;
18521 fail:
18522 return NULL;
18523 }
18524
18525
18526 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18527 PyObject *resultobj = 0;
18528 wxFontData *arg1 = (wxFontData *) 0 ;
18529 wxFont *arg2 = 0 ;
18530 void *argp1 = 0 ;
18531 int res1 = 0 ;
18532 void *argp2 = 0 ;
18533 int res2 = 0 ;
18534 PyObject * obj0 = 0 ;
18535 PyObject * obj1 = 0 ;
18536 char * kwnames[] = {
18537 (char *) "self",(char *) "font", NULL
18538 };
18539
18540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18542 if (!SWIG_IsOK(res1)) {
18543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18544 }
18545 arg1 = reinterpret_cast< wxFontData * >(argp1);
18546 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18547 if (!SWIG_IsOK(res2)) {
18548 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18549 }
18550 if (!argp2) {
18551 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18552 }
18553 arg2 = reinterpret_cast< wxFont * >(argp2);
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 (arg1)->SetInitialFont((wxFont const &)*arg2);
18557 wxPyEndAllowThreads(__tstate);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
18560 resultobj = SWIG_Py_Void();
18561 return resultobj;
18562 fail:
18563 return NULL;
18564 }
18565
18566
18567 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18568 PyObject *resultobj = 0;
18569 wxFontData *arg1 = (wxFontData *) 0 ;
18570 int arg2 ;
18571 int arg3 ;
18572 void *argp1 = 0 ;
18573 int res1 = 0 ;
18574 int val2 ;
18575 int ecode2 = 0 ;
18576 int val3 ;
18577 int ecode3 = 0 ;
18578 PyObject * obj0 = 0 ;
18579 PyObject * obj1 = 0 ;
18580 PyObject * obj2 = 0 ;
18581 char * kwnames[] = {
18582 (char *) "self",(char *) "min",(char *) "max", NULL
18583 };
18584
18585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18587 if (!SWIG_IsOK(res1)) {
18588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18589 }
18590 arg1 = reinterpret_cast< wxFontData * >(argp1);
18591 ecode2 = SWIG_AsVal_int(obj1, &val2);
18592 if (!SWIG_IsOK(ecode2)) {
18593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18594 }
18595 arg2 = static_cast< int >(val2);
18596 ecode3 = SWIG_AsVal_int(obj2, &val3);
18597 if (!SWIG_IsOK(ecode3)) {
18598 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18599 }
18600 arg3 = static_cast< int >(val3);
18601 {
18602 PyThreadState* __tstate = wxPyBeginAllowThreads();
18603 (arg1)->SetRange(arg2,arg3);
18604 wxPyEndAllowThreads(__tstate);
18605 if (PyErr_Occurred()) SWIG_fail;
18606 }
18607 resultobj = SWIG_Py_Void();
18608 return resultobj;
18609 fail:
18610 return NULL;
18611 }
18612
18613
18614 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj = 0;
18616 wxFontData *arg1 = (wxFontData *) 0 ;
18617 bool arg2 ;
18618 void *argp1 = 0 ;
18619 int res1 = 0 ;
18620 bool val2 ;
18621 int ecode2 = 0 ;
18622 PyObject * obj0 = 0 ;
18623 PyObject * obj1 = 0 ;
18624 char * kwnames[] = {
18625 (char *) "self",(char *) "showHelp", NULL
18626 };
18627
18628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18630 if (!SWIG_IsOK(res1)) {
18631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18632 }
18633 arg1 = reinterpret_cast< wxFontData * >(argp1);
18634 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18635 if (!SWIG_IsOK(ecode2)) {
18636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18637 }
18638 arg2 = static_cast< bool >(val2);
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
18641 (arg1)->SetShowHelp(arg2);
18642 wxPyEndAllowThreads(__tstate);
18643 if (PyErr_Occurred()) SWIG_fail;
18644 }
18645 resultobj = SWIG_Py_Void();
18646 return resultobj;
18647 fail:
18648 return NULL;
18649 }
18650
18651
18652 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18653 PyObject *obj;
18654 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18655 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18656 return SWIG_Py_Void();
18657 }
18658
18659 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18660 return SWIG_Python_InitShadowInstance(args);
18661 }
18662
18663 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18664 PyObject *resultobj = 0;
18665 wxWindow *arg1 = (wxWindow *) 0 ;
18666 wxFontData *arg2 = 0 ;
18667 wxFontDialog *result = 0 ;
18668 void *argp1 = 0 ;
18669 int res1 = 0 ;
18670 void *argp2 = 0 ;
18671 int res2 = 0 ;
18672 PyObject * obj0 = 0 ;
18673 PyObject * obj1 = 0 ;
18674 char * kwnames[] = {
18675 (char *) "parent",(char *) "data", NULL
18676 };
18677
18678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18680 if (!SWIG_IsOK(res1)) {
18681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18682 }
18683 arg1 = reinterpret_cast< wxWindow * >(argp1);
18684 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18685 if (!SWIG_IsOK(res2)) {
18686 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18687 }
18688 if (!argp2) {
18689 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18690 }
18691 arg2 = reinterpret_cast< wxFontData * >(argp2);
18692 {
18693 if (!wxPyCheckForApp()) SWIG_fail;
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18696 wxPyEndAllowThreads(__tstate);
18697 if (PyErr_Occurred()) SWIG_fail;
18698 }
18699 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18700 return resultobj;
18701 fail:
18702 return NULL;
18703 }
18704
18705
18706 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18707 PyObject *resultobj = 0;
18708 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18709 wxFontData *result = 0 ;
18710 void *argp1 = 0 ;
18711 int res1 = 0 ;
18712 PyObject *swig_obj[1] ;
18713
18714 if (!args) SWIG_fail;
18715 swig_obj[0] = args;
18716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18717 if (!SWIG_IsOK(res1)) {
18718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18719 }
18720 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18721 {
18722 PyThreadState* __tstate = wxPyBeginAllowThreads();
18723 {
18724 wxFontData &_result_ref = (arg1)->GetFontData();
18725 result = (wxFontData *) &_result_ref;
18726 }
18727 wxPyEndAllowThreads(__tstate);
18728 if (PyErr_Occurred()) SWIG_fail;
18729 }
18730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18731 return resultobj;
18732 fail:
18733 return NULL;
18734 }
18735
18736
18737 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18738 PyObject *obj;
18739 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18740 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18741 return SWIG_Py_Void();
18742 }
18743
18744 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18745 return SWIG_Python_InitShadowInstance(args);
18746 }
18747
18748 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18749 PyObject *resultobj = 0;
18750 wxWindow *arg1 = (wxWindow *) NULL ;
18751 wxFont const &arg2_defvalue = wxNullFont ;
18752 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18753 wxString const &arg3_defvalue = wxPyEmptyString ;
18754 wxString *arg3 = (wxString *) &arg3_defvalue ;
18755 wxFont result;
18756 void *argp1 = 0 ;
18757 int res1 = 0 ;
18758 void *argp2 = 0 ;
18759 int res2 = 0 ;
18760 bool temp3 = false ;
18761 PyObject * obj0 = 0 ;
18762 PyObject * obj1 = 0 ;
18763 PyObject * obj2 = 0 ;
18764 char * kwnames[] = {
18765 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18766 };
18767
18768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18769 if (obj0) {
18770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18771 if (!SWIG_IsOK(res1)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18773 }
18774 arg1 = reinterpret_cast< wxWindow * >(argp1);
18775 }
18776 if (obj1) {
18777 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18778 if (!SWIG_IsOK(res2)) {
18779 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18780 }
18781 if (!argp2) {
18782 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18783 }
18784 arg2 = reinterpret_cast< wxFont * >(argp2);
18785 }
18786 if (obj2) {
18787 {
18788 arg3 = wxString_in_helper(obj2);
18789 if (arg3 == NULL) SWIG_fail;
18790 temp3 = true;
18791 }
18792 }
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
18799 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18800 {
18801 if (temp3)
18802 delete arg3;
18803 }
18804 return resultobj;
18805 fail:
18806 {
18807 if (temp3)
18808 delete arg3;
18809 }
18810 return NULL;
18811 }
18812
18813
18814 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18815 PyObject *resultobj = 0;
18816 wxWindow *arg1 = (wxWindow *) 0 ;
18817 wxString *arg2 = 0 ;
18818 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
18819 wxString *arg3 = (wxString *) &arg3_defvalue ;
18820 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
18821 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18822 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18823 wxMessageDialog *result = 0 ;
18824 void *argp1 = 0 ;
18825 int res1 = 0 ;
18826 bool temp2 = false ;
18827 bool temp3 = false ;
18828 long val4 ;
18829 int ecode4 = 0 ;
18830 wxPoint temp5 ;
18831 PyObject * obj0 = 0 ;
18832 PyObject * obj1 = 0 ;
18833 PyObject * obj2 = 0 ;
18834 PyObject * obj3 = 0 ;
18835 PyObject * obj4 = 0 ;
18836 char * kwnames[] = {
18837 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18838 };
18839
18840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18842 if (!SWIG_IsOK(res1)) {
18843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18844 }
18845 arg1 = reinterpret_cast< wxWindow * >(argp1);
18846 {
18847 arg2 = wxString_in_helper(obj1);
18848 if (arg2 == NULL) SWIG_fail;
18849 temp2 = true;
18850 }
18851 if (obj2) {
18852 {
18853 arg3 = wxString_in_helper(obj2);
18854 if (arg3 == NULL) SWIG_fail;
18855 temp3 = true;
18856 }
18857 }
18858 if (obj3) {
18859 ecode4 = SWIG_AsVal_long(obj3, &val4);
18860 if (!SWIG_IsOK(ecode4)) {
18861 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18862 }
18863 arg4 = static_cast< long >(val4);
18864 }
18865 if (obj4) {
18866 {
18867 arg5 = &temp5;
18868 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
18869 }
18870 }
18871 {
18872 if (!wxPyCheckForApp()) SWIG_fail;
18873 PyThreadState* __tstate = wxPyBeginAllowThreads();
18874 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
18875 wxPyEndAllowThreads(__tstate);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
18879 {
18880 if (temp2)
18881 delete arg2;
18882 }
18883 {
18884 if (temp3)
18885 delete arg3;
18886 }
18887 return resultobj;
18888 fail:
18889 {
18890 if (temp2)
18891 delete arg2;
18892 }
18893 {
18894 if (temp3)
18895 delete arg3;
18896 }
18897 return NULL;
18898 }
18899
18900
18901 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18902 PyObject *obj;
18903 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18904 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
18905 return SWIG_Py_Void();
18906 }
18907
18908 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18909 return SWIG_Python_InitShadowInstance(args);
18910 }
18911
18912 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18913 PyObject *resultobj = 0;
18914 wxString *arg1 = 0 ;
18915 wxString *arg2 = 0 ;
18916 int arg3 = (int) 100 ;
18917 wxWindow *arg4 = (wxWindow *) NULL ;
18918 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
18919 wxProgressDialog *result = 0 ;
18920 bool temp1 = false ;
18921 bool temp2 = false ;
18922 int val3 ;
18923 int ecode3 = 0 ;
18924 void *argp4 = 0 ;
18925 int res4 = 0 ;
18926 int val5 ;
18927 int ecode5 = 0 ;
18928 PyObject * obj0 = 0 ;
18929 PyObject * obj1 = 0 ;
18930 PyObject * obj2 = 0 ;
18931 PyObject * obj3 = 0 ;
18932 PyObject * obj4 = 0 ;
18933 char * kwnames[] = {
18934 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
18935 };
18936
18937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18938 {
18939 arg1 = wxString_in_helper(obj0);
18940 if (arg1 == NULL) SWIG_fail;
18941 temp1 = true;
18942 }
18943 {
18944 arg2 = wxString_in_helper(obj1);
18945 if (arg2 == NULL) SWIG_fail;
18946 temp2 = true;
18947 }
18948 if (obj2) {
18949 ecode3 = SWIG_AsVal_int(obj2, &val3);
18950 if (!SWIG_IsOK(ecode3)) {
18951 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
18952 }
18953 arg3 = static_cast< int >(val3);
18954 }
18955 if (obj3) {
18956 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
18957 if (!SWIG_IsOK(res4)) {
18958 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
18959 }
18960 arg4 = reinterpret_cast< wxWindow * >(argp4);
18961 }
18962 if (obj4) {
18963 ecode5 = SWIG_AsVal_int(obj4, &val5);
18964 if (!SWIG_IsOK(ecode5)) {
18965 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
18966 }
18967 arg5 = static_cast< int >(val5);
18968 }
18969 {
18970 if (!wxPyCheckForApp()) SWIG_fail;
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
18977 {
18978 if (temp1)
18979 delete arg1;
18980 }
18981 {
18982 if (temp2)
18983 delete arg2;
18984 }
18985 return resultobj;
18986 fail:
18987 {
18988 if (temp1)
18989 delete arg1;
18990 }
18991 {
18992 if (temp2)
18993 delete arg2;
18994 }
18995 return NULL;
18996 }
18997
18998
18999 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19000 PyObject *resultobj = 0;
19001 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19002 int arg2 ;
19003 wxString const &arg3_defvalue = wxPyEmptyString ;
19004 wxString *arg3 = (wxString *) &arg3_defvalue ;
19005 bool result;
19006 void *argp1 = 0 ;
19007 int res1 = 0 ;
19008 int val2 ;
19009 int ecode2 = 0 ;
19010 bool temp3 = false ;
19011 PyObject * obj0 = 0 ;
19012 PyObject * obj1 = 0 ;
19013 PyObject * obj2 = 0 ;
19014 char * kwnames[] = {
19015 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19016 };
19017
19018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19020 if (!SWIG_IsOK(res1)) {
19021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19022 }
19023 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19024 ecode2 = SWIG_AsVal_int(obj1, &val2);
19025 if (!SWIG_IsOK(ecode2)) {
19026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19027 }
19028 arg2 = static_cast< int >(val2);
19029 if (obj2) {
19030 {
19031 arg3 = wxString_in_helper(obj2);
19032 if (arg3 == NULL) SWIG_fail;
19033 temp3 = true;
19034 }
19035 }
19036 {
19037 PyThreadState* __tstate = wxPyBeginAllowThreads();
19038 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
19039 wxPyEndAllowThreads(__tstate);
19040 if (PyErr_Occurred()) SWIG_fail;
19041 }
19042 {
19043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19044 }
19045 {
19046 if (temp3)
19047 delete arg3;
19048 }
19049 return resultobj;
19050 fail:
19051 {
19052 if (temp3)
19053 delete arg3;
19054 }
19055 return NULL;
19056 }
19057
19058
19059 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19060 PyObject *resultobj = 0;
19061 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19062 void *argp1 = 0 ;
19063 int res1 = 0 ;
19064 PyObject *swig_obj[1] ;
19065
19066 if (!args) SWIG_fail;
19067 swig_obj[0] = args;
19068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19069 if (!SWIG_IsOK(res1)) {
19070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19071 }
19072 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19073 {
19074 PyThreadState* __tstate = wxPyBeginAllowThreads();
19075 (arg1)->Resume();
19076 wxPyEndAllowThreads(__tstate);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 resultobj = SWIG_Py_Void();
19080 return resultobj;
19081 fail:
19082 return NULL;
19083 }
19084
19085
19086 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19087 PyObject *obj;
19088 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19089 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19090 return SWIG_Py_Void();
19091 }
19092
19093 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19094 return SWIG_Python_InitShadowInstance(args);
19095 }
19096
19097 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19098 PyObject *resultobj = 0;
19099 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19100 int arg2 = (int) 0 ;
19101 wxFindDialogEvent *result = 0 ;
19102 int val1 ;
19103 int ecode1 = 0 ;
19104 int val2 ;
19105 int ecode2 = 0 ;
19106 PyObject * obj0 = 0 ;
19107 PyObject * obj1 = 0 ;
19108 char * kwnames[] = {
19109 (char *) "commandType",(char *) "id", NULL
19110 };
19111
19112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19113 if (obj0) {
19114 ecode1 = SWIG_AsVal_int(obj0, &val1);
19115 if (!SWIG_IsOK(ecode1)) {
19116 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19117 }
19118 arg1 = static_cast< wxEventType >(val1);
19119 }
19120 if (obj1) {
19121 ecode2 = SWIG_AsVal_int(obj1, &val2);
19122 if (!SWIG_IsOK(ecode2)) {
19123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19124 }
19125 arg2 = static_cast< int >(val2);
19126 }
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
19129 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19134 return resultobj;
19135 fail:
19136 return NULL;
19137 }
19138
19139
19140 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19141 PyObject *resultobj = 0;
19142 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19143 int result;
19144 void *argp1 = 0 ;
19145 int res1 = 0 ;
19146 PyObject *swig_obj[1] ;
19147
19148 if (!args) SWIG_fail;
19149 swig_obj[0] = args;
19150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19151 if (!SWIG_IsOK(res1)) {
19152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19153 }
19154 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19155 {
19156 PyThreadState* __tstate = wxPyBeginAllowThreads();
19157 result = (int)(arg1)->GetFlags();
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 resultobj = SWIG_From_int(static_cast< int >(result));
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19169 PyObject *resultobj = 0;
19170 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19171 wxString *result = 0 ;
19172 void *argp1 = 0 ;
19173 int res1 = 0 ;
19174 PyObject *swig_obj[1] ;
19175
19176 if (!args) SWIG_fail;
19177 swig_obj[0] = args;
19178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19179 if (!SWIG_IsOK(res1)) {
19180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19181 }
19182 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19183 {
19184 PyThreadState* __tstate = wxPyBeginAllowThreads();
19185 {
19186 wxString const &_result_ref = (arg1)->GetFindString();
19187 result = (wxString *) &_result_ref;
19188 }
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 {
19193 #if wxUSE_UNICODE
19194 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19195 #else
19196 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19197 #endif
19198 }
19199 return resultobj;
19200 fail:
19201 return NULL;
19202 }
19203
19204
19205 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19206 PyObject *resultobj = 0;
19207 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19208 wxString *result = 0 ;
19209 void *argp1 = 0 ;
19210 int res1 = 0 ;
19211 PyObject *swig_obj[1] ;
19212
19213 if (!args) SWIG_fail;
19214 swig_obj[0] = args;
19215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19216 if (!SWIG_IsOK(res1)) {
19217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19218 }
19219 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 {
19223 wxString const &_result_ref = (arg1)->GetReplaceString();
19224 result = (wxString *) &_result_ref;
19225 }
19226 wxPyEndAllowThreads(__tstate);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 }
19229 {
19230 #if wxUSE_UNICODE
19231 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19232 #else
19233 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19234 #endif
19235 }
19236 return resultobj;
19237 fail:
19238 return NULL;
19239 }
19240
19241
19242 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19243 PyObject *resultobj = 0;
19244 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19245 wxFindReplaceDialog *result = 0 ;
19246 void *argp1 = 0 ;
19247 int res1 = 0 ;
19248 PyObject *swig_obj[1] ;
19249
19250 if (!args) SWIG_fail;
19251 swig_obj[0] = args;
19252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19253 if (!SWIG_IsOK(res1)) {
19254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19255 }
19256 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19260 wxPyEndAllowThreads(__tstate);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 }
19263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19264 return resultobj;
19265 fail:
19266 return NULL;
19267 }
19268
19269
19270 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj = 0;
19272 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19273 int arg2 ;
19274 void *argp1 = 0 ;
19275 int res1 = 0 ;
19276 int val2 ;
19277 int ecode2 = 0 ;
19278 PyObject * obj0 = 0 ;
19279 PyObject * obj1 = 0 ;
19280 char * kwnames[] = {
19281 (char *) "self",(char *) "flags", NULL
19282 };
19283
19284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19286 if (!SWIG_IsOK(res1)) {
19287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19288 }
19289 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19290 ecode2 = SWIG_AsVal_int(obj1, &val2);
19291 if (!SWIG_IsOK(ecode2)) {
19292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19293 }
19294 arg2 = static_cast< int >(val2);
19295 {
19296 PyThreadState* __tstate = wxPyBeginAllowThreads();
19297 (arg1)->SetFlags(arg2);
19298 wxPyEndAllowThreads(__tstate);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 }
19301 resultobj = SWIG_Py_Void();
19302 return resultobj;
19303 fail:
19304 return NULL;
19305 }
19306
19307
19308 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19309 PyObject *resultobj = 0;
19310 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19311 wxString *arg2 = 0 ;
19312 void *argp1 = 0 ;
19313 int res1 = 0 ;
19314 bool temp2 = false ;
19315 PyObject * obj0 = 0 ;
19316 PyObject * obj1 = 0 ;
19317 char * kwnames[] = {
19318 (char *) "self",(char *) "str", NULL
19319 };
19320
19321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19323 if (!SWIG_IsOK(res1)) {
19324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19325 }
19326 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19327 {
19328 arg2 = wxString_in_helper(obj1);
19329 if (arg2 == NULL) SWIG_fail;
19330 temp2 = true;
19331 }
19332 {
19333 PyThreadState* __tstate = wxPyBeginAllowThreads();
19334 (arg1)->SetFindString((wxString const &)*arg2);
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
19338 resultobj = SWIG_Py_Void();
19339 {
19340 if (temp2)
19341 delete arg2;
19342 }
19343 return resultobj;
19344 fail:
19345 {
19346 if (temp2)
19347 delete arg2;
19348 }
19349 return NULL;
19350 }
19351
19352
19353 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19354 PyObject *resultobj = 0;
19355 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19356 wxString *arg2 = 0 ;
19357 void *argp1 = 0 ;
19358 int res1 = 0 ;
19359 bool temp2 = false ;
19360 PyObject * obj0 = 0 ;
19361 PyObject * obj1 = 0 ;
19362 char * kwnames[] = {
19363 (char *) "self",(char *) "str", NULL
19364 };
19365
19366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19368 if (!SWIG_IsOK(res1)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19370 }
19371 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19372 {
19373 arg2 = wxString_in_helper(obj1);
19374 if (arg2 == NULL) SWIG_fail;
19375 temp2 = true;
19376 }
19377 {
19378 PyThreadState* __tstate = wxPyBeginAllowThreads();
19379 (arg1)->SetReplaceString((wxString const &)*arg2);
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 resultobj = SWIG_Py_Void();
19384 {
19385 if (temp2)
19386 delete arg2;
19387 }
19388 return resultobj;
19389 fail:
19390 {
19391 if (temp2)
19392 delete arg2;
19393 }
19394 return NULL;
19395 }
19396
19397
19398 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19399 PyObject *obj;
19400 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19401 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19402 return SWIG_Py_Void();
19403 }
19404
19405 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19406 return SWIG_Python_InitShadowInstance(args);
19407 }
19408
19409 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19410 PyObject *resultobj = 0;
19411 int arg1 = (int) 0 ;
19412 wxFindReplaceData *result = 0 ;
19413 int val1 ;
19414 int ecode1 = 0 ;
19415 PyObject * obj0 = 0 ;
19416 char * kwnames[] = {
19417 (char *) "flags", NULL
19418 };
19419
19420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19421 if (obj0) {
19422 ecode1 = SWIG_AsVal_int(obj0, &val1);
19423 if (!SWIG_IsOK(ecode1)) {
19424 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19425 }
19426 arg1 = static_cast< int >(val1);
19427 }
19428 {
19429 PyThreadState* __tstate = wxPyBeginAllowThreads();
19430 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19431 wxPyEndAllowThreads(__tstate);
19432 if (PyErr_Occurred()) SWIG_fail;
19433 }
19434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19435 return resultobj;
19436 fail:
19437 return NULL;
19438 }
19439
19440
19441 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19442 PyObject *resultobj = 0;
19443 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19444 void *argp1 = 0 ;
19445 int res1 = 0 ;
19446 PyObject *swig_obj[1] ;
19447
19448 if (!args) SWIG_fail;
19449 swig_obj[0] = args;
19450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19451 if (!SWIG_IsOK(res1)) {
19452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19453 }
19454 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19455 {
19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
19457 delete arg1;
19458
19459 wxPyEndAllowThreads(__tstate);
19460 if (PyErr_Occurred()) SWIG_fail;
19461 }
19462 resultobj = SWIG_Py_Void();
19463 return resultobj;
19464 fail:
19465 return NULL;
19466 }
19467
19468
19469 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19470 PyObject *resultobj = 0;
19471 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19472 wxString *result = 0 ;
19473 void *argp1 = 0 ;
19474 int res1 = 0 ;
19475 PyObject *swig_obj[1] ;
19476
19477 if (!args) SWIG_fail;
19478 swig_obj[0] = args;
19479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19480 if (!SWIG_IsOK(res1)) {
19481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19482 }
19483 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19484 {
19485 PyThreadState* __tstate = wxPyBeginAllowThreads();
19486 {
19487 wxString const &_result_ref = (arg1)->GetFindString();
19488 result = (wxString *) &_result_ref;
19489 }
19490 wxPyEndAllowThreads(__tstate);
19491 if (PyErr_Occurred()) SWIG_fail;
19492 }
19493 {
19494 #if wxUSE_UNICODE
19495 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19496 #else
19497 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19498 #endif
19499 }
19500 return resultobj;
19501 fail:
19502 return NULL;
19503 }
19504
19505
19506 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19507 PyObject *resultobj = 0;
19508 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19509 wxString *result = 0 ;
19510 void *argp1 = 0 ;
19511 int res1 = 0 ;
19512 PyObject *swig_obj[1] ;
19513
19514 if (!args) SWIG_fail;
19515 swig_obj[0] = args;
19516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19517 if (!SWIG_IsOK(res1)) {
19518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19519 }
19520 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 {
19524 wxString const &_result_ref = (arg1)->GetReplaceString();
19525 result = (wxString *) &_result_ref;
19526 }
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 {
19531 #if wxUSE_UNICODE
19532 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19533 #else
19534 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19535 #endif
19536 }
19537 return resultobj;
19538 fail:
19539 return NULL;
19540 }
19541
19542
19543 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19544 PyObject *resultobj = 0;
19545 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19546 int result;
19547 void *argp1 = 0 ;
19548 int res1 = 0 ;
19549 PyObject *swig_obj[1] ;
19550
19551 if (!args) SWIG_fail;
19552 swig_obj[0] = args;
19553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19554 if (!SWIG_IsOK(res1)) {
19555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19556 }
19557 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19558 {
19559 PyThreadState* __tstate = wxPyBeginAllowThreads();
19560 result = (int)(arg1)->GetFlags();
19561 wxPyEndAllowThreads(__tstate);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 }
19564 resultobj = SWIG_From_int(static_cast< int >(result));
19565 return resultobj;
19566 fail:
19567 return NULL;
19568 }
19569
19570
19571 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19572 PyObject *resultobj = 0;
19573 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19574 int arg2 ;
19575 void *argp1 = 0 ;
19576 int res1 = 0 ;
19577 int val2 ;
19578 int ecode2 = 0 ;
19579 PyObject * obj0 = 0 ;
19580 PyObject * obj1 = 0 ;
19581 char * kwnames[] = {
19582 (char *) "self",(char *) "flags", NULL
19583 };
19584
19585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19587 if (!SWIG_IsOK(res1)) {
19588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19589 }
19590 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19591 ecode2 = SWIG_AsVal_int(obj1, &val2);
19592 if (!SWIG_IsOK(ecode2)) {
19593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19594 }
19595 arg2 = static_cast< int >(val2);
19596 {
19597 PyThreadState* __tstate = wxPyBeginAllowThreads();
19598 (arg1)->SetFlags(arg2);
19599 wxPyEndAllowThreads(__tstate);
19600 if (PyErr_Occurred()) SWIG_fail;
19601 }
19602 resultobj = SWIG_Py_Void();
19603 return resultobj;
19604 fail:
19605 return NULL;
19606 }
19607
19608
19609 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19610 PyObject *resultobj = 0;
19611 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19612 wxString *arg2 = 0 ;
19613 void *argp1 = 0 ;
19614 int res1 = 0 ;
19615 bool temp2 = false ;
19616 PyObject * obj0 = 0 ;
19617 PyObject * obj1 = 0 ;
19618 char * kwnames[] = {
19619 (char *) "self",(char *) "str", NULL
19620 };
19621
19622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19624 if (!SWIG_IsOK(res1)) {
19625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19626 }
19627 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19628 {
19629 arg2 = wxString_in_helper(obj1);
19630 if (arg2 == NULL) SWIG_fail;
19631 temp2 = true;
19632 }
19633 {
19634 PyThreadState* __tstate = wxPyBeginAllowThreads();
19635 (arg1)->SetFindString((wxString const &)*arg2);
19636 wxPyEndAllowThreads(__tstate);
19637 if (PyErr_Occurred()) SWIG_fail;
19638 }
19639 resultobj = SWIG_Py_Void();
19640 {
19641 if (temp2)
19642 delete arg2;
19643 }
19644 return resultobj;
19645 fail:
19646 {
19647 if (temp2)
19648 delete arg2;
19649 }
19650 return NULL;
19651 }
19652
19653
19654 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19655 PyObject *resultobj = 0;
19656 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19657 wxString *arg2 = 0 ;
19658 void *argp1 = 0 ;
19659 int res1 = 0 ;
19660 bool temp2 = false ;
19661 PyObject * obj0 = 0 ;
19662 PyObject * obj1 = 0 ;
19663 char * kwnames[] = {
19664 (char *) "self",(char *) "str", NULL
19665 };
19666
19667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19669 if (!SWIG_IsOK(res1)) {
19670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19671 }
19672 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19673 {
19674 arg2 = wxString_in_helper(obj1);
19675 if (arg2 == NULL) SWIG_fail;
19676 temp2 = true;
19677 }
19678 {
19679 PyThreadState* __tstate = wxPyBeginAllowThreads();
19680 (arg1)->SetReplaceString((wxString const &)*arg2);
19681 wxPyEndAllowThreads(__tstate);
19682 if (PyErr_Occurred()) SWIG_fail;
19683 }
19684 resultobj = SWIG_Py_Void();
19685 {
19686 if (temp2)
19687 delete arg2;
19688 }
19689 return resultobj;
19690 fail:
19691 {
19692 if (temp2)
19693 delete arg2;
19694 }
19695 return NULL;
19696 }
19697
19698
19699 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19700 PyObject *obj;
19701 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19702 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19703 return SWIG_Py_Void();
19704 }
19705
19706 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19707 return SWIG_Python_InitShadowInstance(args);
19708 }
19709
19710 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj = 0;
19712 wxWindow *arg1 = (wxWindow *) 0 ;
19713 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19714 wxString *arg3 = 0 ;
19715 int arg4 = (int) 0 ;
19716 wxFindReplaceDialog *result = 0 ;
19717 void *argp1 = 0 ;
19718 int res1 = 0 ;
19719 void *argp2 = 0 ;
19720 int res2 = 0 ;
19721 bool temp3 = false ;
19722 int val4 ;
19723 int ecode4 = 0 ;
19724 PyObject * obj0 = 0 ;
19725 PyObject * obj1 = 0 ;
19726 PyObject * obj2 = 0 ;
19727 PyObject * obj3 = 0 ;
19728 char * kwnames[] = {
19729 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19730 };
19731
19732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19734 if (!SWIG_IsOK(res1)) {
19735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19736 }
19737 arg1 = reinterpret_cast< wxWindow * >(argp1);
19738 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19739 if (!SWIG_IsOK(res2)) {
19740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19741 }
19742 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19743 {
19744 arg3 = wxString_in_helper(obj2);
19745 if (arg3 == NULL) SWIG_fail;
19746 temp3 = true;
19747 }
19748 if (obj3) {
19749 ecode4 = SWIG_AsVal_int(obj3, &val4);
19750 if (!SWIG_IsOK(ecode4)) {
19751 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19752 }
19753 arg4 = static_cast< int >(val4);
19754 }
19755 {
19756 if (!wxPyCheckForApp()) SWIG_fail;
19757 PyThreadState* __tstate = wxPyBeginAllowThreads();
19758 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19763 {
19764 if (temp3)
19765 delete arg3;
19766 }
19767 return resultobj;
19768 fail:
19769 {
19770 if (temp3)
19771 delete arg3;
19772 }
19773 return NULL;
19774 }
19775
19776
19777 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19778 PyObject *resultobj = 0;
19779 wxFindReplaceDialog *result = 0 ;
19780
19781 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19782 {
19783 if (!wxPyCheckForApp()) SWIG_fail;
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19786 wxPyEndAllowThreads(__tstate);
19787 if (PyErr_Occurred()) SWIG_fail;
19788 }
19789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19790 return resultobj;
19791 fail:
19792 return NULL;
19793 }
19794
19795
19796 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19797 PyObject *resultobj = 0;
19798 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19799 wxWindow *arg2 = (wxWindow *) 0 ;
19800 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
19801 wxString *arg4 = 0 ;
19802 int arg5 = (int) 0 ;
19803 bool result;
19804 void *argp1 = 0 ;
19805 int res1 = 0 ;
19806 void *argp2 = 0 ;
19807 int res2 = 0 ;
19808 void *argp3 = 0 ;
19809 int res3 = 0 ;
19810 bool temp4 = false ;
19811 int val5 ;
19812 int ecode5 = 0 ;
19813 PyObject * obj0 = 0 ;
19814 PyObject * obj1 = 0 ;
19815 PyObject * obj2 = 0 ;
19816 PyObject * obj3 = 0 ;
19817 PyObject * obj4 = 0 ;
19818 char * kwnames[] = {
19819 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19820 };
19821
19822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19824 if (!SWIG_IsOK(res1)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19826 }
19827 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19828 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19829 if (!SWIG_IsOK(res2)) {
19830 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19831 }
19832 arg2 = reinterpret_cast< wxWindow * >(argp2);
19833 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19834 if (!SWIG_IsOK(res3)) {
19835 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19836 }
19837 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
19838 {
19839 arg4 = wxString_in_helper(obj3);
19840 if (arg4 == NULL) SWIG_fail;
19841 temp4 = true;
19842 }
19843 if (obj4) {
19844 ecode5 = SWIG_AsVal_int(obj4, &val5);
19845 if (!SWIG_IsOK(ecode5)) {
19846 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19847 }
19848 arg5 = static_cast< int >(val5);
19849 }
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 {
19857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19858 }
19859 {
19860 if (temp4)
19861 delete arg4;
19862 }
19863 return resultobj;
19864 fail:
19865 {
19866 if (temp4)
19867 delete arg4;
19868 }
19869 return NULL;
19870 }
19871
19872
19873 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19874 PyObject *resultobj = 0;
19875 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19876 wxFindReplaceData *result = 0 ;
19877 void *argp1 = 0 ;
19878 int res1 = 0 ;
19879 PyObject *swig_obj[1] ;
19880
19881 if (!args) SWIG_fail;
19882 swig_obj[0] = args;
19883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19884 if (!SWIG_IsOK(res1)) {
19885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19886 }
19887 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19888 {
19889 PyThreadState* __tstate = wxPyBeginAllowThreads();
19890 result = (wxFindReplaceData *)(arg1)->GetData();
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19895 return resultobj;
19896 fail:
19897 return NULL;
19898 }
19899
19900
19901 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19902 PyObject *resultobj = 0;
19903 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19904 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19905 void *argp1 = 0 ;
19906 int res1 = 0 ;
19907 void *argp2 = 0 ;
19908 int res2 = 0 ;
19909 PyObject * obj0 = 0 ;
19910 PyObject * obj1 = 0 ;
19911 char * kwnames[] = {
19912 (char *) "self",(char *) "data", NULL
19913 };
19914
19915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
19916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19917 if (!SWIG_IsOK(res1)) {
19918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19919 }
19920 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19921 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19922 if (!SWIG_IsOK(res2)) {
19923 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19924 }
19925 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19926 {
19927 PyThreadState* __tstate = wxPyBeginAllowThreads();
19928 (arg1)->SetData(arg2);
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 resultobj = SWIG_Py_Void();
19933 return resultobj;
19934 fail:
19935 return NULL;
19936 }
19937
19938
19939 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19940 PyObject *obj;
19941 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19942 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
19943 return SWIG_Py_Void();
19944 }
19945
19946 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19947 return SWIG_Python_InitShadowInstance(args);
19948 }
19949
19950 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19951 PyObject *resultobj = 0;
19952 wxWindow *arg1 = (wxWindow *) 0 ;
19953 int arg2 = (int) (int)-1 ;
19954 wxString const &arg3_defvalue = wxPyEmptyString ;
19955 wxString *arg3 = (wxString *) &arg3_defvalue ;
19956 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19957 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19958 wxSize const &arg5_defvalue = wxDefaultSize ;
19959 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19960 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
19961 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19962 wxString *arg7 = (wxString *) &arg7_defvalue ;
19963 wxMDIParentFrame *result = 0 ;
19964 void *argp1 = 0 ;
19965 int res1 = 0 ;
19966 int val2 ;
19967 int ecode2 = 0 ;
19968 bool temp3 = false ;
19969 wxPoint temp4 ;
19970 wxSize temp5 ;
19971 long val6 ;
19972 int ecode6 = 0 ;
19973 bool temp7 = false ;
19974 PyObject * obj0 = 0 ;
19975 PyObject * obj1 = 0 ;
19976 PyObject * obj2 = 0 ;
19977 PyObject * obj3 = 0 ;
19978 PyObject * obj4 = 0 ;
19979 PyObject * obj5 = 0 ;
19980 PyObject * obj6 = 0 ;
19981 char * kwnames[] = {
19982 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19983 };
19984
19985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19987 if (!SWIG_IsOK(res1)) {
19988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
19989 }
19990 arg1 = reinterpret_cast< wxWindow * >(argp1);
19991 if (obj1) {
19992 ecode2 = SWIG_AsVal_int(obj1, &val2);
19993 if (!SWIG_IsOK(ecode2)) {
19994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
19995 }
19996 arg2 = static_cast< int >(val2);
19997 }
19998 if (obj2) {
19999 {
20000 arg3 = wxString_in_helper(obj2);
20001 if (arg3 == NULL) SWIG_fail;
20002 temp3 = true;
20003 }
20004 }
20005 if (obj3) {
20006 {
20007 arg4 = &temp4;
20008 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20009 }
20010 }
20011 if (obj4) {
20012 {
20013 arg5 = &temp5;
20014 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20015 }
20016 }
20017 if (obj5) {
20018 ecode6 = SWIG_AsVal_long(obj5, &val6);
20019 if (!SWIG_IsOK(ecode6)) {
20020 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20021 }
20022 arg6 = static_cast< long >(val6);
20023 }
20024 if (obj6) {
20025 {
20026 arg7 = wxString_in_helper(obj6);
20027 if (arg7 == NULL) SWIG_fail;
20028 temp7 = true;
20029 }
20030 }
20031 {
20032 if (!wxPyCheckForApp()) SWIG_fail;
20033 PyThreadState* __tstate = wxPyBeginAllowThreads();
20034 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20039 {
20040 if (temp3)
20041 delete arg3;
20042 }
20043 {
20044 if (temp7)
20045 delete arg7;
20046 }
20047 return resultobj;
20048 fail:
20049 {
20050 if (temp3)
20051 delete arg3;
20052 }
20053 {
20054 if (temp7)
20055 delete arg7;
20056 }
20057 return NULL;
20058 }
20059
20060
20061 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20062 PyObject *resultobj = 0;
20063 wxMDIParentFrame *result = 0 ;
20064
20065 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20066 {
20067 if (!wxPyCheckForApp()) SWIG_fail;
20068 PyThreadState* __tstate = wxPyBeginAllowThreads();
20069 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20070 wxPyEndAllowThreads(__tstate);
20071 if (PyErr_Occurred()) SWIG_fail;
20072 }
20073 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20074 return resultobj;
20075 fail:
20076 return NULL;
20077 }
20078
20079
20080 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20081 PyObject *resultobj = 0;
20082 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20083 wxWindow *arg2 = (wxWindow *) 0 ;
20084 int arg3 = (int) (int)-1 ;
20085 wxString const &arg4_defvalue = wxPyEmptyString ;
20086 wxString *arg4 = (wxString *) &arg4_defvalue ;
20087 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20088 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20089 wxSize const &arg6_defvalue = wxDefaultSize ;
20090 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20091 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20092 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20093 wxString *arg8 = (wxString *) &arg8_defvalue ;
20094 bool result;
20095 void *argp1 = 0 ;
20096 int res1 = 0 ;
20097 void *argp2 = 0 ;
20098 int res2 = 0 ;
20099 int val3 ;
20100 int ecode3 = 0 ;
20101 bool temp4 = false ;
20102 wxPoint temp5 ;
20103 wxSize temp6 ;
20104 long val7 ;
20105 int ecode7 = 0 ;
20106 bool temp8 = false ;
20107 PyObject * obj0 = 0 ;
20108 PyObject * obj1 = 0 ;
20109 PyObject * obj2 = 0 ;
20110 PyObject * obj3 = 0 ;
20111 PyObject * obj4 = 0 ;
20112 PyObject * obj5 = 0 ;
20113 PyObject * obj6 = 0 ;
20114 PyObject * obj7 = 0 ;
20115 char * kwnames[] = {
20116 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20117 };
20118
20119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20121 if (!SWIG_IsOK(res1)) {
20122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20123 }
20124 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20125 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20126 if (!SWIG_IsOK(res2)) {
20127 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20128 }
20129 arg2 = reinterpret_cast< wxWindow * >(argp2);
20130 if (obj2) {
20131 ecode3 = SWIG_AsVal_int(obj2, &val3);
20132 if (!SWIG_IsOK(ecode3)) {
20133 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20134 }
20135 arg3 = static_cast< int >(val3);
20136 }
20137 if (obj3) {
20138 {
20139 arg4 = wxString_in_helper(obj3);
20140 if (arg4 == NULL) SWIG_fail;
20141 temp4 = true;
20142 }
20143 }
20144 if (obj4) {
20145 {
20146 arg5 = &temp5;
20147 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20148 }
20149 }
20150 if (obj5) {
20151 {
20152 arg6 = &temp6;
20153 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20154 }
20155 }
20156 if (obj6) {
20157 ecode7 = SWIG_AsVal_long(obj6, &val7);
20158 if (!SWIG_IsOK(ecode7)) {
20159 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20160 }
20161 arg7 = static_cast< long >(val7);
20162 }
20163 if (obj7) {
20164 {
20165 arg8 = wxString_in_helper(obj7);
20166 if (arg8 == NULL) SWIG_fail;
20167 temp8 = true;
20168 }
20169 }
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20173 wxPyEndAllowThreads(__tstate);
20174 if (PyErr_Occurred()) SWIG_fail;
20175 }
20176 {
20177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20178 }
20179 {
20180 if (temp4)
20181 delete arg4;
20182 }
20183 {
20184 if (temp8)
20185 delete arg8;
20186 }
20187 return resultobj;
20188 fail:
20189 {
20190 if (temp4)
20191 delete arg4;
20192 }
20193 {
20194 if (temp8)
20195 delete arg8;
20196 }
20197 return NULL;
20198 }
20199
20200
20201 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20202 PyObject *resultobj = 0;
20203 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20204 void *argp1 = 0 ;
20205 int res1 = 0 ;
20206 PyObject *swig_obj[1] ;
20207
20208 if (!args) SWIG_fail;
20209 swig_obj[0] = args;
20210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20211 if (!SWIG_IsOK(res1)) {
20212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20213 }
20214 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20215 {
20216 PyThreadState* __tstate = wxPyBeginAllowThreads();
20217 (arg1)->ActivateNext();
20218 wxPyEndAllowThreads(__tstate);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 }
20221 resultobj = SWIG_Py_Void();
20222 return resultobj;
20223 fail:
20224 return NULL;
20225 }
20226
20227
20228 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20229 PyObject *resultobj = 0;
20230 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20231 void *argp1 = 0 ;
20232 int res1 = 0 ;
20233 PyObject *swig_obj[1] ;
20234
20235 if (!args) SWIG_fail;
20236 swig_obj[0] = args;
20237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20238 if (!SWIG_IsOK(res1)) {
20239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20240 }
20241 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20242 {
20243 PyThreadState* __tstate = wxPyBeginAllowThreads();
20244 (arg1)->ActivatePrevious();
20245 wxPyEndAllowThreads(__tstate);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 }
20248 resultobj = SWIG_Py_Void();
20249 return resultobj;
20250 fail:
20251 return NULL;
20252 }
20253
20254
20255 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20256 PyObject *resultobj = 0;
20257 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20258 void *argp1 = 0 ;
20259 int res1 = 0 ;
20260 PyObject *swig_obj[1] ;
20261
20262 if (!args) SWIG_fail;
20263 swig_obj[0] = args;
20264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20265 if (!SWIG_IsOK(res1)) {
20266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20267 }
20268 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20269 {
20270 PyThreadState* __tstate = wxPyBeginAllowThreads();
20271 (arg1)->ArrangeIcons();
20272 wxPyEndAllowThreads(__tstate);
20273 if (PyErr_Occurred()) SWIG_fail;
20274 }
20275 resultobj = SWIG_Py_Void();
20276 return resultobj;
20277 fail:
20278 return NULL;
20279 }
20280
20281
20282 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20283 PyObject *resultobj = 0;
20284 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20285 void *argp1 = 0 ;
20286 int res1 = 0 ;
20287 PyObject *swig_obj[1] ;
20288
20289 if (!args) SWIG_fail;
20290 swig_obj[0] = args;
20291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20292 if (!SWIG_IsOK(res1)) {
20293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20294 }
20295 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 (arg1)->Cascade();
20299 wxPyEndAllowThreads(__tstate);
20300 if (PyErr_Occurred()) SWIG_fail;
20301 }
20302 resultobj = SWIG_Py_Void();
20303 return resultobj;
20304 fail:
20305 return NULL;
20306 }
20307
20308
20309 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20310 PyObject *resultobj = 0;
20311 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20312 wxMDIChildFrame *result = 0 ;
20313 void *argp1 = 0 ;
20314 int res1 = 0 ;
20315 PyObject *swig_obj[1] ;
20316
20317 if (!args) SWIG_fail;
20318 swig_obj[0] = args;
20319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20320 if (!SWIG_IsOK(res1)) {
20321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20322 }
20323 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20324 {
20325 PyThreadState* __tstate = wxPyBeginAllowThreads();
20326 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20327 wxPyEndAllowThreads(__tstate);
20328 if (PyErr_Occurred()) SWIG_fail;
20329 }
20330 {
20331 resultobj = wxPyMake_wxObject(result, (bool)0);
20332 }
20333 return resultobj;
20334 fail:
20335 return NULL;
20336 }
20337
20338
20339 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20340 PyObject *resultobj = 0;
20341 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20342 wxMDIClientWindow *result = 0 ;
20343 void *argp1 = 0 ;
20344 int res1 = 0 ;
20345 PyObject *swig_obj[1] ;
20346
20347 if (!args) SWIG_fail;
20348 swig_obj[0] = args;
20349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20350 if (!SWIG_IsOK(res1)) {
20351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20352 }
20353 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20354 {
20355 PyThreadState* __tstate = wxPyBeginAllowThreads();
20356 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20357 wxPyEndAllowThreads(__tstate);
20358 if (PyErr_Occurred()) SWIG_fail;
20359 }
20360 {
20361 resultobj = wxPyMake_wxObject(result, (bool)0);
20362 }
20363 return resultobj;
20364 fail:
20365 return NULL;
20366 }
20367
20368
20369 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20370 PyObject *resultobj = 0;
20371 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20372 wxWindow *result = 0 ;
20373 void *argp1 = 0 ;
20374 int res1 = 0 ;
20375 PyObject *swig_obj[1] ;
20376
20377 if (!args) SWIG_fail;
20378 swig_obj[0] = args;
20379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20380 if (!SWIG_IsOK(res1)) {
20381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20382 }
20383 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20384 {
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 result = (wxWindow *)(arg1)->GetToolBar();
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 {
20391 resultobj = wxPyMake_wxObject(result, 0);
20392 }
20393 return resultobj;
20394 fail:
20395 return NULL;
20396 }
20397
20398
20399 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20400 PyObject *resultobj = 0;
20401 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20402 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20403 void *argp1 = 0 ;
20404 int res1 = 0 ;
20405 int val2 ;
20406 int ecode2 = 0 ;
20407 PyObject * obj0 = 0 ;
20408 PyObject * obj1 = 0 ;
20409 char * kwnames[] = {
20410 (char *) "self",(char *) "orient", NULL
20411 };
20412
20413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20415 if (!SWIG_IsOK(res1)) {
20416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20417 }
20418 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20419 if (obj1) {
20420 ecode2 = SWIG_AsVal_int(obj1, &val2);
20421 if (!SWIG_IsOK(ecode2)) {
20422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20423 }
20424 arg2 = static_cast< wxOrientation >(val2);
20425 }
20426 {
20427 PyThreadState* __tstate = wxPyBeginAllowThreads();
20428 (arg1)->Tile(arg2);
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 resultobj = SWIG_Py_Void();
20433 return resultobj;
20434 fail:
20435 return NULL;
20436 }
20437
20438
20439 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20440 PyObject *obj;
20441 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20442 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20443 return SWIG_Py_Void();
20444 }
20445
20446 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20447 return SWIG_Python_InitShadowInstance(args);
20448 }
20449
20450 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20451 PyObject *resultobj = 0;
20452 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20453 int arg2 = (int) (int)-1 ;
20454 wxString const &arg3_defvalue = wxPyEmptyString ;
20455 wxString *arg3 = (wxString *) &arg3_defvalue ;
20456 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20457 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20458 wxSize const &arg5_defvalue = wxDefaultSize ;
20459 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20460 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20461 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20462 wxString *arg7 = (wxString *) &arg7_defvalue ;
20463 wxMDIChildFrame *result = 0 ;
20464 void *argp1 = 0 ;
20465 int res1 = 0 ;
20466 int val2 ;
20467 int ecode2 = 0 ;
20468 bool temp3 = false ;
20469 wxPoint temp4 ;
20470 wxSize temp5 ;
20471 long val6 ;
20472 int ecode6 = 0 ;
20473 bool temp7 = false ;
20474 PyObject * obj0 = 0 ;
20475 PyObject * obj1 = 0 ;
20476 PyObject * obj2 = 0 ;
20477 PyObject * obj3 = 0 ;
20478 PyObject * obj4 = 0 ;
20479 PyObject * obj5 = 0 ;
20480 PyObject * obj6 = 0 ;
20481 char * kwnames[] = {
20482 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20483 };
20484
20485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20487 if (!SWIG_IsOK(res1)) {
20488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20489 }
20490 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20491 if (obj1) {
20492 ecode2 = SWIG_AsVal_int(obj1, &val2);
20493 if (!SWIG_IsOK(ecode2)) {
20494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20495 }
20496 arg2 = static_cast< int >(val2);
20497 }
20498 if (obj2) {
20499 {
20500 arg3 = wxString_in_helper(obj2);
20501 if (arg3 == NULL) SWIG_fail;
20502 temp3 = true;
20503 }
20504 }
20505 if (obj3) {
20506 {
20507 arg4 = &temp4;
20508 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20509 }
20510 }
20511 if (obj4) {
20512 {
20513 arg5 = &temp5;
20514 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20515 }
20516 }
20517 if (obj5) {
20518 ecode6 = SWIG_AsVal_long(obj5, &val6);
20519 if (!SWIG_IsOK(ecode6)) {
20520 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20521 }
20522 arg6 = static_cast< long >(val6);
20523 }
20524 if (obj6) {
20525 {
20526 arg7 = wxString_in_helper(obj6);
20527 if (arg7 == NULL) SWIG_fail;
20528 temp7 = true;
20529 }
20530 }
20531 {
20532 if (!wxPyCheckForApp()) SWIG_fail;
20533 PyThreadState* __tstate = wxPyBeginAllowThreads();
20534 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20539 {
20540 if (temp3)
20541 delete arg3;
20542 }
20543 {
20544 if (temp7)
20545 delete arg7;
20546 }
20547 return resultobj;
20548 fail:
20549 {
20550 if (temp3)
20551 delete arg3;
20552 }
20553 {
20554 if (temp7)
20555 delete arg7;
20556 }
20557 return NULL;
20558 }
20559
20560
20561 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20562 PyObject *resultobj = 0;
20563 wxMDIChildFrame *result = 0 ;
20564
20565 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20566 {
20567 if (!wxPyCheckForApp()) SWIG_fail;
20568 PyThreadState* __tstate = wxPyBeginAllowThreads();
20569 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20570 wxPyEndAllowThreads(__tstate);
20571 if (PyErr_Occurred()) SWIG_fail;
20572 }
20573 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20574 return resultobj;
20575 fail:
20576 return NULL;
20577 }
20578
20579
20580 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20581 PyObject *resultobj = 0;
20582 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20583 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20584 int arg3 = (int) (int)-1 ;
20585 wxString const &arg4_defvalue = wxPyEmptyString ;
20586 wxString *arg4 = (wxString *) &arg4_defvalue ;
20587 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20588 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20589 wxSize const &arg6_defvalue = wxDefaultSize ;
20590 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20591 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20592 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20593 wxString *arg8 = (wxString *) &arg8_defvalue ;
20594 bool result;
20595 void *argp1 = 0 ;
20596 int res1 = 0 ;
20597 void *argp2 = 0 ;
20598 int res2 = 0 ;
20599 int val3 ;
20600 int ecode3 = 0 ;
20601 bool temp4 = false ;
20602 wxPoint temp5 ;
20603 wxSize temp6 ;
20604 long val7 ;
20605 int ecode7 = 0 ;
20606 bool temp8 = false ;
20607 PyObject * obj0 = 0 ;
20608 PyObject * obj1 = 0 ;
20609 PyObject * obj2 = 0 ;
20610 PyObject * obj3 = 0 ;
20611 PyObject * obj4 = 0 ;
20612 PyObject * obj5 = 0 ;
20613 PyObject * obj6 = 0 ;
20614 PyObject * obj7 = 0 ;
20615 char * kwnames[] = {
20616 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20617 };
20618
20619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20621 if (!SWIG_IsOK(res1)) {
20622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20623 }
20624 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20625 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20626 if (!SWIG_IsOK(res2)) {
20627 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20628 }
20629 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20630 if (obj2) {
20631 ecode3 = SWIG_AsVal_int(obj2, &val3);
20632 if (!SWIG_IsOK(ecode3)) {
20633 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20634 }
20635 arg3 = static_cast< int >(val3);
20636 }
20637 if (obj3) {
20638 {
20639 arg4 = wxString_in_helper(obj3);
20640 if (arg4 == NULL) SWIG_fail;
20641 temp4 = true;
20642 }
20643 }
20644 if (obj4) {
20645 {
20646 arg5 = &temp5;
20647 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20648 }
20649 }
20650 if (obj5) {
20651 {
20652 arg6 = &temp6;
20653 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20654 }
20655 }
20656 if (obj6) {
20657 ecode7 = SWIG_AsVal_long(obj6, &val7);
20658 if (!SWIG_IsOK(ecode7)) {
20659 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20660 }
20661 arg7 = static_cast< long >(val7);
20662 }
20663 if (obj7) {
20664 {
20665 arg8 = wxString_in_helper(obj7);
20666 if (arg8 == NULL) SWIG_fail;
20667 temp8 = true;
20668 }
20669 }
20670 {
20671 PyThreadState* __tstate = wxPyBeginAllowThreads();
20672 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20673 wxPyEndAllowThreads(__tstate);
20674 if (PyErr_Occurred()) SWIG_fail;
20675 }
20676 {
20677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20678 }
20679 {
20680 if (temp4)
20681 delete arg4;
20682 }
20683 {
20684 if (temp8)
20685 delete arg8;
20686 }
20687 return resultobj;
20688 fail:
20689 {
20690 if (temp4)
20691 delete arg4;
20692 }
20693 {
20694 if (temp8)
20695 delete arg8;
20696 }
20697 return NULL;
20698 }
20699
20700
20701 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20702 PyObject *resultobj = 0;
20703 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20704 void *argp1 = 0 ;
20705 int res1 = 0 ;
20706 PyObject *swig_obj[1] ;
20707
20708 if (!args) SWIG_fail;
20709 swig_obj[0] = args;
20710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20711 if (!SWIG_IsOK(res1)) {
20712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20713 }
20714 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20715 {
20716 PyThreadState* __tstate = wxPyBeginAllowThreads();
20717 (arg1)->Activate();
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 resultobj = SWIG_Py_Void();
20722 return resultobj;
20723 fail:
20724 return NULL;
20725 }
20726
20727
20728 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20729 PyObject *obj;
20730 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20731 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20732 return SWIG_Py_Void();
20733 }
20734
20735 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20736 return SWIG_Python_InitShadowInstance(args);
20737 }
20738
20739 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20740 PyObject *resultobj = 0;
20741 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20742 long arg2 = (long) 0 ;
20743 wxMDIClientWindow *result = 0 ;
20744 void *argp1 = 0 ;
20745 int res1 = 0 ;
20746 long val2 ;
20747 int ecode2 = 0 ;
20748 PyObject * obj0 = 0 ;
20749 PyObject * obj1 = 0 ;
20750 char * kwnames[] = {
20751 (char *) "parent",(char *) "style", NULL
20752 };
20753
20754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20756 if (!SWIG_IsOK(res1)) {
20757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20758 }
20759 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20760 if (obj1) {
20761 ecode2 = SWIG_AsVal_long(obj1, &val2);
20762 if (!SWIG_IsOK(ecode2)) {
20763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20764 }
20765 arg2 = static_cast< long >(val2);
20766 }
20767 {
20768 if (!wxPyCheckForApp()) SWIG_fail;
20769 PyThreadState* __tstate = wxPyBeginAllowThreads();
20770 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
20771 wxPyEndAllowThreads(__tstate);
20772 if (PyErr_Occurred()) SWIG_fail;
20773 }
20774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
20775 return resultobj;
20776 fail:
20777 return NULL;
20778 }
20779
20780
20781 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20782 PyObject *resultobj = 0;
20783 wxMDIClientWindow *result = 0 ;
20784
20785 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
20786 {
20787 if (!wxPyCheckForApp()) SWIG_fail;
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 result = (wxMDIClientWindow *)new wxMDIClientWindow();
20790 wxPyEndAllowThreads(__tstate);
20791 if (PyErr_Occurred()) SWIG_fail;
20792 }
20793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
20794 return resultobj;
20795 fail:
20796 return NULL;
20797 }
20798
20799
20800 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20801 PyObject *resultobj = 0;
20802 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
20803 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20804 long arg3 = (long) 0 ;
20805 bool result;
20806 void *argp1 = 0 ;
20807 int res1 = 0 ;
20808 void *argp2 = 0 ;
20809 int res2 = 0 ;
20810 long val3 ;
20811 int ecode3 = 0 ;
20812 PyObject * obj0 = 0 ;
20813 PyObject * obj1 = 0 ;
20814 PyObject * obj2 = 0 ;
20815 char * kwnames[] = {
20816 (char *) "self",(char *) "parent",(char *) "style", NULL
20817 };
20818
20819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
20821 if (!SWIG_IsOK(res1)) {
20822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20823 }
20824 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
20825 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20826 if (!SWIG_IsOK(res2)) {
20827 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20828 }
20829 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20830 if (obj2) {
20831 ecode3 = SWIG_AsVal_long(obj2, &val3);
20832 if (!SWIG_IsOK(ecode3)) {
20833 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20834 }
20835 arg3 = static_cast< long >(val3);
20836 }
20837 {
20838 PyThreadState* __tstate = wxPyBeginAllowThreads();
20839 result = (bool)(arg1)->Create(arg2,arg3);
20840 wxPyEndAllowThreads(__tstate);
20841 if (PyErr_Occurred()) SWIG_fail;
20842 }
20843 {
20844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20845 }
20846 return resultobj;
20847 fail:
20848 return NULL;
20849 }
20850
20851
20852 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20853 PyObject *obj;
20854 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20855 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
20856 return SWIG_Py_Void();
20857 }
20858
20859 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20860 return SWIG_Python_InitShadowInstance(args);
20861 }
20862
20863 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20864 PyObject *resultobj = 0;
20865 wxWindow *arg1 = (wxWindow *) 0 ;
20866 int arg2 = (int) (int)-1 ;
20867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20869 wxSize const &arg4_defvalue = wxDefaultSize ;
20870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20871 long arg5 = (long) 0 ;
20872 wxString const &arg6_defvalue = wxPyPanelNameStr ;
20873 wxString *arg6 = (wxString *) &arg6_defvalue ;
20874 wxPyWindow *result = 0 ;
20875 void *argp1 = 0 ;
20876 int res1 = 0 ;
20877 int val2 ;
20878 int ecode2 = 0 ;
20879 wxPoint temp3 ;
20880 wxSize temp4 ;
20881 long val5 ;
20882 int ecode5 = 0 ;
20883 bool temp6 = false ;
20884 PyObject * obj0 = 0 ;
20885 PyObject * obj1 = 0 ;
20886 PyObject * obj2 = 0 ;
20887 PyObject * obj3 = 0 ;
20888 PyObject * obj4 = 0 ;
20889 PyObject * obj5 = 0 ;
20890 char * kwnames[] = {
20891 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20892 };
20893
20894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20896 if (!SWIG_IsOK(res1)) {
20897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
20898 }
20899 arg1 = reinterpret_cast< wxWindow * >(argp1);
20900 if (obj1) {
20901 ecode2 = SWIG_AsVal_int(obj1, &val2);
20902 if (!SWIG_IsOK(ecode2)) {
20903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
20904 }
20905 arg2 = static_cast< int >(val2);
20906 }
20907 if (obj2) {
20908 {
20909 arg3 = &temp3;
20910 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20911 }
20912 }
20913 if (obj3) {
20914 {
20915 arg4 = &temp4;
20916 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20917 }
20918 }
20919 if (obj4) {
20920 ecode5 = SWIG_AsVal_long(obj4, &val5);
20921 if (!SWIG_IsOK(ecode5)) {
20922 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
20923 }
20924 arg5 = static_cast< long >(val5);
20925 }
20926 if (obj5) {
20927 {
20928 arg6 = wxString_in_helper(obj5);
20929 if (arg6 == NULL) SWIG_fail;
20930 temp6 = true;
20931 }
20932 }
20933 {
20934 if (!wxPyCheckForApp()) SWIG_fail;
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
20941 {
20942 if (temp6)
20943 delete arg6;
20944 }
20945 return resultobj;
20946 fail:
20947 {
20948 if (temp6)
20949 delete arg6;
20950 }
20951 return NULL;
20952 }
20953
20954
20955 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20956 PyObject *resultobj = 0;
20957 wxPyWindow *result = 0 ;
20958
20959 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
20960 {
20961 if (!wxPyCheckForApp()) SWIG_fail;
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 result = (wxPyWindow *)new wxPyWindow();
20964 wxPyEndAllowThreads(__tstate);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
20968 return resultobj;
20969 fail:
20970 return NULL;
20971 }
20972
20973
20974 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20975 PyObject *resultobj = 0;
20976 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
20977 PyObject *arg2 = (PyObject *) 0 ;
20978 PyObject *arg3 = (PyObject *) 0 ;
20979 void *argp1 = 0 ;
20980 int res1 = 0 ;
20981 PyObject * obj0 = 0 ;
20982 PyObject * obj1 = 0 ;
20983 PyObject * obj2 = 0 ;
20984 char * kwnames[] = {
20985 (char *) "self",(char *) "self",(char *) "_class", NULL
20986 };
20987
20988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
20990 if (!SWIG_IsOK(res1)) {
20991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
20992 }
20993 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
20994 arg2 = obj1;
20995 arg3 = obj2;
20996 {
20997 PyThreadState* __tstate = wxPyBeginAllowThreads();
20998 (arg1)->_setCallbackInfo(arg2,arg3);
20999 wxPyEndAllowThreads(__tstate);
21000 if (PyErr_Occurred()) SWIG_fail;
21001 }
21002 resultobj = SWIG_Py_Void();
21003 return resultobj;
21004 fail:
21005 return NULL;
21006 }
21007
21008
21009 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21010 PyObject *resultobj = 0;
21011 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21012 wxSize *arg2 = 0 ;
21013 void *argp1 = 0 ;
21014 int res1 = 0 ;
21015 wxSize temp2 ;
21016 PyObject * obj0 = 0 ;
21017 PyObject * obj1 = 0 ;
21018 char * kwnames[] = {
21019 (char *) "self",(char *) "size", NULL
21020 };
21021
21022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21024 if (!SWIG_IsOK(res1)) {
21025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21026 }
21027 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21028 {
21029 arg2 = &temp2;
21030 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21031 }
21032 {
21033 PyThreadState* __tstate = wxPyBeginAllowThreads();
21034 (arg1)->SetBestSize((wxSize const &)*arg2);
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 resultobj = SWIG_Py_Void();
21039 return resultobj;
21040 fail:
21041 return NULL;
21042 }
21043
21044
21045 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21046 PyObject *resultobj = 0;
21047 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21048 wxDC *arg2 = (wxDC *) 0 ;
21049 bool result;
21050 void *argp1 = 0 ;
21051 int res1 = 0 ;
21052 void *argp2 = 0 ;
21053 int res2 = 0 ;
21054 PyObject * obj0 = 0 ;
21055 PyObject * obj1 = 0 ;
21056 char * kwnames[] = {
21057 (char *) "self",(char *) "dc", NULL
21058 };
21059
21060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21062 if (!SWIG_IsOK(res1)) {
21063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21064 }
21065 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21066 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21067 if (!SWIG_IsOK(res2)) {
21068 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21069 }
21070 arg2 = reinterpret_cast< wxDC * >(argp2);
21071 {
21072 PyThreadState* __tstate = wxPyBeginAllowThreads();
21073 result = (bool)(arg1)->DoEraseBackground(arg2);
21074 wxPyEndAllowThreads(__tstate);
21075 if (PyErr_Occurred()) SWIG_fail;
21076 }
21077 {
21078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21079 }
21080 return resultobj;
21081 fail:
21082 return NULL;
21083 }
21084
21085
21086 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21087 PyObject *resultobj = 0;
21088 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21089 int arg2 ;
21090 int arg3 ;
21091 int arg4 ;
21092 int arg5 ;
21093 void *argp1 = 0 ;
21094 int res1 = 0 ;
21095 int val2 ;
21096 int ecode2 = 0 ;
21097 int val3 ;
21098 int ecode3 = 0 ;
21099 int val4 ;
21100 int ecode4 = 0 ;
21101 int val5 ;
21102 int ecode5 = 0 ;
21103 PyObject * obj0 = 0 ;
21104 PyObject * obj1 = 0 ;
21105 PyObject * obj2 = 0 ;
21106 PyObject * obj3 = 0 ;
21107 PyObject * obj4 = 0 ;
21108 char * kwnames[] = {
21109 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21110 };
21111
21112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21114 if (!SWIG_IsOK(res1)) {
21115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21116 }
21117 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21118 ecode2 = SWIG_AsVal_int(obj1, &val2);
21119 if (!SWIG_IsOK(ecode2)) {
21120 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21121 }
21122 arg2 = static_cast< int >(val2);
21123 ecode3 = SWIG_AsVal_int(obj2, &val3);
21124 if (!SWIG_IsOK(ecode3)) {
21125 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21126 }
21127 arg3 = static_cast< int >(val3);
21128 ecode4 = SWIG_AsVal_int(obj3, &val4);
21129 if (!SWIG_IsOK(ecode4)) {
21130 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21131 }
21132 arg4 = static_cast< int >(val4);
21133 ecode5 = SWIG_AsVal_int(obj4, &val5);
21134 if (!SWIG_IsOK(ecode5)) {
21135 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21136 }
21137 arg5 = static_cast< int >(val5);
21138 {
21139 PyThreadState* __tstate = wxPyBeginAllowThreads();
21140 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21141 wxPyEndAllowThreads(__tstate);
21142 if (PyErr_Occurred()) SWIG_fail;
21143 }
21144 resultobj = SWIG_Py_Void();
21145 return resultobj;
21146 fail:
21147 return NULL;
21148 }
21149
21150
21151 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21152 PyObject *resultobj = 0;
21153 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21154 int arg2 ;
21155 int arg3 ;
21156 int arg4 ;
21157 int arg5 ;
21158 int arg6 = (int) wxSIZE_AUTO ;
21159 void *argp1 = 0 ;
21160 int res1 = 0 ;
21161 int val2 ;
21162 int ecode2 = 0 ;
21163 int val3 ;
21164 int ecode3 = 0 ;
21165 int val4 ;
21166 int ecode4 = 0 ;
21167 int val5 ;
21168 int ecode5 = 0 ;
21169 int val6 ;
21170 int ecode6 = 0 ;
21171 PyObject * obj0 = 0 ;
21172 PyObject * obj1 = 0 ;
21173 PyObject * obj2 = 0 ;
21174 PyObject * obj3 = 0 ;
21175 PyObject * obj4 = 0 ;
21176 PyObject * obj5 = 0 ;
21177 char * kwnames[] = {
21178 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21179 };
21180
21181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21183 if (!SWIG_IsOK(res1)) {
21184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21185 }
21186 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21187 ecode2 = SWIG_AsVal_int(obj1, &val2);
21188 if (!SWIG_IsOK(ecode2)) {
21189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21190 }
21191 arg2 = static_cast< int >(val2);
21192 ecode3 = SWIG_AsVal_int(obj2, &val3);
21193 if (!SWIG_IsOK(ecode3)) {
21194 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21195 }
21196 arg3 = static_cast< int >(val3);
21197 ecode4 = SWIG_AsVal_int(obj3, &val4);
21198 if (!SWIG_IsOK(ecode4)) {
21199 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21200 }
21201 arg4 = static_cast< int >(val4);
21202 ecode5 = SWIG_AsVal_int(obj4, &val5);
21203 if (!SWIG_IsOK(ecode5)) {
21204 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21205 }
21206 arg5 = static_cast< int >(val5);
21207 if (obj5) {
21208 ecode6 = SWIG_AsVal_int(obj5, &val6);
21209 if (!SWIG_IsOK(ecode6)) {
21210 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21211 }
21212 arg6 = static_cast< int >(val6);
21213 }
21214 {
21215 PyThreadState* __tstate = wxPyBeginAllowThreads();
21216 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
21220 resultobj = SWIG_Py_Void();
21221 return resultobj;
21222 fail:
21223 return NULL;
21224 }
21225
21226
21227 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21228 PyObject *resultobj = 0;
21229 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21230 int arg2 ;
21231 int arg3 ;
21232 void *argp1 = 0 ;
21233 int res1 = 0 ;
21234 int val2 ;
21235 int ecode2 = 0 ;
21236 int val3 ;
21237 int ecode3 = 0 ;
21238 PyObject * obj0 = 0 ;
21239 PyObject * obj1 = 0 ;
21240 PyObject * obj2 = 0 ;
21241 char * kwnames[] = {
21242 (char *) "self",(char *) "width",(char *) "height", NULL
21243 };
21244
21245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21247 if (!SWIG_IsOK(res1)) {
21248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21249 }
21250 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21251 ecode2 = SWIG_AsVal_int(obj1, &val2);
21252 if (!SWIG_IsOK(ecode2)) {
21253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21254 }
21255 arg2 = static_cast< int >(val2);
21256 ecode3 = SWIG_AsVal_int(obj2, &val3);
21257 if (!SWIG_IsOK(ecode3)) {
21258 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21259 }
21260 arg3 = static_cast< int >(val3);
21261 {
21262 PyThreadState* __tstate = wxPyBeginAllowThreads();
21263 (arg1)->DoSetClientSize(arg2,arg3);
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 resultobj = SWIG_Py_Void();
21268 return resultobj;
21269 fail:
21270 return NULL;
21271 }
21272
21273
21274 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21275 PyObject *resultobj = 0;
21276 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21277 int arg2 ;
21278 int arg3 ;
21279 void *argp1 = 0 ;
21280 int res1 = 0 ;
21281 int val2 ;
21282 int ecode2 = 0 ;
21283 int val3 ;
21284 int ecode3 = 0 ;
21285 PyObject * obj0 = 0 ;
21286 PyObject * obj1 = 0 ;
21287 PyObject * obj2 = 0 ;
21288 char * kwnames[] = {
21289 (char *) "self",(char *) "x",(char *) "y", NULL
21290 };
21291
21292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21294 if (!SWIG_IsOK(res1)) {
21295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21296 }
21297 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21298 ecode2 = SWIG_AsVal_int(obj1, &val2);
21299 if (!SWIG_IsOK(ecode2)) {
21300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21301 }
21302 arg2 = static_cast< int >(val2);
21303 ecode3 = SWIG_AsVal_int(obj2, &val3);
21304 if (!SWIG_IsOK(ecode3)) {
21305 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21306 }
21307 arg3 = static_cast< int >(val3);
21308 {
21309 PyThreadState* __tstate = wxPyBeginAllowThreads();
21310 (arg1)->DoSetVirtualSize(arg2,arg3);
21311 wxPyEndAllowThreads(__tstate);
21312 if (PyErr_Occurred()) SWIG_fail;
21313 }
21314 resultobj = SWIG_Py_Void();
21315 return resultobj;
21316 fail:
21317 return NULL;
21318 }
21319
21320
21321 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21322 PyObject *resultobj = 0;
21323 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21324 int *arg2 = (int *) 0 ;
21325 int *arg3 = (int *) 0 ;
21326 void *argp1 = 0 ;
21327 int res1 = 0 ;
21328 int temp2 ;
21329 int res2 = SWIG_TMPOBJ ;
21330 int temp3 ;
21331 int res3 = SWIG_TMPOBJ ;
21332 PyObject *swig_obj[1] ;
21333
21334 arg2 = &temp2;
21335 arg3 = &temp3;
21336 if (!args) SWIG_fail;
21337 swig_obj[0] = args;
21338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21339 if (!SWIG_IsOK(res1)) {
21340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21341 }
21342 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21343 {
21344 PyThreadState* __tstate = wxPyBeginAllowThreads();
21345 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21346 wxPyEndAllowThreads(__tstate);
21347 if (PyErr_Occurred()) SWIG_fail;
21348 }
21349 resultobj = SWIG_Py_Void();
21350 if (SWIG_IsTmpObj(res2)) {
21351 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21352 } else {
21353 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21354 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21355 }
21356 if (SWIG_IsTmpObj(res3)) {
21357 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21358 } else {
21359 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21360 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21361 }
21362 return resultobj;
21363 fail:
21364 return NULL;
21365 }
21366
21367
21368 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21369 PyObject *resultobj = 0;
21370 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21371 int *arg2 = (int *) 0 ;
21372 int *arg3 = (int *) 0 ;
21373 void *argp1 = 0 ;
21374 int res1 = 0 ;
21375 int temp2 ;
21376 int res2 = SWIG_TMPOBJ ;
21377 int temp3 ;
21378 int res3 = SWIG_TMPOBJ ;
21379 PyObject *swig_obj[1] ;
21380
21381 arg2 = &temp2;
21382 arg3 = &temp3;
21383 if (!args) SWIG_fail;
21384 swig_obj[0] = args;
21385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21386 if (!SWIG_IsOK(res1)) {
21387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21388 }
21389 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21390 {
21391 PyThreadState* __tstate = wxPyBeginAllowThreads();
21392 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21393 wxPyEndAllowThreads(__tstate);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 resultobj = SWIG_Py_Void();
21397 if (SWIG_IsTmpObj(res2)) {
21398 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21399 } else {
21400 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21401 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21402 }
21403 if (SWIG_IsTmpObj(res3)) {
21404 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21405 } else {
21406 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21407 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21408 }
21409 return resultobj;
21410 fail:
21411 return NULL;
21412 }
21413
21414
21415 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21416 PyObject *resultobj = 0;
21417 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21418 int *arg2 = (int *) 0 ;
21419 int *arg3 = (int *) 0 ;
21420 void *argp1 = 0 ;
21421 int res1 = 0 ;
21422 int temp2 ;
21423 int res2 = SWIG_TMPOBJ ;
21424 int temp3 ;
21425 int res3 = SWIG_TMPOBJ ;
21426 PyObject *swig_obj[1] ;
21427
21428 arg2 = &temp2;
21429 arg3 = &temp3;
21430 if (!args) SWIG_fail;
21431 swig_obj[0] = args;
21432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21433 if (!SWIG_IsOK(res1)) {
21434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21435 }
21436 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21437 {
21438 PyThreadState* __tstate = wxPyBeginAllowThreads();
21439 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21440 wxPyEndAllowThreads(__tstate);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 }
21443 resultobj = SWIG_Py_Void();
21444 if (SWIG_IsTmpObj(res2)) {
21445 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21446 } else {
21447 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21449 }
21450 if (SWIG_IsTmpObj(res3)) {
21451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21452 } else {
21453 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21455 }
21456 return resultobj;
21457 fail:
21458 return NULL;
21459 }
21460
21461
21462 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21463 PyObject *resultobj = 0;
21464 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21465 wxSize result;
21466 void *argp1 = 0 ;
21467 int res1 = 0 ;
21468 PyObject *swig_obj[1] ;
21469
21470 if (!args) SWIG_fail;
21471 swig_obj[0] = args;
21472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21473 if (!SWIG_IsOK(res1)) {
21474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21475 }
21476 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21477 {
21478 PyThreadState* __tstate = wxPyBeginAllowThreads();
21479 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21484 return resultobj;
21485 fail:
21486 return NULL;
21487 }
21488
21489
21490 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21491 PyObject *resultobj = 0;
21492 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21493 wxSize result;
21494 void *argp1 = 0 ;
21495 int res1 = 0 ;
21496 PyObject *swig_obj[1] ;
21497
21498 if (!args) SWIG_fail;
21499 swig_obj[0] = args;
21500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21501 if (!SWIG_IsOK(res1)) {
21502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21503 }
21504 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21505 {
21506 PyThreadState* __tstate = wxPyBeginAllowThreads();
21507 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21508 wxPyEndAllowThreads(__tstate);
21509 if (PyErr_Occurred()) SWIG_fail;
21510 }
21511 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21512 return resultobj;
21513 fail:
21514 return NULL;
21515 }
21516
21517
21518 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21519 PyObject *resultobj = 0;
21520 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21521 SwigValueWrapper<wxVisualAttributes > result;
21522 void *argp1 = 0 ;
21523 int res1 = 0 ;
21524 PyObject *swig_obj[1] ;
21525
21526 if (!args) SWIG_fail;
21527 swig_obj[0] = args;
21528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21529 if (!SWIG_IsOK(res1)) {
21530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21531 }
21532 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21533 {
21534 PyThreadState* __tstate = wxPyBeginAllowThreads();
21535 result = (arg1)->GetDefaultAttributes();
21536 wxPyEndAllowThreads(__tstate);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 }
21539 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21540 return resultobj;
21541 fail:
21542 return NULL;
21543 }
21544
21545
21546 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21547 PyObject *resultobj = 0;
21548 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21549 void *argp1 = 0 ;
21550 int res1 = 0 ;
21551 PyObject *swig_obj[1] ;
21552
21553 if (!args) SWIG_fail;
21554 swig_obj[0] = args;
21555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21556 if (!SWIG_IsOK(res1)) {
21557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21558 }
21559 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21560 {
21561 PyThreadState* __tstate = wxPyBeginAllowThreads();
21562 (arg1)->OnInternalIdle();
21563 wxPyEndAllowThreads(__tstate);
21564 if (PyErr_Occurred()) SWIG_fail;
21565 }
21566 resultobj = SWIG_Py_Void();
21567 return resultobj;
21568 fail:
21569 return NULL;
21570 }
21571
21572
21573 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21574 PyObject *obj;
21575 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21576 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21577 return SWIG_Py_Void();
21578 }
21579
21580 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21581 return SWIG_Python_InitShadowInstance(args);
21582 }
21583
21584 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21585 PyObject *resultobj = 0;
21586 wxWindow *arg1 = (wxWindow *) 0 ;
21587 int arg2 = (int) (int)-1 ;
21588 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21589 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21590 wxSize const &arg4_defvalue = wxDefaultSize ;
21591 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21592 long arg5 = (long) 0 ;
21593 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21594 wxString *arg6 = (wxString *) &arg6_defvalue ;
21595 wxPyPanel *result = 0 ;
21596 void *argp1 = 0 ;
21597 int res1 = 0 ;
21598 int val2 ;
21599 int ecode2 = 0 ;
21600 wxPoint temp3 ;
21601 wxSize temp4 ;
21602 long val5 ;
21603 int ecode5 = 0 ;
21604 bool temp6 = false ;
21605 PyObject * obj0 = 0 ;
21606 PyObject * obj1 = 0 ;
21607 PyObject * obj2 = 0 ;
21608 PyObject * obj3 = 0 ;
21609 PyObject * obj4 = 0 ;
21610 PyObject * obj5 = 0 ;
21611 char * kwnames[] = {
21612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21613 };
21614
21615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21617 if (!SWIG_IsOK(res1)) {
21618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21619 }
21620 arg1 = reinterpret_cast< wxWindow * >(argp1);
21621 if (obj1) {
21622 ecode2 = SWIG_AsVal_int(obj1, &val2);
21623 if (!SWIG_IsOK(ecode2)) {
21624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21625 }
21626 arg2 = static_cast< int >(val2);
21627 }
21628 if (obj2) {
21629 {
21630 arg3 = &temp3;
21631 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21632 }
21633 }
21634 if (obj3) {
21635 {
21636 arg4 = &temp4;
21637 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21638 }
21639 }
21640 if (obj4) {
21641 ecode5 = SWIG_AsVal_long(obj4, &val5);
21642 if (!SWIG_IsOK(ecode5)) {
21643 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21644 }
21645 arg5 = static_cast< long >(val5);
21646 }
21647 if (obj5) {
21648 {
21649 arg6 = wxString_in_helper(obj5);
21650 if (arg6 == NULL) SWIG_fail;
21651 temp6 = true;
21652 }
21653 }
21654 {
21655 if (!wxPyCheckForApp()) SWIG_fail;
21656 PyThreadState* __tstate = wxPyBeginAllowThreads();
21657 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21658 wxPyEndAllowThreads(__tstate);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 }
21661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21662 {
21663 if (temp6)
21664 delete arg6;
21665 }
21666 return resultobj;
21667 fail:
21668 {
21669 if (temp6)
21670 delete arg6;
21671 }
21672 return NULL;
21673 }
21674
21675
21676 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21677 PyObject *resultobj = 0;
21678 wxPyPanel *result = 0 ;
21679
21680 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21681 {
21682 if (!wxPyCheckForApp()) SWIG_fail;
21683 PyThreadState* __tstate = wxPyBeginAllowThreads();
21684 result = (wxPyPanel *)new wxPyPanel();
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21689 return resultobj;
21690 fail:
21691 return NULL;
21692 }
21693
21694
21695 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21696 PyObject *resultobj = 0;
21697 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21698 PyObject *arg2 = (PyObject *) 0 ;
21699 PyObject *arg3 = (PyObject *) 0 ;
21700 void *argp1 = 0 ;
21701 int res1 = 0 ;
21702 PyObject * obj0 = 0 ;
21703 PyObject * obj1 = 0 ;
21704 PyObject * obj2 = 0 ;
21705 char * kwnames[] = {
21706 (char *) "self",(char *) "self",(char *) "_class", NULL
21707 };
21708
21709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21711 if (!SWIG_IsOK(res1)) {
21712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21713 }
21714 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21715 arg2 = obj1;
21716 arg3 = obj2;
21717 {
21718 PyThreadState* __tstate = wxPyBeginAllowThreads();
21719 (arg1)->_setCallbackInfo(arg2,arg3);
21720 wxPyEndAllowThreads(__tstate);
21721 if (PyErr_Occurred()) SWIG_fail;
21722 }
21723 resultobj = SWIG_Py_Void();
21724 return resultobj;
21725 fail:
21726 return NULL;
21727 }
21728
21729
21730 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21731 PyObject *resultobj = 0;
21732 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21733 wxSize *arg2 = 0 ;
21734 void *argp1 = 0 ;
21735 int res1 = 0 ;
21736 wxSize temp2 ;
21737 PyObject * obj0 = 0 ;
21738 PyObject * obj1 = 0 ;
21739 char * kwnames[] = {
21740 (char *) "self",(char *) "size", NULL
21741 };
21742
21743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21745 if (!SWIG_IsOK(res1)) {
21746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21747 }
21748 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21749 {
21750 arg2 = &temp2;
21751 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21752 }
21753 {
21754 PyThreadState* __tstate = wxPyBeginAllowThreads();
21755 (arg1)->SetBestSize((wxSize const &)*arg2);
21756 wxPyEndAllowThreads(__tstate);
21757 if (PyErr_Occurred()) SWIG_fail;
21758 }
21759 resultobj = SWIG_Py_Void();
21760 return resultobj;
21761 fail:
21762 return NULL;
21763 }
21764
21765
21766 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21767 PyObject *resultobj = 0;
21768 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21769 wxDC *arg2 = (wxDC *) 0 ;
21770 bool result;
21771 void *argp1 = 0 ;
21772 int res1 = 0 ;
21773 void *argp2 = 0 ;
21774 int res2 = 0 ;
21775 PyObject * obj0 = 0 ;
21776 PyObject * obj1 = 0 ;
21777 char * kwnames[] = {
21778 (char *) "self",(char *) "dc", NULL
21779 };
21780
21781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21783 if (!SWIG_IsOK(res1)) {
21784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21785 }
21786 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21787 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21788 if (!SWIG_IsOK(res2)) {
21789 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21790 }
21791 arg2 = reinterpret_cast< wxDC * >(argp2);
21792 {
21793 PyThreadState* __tstate = wxPyBeginAllowThreads();
21794 result = (bool)(arg1)->DoEraseBackground(arg2);
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 {
21799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21800 }
21801 return resultobj;
21802 fail:
21803 return NULL;
21804 }
21805
21806
21807 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21808 PyObject *resultobj = 0;
21809 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21810 int arg2 ;
21811 int arg3 ;
21812 int arg4 ;
21813 int arg5 ;
21814 void *argp1 = 0 ;
21815 int res1 = 0 ;
21816 int val2 ;
21817 int ecode2 = 0 ;
21818 int val3 ;
21819 int ecode3 = 0 ;
21820 int val4 ;
21821 int ecode4 = 0 ;
21822 int val5 ;
21823 int ecode5 = 0 ;
21824 PyObject * obj0 = 0 ;
21825 PyObject * obj1 = 0 ;
21826 PyObject * obj2 = 0 ;
21827 PyObject * obj3 = 0 ;
21828 PyObject * obj4 = 0 ;
21829 char * kwnames[] = {
21830 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21831 };
21832
21833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21835 if (!SWIG_IsOK(res1)) {
21836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21837 }
21838 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21839 ecode2 = SWIG_AsVal_int(obj1, &val2);
21840 if (!SWIG_IsOK(ecode2)) {
21841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21842 }
21843 arg2 = static_cast< int >(val2);
21844 ecode3 = SWIG_AsVal_int(obj2, &val3);
21845 if (!SWIG_IsOK(ecode3)) {
21846 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21847 }
21848 arg3 = static_cast< int >(val3);
21849 ecode4 = SWIG_AsVal_int(obj3, &val4);
21850 if (!SWIG_IsOK(ecode4)) {
21851 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21852 }
21853 arg4 = static_cast< int >(val4);
21854 ecode5 = SWIG_AsVal_int(obj4, &val5);
21855 if (!SWIG_IsOK(ecode5)) {
21856 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21857 }
21858 arg5 = static_cast< int >(val5);
21859 {
21860 PyThreadState* __tstate = wxPyBeginAllowThreads();
21861 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21862 wxPyEndAllowThreads(__tstate);
21863 if (PyErr_Occurred()) SWIG_fail;
21864 }
21865 resultobj = SWIG_Py_Void();
21866 return resultobj;
21867 fail:
21868 return NULL;
21869 }
21870
21871
21872 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21873 PyObject *resultobj = 0;
21874 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21875 int arg2 ;
21876 int arg3 ;
21877 int arg4 ;
21878 int arg5 ;
21879 int arg6 = (int) wxSIZE_AUTO ;
21880 void *argp1 = 0 ;
21881 int res1 = 0 ;
21882 int val2 ;
21883 int ecode2 = 0 ;
21884 int val3 ;
21885 int ecode3 = 0 ;
21886 int val4 ;
21887 int ecode4 = 0 ;
21888 int val5 ;
21889 int ecode5 = 0 ;
21890 int val6 ;
21891 int ecode6 = 0 ;
21892 PyObject * obj0 = 0 ;
21893 PyObject * obj1 = 0 ;
21894 PyObject * obj2 = 0 ;
21895 PyObject * obj3 = 0 ;
21896 PyObject * obj4 = 0 ;
21897 PyObject * obj5 = 0 ;
21898 char * kwnames[] = {
21899 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21900 };
21901
21902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21904 if (!SWIG_IsOK(res1)) {
21905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21906 }
21907 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21908 ecode2 = SWIG_AsVal_int(obj1, &val2);
21909 if (!SWIG_IsOK(ecode2)) {
21910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21911 }
21912 arg2 = static_cast< int >(val2);
21913 ecode3 = SWIG_AsVal_int(obj2, &val3);
21914 if (!SWIG_IsOK(ecode3)) {
21915 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21916 }
21917 arg3 = static_cast< int >(val3);
21918 ecode4 = SWIG_AsVal_int(obj3, &val4);
21919 if (!SWIG_IsOK(ecode4)) {
21920 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21921 }
21922 arg4 = static_cast< int >(val4);
21923 ecode5 = SWIG_AsVal_int(obj4, &val5);
21924 if (!SWIG_IsOK(ecode5)) {
21925 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21926 }
21927 arg5 = static_cast< int >(val5);
21928 if (obj5) {
21929 ecode6 = SWIG_AsVal_int(obj5, &val6);
21930 if (!SWIG_IsOK(ecode6)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21932 }
21933 arg6 = static_cast< int >(val6);
21934 }
21935 {
21936 PyThreadState* __tstate = wxPyBeginAllowThreads();
21937 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 resultobj = SWIG_Py_Void();
21942 return resultobj;
21943 fail:
21944 return NULL;
21945 }
21946
21947
21948 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21949 PyObject *resultobj = 0;
21950 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21951 int arg2 ;
21952 int arg3 ;
21953 void *argp1 = 0 ;
21954 int res1 = 0 ;
21955 int val2 ;
21956 int ecode2 = 0 ;
21957 int val3 ;
21958 int ecode3 = 0 ;
21959 PyObject * obj0 = 0 ;
21960 PyObject * obj1 = 0 ;
21961 PyObject * obj2 = 0 ;
21962 char * kwnames[] = {
21963 (char *) "self",(char *) "width",(char *) "height", NULL
21964 };
21965
21966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21968 if (!SWIG_IsOK(res1)) {
21969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21970 }
21971 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21972 ecode2 = SWIG_AsVal_int(obj1, &val2);
21973 if (!SWIG_IsOK(ecode2)) {
21974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21975 }
21976 arg2 = static_cast< int >(val2);
21977 ecode3 = SWIG_AsVal_int(obj2, &val3);
21978 if (!SWIG_IsOK(ecode3)) {
21979 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21980 }
21981 arg3 = static_cast< int >(val3);
21982 {
21983 PyThreadState* __tstate = wxPyBeginAllowThreads();
21984 (arg1)->DoSetClientSize(arg2,arg3);
21985 wxPyEndAllowThreads(__tstate);
21986 if (PyErr_Occurred()) SWIG_fail;
21987 }
21988 resultobj = SWIG_Py_Void();
21989 return resultobj;
21990 fail:
21991 return NULL;
21992 }
21993
21994
21995 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21996 PyObject *resultobj = 0;
21997 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21998 int arg2 ;
21999 int arg3 ;
22000 void *argp1 = 0 ;
22001 int res1 = 0 ;
22002 int val2 ;
22003 int ecode2 = 0 ;
22004 int val3 ;
22005 int ecode3 = 0 ;
22006 PyObject * obj0 = 0 ;
22007 PyObject * obj1 = 0 ;
22008 PyObject * obj2 = 0 ;
22009 char * kwnames[] = {
22010 (char *) "self",(char *) "x",(char *) "y", NULL
22011 };
22012
22013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22015 if (!SWIG_IsOK(res1)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22017 }
22018 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22019 ecode2 = SWIG_AsVal_int(obj1, &val2);
22020 if (!SWIG_IsOK(ecode2)) {
22021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22022 }
22023 arg2 = static_cast< int >(val2);
22024 ecode3 = SWIG_AsVal_int(obj2, &val3);
22025 if (!SWIG_IsOK(ecode3)) {
22026 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22027 }
22028 arg3 = static_cast< int >(val3);
22029 {
22030 PyThreadState* __tstate = wxPyBeginAllowThreads();
22031 (arg1)->DoSetVirtualSize(arg2,arg3);
22032 wxPyEndAllowThreads(__tstate);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 }
22035 resultobj = SWIG_Py_Void();
22036 return resultobj;
22037 fail:
22038 return NULL;
22039 }
22040
22041
22042 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22043 PyObject *resultobj = 0;
22044 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22045 int *arg2 = (int *) 0 ;
22046 int *arg3 = (int *) 0 ;
22047 void *argp1 = 0 ;
22048 int res1 = 0 ;
22049 int temp2 ;
22050 int res2 = SWIG_TMPOBJ ;
22051 int temp3 ;
22052 int res3 = SWIG_TMPOBJ ;
22053 PyObject *swig_obj[1] ;
22054
22055 arg2 = &temp2;
22056 arg3 = &temp3;
22057 if (!args) SWIG_fail;
22058 swig_obj[0] = args;
22059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22060 if (!SWIG_IsOK(res1)) {
22061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22062 }
22063 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22067 wxPyEndAllowThreads(__tstate);
22068 if (PyErr_Occurred()) SWIG_fail;
22069 }
22070 resultobj = SWIG_Py_Void();
22071 if (SWIG_IsTmpObj(res2)) {
22072 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22073 } else {
22074 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22075 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22076 }
22077 if (SWIG_IsTmpObj(res3)) {
22078 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22079 } else {
22080 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22081 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22082 }
22083 return resultobj;
22084 fail:
22085 return NULL;
22086 }
22087
22088
22089 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22090 PyObject *resultobj = 0;
22091 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22092 int *arg2 = (int *) 0 ;
22093 int *arg3 = (int *) 0 ;
22094 void *argp1 = 0 ;
22095 int res1 = 0 ;
22096 int temp2 ;
22097 int res2 = SWIG_TMPOBJ ;
22098 int temp3 ;
22099 int res3 = SWIG_TMPOBJ ;
22100 PyObject *swig_obj[1] ;
22101
22102 arg2 = &temp2;
22103 arg3 = &temp3;
22104 if (!args) SWIG_fail;
22105 swig_obj[0] = args;
22106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22107 if (!SWIG_IsOK(res1)) {
22108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22109 }
22110 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22114 wxPyEndAllowThreads(__tstate);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
22117 resultobj = SWIG_Py_Void();
22118 if (SWIG_IsTmpObj(res2)) {
22119 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22120 } else {
22121 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22122 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22123 }
22124 if (SWIG_IsTmpObj(res3)) {
22125 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22126 } else {
22127 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22128 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22129 }
22130 return resultobj;
22131 fail:
22132 return NULL;
22133 }
22134
22135
22136 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22137 PyObject *resultobj = 0;
22138 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22139 int *arg2 = (int *) 0 ;
22140 int *arg3 = (int *) 0 ;
22141 void *argp1 = 0 ;
22142 int res1 = 0 ;
22143 int temp2 ;
22144 int res2 = SWIG_TMPOBJ ;
22145 int temp3 ;
22146 int res3 = SWIG_TMPOBJ ;
22147 PyObject *swig_obj[1] ;
22148
22149 arg2 = &temp2;
22150 arg3 = &temp3;
22151 if (!args) SWIG_fail;
22152 swig_obj[0] = args;
22153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22154 if (!SWIG_IsOK(res1)) {
22155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22156 }
22157 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22158 {
22159 PyThreadState* __tstate = wxPyBeginAllowThreads();
22160 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 resultobj = SWIG_Py_Void();
22165 if (SWIG_IsTmpObj(res2)) {
22166 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22167 } else {
22168 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22169 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22170 }
22171 if (SWIG_IsTmpObj(res3)) {
22172 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22173 } else {
22174 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22175 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22176 }
22177 return resultobj;
22178 fail:
22179 return NULL;
22180 }
22181
22182
22183 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22184 PyObject *resultobj = 0;
22185 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22186 wxSize result;
22187 void *argp1 = 0 ;
22188 int res1 = 0 ;
22189 PyObject *swig_obj[1] ;
22190
22191 if (!args) SWIG_fail;
22192 swig_obj[0] = args;
22193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22194 if (!SWIG_IsOK(res1)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22196 }
22197 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22198 {
22199 PyThreadState* __tstate = wxPyBeginAllowThreads();
22200 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22201 wxPyEndAllowThreads(__tstate);
22202 if (PyErr_Occurred()) SWIG_fail;
22203 }
22204 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22205 return resultobj;
22206 fail:
22207 return NULL;
22208 }
22209
22210
22211 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22212 PyObject *resultobj = 0;
22213 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22214 wxSize result;
22215 void *argp1 = 0 ;
22216 int res1 = 0 ;
22217 PyObject *swig_obj[1] ;
22218
22219 if (!args) SWIG_fail;
22220 swig_obj[0] = args;
22221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22222 if (!SWIG_IsOK(res1)) {
22223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22224 }
22225 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22226 {
22227 PyThreadState* __tstate = wxPyBeginAllowThreads();
22228 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22229 wxPyEndAllowThreads(__tstate);
22230 if (PyErr_Occurred()) SWIG_fail;
22231 }
22232 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22233 return resultobj;
22234 fail:
22235 return NULL;
22236 }
22237
22238
22239 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22240 PyObject *resultobj = 0;
22241 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22242 SwigValueWrapper<wxVisualAttributes > result;
22243 void *argp1 = 0 ;
22244 int res1 = 0 ;
22245 PyObject *swig_obj[1] ;
22246
22247 if (!args) SWIG_fail;
22248 swig_obj[0] = args;
22249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22250 if (!SWIG_IsOK(res1)) {
22251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22252 }
22253 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22254 {
22255 PyThreadState* __tstate = wxPyBeginAllowThreads();
22256 result = (arg1)->GetDefaultAttributes();
22257 wxPyEndAllowThreads(__tstate);
22258 if (PyErr_Occurred()) SWIG_fail;
22259 }
22260 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22261 return resultobj;
22262 fail:
22263 return NULL;
22264 }
22265
22266
22267 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22268 PyObject *resultobj = 0;
22269 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22270 void *argp1 = 0 ;
22271 int res1 = 0 ;
22272 PyObject *swig_obj[1] ;
22273
22274 if (!args) SWIG_fail;
22275 swig_obj[0] = args;
22276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22277 if (!SWIG_IsOK(res1)) {
22278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22279 }
22280 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22281 {
22282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22283 (arg1)->OnInternalIdle();
22284 wxPyEndAllowThreads(__tstate);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 resultobj = SWIG_Py_Void();
22288 return resultobj;
22289 fail:
22290 return NULL;
22291 }
22292
22293
22294 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22295 PyObject *obj;
22296 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22297 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22298 return SWIG_Py_Void();
22299 }
22300
22301 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22302 return SWIG_Python_InitShadowInstance(args);
22303 }
22304
22305 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22306 PyObject *resultobj = 0;
22307 wxWindow *arg1 = (wxWindow *) 0 ;
22308 int arg2 = (int) (int)-1 ;
22309 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22310 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22311 wxSize const &arg4_defvalue = wxDefaultSize ;
22312 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22313 long arg5 = (long) 0 ;
22314 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22315 wxString *arg6 = (wxString *) &arg6_defvalue ;
22316 wxPyScrolledWindow *result = 0 ;
22317 void *argp1 = 0 ;
22318 int res1 = 0 ;
22319 int val2 ;
22320 int ecode2 = 0 ;
22321 wxPoint temp3 ;
22322 wxSize temp4 ;
22323 long val5 ;
22324 int ecode5 = 0 ;
22325 bool temp6 = false ;
22326 PyObject * obj0 = 0 ;
22327 PyObject * obj1 = 0 ;
22328 PyObject * obj2 = 0 ;
22329 PyObject * obj3 = 0 ;
22330 PyObject * obj4 = 0 ;
22331 PyObject * obj5 = 0 ;
22332 char * kwnames[] = {
22333 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22334 };
22335
22336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22338 if (!SWIG_IsOK(res1)) {
22339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22340 }
22341 arg1 = reinterpret_cast< wxWindow * >(argp1);
22342 if (obj1) {
22343 ecode2 = SWIG_AsVal_int(obj1, &val2);
22344 if (!SWIG_IsOK(ecode2)) {
22345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22346 }
22347 arg2 = static_cast< int >(val2);
22348 }
22349 if (obj2) {
22350 {
22351 arg3 = &temp3;
22352 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22353 }
22354 }
22355 if (obj3) {
22356 {
22357 arg4 = &temp4;
22358 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22359 }
22360 }
22361 if (obj4) {
22362 ecode5 = SWIG_AsVal_long(obj4, &val5);
22363 if (!SWIG_IsOK(ecode5)) {
22364 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22365 }
22366 arg5 = static_cast< long >(val5);
22367 }
22368 if (obj5) {
22369 {
22370 arg6 = wxString_in_helper(obj5);
22371 if (arg6 == NULL) SWIG_fail;
22372 temp6 = true;
22373 }
22374 }
22375 {
22376 if (!wxPyCheckForApp()) SWIG_fail;
22377 PyThreadState* __tstate = wxPyBeginAllowThreads();
22378 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22383 {
22384 if (temp6)
22385 delete arg6;
22386 }
22387 return resultobj;
22388 fail:
22389 {
22390 if (temp6)
22391 delete arg6;
22392 }
22393 return NULL;
22394 }
22395
22396
22397 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22398 PyObject *resultobj = 0;
22399 wxPyScrolledWindow *result = 0 ;
22400
22401 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22402 {
22403 if (!wxPyCheckForApp()) SWIG_fail;
22404 PyThreadState* __tstate = wxPyBeginAllowThreads();
22405 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22406 wxPyEndAllowThreads(__tstate);
22407 if (PyErr_Occurred()) SWIG_fail;
22408 }
22409 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22410 return resultobj;
22411 fail:
22412 return NULL;
22413 }
22414
22415
22416 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22417 PyObject *resultobj = 0;
22418 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22419 PyObject *arg2 = (PyObject *) 0 ;
22420 PyObject *arg3 = (PyObject *) 0 ;
22421 void *argp1 = 0 ;
22422 int res1 = 0 ;
22423 PyObject * obj0 = 0 ;
22424 PyObject * obj1 = 0 ;
22425 PyObject * obj2 = 0 ;
22426 char * kwnames[] = {
22427 (char *) "self",(char *) "self",(char *) "_class", NULL
22428 };
22429
22430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22432 if (!SWIG_IsOK(res1)) {
22433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22434 }
22435 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22436 arg2 = obj1;
22437 arg3 = obj2;
22438 {
22439 PyThreadState* __tstate = wxPyBeginAllowThreads();
22440 (arg1)->_setCallbackInfo(arg2,arg3);
22441 wxPyEndAllowThreads(__tstate);
22442 if (PyErr_Occurred()) SWIG_fail;
22443 }
22444 resultobj = SWIG_Py_Void();
22445 return resultobj;
22446 fail:
22447 return NULL;
22448 }
22449
22450
22451 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22452 PyObject *resultobj = 0;
22453 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22454 wxSize *arg2 = 0 ;
22455 void *argp1 = 0 ;
22456 int res1 = 0 ;
22457 wxSize temp2 ;
22458 PyObject * obj0 = 0 ;
22459 PyObject * obj1 = 0 ;
22460 char * kwnames[] = {
22461 (char *) "self",(char *) "size", NULL
22462 };
22463
22464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22466 if (!SWIG_IsOK(res1)) {
22467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22468 }
22469 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22470 {
22471 arg2 = &temp2;
22472 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22473 }
22474 {
22475 PyThreadState* __tstate = wxPyBeginAllowThreads();
22476 (arg1)->SetBestSize((wxSize const &)*arg2);
22477 wxPyEndAllowThreads(__tstate);
22478 if (PyErr_Occurred()) SWIG_fail;
22479 }
22480 resultobj = SWIG_Py_Void();
22481 return resultobj;
22482 fail:
22483 return NULL;
22484 }
22485
22486
22487 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22488 PyObject *resultobj = 0;
22489 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22490 wxDC *arg2 = (wxDC *) 0 ;
22491 bool result;
22492 void *argp1 = 0 ;
22493 int res1 = 0 ;
22494 void *argp2 = 0 ;
22495 int res2 = 0 ;
22496 PyObject * obj0 = 0 ;
22497 PyObject * obj1 = 0 ;
22498 char * kwnames[] = {
22499 (char *) "self",(char *) "dc", NULL
22500 };
22501
22502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22504 if (!SWIG_IsOK(res1)) {
22505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22506 }
22507 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22508 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22509 if (!SWIG_IsOK(res2)) {
22510 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22511 }
22512 arg2 = reinterpret_cast< wxDC * >(argp2);
22513 {
22514 PyThreadState* __tstate = wxPyBeginAllowThreads();
22515 result = (bool)(arg1)->DoEraseBackground(arg2);
22516 wxPyEndAllowThreads(__tstate);
22517 if (PyErr_Occurred()) SWIG_fail;
22518 }
22519 {
22520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22521 }
22522 return resultobj;
22523 fail:
22524 return NULL;
22525 }
22526
22527
22528 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22529 PyObject *resultobj = 0;
22530 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22531 int arg2 ;
22532 int arg3 ;
22533 int arg4 ;
22534 int arg5 ;
22535 void *argp1 = 0 ;
22536 int res1 = 0 ;
22537 int val2 ;
22538 int ecode2 = 0 ;
22539 int val3 ;
22540 int ecode3 = 0 ;
22541 int val4 ;
22542 int ecode4 = 0 ;
22543 int val5 ;
22544 int ecode5 = 0 ;
22545 PyObject * obj0 = 0 ;
22546 PyObject * obj1 = 0 ;
22547 PyObject * obj2 = 0 ;
22548 PyObject * obj3 = 0 ;
22549 PyObject * obj4 = 0 ;
22550 char * kwnames[] = {
22551 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22552 };
22553
22554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22556 if (!SWIG_IsOK(res1)) {
22557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22558 }
22559 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22560 ecode2 = SWIG_AsVal_int(obj1, &val2);
22561 if (!SWIG_IsOK(ecode2)) {
22562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22563 }
22564 arg2 = static_cast< int >(val2);
22565 ecode3 = SWIG_AsVal_int(obj2, &val3);
22566 if (!SWIG_IsOK(ecode3)) {
22567 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22568 }
22569 arg3 = static_cast< int >(val3);
22570 ecode4 = SWIG_AsVal_int(obj3, &val4);
22571 if (!SWIG_IsOK(ecode4)) {
22572 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22573 }
22574 arg4 = static_cast< int >(val4);
22575 ecode5 = SWIG_AsVal_int(obj4, &val5);
22576 if (!SWIG_IsOK(ecode5)) {
22577 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22578 }
22579 arg5 = static_cast< int >(val5);
22580 {
22581 PyThreadState* __tstate = wxPyBeginAllowThreads();
22582 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22583 wxPyEndAllowThreads(__tstate);
22584 if (PyErr_Occurred()) SWIG_fail;
22585 }
22586 resultobj = SWIG_Py_Void();
22587 return resultobj;
22588 fail:
22589 return NULL;
22590 }
22591
22592
22593 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22594 PyObject *resultobj = 0;
22595 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22596 int arg2 ;
22597 int arg3 ;
22598 int arg4 ;
22599 int arg5 ;
22600 int arg6 = (int) wxSIZE_AUTO ;
22601 void *argp1 = 0 ;
22602 int res1 = 0 ;
22603 int val2 ;
22604 int ecode2 = 0 ;
22605 int val3 ;
22606 int ecode3 = 0 ;
22607 int val4 ;
22608 int ecode4 = 0 ;
22609 int val5 ;
22610 int ecode5 = 0 ;
22611 int val6 ;
22612 int ecode6 = 0 ;
22613 PyObject * obj0 = 0 ;
22614 PyObject * obj1 = 0 ;
22615 PyObject * obj2 = 0 ;
22616 PyObject * obj3 = 0 ;
22617 PyObject * obj4 = 0 ;
22618 PyObject * obj5 = 0 ;
22619 char * kwnames[] = {
22620 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22621 };
22622
22623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22625 if (!SWIG_IsOK(res1)) {
22626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22627 }
22628 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22629 ecode2 = SWIG_AsVal_int(obj1, &val2);
22630 if (!SWIG_IsOK(ecode2)) {
22631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22632 }
22633 arg2 = static_cast< int >(val2);
22634 ecode3 = SWIG_AsVal_int(obj2, &val3);
22635 if (!SWIG_IsOK(ecode3)) {
22636 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22637 }
22638 arg3 = static_cast< int >(val3);
22639 ecode4 = SWIG_AsVal_int(obj3, &val4);
22640 if (!SWIG_IsOK(ecode4)) {
22641 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22642 }
22643 arg4 = static_cast< int >(val4);
22644 ecode5 = SWIG_AsVal_int(obj4, &val5);
22645 if (!SWIG_IsOK(ecode5)) {
22646 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22647 }
22648 arg5 = static_cast< int >(val5);
22649 if (obj5) {
22650 ecode6 = SWIG_AsVal_int(obj5, &val6);
22651 if (!SWIG_IsOK(ecode6)) {
22652 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22653 }
22654 arg6 = static_cast< int >(val6);
22655 }
22656 {
22657 PyThreadState* __tstate = wxPyBeginAllowThreads();
22658 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22659 wxPyEndAllowThreads(__tstate);
22660 if (PyErr_Occurred()) SWIG_fail;
22661 }
22662 resultobj = SWIG_Py_Void();
22663 return resultobj;
22664 fail:
22665 return NULL;
22666 }
22667
22668
22669 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22670 PyObject *resultobj = 0;
22671 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22672 int arg2 ;
22673 int arg3 ;
22674 void *argp1 = 0 ;
22675 int res1 = 0 ;
22676 int val2 ;
22677 int ecode2 = 0 ;
22678 int val3 ;
22679 int ecode3 = 0 ;
22680 PyObject * obj0 = 0 ;
22681 PyObject * obj1 = 0 ;
22682 PyObject * obj2 = 0 ;
22683 char * kwnames[] = {
22684 (char *) "self",(char *) "width",(char *) "height", NULL
22685 };
22686
22687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22689 if (!SWIG_IsOK(res1)) {
22690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22691 }
22692 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22693 ecode2 = SWIG_AsVal_int(obj1, &val2);
22694 if (!SWIG_IsOK(ecode2)) {
22695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22696 }
22697 arg2 = static_cast< int >(val2);
22698 ecode3 = SWIG_AsVal_int(obj2, &val3);
22699 if (!SWIG_IsOK(ecode3)) {
22700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22701 }
22702 arg3 = static_cast< int >(val3);
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 (arg1)->DoSetClientSize(arg2,arg3);
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 resultobj = SWIG_Py_Void();
22710 return resultobj;
22711 fail:
22712 return NULL;
22713 }
22714
22715
22716 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22717 PyObject *resultobj = 0;
22718 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22719 int arg2 ;
22720 int arg3 ;
22721 void *argp1 = 0 ;
22722 int res1 = 0 ;
22723 int val2 ;
22724 int ecode2 = 0 ;
22725 int val3 ;
22726 int ecode3 = 0 ;
22727 PyObject * obj0 = 0 ;
22728 PyObject * obj1 = 0 ;
22729 PyObject * obj2 = 0 ;
22730 char * kwnames[] = {
22731 (char *) "self",(char *) "x",(char *) "y", NULL
22732 };
22733
22734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22736 if (!SWIG_IsOK(res1)) {
22737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22738 }
22739 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22740 ecode2 = SWIG_AsVal_int(obj1, &val2);
22741 if (!SWIG_IsOK(ecode2)) {
22742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22743 }
22744 arg2 = static_cast< int >(val2);
22745 ecode3 = SWIG_AsVal_int(obj2, &val3);
22746 if (!SWIG_IsOK(ecode3)) {
22747 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22748 }
22749 arg3 = static_cast< int >(val3);
22750 {
22751 PyThreadState* __tstate = wxPyBeginAllowThreads();
22752 (arg1)->DoSetVirtualSize(arg2,arg3);
22753 wxPyEndAllowThreads(__tstate);
22754 if (PyErr_Occurred()) SWIG_fail;
22755 }
22756 resultobj = SWIG_Py_Void();
22757 return resultobj;
22758 fail:
22759 return NULL;
22760 }
22761
22762
22763 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22764 PyObject *resultobj = 0;
22765 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22766 int *arg2 = (int *) 0 ;
22767 int *arg3 = (int *) 0 ;
22768 void *argp1 = 0 ;
22769 int res1 = 0 ;
22770 int temp2 ;
22771 int res2 = SWIG_TMPOBJ ;
22772 int temp3 ;
22773 int res3 = SWIG_TMPOBJ ;
22774 PyObject *swig_obj[1] ;
22775
22776 arg2 = &temp2;
22777 arg3 = &temp3;
22778 if (!args) SWIG_fail;
22779 swig_obj[0] = args;
22780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22781 if (!SWIG_IsOK(res1)) {
22782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22783 }
22784 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22785 {
22786 PyThreadState* __tstate = wxPyBeginAllowThreads();
22787 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
22788 wxPyEndAllowThreads(__tstate);
22789 if (PyErr_Occurred()) SWIG_fail;
22790 }
22791 resultobj = SWIG_Py_Void();
22792 if (SWIG_IsTmpObj(res2)) {
22793 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22794 } else {
22795 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22796 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22797 }
22798 if (SWIG_IsTmpObj(res3)) {
22799 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22800 } else {
22801 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22802 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22803 }
22804 return resultobj;
22805 fail:
22806 return NULL;
22807 }
22808
22809
22810 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22811 PyObject *resultobj = 0;
22812 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22813 int *arg2 = (int *) 0 ;
22814 int *arg3 = (int *) 0 ;
22815 void *argp1 = 0 ;
22816 int res1 = 0 ;
22817 int temp2 ;
22818 int res2 = SWIG_TMPOBJ ;
22819 int temp3 ;
22820 int res3 = SWIG_TMPOBJ ;
22821 PyObject *swig_obj[1] ;
22822
22823 arg2 = &temp2;
22824 arg3 = &temp3;
22825 if (!args) SWIG_fail;
22826 swig_obj[0] = args;
22827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22828 if (!SWIG_IsOK(res1)) {
22829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22830 }
22831 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22832 {
22833 PyThreadState* __tstate = wxPyBeginAllowThreads();
22834 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 resultobj = SWIG_Py_Void();
22839 if (SWIG_IsTmpObj(res2)) {
22840 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22841 } else {
22842 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22844 }
22845 if (SWIG_IsTmpObj(res3)) {
22846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22847 } else {
22848 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22850 }
22851 return resultobj;
22852 fail:
22853 return NULL;
22854 }
22855
22856
22857 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22858 PyObject *resultobj = 0;
22859 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22860 int *arg2 = (int *) 0 ;
22861 int *arg3 = (int *) 0 ;
22862 void *argp1 = 0 ;
22863 int res1 = 0 ;
22864 int temp2 ;
22865 int res2 = SWIG_TMPOBJ ;
22866 int temp3 ;
22867 int res3 = SWIG_TMPOBJ ;
22868 PyObject *swig_obj[1] ;
22869
22870 arg2 = &temp2;
22871 arg3 = &temp3;
22872 if (!args) SWIG_fail;
22873 swig_obj[0] = args;
22874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22875 if (!SWIG_IsOK(res1)) {
22876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22877 }
22878 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22879 {
22880 PyThreadState* __tstate = wxPyBeginAllowThreads();
22881 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
22882 wxPyEndAllowThreads(__tstate);
22883 if (PyErr_Occurred()) SWIG_fail;
22884 }
22885 resultobj = SWIG_Py_Void();
22886 if (SWIG_IsTmpObj(res2)) {
22887 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22888 } else {
22889 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22890 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22891 }
22892 if (SWIG_IsTmpObj(res3)) {
22893 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22894 } else {
22895 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22896 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22897 }
22898 return resultobj;
22899 fail:
22900 return NULL;
22901 }
22902
22903
22904 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22905 PyObject *resultobj = 0;
22906 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22907 wxSize result;
22908 void *argp1 = 0 ;
22909 int res1 = 0 ;
22910 PyObject *swig_obj[1] ;
22911
22912 if (!args) SWIG_fail;
22913 swig_obj[0] = args;
22914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22915 if (!SWIG_IsOK(res1)) {
22916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22917 }
22918 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22919 {
22920 PyThreadState* __tstate = wxPyBeginAllowThreads();
22921 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
22922 wxPyEndAllowThreads(__tstate);
22923 if (PyErr_Occurred()) SWIG_fail;
22924 }
22925 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22926 return resultobj;
22927 fail:
22928 return NULL;
22929 }
22930
22931
22932 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22933 PyObject *resultobj = 0;
22934 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22935 wxSize result;
22936 void *argp1 = 0 ;
22937 int res1 = 0 ;
22938 PyObject *swig_obj[1] ;
22939
22940 if (!args) SWIG_fail;
22941 swig_obj[0] = args;
22942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22943 if (!SWIG_IsOK(res1)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22945 }
22946 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22947 {
22948 PyThreadState* __tstate = wxPyBeginAllowThreads();
22949 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
22950 wxPyEndAllowThreads(__tstate);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
22953 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22954 return resultobj;
22955 fail:
22956 return NULL;
22957 }
22958
22959
22960 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22961 PyObject *resultobj = 0;
22962 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22963 SwigValueWrapper<wxVisualAttributes > result;
22964 void *argp1 = 0 ;
22965 int res1 = 0 ;
22966 PyObject *swig_obj[1] ;
22967
22968 if (!args) SWIG_fail;
22969 swig_obj[0] = args;
22970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22971 if (!SWIG_IsOK(res1)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22973 }
22974 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22975 {
22976 PyThreadState* __tstate = wxPyBeginAllowThreads();
22977 result = (arg1)->GetDefaultAttributes();
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22982 return resultobj;
22983 fail:
22984 return NULL;
22985 }
22986
22987
22988 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22989 PyObject *resultobj = 0;
22990 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22991 void *argp1 = 0 ;
22992 int res1 = 0 ;
22993 PyObject *swig_obj[1] ;
22994
22995 if (!args) SWIG_fail;
22996 swig_obj[0] = args;
22997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22998 if (!SWIG_IsOK(res1)) {
22999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23000 }
23001 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23002 {
23003 PyThreadState* __tstate = wxPyBeginAllowThreads();
23004 (arg1)->OnInternalIdle();
23005 wxPyEndAllowThreads(__tstate);
23006 if (PyErr_Occurred()) SWIG_fail;
23007 }
23008 resultobj = SWIG_Py_Void();
23009 return resultobj;
23010 fail:
23011 return NULL;
23012 }
23013
23014
23015 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23016 PyObject *obj;
23017 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23018 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23019 return SWIG_Py_Void();
23020 }
23021
23022 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23023 return SWIG_Python_InitShadowInstance(args);
23024 }
23025
23026 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23027 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23028 return 1;
23029 }
23030
23031
23032 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23033 PyObject *pyobj = 0;
23034
23035 {
23036 #if wxUSE_UNICODE
23037 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23038 #else
23039 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23040 #endif
23041 }
23042 return pyobj;
23043 }
23044
23045
23046 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23047 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23048 return 1;
23049 }
23050
23051
23052 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23053 PyObject *pyobj = 0;
23054
23055 {
23056 #if wxUSE_UNICODE
23057 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23058 #else
23059 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23060 #endif
23061 }
23062 return pyobj;
23063 }
23064
23065
23066 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23067 PyObject *resultobj = 0;
23068 wxPrintData *result = 0 ;
23069
23070 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23071 {
23072 PyThreadState* __tstate = wxPyBeginAllowThreads();
23073 result = (wxPrintData *)new wxPrintData();
23074 wxPyEndAllowThreads(__tstate);
23075 if (PyErr_Occurred()) SWIG_fail;
23076 }
23077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23078 return resultobj;
23079 fail:
23080 return NULL;
23081 }
23082
23083
23084 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23085 PyObject *resultobj = 0;
23086 wxPrintData *arg1 = 0 ;
23087 wxPrintData *result = 0 ;
23088 void *argp1 = 0 ;
23089 int res1 = 0 ;
23090
23091 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23093 if (!SWIG_IsOK(res1)) {
23094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23095 }
23096 if (!argp1) {
23097 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23098 }
23099 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23100 {
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
23106 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23107 return resultobj;
23108 fail:
23109 return NULL;
23110 }
23111
23112
23113 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23114 int argc;
23115 PyObject *argv[2];
23116
23117 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23118 --argc;
23119 if (argc == 0) {
23120 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23121 }
23122 if (argc == 1) {
23123 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23124 }
23125
23126 fail:
23127 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23128 return NULL;
23129 }
23130
23131
23132 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23133 PyObject *resultobj = 0;
23134 wxPrintData *arg1 = (wxPrintData *) 0 ;
23135 void *argp1 = 0 ;
23136 int res1 = 0 ;
23137 PyObject *swig_obj[1] ;
23138
23139 if (!args) SWIG_fail;
23140 swig_obj[0] = args;
23141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23142 if (!SWIG_IsOK(res1)) {
23143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23144 }
23145 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23146 {
23147 PyThreadState* __tstate = wxPyBeginAllowThreads();
23148 delete arg1;
23149
23150 wxPyEndAllowThreads(__tstate);
23151 if (PyErr_Occurred()) SWIG_fail;
23152 }
23153 resultobj = SWIG_Py_Void();
23154 return resultobj;
23155 fail:
23156 return NULL;
23157 }
23158
23159
23160 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23161 PyObject *resultobj = 0;
23162 wxPrintData *arg1 = (wxPrintData *) 0 ;
23163 int result;
23164 void *argp1 = 0 ;
23165 int res1 = 0 ;
23166 PyObject *swig_obj[1] ;
23167
23168 if (!args) SWIG_fail;
23169 swig_obj[0] = args;
23170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23171 if (!SWIG_IsOK(res1)) {
23172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23173 }
23174 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23175 {
23176 PyThreadState* __tstate = wxPyBeginAllowThreads();
23177 result = (int)(arg1)->GetNoCopies();
23178 wxPyEndAllowThreads(__tstate);
23179 if (PyErr_Occurred()) SWIG_fail;
23180 }
23181 resultobj = SWIG_From_int(static_cast< int >(result));
23182 return resultobj;
23183 fail:
23184 return NULL;
23185 }
23186
23187
23188 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23189 PyObject *resultobj = 0;
23190 wxPrintData *arg1 = (wxPrintData *) 0 ;
23191 bool result;
23192 void *argp1 = 0 ;
23193 int res1 = 0 ;
23194 PyObject *swig_obj[1] ;
23195
23196 if (!args) SWIG_fail;
23197 swig_obj[0] = args;
23198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23199 if (!SWIG_IsOK(res1)) {
23200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23201 }
23202 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23203 {
23204 PyThreadState* __tstate = wxPyBeginAllowThreads();
23205 result = (bool)(arg1)->GetCollate();
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 {
23210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23211 }
23212 return resultobj;
23213 fail:
23214 return NULL;
23215 }
23216
23217
23218 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23219 PyObject *resultobj = 0;
23220 wxPrintData *arg1 = (wxPrintData *) 0 ;
23221 int result;
23222 void *argp1 = 0 ;
23223 int res1 = 0 ;
23224 PyObject *swig_obj[1] ;
23225
23226 if (!args) SWIG_fail;
23227 swig_obj[0] = args;
23228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23229 if (!SWIG_IsOK(res1)) {
23230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23231 }
23232 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23233 {
23234 PyThreadState* __tstate = wxPyBeginAllowThreads();
23235 result = (int)(arg1)->GetOrientation();
23236 wxPyEndAllowThreads(__tstate);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 }
23239 resultobj = SWIG_From_int(static_cast< int >(result));
23240 return resultobj;
23241 fail:
23242 return NULL;
23243 }
23244
23245
23246 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23247 PyObject *resultobj = 0;
23248 wxPrintData *arg1 = (wxPrintData *) 0 ;
23249 bool result;
23250 void *argp1 = 0 ;
23251 int res1 = 0 ;
23252 PyObject *swig_obj[1] ;
23253
23254 if (!args) SWIG_fail;
23255 swig_obj[0] = args;
23256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23257 if (!SWIG_IsOK(res1)) {
23258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23259 }
23260 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23261 {
23262 PyThreadState* __tstate = wxPyBeginAllowThreads();
23263 result = (bool)(arg1)->Ok();
23264 wxPyEndAllowThreads(__tstate);
23265 if (PyErr_Occurred()) SWIG_fail;
23266 }
23267 {
23268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23269 }
23270 return resultobj;
23271 fail:
23272 return NULL;
23273 }
23274
23275
23276 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23277 PyObject *resultobj = 0;
23278 wxPrintData *arg1 = (wxPrintData *) 0 ;
23279 wxString *result = 0 ;
23280 void *argp1 = 0 ;
23281 int res1 = 0 ;
23282 PyObject *swig_obj[1] ;
23283
23284 if (!args) SWIG_fail;
23285 swig_obj[0] = args;
23286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23287 if (!SWIG_IsOK(res1)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23289 }
23290 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23291 {
23292 PyThreadState* __tstate = wxPyBeginAllowThreads();
23293 {
23294 wxString const &_result_ref = (arg1)->GetPrinterName();
23295 result = (wxString *) &_result_ref;
23296 }
23297 wxPyEndAllowThreads(__tstate);
23298 if (PyErr_Occurred()) SWIG_fail;
23299 }
23300 {
23301 #if wxUSE_UNICODE
23302 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23303 #else
23304 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23305 #endif
23306 }
23307 return resultobj;
23308 fail:
23309 return NULL;
23310 }
23311
23312
23313 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23314 PyObject *resultobj = 0;
23315 wxPrintData *arg1 = (wxPrintData *) 0 ;
23316 bool result;
23317 void *argp1 = 0 ;
23318 int res1 = 0 ;
23319 PyObject *swig_obj[1] ;
23320
23321 if (!args) SWIG_fail;
23322 swig_obj[0] = args;
23323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23324 if (!SWIG_IsOK(res1)) {
23325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23326 }
23327 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23328 {
23329 PyThreadState* __tstate = wxPyBeginAllowThreads();
23330 result = (bool)(arg1)->GetColour();
23331 wxPyEndAllowThreads(__tstate);
23332 if (PyErr_Occurred()) SWIG_fail;
23333 }
23334 {
23335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23336 }
23337 return resultobj;
23338 fail:
23339 return NULL;
23340 }
23341
23342
23343 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23344 PyObject *resultobj = 0;
23345 wxPrintData *arg1 = (wxPrintData *) 0 ;
23346 wxDuplexMode result;
23347 void *argp1 = 0 ;
23348 int res1 = 0 ;
23349 PyObject *swig_obj[1] ;
23350
23351 if (!args) SWIG_fail;
23352 swig_obj[0] = args;
23353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23354 if (!SWIG_IsOK(res1)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23356 }
23357 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23358 {
23359 PyThreadState* __tstate = wxPyBeginAllowThreads();
23360 result = (wxDuplexMode)(arg1)->GetDuplex();
23361 wxPyEndAllowThreads(__tstate);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 }
23364 resultobj = SWIG_From_int(static_cast< int >(result));
23365 return resultobj;
23366 fail:
23367 return NULL;
23368 }
23369
23370
23371 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23372 PyObject *resultobj = 0;
23373 wxPrintData *arg1 = (wxPrintData *) 0 ;
23374 wxPaperSize result;
23375 void *argp1 = 0 ;
23376 int res1 = 0 ;
23377 PyObject *swig_obj[1] ;
23378
23379 if (!args) SWIG_fail;
23380 swig_obj[0] = args;
23381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23382 if (!SWIG_IsOK(res1)) {
23383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23384 }
23385 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23386 {
23387 PyThreadState* __tstate = wxPyBeginAllowThreads();
23388 result = (wxPaperSize)(arg1)->GetPaperId();
23389 wxPyEndAllowThreads(__tstate);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 }
23392 resultobj = SWIG_From_int(static_cast< int >(result));
23393 return resultobj;
23394 fail:
23395 return NULL;
23396 }
23397
23398
23399 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23400 PyObject *resultobj = 0;
23401 wxPrintData *arg1 = (wxPrintData *) 0 ;
23402 wxSize *result = 0 ;
23403 void *argp1 = 0 ;
23404 int res1 = 0 ;
23405 PyObject *swig_obj[1] ;
23406
23407 if (!args) SWIG_fail;
23408 swig_obj[0] = args;
23409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23410 if (!SWIG_IsOK(res1)) {
23411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23412 }
23413 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23414 {
23415 PyThreadState* __tstate = wxPyBeginAllowThreads();
23416 {
23417 wxSize const &_result_ref = (arg1)->GetPaperSize();
23418 result = (wxSize *) &_result_ref;
23419 }
23420 wxPyEndAllowThreads(__tstate);
23421 if (PyErr_Occurred()) SWIG_fail;
23422 }
23423 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23424 return resultobj;
23425 fail:
23426 return NULL;
23427 }
23428
23429
23430 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23431 PyObject *resultobj = 0;
23432 wxPrintData *arg1 = (wxPrintData *) 0 ;
23433 int result;
23434 void *argp1 = 0 ;
23435 int res1 = 0 ;
23436 PyObject *swig_obj[1] ;
23437
23438 if (!args) SWIG_fail;
23439 swig_obj[0] = args;
23440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23441 if (!SWIG_IsOK(res1)) {
23442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23443 }
23444 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23445 {
23446 PyThreadState* __tstate = wxPyBeginAllowThreads();
23447 result = (int)(arg1)->GetQuality();
23448 wxPyEndAllowThreads(__tstate);
23449 if (PyErr_Occurred()) SWIG_fail;
23450 }
23451 resultobj = SWIG_From_int(static_cast< int >(result));
23452 return resultobj;
23453 fail:
23454 return NULL;
23455 }
23456
23457
23458 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23459 PyObject *resultobj = 0;
23460 wxPrintData *arg1 = (wxPrintData *) 0 ;
23461 wxPrintBin result;
23462 void *argp1 = 0 ;
23463 int res1 = 0 ;
23464 PyObject *swig_obj[1] ;
23465
23466 if (!args) SWIG_fail;
23467 swig_obj[0] = args;
23468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23469 if (!SWIG_IsOK(res1)) {
23470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23471 }
23472 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23473 {
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 result = (wxPrintBin)(arg1)->GetBin();
23476 wxPyEndAllowThreads(__tstate);
23477 if (PyErr_Occurred()) SWIG_fail;
23478 }
23479 resultobj = SWIG_From_int(static_cast< int >(result));
23480 return resultobj;
23481 fail:
23482 return NULL;
23483 }
23484
23485
23486 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23487 PyObject *resultobj = 0;
23488 wxPrintData *arg1 = (wxPrintData *) 0 ;
23489 wxPrintMode result;
23490 void *argp1 = 0 ;
23491 int res1 = 0 ;
23492 PyObject *swig_obj[1] ;
23493
23494 if (!args) SWIG_fail;
23495 swig_obj[0] = args;
23496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23497 if (!SWIG_IsOK(res1)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23499 }
23500 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23504 wxPyEndAllowThreads(__tstate);
23505 if (PyErr_Occurred()) SWIG_fail;
23506 }
23507 resultobj = SWIG_From_int(static_cast< int >(result));
23508 return resultobj;
23509 fail:
23510 return NULL;
23511 }
23512
23513
23514 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23515 PyObject *resultobj = 0;
23516 wxPrintData *arg1 = (wxPrintData *) 0 ;
23517 int arg2 ;
23518 void *argp1 = 0 ;
23519 int res1 = 0 ;
23520 int val2 ;
23521 int ecode2 = 0 ;
23522 PyObject * obj0 = 0 ;
23523 PyObject * obj1 = 0 ;
23524 char * kwnames[] = {
23525 (char *) "self",(char *) "v", NULL
23526 };
23527
23528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23530 if (!SWIG_IsOK(res1)) {
23531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23532 }
23533 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23534 ecode2 = SWIG_AsVal_int(obj1, &val2);
23535 if (!SWIG_IsOK(ecode2)) {
23536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23537 }
23538 arg2 = static_cast< int >(val2);
23539 {
23540 PyThreadState* __tstate = wxPyBeginAllowThreads();
23541 (arg1)->SetNoCopies(arg2);
23542 wxPyEndAllowThreads(__tstate);
23543 if (PyErr_Occurred()) SWIG_fail;
23544 }
23545 resultobj = SWIG_Py_Void();
23546 return resultobj;
23547 fail:
23548 return NULL;
23549 }
23550
23551
23552 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23553 PyObject *resultobj = 0;
23554 wxPrintData *arg1 = (wxPrintData *) 0 ;
23555 bool arg2 ;
23556 void *argp1 = 0 ;
23557 int res1 = 0 ;
23558 bool val2 ;
23559 int ecode2 = 0 ;
23560 PyObject * obj0 = 0 ;
23561 PyObject * obj1 = 0 ;
23562 char * kwnames[] = {
23563 (char *) "self",(char *) "flag", NULL
23564 };
23565
23566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23568 if (!SWIG_IsOK(res1)) {
23569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23570 }
23571 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23572 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23573 if (!SWIG_IsOK(ecode2)) {
23574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23575 }
23576 arg2 = static_cast< bool >(val2);
23577 {
23578 PyThreadState* __tstate = wxPyBeginAllowThreads();
23579 (arg1)->SetCollate(arg2);
23580 wxPyEndAllowThreads(__tstate);
23581 if (PyErr_Occurred()) SWIG_fail;
23582 }
23583 resultobj = SWIG_Py_Void();
23584 return resultobj;
23585 fail:
23586 return NULL;
23587 }
23588
23589
23590 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23591 PyObject *resultobj = 0;
23592 wxPrintData *arg1 = (wxPrintData *) 0 ;
23593 int arg2 ;
23594 void *argp1 = 0 ;
23595 int res1 = 0 ;
23596 int val2 ;
23597 int ecode2 = 0 ;
23598 PyObject * obj0 = 0 ;
23599 PyObject * obj1 = 0 ;
23600 char * kwnames[] = {
23601 (char *) "self",(char *) "orient", NULL
23602 };
23603
23604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23606 if (!SWIG_IsOK(res1)) {
23607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23608 }
23609 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23610 ecode2 = SWIG_AsVal_int(obj1, &val2);
23611 if (!SWIG_IsOK(ecode2)) {
23612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23613 }
23614 arg2 = static_cast< int >(val2);
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 (arg1)->SetOrientation(arg2);
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 resultobj = SWIG_Py_Void();
23622 return resultobj;
23623 fail:
23624 return NULL;
23625 }
23626
23627
23628 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23629 PyObject *resultobj = 0;
23630 wxPrintData *arg1 = (wxPrintData *) 0 ;
23631 wxString *arg2 = 0 ;
23632 void *argp1 = 0 ;
23633 int res1 = 0 ;
23634 bool temp2 = false ;
23635 PyObject * obj0 = 0 ;
23636 PyObject * obj1 = 0 ;
23637 char * kwnames[] = {
23638 (char *) "self",(char *) "name", NULL
23639 };
23640
23641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23643 if (!SWIG_IsOK(res1)) {
23644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23645 }
23646 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23647 {
23648 arg2 = wxString_in_helper(obj1);
23649 if (arg2 == NULL) SWIG_fail;
23650 temp2 = true;
23651 }
23652 {
23653 PyThreadState* __tstate = wxPyBeginAllowThreads();
23654 (arg1)->SetPrinterName((wxString const &)*arg2);
23655 wxPyEndAllowThreads(__tstate);
23656 if (PyErr_Occurred()) SWIG_fail;
23657 }
23658 resultobj = SWIG_Py_Void();
23659 {
23660 if (temp2)
23661 delete arg2;
23662 }
23663 return resultobj;
23664 fail:
23665 {
23666 if (temp2)
23667 delete arg2;
23668 }
23669 return NULL;
23670 }
23671
23672
23673 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23674 PyObject *resultobj = 0;
23675 wxPrintData *arg1 = (wxPrintData *) 0 ;
23676 bool arg2 ;
23677 void *argp1 = 0 ;
23678 int res1 = 0 ;
23679 bool val2 ;
23680 int ecode2 = 0 ;
23681 PyObject * obj0 = 0 ;
23682 PyObject * obj1 = 0 ;
23683 char * kwnames[] = {
23684 (char *) "self",(char *) "colour", NULL
23685 };
23686
23687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23689 if (!SWIG_IsOK(res1)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23691 }
23692 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23693 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23694 if (!SWIG_IsOK(ecode2)) {
23695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23696 }
23697 arg2 = static_cast< bool >(val2);
23698 {
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 (arg1)->SetColour(arg2);
23701 wxPyEndAllowThreads(__tstate);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 resultobj = SWIG_Py_Void();
23705 return resultobj;
23706 fail:
23707 return NULL;
23708 }
23709
23710
23711 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23712 PyObject *resultobj = 0;
23713 wxPrintData *arg1 = (wxPrintData *) 0 ;
23714 wxDuplexMode arg2 ;
23715 void *argp1 = 0 ;
23716 int res1 = 0 ;
23717 int val2 ;
23718 int ecode2 = 0 ;
23719 PyObject * obj0 = 0 ;
23720 PyObject * obj1 = 0 ;
23721 char * kwnames[] = {
23722 (char *) "self",(char *) "duplex", NULL
23723 };
23724
23725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23727 if (!SWIG_IsOK(res1)) {
23728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23729 }
23730 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23731 ecode2 = SWIG_AsVal_int(obj1, &val2);
23732 if (!SWIG_IsOK(ecode2)) {
23733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23734 }
23735 arg2 = static_cast< wxDuplexMode >(val2);
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 (arg1)->SetDuplex(arg2);
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 resultobj = SWIG_Py_Void();
23743 return resultobj;
23744 fail:
23745 return NULL;
23746 }
23747
23748
23749 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23750 PyObject *resultobj = 0;
23751 wxPrintData *arg1 = (wxPrintData *) 0 ;
23752 wxPaperSize arg2 ;
23753 void *argp1 = 0 ;
23754 int res1 = 0 ;
23755 int val2 ;
23756 int ecode2 = 0 ;
23757 PyObject * obj0 = 0 ;
23758 PyObject * obj1 = 0 ;
23759 char * kwnames[] = {
23760 (char *) "self",(char *) "sizeId", NULL
23761 };
23762
23763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23765 if (!SWIG_IsOK(res1)) {
23766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23767 }
23768 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23769 ecode2 = SWIG_AsVal_int(obj1, &val2);
23770 if (!SWIG_IsOK(ecode2)) {
23771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23772 }
23773 arg2 = static_cast< wxPaperSize >(val2);
23774 {
23775 PyThreadState* __tstate = wxPyBeginAllowThreads();
23776 (arg1)->SetPaperId(arg2);
23777 wxPyEndAllowThreads(__tstate);
23778 if (PyErr_Occurred()) SWIG_fail;
23779 }
23780 resultobj = SWIG_Py_Void();
23781 return resultobj;
23782 fail:
23783 return NULL;
23784 }
23785
23786
23787 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23788 PyObject *resultobj = 0;
23789 wxPrintData *arg1 = (wxPrintData *) 0 ;
23790 wxSize *arg2 = 0 ;
23791 void *argp1 = 0 ;
23792 int res1 = 0 ;
23793 wxSize temp2 ;
23794 PyObject * obj0 = 0 ;
23795 PyObject * obj1 = 0 ;
23796 char * kwnames[] = {
23797 (char *) "self",(char *) "sz", NULL
23798 };
23799
23800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
23801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23802 if (!SWIG_IsOK(res1)) {
23803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23804 }
23805 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23806 {
23807 arg2 = &temp2;
23808 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23809 }
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 (arg1)->SetPaperSize((wxSize const &)*arg2);
23813 wxPyEndAllowThreads(__tstate);
23814 if (PyErr_Occurred()) SWIG_fail;
23815 }
23816 resultobj = SWIG_Py_Void();
23817 return resultobj;
23818 fail:
23819 return NULL;
23820 }
23821
23822
23823 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23824 PyObject *resultobj = 0;
23825 wxPrintData *arg1 = (wxPrintData *) 0 ;
23826 int arg2 ;
23827 void *argp1 = 0 ;
23828 int res1 = 0 ;
23829 int val2 ;
23830 int ecode2 = 0 ;
23831 PyObject * obj0 = 0 ;
23832 PyObject * obj1 = 0 ;
23833 char * kwnames[] = {
23834 (char *) "self",(char *) "quality", NULL
23835 };
23836
23837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
23838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23839 if (!SWIG_IsOK(res1)) {
23840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23841 }
23842 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23843 ecode2 = SWIG_AsVal_int(obj1, &val2);
23844 if (!SWIG_IsOK(ecode2)) {
23845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23846 }
23847 arg2 = static_cast< int >(val2);
23848 {
23849 PyThreadState* __tstate = wxPyBeginAllowThreads();
23850 (arg1)->SetQuality(arg2);
23851 wxPyEndAllowThreads(__tstate);
23852 if (PyErr_Occurred()) SWIG_fail;
23853 }
23854 resultobj = SWIG_Py_Void();
23855 return resultobj;
23856 fail:
23857 return NULL;
23858 }
23859
23860
23861 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23862 PyObject *resultobj = 0;
23863 wxPrintData *arg1 = (wxPrintData *) 0 ;
23864 wxPrintBin arg2 ;
23865 void *argp1 = 0 ;
23866 int res1 = 0 ;
23867 int val2 ;
23868 int ecode2 = 0 ;
23869 PyObject * obj0 = 0 ;
23870 PyObject * obj1 = 0 ;
23871 char * kwnames[] = {
23872 (char *) "self",(char *) "bin", NULL
23873 };
23874
23875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
23876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23877 if (!SWIG_IsOK(res1)) {
23878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23879 }
23880 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23881 ecode2 = SWIG_AsVal_int(obj1, &val2);
23882 if (!SWIG_IsOK(ecode2)) {
23883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
23884 }
23885 arg2 = static_cast< wxPrintBin >(val2);
23886 {
23887 PyThreadState* __tstate = wxPyBeginAllowThreads();
23888 (arg1)->SetBin(arg2);
23889 wxPyEndAllowThreads(__tstate);
23890 if (PyErr_Occurred()) SWIG_fail;
23891 }
23892 resultobj = SWIG_Py_Void();
23893 return resultobj;
23894 fail:
23895 return NULL;
23896 }
23897
23898
23899 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23900 PyObject *resultobj = 0;
23901 wxPrintData *arg1 = (wxPrintData *) 0 ;
23902 wxPrintMode arg2 ;
23903 void *argp1 = 0 ;
23904 int res1 = 0 ;
23905 int val2 ;
23906 int ecode2 = 0 ;
23907 PyObject * obj0 = 0 ;
23908 PyObject * obj1 = 0 ;
23909 char * kwnames[] = {
23910 (char *) "self",(char *) "printMode", NULL
23911 };
23912
23913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
23914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23915 if (!SWIG_IsOK(res1)) {
23916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
23917 }
23918 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23919 ecode2 = SWIG_AsVal_int(obj1, &val2);
23920 if (!SWIG_IsOK(ecode2)) {
23921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
23922 }
23923 arg2 = static_cast< wxPrintMode >(val2);
23924 {
23925 PyThreadState* __tstate = wxPyBeginAllowThreads();
23926 (arg1)->SetPrintMode(arg2);
23927 wxPyEndAllowThreads(__tstate);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 resultobj = SWIG_Py_Void();
23931 return resultobj;
23932 fail:
23933 return NULL;
23934 }
23935
23936
23937 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23938 PyObject *resultobj = 0;
23939 wxPrintData *arg1 = (wxPrintData *) 0 ;
23940 wxString result;
23941 void *argp1 = 0 ;
23942 int res1 = 0 ;
23943 PyObject *swig_obj[1] ;
23944
23945 if (!args) SWIG_fail;
23946 swig_obj[0] = args;
23947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23948 if (!SWIG_IsOK(res1)) {
23949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23950 }
23951 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23952 {
23953 PyThreadState* __tstate = wxPyBeginAllowThreads();
23954 result = ((wxPrintData const *)arg1)->GetFilename();
23955 wxPyEndAllowThreads(__tstate);
23956 if (PyErr_Occurred()) SWIG_fail;
23957 }
23958 {
23959 #if wxUSE_UNICODE
23960 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23961 #else
23962 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23963 #endif
23964 }
23965 return resultobj;
23966 fail:
23967 return NULL;
23968 }
23969
23970
23971 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23972 PyObject *resultobj = 0;
23973 wxPrintData *arg1 = (wxPrintData *) 0 ;
23974 wxString *arg2 = 0 ;
23975 void *argp1 = 0 ;
23976 int res1 = 0 ;
23977 bool temp2 = false ;
23978 PyObject * obj0 = 0 ;
23979 PyObject * obj1 = 0 ;
23980 char * kwnames[] = {
23981 (char *) "self",(char *) "filename", NULL
23982 };
23983
23984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
23985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23986 if (!SWIG_IsOK(res1)) {
23987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
23988 }
23989 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23990 {
23991 arg2 = wxString_in_helper(obj1);
23992 if (arg2 == NULL) SWIG_fail;
23993 temp2 = true;
23994 }
23995 {
23996 PyThreadState* __tstate = wxPyBeginAllowThreads();
23997 (arg1)->SetFilename((wxString const &)*arg2);
23998 wxPyEndAllowThreads(__tstate);
23999 if (PyErr_Occurred()) SWIG_fail;
24000 }
24001 resultobj = SWIG_Py_Void();
24002 {
24003 if (temp2)
24004 delete arg2;
24005 }
24006 return resultobj;
24007 fail:
24008 {
24009 if (temp2)
24010 delete arg2;
24011 }
24012 return NULL;
24013 }
24014
24015
24016 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24017 PyObject *resultobj = 0;
24018 wxPrintData *arg1 = (wxPrintData *) 0 ;
24019 PyObject *result = 0 ;
24020 void *argp1 = 0 ;
24021 int res1 = 0 ;
24022 PyObject *swig_obj[1] ;
24023
24024 if (!args) SWIG_fail;
24025 swig_obj[0] = args;
24026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24027 if (!SWIG_IsOK(res1)) {
24028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24029 }
24030 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 resultobj = result;
24038 return resultobj;
24039 fail:
24040 return NULL;
24041 }
24042
24043
24044 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24045 PyObject *resultobj = 0;
24046 wxPrintData *arg1 = (wxPrintData *) 0 ;
24047 PyObject *arg2 = (PyObject *) 0 ;
24048 void *argp1 = 0 ;
24049 int res1 = 0 ;
24050 PyObject * obj0 = 0 ;
24051 PyObject * obj1 = 0 ;
24052 char * kwnames[] = {
24053 (char *) "self",(char *) "data", NULL
24054 };
24055
24056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24058 if (!SWIG_IsOK(res1)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24060 }
24061 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24062 arg2 = obj1;
24063 {
24064 PyThreadState* __tstate = wxPyBeginAllowThreads();
24065 wxPrintData_SetPrivData(arg1,arg2);
24066 wxPyEndAllowThreads(__tstate);
24067 if (PyErr_Occurred()) SWIG_fail;
24068 }
24069 resultobj = SWIG_Py_Void();
24070 return resultobj;
24071 fail:
24072 return NULL;
24073 }
24074
24075
24076 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24077 PyObject *obj;
24078 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24079 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24080 return SWIG_Py_Void();
24081 }
24082
24083 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24084 return SWIG_Python_InitShadowInstance(args);
24085 }
24086
24087 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24088 PyObject *resultobj = 0;
24089 wxPageSetupDialogData *result = 0 ;
24090
24091 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24095 wxPyEndAllowThreads(__tstate);
24096 if (PyErr_Occurred()) SWIG_fail;
24097 }
24098 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24099 return resultobj;
24100 fail:
24101 return NULL;
24102 }
24103
24104
24105 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24106 PyObject *resultobj = 0;
24107 wxPageSetupDialogData *arg1 = 0 ;
24108 wxPageSetupDialogData *result = 0 ;
24109 void *argp1 = 0 ;
24110 int res1 = 0 ;
24111
24112 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24114 if (!SWIG_IsOK(res1)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24116 }
24117 if (!argp1) {
24118 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24119 }
24120 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24121 {
24122 PyThreadState* __tstate = wxPyBeginAllowThreads();
24123 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24124 wxPyEndAllowThreads(__tstate);
24125 if (PyErr_Occurred()) SWIG_fail;
24126 }
24127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24128 return resultobj;
24129 fail:
24130 return NULL;
24131 }
24132
24133
24134 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24135 PyObject *resultobj = 0;
24136 wxPrintData *arg1 = 0 ;
24137 wxPageSetupDialogData *result = 0 ;
24138 void *argp1 = 0 ;
24139 int res1 = 0 ;
24140
24141 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24143 if (!SWIG_IsOK(res1)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24145 }
24146 if (!argp1) {
24147 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24148 }
24149 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24150 {
24151 PyThreadState* __tstate = wxPyBeginAllowThreads();
24152 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24153 wxPyEndAllowThreads(__tstate);
24154 if (PyErr_Occurred()) SWIG_fail;
24155 }
24156 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24157 return resultobj;
24158 fail:
24159 return NULL;
24160 }
24161
24162
24163 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24164 int argc;
24165 PyObject *argv[2];
24166
24167 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24168 --argc;
24169 if (argc == 0) {
24170 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24171 }
24172 if (argc == 1) {
24173 int _v = 0;
24174 {
24175 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24176 _v = SWIG_CheckState(res);
24177 }
24178 if (!_v) goto check_2;
24179 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24180 }
24181 check_2:
24182
24183 if (argc == 1) {
24184 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24185 }
24186
24187 fail:
24188 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24189 return NULL;
24190 }
24191
24192
24193 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24194 PyObject *resultobj = 0;
24195 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24196 void *argp1 = 0 ;
24197 int res1 = 0 ;
24198 PyObject *swig_obj[1] ;
24199
24200 if (!args) SWIG_fail;
24201 swig_obj[0] = args;
24202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24203 if (!SWIG_IsOK(res1)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24205 }
24206 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24207 {
24208 PyThreadState* __tstate = wxPyBeginAllowThreads();
24209 delete arg1;
24210
24211 wxPyEndAllowThreads(__tstate);
24212 if (PyErr_Occurred()) SWIG_fail;
24213 }
24214 resultobj = SWIG_Py_Void();
24215 return resultobj;
24216 fail:
24217 return NULL;
24218 }
24219
24220
24221 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24222 PyObject *resultobj = 0;
24223 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24224 bool arg2 ;
24225 void *argp1 = 0 ;
24226 int res1 = 0 ;
24227 bool val2 ;
24228 int ecode2 = 0 ;
24229 PyObject * obj0 = 0 ;
24230 PyObject * obj1 = 0 ;
24231 char * kwnames[] = {
24232 (char *) "self",(char *) "flag", NULL
24233 };
24234
24235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24237 if (!SWIG_IsOK(res1)) {
24238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24239 }
24240 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24241 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24242 if (!SWIG_IsOK(ecode2)) {
24243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24244 }
24245 arg2 = static_cast< bool >(val2);
24246 {
24247 PyThreadState* __tstate = wxPyBeginAllowThreads();
24248 (arg1)->EnableHelp(arg2);
24249 wxPyEndAllowThreads(__tstate);
24250 if (PyErr_Occurred()) SWIG_fail;
24251 }
24252 resultobj = SWIG_Py_Void();
24253 return resultobj;
24254 fail:
24255 return NULL;
24256 }
24257
24258
24259 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24260 PyObject *resultobj = 0;
24261 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24262 bool arg2 ;
24263 void *argp1 = 0 ;
24264 int res1 = 0 ;
24265 bool val2 ;
24266 int ecode2 = 0 ;
24267 PyObject * obj0 = 0 ;
24268 PyObject * obj1 = 0 ;
24269 char * kwnames[] = {
24270 (char *) "self",(char *) "flag", NULL
24271 };
24272
24273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24275 if (!SWIG_IsOK(res1)) {
24276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24277 }
24278 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24279 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24280 if (!SWIG_IsOK(ecode2)) {
24281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24282 }
24283 arg2 = static_cast< bool >(val2);
24284 {
24285 PyThreadState* __tstate = wxPyBeginAllowThreads();
24286 (arg1)->EnableMargins(arg2);
24287 wxPyEndAllowThreads(__tstate);
24288 if (PyErr_Occurred()) SWIG_fail;
24289 }
24290 resultobj = SWIG_Py_Void();
24291 return resultobj;
24292 fail:
24293 return NULL;
24294 }
24295
24296
24297 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24298 PyObject *resultobj = 0;
24299 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24300 bool arg2 ;
24301 void *argp1 = 0 ;
24302 int res1 = 0 ;
24303 bool val2 ;
24304 int ecode2 = 0 ;
24305 PyObject * obj0 = 0 ;
24306 PyObject * obj1 = 0 ;
24307 char * kwnames[] = {
24308 (char *) "self",(char *) "flag", NULL
24309 };
24310
24311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24313 if (!SWIG_IsOK(res1)) {
24314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24315 }
24316 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24317 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24318 if (!SWIG_IsOK(ecode2)) {
24319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24320 }
24321 arg2 = static_cast< bool >(val2);
24322 {
24323 PyThreadState* __tstate = wxPyBeginAllowThreads();
24324 (arg1)->EnableOrientation(arg2);
24325 wxPyEndAllowThreads(__tstate);
24326 if (PyErr_Occurred()) SWIG_fail;
24327 }
24328 resultobj = SWIG_Py_Void();
24329 return resultobj;
24330 fail:
24331 return NULL;
24332 }
24333
24334
24335 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24336 PyObject *resultobj = 0;
24337 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24338 bool arg2 ;
24339 void *argp1 = 0 ;
24340 int res1 = 0 ;
24341 bool val2 ;
24342 int ecode2 = 0 ;
24343 PyObject * obj0 = 0 ;
24344 PyObject * obj1 = 0 ;
24345 char * kwnames[] = {
24346 (char *) "self",(char *) "flag", NULL
24347 };
24348
24349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24351 if (!SWIG_IsOK(res1)) {
24352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24353 }
24354 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24355 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24356 if (!SWIG_IsOK(ecode2)) {
24357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24358 }
24359 arg2 = static_cast< bool >(val2);
24360 {
24361 PyThreadState* __tstate = wxPyBeginAllowThreads();
24362 (arg1)->EnablePaper(arg2);
24363 wxPyEndAllowThreads(__tstate);
24364 if (PyErr_Occurred()) SWIG_fail;
24365 }
24366 resultobj = SWIG_Py_Void();
24367 return resultobj;
24368 fail:
24369 return NULL;
24370 }
24371
24372
24373 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24374 PyObject *resultobj = 0;
24375 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24376 bool arg2 ;
24377 void *argp1 = 0 ;
24378 int res1 = 0 ;
24379 bool val2 ;
24380 int ecode2 = 0 ;
24381 PyObject * obj0 = 0 ;
24382 PyObject * obj1 = 0 ;
24383 char * kwnames[] = {
24384 (char *) "self",(char *) "flag", NULL
24385 };
24386
24387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24389 if (!SWIG_IsOK(res1)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24391 }
24392 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24393 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24394 if (!SWIG_IsOK(ecode2)) {
24395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24396 }
24397 arg2 = static_cast< bool >(val2);
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 (arg1)->EnablePrinter(arg2);
24401 wxPyEndAllowThreads(__tstate);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 resultobj = SWIG_Py_Void();
24405 return resultobj;
24406 fail:
24407 return NULL;
24408 }
24409
24410
24411 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24412 PyObject *resultobj = 0;
24413 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24414 bool result;
24415 void *argp1 = 0 ;
24416 int res1 = 0 ;
24417 PyObject *swig_obj[1] ;
24418
24419 if (!args) SWIG_fail;
24420 swig_obj[0] = args;
24421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24422 if (!SWIG_IsOK(res1)) {
24423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24424 }
24425 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24426 {
24427 PyThreadState* __tstate = wxPyBeginAllowThreads();
24428 result = (bool)(arg1)->GetDefaultMinMargins();
24429 wxPyEndAllowThreads(__tstate);
24430 if (PyErr_Occurred()) SWIG_fail;
24431 }
24432 {
24433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24434 }
24435 return resultobj;
24436 fail:
24437 return NULL;
24438 }
24439
24440
24441 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24442 PyObject *resultobj = 0;
24443 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24444 bool result;
24445 void *argp1 = 0 ;
24446 int res1 = 0 ;
24447 PyObject *swig_obj[1] ;
24448
24449 if (!args) SWIG_fail;
24450 swig_obj[0] = args;
24451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24452 if (!SWIG_IsOK(res1)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24454 }
24455 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24456 {
24457 PyThreadState* __tstate = wxPyBeginAllowThreads();
24458 result = (bool)(arg1)->GetEnableMargins();
24459 wxPyEndAllowThreads(__tstate);
24460 if (PyErr_Occurred()) SWIG_fail;
24461 }
24462 {
24463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24464 }
24465 return resultobj;
24466 fail:
24467 return NULL;
24468 }
24469
24470
24471 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24472 PyObject *resultobj = 0;
24473 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24474 bool result;
24475 void *argp1 = 0 ;
24476 int res1 = 0 ;
24477 PyObject *swig_obj[1] ;
24478
24479 if (!args) SWIG_fail;
24480 swig_obj[0] = args;
24481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24482 if (!SWIG_IsOK(res1)) {
24483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24484 }
24485 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24486 {
24487 PyThreadState* __tstate = wxPyBeginAllowThreads();
24488 result = (bool)(arg1)->GetEnableOrientation();
24489 wxPyEndAllowThreads(__tstate);
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
24492 {
24493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24494 }
24495 return resultobj;
24496 fail:
24497 return NULL;
24498 }
24499
24500
24501 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24502 PyObject *resultobj = 0;
24503 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24504 bool result;
24505 void *argp1 = 0 ;
24506 int res1 = 0 ;
24507 PyObject *swig_obj[1] ;
24508
24509 if (!args) SWIG_fail;
24510 swig_obj[0] = args;
24511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24512 if (!SWIG_IsOK(res1)) {
24513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24514 }
24515 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24516 {
24517 PyThreadState* __tstate = wxPyBeginAllowThreads();
24518 result = (bool)(arg1)->GetEnablePaper();
24519 wxPyEndAllowThreads(__tstate);
24520 if (PyErr_Occurred()) SWIG_fail;
24521 }
24522 {
24523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24524 }
24525 return resultobj;
24526 fail:
24527 return NULL;
24528 }
24529
24530
24531 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24532 PyObject *resultobj = 0;
24533 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24534 bool result;
24535 void *argp1 = 0 ;
24536 int res1 = 0 ;
24537 PyObject *swig_obj[1] ;
24538
24539 if (!args) SWIG_fail;
24540 swig_obj[0] = args;
24541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24542 if (!SWIG_IsOK(res1)) {
24543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24544 }
24545 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24546 {
24547 PyThreadState* __tstate = wxPyBeginAllowThreads();
24548 result = (bool)(arg1)->GetEnablePrinter();
24549 wxPyEndAllowThreads(__tstate);
24550 if (PyErr_Occurred()) SWIG_fail;
24551 }
24552 {
24553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24554 }
24555 return resultobj;
24556 fail:
24557 return NULL;
24558 }
24559
24560
24561 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24562 PyObject *resultobj = 0;
24563 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24564 bool result;
24565 void *argp1 = 0 ;
24566 int res1 = 0 ;
24567 PyObject *swig_obj[1] ;
24568
24569 if (!args) SWIG_fail;
24570 swig_obj[0] = args;
24571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24572 if (!SWIG_IsOK(res1)) {
24573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24574 }
24575 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24576 {
24577 PyThreadState* __tstate = wxPyBeginAllowThreads();
24578 result = (bool)(arg1)->GetEnableHelp();
24579 wxPyEndAllowThreads(__tstate);
24580 if (PyErr_Occurred()) SWIG_fail;
24581 }
24582 {
24583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24584 }
24585 return resultobj;
24586 fail:
24587 return NULL;
24588 }
24589
24590
24591 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24592 PyObject *resultobj = 0;
24593 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24594 bool result;
24595 void *argp1 = 0 ;
24596 int res1 = 0 ;
24597 PyObject *swig_obj[1] ;
24598
24599 if (!args) SWIG_fail;
24600 swig_obj[0] = args;
24601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24602 if (!SWIG_IsOK(res1)) {
24603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24604 }
24605 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24606 {
24607 PyThreadState* __tstate = wxPyBeginAllowThreads();
24608 result = (bool)(arg1)->GetDefaultInfo();
24609 wxPyEndAllowThreads(__tstate);
24610 if (PyErr_Occurred()) SWIG_fail;
24611 }
24612 {
24613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24614 }
24615 return resultobj;
24616 fail:
24617 return NULL;
24618 }
24619
24620
24621 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24622 PyObject *resultobj = 0;
24623 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24624 wxPoint result;
24625 void *argp1 = 0 ;
24626 int res1 = 0 ;
24627 PyObject *swig_obj[1] ;
24628
24629 if (!args) SWIG_fail;
24630 swig_obj[0] = args;
24631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24632 if (!SWIG_IsOK(res1)) {
24633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24634 }
24635 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24636 {
24637 PyThreadState* __tstate = wxPyBeginAllowThreads();
24638 result = (arg1)->GetMarginTopLeft();
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
24642 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24643 return resultobj;
24644 fail:
24645 return NULL;
24646 }
24647
24648
24649 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24650 PyObject *resultobj = 0;
24651 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24652 wxPoint result;
24653 void *argp1 = 0 ;
24654 int res1 = 0 ;
24655 PyObject *swig_obj[1] ;
24656
24657 if (!args) SWIG_fail;
24658 swig_obj[0] = args;
24659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24660 if (!SWIG_IsOK(res1)) {
24661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24662 }
24663 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24664 {
24665 PyThreadState* __tstate = wxPyBeginAllowThreads();
24666 result = (arg1)->GetMarginBottomRight();
24667 wxPyEndAllowThreads(__tstate);
24668 if (PyErr_Occurred()) SWIG_fail;
24669 }
24670 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24671 return resultobj;
24672 fail:
24673 return NULL;
24674 }
24675
24676
24677 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24678 PyObject *resultobj = 0;
24679 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24680 wxPoint result;
24681 void *argp1 = 0 ;
24682 int res1 = 0 ;
24683 PyObject *swig_obj[1] ;
24684
24685 if (!args) SWIG_fail;
24686 swig_obj[0] = args;
24687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24688 if (!SWIG_IsOK(res1)) {
24689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24690 }
24691 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24692 {
24693 PyThreadState* __tstate = wxPyBeginAllowThreads();
24694 result = (arg1)->GetMinMarginTopLeft();
24695 wxPyEndAllowThreads(__tstate);
24696 if (PyErr_Occurred()) SWIG_fail;
24697 }
24698 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24699 return resultobj;
24700 fail:
24701 return NULL;
24702 }
24703
24704
24705 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24706 PyObject *resultobj = 0;
24707 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24708 wxPoint result;
24709 void *argp1 = 0 ;
24710 int res1 = 0 ;
24711 PyObject *swig_obj[1] ;
24712
24713 if (!args) SWIG_fail;
24714 swig_obj[0] = args;
24715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24716 if (!SWIG_IsOK(res1)) {
24717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24718 }
24719 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24720 {
24721 PyThreadState* __tstate = wxPyBeginAllowThreads();
24722 result = (arg1)->GetMinMarginBottomRight();
24723 wxPyEndAllowThreads(__tstate);
24724 if (PyErr_Occurred()) SWIG_fail;
24725 }
24726 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24727 return resultobj;
24728 fail:
24729 return NULL;
24730 }
24731
24732
24733 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24734 PyObject *resultobj = 0;
24735 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24736 wxPaperSize result;
24737 void *argp1 = 0 ;
24738 int res1 = 0 ;
24739 PyObject *swig_obj[1] ;
24740
24741 if (!args) SWIG_fail;
24742 swig_obj[0] = args;
24743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24744 if (!SWIG_IsOK(res1)) {
24745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24746 }
24747 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24748 {
24749 PyThreadState* __tstate = wxPyBeginAllowThreads();
24750 result = (wxPaperSize)(arg1)->GetPaperId();
24751 wxPyEndAllowThreads(__tstate);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 resultobj = SWIG_From_int(static_cast< int >(result));
24755 return resultobj;
24756 fail:
24757 return NULL;
24758 }
24759
24760
24761 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24762 PyObject *resultobj = 0;
24763 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24764 wxSize result;
24765 void *argp1 = 0 ;
24766 int res1 = 0 ;
24767 PyObject *swig_obj[1] ;
24768
24769 if (!args) SWIG_fail;
24770 swig_obj[0] = args;
24771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24772 if (!SWIG_IsOK(res1)) {
24773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24774 }
24775 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24776 {
24777 PyThreadState* __tstate = wxPyBeginAllowThreads();
24778 result = (arg1)->GetPaperSize();
24779 wxPyEndAllowThreads(__tstate);
24780 if (PyErr_Occurred()) SWIG_fail;
24781 }
24782 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24783 return resultobj;
24784 fail:
24785 return NULL;
24786 }
24787
24788
24789 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24790 PyObject *resultobj = 0;
24791 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24792 wxPrintData *result = 0 ;
24793 void *argp1 = 0 ;
24794 int res1 = 0 ;
24795 PyObject *swig_obj[1] ;
24796
24797 if (!args) SWIG_fail;
24798 swig_obj[0] = args;
24799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24800 if (!SWIG_IsOK(res1)) {
24801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24802 }
24803 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24804 {
24805 PyThreadState* __tstate = wxPyBeginAllowThreads();
24806 {
24807 wxPrintData &_result_ref = (arg1)->GetPrintData();
24808 result = (wxPrintData *) &_result_ref;
24809 }
24810 wxPyEndAllowThreads(__tstate);
24811 if (PyErr_Occurred()) SWIG_fail;
24812 }
24813 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
24814 return resultobj;
24815 fail:
24816 return NULL;
24817 }
24818
24819
24820 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24821 PyObject *resultobj = 0;
24822 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24823 bool result;
24824 void *argp1 = 0 ;
24825 int res1 = 0 ;
24826 PyObject *swig_obj[1] ;
24827
24828 if (!args) SWIG_fail;
24829 swig_obj[0] = args;
24830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24831 if (!SWIG_IsOK(res1)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24833 }
24834 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24835 {
24836 PyThreadState* __tstate = wxPyBeginAllowThreads();
24837 result = (bool)(arg1)->Ok();
24838 wxPyEndAllowThreads(__tstate);
24839 if (PyErr_Occurred()) SWIG_fail;
24840 }
24841 {
24842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24843 }
24844 return resultobj;
24845 fail:
24846 return NULL;
24847 }
24848
24849
24850 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24851 PyObject *resultobj = 0;
24852 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24853 bool arg2 ;
24854 void *argp1 = 0 ;
24855 int res1 = 0 ;
24856 bool val2 ;
24857 int ecode2 = 0 ;
24858 PyObject * obj0 = 0 ;
24859 PyObject * obj1 = 0 ;
24860 char * kwnames[] = {
24861 (char *) "self",(char *) "flag", NULL
24862 };
24863
24864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
24865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24866 if (!SWIG_IsOK(res1)) {
24867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24868 }
24869 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24870 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24871 if (!SWIG_IsOK(ecode2)) {
24872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
24873 }
24874 arg2 = static_cast< bool >(val2);
24875 {
24876 PyThreadState* __tstate = wxPyBeginAllowThreads();
24877 (arg1)->SetDefaultInfo(arg2);
24878 wxPyEndAllowThreads(__tstate);
24879 if (PyErr_Occurred()) SWIG_fail;
24880 }
24881 resultobj = SWIG_Py_Void();
24882 return resultobj;
24883 fail:
24884 return NULL;
24885 }
24886
24887
24888 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24889 PyObject *resultobj = 0;
24890 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24891 bool arg2 ;
24892 void *argp1 = 0 ;
24893 int res1 = 0 ;
24894 bool val2 ;
24895 int ecode2 = 0 ;
24896 PyObject * obj0 = 0 ;
24897 PyObject * obj1 = 0 ;
24898 char * kwnames[] = {
24899 (char *) "self",(char *) "flag", NULL
24900 };
24901
24902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24904 if (!SWIG_IsOK(res1)) {
24905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24906 }
24907 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24908 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24909 if (!SWIG_IsOK(ecode2)) {
24910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
24911 }
24912 arg2 = static_cast< bool >(val2);
24913 {
24914 PyThreadState* __tstate = wxPyBeginAllowThreads();
24915 (arg1)->SetDefaultMinMargins(arg2);
24916 wxPyEndAllowThreads(__tstate);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
24919 resultobj = SWIG_Py_Void();
24920 return resultobj;
24921 fail:
24922 return NULL;
24923 }
24924
24925
24926 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24927 PyObject *resultobj = 0;
24928 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24929 wxPoint *arg2 = 0 ;
24930 void *argp1 = 0 ;
24931 int res1 = 0 ;
24932 wxPoint temp2 ;
24933 PyObject * obj0 = 0 ;
24934 PyObject * obj1 = 0 ;
24935 char * kwnames[] = {
24936 (char *) "self",(char *) "pt", NULL
24937 };
24938
24939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
24940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24941 if (!SWIG_IsOK(res1)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24943 }
24944 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24945 {
24946 arg2 = &temp2;
24947 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24948 }
24949 {
24950 PyThreadState* __tstate = wxPyBeginAllowThreads();
24951 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 resultobj = SWIG_Py_Void();
24956 return resultobj;
24957 fail:
24958 return NULL;
24959 }
24960
24961
24962 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24963 PyObject *resultobj = 0;
24964 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24965 wxPoint *arg2 = 0 ;
24966 void *argp1 = 0 ;
24967 int res1 = 0 ;
24968 wxPoint temp2 ;
24969 PyObject * obj0 = 0 ;
24970 PyObject * obj1 = 0 ;
24971 char * kwnames[] = {
24972 (char *) "self",(char *) "pt", NULL
24973 };
24974
24975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
24976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24977 if (!SWIG_IsOK(res1)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24979 }
24980 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24981 {
24982 arg2 = &temp2;
24983 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24984 }
24985 {
24986 PyThreadState* __tstate = wxPyBeginAllowThreads();
24987 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 resultobj = SWIG_Py_Void();
24992 return resultobj;
24993 fail:
24994 return NULL;
24995 }
24996
24997
24998 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24999 PyObject *resultobj = 0;
25000 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25001 wxPoint *arg2 = 0 ;
25002 void *argp1 = 0 ;
25003 int res1 = 0 ;
25004 wxPoint temp2 ;
25005 PyObject * obj0 = 0 ;
25006 PyObject * obj1 = 0 ;
25007 char * kwnames[] = {
25008 (char *) "self",(char *) "pt", NULL
25009 };
25010
25011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25013 if (!SWIG_IsOK(res1)) {
25014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25015 }
25016 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25017 {
25018 arg2 = &temp2;
25019 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25020 }
25021 {
25022 PyThreadState* __tstate = wxPyBeginAllowThreads();
25023 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25024 wxPyEndAllowThreads(__tstate);
25025 if (PyErr_Occurred()) SWIG_fail;
25026 }
25027 resultobj = SWIG_Py_Void();
25028 return resultobj;
25029 fail:
25030 return NULL;
25031 }
25032
25033
25034 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25035 PyObject *resultobj = 0;
25036 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25037 wxPoint *arg2 = 0 ;
25038 void *argp1 = 0 ;
25039 int res1 = 0 ;
25040 wxPoint temp2 ;
25041 PyObject * obj0 = 0 ;
25042 PyObject * obj1 = 0 ;
25043 char * kwnames[] = {
25044 (char *) "self",(char *) "pt", NULL
25045 };
25046
25047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25049 if (!SWIG_IsOK(res1)) {
25050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25051 }
25052 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25053 {
25054 arg2 = &temp2;
25055 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25056 }
25057 {
25058 PyThreadState* __tstate = wxPyBeginAllowThreads();
25059 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25060 wxPyEndAllowThreads(__tstate);
25061 if (PyErr_Occurred()) SWIG_fail;
25062 }
25063 resultobj = SWIG_Py_Void();
25064 return resultobj;
25065 fail:
25066 return NULL;
25067 }
25068
25069
25070 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25071 PyObject *resultobj = 0;
25072 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25073 wxPaperSize arg2 ;
25074 void *argp1 = 0 ;
25075 int res1 = 0 ;
25076 int val2 ;
25077 int ecode2 = 0 ;
25078 PyObject * obj0 = 0 ;
25079 PyObject * obj1 = 0 ;
25080 char * kwnames[] = {
25081 (char *) "self",(char *) "id", NULL
25082 };
25083
25084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25086 if (!SWIG_IsOK(res1)) {
25087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25088 }
25089 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25090 ecode2 = SWIG_AsVal_int(obj1, &val2);
25091 if (!SWIG_IsOK(ecode2)) {
25092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25093 }
25094 arg2 = static_cast< wxPaperSize >(val2);
25095 {
25096 PyThreadState* __tstate = wxPyBeginAllowThreads();
25097 (arg1)->SetPaperId(arg2);
25098 wxPyEndAllowThreads(__tstate);
25099 if (PyErr_Occurred()) SWIG_fail;
25100 }
25101 resultobj = SWIG_Py_Void();
25102 return resultobj;
25103 fail:
25104 return NULL;
25105 }
25106
25107
25108 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25109 PyObject *resultobj = 0;
25110 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25111 wxSize *arg2 = 0 ;
25112 void *argp1 = 0 ;
25113 int res1 = 0 ;
25114 wxSize temp2 ;
25115 PyObject * obj0 = 0 ;
25116 PyObject * obj1 = 0 ;
25117 char * kwnames[] = {
25118 (char *) "self",(char *) "size", NULL
25119 };
25120
25121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25123 if (!SWIG_IsOK(res1)) {
25124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25125 }
25126 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25127 {
25128 arg2 = &temp2;
25129 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25130 }
25131 {
25132 PyThreadState* __tstate = wxPyBeginAllowThreads();
25133 (arg1)->SetPaperSize((wxSize const &)*arg2);
25134 wxPyEndAllowThreads(__tstate);
25135 if (PyErr_Occurred()) SWIG_fail;
25136 }
25137 resultobj = SWIG_Py_Void();
25138 return resultobj;
25139 fail:
25140 return NULL;
25141 }
25142
25143
25144 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25145 PyObject *resultobj = 0;
25146 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25147 wxPrintData *arg2 = 0 ;
25148 void *argp1 = 0 ;
25149 int res1 = 0 ;
25150 void *argp2 = 0 ;
25151 int res2 = 0 ;
25152 PyObject * obj0 = 0 ;
25153 PyObject * obj1 = 0 ;
25154 char * kwnames[] = {
25155 (char *) "self",(char *) "printData", NULL
25156 };
25157
25158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25160 if (!SWIG_IsOK(res1)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25162 }
25163 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25164 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25165 if (!SWIG_IsOK(res2)) {
25166 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25167 }
25168 if (!argp2) {
25169 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25170 }
25171 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25172 {
25173 PyThreadState* __tstate = wxPyBeginAllowThreads();
25174 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25175 wxPyEndAllowThreads(__tstate);
25176 if (PyErr_Occurred()) SWIG_fail;
25177 }
25178 resultobj = SWIG_Py_Void();
25179 return resultobj;
25180 fail:
25181 return NULL;
25182 }
25183
25184
25185 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25186 PyObject *resultobj = 0;
25187 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25188 void *argp1 = 0 ;
25189 int res1 = 0 ;
25190 PyObject *swig_obj[1] ;
25191
25192 if (!args) SWIG_fail;
25193 swig_obj[0] = args;
25194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25195 if (!SWIG_IsOK(res1)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25197 }
25198 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25199 {
25200 PyThreadState* __tstate = wxPyBeginAllowThreads();
25201 (arg1)->CalculateIdFromPaperSize();
25202 wxPyEndAllowThreads(__tstate);
25203 if (PyErr_Occurred()) SWIG_fail;
25204 }
25205 resultobj = SWIG_Py_Void();
25206 return resultobj;
25207 fail:
25208 return NULL;
25209 }
25210
25211
25212 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25213 PyObject *resultobj = 0;
25214 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25215 void *argp1 = 0 ;
25216 int res1 = 0 ;
25217 PyObject *swig_obj[1] ;
25218
25219 if (!args) SWIG_fail;
25220 swig_obj[0] = args;
25221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25222 if (!SWIG_IsOK(res1)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25224 }
25225 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25226 {
25227 PyThreadState* __tstate = wxPyBeginAllowThreads();
25228 (arg1)->CalculatePaperSizeFromId();
25229 wxPyEndAllowThreads(__tstate);
25230 if (PyErr_Occurred()) SWIG_fail;
25231 }
25232 resultobj = SWIG_Py_Void();
25233 return resultobj;
25234 fail:
25235 return NULL;
25236 }
25237
25238
25239 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25240 PyObject *obj;
25241 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25242 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25243 return SWIG_Py_Void();
25244 }
25245
25246 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25247 return SWIG_Python_InitShadowInstance(args);
25248 }
25249
25250 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25251 PyObject *resultobj = 0;
25252 wxWindow *arg1 = (wxWindow *) 0 ;
25253 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25254 wxPageSetupDialog *result = 0 ;
25255 void *argp1 = 0 ;
25256 int res1 = 0 ;
25257 void *argp2 = 0 ;
25258 int res2 = 0 ;
25259 PyObject * obj0 = 0 ;
25260 PyObject * obj1 = 0 ;
25261 char * kwnames[] = {
25262 (char *) "parent",(char *) "data", NULL
25263 };
25264
25265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25267 if (!SWIG_IsOK(res1)) {
25268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25269 }
25270 arg1 = reinterpret_cast< wxWindow * >(argp1);
25271 if (obj1) {
25272 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25273 if (!SWIG_IsOK(res2)) {
25274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25275 }
25276 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25277 }
25278 {
25279 if (!wxPyCheckForApp()) SWIG_fail;
25280 PyThreadState* __tstate = wxPyBeginAllowThreads();
25281 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
25285 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25286 return resultobj;
25287 fail:
25288 return NULL;
25289 }
25290
25291
25292 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25293 PyObject *resultobj = 0;
25294 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25295 wxPageSetupDialogData *result = 0 ;
25296 void *argp1 = 0 ;
25297 int res1 = 0 ;
25298 PyObject *swig_obj[1] ;
25299
25300 if (!args) SWIG_fail;
25301 swig_obj[0] = args;
25302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25303 if (!SWIG_IsOK(res1)) {
25304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25305 }
25306 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25307 {
25308 PyThreadState* __tstate = wxPyBeginAllowThreads();
25309 {
25310 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25311 result = (wxPageSetupDialogData *) &_result_ref;
25312 }
25313 wxPyEndAllowThreads(__tstate);
25314 if (PyErr_Occurred()) SWIG_fail;
25315 }
25316 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25317 return resultobj;
25318 fail:
25319 return NULL;
25320 }
25321
25322
25323 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25324 PyObject *resultobj = 0;
25325 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25326 wxPageSetupDialogData *result = 0 ;
25327 void *argp1 = 0 ;
25328 int res1 = 0 ;
25329 PyObject *swig_obj[1] ;
25330
25331 if (!args) SWIG_fail;
25332 swig_obj[0] = args;
25333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25334 if (!SWIG_IsOK(res1)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25336 }
25337 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25338 {
25339 PyThreadState* __tstate = wxPyBeginAllowThreads();
25340 {
25341 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25342 result = (wxPageSetupDialogData *) &_result_ref;
25343 }
25344 wxPyEndAllowThreads(__tstate);
25345 if (PyErr_Occurred()) SWIG_fail;
25346 }
25347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25348 return resultobj;
25349 fail:
25350 return NULL;
25351 }
25352
25353
25354 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25355 PyObject *resultobj = 0;
25356 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25357 int result;
25358 void *argp1 = 0 ;
25359 int res1 = 0 ;
25360 PyObject *swig_obj[1] ;
25361
25362 if (!args) SWIG_fail;
25363 swig_obj[0] = args;
25364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25365 if (!SWIG_IsOK(res1)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25367 }
25368 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25369 {
25370 PyThreadState* __tstate = wxPyBeginAllowThreads();
25371 result = (int)(arg1)->ShowModal();
25372 wxPyEndAllowThreads(__tstate);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 }
25375 resultobj = SWIG_From_int(static_cast< int >(result));
25376 return resultobj;
25377 fail:
25378 return NULL;
25379 }
25380
25381
25382 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25383 PyObject *obj;
25384 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25385 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25386 return SWIG_Py_Void();
25387 }
25388
25389 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25390 return SWIG_Python_InitShadowInstance(args);
25391 }
25392
25393 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25394 PyObject *resultobj = 0;
25395 wxPrintDialogData *result = 0 ;
25396
25397 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25398 {
25399 PyThreadState* __tstate = wxPyBeginAllowThreads();
25400 result = (wxPrintDialogData *)new wxPrintDialogData();
25401 wxPyEndAllowThreads(__tstate);
25402 if (PyErr_Occurred()) SWIG_fail;
25403 }
25404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25405 return resultobj;
25406 fail:
25407 return NULL;
25408 }
25409
25410
25411 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25412 PyObject *resultobj = 0;
25413 wxPrintData *arg1 = 0 ;
25414 wxPrintDialogData *result = 0 ;
25415 void *argp1 = 0 ;
25416 int res1 = 0 ;
25417
25418 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25420 if (!SWIG_IsOK(res1)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25422 }
25423 if (!argp1) {
25424 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25425 }
25426 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25427 {
25428 PyThreadState* __tstate = wxPyBeginAllowThreads();
25429 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25430 wxPyEndAllowThreads(__tstate);
25431 if (PyErr_Occurred()) SWIG_fail;
25432 }
25433 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25434 return resultobj;
25435 fail:
25436 return NULL;
25437 }
25438
25439
25440 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25441 PyObject *resultobj = 0;
25442 wxPrintDialogData *arg1 = 0 ;
25443 wxPrintDialogData *result = 0 ;
25444 void *argp1 = 0 ;
25445 int res1 = 0 ;
25446
25447 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25449 if (!SWIG_IsOK(res1)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25451 }
25452 if (!argp1) {
25453 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25454 }
25455 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25456 {
25457 PyThreadState* __tstate = wxPyBeginAllowThreads();
25458 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25459 wxPyEndAllowThreads(__tstate);
25460 if (PyErr_Occurred()) SWIG_fail;
25461 }
25462 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25463 return resultobj;
25464 fail:
25465 return NULL;
25466 }
25467
25468
25469 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25470 int argc;
25471 PyObject *argv[2];
25472
25473 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25474 --argc;
25475 if (argc == 0) {
25476 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25477 }
25478 if (argc == 1) {
25479 int _v = 0;
25480 {
25481 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25482 _v = SWIG_CheckState(res);
25483 }
25484 if (!_v) goto check_2;
25485 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25486 }
25487 check_2:
25488
25489 if (argc == 1) {
25490 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25491 }
25492
25493 fail:
25494 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25495 return NULL;
25496 }
25497
25498
25499 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25500 PyObject *resultobj = 0;
25501 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25502 void *argp1 = 0 ;
25503 int res1 = 0 ;
25504 PyObject *swig_obj[1] ;
25505
25506 if (!args) SWIG_fail;
25507 swig_obj[0] = args;
25508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25509 if (!SWIG_IsOK(res1)) {
25510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25511 }
25512 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25513 {
25514 PyThreadState* __tstate = wxPyBeginAllowThreads();
25515 delete arg1;
25516
25517 wxPyEndAllowThreads(__tstate);
25518 if (PyErr_Occurred()) SWIG_fail;
25519 }
25520 resultobj = SWIG_Py_Void();
25521 return resultobj;
25522 fail:
25523 return NULL;
25524 }
25525
25526
25527 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25528 PyObject *resultobj = 0;
25529 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25530 int result;
25531 void *argp1 = 0 ;
25532 int res1 = 0 ;
25533 PyObject *swig_obj[1] ;
25534
25535 if (!args) SWIG_fail;
25536 swig_obj[0] = args;
25537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25538 if (!SWIG_IsOK(res1)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25540 }
25541 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25542 {
25543 PyThreadState* __tstate = wxPyBeginAllowThreads();
25544 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25545 wxPyEndAllowThreads(__tstate);
25546 if (PyErr_Occurred()) SWIG_fail;
25547 }
25548 resultobj = SWIG_From_int(static_cast< int >(result));
25549 return resultobj;
25550 fail:
25551 return NULL;
25552 }
25553
25554
25555 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25556 PyObject *resultobj = 0;
25557 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25558 int result;
25559 void *argp1 = 0 ;
25560 int res1 = 0 ;
25561 PyObject *swig_obj[1] ;
25562
25563 if (!args) SWIG_fail;
25564 swig_obj[0] = args;
25565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25566 if (!SWIG_IsOK(res1)) {
25567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25568 }
25569 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25570 {
25571 PyThreadState* __tstate = wxPyBeginAllowThreads();
25572 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25573 wxPyEndAllowThreads(__tstate);
25574 if (PyErr_Occurred()) SWIG_fail;
25575 }
25576 resultobj = SWIG_From_int(static_cast< int >(result));
25577 return resultobj;
25578 fail:
25579 return NULL;
25580 }
25581
25582
25583 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25584 PyObject *resultobj = 0;
25585 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25586 int result;
25587 void *argp1 = 0 ;
25588 int res1 = 0 ;
25589 PyObject *swig_obj[1] ;
25590
25591 if (!args) SWIG_fail;
25592 swig_obj[0] = args;
25593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25594 if (!SWIG_IsOK(res1)) {
25595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25596 }
25597 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25598 {
25599 PyThreadState* __tstate = wxPyBeginAllowThreads();
25600 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25601 wxPyEndAllowThreads(__tstate);
25602 if (PyErr_Occurred()) SWIG_fail;
25603 }
25604 resultobj = SWIG_From_int(static_cast< int >(result));
25605 return resultobj;
25606 fail:
25607 return NULL;
25608 }
25609
25610
25611 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25612 PyObject *resultobj = 0;
25613 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25614 int result;
25615 void *argp1 = 0 ;
25616 int res1 = 0 ;
25617 PyObject *swig_obj[1] ;
25618
25619 if (!args) SWIG_fail;
25620 swig_obj[0] = args;
25621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25622 if (!SWIG_IsOK(res1)) {
25623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25624 }
25625 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25626 {
25627 PyThreadState* __tstate = wxPyBeginAllowThreads();
25628 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25629 wxPyEndAllowThreads(__tstate);
25630 if (PyErr_Occurred()) SWIG_fail;
25631 }
25632 resultobj = SWIG_From_int(static_cast< int >(result));
25633 return resultobj;
25634 fail:
25635 return NULL;
25636 }
25637
25638
25639 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25640 PyObject *resultobj = 0;
25641 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25642 int result;
25643 void *argp1 = 0 ;
25644 int res1 = 0 ;
25645 PyObject *swig_obj[1] ;
25646
25647 if (!args) SWIG_fail;
25648 swig_obj[0] = args;
25649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25650 if (!SWIG_IsOK(res1)) {
25651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25652 }
25653 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25654 {
25655 PyThreadState* __tstate = wxPyBeginAllowThreads();
25656 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25657 wxPyEndAllowThreads(__tstate);
25658 if (PyErr_Occurred()) SWIG_fail;
25659 }
25660 resultobj = SWIG_From_int(static_cast< int >(result));
25661 return resultobj;
25662 fail:
25663 return NULL;
25664 }
25665
25666
25667 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25668 PyObject *resultobj = 0;
25669 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25670 bool result;
25671 void *argp1 = 0 ;
25672 int res1 = 0 ;
25673 PyObject *swig_obj[1] ;
25674
25675 if (!args) SWIG_fail;
25676 swig_obj[0] = args;
25677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25678 if (!SWIG_IsOK(res1)) {
25679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25680 }
25681 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25682 {
25683 PyThreadState* __tstate = wxPyBeginAllowThreads();
25684 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25685 wxPyEndAllowThreads(__tstate);
25686 if (PyErr_Occurred()) SWIG_fail;
25687 }
25688 {
25689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25690 }
25691 return resultobj;
25692 fail:
25693 return NULL;
25694 }
25695
25696
25697 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25698 PyObject *resultobj = 0;
25699 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25700 bool result;
25701 void *argp1 = 0 ;
25702 int res1 = 0 ;
25703 PyObject *swig_obj[1] ;
25704
25705 if (!args) SWIG_fail;
25706 swig_obj[0] = args;
25707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25708 if (!SWIG_IsOK(res1)) {
25709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25710 }
25711 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25712 {
25713 PyThreadState* __tstate = wxPyBeginAllowThreads();
25714 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25715 wxPyEndAllowThreads(__tstate);
25716 if (PyErr_Occurred()) SWIG_fail;
25717 }
25718 {
25719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25720 }
25721 return resultobj;
25722 fail:
25723 return NULL;
25724 }
25725
25726
25727 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25728 PyObject *resultobj = 0;
25729 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25730 bool result;
25731 void *argp1 = 0 ;
25732 int res1 = 0 ;
25733 PyObject *swig_obj[1] ;
25734
25735 if (!args) SWIG_fail;
25736 swig_obj[0] = args;
25737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25738 if (!SWIG_IsOK(res1)) {
25739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25740 }
25741 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25742 {
25743 PyThreadState* __tstate = wxPyBeginAllowThreads();
25744 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25745 wxPyEndAllowThreads(__tstate);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
25748 {
25749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25750 }
25751 return resultobj;
25752 fail:
25753 return NULL;
25754 }
25755
25756
25757 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25758 PyObject *resultobj = 0;
25759 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25760 bool result;
25761 void *argp1 = 0 ;
25762 int res1 = 0 ;
25763 PyObject *swig_obj[1] ;
25764
25765 if (!args) SWIG_fail;
25766 swig_obj[0] = args;
25767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25768 if (!SWIG_IsOK(res1)) {
25769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25770 }
25771 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25772 {
25773 PyThreadState* __tstate = wxPyBeginAllowThreads();
25774 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
25775 wxPyEndAllowThreads(__tstate);
25776 if (PyErr_Occurred()) SWIG_fail;
25777 }
25778 {
25779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25780 }
25781 return resultobj;
25782 fail:
25783 return NULL;
25784 }
25785
25786
25787 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25788 PyObject *resultobj = 0;
25789 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25790 int arg2 ;
25791 void *argp1 = 0 ;
25792 int res1 = 0 ;
25793 int val2 ;
25794 int ecode2 = 0 ;
25795 PyObject * obj0 = 0 ;
25796 PyObject * obj1 = 0 ;
25797 char * kwnames[] = {
25798 (char *) "self",(char *) "v", NULL
25799 };
25800
25801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
25802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25803 if (!SWIG_IsOK(res1)) {
25804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25805 }
25806 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25807 ecode2 = SWIG_AsVal_int(obj1, &val2);
25808 if (!SWIG_IsOK(ecode2)) {
25809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25810 }
25811 arg2 = static_cast< int >(val2);
25812 {
25813 PyThreadState* __tstate = wxPyBeginAllowThreads();
25814 (arg1)->SetFromPage(arg2);
25815 wxPyEndAllowThreads(__tstate);
25816 if (PyErr_Occurred()) SWIG_fail;
25817 }
25818 resultobj = SWIG_Py_Void();
25819 return resultobj;
25820 fail:
25821 return NULL;
25822 }
25823
25824
25825 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25826 PyObject *resultobj = 0;
25827 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25828 int arg2 ;
25829 void *argp1 = 0 ;
25830 int res1 = 0 ;
25831 int val2 ;
25832 int ecode2 = 0 ;
25833 PyObject * obj0 = 0 ;
25834 PyObject * obj1 = 0 ;
25835 char * kwnames[] = {
25836 (char *) "self",(char *) "v", NULL
25837 };
25838
25839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
25840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25841 if (!SWIG_IsOK(res1)) {
25842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25843 }
25844 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25845 ecode2 = SWIG_AsVal_int(obj1, &val2);
25846 if (!SWIG_IsOK(ecode2)) {
25847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25848 }
25849 arg2 = static_cast< int >(val2);
25850 {
25851 PyThreadState* __tstate = wxPyBeginAllowThreads();
25852 (arg1)->SetToPage(arg2);
25853 wxPyEndAllowThreads(__tstate);
25854 if (PyErr_Occurred()) SWIG_fail;
25855 }
25856 resultobj = SWIG_Py_Void();
25857 return resultobj;
25858 fail:
25859 return NULL;
25860 }
25861
25862
25863 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25864 PyObject *resultobj = 0;
25865 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25866 int arg2 ;
25867 void *argp1 = 0 ;
25868 int res1 = 0 ;
25869 int val2 ;
25870 int ecode2 = 0 ;
25871 PyObject * obj0 = 0 ;
25872 PyObject * obj1 = 0 ;
25873 char * kwnames[] = {
25874 (char *) "self",(char *) "v", NULL
25875 };
25876
25877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
25878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25879 if (!SWIG_IsOK(res1)) {
25880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25881 }
25882 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25883 ecode2 = SWIG_AsVal_int(obj1, &val2);
25884 if (!SWIG_IsOK(ecode2)) {
25885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
25886 }
25887 arg2 = static_cast< int >(val2);
25888 {
25889 PyThreadState* __tstate = wxPyBeginAllowThreads();
25890 (arg1)->SetMinPage(arg2);
25891 wxPyEndAllowThreads(__tstate);
25892 if (PyErr_Occurred()) SWIG_fail;
25893 }
25894 resultobj = SWIG_Py_Void();
25895 return resultobj;
25896 fail:
25897 return NULL;
25898 }
25899
25900
25901 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25902 PyObject *resultobj = 0;
25903 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25904 int arg2 ;
25905 void *argp1 = 0 ;
25906 int res1 = 0 ;
25907 int val2 ;
25908 int ecode2 = 0 ;
25909 PyObject * obj0 = 0 ;
25910 PyObject * obj1 = 0 ;
25911 char * kwnames[] = {
25912 (char *) "self",(char *) "v", NULL
25913 };
25914
25915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
25916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25917 if (!SWIG_IsOK(res1)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25919 }
25920 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25921 ecode2 = SWIG_AsVal_int(obj1, &val2);
25922 if (!SWIG_IsOK(ecode2)) {
25923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
25924 }
25925 arg2 = static_cast< int >(val2);
25926 {
25927 PyThreadState* __tstate = wxPyBeginAllowThreads();
25928 (arg1)->SetMaxPage(arg2);
25929 wxPyEndAllowThreads(__tstate);
25930 if (PyErr_Occurred()) SWIG_fail;
25931 }
25932 resultobj = SWIG_Py_Void();
25933 return resultobj;
25934 fail:
25935 return NULL;
25936 }
25937
25938
25939 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25940 PyObject *resultobj = 0;
25941 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25942 int arg2 ;
25943 void *argp1 = 0 ;
25944 int res1 = 0 ;
25945 int val2 ;
25946 int ecode2 = 0 ;
25947 PyObject * obj0 = 0 ;
25948 PyObject * obj1 = 0 ;
25949 char * kwnames[] = {
25950 (char *) "self",(char *) "v", NULL
25951 };
25952
25953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
25954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25955 if (!SWIG_IsOK(res1)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25957 }
25958 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25959 ecode2 = SWIG_AsVal_int(obj1, &val2);
25960 if (!SWIG_IsOK(ecode2)) {
25961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
25962 }
25963 arg2 = static_cast< int >(val2);
25964 {
25965 PyThreadState* __tstate = wxPyBeginAllowThreads();
25966 (arg1)->SetNoCopies(arg2);
25967 wxPyEndAllowThreads(__tstate);
25968 if (PyErr_Occurred()) SWIG_fail;
25969 }
25970 resultobj = SWIG_Py_Void();
25971 return resultobj;
25972 fail:
25973 return NULL;
25974 }
25975
25976
25977 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25978 PyObject *resultobj = 0;
25979 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25980 bool arg2 ;
25981 void *argp1 = 0 ;
25982 int res1 = 0 ;
25983 bool val2 ;
25984 int ecode2 = 0 ;
25985 PyObject * obj0 = 0 ;
25986 PyObject * obj1 = 0 ;
25987 char * kwnames[] = {
25988 (char *) "self",(char *) "flag", NULL
25989 };
25990
25991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
25992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25993 if (!SWIG_IsOK(res1)) {
25994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25995 }
25996 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25997 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25998 if (!SWIG_IsOK(ecode2)) {
25999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26000 }
26001 arg2 = static_cast< bool >(val2);
26002 {
26003 PyThreadState* __tstate = wxPyBeginAllowThreads();
26004 (arg1)->SetAllPages(arg2);
26005 wxPyEndAllowThreads(__tstate);
26006 if (PyErr_Occurred()) SWIG_fail;
26007 }
26008 resultobj = SWIG_Py_Void();
26009 return resultobj;
26010 fail:
26011 return NULL;
26012 }
26013
26014
26015 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26016 PyObject *resultobj = 0;
26017 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26018 bool arg2 ;
26019 void *argp1 = 0 ;
26020 int res1 = 0 ;
26021 bool val2 ;
26022 int ecode2 = 0 ;
26023 PyObject * obj0 = 0 ;
26024 PyObject * obj1 = 0 ;
26025 char * kwnames[] = {
26026 (char *) "self",(char *) "flag", NULL
26027 };
26028
26029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26031 if (!SWIG_IsOK(res1)) {
26032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26033 }
26034 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26035 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26036 if (!SWIG_IsOK(ecode2)) {
26037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26038 }
26039 arg2 = static_cast< bool >(val2);
26040 {
26041 PyThreadState* __tstate = wxPyBeginAllowThreads();
26042 (arg1)->SetSelection(arg2);
26043 wxPyEndAllowThreads(__tstate);
26044 if (PyErr_Occurred()) SWIG_fail;
26045 }
26046 resultobj = SWIG_Py_Void();
26047 return resultobj;
26048 fail:
26049 return NULL;
26050 }
26051
26052
26053 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26054 PyObject *resultobj = 0;
26055 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26056 bool arg2 ;
26057 void *argp1 = 0 ;
26058 int res1 = 0 ;
26059 bool val2 ;
26060 int ecode2 = 0 ;
26061 PyObject * obj0 = 0 ;
26062 PyObject * obj1 = 0 ;
26063 char * kwnames[] = {
26064 (char *) "self",(char *) "flag", NULL
26065 };
26066
26067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26069 if (!SWIG_IsOK(res1)) {
26070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26071 }
26072 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26073 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26074 if (!SWIG_IsOK(ecode2)) {
26075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26076 }
26077 arg2 = static_cast< bool >(val2);
26078 {
26079 PyThreadState* __tstate = wxPyBeginAllowThreads();
26080 (arg1)->SetCollate(arg2);
26081 wxPyEndAllowThreads(__tstate);
26082 if (PyErr_Occurred()) SWIG_fail;
26083 }
26084 resultobj = SWIG_Py_Void();
26085 return resultobj;
26086 fail:
26087 return NULL;
26088 }
26089
26090
26091 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26092 PyObject *resultobj = 0;
26093 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26094 bool arg2 ;
26095 void *argp1 = 0 ;
26096 int res1 = 0 ;
26097 bool val2 ;
26098 int ecode2 = 0 ;
26099 PyObject * obj0 = 0 ;
26100 PyObject * obj1 = 0 ;
26101 char * kwnames[] = {
26102 (char *) "self",(char *) "flag", NULL
26103 };
26104
26105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26107 if (!SWIG_IsOK(res1)) {
26108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26109 }
26110 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26111 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26112 if (!SWIG_IsOK(ecode2)) {
26113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26114 }
26115 arg2 = static_cast< bool >(val2);
26116 {
26117 PyThreadState* __tstate = wxPyBeginAllowThreads();
26118 (arg1)->SetPrintToFile(arg2);
26119 wxPyEndAllowThreads(__tstate);
26120 if (PyErr_Occurred()) SWIG_fail;
26121 }
26122 resultobj = SWIG_Py_Void();
26123 return resultobj;
26124 fail:
26125 return NULL;
26126 }
26127
26128
26129 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26130 PyObject *resultobj = 0;
26131 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26132 bool arg2 ;
26133 void *argp1 = 0 ;
26134 int res1 = 0 ;
26135 bool val2 ;
26136 int ecode2 = 0 ;
26137 PyObject * obj0 = 0 ;
26138 PyObject * obj1 = 0 ;
26139 char * kwnames[] = {
26140 (char *) "self",(char *) "flag", NULL
26141 };
26142
26143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26145 if (!SWIG_IsOK(res1)) {
26146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26147 }
26148 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26149 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26150 if (!SWIG_IsOK(ecode2)) {
26151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26152 }
26153 arg2 = static_cast< bool >(val2);
26154 {
26155 PyThreadState* __tstate = wxPyBeginAllowThreads();
26156 (arg1)->EnablePrintToFile(arg2);
26157 wxPyEndAllowThreads(__tstate);
26158 if (PyErr_Occurred()) SWIG_fail;
26159 }
26160 resultobj = SWIG_Py_Void();
26161 return resultobj;
26162 fail:
26163 return NULL;
26164 }
26165
26166
26167 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26168 PyObject *resultobj = 0;
26169 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26170 bool arg2 ;
26171 void *argp1 = 0 ;
26172 int res1 = 0 ;
26173 bool val2 ;
26174 int ecode2 = 0 ;
26175 PyObject * obj0 = 0 ;
26176 PyObject * obj1 = 0 ;
26177 char * kwnames[] = {
26178 (char *) "self",(char *) "flag", NULL
26179 };
26180
26181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26183 if (!SWIG_IsOK(res1)) {
26184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26185 }
26186 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26187 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26188 if (!SWIG_IsOK(ecode2)) {
26189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26190 }
26191 arg2 = static_cast< bool >(val2);
26192 {
26193 PyThreadState* __tstate = wxPyBeginAllowThreads();
26194 (arg1)->EnableSelection(arg2);
26195 wxPyEndAllowThreads(__tstate);
26196 if (PyErr_Occurred()) SWIG_fail;
26197 }
26198 resultobj = SWIG_Py_Void();
26199 return resultobj;
26200 fail:
26201 return NULL;
26202 }
26203
26204
26205 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26206 PyObject *resultobj = 0;
26207 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26208 bool arg2 ;
26209 void *argp1 = 0 ;
26210 int res1 = 0 ;
26211 bool val2 ;
26212 int ecode2 = 0 ;
26213 PyObject * obj0 = 0 ;
26214 PyObject * obj1 = 0 ;
26215 char * kwnames[] = {
26216 (char *) "self",(char *) "flag", NULL
26217 };
26218
26219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26221 if (!SWIG_IsOK(res1)) {
26222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26223 }
26224 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26225 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26226 if (!SWIG_IsOK(ecode2)) {
26227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26228 }
26229 arg2 = static_cast< bool >(val2);
26230 {
26231 PyThreadState* __tstate = wxPyBeginAllowThreads();
26232 (arg1)->EnablePageNumbers(arg2);
26233 wxPyEndAllowThreads(__tstate);
26234 if (PyErr_Occurred()) SWIG_fail;
26235 }
26236 resultobj = SWIG_Py_Void();
26237 return resultobj;
26238 fail:
26239 return NULL;
26240 }
26241
26242
26243 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26244 PyObject *resultobj = 0;
26245 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26246 bool arg2 ;
26247 void *argp1 = 0 ;
26248 int res1 = 0 ;
26249 bool val2 ;
26250 int ecode2 = 0 ;
26251 PyObject * obj0 = 0 ;
26252 PyObject * obj1 = 0 ;
26253 char * kwnames[] = {
26254 (char *) "self",(char *) "flag", NULL
26255 };
26256
26257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26259 if (!SWIG_IsOK(res1)) {
26260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26261 }
26262 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26263 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26264 if (!SWIG_IsOK(ecode2)) {
26265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26266 }
26267 arg2 = static_cast< bool >(val2);
26268 {
26269 PyThreadState* __tstate = wxPyBeginAllowThreads();
26270 (arg1)->EnableHelp(arg2);
26271 wxPyEndAllowThreads(__tstate);
26272 if (PyErr_Occurred()) SWIG_fail;
26273 }
26274 resultobj = SWIG_Py_Void();
26275 return resultobj;
26276 fail:
26277 return NULL;
26278 }
26279
26280
26281 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26282 PyObject *resultobj = 0;
26283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26284 bool result;
26285 void *argp1 = 0 ;
26286 int res1 = 0 ;
26287 PyObject *swig_obj[1] ;
26288
26289 if (!args) SWIG_fail;
26290 swig_obj[0] = args;
26291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26292 if (!SWIG_IsOK(res1)) {
26293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26294 }
26295 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26296 {
26297 PyThreadState* __tstate = wxPyBeginAllowThreads();
26298 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26299 wxPyEndAllowThreads(__tstate);
26300 if (PyErr_Occurred()) SWIG_fail;
26301 }
26302 {
26303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26304 }
26305 return resultobj;
26306 fail:
26307 return NULL;
26308 }
26309
26310
26311 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26312 PyObject *resultobj = 0;
26313 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26314 bool result;
26315 void *argp1 = 0 ;
26316 int res1 = 0 ;
26317 PyObject *swig_obj[1] ;
26318
26319 if (!args) SWIG_fail;
26320 swig_obj[0] = args;
26321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26322 if (!SWIG_IsOK(res1)) {
26323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26324 }
26325 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26326 {
26327 PyThreadState* __tstate = wxPyBeginAllowThreads();
26328 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26329 wxPyEndAllowThreads(__tstate);
26330 if (PyErr_Occurred()) SWIG_fail;
26331 }
26332 {
26333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26334 }
26335 return resultobj;
26336 fail:
26337 return NULL;
26338 }
26339
26340
26341 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26342 PyObject *resultobj = 0;
26343 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26344 bool result;
26345 void *argp1 = 0 ;
26346 int res1 = 0 ;
26347 PyObject *swig_obj[1] ;
26348
26349 if (!args) SWIG_fail;
26350 swig_obj[0] = args;
26351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26352 if (!SWIG_IsOK(res1)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26354 }
26355 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26356 {
26357 PyThreadState* __tstate = wxPyBeginAllowThreads();
26358 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26359 wxPyEndAllowThreads(__tstate);
26360 if (PyErr_Occurred()) SWIG_fail;
26361 }
26362 {
26363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26364 }
26365 return resultobj;
26366 fail:
26367 return NULL;
26368 }
26369
26370
26371 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26372 PyObject *resultobj = 0;
26373 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26374 bool result;
26375 void *argp1 = 0 ;
26376 int res1 = 0 ;
26377 PyObject *swig_obj[1] ;
26378
26379 if (!args) SWIG_fail;
26380 swig_obj[0] = args;
26381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26382 if (!SWIG_IsOK(res1)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26384 }
26385 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26386 {
26387 PyThreadState* __tstate = wxPyBeginAllowThreads();
26388 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26389 wxPyEndAllowThreads(__tstate);
26390 if (PyErr_Occurred()) SWIG_fail;
26391 }
26392 {
26393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26394 }
26395 return resultobj;
26396 fail:
26397 return NULL;
26398 }
26399
26400
26401 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26402 PyObject *resultobj = 0;
26403 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26404 bool result;
26405 void *argp1 = 0 ;
26406 int res1 = 0 ;
26407 PyObject *swig_obj[1] ;
26408
26409 if (!args) SWIG_fail;
26410 swig_obj[0] = args;
26411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26412 if (!SWIG_IsOK(res1)) {
26413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26414 }
26415 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26416 {
26417 PyThreadState* __tstate = wxPyBeginAllowThreads();
26418 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26419 wxPyEndAllowThreads(__tstate);
26420 if (PyErr_Occurred()) SWIG_fail;
26421 }
26422 {
26423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26424 }
26425 return resultobj;
26426 fail:
26427 return NULL;
26428 }
26429
26430
26431 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26432 PyObject *resultobj = 0;
26433 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26434 wxPrintData *result = 0 ;
26435 void *argp1 = 0 ;
26436 int res1 = 0 ;
26437 PyObject *swig_obj[1] ;
26438
26439 if (!args) SWIG_fail;
26440 swig_obj[0] = args;
26441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26442 if (!SWIG_IsOK(res1)) {
26443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26444 }
26445 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26446 {
26447 PyThreadState* __tstate = wxPyBeginAllowThreads();
26448 {
26449 wxPrintData &_result_ref = (arg1)->GetPrintData();
26450 result = (wxPrintData *) &_result_ref;
26451 }
26452 wxPyEndAllowThreads(__tstate);
26453 if (PyErr_Occurred()) SWIG_fail;
26454 }
26455 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26456 return resultobj;
26457 fail:
26458 return NULL;
26459 }
26460
26461
26462 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26463 PyObject *resultobj = 0;
26464 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26465 wxPrintData *arg2 = 0 ;
26466 void *argp1 = 0 ;
26467 int res1 = 0 ;
26468 void *argp2 = 0 ;
26469 int res2 = 0 ;
26470 PyObject * obj0 = 0 ;
26471 PyObject * obj1 = 0 ;
26472 char * kwnames[] = {
26473 (char *) "self",(char *) "printData", NULL
26474 };
26475
26476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26478 if (!SWIG_IsOK(res1)) {
26479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26480 }
26481 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26482 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26483 if (!SWIG_IsOK(res2)) {
26484 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26485 }
26486 if (!argp2) {
26487 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26488 }
26489 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26490 {
26491 PyThreadState* __tstate = wxPyBeginAllowThreads();
26492 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
26496 resultobj = SWIG_Py_Void();
26497 return resultobj;
26498 fail:
26499 return NULL;
26500 }
26501
26502
26503 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26504 PyObject *obj;
26505 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26506 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26507 return SWIG_Py_Void();
26508 }
26509
26510 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26511 return SWIG_Python_InitShadowInstance(args);
26512 }
26513
26514 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26515 PyObject *resultobj = 0;
26516 wxWindow *arg1 = (wxWindow *) 0 ;
26517 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26518 wxPrintDialog *result = 0 ;
26519 void *argp1 = 0 ;
26520 int res1 = 0 ;
26521 void *argp2 = 0 ;
26522 int res2 = 0 ;
26523 PyObject * obj0 = 0 ;
26524 PyObject * obj1 = 0 ;
26525 char * kwnames[] = {
26526 (char *) "parent",(char *) "data", NULL
26527 };
26528
26529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26531 if (!SWIG_IsOK(res1)) {
26532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26533 }
26534 arg1 = reinterpret_cast< wxWindow * >(argp1);
26535 if (obj1) {
26536 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26537 if (!SWIG_IsOK(res2)) {
26538 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26539 }
26540 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26541 }
26542 {
26543 if (!wxPyCheckForApp()) SWIG_fail;
26544 PyThreadState* __tstate = wxPyBeginAllowThreads();
26545 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26546 wxPyEndAllowThreads(__tstate);
26547 if (PyErr_Occurred()) SWIG_fail;
26548 }
26549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26550 return resultobj;
26551 fail:
26552 return NULL;
26553 }
26554
26555
26556 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26557 PyObject *resultobj = 0;
26558 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26559 int result;
26560 void *argp1 = 0 ;
26561 int res1 = 0 ;
26562 PyObject *swig_obj[1] ;
26563
26564 if (!args) SWIG_fail;
26565 swig_obj[0] = args;
26566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26567 if (!SWIG_IsOK(res1)) {
26568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26569 }
26570 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26571 {
26572 PyThreadState* __tstate = wxPyBeginAllowThreads();
26573 result = (int)(arg1)->ShowModal();
26574 wxPyEndAllowThreads(__tstate);
26575 if (PyErr_Occurred()) SWIG_fail;
26576 }
26577 resultobj = SWIG_From_int(static_cast< int >(result));
26578 return resultobj;
26579 fail:
26580 return NULL;
26581 }
26582
26583
26584 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26585 PyObject *resultobj = 0;
26586 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26587 wxPrintDialogData *result = 0 ;
26588 void *argp1 = 0 ;
26589 int res1 = 0 ;
26590 PyObject *swig_obj[1] ;
26591
26592 if (!args) SWIG_fail;
26593 swig_obj[0] = args;
26594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26595 if (!SWIG_IsOK(res1)) {
26596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26597 }
26598 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26599 {
26600 PyThreadState* __tstate = wxPyBeginAllowThreads();
26601 {
26602 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26603 result = (wxPrintDialogData *) &_result_ref;
26604 }
26605 wxPyEndAllowThreads(__tstate);
26606 if (PyErr_Occurred()) SWIG_fail;
26607 }
26608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26609 return resultobj;
26610 fail:
26611 return NULL;
26612 }
26613
26614
26615 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26616 PyObject *resultobj = 0;
26617 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26618 wxPrintData *result = 0 ;
26619 void *argp1 = 0 ;
26620 int res1 = 0 ;
26621 PyObject *swig_obj[1] ;
26622
26623 if (!args) SWIG_fail;
26624 swig_obj[0] = args;
26625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26626 if (!SWIG_IsOK(res1)) {
26627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26628 }
26629 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26630 {
26631 PyThreadState* __tstate = wxPyBeginAllowThreads();
26632 {
26633 wxPrintData &_result_ref = (arg1)->GetPrintData();
26634 result = (wxPrintData *) &_result_ref;
26635 }
26636 wxPyEndAllowThreads(__tstate);
26637 if (PyErr_Occurred()) SWIG_fail;
26638 }
26639 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26640 return resultobj;
26641 fail:
26642 return NULL;
26643 }
26644
26645
26646 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26647 PyObject *resultobj = 0;
26648 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26649 wxDC *result = 0 ;
26650 void *argp1 = 0 ;
26651 int res1 = 0 ;
26652 PyObject *swig_obj[1] ;
26653
26654 if (!args) SWIG_fail;
26655 swig_obj[0] = args;
26656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26657 if (!SWIG_IsOK(res1)) {
26658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26659 }
26660 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 result = (wxDC *)(arg1)->GetPrintDC();
26664 wxPyEndAllowThreads(__tstate);
26665 if (PyErr_Occurred()) SWIG_fail;
26666 }
26667 {
26668 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26669 }
26670 return resultobj;
26671 fail:
26672 return NULL;
26673 }
26674
26675
26676 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26677 PyObject *obj;
26678 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26679 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26680 return SWIG_Py_Void();
26681 }
26682
26683 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26684 return SWIG_Python_InitShadowInstance(args);
26685 }
26686
26687 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26688 PyObject *resultobj = 0;
26689 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26690 wxPrinter *result = 0 ;
26691 void *argp1 = 0 ;
26692 int res1 = 0 ;
26693 PyObject * obj0 = 0 ;
26694 char * kwnames[] = {
26695 (char *) "data", NULL
26696 };
26697
26698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26699 if (obj0) {
26700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26701 if (!SWIG_IsOK(res1)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26703 }
26704 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26705 }
26706 {
26707 if (!wxPyCheckForApp()) SWIG_fail;
26708 PyThreadState* __tstate = wxPyBeginAllowThreads();
26709 result = (wxPrinter *)new wxPrinter(arg1);
26710 wxPyEndAllowThreads(__tstate);
26711 if (PyErr_Occurred()) SWIG_fail;
26712 }
26713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26714 return resultobj;
26715 fail:
26716 return NULL;
26717 }
26718
26719
26720 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26721 PyObject *resultobj = 0;
26722 wxPrinter *arg1 = (wxPrinter *) 0 ;
26723 void *argp1 = 0 ;
26724 int res1 = 0 ;
26725 PyObject *swig_obj[1] ;
26726
26727 if (!args) SWIG_fail;
26728 swig_obj[0] = args;
26729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26730 if (!SWIG_IsOK(res1)) {
26731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26732 }
26733 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26734 {
26735 PyThreadState* __tstate = wxPyBeginAllowThreads();
26736 delete arg1;
26737
26738 wxPyEndAllowThreads(__tstate);
26739 if (PyErr_Occurred()) SWIG_fail;
26740 }
26741 resultobj = SWIG_Py_Void();
26742 return resultobj;
26743 fail:
26744 return NULL;
26745 }
26746
26747
26748 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26749 PyObject *resultobj = 0;
26750 wxPrinter *arg1 = (wxPrinter *) 0 ;
26751 wxWindow *arg2 = (wxWindow *) 0 ;
26752 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26753 wxWindow *result = 0 ;
26754 void *argp1 = 0 ;
26755 int res1 = 0 ;
26756 void *argp2 = 0 ;
26757 int res2 = 0 ;
26758 void *argp3 = 0 ;
26759 int res3 = 0 ;
26760 PyObject * obj0 = 0 ;
26761 PyObject * obj1 = 0 ;
26762 PyObject * obj2 = 0 ;
26763 char * kwnames[] = {
26764 (char *) "self",(char *) "parent",(char *) "printout", NULL
26765 };
26766
26767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26769 if (!SWIG_IsOK(res1)) {
26770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26771 }
26772 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26773 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26774 if (!SWIG_IsOK(res2)) {
26775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26776 }
26777 arg2 = reinterpret_cast< wxWindow * >(argp2);
26778 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26779 if (!SWIG_IsOK(res3)) {
26780 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26781 }
26782 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26783 {
26784 PyThreadState* __tstate = wxPyBeginAllowThreads();
26785 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
26786 wxPyEndAllowThreads(__tstate);
26787 if (PyErr_Occurred()) SWIG_fail;
26788 }
26789 {
26790 resultobj = wxPyMake_wxObject(result, 0);
26791 }
26792 return resultobj;
26793 fail:
26794 return NULL;
26795 }
26796
26797
26798 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26799 PyObject *resultobj = 0;
26800 wxPrinter *arg1 = (wxPrinter *) 0 ;
26801 wxWindow *arg2 = (wxWindow *) 0 ;
26802 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26803 wxString *arg4 = 0 ;
26804 void *argp1 = 0 ;
26805 int res1 = 0 ;
26806 void *argp2 = 0 ;
26807 int res2 = 0 ;
26808 void *argp3 = 0 ;
26809 int res3 = 0 ;
26810 bool temp4 = false ;
26811 PyObject * obj0 = 0 ;
26812 PyObject * obj1 = 0 ;
26813 PyObject * obj2 = 0 ;
26814 PyObject * obj3 = 0 ;
26815 char * kwnames[] = {
26816 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26817 };
26818
26819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
26820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26821 if (!SWIG_IsOK(res1)) {
26822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26823 }
26824 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26825 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26826 if (!SWIG_IsOK(res2)) {
26827 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26828 }
26829 arg2 = reinterpret_cast< wxWindow * >(argp2);
26830 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26831 if (!SWIG_IsOK(res3)) {
26832 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26833 }
26834 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26835 {
26836 arg4 = wxString_in_helper(obj3);
26837 if (arg4 == NULL) SWIG_fail;
26838 temp4 = true;
26839 }
26840 {
26841 PyThreadState* __tstate = wxPyBeginAllowThreads();
26842 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
26843 wxPyEndAllowThreads(__tstate);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 }
26846 resultobj = SWIG_Py_Void();
26847 {
26848 if (temp4)
26849 delete arg4;
26850 }
26851 return resultobj;
26852 fail:
26853 {
26854 if (temp4)
26855 delete arg4;
26856 }
26857 return NULL;
26858 }
26859
26860
26861 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26862 PyObject *resultobj = 0;
26863 wxPrinter *arg1 = (wxPrinter *) 0 ;
26864 wxWindow *arg2 = (wxWindow *) 0 ;
26865 bool result;
26866 void *argp1 = 0 ;
26867 int res1 = 0 ;
26868 void *argp2 = 0 ;
26869 int res2 = 0 ;
26870 PyObject * obj0 = 0 ;
26871 PyObject * obj1 = 0 ;
26872 char * kwnames[] = {
26873 (char *) "self",(char *) "parent", NULL
26874 };
26875
26876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
26877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26878 if (!SWIG_IsOK(res1)) {
26879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
26880 }
26881 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26882 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26883 if (!SWIG_IsOK(res2)) {
26884 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
26885 }
26886 arg2 = reinterpret_cast< wxWindow * >(argp2);
26887 {
26888 PyThreadState* __tstate = wxPyBeginAllowThreads();
26889 result = (bool)(arg1)->Setup(arg2);
26890 wxPyEndAllowThreads(__tstate);
26891 if (PyErr_Occurred()) SWIG_fail;
26892 }
26893 {
26894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26895 }
26896 return resultobj;
26897 fail:
26898 return NULL;
26899 }
26900
26901
26902 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26903 PyObject *resultobj = 0;
26904 wxPrinter *arg1 = (wxPrinter *) 0 ;
26905 wxWindow *arg2 = (wxWindow *) 0 ;
26906 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26907 bool arg4 = (bool) true ;
26908 bool result;
26909 void *argp1 = 0 ;
26910 int res1 = 0 ;
26911 void *argp2 = 0 ;
26912 int res2 = 0 ;
26913 void *argp3 = 0 ;
26914 int res3 = 0 ;
26915 bool val4 ;
26916 int ecode4 = 0 ;
26917 PyObject * obj0 = 0 ;
26918 PyObject * obj1 = 0 ;
26919 PyObject * obj2 = 0 ;
26920 PyObject * obj3 = 0 ;
26921 char * kwnames[] = {
26922 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
26923 };
26924
26925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
26926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26927 if (!SWIG_IsOK(res1)) {
26928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
26929 }
26930 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26931 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26932 if (!SWIG_IsOK(res2)) {
26933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
26934 }
26935 arg2 = reinterpret_cast< wxWindow * >(argp2);
26936 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26937 if (!SWIG_IsOK(res3)) {
26938 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26939 }
26940 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26941 if (obj3) {
26942 ecode4 = SWIG_AsVal_bool(obj3, &val4);
26943 if (!SWIG_IsOK(ecode4)) {
26944 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
26945 }
26946 arg4 = static_cast< bool >(val4);
26947 }
26948 {
26949 PyThreadState* __tstate = wxPyBeginAllowThreads();
26950 result = (bool)(arg1)->Print(arg2,arg3,arg4);
26951 wxPyEndAllowThreads(__tstate);
26952 if (PyErr_Occurred()) SWIG_fail;
26953 }
26954 {
26955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26956 }
26957 return resultobj;
26958 fail:
26959 return NULL;
26960 }
26961
26962
26963 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26964 PyObject *resultobj = 0;
26965 wxPrinter *arg1 = (wxPrinter *) 0 ;
26966 wxWindow *arg2 = (wxWindow *) 0 ;
26967 wxDC *result = 0 ;
26968 void *argp1 = 0 ;
26969 int res1 = 0 ;
26970 void *argp2 = 0 ;
26971 int res2 = 0 ;
26972 PyObject * obj0 = 0 ;
26973 PyObject * obj1 = 0 ;
26974 char * kwnames[] = {
26975 (char *) "self",(char *) "parent", NULL
26976 };
26977
26978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26980 if (!SWIG_IsOK(res1)) {
26981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
26982 }
26983 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26984 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26985 if (!SWIG_IsOK(res2)) {
26986 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
26987 }
26988 arg2 = reinterpret_cast< wxWindow * >(argp2);
26989 {
26990 PyThreadState* __tstate = wxPyBeginAllowThreads();
26991 result = (wxDC *)(arg1)->PrintDialog(arg2);
26992 wxPyEndAllowThreads(__tstate);
26993 if (PyErr_Occurred()) SWIG_fail;
26994 }
26995 {
26996 resultobj = wxPyMake_wxObject(result, (bool)0);
26997 }
26998 return resultobj;
26999 fail:
27000 return NULL;
27001 }
27002
27003
27004 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27005 PyObject *resultobj = 0;
27006 wxPrinter *arg1 = (wxPrinter *) 0 ;
27007 wxPrintDialogData *result = 0 ;
27008 void *argp1 = 0 ;
27009 int res1 = 0 ;
27010 PyObject *swig_obj[1] ;
27011
27012 if (!args) SWIG_fail;
27013 swig_obj[0] = args;
27014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27015 if (!SWIG_IsOK(res1)) {
27016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27017 }
27018 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27019 {
27020 PyThreadState* __tstate = wxPyBeginAllowThreads();
27021 {
27022 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27023 result = (wxPrintDialogData *) &_result_ref;
27024 }
27025 wxPyEndAllowThreads(__tstate);
27026 if (PyErr_Occurred()) SWIG_fail;
27027 }
27028 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27029 return resultobj;
27030 fail:
27031 return NULL;
27032 }
27033
27034
27035 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27036 PyObject *resultobj = 0;
27037 wxPrinter *arg1 = (wxPrinter *) 0 ;
27038 bool result;
27039 void *argp1 = 0 ;
27040 int res1 = 0 ;
27041 PyObject *swig_obj[1] ;
27042
27043 if (!args) SWIG_fail;
27044 swig_obj[0] = args;
27045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27046 if (!SWIG_IsOK(res1)) {
27047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27048 }
27049 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27050 {
27051 PyThreadState* __tstate = wxPyBeginAllowThreads();
27052 result = (bool)(arg1)->GetAbort();
27053 wxPyEndAllowThreads(__tstate);
27054 if (PyErr_Occurred()) SWIG_fail;
27055 }
27056 {
27057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27058 }
27059 return resultobj;
27060 fail:
27061 return NULL;
27062 }
27063
27064
27065 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27066 PyObject *resultobj = 0;
27067 wxPrinterError result;
27068
27069 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27070 {
27071 PyThreadState* __tstate = wxPyBeginAllowThreads();
27072 result = (wxPrinterError)wxPrinter::GetLastError();
27073 wxPyEndAllowThreads(__tstate);
27074 if (PyErr_Occurred()) SWIG_fail;
27075 }
27076 resultobj = SWIG_From_int(static_cast< int >(result));
27077 return resultobj;
27078 fail:
27079 return NULL;
27080 }
27081
27082
27083 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27084 PyObject *obj;
27085 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27086 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27087 return SWIG_Py_Void();
27088 }
27089
27090 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27091 return SWIG_Python_InitShadowInstance(args);
27092 }
27093
27094 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27095 PyObject *resultobj = 0;
27096 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27097 wxString *arg1 = (wxString *) &arg1_defvalue ;
27098 wxPyPrintout *result = 0 ;
27099 bool temp1 = false ;
27100 PyObject * obj0 = 0 ;
27101 char * kwnames[] = {
27102 (char *) "title", NULL
27103 };
27104
27105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27106 if (obj0) {
27107 {
27108 arg1 = wxString_in_helper(obj0);
27109 if (arg1 == NULL) SWIG_fail;
27110 temp1 = true;
27111 }
27112 }
27113 {
27114 if (!wxPyCheckForApp()) SWIG_fail;
27115 PyThreadState* __tstate = wxPyBeginAllowThreads();
27116 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27117 wxPyEndAllowThreads(__tstate);
27118 if (PyErr_Occurred()) SWIG_fail;
27119 }
27120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27121 {
27122 if (temp1)
27123 delete arg1;
27124 }
27125 return resultobj;
27126 fail:
27127 {
27128 if (temp1)
27129 delete arg1;
27130 }
27131 return NULL;
27132 }
27133
27134
27135 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27136 PyObject *resultobj = 0;
27137 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27138 void *argp1 = 0 ;
27139 int res1 = 0 ;
27140 PyObject *swig_obj[1] ;
27141
27142 if (!args) SWIG_fail;
27143 swig_obj[0] = args;
27144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27145 if (!SWIG_IsOK(res1)) {
27146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27147 }
27148 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27149 {
27150 PyThreadState* __tstate = wxPyBeginAllowThreads();
27151 delete arg1;
27152
27153 wxPyEndAllowThreads(__tstate);
27154 if (PyErr_Occurred()) SWIG_fail;
27155 }
27156 resultobj = SWIG_Py_Void();
27157 return resultobj;
27158 fail:
27159 return NULL;
27160 }
27161
27162
27163 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27164 PyObject *resultobj = 0;
27165 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27166 PyObject *arg2 = (PyObject *) 0 ;
27167 PyObject *arg3 = (PyObject *) 0 ;
27168 void *argp1 = 0 ;
27169 int res1 = 0 ;
27170 PyObject * obj0 = 0 ;
27171 PyObject * obj1 = 0 ;
27172 PyObject * obj2 = 0 ;
27173 char * kwnames[] = {
27174 (char *) "self",(char *) "self",(char *) "_class", NULL
27175 };
27176
27177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27179 if (!SWIG_IsOK(res1)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27181 }
27182 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27183 arg2 = obj1;
27184 arg3 = obj2;
27185 {
27186 PyThreadState* __tstate = wxPyBeginAllowThreads();
27187 (arg1)->_setCallbackInfo(arg2,arg3);
27188 wxPyEndAllowThreads(__tstate);
27189 if (PyErr_Occurred()) SWIG_fail;
27190 }
27191 resultobj = SWIG_Py_Void();
27192 return resultobj;
27193 fail:
27194 return NULL;
27195 }
27196
27197
27198 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27199 PyObject *resultobj = 0;
27200 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27201 wxString result;
27202 void *argp1 = 0 ;
27203 int res1 = 0 ;
27204 PyObject *swig_obj[1] ;
27205
27206 if (!args) SWIG_fail;
27207 swig_obj[0] = args;
27208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27209 if (!SWIG_IsOK(res1)) {
27210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27211 }
27212 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27213 {
27214 PyThreadState* __tstate = wxPyBeginAllowThreads();
27215 result = ((wxPyPrintout const *)arg1)->GetTitle();
27216 wxPyEndAllowThreads(__tstate);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 }
27219 {
27220 #if wxUSE_UNICODE
27221 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27222 #else
27223 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27224 #endif
27225 }
27226 return resultobj;
27227 fail:
27228 return NULL;
27229 }
27230
27231
27232 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27233 PyObject *resultobj = 0;
27234 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27235 wxDC *result = 0 ;
27236 void *argp1 = 0 ;
27237 int res1 = 0 ;
27238 PyObject *swig_obj[1] ;
27239
27240 if (!args) SWIG_fail;
27241 swig_obj[0] = args;
27242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27243 if (!SWIG_IsOK(res1)) {
27244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27245 }
27246 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27247 {
27248 PyThreadState* __tstate = wxPyBeginAllowThreads();
27249 result = (wxDC *)(arg1)->GetDC();
27250 wxPyEndAllowThreads(__tstate);
27251 if (PyErr_Occurred()) SWIG_fail;
27252 }
27253 {
27254 resultobj = wxPyMake_wxObject(result, (bool)0);
27255 }
27256 return resultobj;
27257 fail:
27258 return NULL;
27259 }
27260
27261
27262 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27263 PyObject *resultobj = 0;
27264 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27265 wxDC *arg2 = (wxDC *) 0 ;
27266 void *argp1 = 0 ;
27267 int res1 = 0 ;
27268 void *argp2 = 0 ;
27269 int res2 = 0 ;
27270 PyObject * obj0 = 0 ;
27271 PyObject * obj1 = 0 ;
27272 char * kwnames[] = {
27273 (char *) "self",(char *) "dc", NULL
27274 };
27275
27276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27278 if (!SWIG_IsOK(res1)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27280 }
27281 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27282 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27283 if (!SWIG_IsOK(res2)) {
27284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27285 }
27286 arg2 = reinterpret_cast< wxDC * >(argp2);
27287 {
27288 PyThreadState* __tstate = wxPyBeginAllowThreads();
27289 (arg1)->SetDC(arg2);
27290 wxPyEndAllowThreads(__tstate);
27291 if (PyErr_Occurred()) SWIG_fail;
27292 }
27293 resultobj = SWIG_Py_Void();
27294 return resultobj;
27295 fail:
27296 return NULL;
27297 }
27298
27299
27300 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27301 PyObject *resultobj = 0;
27302 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27303 int arg2 ;
27304 int arg3 ;
27305 void *argp1 = 0 ;
27306 int res1 = 0 ;
27307 int val2 ;
27308 int ecode2 = 0 ;
27309 int val3 ;
27310 int ecode3 = 0 ;
27311 PyObject * obj0 = 0 ;
27312 PyObject * obj1 = 0 ;
27313 PyObject * obj2 = 0 ;
27314 char * kwnames[] = {
27315 (char *) "self",(char *) "w",(char *) "h", NULL
27316 };
27317
27318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27320 if (!SWIG_IsOK(res1)) {
27321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27322 }
27323 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27324 ecode2 = SWIG_AsVal_int(obj1, &val2);
27325 if (!SWIG_IsOK(ecode2)) {
27326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27327 }
27328 arg2 = static_cast< int >(val2);
27329 ecode3 = SWIG_AsVal_int(obj2, &val3);
27330 if (!SWIG_IsOK(ecode3)) {
27331 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27332 }
27333 arg3 = static_cast< int >(val3);
27334 {
27335 PyThreadState* __tstate = wxPyBeginAllowThreads();
27336 (arg1)->SetPageSizePixels(arg2,arg3);
27337 wxPyEndAllowThreads(__tstate);
27338 if (PyErr_Occurred()) SWIG_fail;
27339 }
27340 resultobj = SWIG_Py_Void();
27341 return resultobj;
27342 fail:
27343 return NULL;
27344 }
27345
27346
27347 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27348 PyObject *resultobj = 0;
27349 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27350 int *arg2 = (int *) 0 ;
27351 int *arg3 = (int *) 0 ;
27352 void *argp1 = 0 ;
27353 int res1 = 0 ;
27354 int temp2 ;
27355 int res2 = SWIG_TMPOBJ ;
27356 int temp3 ;
27357 int res3 = SWIG_TMPOBJ ;
27358 PyObject *swig_obj[1] ;
27359
27360 arg2 = &temp2;
27361 arg3 = &temp3;
27362 if (!args) SWIG_fail;
27363 swig_obj[0] = args;
27364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27365 if (!SWIG_IsOK(res1)) {
27366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27367 }
27368 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27369 {
27370 PyThreadState* __tstate = wxPyBeginAllowThreads();
27371 (arg1)->GetPageSizePixels(arg2,arg3);
27372 wxPyEndAllowThreads(__tstate);
27373 if (PyErr_Occurred()) SWIG_fail;
27374 }
27375 resultobj = SWIG_Py_Void();
27376 if (SWIG_IsTmpObj(res2)) {
27377 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27378 } else {
27379 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27380 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27381 }
27382 if (SWIG_IsTmpObj(res3)) {
27383 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27384 } else {
27385 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27386 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27387 }
27388 return resultobj;
27389 fail:
27390 return NULL;
27391 }
27392
27393
27394 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27395 PyObject *resultobj = 0;
27396 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27397 int arg2 ;
27398 int arg3 ;
27399 void *argp1 = 0 ;
27400 int res1 = 0 ;
27401 int val2 ;
27402 int ecode2 = 0 ;
27403 int val3 ;
27404 int ecode3 = 0 ;
27405 PyObject * obj0 = 0 ;
27406 PyObject * obj1 = 0 ;
27407 PyObject * obj2 = 0 ;
27408 char * kwnames[] = {
27409 (char *) "self",(char *) "w",(char *) "h", NULL
27410 };
27411
27412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27414 if (!SWIG_IsOK(res1)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27416 }
27417 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27418 ecode2 = SWIG_AsVal_int(obj1, &val2);
27419 if (!SWIG_IsOK(ecode2)) {
27420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27421 }
27422 arg2 = static_cast< int >(val2);
27423 ecode3 = SWIG_AsVal_int(obj2, &val3);
27424 if (!SWIG_IsOK(ecode3)) {
27425 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27426 }
27427 arg3 = static_cast< int >(val3);
27428 {
27429 PyThreadState* __tstate = wxPyBeginAllowThreads();
27430 (arg1)->SetPageSizeMM(arg2,arg3);
27431 wxPyEndAllowThreads(__tstate);
27432 if (PyErr_Occurred()) SWIG_fail;
27433 }
27434 resultobj = SWIG_Py_Void();
27435 return resultobj;
27436 fail:
27437 return NULL;
27438 }
27439
27440
27441 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27442 PyObject *resultobj = 0;
27443 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27444 int *arg2 = (int *) 0 ;
27445 int *arg3 = (int *) 0 ;
27446 void *argp1 = 0 ;
27447 int res1 = 0 ;
27448 int temp2 ;
27449 int res2 = SWIG_TMPOBJ ;
27450 int temp3 ;
27451 int res3 = SWIG_TMPOBJ ;
27452 PyObject *swig_obj[1] ;
27453
27454 arg2 = &temp2;
27455 arg3 = &temp3;
27456 if (!args) SWIG_fail;
27457 swig_obj[0] = args;
27458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27459 if (!SWIG_IsOK(res1)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27461 }
27462 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27463 {
27464 PyThreadState* __tstate = wxPyBeginAllowThreads();
27465 (arg1)->GetPageSizeMM(arg2,arg3);
27466 wxPyEndAllowThreads(__tstate);
27467 if (PyErr_Occurred()) SWIG_fail;
27468 }
27469 resultobj = SWIG_Py_Void();
27470 if (SWIG_IsTmpObj(res2)) {
27471 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27472 } else {
27473 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27474 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27475 }
27476 if (SWIG_IsTmpObj(res3)) {
27477 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27478 } else {
27479 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27480 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27481 }
27482 return resultobj;
27483 fail:
27484 return NULL;
27485 }
27486
27487
27488 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27489 PyObject *resultobj = 0;
27490 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27491 int arg2 ;
27492 int arg3 ;
27493 void *argp1 = 0 ;
27494 int res1 = 0 ;
27495 int val2 ;
27496 int ecode2 = 0 ;
27497 int val3 ;
27498 int ecode3 = 0 ;
27499 PyObject * obj0 = 0 ;
27500 PyObject * obj1 = 0 ;
27501 PyObject * obj2 = 0 ;
27502 char * kwnames[] = {
27503 (char *) "self",(char *) "x",(char *) "y", NULL
27504 };
27505
27506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27508 if (!SWIG_IsOK(res1)) {
27509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27510 }
27511 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27512 ecode2 = SWIG_AsVal_int(obj1, &val2);
27513 if (!SWIG_IsOK(ecode2)) {
27514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27515 }
27516 arg2 = static_cast< int >(val2);
27517 ecode3 = SWIG_AsVal_int(obj2, &val3);
27518 if (!SWIG_IsOK(ecode3)) {
27519 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27520 }
27521 arg3 = static_cast< int >(val3);
27522 {
27523 PyThreadState* __tstate = wxPyBeginAllowThreads();
27524 (arg1)->SetPPIScreen(arg2,arg3);
27525 wxPyEndAllowThreads(__tstate);
27526 if (PyErr_Occurred()) SWIG_fail;
27527 }
27528 resultobj = SWIG_Py_Void();
27529 return resultobj;
27530 fail:
27531 return NULL;
27532 }
27533
27534
27535 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27536 PyObject *resultobj = 0;
27537 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27538 int *arg2 = (int *) 0 ;
27539 int *arg3 = (int *) 0 ;
27540 void *argp1 = 0 ;
27541 int res1 = 0 ;
27542 int temp2 ;
27543 int res2 = SWIG_TMPOBJ ;
27544 int temp3 ;
27545 int res3 = SWIG_TMPOBJ ;
27546 PyObject *swig_obj[1] ;
27547
27548 arg2 = &temp2;
27549 arg3 = &temp3;
27550 if (!args) SWIG_fail;
27551 swig_obj[0] = args;
27552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27553 if (!SWIG_IsOK(res1)) {
27554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27555 }
27556 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27557 {
27558 PyThreadState* __tstate = wxPyBeginAllowThreads();
27559 (arg1)->GetPPIScreen(arg2,arg3);
27560 wxPyEndAllowThreads(__tstate);
27561 if (PyErr_Occurred()) SWIG_fail;
27562 }
27563 resultobj = SWIG_Py_Void();
27564 if (SWIG_IsTmpObj(res2)) {
27565 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27566 } else {
27567 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27568 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27569 }
27570 if (SWIG_IsTmpObj(res3)) {
27571 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27572 } else {
27573 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27574 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27575 }
27576 return resultobj;
27577 fail:
27578 return NULL;
27579 }
27580
27581
27582 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27583 PyObject *resultobj = 0;
27584 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27585 int arg2 ;
27586 int arg3 ;
27587 void *argp1 = 0 ;
27588 int res1 = 0 ;
27589 int val2 ;
27590 int ecode2 = 0 ;
27591 int val3 ;
27592 int ecode3 = 0 ;
27593 PyObject * obj0 = 0 ;
27594 PyObject * obj1 = 0 ;
27595 PyObject * obj2 = 0 ;
27596 char * kwnames[] = {
27597 (char *) "self",(char *) "x",(char *) "y", NULL
27598 };
27599
27600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27602 if (!SWIG_IsOK(res1)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27604 }
27605 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27606 ecode2 = SWIG_AsVal_int(obj1, &val2);
27607 if (!SWIG_IsOK(ecode2)) {
27608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27609 }
27610 arg2 = static_cast< int >(val2);
27611 ecode3 = SWIG_AsVal_int(obj2, &val3);
27612 if (!SWIG_IsOK(ecode3)) {
27613 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27614 }
27615 arg3 = static_cast< int >(val3);
27616 {
27617 PyThreadState* __tstate = wxPyBeginAllowThreads();
27618 (arg1)->SetPPIPrinter(arg2,arg3);
27619 wxPyEndAllowThreads(__tstate);
27620 if (PyErr_Occurred()) SWIG_fail;
27621 }
27622 resultobj = SWIG_Py_Void();
27623 return resultobj;
27624 fail:
27625 return NULL;
27626 }
27627
27628
27629 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27630 PyObject *resultobj = 0;
27631 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27632 int *arg2 = (int *) 0 ;
27633 int *arg3 = (int *) 0 ;
27634 void *argp1 = 0 ;
27635 int res1 = 0 ;
27636 int temp2 ;
27637 int res2 = SWIG_TMPOBJ ;
27638 int temp3 ;
27639 int res3 = SWIG_TMPOBJ ;
27640 PyObject *swig_obj[1] ;
27641
27642 arg2 = &temp2;
27643 arg3 = &temp3;
27644 if (!args) SWIG_fail;
27645 swig_obj[0] = args;
27646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27647 if (!SWIG_IsOK(res1)) {
27648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27649 }
27650 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27651 {
27652 PyThreadState* __tstate = wxPyBeginAllowThreads();
27653 (arg1)->GetPPIPrinter(arg2,arg3);
27654 wxPyEndAllowThreads(__tstate);
27655 if (PyErr_Occurred()) SWIG_fail;
27656 }
27657 resultobj = SWIG_Py_Void();
27658 if (SWIG_IsTmpObj(res2)) {
27659 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27660 } else {
27661 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27662 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27663 }
27664 if (SWIG_IsTmpObj(res3)) {
27665 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27666 } else {
27667 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27668 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27669 }
27670 return resultobj;
27671 fail:
27672 return NULL;
27673 }
27674
27675
27676 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27677 PyObject *resultobj = 0;
27678 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27679 bool result;
27680 void *argp1 = 0 ;
27681 int res1 = 0 ;
27682 PyObject *swig_obj[1] ;
27683
27684 if (!args) SWIG_fail;
27685 swig_obj[0] = args;
27686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27687 if (!SWIG_IsOK(res1)) {
27688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27689 }
27690 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27691 {
27692 PyThreadState* __tstate = wxPyBeginAllowThreads();
27693 result = (bool)(arg1)->IsPreview();
27694 wxPyEndAllowThreads(__tstate);
27695 if (PyErr_Occurred()) SWIG_fail;
27696 }
27697 {
27698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27699 }
27700 return resultobj;
27701 fail:
27702 return NULL;
27703 }
27704
27705
27706 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27707 PyObject *resultobj = 0;
27708 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27709 bool arg2 ;
27710 void *argp1 = 0 ;
27711 int res1 = 0 ;
27712 bool val2 ;
27713 int ecode2 = 0 ;
27714 PyObject * obj0 = 0 ;
27715 PyObject * obj1 = 0 ;
27716 char * kwnames[] = {
27717 (char *) "self",(char *) "p", NULL
27718 };
27719
27720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27722 if (!SWIG_IsOK(res1)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27724 }
27725 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27726 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27727 if (!SWIG_IsOK(ecode2)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27729 }
27730 arg2 = static_cast< bool >(val2);
27731 {
27732 PyThreadState* __tstate = wxPyBeginAllowThreads();
27733 (arg1)->SetIsPreview(arg2);
27734 wxPyEndAllowThreads(__tstate);
27735 if (PyErr_Occurred()) SWIG_fail;
27736 }
27737 resultobj = SWIG_Py_Void();
27738 return resultobj;
27739 fail:
27740 return NULL;
27741 }
27742
27743
27744 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27745 PyObject *resultobj = 0;
27746 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27747 int arg2 ;
27748 int arg3 ;
27749 bool result;
27750 void *argp1 = 0 ;
27751 int res1 = 0 ;
27752 int val2 ;
27753 int ecode2 = 0 ;
27754 int val3 ;
27755 int ecode3 = 0 ;
27756 PyObject * obj0 = 0 ;
27757 PyObject * obj1 = 0 ;
27758 PyObject * obj2 = 0 ;
27759 char * kwnames[] = {
27760 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27761 };
27762
27763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27765 if (!SWIG_IsOK(res1)) {
27766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27767 }
27768 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27769 ecode2 = SWIG_AsVal_int(obj1, &val2);
27770 if (!SWIG_IsOK(ecode2)) {
27771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27772 }
27773 arg2 = static_cast< int >(val2);
27774 ecode3 = SWIG_AsVal_int(obj2, &val3);
27775 if (!SWIG_IsOK(ecode3)) {
27776 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27777 }
27778 arg3 = static_cast< int >(val3);
27779 {
27780 PyThreadState* __tstate = wxPyBeginAllowThreads();
27781 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
27782 wxPyEndAllowThreads(__tstate);
27783 if (PyErr_Occurred()) SWIG_fail;
27784 }
27785 {
27786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27787 }
27788 return resultobj;
27789 fail:
27790 return NULL;
27791 }
27792
27793
27794 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27795 PyObject *resultobj = 0;
27796 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27797 void *argp1 = 0 ;
27798 int res1 = 0 ;
27799 PyObject *swig_obj[1] ;
27800
27801 if (!args) SWIG_fail;
27802 swig_obj[0] = args;
27803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27804 if (!SWIG_IsOK(res1)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27806 }
27807 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27808 {
27809 PyThreadState* __tstate = wxPyBeginAllowThreads();
27810 (arg1)->OnEndDocument();
27811 wxPyEndAllowThreads(__tstate);
27812 if (PyErr_Occurred()) SWIG_fail;
27813 }
27814 resultobj = SWIG_Py_Void();
27815 return resultobj;
27816 fail:
27817 return NULL;
27818 }
27819
27820
27821 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27822 PyObject *resultobj = 0;
27823 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27824 void *argp1 = 0 ;
27825 int res1 = 0 ;
27826 PyObject *swig_obj[1] ;
27827
27828 if (!args) SWIG_fail;
27829 swig_obj[0] = args;
27830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27831 if (!SWIG_IsOK(res1)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27833 }
27834 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27835 {
27836 PyThreadState* __tstate = wxPyBeginAllowThreads();
27837 (arg1)->OnBeginPrinting();
27838 wxPyEndAllowThreads(__tstate);
27839 if (PyErr_Occurred()) SWIG_fail;
27840 }
27841 resultobj = SWIG_Py_Void();
27842 return resultobj;
27843 fail:
27844 return NULL;
27845 }
27846
27847
27848 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27849 PyObject *resultobj = 0;
27850 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27851 void *argp1 = 0 ;
27852 int res1 = 0 ;
27853 PyObject *swig_obj[1] ;
27854
27855 if (!args) SWIG_fail;
27856 swig_obj[0] = args;
27857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27858 if (!SWIG_IsOK(res1)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27860 }
27861 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27862 {
27863 PyThreadState* __tstate = wxPyBeginAllowThreads();
27864 (arg1)->OnEndPrinting();
27865 wxPyEndAllowThreads(__tstate);
27866 if (PyErr_Occurred()) SWIG_fail;
27867 }
27868 resultobj = SWIG_Py_Void();
27869 return resultobj;
27870 fail:
27871 return NULL;
27872 }
27873
27874
27875 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27876 PyObject *resultobj = 0;
27877 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27878 void *argp1 = 0 ;
27879 int res1 = 0 ;
27880 PyObject *swig_obj[1] ;
27881
27882 if (!args) SWIG_fail;
27883 swig_obj[0] = args;
27884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27885 if (!SWIG_IsOK(res1)) {
27886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27887 }
27888 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27889 {
27890 PyThreadState* __tstate = wxPyBeginAllowThreads();
27891 (arg1)->OnPreparePrinting();
27892 wxPyEndAllowThreads(__tstate);
27893 if (PyErr_Occurred()) SWIG_fail;
27894 }
27895 resultobj = SWIG_Py_Void();
27896 return resultobj;
27897 fail:
27898 return NULL;
27899 }
27900
27901
27902 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27903 PyObject *resultobj = 0;
27904 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27905 int arg2 ;
27906 bool result;
27907 void *argp1 = 0 ;
27908 int res1 = 0 ;
27909 int val2 ;
27910 int ecode2 = 0 ;
27911 PyObject * obj0 = 0 ;
27912 PyObject * obj1 = 0 ;
27913 char * kwnames[] = {
27914 (char *) "self",(char *) "page", NULL
27915 };
27916
27917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
27918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27919 if (!SWIG_IsOK(res1)) {
27920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27921 }
27922 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27923 ecode2 = SWIG_AsVal_int(obj1, &val2);
27924 if (!SWIG_IsOK(ecode2)) {
27925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
27926 }
27927 arg2 = static_cast< int >(val2);
27928 {
27929 PyThreadState* __tstate = wxPyBeginAllowThreads();
27930 result = (bool)(arg1)->HasPage(arg2);
27931 wxPyEndAllowThreads(__tstate);
27932 if (PyErr_Occurred()) SWIG_fail;
27933 }
27934 {
27935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27936 }
27937 return resultobj;
27938 fail:
27939 return NULL;
27940 }
27941
27942
27943 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27944 PyObject *resultobj = 0;
27945 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27946 int *arg2 = (int *) 0 ;
27947 int *arg3 = (int *) 0 ;
27948 int *arg4 = (int *) 0 ;
27949 int *arg5 = (int *) 0 ;
27950 void *argp1 = 0 ;
27951 int res1 = 0 ;
27952 int temp2 ;
27953 int res2 = SWIG_TMPOBJ ;
27954 int temp3 ;
27955 int res3 = SWIG_TMPOBJ ;
27956 int temp4 ;
27957 int res4 = SWIG_TMPOBJ ;
27958 int temp5 ;
27959 int res5 = SWIG_TMPOBJ ;
27960 PyObject *swig_obj[1] ;
27961
27962 arg2 = &temp2;
27963 arg3 = &temp3;
27964 arg4 = &temp4;
27965 arg5 = &temp5;
27966 if (!args) SWIG_fail;
27967 swig_obj[0] = args;
27968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27969 if (!SWIG_IsOK(res1)) {
27970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27971 }
27972 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27973 {
27974 PyThreadState* __tstate = wxPyBeginAllowThreads();
27975 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
27976 wxPyEndAllowThreads(__tstate);
27977 if (PyErr_Occurred()) SWIG_fail;
27978 }
27979 resultobj = SWIG_Py_Void();
27980 if (SWIG_IsTmpObj(res2)) {
27981 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27982 } else {
27983 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27984 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27985 }
27986 if (SWIG_IsTmpObj(res3)) {
27987 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27988 } else {
27989 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27990 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27991 }
27992 if (SWIG_IsTmpObj(res4)) {
27993 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
27994 } else {
27995 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27996 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
27997 }
27998 if (SWIG_IsTmpObj(res5)) {
27999 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28000 } else {
28001 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28002 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28003 }
28004 return resultobj;
28005 fail:
28006 return NULL;
28007 }
28008
28009
28010 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28011 PyObject *obj;
28012 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28013 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28014 return SWIG_Py_Void();
28015 }
28016
28017 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28018 return SWIG_Python_InitShadowInstance(args);
28019 }
28020
28021 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28022 PyObject *resultobj = 0;
28023 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28024 wxWindow *arg2 = (wxWindow *) 0 ;
28025 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28026 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28027 wxSize const &arg4_defvalue = wxDefaultSize ;
28028 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28029 long arg5 = (long) 0 ;
28030 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28031 wxString *arg6 = (wxString *) &arg6_defvalue ;
28032 wxPreviewCanvas *result = 0 ;
28033 void *argp1 = 0 ;
28034 int res1 = 0 ;
28035 void *argp2 = 0 ;
28036 int res2 = 0 ;
28037 wxPoint temp3 ;
28038 wxSize temp4 ;
28039 long val5 ;
28040 int ecode5 = 0 ;
28041 bool temp6 = false ;
28042 PyObject * obj0 = 0 ;
28043 PyObject * obj1 = 0 ;
28044 PyObject * obj2 = 0 ;
28045 PyObject * obj3 = 0 ;
28046 PyObject * obj4 = 0 ;
28047 PyObject * obj5 = 0 ;
28048 char * kwnames[] = {
28049 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28050 };
28051
28052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28054 if (!SWIG_IsOK(res1)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28056 }
28057 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28058 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28059 if (!SWIG_IsOK(res2)) {
28060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28061 }
28062 arg2 = reinterpret_cast< wxWindow * >(argp2);
28063 if (obj2) {
28064 {
28065 arg3 = &temp3;
28066 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28067 }
28068 }
28069 if (obj3) {
28070 {
28071 arg4 = &temp4;
28072 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28073 }
28074 }
28075 if (obj4) {
28076 ecode5 = SWIG_AsVal_long(obj4, &val5);
28077 if (!SWIG_IsOK(ecode5)) {
28078 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28079 }
28080 arg5 = static_cast< long >(val5);
28081 }
28082 if (obj5) {
28083 {
28084 arg6 = wxString_in_helper(obj5);
28085 if (arg6 == NULL) SWIG_fail;
28086 temp6 = true;
28087 }
28088 }
28089 {
28090 if (!wxPyCheckForApp()) SWIG_fail;
28091 PyThreadState* __tstate = wxPyBeginAllowThreads();
28092 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28093 wxPyEndAllowThreads(__tstate);
28094 if (PyErr_Occurred()) SWIG_fail;
28095 }
28096 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28097 {
28098 if (temp6)
28099 delete arg6;
28100 }
28101 return resultobj;
28102 fail:
28103 {
28104 if (temp6)
28105 delete arg6;
28106 }
28107 return NULL;
28108 }
28109
28110
28111 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28112 PyObject *obj;
28113 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28114 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28115 return SWIG_Py_Void();
28116 }
28117
28118 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28119 return SWIG_Python_InitShadowInstance(args);
28120 }
28121
28122 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28123 PyObject *resultobj = 0;
28124 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28125 wxFrame *arg2 = (wxFrame *) 0 ;
28126 wxString *arg3 = 0 ;
28127 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28128 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28129 wxSize const &arg5_defvalue = wxDefaultSize ;
28130 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28131 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28132 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28133 wxString *arg7 = (wxString *) &arg7_defvalue ;
28134 wxPreviewFrame *result = 0 ;
28135 int res1 = 0 ;
28136 void *argp2 = 0 ;
28137 int res2 = 0 ;
28138 bool temp3 = false ;
28139 wxPoint temp4 ;
28140 wxSize temp5 ;
28141 long val6 ;
28142 int ecode6 = 0 ;
28143 bool temp7 = false ;
28144 PyObject * obj0 = 0 ;
28145 PyObject * obj1 = 0 ;
28146 PyObject * obj2 = 0 ;
28147 PyObject * obj3 = 0 ;
28148 PyObject * obj4 = 0 ;
28149 PyObject * obj5 = 0 ;
28150 PyObject * obj6 = 0 ;
28151 char * kwnames[] = {
28152 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28153 };
28154
28155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28156 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28157 if (!SWIG_IsOK(res1)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28159 }
28160 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28161 if (!SWIG_IsOK(res2)) {
28162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28163 }
28164 arg2 = reinterpret_cast< wxFrame * >(argp2);
28165 {
28166 arg3 = wxString_in_helper(obj2);
28167 if (arg3 == NULL) SWIG_fail;
28168 temp3 = true;
28169 }
28170 if (obj3) {
28171 {
28172 arg4 = &temp4;
28173 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28174 }
28175 }
28176 if (obj4) {
28177 {
28178 arg5 = &temp5;
28179 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28180 }
28181 }
28182 if (obj5) {
28183 ecode6 = SWIG_AsVal_long(obj5, &val6);
28184 if (!SWIG_IsOK(ecode6)) {
28185 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28186 }
28187 arg6 = static_cast< long >(val6);
28188 }
28189 if (obj6) {
28190 {
28191 arg7 = wxString_in_helper(obj6);
28192 if (arg7 == NULL) SWIG_fail;
28193 temp7 = true;
28194 }
28195 }
28196 {
28197 if (!wxPyCheckForApp()) SWIG_fail;
28198 PyThreadState* __tstate = wxPyBeginAllowThreads();
28199 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28200 wxPyEndAllowThreads(__tstate);
28201 if (PyErr_Occurred()) SWIG_fail;
28202 }
28203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28204 {
28205 if (temp3)
28206 delete arg3;
28207 }
28208 {
28209 if (temp7)
28210 delete arg7;
28211 }
28212 return resultobj;
28213 fail:
28214 {
28215 if (temp3)
28216 delete arg3;
28217 }
28218 {
28219 if (temp7)
28220 delete arg7;
28221 }
28222 return NULL;
28223 }
28224
28225
28226 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28227 PyObject *resultobj = 0;
28228 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28229 void *argp1 = 0 ;
28230 int res1 = 0 ;
28231 PyObject *swig_obj[1] ;
28232
28233 if (!args) SWIG_fail;
28234 swig_obj[0] = args;
28235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28236 if (!SWIG_IsOK(res1)) {
28237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28238 }
28239 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28240 {
28241 PyThreadState* __tstate = wxPyBeginAllowThreads();
28242 (arg1)->Initialize();
28243 wxPyEndAllowThreads(__tstate);
28244 if (PyErr_Occurred()) SWIG_fail;
28245 }
28246 resultobj = SWIG_Py_Void();
28247 return resultobj;
28248 fail:
28249 return NULL;
28250 }
28251
28252
28253 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28254 PyObject *resultobj = 0;
28255 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28256 void *argp1 = 0 ;
28257 int res1 = 0 ;
28258 PyObject *swig_obj[1] ;
28259
28260 if (!args) SWIG_fail;
28261 swig_obj[0] = args;
28262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28263 if (!SWIG_IsOK(res1)) {
28264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28265 }
28266 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28267 {
28268 PyThreadState* __tstate = wxPyBeginAllowThreads();
28269 (arg1)->CreateControlBar();
28270 wxPyEndAllowThreads(__tstate);
28271 if (PyErr_Occurred()) SWIG_fail;
28272 }
28273 resultobj = SWIG_Py_Void();
28274 return resultobj;
28275 fail:
28276 return NULL;
28277 }
28278
28279
28280 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28281 PyObject *resultobj = 0;
28282 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28283 void *argp1 = 0 ;
28284 int res1 = 0 ;
28285 PyObject *swig_obj[1] ;
28286
28287 if (!args) SWIG_fail;
28288 swig_obj[0] = args;
28289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28290 if (!SWIG_IsOK(res1)) {
28291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28292 }
28293 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28294 {
28295 PyThreadState* __tstate = wxPyBeginAllowThreads();
28296 (arg1)->CreateCanvas();
28297 wxPyEndAllowThreads(__tstate);
28298 if (PyErr_Occurred()) SWIG_fail;
28299 }
28300 resultobj = SWIG_Py_Void();
28301 return resultobj;
28302 fail:
28303 return NULL;
28304 }
28305
28306
28307 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28308 PyObject *resultobj = 0;
28309 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28310 wxPreviewControlBar *result = 0 ;
28311 void *argp1 = 0 ;
28312 int res1 = 0 ;
28313 PyObject *swig_obj[1] ;
28314
28315 if (!args) SWIG_fail;
28316 swig_obj[0] = args;
28317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28318 if (!SWIG_IsOK(res1)) {
28319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28320 }
28321 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28322 {
28323 PyThreadState* __tstate = wxPyBeginAllowThreads();
28324 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28325 wxPyEndAllowThreads(__tstate);
28326 if (PyErr_Occurred()) SWIG_fail;
28327 }
28328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28329 return resultobj;
28330 fail:
28331 return NULL;
28332 }
28333
28334
28335 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28336 PyObject *obj;
28337 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28338 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28339 return SWIG_Py_Void();
28340 }
28341
28342 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28343 return SWIG_Python_InitShadowInstance(args);
28344 }
28345
28346 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28347 PyObject *resultobj = 0;
28348 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28349 long arg2 ;
28350 wxWindow *arg3 = (wxWindow *) 0 ;
28351 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28352 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28353 wxSize const &arg5_defvalue = wxDefaultSize ;
28354 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28355 long arg6 = (long) wxTAB_TRAVERSAL ;
28356 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28357 wxString *arg7 = (wxString *) &arg7_defvalue ;
28358 wxPreviewControlBar *result = 0 ;
28359 void *argp1 = 0 ;
28360 int res1 = 0 ;
28361 long val2 ;
28362 int ecode2 = 0 ;
28363 void *argp3 = 0 ;
28364 int res3 = 0 ;
28365 wxPoint temp4 ;
28366 wxSize temp5 ;
28367 long val6 ;
28368 int ecode6 = 0 ;
28369 bool temp7 = false ;
28370 PyObject * obj0 = 0 ;
28371 PyObject * obj1 = 0 ;
28372 PyObject * obj2 = 0 ;
28373 PyObject * obj3 = 0 ;
28374 PyObject * obj4 = 0 ;
28375 PyObject * obj5 = 0 ;
28376 PyObject * obj6 = 0 ;
28377 char * kwnames[] = {
28378 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28379 };
28380
28381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28383 if (!SWIG_IsOK(res1)) {
28384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28385 }
28386 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28387 ecode2 = SWIG_AsVal_long(obj1, &val2);
28388 if (!SWIG_IsOK(ecode2)) {
28389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28390 }
28391 arg2 = static_cast< long >(val2);
28392 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28393 if (!SWIG_IsOK(res3)) {
28394 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28395 }
28396 arg3 = reinterpret_cast< wxWindow * >(argp3);
28397 if (obj3) {
28398 {
28399 arg4 = &temp4;
28400 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28401 }
28402 }
28403 if (obj4) {
28404 {
28405 arg5 = &temp5;
28406 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28407 }
28408 }
28409 if (obj5) {
28410 ecode6 = SWIG_AsVal_long(obj5, &val6);
28411 if (!SWIG_IsOK(ecode6)) {
28412 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28413 }
28414 arg6 = static_cast< long >(val6);
28415 }
28416 if (obj6) {
28417 {
28418 arg7 = wxString_in_helper(obj6);
28419 if (arg7 == NULL) SWIG_fail;
28420 temp7 = true;
28421 }
28422 }
28423 {
28424 if (!wxPyCheckForApp()) SWIG_fail;
28425 PyThreadState* __tstate = wxPyBeginAllowThreads();
28426 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28427 wxPyEndAllowThreads(__tstate);
28428 if (PyErr_Occurred()) SWIG_fail;
28429 }
28430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28431 {
28432 if (temp7)
28433 delete arg7;
28434 }
28435 return resultobj;
28436 fail:
28437 {
28438 if (temp7)
28439 delete arg7;
28440 }
28441 return NULL;
28442 }
28443
28444
28445 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28446 PyObject *resultobj = 0;
28447 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28448 int result;
28449 void *argp1 = 0 ;
28450 int res1 = 0 ;
28451 PyObject *swig_obj[1] ;
28452
28453 if (!args) SWIG_fail;
28454 swig_obj[0] = args;
28455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28456 if (!SWIG_IsOK(res1)) {
28457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28458 }
28459 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28460 {
28461 PyThreadState* __tstate = wxPyBeginAllowThreads();
28462 result = (int)(arg1)->GetZoomControl();
28463 wxPyEndAllowThreads(__tstate);
28464 if (PyErr_Occurred()) SWIG_fail;
28465 }
28466 resultobj = SWIG_From_int(static_cast< int >(result));
28467 return resultobj;
28468 fail:
28469 return NULL;
28470 }
28471
28472
28473 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28474 PyObject *resultobj = 0;
28475 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28476 int arg2 ;
28477 void *argp1 = 0 ;
28478 int res1 = 0 ;
28479 int val2 ;
28480 int ecode2 = 0 ;
28481 PyObject * obj0 = 0 ;
28482 PyObject * obj1 = 0 ;
28483 char * kwnames[] = {
28484 (char *) "self",(char *) "zoom", NULL
28485 };
28486
28487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28489 if (!SWIG_IsOK(res1)) {
28490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28491 }
28492 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28493 ecode2 = SWIG_AsVal_int(obj1, &val2);
28494 if (!SWIG_IsOK(ecode2)) {
28495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28496 }
28497 arg2 = static_cast< int >(val2);
28498 {
28499 PyThreadState* __tstate = wxPyBeginAllowThreads();
28500 (arg1)->SetZoomControl(arg2);
28501 wxPyEndAllowThreads(__tstate);
28502 if (PyErr_Occurred()) SWIG_fail;
28503 }
28504 resultobj = SWIG_Py_Void();
28505 return resultobj;
28506 fail:
28507 return NULL;
28508 }
28509
28510
28511 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28512 PyObject *resultobj = 0;
28513 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28514 wxPrintPreview *result = 0 ;
28515 void *argp1 = 0 ;
28516 int res1 = 0 ;
28517 PyObject *swig_obj[1] ;
28518
28519 if (!args) SWIG_fail;
28520 swig_obj[0] = args;
28521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28522 if (!SWIG_IsOK(res1)) {
28523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28524 }
28525 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28526 {
28527 PyThreadState* __tstate = wxPyBeginAllowThreads();
28528 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28529 wxPyEndAllowThreads(__tstate);
28530 if (PyErr_Occurred()) SWIG_fail;
28531 }
28532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28533 return resultobj;
28534 fail:
28535 return NULL;
28536 }
28537
28538
28539 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28540 PyObject *resultobj = 0;
28541 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28542 void *argp1 = 0 ;
28543 int res1 = 0 ;
28544 PyObject *swig_obj[1] ;
28545
28546 if (!args) SWIG_fail;
28547 swig_obj[0] = args;
28548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28549 if (!SWIG_IsOK(res1)) {
28550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28551 }
28552 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28553 {
28554 PyThreadState* __tstate = wxPyBeginAllowThreads();
28555 (arg1)->OnNext();
28556 wxPyEndAllowThreads(__tstate);
28557 if (PyErr_Occurred()) SWIG_fail;
28558 }
28559 resultobj = SWIG_Py_Void();
28560 return resultobj;
28561 fail:
28562 return NULL;
28563 }
28564
28565
28566 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28567 PyObject *resultobj = 0;
28568 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28569 void *argp1 = 0 ;
28570 int res1 = 0 ;
28571 PyObject *swig_obj[1] ;
28572
28573 if (!args) SWIG_fail;
28574 swig_obj[0] = args;
28575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28576 if (!SWIG_IsOK(res1)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28578 }
28579 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28580 {
28581 PyThreadState* __tstate = wxPyBeginAllowThreads();
28582 (arg1)->OnPrevious();
28583 wxPyEndAllowThreads(__tstate);
28584 if (PyErr_Occurred()) SWIG_fail;
28585 }
28586 resultobj = SWIG_Py_Void();
28587 return resultobj;
28588 fail:
28589 return NULL;
28590 }
28591
28592
28593 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28594 PyObject *resultobj = 0;
28595 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28596 void *argp1 = 0 ;
28597 int res1 = 0 ;
28598 PyObject *swig_obj[1] ;
28599
28600 if (!args) SWIG_fail;
28601 swig_obj[0] = args;
28602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28603 if (!SWIG_IsOK(res1)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28605 }
28606 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28607 {
28608 PyThreadState* __tstate = wxPyBeginAllowThreads();
28609 (arg1)->OnFirst();
28610 wxPyEndAllowThreads(__tstate);
28611 if (PyErr_Occurred()) SWIG_fail;
28612 }
28613 resultobj = SWIG_Py_Void();
28614 return resultobj;
28615 fail:
28616 return NULL;
28617 }
28618
28619
28620 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28621 PyObject *resultobj = 0;
28622 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28623 void *argp1 = 0 ;
28624 int res1 = 0 ;
28625 PyObject *swig_obj[1] ;
28626
28627 if (!args) SWIG_fail;
28628 swig_obj[0] = args;
28629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28630 if (!SWIG_IsOK(res1)) {
28631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28632 }
28633 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28634 {
28635 PyThreadState* __tstate = wxPyBeginAllowThreads();
28636 (arg1)->OnLast();
28637 wxPyEndAllowThreads(__tstate);
28638 if (PyErr_Occurred()) SWIG_fail;
28639 }
28640 resultobj = SWIG_Py_Void();
28641 return resultobj;
28642 fail:
28643 return NULL;
28644 }
28645
28646
28647 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28648 PyObject *resultobj = 0;
28649 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28650 void *argp1 = 0 ;
28651 int res1 = 0 ;
28652 PyObject *swig_obj[1] ;
28653
28654 if (!args) SWIG_fail;
28655 swig_obj[0] = args;
28656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28657 if (!SWIG_IsOK(res1)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28659 }
28660 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28661 {
28662 PyThreadState* __tstate = wxPyBeginAllowThreads();
28663 (arg1)->OnGoto();
28664 wxPyEndAllowThreads(__tstate);
28665 if (PyErr_Occurred()) SWIG_fail;
28666 }
28667 resultobj = SWIG_Py_Void();
28668 return resultobj;
28669 fail:
28670 return NULL;
28671 }
28672
28673
28674 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28675 PyObject *obj;
28676 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28677 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28678 return SWIG_Py_Void();
28679 }
28680
28681 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28682 return SWIG_Python_InitShadowInstance(args);
28683 }
28684
28685 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28686 PyObject *resultobj = 0;
28687 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28688 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28689 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28690 wxPrintPreview *result = 0 ;
28691 int res1 = 0 ;
28692 int res2 = 0 ;
28693 void *argp3 = 0 ;
28694 int res3 = 0 ;
28695
28696 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28697 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28698 if (!SWIG_IsOK(res1)) {
28699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28700 }
28701 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28702 if (!SWIG_IsOK(res2)) {
28703 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28704 }
28705 if (swig_obj[2]) {
28706 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28707 if (!SWIG_IsOK(res3)) {
28708 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28709 }
28710 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28711 }
28712 {
28713 if (!wxPyCheckForApp()) SWIG_fail;
28714 PyThreadState* __tstate = wxPyBeginAllowThreads();
28715 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28716 wxPyEndAllowThreads(__tstate);
28717 if (PyErr_Occurred()) SWIG_fail;
28718 }
28719 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28720 return resultobj;
28721 fail:
28722 return NULL;
28723 }
28724
28725
28726 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28727 PyObject *resultobj = 0;
28728 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28729 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28730 wxPrintData *arg3 = (wxPrintData *) 0 ;
28731 wxPrintPreview *result = 0 ;
28732 int res1 = 0 ;
28733 int res2 = 0 ;
28734 void *argp3 = 0 ;
28735 int res3 = 0 ;
28736
28737 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28738 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28739 if (!SWIG_IsOK(res1)) {
28740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28741 }
28742 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28743 if (!SWIG_IsOK(res2)) {
28744 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28745 }
28746 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28747 if (!SWIG_IsOK(res3)) {
28748 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28749 }
28750 arg3 = reinterpret_cast< wxPrintData * >(argp3);
28751 {
28752 if (!wxPyCheckForApp()) SWIG_fail;
28753 PyThreadState* __tstate = wxPyBeginAllowThreads();
28754 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28755 wxPyEndAllowThreads(__tstate);
28756 if (PyErr_Occurred()) SWIG_fail;
28757 }
28758 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28759 return resultobj;
28760 fail:
28761 return NULL;
28762 }
28763
28764
28765 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
28766 int argc;
28767 PyObject *argv[4];
28768
28769 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
28770 --argc;
28771 if ((argc >= 2) && (argc <= 3)) {
28772 int _v = 0;
28773 if (argc > 2) {
28774 {
28775 void *vptr = 0;
28776 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
28777 _v = SWIG_CheckState(res);
28778 }
28779 if (!_v) goto check_1;
28780 }
28781 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
28782 }
28783 check_1:
28784
28785 if (argc == 3) {
28786 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
28787 }
28788
28789 fail:
28790 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
28791 return NULL;
28792 }
28793
28794
28795 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28796 PyObject *resultobj = 0;
28797 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28798 void *argp1 = 0 ;
28799 int res1 = 0 ;
28800 PyObject *swig_obj[1] ;
28801
28802 if (!args) SWIG_fail;
28803 swig_obj[0] = args;
28804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28805 if (!SWIG_IsOK(res1)) {
28806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28807 }
28808 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28809 {
28810 PyThreadState* __tstate = wxPyBeginAllowThreads();
28811 delete arg1;
28812
28813 wxPyEndAllowThreads(__tstate);
28814 if (PyErr_Occurred()) SWIG_fail;
28815 }
28816 resultobj = SWIG_Py_Void();
28817 return resultobj;
28818 fail:
28819 return NULL;
28820 }
28821
28822
28823 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28824 PyObject *resultobj = 0;
28825 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28826 int arg2 ;
28827 bool result;
28828 void *argp1 = 0 ;
28829 int res1 = 0 ;
28830 int val2 ;
28831 int ecode2 = 0 ;
28832 PyObject * obj0 = 0 ;
28833 PyObject * obj1 = 0 ;
28834 char * kwnames[] = {
28835 (char *) "self",(char *) "pageNum", NULL
28836 };
28837
28838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
28839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28840 if (!SWIG_IsOK(res1)) {
28841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28842 }
28843 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28844 ecode2 = SWIG_AsVal_int(obj1, &val2);
28845 if (!SWIG_IsOK(ecode2)) {
28846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28847 }
28848 arg2 = static_cast< int >(val2);
28849 {
28850 PyThreadState* __tstate = wxPyBeginAllowThreads();
28851 result = (bool)(arg1)->SetCurrentPage(arg2);
28852 wxPyEndAllowThreads(__tstate);
28853 if (PyErr_Occurred()) SWIG_fail;
28854 }
28855 {
28856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28857 }
28858 return resultobj;
28859 fail:
28860 return NULL;
28861 }
28862
28863
28864 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28865 PyObject *resultobj = 0;
28866 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28867 int result;
28868 void *argp1 = 0 ;
28869 int res1 = 0 ;
28870 PyObject *swig_obj[1] ;
28871
28872 if (!args) SWIG_fail;
28873 swig_obj[0] = args;
28874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28875 if (!SWIG_IsOK(res1)) {
28876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28877 }
28878 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28879 {
28880 PyThreadState* __tstate = wxPyBeginAllowThreads();
28881 result = (int)(arg1)->GetCurrentPage();
28882 wxPyEndAllowThreads(__tstate);
28883 if (PyErr_Occurred()) SWIG_fail;
28884 }
28885 resultobj = SWIG_From_int(static_cast< int >(result));
28886 return resultobj;
28887 fail:
28888 return NULL;
28889 }
28890
28891
28892 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28893 PyObject *resultobj = 0;
28894 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28895 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28896 void *argp1 = 0 ;
28897 int res1 = 0 ;
28898 int res2 = 0 ;
28899 PyObject * obj0 = 0 ;
28900 PyObject * obj1 = 0 ;
28901 char * kwnames[] = {
28902 (char *) "self",(char *) "printout", NULL
28903 };
28904
28905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
28906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28907 if (!SWIG_IsOK(res1)) {
28908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28909 }
28910 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28911 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28912 if (!SWIG_IsOK(res2)) {
28913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28914 }
28915 {
28916 PyThreadState* __tstate = wxPyBeginAllowThreads();
28917 (arg1)->SetPrintout(arg2);
28918 wxPyEndAllowThreads(__tstate);
28919 if (PyErr_Occurred()) SWIG_fail;
28920 }
28921 resultobj = SWIG_Py_Void();
28922 return resultobj;
28923 fail:
28924 return NULL;
28925 }
28926
28927
28928 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28929 PyObject *resultobj = 0;
28930 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28931 wxPyPrintout *result = 0 ;
28932 void *argp1 = 0 ;
28933 int res1 = 0 ;
28934 PyObject *swig_obj[1] ;
28935
28936 if (!args) SWIG_fail;
28937 swig_obj[0] = args;
28938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28939 if (!SWIG_IsOK(res1)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28941 }
28942 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28943 {
28944 PyThreadState* __tstate = wxPyBeginAllowThreads();
28945 result = (wxPyPrintout *)(arg1)->GetPrintout();
28946 wxPyEndAllowThreads(__tstate);
28947 if (PyErr_Occurred()) SWIG_fail;
28948 }
28949 {
28950 resultobj = wxPyMake_wxObject(result, 0);
28951 }
28952 return resultobj;
28953 fail:
28954 return NULL;
28955 }
28956
28957
28958 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28959 PyObject *resultobj = 0;
28960 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28961 wxPyPrintout *result = 0 ;
28962 void *argp1 = 0 ;
28963 int res1 = 0 ;
28964 PyObject *swig_obj[1] ;
28965
28966 if (!args) SWIG_fail;
28967 swig_obj[0] = args;
28968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28969 if (!SWIG_IsOK(res1)) {
28970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28971 }
28972 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28973 {
28974 PyThreadState* __tstate = wxPyBeginAllowThreads();
28975 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
28976 wxPyEndAllowThreads(__tstate);
28977 if (PyErr_Occurred()) SWIG_fail;
28978 }
28979 {
28980 resultobj = wxPyMake_wxObject(result, 0);
28981 }
28982 return resultobj;
28983 fail:
28984 return NULL;
28985 }
28986
28987
28988 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28989 PyObject *resultobj = 0;
28990 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28991 wxFrame *arg2 = (wxFrame *) 0 ;
28992 void *argp1 = 0 ;
28993 int res1 = 0 ;
28994 void *argp2 = 0 ;
28995 int res2 = 0 ;
28996 PyObject * obj0 = 0 ;
28997 PyObject * obj1 = 0 ;
28998 char * kwnames[] = {
28999 (char *) "self",(char *) "frame", NULL
29000 };
29001
29002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29004 if (!SWIG_IsOK(res1)) {
29005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29006 }
29007 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29008 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29009 if (!SWIG_IsOK(res2)) {
29010 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29011 }
29012 arg2 = reinterpret_cast< wxFrame * >(argp2);
29013 {
29014 PyThreadState* __tstate = wxPyBeginAllowThreads();
29015 (arg1)->SetFrame(arg2);
29016 wxPyEndAllowThreads(__tstate);
29017 if (PyErr_Occurred()) SWIG_fail;
29018 }
29019 resultobj = SWIG_Py_Void();
29020 return resultobj;
29021 fail:
29022 return NULL;
29023 }
29024
29025
29026 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29027 PyObject *resultobj = 0;
29028 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29029 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29030 void *argp1 = 0 ;
29031 int res1 = 0 ;
29032 void *argp2 = 0 ;
29033 int res2 = 0 ;
29034 PyObject * obj0 = 0 ;
29035 PyObject * obj1 = 0 ;
29036 char * kwnames[] = {
29037 (char *) "self",(char *) "canvas", NULL
29038 };
29039
29040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29042 if (!SWIG_IsOK(res1)) {
29043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29044 }
29045 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29046 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29047 if (!SWIG_IsOK(res2)) {
29048 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29049 }
29050 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29051 {
29052 PyThreadState* __tstate = wxPyBeginAllowThreads();
29053 (arg1)->SetCanvas(arg2);
29054 wxPyEndAllowThreads(__tstate);
29055 if (PyErr_Occurred()) SWIG_fail;
29056 }
29057 resultobj = SWIG_Py_Void();
29058 return resultobj;
29059 fail:
29060 return NULL;
29061 }
29062
29063
29064 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29065 PyObject *resultobj = 0;
29066 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29067 wxFrame *result = 0 ;
29068 void *argp1 = 0 ;
29069 int res1 = 0 ;
29070 PyObject *swig_obj[1] ;
29071
29072 if (!args) SWIG_fail;
29073 swig_obj[0] = args;
29074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29075 if (!SWIG_IsOK(res1)) {
29076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29077 }
29078 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29079 {
29080 PyThreadState* __tstate = wxPyBeginAllowThreads();
29081 result = (wxFrame *)(arg1)->GetFrame();
29082 wxPyEndAllowThreads(__tstate);
29083 if (PyErr_Occurred()) SWIG_fail;
29084 }
29085 {
29086 resultobj = wxPyMake_wxObject(result, 0);
29087 }
29088 return resultobj;
29089 fail:
29090 return NULL;
29091 }
29092
29093
29094 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29095 PyObject *resultobj = 0;
29096 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29097 wxPreviewCanvas *result = 0 ;
29098 void *argp1 = 0 ;
29099 int res1 = 0 ;
29100 PyObject *swig_obj[1] ;
29101
29102 if (!args) SWIG_fail;
29103 swig_obj[0] = args;
29104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29105 if (!SWIG_IsOK(res1)) {
29106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29107 }
29108 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29109 {
29110 PyThreadState* __tstate = wxPyBeginAllowThreads();
29111 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29112 wxPyEndAllowThreads(__tstate);
29113 if (PyErr_Occurred()) SWIG_fail;
29114 }
29115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29116 return resultobj;
29117 fail:
29118 return NULL;
29119 }
29120
29121
29122 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29123 PyObject *resultobj = 0;
29124 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29125 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29126 wxDC *arg3 = 0 ;
29127 bool result;
29128 void *argp1 = 0 ;
29129 int res1 = 0 ;
29130 void *argp2 = 0 ;
29131 int res2 = 0 ;
29132 void *argp3 = 0 ;
29133 int res3 = 0 ;
29134 PyObject * obj0 = 0 ;
29135 PyObject * obj1 = 0 ;
29136 PyObject * obj2 = 0 ;
29137 char * kwnames[] = {
29138 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29139 };
29140
29141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29143 if (!SWIG_IsOK(res1)) {
29144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29145 }
29146 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29147 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29148 if (!SWIG_IsOK(res2)) {
29149 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29150 }
29151 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29152 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29153 if (!SWIG_IsOK(res3)) {
29154 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29155 }
29156 if (!argp3) {
29157 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29158 }
29159 arg3 = reinterpret_cast< wxDC * >(argp3);
29160 {
29161 PyThreadState* __tstate = wxPyBeginAllowThreads();
29162 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29163 wxPyEndAllowThreads(__tstate);
29164 if (PyErr_Occurred()) SWIG_fail;
29165 }
29166 {
29167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29168 }
29169 return resultobj;
29170 fail:
29171 return NULL;
29172 }
29173
29174
29175 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29176 PyObject *resultobj = 0;
29177 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29178 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29179 wxDC *arg3 = 0 ;
29180 bool result;
29181 void *argp1 = 0 ;
29182 int res1 = 0 ;
29183 void *argp2 = 0 ;
29184 int res2 = 0 ;
29185 void *argp3 = 0 ;
29186 int res3 = 0 ;
29187 PyObject * obj0 = 0 ;
29188 PyObject * obj1 = 0 ;
29189 PyObject * obj2 = 0 ;
29190 char * kwnames[] = {
29191 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29192 };
29193
29194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29196 if (!SWIG_IsOK(res1)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29198 }
29199 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29200 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29201 if (!SWIG_IsOK(res2)) {
29202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29203 }
29204 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29205 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29206 if (!SWIG_IsOK(res3)) {
29207 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29208 }
29209 if (!argp3) {
29210 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29211 }
29212 arg3 = reinterpret_cast< wxDC * >(argp3);
29213 {
29214 PyThreadState* __tstate = wxPyBeginAllowThreads();
29215 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29216 wxPyEndAllowThreads(__tstate);
29217 if (PyErr_Occurred()) SWIG_fail;
29218 }
29219 {
29220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29221 }
29222 return resultobj;
29223 fail:
29224 return NULL;
29225 }
29226
29227
29228 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29229 PyObject *resultobj = 0;
29230 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29231 int arg2 ;
29232 bool result;
29233 void *argp1 = 0 ;
29234 int res1 = 0 ;
29235 int val2 ;
29236 int ecode2 = 0 ;
29237 PyObject * obj0 = 0 ;
29238 PyObject * obj1 = 0 ;
29239 char * kwnames[] = {
29240 (char *) "self",(char *) "pageNum", NULL
29241 };
29242
29243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29245 if (!SWIG_IsOK(res1)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29247 }
29248 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29249 ecode2 = SWIG_AsVal_int(obj1, &val2);
29250 if (!SWIG_IsOK(ecode2)) {
29251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29252 }
29253 arg2 = static_cast< int >(val2);
29254 {
29255 PyThreadState* __tstate = wxPyBeginAllowThreads();
29256 result = (bool)(arg1)->RenderPage(arg2);
29257 wxPyEndAllowThreads(__tstate);
29258 if (PyErr_Occurred()) SWIG_fail;
29259 }
29260 {
29261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29262 }
29263 return resultobj;
29264 fail:
29265 return NULL;
29266 }
29267
29268
29269 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29270 PyObject *resultobj = 0;
29271 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29272 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29273 void *argp1 = 0 ;
29274 int res1 = 0 ;
29275 void *argp2 = 0 ;
29276 int res2 = 0 ;
29277 PyObject * obj0 = 0 ;
29278 PyObject * obj1 = 0 ;
29279 char * kwnames[] = {
29280 (char *) "self",(char *) "canvas", NULL
29281 };
29282
29283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29285 if (!SWIG_IsOK(res1)) {
29286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29287 }
29288 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29289 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29290 if (!SWIG_IsOK(res2)) {
29291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29292 }
29293 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29294 {
29295 PyThreadState* __tstate = wxPyBeginAllowThreads();
29296 (arg1)->AdjustScrollbars(arg2);
29297 wxPyEndAllowThreads(__tstate);
29298 if (PyErr_Occurred()) SWIG_fail;
29299 }
29300 resultobj = SWIG_Py_Void();
29301 return resultobj;
29302 fail:
29303 return NULL;
29304 }
29305
29306
29307 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29308 PyObject *resultobj = 0;
29309 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29310 wxPrintDialogData *result = 0 ;
29311 void *argp1 = 0 ;
29312 int res1 = 0 ;
29313 PyObject *swig_obj[1] ;
29314
29315 if (!args) SWIG_fail;
29316 swig_obj[0] = args;
29317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29318 if (!SWIG_IsOK(res1)) {
29319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29320 }
29321 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29322 {
29323 PyThreadState* __tstate = wxPyBeginAllowThreads();
29324 {
29325 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29326 result = (wxPrintDialogData *) &_result_ref;
29327 }
29328 wxPyEndAllowThreads(__tstate);
29329 if (PyErr_Occurred()) SWIG_fail;
29330 }
29331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29332 return resultobj;
29333 fail:
29334 return NULL;
29335 }
29336
29337
29338 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29339 PyObject *resultobj = 0;
29340 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29341 int arg2 ;
29342 void *argp1 = 0 ;
29343 int res1 = 0 ;
29344 int val2 ;
29345 int ecode2 = 0 ;
29346 PyObject * obj0 = 0 ;
29347 PyObject * obj1 = 0 ;
29348 char * kwnames[] = {
29349 (char *) "self",(char *) "percent", NULL
29350 };
29351
29352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29354 if (!SWIG_IsOK(res1)) {
29355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29356 }
29357 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29358 ecode2 = SWIG_AsVal_int(obj1, &val2);
29359 if (!SWIG_IsOK(ecode2)) {
29360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29361 }
29362 arg2 = static_cast< int >(val2);
29363 {
29364 PyThreadState* __tstate = wxPyBeginAllowThreads();
29365 (arg1)->SetZoom(arg2);
29366 wxPyEndAllowThreads(__tstate);
29367 if (PyErr_Occurred()) SWIG_fail;
29368 }
29369 resultobj = SWIG_Py_Void();
29370 return resultobj;
29371 fail:
29372 return NULL;
29373 }
29374
29375
29376 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29377 PyObject *resultobj = 0;
29378 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29379 int result;
29380 void *argp1 = 0 ;
29381 int res1 = 0 ;
29382 PyObject *swig_obj[1] ;
29383
29384 if (!args) SWIG_fail;
29385 swig_obj[0] = args;
29386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29387 if (!SWIG_IsOK(res1)) {
29388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29389 }
29390 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29391 {
29392 PyThreadState* __tstate = wxPyBeginAllowThreads();
29393 result = (int)(arg1)->GetZoom();
29394 wxPyEndAllowThreads(__tstate);
29395 if (PyErr_Occurred()) SWIG_fail;
29396 }
29397 resultobj = SWIG_From_int(static_cast< int >(result));
29398 return resultobj;
29399 fail:
29400 return NULL;
29401 }
29402
29403
29404 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29405 PyObject *resultobj = 0;
29406 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29407 int result;
29408 void *argp1 = 0 ;
29409 int res1 = 0 ;
29410 PyObject *swig_obj[1] ;
29411
29412 if (!args) SWIG_fail;
29413 swig_obj[0] = args;
29414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29415 if (!SWIG_IsOK(res1)) {
29416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29417 }
29418 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29419 {
29420 PyThreadState* __tstate = wxPyBeginAllowThreads();
29421 result = (int)(arg1)->GetMaxPage();
29422 wxPyEndAllowThreads(__tstate);
29423 if (PyErr_Occurred()) SWIG_fail;
29424 }
29425 resultobj = SWIG_From_int(static_cast< int >(result));
29426 return resultobj;
29427 fail:
29428 return NULL;
29429 }
29430
29431
29432 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29433 PyObject *resultobj = 0;
29434 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29435 int result;
29436 void *argp1 = 0 ;
29437 int res1 = 0 ;
29438 PyObject *swig_obj[1] ;
29439
29440 if (!args) SWIG_fail;
29441 swig_obj[0] = args;
29442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29443 if (!SWIG_IsOK(res1)) {
29444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29445 }
29446 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29447 {
29448 PyThreadState* __tstate = wxPyBeginAllowThreads();
29449 result = (int)(arg1)->GetMinPage();
29450 wxPyEndAllowThreads(__tstate);
29451 if (PyErr_Occurred()) SWIG_fail;
29452 }
29453 resultobj = SWIG_From_int(static_cast< int >(result));
29454 return resultobj;
29455 fail:
29456 return NULL;
29457 }
29458
29459
29460 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29461 PyObject *resultobj = 0;
29462 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29463 bool result;
29464 void *argp1 = 0 ;
29465 int res1 = 0 ;
29466 PyObject *swig_obj[1] ;
29467
29468 if (!args) SWIG_fail;
29469 swig_obj[0] = args;
29470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29471 if (!SWIG_IsOK(res1)) {
29472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29473 }
29474 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29475 {
29476 PyThreadState* __tstate = wxPyBeginAllowThreads();
29477 result = (bool)(arg1)->Ok();
29478 wxPyEndAllowThreads(__tstate);
29479 if (PyErr_Occurred()) SWIG_fail;
29480 }
29481 {
29482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29483 }
29484 return resultobj;
29485 fail:
29486 return NULL;
29487 }
29488
29489
29490 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29491 PyObject *resultobj = 0;
29492 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29493 bool arg2 ;
29494 void *argp1 = 0 ;
29495 int res1 = 0 ;
29496 bool val2 ;
29497 int ecode2 = 0 ;
29498 PyObject * obj0 = 0 ;
29499 PyObject * obj1 = 0 ;
29500 char * kwnames[] = {
29501 (char *) "self",(char *) "ok", NULL
29502 };
29503
29504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29506 if (!SWIG_IsOK(res1)) {
29507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29508 }
29509 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29510 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29511 if (!SWIG_IsOK(ecode2)) {
29512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29513 }
29514 arg2 = static_cast< bool >(val2);
29515 {
29516 PyThreadState* __tstate = wxPyBeginAllowThreads();
29517 (arg1)->SetOk(arg2);
29518 wxPyEndAllowThreads(__tstate);
29519 if (PyErr_Occurred()) SWIG_fail;
29520 }
29521 resultobj = SWIG_Py_Void();
29522 return resultobj;
29523 fail:
29524 return NULL;
29525 }
29526
29527
29528 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29529 PyObject *resultobj = 0;
29530 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29531 bool arg2 ;
29532 bool result;
29533 void *argp1 = 0 ;
29534 int res1 = 0 ;
29535 bool val2 ;
29536 int ecode2 = 0 ;
29537 PyObject * obj0 = 0 ;
29538 PyObject * obj1 = 0 ;
29539 char * kwnames[] = {
29540 (char *) "self",(char *) "interactive", NULL
29541 };
29542
29543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29545 if (!SWIG_IsOK(res1)) {
29546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29547 }
29548 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29549 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29550 if (!SWIG_IsOK(ecode2)) {
29551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29552 }
29553 arg2 = static_cast< bool >(val2);
29554 {
29555 PyThreadState* __tstate = wxPyBeginAllowThreads();
29556 result = (bool)(arg1)->Print(arg2);
29557 wxPyEndAllowThreads(__tstate);
29558 if (PyErr_Occurred()) SWIG_fail;
29559 }
29560 {
29561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29562 }
29563 return resultobj;
29564 fail:
29565 return NULL;
29566 }
29567
29568
29569 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29570 PyObject *resultobj = 0;
29571 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29572 void *argp1 = 0 ;
29573 int res1 = 0 ;
29574 PyObject *swig_obj[1] ;
29575
29576 if (!args) SWIG_fail;
29577 swig_obj[0] = args;
29578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29579 if (!SWIG_IsOK(res1)) {
29580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29581 }
29582 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29583 {
29584 PyThreadState* __tstate = wxPyBeginAllowThreads();
29585 (arg1)->DetermineScaling();
29586 wxPyEndAllowThreads(__tstate);
29587 if (PyErr_Occurred()) SWIG_fail;
29588 }
29589 resultobj = SWIG_Py_Void();
29590 return resultobj;
29591 fail:
29592 return NULL;
29593 }
29594
29595
29596 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29597 PyObject *obj;
29598 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29599 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29600 return SWIG_Py_Void();
29601 }
29602
29603 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29604 return SWIG_Python_InitShadowInstance(args);
29605 }
29606
29607 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29608 PyObject *resultobj = 0;
29609 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29610 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29611 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29612 wxPyPrintPreview *result = 0 ;
29613 int res1 = 0 ;
29614 int res2 = 0 ;
29615 void *argp3 = 0 ;
29616 int res3 = 0 ;
29617
29618 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29619 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29620 if (!SWIG_IsOK(res1)) {
29621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29622 }
29623 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29624 if (!SWIG_IsOK(res2)) {
29625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29626 }
29627 if (swig_obj[2]) {
29628 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29629 if (!SWIG_IsOK(res3)) {
29630 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29631 }
29632 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29633 }
29634 {
29635 if (!wxPyCheckForApp()) SWIG_fail;
29636 PyThreadState* __tstate = wxPyBeginAllowThreads();
29637 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29638 wxPyEndAllowThreads(__tstate);
29639 if (PyErr_Occurred()) SWIG_fail;
29640 }
29641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29642 return resultobj;
29643 fail:
29644 return NULL;
29645 }
29646
29647
29648 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29649 PyObject *resultobj = 0;
29650 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29651 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29652 wxPrintData *arg3 = (wxPrintData *) 0 ;
29653 wxPyPrintPreview *result = 0 ;
29654 int res1 = 0 ;
29655 int res2 = 0 ;
29656 void *argp3 = 0 ;
29657 int res3 = 0 ;
29658
29659 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29660 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29661 if (!SWIG_IsOK(res1)) {
29662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29663 }
29664 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29665 if (!SWIG_IsOK(res2)) {
29666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29667 }
29668 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29669 if (!SWIG_IsOK(res3)) {
29670 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29671 }
29672 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29673 {
29674 if (!wxPyCheckForApp()) SWIG_fail;
29675 PyThreadState* __tstate = wxPyBeginAllowThreads();
29676 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29677 wxPyEndAllowThreads(__tstate);
29678 if (PyErr_Occurred()) SWIG_fail;
29679 }
29680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29681 return resultobj;
29682 fail:
29683 return NULL;
29684 }
29685
29686
29687 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29688 int argc;
29689 PyObject *argv[4];
29690
29691 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29692 --argc;
29693 if ((argc >= 2) && (argc <= 3)) {
29694 int _v = 0;
29695 if (argc > 2) {
29696 {
29697 void *vptr = 0;
29698 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29699 _v = SWIG_CheckState(res);
29700 }
29701 if (!_v) goto check_1;
29702 }
29703 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29704 }
29705 check_1:
29706
29707 if (argc == 3) {
29708 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29709 }
29710
29711 fail:
29712 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29713 return NULL;
29714 }
29715
29716
29717 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29718 PyObject *resultobj = 0;
29719 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29720 PyObject *arg2 = (PyObject *) 0 ;
29721 PyObject *arg3 = (PyObject *) 0 ;
29722 void *argp1 = 0 ;
29723 int res1 = 0 ;
29724 PyObject * obj0 = 0 ;
29725 PyObject * obj1 = 0 ;
29726 PyObject * obj2 = 0 ;
29727 char * kwnames[] = {
29728 (char *) "self",(char *) "self",(char *) "_class", NULL
29729 };
29730
29731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29733 if (!SWIG_IsOK(res1)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29735 }
29736 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29737 arg2 = obj1;
29738 arg3 = obj2;
29739 {
29740 PyThreadState* __tstate = wxPyBeginAllowThreads();
29741 (arg1)->_setCallbackInfo(arg2,arg3);
29742 wxPyEndAllowThreads(__tstate);
29743 if (PyErr_Occurred()) SWIG_fail;
29744 }
29745 resultobj = SWIG_Py_Void();
29746 return resultobj;
29747 fail:
29748 return NULL;
29749 }
29750
29751
29752 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29753 PyObject *obj;
29754 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29755 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
29756 return SWIG_Py_Void();
29757 }
29758
29759 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29760 return SWIG_Python_InitShadowInstance(args);
29761 }
29762
29763 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29764 PyObject *resultobj = 0;
29765 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29766 wxFrame *arg2 = (wxFrame *) 0 ;
29767 wxString *arg3 = 0 ;
29768 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29769 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29770 wxSize const &arg5_defvalue = wxDefaultSize ;
29771 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29772 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29773 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29774 wxString *arg7 = (wxString *) &arg7_defvalue ;
29775 wxPyPreviewFrame *result = 0 ;
29776 void *argp1 = 0 ;
29777 int res1 = 0 ;
29778 void *argp2 = 0 ;
29779 int res2 = 0 ;
29780 bool temp3 = false ;
29781 wxPoint temp4 ;
29782 wxSize temp5 ;
29783 long val6 ;
29784 int ecode6 = 0 ;
29785 bool temp7 = false ;
29786 PyObject * obj0 = 0 ;
29787 PyObject * obj1 = 0 ;
29788 PyObject * obj2 = 0 ;
29789 PyObject * obj3 = 0 ;
29790 PyObject * obj4 = 0 ;
29791 PyObject * obj5 = 0 ;
29792 PyObject * obj6 = 0 ;
29793 char * kwnames[] = {
29794 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29795 };
29796
29797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29799 if (!SWIG_IsOK(res1)) {
29800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29801 }
29802 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29803 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29804 if (!SWIG_IsOK(res2)) {
29805 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29806 }
29807 arg2 = reinterpret_cast< wxFrame * >(argp2);
29808 {
29809 arg3 = wxString_in_helper(obj2);
29810 if (arg3 == NULL) SWIG_fail;
29811 temp3 = true;
29812 }
29813 if (obj3) {
29814 {
29815 arg4 = &temp4;
29816 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29817 }
29818 }
29819 if (obj4) {
29820 {
29821 arg5 = &temp5;
29822 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29823 }
29824 }
29825 if (obj5) {
29826 ecode6 = SWIG_AsVal_long(obj5, &val6);
29827 if (!SWIG_IsOK(ecode6)) {
29828 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29829 }
29830 arg6 = static_cast< long >(val6);
29831 }
29832 if (obj6) {
29833 {
29834 arg7 = wxString_in_helper(obj6);
29835 if (arg7 == NULL) SWIG_fail;
29836 temp7 = true;
29837 }
29838 }
29839 {
29840 if (!wxPyCheckForApp()) SWIG_fail;
29841 PyThreadState* __tstate = wxPyBeginAllowThreads();
29842 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29843 wxPyEndAllowThreads(__tstate);
29844 if (PyErr_Occurred()) SWIG_fail;
29845 }
29846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
29847 {
29848 if (temp3)
29849 delete arg3;
29850 }
29851 {
29852 if (temp7)
29853 delete arg7;
29854 }
29855 return resultobj;
29856 fail:
29857 {
29858 if (temp3)
29859 delete arg3;
29860 }
29861 {
29862 if (temp7)
29863 delete arg7;
29864 }
29865 return NULL;
29866 }
29867
29868
29869 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29870 PyObject *resultobj = 0;
29871 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29872 PyObject *arg2 = (PyObject *) 0 ;
29873 PyObject *arg3 = (PyObject *) 0 ;
29874 void *argp1 = 0 ;
29875 int res1 = 0 ;
29876 PyObject * obj0 = 0 ;
29877 PyObject * obj1 = 0 ;
29878 PyObject * obj2 = 0 ;
29879 char * kwnames[] = {
29880 (char *) "self",(char *) "self",(char *) "_class", NULL
29881 };
29882
29883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
29885 if (!SWIG_IsOK(res1)) {
29886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29887 }
29888 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
29889 arg2 = obj1;
29890 arg3 = obj2;
29891 {
29892 PyThreadState* __tstate = wxPyBeginAllowThreads();
29893 (arg1)->_setCallbackInfo(arg2,arg3);
29894 wxPyEndAllowThreads(__tstate);
29895 if (PyErr_Occurred()) SWIG_fail;
29896 }
29897 resultobj = SWIG_Py_Void();
29898 return resultobj;
29899 fail:
29900 return NULL;
29901 }
29902
29903
29904 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29905 PyObject *resultobj = 0;
29906 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29907 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29908 void *argp1 = 0 ;
29909 int res1 = 0 ;
29910 void *argp2 = 0 ;
29911 int res2 = 0 ;
29912 PyObject * obj0 = 0 ;
29913 PyObject * obj1 = 0 ;
29914 char * kwnames[] = {
29915 (char *) "self",(char *) "canvas", NULL
29916 };
29917
29918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
29920 if (!SWIG_IsOK(res1)) {
29921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29922 }
29923 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
29924 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29925 if (!SWIG_IsOK(res2)) {
29926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29927 }
29928 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29929 {
29930 PyThreadState* __tstate = wxPyBeginAllowThreads();
29931 (arg1)->SetPreviewCanvas(arg2);
29932 wxPyEndAllowThreads(__tstate);
29933 if (PyErr_Occurred()) SWIG_fail;
29934 }
29935 resultobj = SWIG_Py_Void();
29936 return resultobj;
29937 fail:
29938 return NULL;
29939 }
29940
29941
29942 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29943 PyObject *resultobj = 0;
29944 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29945 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
29946 void *argp1 = 0 ;
29947 int res1 = 0 ;
29948 void *argp2 = 0 ;
29949 int res2 = 0 ;
29950 PyObject * obj0 = 0 ;
29951 PyObject * obj1 = 0 ;
29952 char * kwnames[] = {
29953 (char *) "self",(char *) "bar", NULL
29954 };
29955
29956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
29957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
29958 if (!SWIG_IsOK(res1)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29960 }
29961 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
29962 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29963 if (!SWIG_IsOK(res2)) {
29964 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
29965 }
29966 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
29967 {
29968 PyThreadState* __tstate = wxPyBeginAllowThreads();
29969 (arg1)->SetControlBar(arg2);
29970 wxPyEndAllowThreads(__tstate);
29971 if (PyErr_Occurred()) SWIG_fail;
29972 }
29973 resultobj = SWIG_Py_Void();
29974 return resultobj;
29975 fail:
29976 return NULL;
29977 }
29978
29979
29980 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29981 PyObject *resultobj = 0;
29982 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29983 void *argp1 = 0 ;
29984 int res1 = 0 ;
29985 PyObject *swig_obj[1] ;
29986
29987 if (!args) SWIG_fail;
29988 swig_obj[0] = args;
29989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
29990 if (!SWIG_IsOK(res1)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29992 }
29993 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 (arg1)->Initialize();
29997 wxPyEndAllowThreads(__tstate);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
30000 resultobj = SWIG_Py_Void();
30001 return resultobj;
30002 fail:
30003 return NULL;
30004 }
30005
30006
30007 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30008 PyObject *resultobj = 0;
30009 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30010 void *argp1 = 0 ;
30011 int res1 = 0 ;
30012 PyObject *swig_obj[1] ;
30013
30014 if (!args) SWIG_fail;
30015 swig_obj[0] = args;
30016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30017 if (!SWIG_IsOK(res1)) {
30018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30019 }
30020 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30021 {
30022 PyThreadState* __tstate = wxPyBeginAllowThreads();
30023 (arg1)->CreateCanvas();
30024 wxPyEndAllowThreads(__tstate);
30025 if (PyErr_Occurred()) SWIG_fail;
30026 }
30027 resultobj = SWIG_Py_Void();
30028 return resultobj;
30029 fail:
30030 return NULL;
30031 }
30032
30033
30034 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30035 PyObject *resultobj = 0;
30036 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30037 void *argp1 = 0 ;
30038 int res1 = 0 ;
30039 PyObject *swig_obj[1] ;
30040
30041 if (!args) SWIG_fail;
30042 swig_obj[0] = args;
30043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30044 if (!SWIG_IsOK(res1)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30046 }
30047 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30048 {
30049 PyThreadState* __tstate = wxPyBeginAllowThreads();
30050 (arg1)->CreateControlBar();
30051 wxPyEndAllowThreads(__tstate);
30052 if (PyErr_Occurred()) SWIG_fail;
30053 }
30054 resultobj = SWIG_Py_Void();
30055 return resultobj;
30056 fail:
30057 return NULL;
30058 }
30059
30060
30061 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30062 PyObject *obj;
30063 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30064 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30065 return SWIG_Py_Void();
30066 }
30067
30068 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30069 return SWIG_Python_InitShadowInstance(args);
30070 }
30071
30072 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30073 PyObject *resultobj = 0;
30074 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30075 long arg2 ;
30076 wxWindow *arg3 = (wxWindow *) 0 ;
30077 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30078 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30079 wxSize const &arg5_defvalue = wxDefaultSize ;
30080 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30081 long arg6 = (long) 0 ;
30082 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30083 wxString *arg7 = (wxString *) &arg7_defvalue ;
30084 wxPyPreviewControlBar *result = 0 ;
30085 void *argp1 = 0 ;
30086 int res1 = 0 ;
30087 long val2 ;
30088 int ecode2 = 0 ;
30089 void *argp3 = 0 ;
30090 int res3 = 0 ;
30091 wxPoint temp4 ;
30092 wxSize temp5 ;
30093 long val6 ;
30094 int ecode6 = 0 ;
30095 bool temp7 = false ;
30096 PyObject * obj0 = 0 ;
30097 PyObject * obj1 = 0 ;
30098 PyObject * obj2 = 0 ;
30099 PyObject * obj3 = 0 ;
30100 PyObject * obj4 = 0 ;
30101 PyObject * obj5 = 0 ;
30102 PyObject * obj6 = 0 ;
30103 char * kwnames[] = {
30104 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30105 };
30106
30107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30109 if (!SWIG_IsOK(res1)) {
30110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30111 }
30112 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30113 ecode2 = SWIG_AsVal_long(obj1, &val2);
30114 if (!SWIG_IsOK(ecode2)) {
30115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30116 }
30117 arg2 = static_cast< long >(val2);
30118 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30119 if (!SWIG_IsOK(res3)) {
30120 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30121 }
30122 arg3 = reinterpret_cast< wxWindow * >(argp3);
30123 if (obj3) {
30124 {
30125 arg4 = &temp4;
30126 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30127 }
30128 }
30129 if (obj4) {
30130 {
30131 arg5 = &temp5;
30132 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30133 }
30134 }
30135 if (obj5) {
30136 ecode6 = SWIG_AsVal_long(obj5, &val6);
30137 if (!SWIG_IsOK(ecode6)) {
30138 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30139 }
30140 arg6 = static_cast< long >(val6);
30141 }
30142 if (obj6) {
30143 {
30144 arg7 = wxString_in_helper(obj6);
30145 if (arg7 == NULL) SWIG_fail;
30146 temp7 = true;
30147 }
30148 }
30149 {
30150 if (!wxPyCheckForApp()) SWIG_fail;
30151 PyThreadState* __tstate = wxPyBeginAllowThreads();
30152 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30153 wxPyEndAllowThreads(__tstate);
30154 if (PyErr_Occurred()) SWIG_fail;
30155 }
30156 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30157 {
30158 if (temp7)
30159 delete arg7;
30160 }
30161 return resultobj;
30162 fail:
30163 {
30164 if (temp7)
30165 delete arg7;
30166 }
30167 return NULL;
30168 }
30169
30170
30171 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30172 PyObject *resultobj = 0;
30173 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30174 PyObject *arg2 = (PyObject *) 0 ;
30175 PyObject *arg3 = (PyObject *) 0 ;
30176 void *argp1 = 0 ;
30177 int res1 = 0 ;
30178 PyObject * obj0 = 0 ;
30179 PyObject * obj1 = 0 ;
30180 PyObject * obj2 = 0 ;
30181 char * kwnames[] = {
30182 (char *) "self",(char *) "self",(char *) "_class", NULL
30183 };
30184
30185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30187 if (!SWIG_IsOK(res1)) {
30188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30189 }
30190 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30191 arg2 = obj1;
30192 arg3 = obj2;
30193 {
30194 PyThreadState* __tstate = wxPyBeginAllowThreads();
30195 (arg1)->_setCallbackInfo(arg2,arg3);
30196 wxPyEndAllowThreads(__tstate);
30197 if (PyErr_Occurred()) SWIG_fail;
30198 }
30199 resultobj = SWIG_Py_Void();
30200 return resultobj;
30201 fail:
30202 return NULL;
30203 }
30204
30205
30206 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30207 PyObject *resultobj = 0;
30208 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30209 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30210 void *argp1 = 0 ;
30211 int res1 = 0 ;
30212 void *argp2 = 0 ;
30213 int res2 = 0 ;
30214 PyObject * obj0 = 0 ;
30215 PyObject * obj1 = 0 ;
30216 char * kwnames[] = {
30217 (char *) "self",(char *) "preview", NULL
30218 };
30219
30220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30222 if (!SWIG_IsOK(res1)) {
30223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30224 }
30225 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30226 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30227 if (!SWIG_IsOK(res2)) {
30228 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30229 }
30230 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30231 {
30232 PyThreadState* __tstate = wxPyBeginAllowThreads();
30233 (arg1)->SetPrintPreview(arg2);
30234 wxPyEndAllowThreads(__tstate);
30235 if (PyErr_Occurred()) SWIG_fail;
30236 }
30237 resultobj = SWIG_Py_Void();
30238 return resultobj;
30239 fail:
30240 return NULL;
30241 }
30242
30243
30244 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30245 PyObject *resultobj = 0;
30246 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30247 void *argp1 = 0 ;
30248 int res1 = 0 ;
30249 PyObject *swig_obj[1] ;
30250
30251 if (!args) SWIG_fail;
30252 swig_obj[0] = args;
30253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30254 if (!SWIG_IsOK(res1)) {
30255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30256 }
30257 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30258 {
30259 PyThreadState* __tstate = wxPyBeginAllowThreads();
30260 (arg1)->CreateButtons();
30261 wxPyEndAllowThreads(__tstate);
30262 if (PyErr_Occurred()) SWIG_fail;
30263 }
30264 resultobj = SWIG_Py_Void();
30265 return resultobj;
30266 fail:
30267 return NULL;
30268 }
30269
30270
30271 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30272 PyObject *resultobj = 0;
30273 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30274 int arg2 ;
30275 void *argp1 = 0 ;
30276 int res1 = 0 ;
30277 int val2 ;
30278 int ecode2 = 0 ;
30279 PyObject * obj0 = 0 ;
30280 PyObject * obj1 = 0 ;
30281 char * kwnames[] = {
30282 (char *) "self",(char *) "zoom", NULL
30283 };
30284
30285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30287 if (!SWIG_IsOK(res1)) {
30288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30289 }
30290 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30291 ecode2 = SWIG_AsVal_int(obj1, &val2);
30292 if (!SWIG_IsOK(ecode2)) {
30293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30294 }
30295 arg2 = static_cast< int >(val2);
30296 {
30297 PyThreadState* __tstate = wxPyBeginAllowThreads();
30298 (arg1)->SetZoomControl(arg2);
30299 wxPyEndAllowThreads(__tstate);
30300 if (PyErr_Occurred()) SWIG_fail;
30301 }
30302 resultobj = SWIG_Py_Void();
30303 return resultobj;
30304 fail:
30305 return NULL;
30306 }
30307
30308
30309 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30310 PyObject *obj;
30311 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30312 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30313 return SWIG_Py_Void();
30314 }
30315
30316 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30317 return SWIG_Python_InitShadowInstance(args);
30318 }
30319
30320 static PyMethodDef SwigMethods[] = {
30321 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30322 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30323 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30324 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30325 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30326 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30327 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30328 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30329 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30330 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30331 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30332 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30333 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30334 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30335 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30336 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30337 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30338 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30339 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30340 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30341 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30342 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30343 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30344 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30345 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30346 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30347 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30348 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30349 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30350 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30351 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30352 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30353 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30354 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30355 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30356 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30357 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30358 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30359 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30360 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30361 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30362 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30363 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30364 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30365 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30366 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30367 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30368 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30369 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30370 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30371 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30372 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30373 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30374 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30375 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30376 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30377 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30378 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30379 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30380 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30381 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30382 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30383 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30384 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30385 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30386 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30387 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30388 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30389 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30390 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30391 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30392 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30393 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30394 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30395 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30396 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30397 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30398 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30399 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30400 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30401 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30402 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30403 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30404 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30405 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30406 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30407 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30408 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30409 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30410 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30411 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30412 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30413 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30414 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30415 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30416 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30417 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30418 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30419 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30420 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30421 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30422 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30423 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30424 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30425 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30426 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30427 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30428 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30429 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30430 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30431 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30432 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30433 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30434 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30435 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30436 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30437 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30438 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30439 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30440 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30441 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30442 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30443 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30444 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30445 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30446 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30447 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30448 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30449 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30450 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30451 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30452 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30453 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30454 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30455 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30456 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30457 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30458 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30459 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30460 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30461 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30462 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30463 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30464 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30465 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30466 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30467 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30468 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30469 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30470 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30471 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30472 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30473 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30474 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30475 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30476 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30477 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30478 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30479 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30480 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30481 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30482 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30483 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30484 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30485 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30486 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30487 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30488 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30489 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30490 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30491 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30492 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30493 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30494 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30495 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30496 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30497 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30498 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30499 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30500 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30501 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30502 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30503 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30504 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30505 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30506 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30507 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30508 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30509 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30510 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30511 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30512 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30513 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30514 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30515 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30516 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30517 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30518 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30519 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30520 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30521 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30522 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30523 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30524 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30525 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30526 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30527 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30528 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30529 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30530 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30531 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30532 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30533 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30534 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30535 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30536 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30537 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30538 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30539 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30540 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30541 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30542 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30543 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30544 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30545 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30546 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30547 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30548 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30549 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30550 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30551 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30552 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30553 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30554 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30555 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30556 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30557 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30558 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30559 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30560 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30561 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30562 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30563 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30564 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30565 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30566 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30567 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30568 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30569 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30570 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30571 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30572 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30573 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30574 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30575 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30576 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30577 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30578 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30579 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30580 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30581 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30582 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30583 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30584 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30585 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30586 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30587 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30588 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30589 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30590 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30591 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30592 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30593 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30594 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30595 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30596 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30597 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30598 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30599 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30600 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30601 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30602 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30603 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30604 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30605 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30606 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30607 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30608 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30609 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30610 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30611 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30612 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30613 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30614 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30615 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30616 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30617 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30618 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30619 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30620 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30621 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30622 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30623 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30624 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30625 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30626 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30627 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30628 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30629 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30630 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30631 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30632 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30633 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30634 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30635 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30636 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30637 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30638 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30639 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30640 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30641 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30642 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30643 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30644 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30645 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30646 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30647 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30648 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30649 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30650 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30651 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30652 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30653 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30654 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30655 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30656 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30657 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30658 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30659 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30660 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30661 { (char *)"DirDialog_GetStyle", (PyCFunction)_wrap_DirDialog_GetStyle, METH_O, NULL},
30662 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30663 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30664 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30665 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30666 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30667 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30668 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30669 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30670 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30671 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30672 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30673 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30674 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30675 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30676 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30677 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30678 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30679 { (char *)"FileDialog_GetStyle", (PyCFunction)_wrap_FileDialog_GetStyle, METH_O, NULL},
30680 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30681 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30682 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30683 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30684 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30685 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30686 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30687 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30688 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30689 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30690 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30691 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30692 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30693 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30694 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30695 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30696 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30697 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30698 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30699 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30700 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30701 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30702 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30703 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30704 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30705 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30706 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30707 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30708 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30709 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30710 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30711 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30712 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30713 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30714 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30715 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30716 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30717 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30718 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30719 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30720 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30721 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30722 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30723 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30724 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30725 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30726 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30727 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
30728 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
30729 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30730 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
30731 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
30732 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
30733 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
30734 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30735 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30736 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30737 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30738 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
30739 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30740 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30741 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30742 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
30743 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
30744 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
30745 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
30746 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
30747 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
30748 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
30749 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30750 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30751 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30752 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
30753 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
30754 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
30756 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
30758 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
30759 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
30760 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
30761 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30762 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
30763 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
30765 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
30766 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
30767 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
30768 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
30769 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
30770 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
30771 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
30772 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
30773 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
30774 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30775 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
30776 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30777 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
30778 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
30779 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
30780 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30781 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
30782 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30783 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
30784 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
30785 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30786 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
30787 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30788 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30789 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30790 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30791 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30792 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30793 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30794 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
30795 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
30796 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
30797 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
30798 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
30799 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
30800 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
30801 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
30802 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
30803 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
30804 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
30805 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30807 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30808 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30809 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30810 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30811 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30812 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
30813 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
30814 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
30815 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
30816 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
30817 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
30818 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
30819 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
30820 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
30821 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30822 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
30823 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30824 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30825 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30826 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30829 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30830 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
30831 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
30832 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
30833 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
30834 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
30835 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
30836 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
30837 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
30838 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
30839 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
30840 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
30841 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
30842 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
30843 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
30844 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
30845 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
30846 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
30847 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
30848 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
30849 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
30850 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
30851 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
30852 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
30853 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
30855 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30858 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
30860 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
30861 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
30862 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
30863 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
30864 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
30865 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30866 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
30867 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
30868 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
30869 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
30870 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
30871 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
30872 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30873 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30874 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30875 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
30876 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
30877 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
30878 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
30879 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
30880 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
30881 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
30882 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
30883 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
30884 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
30885 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
30886 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
30887 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
30888 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
30889 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
30890 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
30891 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
30892 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30893 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
30897 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
30901 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
30902 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
30903 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
30904 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
30905 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30906 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
30907 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
30908 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
30909 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
30910 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
30911 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
30912 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
30913 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
30914 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
30915 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
30916 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
30917 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
30918 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
30919 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
30920 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
30921 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
30922 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
30923 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
30925 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
30926 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
30928 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30929 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
30930 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
30931 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
30932 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30933 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
30934 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30935 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
30936 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
30937 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
30938 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
30939 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
30940 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
30941 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
30943 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
30944 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
30946 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
30947 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
30948 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
30949 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
30950 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
30951 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
30952 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
30953 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
30955 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
30956 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
30957 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30958 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
30959 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
30960 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
30961 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
30962 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
30963 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
30965 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
30967 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
30968 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
30969 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
30971 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
30972 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
30973 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30974 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
30975 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
30976 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
30977 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
30978 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
30981 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
30982 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
30983 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
30984 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
30985 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
30986 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
30987 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
30988 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
30990 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
30991 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30992 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
30993 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
30994 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
30995 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
30996 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
30997 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
30998 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
30999 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31000 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31002 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31003 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31004 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31005 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31006 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31007 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31008 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31009 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31010 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31011 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31013 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31015 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31016 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31019 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31020 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31024 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31025 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31027 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31028 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31029 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31030 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31032 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31033 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31034 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31035 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31036 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31038 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31039 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31041 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31042 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31043 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31044 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31045 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31046 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31047 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31048 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31052 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31054 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31055 { NULL, NULL, 0, NULL }
31056 };
31057
31058
31059 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31060
31061 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31062 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31063 }
31064 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31065 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31066 }
31067 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31068 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31069 }
31070 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31071 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31072 }
31073 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31074 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31075 }
31076 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31077 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31078 }
31079 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31080 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31081 }
31082 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31083 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31084 }
31085 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31086 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31087 }
31088 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31089 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31090 }
31091 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31092 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31093 }
31094 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31095 return (void *)((wxEvent *) ((wxPyEvent *) x));
31096 }
31097 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31098 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31099 }
31100 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31101 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31102 }
31103 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31104 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31105 }
31106 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31107 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31108 }
31109 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31110 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31111 }
31112 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31113 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31114 }
31115 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31116 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31117 }
31118 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31119 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31120 }
31121 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31122 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31123 }
31124 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31125 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31126 }
31127 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31128 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31129 }
31130 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31131 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31132 }
31133 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31134 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31135 }
31136 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31137 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31138 }
31139 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31140 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31141 }
31142 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31143 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31144 }
31145 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31146 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31147 }
31148 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31149 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31150 }
31151 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31152 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31153 }
31154 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31155 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31156 }
31157 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31158 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31159 }
31160 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31161 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31162 }
31163 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31164 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31165 }
31166 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31167 return (void *)((wxEvent *) ((wxShowEvent *) x));
31168 }
31169 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31170 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31171 }
31172 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31173 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31174 }
31175 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31176 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31177 }
31178 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31179 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31180 }
31181 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31182 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31183 }
31184 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31185 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31186 }
31187 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31188 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31189 }
31190 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31191 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31192 }
31193 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31194 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31195 }
31196 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31197 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31198 }
31199 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31200 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31201 }
31202 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31203 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31204 }
31205 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31206 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31207 }
31208 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31209 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31210 }
31211 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31212 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31213 }
31214 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31215 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31216 }
31217 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31218 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31219 }
31220 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31221 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31222 }
31223 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31224 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31225 }
31226 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31227 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31228 }
31229 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31230 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31231 }
31232 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31233 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31234 }
31235 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31236 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31237 }
31238 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31239 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31240 }
31241 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31242 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31243 }
31244 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31245 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31246 }
31247 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31248 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31249 }
31250 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31251 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31252 }
31253 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31254 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31255 }
31256 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31257 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31258 }
31259 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31260 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31261 }
31262 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31263 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31264 }
31265 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31266 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31267 }
31268 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31269 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31270 }
31271 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31272 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31273 }
31274 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31275 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31276 }
31277 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31278 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31279 }
31280 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31281 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31282 }
31283 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31284 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31285 }
31286 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31287 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31288 }
31289 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31290 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31291 }
31292 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31293 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31294 }
31295 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31296 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31297 }
31298 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31299 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31300 }
31301 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31302 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31303 }
31304 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31305 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31306 }
31307 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31308 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31309 }
31310 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31311 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31312 }
31313 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31314 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31315 }
31316 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31317 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31318 }
31319 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31320 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31321 }
31322 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31323 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31324 }
31325 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31326 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31327 }
31328 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31329 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31330 }
31331 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31332 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31333 }
31334 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31335 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31336 }
31337 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31338 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31339 }
31340 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31341 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31342 }
31343 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31344 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31345 }
31346 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31347 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31348 }
31349 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31350 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31351 }
31352 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
31353 return (void *)((wxFrame *) ((wxTipWindow *) x));
31354 }
31355 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31356 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31357 }
31358 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31359 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31360 }
31361 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31362 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31363 }
31364 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31365 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31366 }
31367 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31368 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31369 }
31370 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31371 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31372 }
31373 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31374 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31375 }
31376 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31378 }
31379 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31381 }
31382 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31383 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31384 }
31385 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31386 return (void *)((wxObject *) ((wxSizerItem *) x));
31387 }
31388 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31389 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31390 }
31391 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31392 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31393 }
31394 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31395 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31396 }
31397 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31398 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31399 }
31400 static void *_p_wxSizerTo_p_wxObject(void *x) {
31401 return (void *)((wxObject *) ((wxSizer *) x));
31402 }
31403 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31404 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31405 }
31406 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31407 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31408 }
31409 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31411 }
31412 static void *_p_wxEventTo_p_wxObject(void *x) {
31413 return (void *)((wxObject *) ((wxEvent *) x));
31414 }
31415 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31416 return (void *)((wxObject *) ((wxFontData *) x));
31417 }
31418 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31419 return (void *)((wxObject *) ((wxPrintData *) x));
31420 }
31421 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31422 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31423 }
31424 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31425 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31426 }
31427 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31428 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31429 }
31430 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31431 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31432 }
31433 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31434 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31435 }
31436 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31437 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31438 }
31439 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31440 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31441 }
31442 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31443 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31444 }
31445 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31446 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31447 }
31448 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31449 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31450 }
31451 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31452 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31453 }
31454 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31455 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31456 }
31457 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31459 }
31460 static void *_p_wxControlTo_p_wxObject(void *x) {
31461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31462 }
31463 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31464 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31465 }
31466 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31467 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31468 }
31469 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31470 return (void *)((wxObject *) ((wxFSFile *) x));
31471 }
31472 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31473 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31474 }
31475 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31476 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31477 }
31478 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31480 }
31481 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31482 return (void *)((wxObject *) ((wxColourData *) x));
31483 }
31484 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31485 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31486 }
31487 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31488 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31489 }
31490 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31491 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31492 }
31493 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31495 }
31496 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31497 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31498 }
31499 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31501 }
31502 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31504 }
31505 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31507 }
31508 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31510 }
31511 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31513 }
31514 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31516 }
31517 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31519 }
31520 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31521 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31522 }
31523 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31524 return (void *)((wxObject *) ((wxPrinter *) x));
31525 }
31526 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31527 return (void *)((wxObject *) ((wxMenuItem *) x));
31528 }
31529 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31530 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31531 }
31532 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31533 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31534 }
31535 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31536 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31537 }
31538 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31539 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31540 }
31541 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31542 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31543 }
31544 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31545 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31546 }
31547 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31548 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31549 }
31550 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31551 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31552 }
31553 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31554 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31555 }
31556 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31557 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31558 }
31559 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31560 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31561 }
31562 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31563 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31564 }
31565 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31566 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31567 }
31568 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31569 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31570 }
31571 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31572 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31573 }
31574 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31575 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31576 }
31577 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31578 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31579 }
31580 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31581 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31582 }
31583 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31584 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31585 }
31586 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31587 return (void *)((wxObject *) ((wxImageHandler *) x));
31588 }
31589 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31590 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31591 }
31592 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31593 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31594 }
31595 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31596 return (void *)((wxObject *) ((wxEvtHandler *) x));
31597 }
31598 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31599 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31600 }
31601 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31603 }
31604 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31606 }
31607 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31608 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31609 }
31610 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31611 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31612 }
31613 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31615 }
31616 static void *_p_wxImageTo_p_wxObject(void *x) {
31617 return (void *)((wxObject *) ((wxImage *) x));
31618 }
31619 static void *_p_wxFrameTo_p_wxObject(void *x) {
31620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31621 }
31622 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31623 return (void *)((wxObject *) ((wxPyPrintout *) x));
31624 }
31625 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31626 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31627 }
31628 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31629 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31630 }
31631 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31633 }
31634 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31636 }
31637 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31638 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31639 }
31640 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31641 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31642 }
31643 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31644 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31645 }
31646 static void *_p_wxWindowTo_p_wxObject(void *x) {
31647 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31648 }
31649 static void *_p_wxMenuTo_p_wxObject(void *x) {
31650 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31651 }
31652 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31654 }
31655 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31657 }
31658 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31660 }
31661 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31663 }
31664 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31666 }
31667 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31669 }
31670 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31672 }
31673 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31675 }
31676 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31677 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31678 }
31679 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31681 }
31682 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31684 }
31685 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31687 }
31688 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31689 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31690 }
31691 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31692 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31693 }
31694 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31695 return (void *)((wxObject *) ((wxPrintPreview *) x));
31696 }
31697 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31698 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31699 }
31700 static void *_p_wxPanelTo_p_wxObject(void *x) {
31701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31702 }
31703 static void *_p_wxDialogTo_p_wxObject(void *x) {
31704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31705 }
31706 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31708 }
31709 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31711 }
31712 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31714 }
31715 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31716 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31717 }
31718 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31719 return (void *)((wxObject *) ((wxPrintDialog *) x));
31720 }
31721 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31722 return (void *)((wxObject *) ((wxFileSystem *) x));
31723 }
31724 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31725 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31726 }
31727 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31728 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31729 }
31730 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31731 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31732 }
31733 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31734 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31735 }
31736 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31737 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31738 }
31739 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31740 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31741 }
31742 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31743 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31744 }
31745 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31746 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31747 }
31748 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31750 }
31751 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31753 }
31754 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31755 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31756 }
31757 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31758 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31759 }
31760 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31761 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31762 }
31763 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31765 }
31766 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
31767 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
31768 }
31769 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
31770 return (void *)((wxObject *) ((wxPrintDialogData *) x));
31771 }
31772 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31773 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31774 }
31775 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31776 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31777 }
31778 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
31779 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31780 }
31781 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
31782 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
31783 }
31784 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
31785 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31786 }
31787 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
31788 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
31789 }
31790 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
31791 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
31792 }
31793 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
31794 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
31795 }
31796 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
31797 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
31798 }
31799 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
31800 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
31801 }
31802 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
31803 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
31804 }
31805 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
31806 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
31807 }
31808 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
31809 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
31810 }
31811 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
31812 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
31813 }
31814 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
31815 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
31816 }
31817 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
31818 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
31819 }
31820 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
31821 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
31822 }
31823 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
31824 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31825 }
31826 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
31827 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
31828 }
31829 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31830 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
31831 }
31832 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31833 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
31834 }
31835 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
31836 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
31837 }
31838 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
31839 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
31840 }
31841 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
31842 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
31843 }
31844 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
31845 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
31846 }
31847 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
31848 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31849 }
31850 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
31851 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31852 }
31853 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
31854 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31855 }
31856 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
31857 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
31858 }
31859 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31860 return (void *)((wxWindow *) ((wxMenuBar *) x));
31861 }
31862 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
31863 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31864 }
31865 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
31866 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31867 }
31868 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
31869 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31870 }
31871 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
31872 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31873 }
31874 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
31875 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31876 }
31877 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
31878 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31879 }
31880 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
31881 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31882 }
31883 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
31884 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31885 }
31886 static void *_p_wxPanelTo_p_wxWindow(void *x) {
31887 return (void *)((wxWindow *) ((wxPanel *) x));
31888 }
31889 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
31890 return (void *)((wxWindow *) ((wxStatusBar *) x));
31891 }
31892 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
31893 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
31894 }
31895 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
31896 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31897 }
31898 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
31899 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31900 }
31901 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
31902 return (void *)((wxWindow *) ((wxPopupWindow *) x));
31903 }
31904 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
31905 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
31906 }
31907 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
31908 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
31909 }
31910 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
31911 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
31912 }
31913 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
31914 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
31915 }
31916 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
31917 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
31918 }
31919 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
31920 return (void *)((wxWindow *) ((wxSashWindow *) x));
31921 }
31922 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
31923 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
31924 }
31925 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
31926 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31927 }
31928 static void *_p_wxControlTo_p_wxWindow(void *x) {
31929 return (void *)((wxWindow *) ((wxControl *) x));
31930 }
31931 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
31932 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31933 }
31934 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
31935 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31936 }
31937 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
31938 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31939 }
31940 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31941 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31942 }
31943 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
31944 return (void *)((wxWindow *) ((wxPyWindow *) x));
31945 }
31946 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
31947 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31948 }
31949 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
31950 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31951 }
31952 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
31953 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31954 }
31955 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
31956 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
31957 }
31958 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
31959 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31960 }
31961 static void *_p_wxFrameTo_p_wxWindow(void *x) {
31962 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
31963 }
31964 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
31965 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31966 }
31967 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
31968 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31969 }
31970 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
31971 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31972 }
31973 static void *_p_wxDialogTo_p_wxWindow(void *x) {
31974 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
31975 }
31976 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
31977 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31978 }
31979 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
31980 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31981 }
31982 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
31983 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
31984 }
31985 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
31986 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
31987 }
31988 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
31989 return (void *)((wxDialog *) ((wxColourDialog *) x));
31990 }
31991 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
31992 return (void *)((wxDialog *) ((wxDirDialog *) x));
31993 }
31994 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
31995 return (void *)((wxDialog *) ((wxFontDialog *) x));
31996 }
31997 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
31998 return (void *)((wxDialog *) ((wxFileDialog *) x));
31999 }
32000 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32001 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32002 }
32003 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32004 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32005 }
32006 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32007 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32008 }
32009 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32010 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32011 }
32012 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32013 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32014 }
32015 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32016 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32017 }
32018 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32019 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32020 }
32021 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32022 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32023 }
32024 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32025 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32026 }
32027 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32028 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32029 }
32030 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32031 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32032 }
32033 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32034 return (void *)((wxPanel *) ((wxPyPanel *) x));
32035 }
32036 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32037 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32038 }
32039 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32040 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32041 }
32042 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32043 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32044 }
32045 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32046 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32047 }
32048 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32049 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32050 }
32051 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32052 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32053 }
32054 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32055 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32056 }
32057 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32058 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32059 }
32060 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32061 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32062 }
32063 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32064 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32065 }
32066 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32067 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32068 }
32069 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32070 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32071 }
32072 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32073 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32074 }
32075 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32076 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32077 }
32078 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32079 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32080 }
32081 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32082 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32083 }
32084 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32085 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};
32086 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32087 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32088 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32089 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32090 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32091 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32092 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32093 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32094 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32095 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32096 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32097 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32098 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32099 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32100 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32101 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32102 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32103 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32104 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32105 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32106 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32107 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32108 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32109 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32110 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32111 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32112 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32113 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32114 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32115 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32116 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32117 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32118 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32119 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32120 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32121 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32122 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32123 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32124 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32125 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32126 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32127 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32128 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32129 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32130 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32131 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32132 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32133 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32134 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32135 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32136 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32137 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32138 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32139 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32140 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32141 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32142 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32143 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32144 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32145 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32146 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32147 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32148 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32149 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32150 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32151 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32152 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32153 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32154 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32155 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32156 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32157 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32158 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32159 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32160 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32161 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32162 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32163 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32164 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32165 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32166 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32167 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32168 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32169 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32170 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32171 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32172 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32173 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32174 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32175 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32176 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32177 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32178 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32179 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32180 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32181 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32182 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32183 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32184 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32185 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32186 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32187 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32188 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32189 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32190 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32191 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32192 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32193 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32194 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32195 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32196 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32197 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32198 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32199 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32200 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32201 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32202 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32203 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32204 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32205 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32206 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32207 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32208 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32209 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32210 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32211 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32212 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32213 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32214 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32215 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32216 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32217 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32218 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32219 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32220 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32221 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32222 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32223 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32224 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32225 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32226 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32227 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32228 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32229 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32230 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32231 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32232 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32233 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32234 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32235 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32236 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32237 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32238 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32239 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32240 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32241 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32242 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32243 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32244
32245 static swig_type_info *swig_type_initial[] = {
32246 &_swigt__p_char,
32247 &_swigt__p_form_ops_t,
32248 &_swigt__p_int,
32249 &_swigt__p_unsigned_char,
32250 &_swigt__p_unsigned_int,
32251 &_swigt__p_unsigned_long,
32252 &_swigt__p_wxANIHandler,
32253 &_swigt__p_wxAcceleratorTable,
32254 &_swigt__p_wxActivateEvent,
32255 &_swigt__p_wxArrayInt,
32256 &_swigt__p_wxBMPHandler,
32257 &_swigt__p_wxBitmap,
32258 &_swigt__p_wxBoxSizer,
32259 &_swigt__p_wxCURHandler,
32260 &_swigt__p_wxCalculateLayoutEvent,
32261 &_swigt__p_wxChildFocusEvent,
32262 &_swigt__p_wxCloseEvent,
32263 &_swigt__p_wxColour,
32264 &_swigt__p_wxColourData,
32265 &_swigt__p_wxColourDialog,
32266 &_swigt__p_wxCommandEvent,
32267 &_swigt__p_wxContextMenuEvent,
32268 &_swigt__p_wxControl,
32269 &_swigt__p_wxControlWithItems,
32270 &_swigt__p_wxDC,
32271 &_swigt__p_wxDateEvent,
32272 &_swigt__p_wxDialog,
32273 &_swigt__p_wxDirDialog,
32274 &_swigt__p_wxDisplayChangedEvent,
32275 &_swigt__p_wxDropFilesEvent,
32276 &_swigt__p_wxDuplexMode,
32277 &_swigt__p_wxEraseEvent,
32278 &_swigt__p_wxEvent,
32279 &_swigt__p_wxEvtHandler,
32280 &_swigt__p_wxFSFile,
32281 &_swigt__p_wxFileDialog,
32282 &_swigt__p_wxFileSystem,
32283 &_swigt__p_wxFindDialogEvent,
32284 &_swigt__p_wxFindReplaceData,
32285 &_swigt__p_wxFindReplaceDialog,
32286 &_swigt__p_wxFlexGridSizer,
32287 &_swigt__p_wxFocusEvent,
32288 &_swigt__p_wxFont,
32289 &_swigt__p_wxFontData,
32290 &_swigt__p_wxFontDialog,
32291 &_swigt__p_wxFrame,
32292 &_swigt__p_wxGBSizerItem,
32293 &_swigt__p_wxGIFHandler,
32294 &_swigt__p_wxGridBagSizer,
32295 &_swigt__p_wxGridSizer,
32296 &_swigt__p_wxICOHandler,
32297 &_swigt__p_wxIcon,
32298 &_swigt__p_wxIconBundle,
32299 &_swigt__p_wxIconizeEvent,
32300 &_swigt__p_wxIdleEvent,
32301 &_swigt__p_wxImage,
32302 &_swigt__p_wxImageHandler,
32303 &_swigt__p_wxIndividualLayoutConstraint,
32304 &_swigt__p_wxInitDialogEvent,
32305 &_swigt__p_wxJPEGHandler,
32306 &_swigt__p_wxKeyEvent,
32307 &_swigt__p_wxLayoutAlgorithm,
32308 &_swigt__p_wxLayoutConstraints,
32309 &_swigt__p_wxMDIChildFrame,
32310 &_swigt__p_wxMDIClientWindow,
32311 &_swigt__p_wxMDIParentFrame,
32312 &_swigt__p_wxMaximizeEvent,
32313 &_swigt__p_wxMenu,
32314 &_swigt__p_wxMenuBar,
32315 &_swigt__p_wxMenuEvent,
32316 &_swigt__p_wxMenuItem,
32317 &_swigt__p_wxMessageDialog,
32318 &_swigt__p_wxMiniFrame,
32319 &_swigt__p_wxMouseCaptureChangedEvent,
32320 &_swigt__p_wxMouseEvent,
32321 &_swigt__p_wxMoveEvent,
32322 &_swigt__p_wxMultiChoiceDialog,
32323 &_swigt__p_wxNavigationKeyEvent,
32324 &_swigt__p_wxNcPaintEvent,
32325 &_swigt__p_wxNotifyEvent,
32326 &_swigt__p_wxObject,
32327 &_swigt__p_wxPCXHandler,
32328 &_swigt__p_wxPNGHandler,
32329 &_swigt__p_wxPNMHandler,
32330 &_swigt__p_wxPageSetupDialog,
32331 &_swigt__p_wxPageSetupDialogData,
32332 &_swigt__p_wxPaintEvent,
32333 &_swigt__p_wxPaletteChangedEvent,
32334 &_swigt__p_wxPanel,
32335 &_swigt__p_wxPaperSize,
32336 &_swigt__p_wxPasswordEntryDialog,
32337 &_swigt__p_wxPoint,
32338 &_swigt__p_wxPopupWindow,
32339 &_swigt__p_wxPreviewCanvas,
32340 &_swigt__p_wxPreviewControlBar,
32341 &_swigt__p_wxPreviewFrame,
32342 &_swigt__p_wxPrintData,
32343 &_swigt__p_wxPrintDialog,
32344 &_swigt__p_wxPrintDialogData,
32345 &_swigt__p_wxPrintPreview,
32346 &_swigt__p_wxPrinter,
32347 &_swigt__p_wxProgressDialog,
32348 &_swigt__p_wxPyApp,
32349 &_swigt__p_wxPyCommandEvent,
32350 &_swigt__p_wxPyEvent,
32351 &_swigt__p_wxPyHtmlListBox,
32352 &_swigt__p_wxPyImageHandler,
32353 &_swigt__p_wxPyPanel,
32354 &_swigt__p_wxPyPopupTransientWindow,
32355 &_swigt__p_wxPyPreviewControlBar,
32356 &_swigt__p_wxPyPreviewFrame,
32357 &_swigt__p_wxPyPrintPreview,
32358 &_swigt__p_wxPyPrintout,
32359 &_swigt__p_wxPyScrolledWindow,
32360 &_swigt__p_wxPySizer,
32361 &_swigt__p_wxPyTaskBarIcon,
32362 &_swigt__p_wxPyVListBox,
32363 &_swigt__p_wxPyVScrolledWindow,
32364 &_swigt__p_wxPyValidator,
32365 &_swigt__p_wxPyWindow,
32366 &_swigt__p_wxQueryLayoutInfoEvent,
32367 &_swigt__p_wxQueryNewPaletteEvent,
32368 &_swigt__p_wxRect,
32369 &_swigt__p_wxRegion,
32370 &_swigt__p_wxSashEvent,
32371 &_swigt__p_wxSashLayoutWindow,
32372 &_swigt__p_wxSashWindow,
32373 &_swigt__p_wxScrollEvent,
32374 &_swigt__p_wxScrollWinEvent,
32375 &_swigt__p_wxScrolledWindow,
32376 &_swigt__p_wxSetCursorEvent,
32377 &_swigt__p_wxShowEvent,
32378 &_swigt__p_wxSingleChoiceDialog,
32379 &_swigt__p_wxSize,
32380 &_swigt__p_wxSizeEvent,
32381 &_swigt__p_wxSizer,
32382 &_swigt__p_wxSizerItem,
32383 &_swigt__p_wxSplashScreen,
32384 &_swigt__p_wxSplashScreenWindow,
32385 &_swigt__p_wxSplitterEvent,
32386 &_swigt__p_wxSplitterWindow,
32387 &_swigt__p_wxStaticBoxSizer,
32388 &_swigt__p_wxStatusBar,
32389 &_swigt__p_wxStdDialogButtonSizer,
32390 &_swigt__p_wxString,
32391 &_swigt__p_wxSysColourChangedEvent,
32392 &_swigt__p_wxTIFFHandler,
32393 &_swigt__p_wxTaskBarIcon,
32394 &_swigt__p_wxTaskBarIconEvent,
32395 &_swigt__p_wxTextEntryDialog,
32396 &_swigt__p_wxTipWindow,
32397 &_swigt__p_wxToolBar,
32398 &_swigt__p_wxTopLevelWindow,
32399 &_swigt__p_wxUpdateUIEvent,
32400 &_swigt__p_wxValidator,
32401 &_swigt__p_wxVisualAttributes,
32402 &_swigt__p_wxWindow,
32403 &_swigt__p_wxWindowCreateEvent,
32404 &_swigt__p_wxWindowDestroyEvent,
32405 &_swigt__p_wxXPMHandler,
32406 };
32407
32408 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32409 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32410 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32411 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32412 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32413 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32414 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32415 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32416 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32417 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32418 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32419 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32420 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32421 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32422 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32423 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32424 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32425 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32426 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32427 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32428 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32429 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32430 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}};
32431 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32432 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32433 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32434 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32435 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32436 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32437 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32438 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32439 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32440 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32441 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32442 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32443 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32444 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32445 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32446 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32447 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32448 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32449 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32450 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32451 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32452 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32453 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32454 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32455 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32456 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32457 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32458 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32459 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32460 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32461 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32462 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32463 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32464 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_wxTipWindow, _p_wxTipWindowTo_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_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32465 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32466 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32467 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32468 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32469 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32470 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32471 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32472 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32473 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_wxTipWindow, _p_wxTipWindowTo_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}};
32474 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32475 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32476 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32477 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32478 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32479 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32480 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32481 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32482 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32483 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32484 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32485 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}};
32486 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32487 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32488 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32489 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32490 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32491 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32492 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32493 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32494 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32495 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32496 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32497 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32498 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32499 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32500 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32501 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32502 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32503 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32504 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32505 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32506 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32507 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32508 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32509 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32510 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32511 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32512 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32513 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32514 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_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}};
32515 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32516 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32517 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}};
32518 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32519 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32520 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32521 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
32522 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32523 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}};
32524 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}};
32525 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32526 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32527 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32528 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}};
32529 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32530 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32531 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32532 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32533 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
32534 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32535 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32536 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32537 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32538 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32539 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32540 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}};
32541 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}};
32542 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32543 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32544 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32545 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32546 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32547 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32548 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}};
32549 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32550 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}};
32551 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32552 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32553 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32554 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32555 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32556 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32557 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32558 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32559 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32560 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32561 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32562 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}};
32563 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32564 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32565 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_wxTipWindow, _p_wxTipWindowTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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}};
32566 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32567 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_wxTipWindow, _p_wxTipWindowTo_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_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}};
32568
32569 static swig_cast_info *swig_cast_initial[] = {
32570 _swigc__p_char,
32571 _swigc__p_form_ops_t,
32572 _swigc__p_int,
32573 _swigc__p_unsigned_char,
32574 _swigc__p_unsigned_int,
32575 _swigc__p_unsigned_long,
32576 _swigc__p_wxANIHandler,
32577 _swigc__p_wxAcceleratorTable,
32578 _swigc__p_wxActivateEvent,
32579 _swigc__p_wxArrayInt,
32580 _swigc__p_wxBMPHandler,
32581 _swigc__p_wxBitmap,
32582 _swigc__p_wxBoxSizer,
32583 _swigc__p_wxCURHandler,
32584 _swigc__p_wxCalculateLayoutEvent,
32585 _swigc__p_wxChildFocusEvent,
32586 _swigc__p_wxCloseEvent,
32587 _swigc__p_wxColour,
32588 _swigc__p_wxColourData,
32589 _swigc__p_wxColourDialog,
32590 _swigc__p_wxCommandEvent,
32591 _swigc__p_wxContextMenuEvent,
32592 _swigc__p_wxControl,
32593 _swigc__p_wxControlWithItems,
32594 _swigc__p_wxDC,
32595 _swigc__p_wxDateEvent,
32596 _swigc__p_wxDialog,
32597 _swigc__p_wxDirDialog,
32598 _swigc__p_wxDisplayChangedEvent,
32599 _swigc__p_wxDropFilesEvent,
32600 _swigc__p_wxDuplexMode,
32601 _swigc__p_wxEraseEvent,
32602 _swigc__p_wxEvent,
32603 _swigc__p_wxEvtHandler,
32604 _swigc__p_wxFSFile,
32605 _swigc__p_wxFileDialog,
32606 _swigc__p_wxFileSystem,
32607 _swigc__p_wxFindDialogEvent,
32608 _swigc__p_wxFindReplaceData,
32609 _swigc__p_wxFindReplaceDialog,
32610 _swigc__p_wxFlexGridSizer,
32611 _swigc__p_wxFocusEvent,
32612 _swigc__p_wxFont,
32613 _swigc__p_wxFontData,
32614 _swigc__p_wxFontDialog,
32615 _swigc__p_wxFrame,
32616 _swigc__p_wxGBSizerItem,
32617 _swigc__p_wxGIFHandler,
32618 _swigc__p_wxGridBagSizer,
32619 _swigc__p_wxGridSizer,
32620 _swigc__p_wxICOHandler,
32621 _swigc__p_wxIcon,
32622 _swigc__p_wxIconBundle,
32623 _swigc__p_wxIconizeEvent,
32624 _swigc__p_wxIdleEvent,
32625 _swigc__p_wxImage,
32626 _swigc__p_wxImageHandler,
32627 _swigc__p_wxIndividualLayoutConstraint,
32628 _swigc__p_wxInitDialogEvent,
32629 _swigc__p_wxJPEGHandler,
32630 _swigc__p_wxKeyEvent,
32631 _swigc__p_wxLayoutAlgorithm,
32632 _swigc__p_wxLayoutConstraints,
32633 _swigc__p_wxMDIChildFrame,
32634 _swigc__p_wxMDIClientWindow,
32635 _swigc__p_wxMDIParentFrame,
32636 _swigc__p_wxMaximizeEvent,
32637 _swigc__p_wxMenu,
32638 _swigc__p_wxMenuBar,
32639 _swigc__p_wxMenuEvent,
32640 _swigc__p_wxMenuItem,
32641 _swigc__p_wxMessageDialog,
32642 _swigc__p_wxMiniFrame,
32643 _swigc__p_wxMouseCaptureChangedEvent,
32644 _swigc__p_wxMouseEvent,
32645 _swigc__p_wxMoveEvent,
32646 _swigc__p_wxMultiChoiceDialog,
32647 _swigc__p_wxNavigationKeyEvent,
32648 _swigc__p_wxNcPaintEvent,
32649 _swigc__p_wxNotifyEvent,
32650 _swigc__p_wxObject,
32651 _swigc__p_wxPCXHandler,
32652 _swigc__p_wxPNGHandler,
32653 _swigc__p_wxPNMHandler,
32654 _swigc__p_wxPageSetupDialog,
32655 _swigc__p_wxPageSetupDialogData,
32656 _swigc__p_wxPaintEvent,
32657 _swigc__p_wxPaletteChangedEvent,
32658 _swigc__p_wxPanel,
32659 _swigc__p_wxPaperSize,
32660 _swigc__p_wxPasswordEntryDialog,
32661 _swigc__p_wxPoint,
32662 _swigc__p_wxPopupWindow,
32663 _swigc__p_wxPreviewCanvas,
32664 _swigc__p_wxPreviewControlBar,
32665 _swigc__p_wxPreviewFrame,
32666 _swigc__p_wxPrintData,
32667 _swigc__p_wxPrintDialog,
32668 _swigc__p_wxPrintDialogData,
32669 _swigc__p_wxPrintPreview,
32670 _swigc__p_wxPrinter,
32671 _swigc__p_wxProgressDialog,
32672 _swigc__p_wxPyApp,
32673 _swigc__p_wxPyCommandEvent,
32674 _swigc__p_wxPyEvent,
32675 _swigc__p_wxPyHtmlListBox,
32676 _swigc__p_wxPyImageHandler,
32677 _swigc__p_wxPyPanel,
32678 _swigc__p_wxPyPopupTransientWindow,
32679 _swigc__p_wxPyPreviewControlBar,
32680 _swigc__p_wxPyPreviewFrame,
32681 _swigc__p_wxPyPrintPreview,
32682 _swigc__p_wxPyPrintout,
32683 _swigc__p_wxPyScrolledWindow,
32684 _swigc__p_wxPySizer,
32685 _swigc__p_wxPyTaskBarIcon,
32686 _swigc__p_wxPyVListBox,
32687 _swigc__p_wxPyVScrolledWindow,
32688 _swigc__p_wxPyValidator,
32689 _swigc__p_wxPyWindow,
32690 _swigc__p_wxQueryLayoutInfoEvent,
32691 _swigc__p_wxQueryNewPaletteEvent,
32692 _swigc__p_wxRect,
32693 _swigc__p_wxRegion,
32694 _swigc__p_wxSashEvent,
32695 _swigc__p_wxSashLayoutWindow,
32696 _swigc__p_wxSashWindow,
32697 _swigc__p_wxScrollEvent,
32698 _swigc__p_wxScrollWinEvent,
32699 _swigc__p_wxScrolledWindow,
32700 _swigc__p_wxSetCursorEvent,
32701 _swigc__p_wxShowEvent,
32702 _swigc__p_wxSingleChoiceDialog,
32703 _swigc__p_wxSize,
32704 _swigc__p_wxSizeEvent,
32705 _swigc__p_wxSizer,
32706 _swigc__p_wxSizerItem,
32707 _swigc__p_wxSplashScreen,
32708 _swigc__p_wxSplashScreenWindow,
32709 _swigc__p_wxSplitterEvent,
32710 _swigc__p_wxSplitterWindow,
32711 _swigc__p_wxStaticBoxSizer,
32712 _swigc__p_wxStatusBar,
32713 _swigc__p_wxStdDialogButtonSizer,
32714 _swigc__p_wxString,
32715 _swigc__p_wxSysColourChangedEvent,
32716 _swigc__p_wxTIFFHandler,
32717 _swigc__p_wxTaskBarIcon,
32718 _swigc__p_wxTaskBarIconEvent,
32719 _swigc__p_wxTextEntryDialog,
32720 _swigc__p_wxTipWindow,
32721 _swigc__p_wxToolBar,
32722 _swigc__p_wxTopLevelWindow,
32723 _swigc__p_wxUpdateUIEvent,
32724 _swigc__p_wxValidator,
32725 _swigc__p_wxVisualAttributes,
32726 _swigc__p_wxWindow,
32727 _swigc__p_wxWindowCreateEvent,
32728 _swigc__p_wxWindowDestroyEvent,
32729 _swigc__p_wxXPMHandler,
32730 };
32731
32732
32733 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32734
32735 static swig_const_info swig_const_table[] = {
32736 {0, 0, 0, 0.0, 0, 0}};
32737
32738 #ifdef __cplusplus
32739 }
32740 #endif
32741 /* -----------------------------------------------------------------------------
32742 * Type initialization:
32743 * This problem is tough by the requirement that no dynamic
32744 * memory is used. Also, since swig_type_info structures store pointers to
32745 * swig_cast_info structures and swig_cast_info structures store pointers back
32746 * to swig_type_info structures, we need some lookup code at initialization.
32747 * The idea is that swig generates all the structures that are needed.
32748 * The runtime then collects these partially filled structures.
32749 * The SWIG_InitializeModule function takes these initial arrays out of
32750 * swig_module, and does all the lookup, filling in the swig_module.types
32751 * array with the correct data and linking the correct swig_cast_info
32752 * structures together.
32753 *
32754 * The generated swig_type_info structures are assigned staticly to an initial
32755 * array. We just loop though that array, and handle each type individually.
32756 * First we lookup if this type has been already loaded, and if so, use the
32757 * loaded structure instead of the generated one. Then we have to fill in the
32758 * cast linked list. The cast data is initially stored in something like a
32759 * two-dimensional array. Each row corresponds to a type (there are the same
32760 * number of rows as there are in the swig_type_initial array). Each entry in
32761 * a column is one of the swig_cast_info structures for that type.
32762 * The cast_initial array is actually an array of arrays, because each row has
32763 * a variable number of columns. So to actually build the cast linked list,
32764 * we find the array of casts associated with the type, and loop through it
32765 * adding the casts to the list. The one last trick we need to do is making
32766 * sure the type pointer in the swig_cast_info struct is correct.
32767 *
32768 * First off, we lookup the cast->type name to see if it is already loaded.
32769 * There are three cases to handle:
32770 * 1) If the cast->type has already been loaded AND the type we are adding
32771 * casting info to has not been loaded (it is in this module), THEN we
32772 * replace the cast->type pointer with the type pointer that has already
32773 * been loaded.
32774 * 2) If BOTH types (the one we are adding casting info to, and the
32775 * cast->type) are loaded, THEN the cast info has already been loaded by
32776 * the previous module so we just ignore it.
32777 * 3) Finally, if cast->type has not already been loaded, then we add that
32778 * swig_cast_info to the linked list (because the cast->type) pointer will
32779 * be correct.
32780 * ----------------------------------------------------------------------------- */
32781
32782 #ifdef __cplusplus
32783 extern "C" {
32784 #if 0
32785 } /* c-mode */
32786 #endif
32787 #endif
32788
32789 #if 0
32790 #define SWIGRUNTIME_DEBUG
32791 #endif
32792
32793 SWIGRUNTIME void
32794 SWIG_InitializeModule(void *clientdata) {
32795 size_t i;
32796 swig_module_info *module_head;
32797 static int init_run = 0;
32798
32799 clientdata = clientdata;
32800
32801 if (init_run) return;
32802 init_run = 1;
32803
32804 /* Initialize the swig_module */
32805 swig_module.type_initial = swig_type_initial;
32806 swig_module.cast_initial = swig_cast_initial;
32807
32808 /* Try and load any already created modules */
32809 module_head = SWIG_GetModule(clientdata);
32810 if (module_head) {
32811 swig_module.next = module_head->next;
32812 module_head->next = &swig_module;
32813 } else {
32814 /* This is the first module loaded */
32815 swig_module.next = &swig_module;
32816 SWIG_SetModule(clientdata, &swig_module);
32817 }
32818
32819 /* Now work on filling in swig_module.types */
32820 #ifdef SWIGRUNTIME_DEBUG
32821 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
32822 #endif
32823 for (i = 0; i < swig_module.size; ++i) {
32824 swig_type_info *type = 0;
32825 swig_type_info *ret;
32826 swig_cast_info *cast;
32827
32828 #ifdef SWIGRUNTIME_DEBUG
32829 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
32830 #endif
32831
32832 /* if there is another module already loaded */
32833 if (swig_module.next != &swig_module) {
32834 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
32835 }
32836 if (type) {
32837 /* Overwrite clientdata field */
32838 #ifdef SWIGRUNTIME_DEBUG
32839 printf("SWIG_InitializeModule: found type %s\n", type->name);
32840 #endif
32841 if (swig_module.type_initial[i]->clientdata) {
32842 type->clientdata = swig_module.type_initial[i]->clientdata;
32843 #ifdef SWIGRUNTIME_DEBUG
32844 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
32845 #endif
32846 }
32847 } else {
32848 type = swig_module.type_initial[i];
32849 }
32850
32851 /* Insert casting types */
32852 cast = swig_module.cast_initial[i];
32853 while (cast->type) {
32854 /* Don't need to add information already in the list */
32855 ret = 0;
32856 #ifdef SWIGRUNTIME_DEBUG
32857 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
32858 #endif
32859 if (swig_module.next != &swig_module) {
32860 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
32861 #ifdef SWIGRUNTIME_DEBUG
32862 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
32863 #endif
32864 }
32865 if (ret) {
32866 if (type == swig_module.type_initial[i]) {
32867 #ifdef SWIGRUNTIME_DEBUG
32868 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
32869 #endif
32870 cast->type = ret;
32871 ret = 0;
32872 } else {
32873 /* Check for casting already in the list */
32874 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
32875 #ifdef SWIGRUNTIME_DEBUG
32876 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
32877 #endif
32878 if (!ocast) ret = 0;
32879 }
32880 }
32881
32882 if (!ret) {
32883 #ifdef SWIGRUNTIME_DEBUG
32884 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
32885 #endif
32886 if (type->cast) {
32887 type->cast->prev = cast;
32888 cast->next = type->cast;
32889 }
32890 type->cast = cast;
32891 }
32892 cast++;
32893 }
32894 /* Set entry in modules->types array equal to the type */
32895 swig_module.types[i] = type;
32896 }
32897 swig_module.types[i] = 0;
32898
32899 #ifdef SWIGRUNTIME_DEBUG
32900 printf("**** SWIG_InitializeModule: Cast List ******\n");
32901 for (i = 0; i < swig_module.size; ++i) {
32902 int j = 0;
32903 swig_cast_info *cast = swig_module.cast_initial[i];
32904 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
32905 while (cast->type) {
32906 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
32907 cast++;
32908 ++j;
32909 }
32910 printf("---- Total casts: %d\n",j);
32911 }
32912 printf("**** SWIG_InitializeModule: Cast List ******\n");
32913 #endif
32914 }
32915
32916 /* This function will propagate the clientdata field of type to
32917 * any new swig_type_info structures that have been added into the list
32918 * of equivalent types. It is like calling
32919 * SWIG_TypeClientData(type, clientdata) a second time.
32920 */
32921 SWIGRUNTIME void
32922 SWIG_PropagateClientData(void) {
32923 size_t i;
32924 swig_cast_info *equiv;
32925 static int init_run = 0;
32926
32927 if (init_run) return;
32928 init_run = 1;
32929
32930 for (i = 0; i < swig_module.size; i++) {
32931 if (swig_module.types[i]->clientdata) {
32932 equiv = swig_module.types[i]->cast;
32933 while (equiv) {
32934 if (!equiv->converter) {
32935 if (equiv->type && !equiv->type->clientdata)
32936 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
32937 }
32938 equiv = equiv->next;
32939 }
32940 }
32941 }
32942 }
32943
32944 #ifdef __cplusplus
32945 #if 0
32946 {
32947 /* c-mode */
32948 #endif
32949 }
32950 #endif
32951
32952
32953
32954 #ifdef __cplusplus
32955 extern "C" {
32956 #endif
32957
32958 /* Python-specific SWIG API */
32959 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32960 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32961 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32962
32963 /* -----------------------------------------------------------------------------
32964 * global variable support code.
32965 * ----------------------------------------------------------------------------- */
32966
32967 typedef struct swig_globalvar {
32968 char *name; /* Name of global variable */
32969 PyObject *(*get_attr)(void); /* Return the current value */
32970 int (*set_attr)(PyObject *); /* Set the value */
32971 struct swig_globalvar *next;
32972 } swig_globalvar;
32973
32974 typedef struct swig_varlinkobject {
32975 PyObject_HEAD
32976 swig_globalvar *vars;
32977 } swig_varlinkobject;
32978
32979 SWIGINTERN PyObject *
32980 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
32981 return PyString_FromString("<Swig global variables>");
32982 }
32983
32984 SWIGINTERN PyObject *
32985 swig_varlink_str(swig_varlinkobject *v) {
32986 PyObject *str = PyString_FromString("(");
32987 swig_globalvar *var;
32988 for (var = v->vars; var; var=var->next) {
32989 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
32990 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
32991 }
32992 PyString_ConcatAndDel(&str,PyString_FromString(")"));
32993 return str;
32994 }
32995
32996 SWIGINTERN int
32997 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
32998 PyObject *str = swig_varlink_str(v);
32999 fprintf(fp,"Swig global variables ");
33000 fprintf(fp,"%s\n", PyString_AsString(str));
33001 Py_DECREF(str);
33002 return 0;
33003 }
33004
33005 SWIGINTERN void
33006 swig_varlink_dealloc(swig_varlinkobject *v) {
33007 swig_globalvar *var = v->vars;
33008 while (var) {
33009 swig_globalvar *n = var->next;
33010 free(var->name);
33011 free(var);
33012 var = n;
33013 }
33014 }
33015
33016 SWIGINTERN PyObject *
33017 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33018 PyObject *res = NULL;
33019 swig_globalvar *var = v->vars;
33020 while (var) {
33021 if (strcmp(var->name,n) == 0) {
33022 res = (*var->get_attr)();
33023 break;
33024 }
33025 var = var->next;
33026 }
33027 if (res == NULL && !PyErr_Occurred()) {
33028 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33029 }
33030 return res;
33031 }
33032
33033 SWIGINTERN int
33034 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33035 int res = 1;
33036 swig_globalvar *var = v->vars;
33037 while (var) {
33038 if (strcmp(var->name,n) == 0) {
33039 res = (*var->set_attr)(p);
33040 break;
33041 }
33042 var = var->next;
33043 }
33044 if (res == 1 && !PyErr_Occurred()) {
33045 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33046 }
33047 return res;
33048 }
33049
33050 SWIGINTERN PyTypeObject*
33051 swig_varlink_type(void) {
33052 static char varlink__doc__[] = "Swig var link object";
33053 static PyTypeObject varlink_type;
33054 static int type_init = 0;
33055 if (!type_init) {
33056 const PyTypeObject tmp
33057 = {
33058 PyObject_HEAD_INIT(NULL)
33059 0, /* Number of items in variable part (ob_size) */
33060 (char *)"swigvarlink", /* Type name (tp_name) */
33061 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33062 0, /* Itemsize (tp_itemsize) */
33063 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33064 (printfunc) swig_varlink_print, /* Print (tp_print) */
33065 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33066 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33067 0, /* tp_compare */
33068 (reprfunc) swig_varlink_repr, /* tp_repr */
33069 0, /* tp_as_number */
33070 0, /* tp_as_sequence */
33071 0, /* tp_as_mapping */
33072 0, /* tp_hash */
33073 0, /* tp_call */
33074 (reprfunc)swig_varlink_str, /* tp_str */
33075 0, /* tp_getattro */
33076 0, /* tp_setattro */
33077 0, /* tp_as_buffer */
33078 0, /* tp_flags */
33079 varlink__doc__, /* tp_doc */
33080 0, /* tp_traverse */
33081 0, /* tp_clear */
33082 0, /* tp_richcompare */
33083 0, /* tp_weaklistoffset */
33084 #if PY_VERSION_HEX >= 0x02020000
33085 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33086 #endif
33087 #if PY_VERSION_HEX >= 0x02030000
33088 0, /* tp_del */
33089 #endif
33090 #ifdef COUNT_ALLOCS
33091 0,0,0,0 /* tp_alloc -> tp_next */
33092 #endif
33093 };
33094 varlink_type = tmp;
33095 varlink_type.ob_type = &PyType_Type;
33096 type_init = 1;
33097 }
33098 return &varlink_type;
33099 }
33100
33101 /* Create a variable linking object for use later */
33102 SWIGINTERN PyObject *
33103 SWIG_Python_newvarlink(void) {
33104 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33105 if (result) {
33106 result->vars = 0;
33107 }
33108 return ((PyObject*) result);
33109 }
33110
33111 SWIGINTERN void
33112 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33113 swig_varlinkobject *v = (swig_varlinkobject *) p;
33114 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33115 if (gv) {
33116 size_t size = strlen(name)+1;
33117 gv->name = (char *)malloc(size);
33118 if (gv->name) {
33119 strncpy(gv->name,name,size);
33120 gv->get_attr = get_attr;
33121 gv->set_attr = set_attr;
33122 gv->next = v->vars;
33123 }
33124 }
33125 v->vars = gv;
33126 }
33127
33128 SWIGINTERN PyObject *
33129 SWIG_globals() {
33130 static PyObject *_SWIG_globals = 0;
33131 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33132 return _SWIG_globals;
33133 }
33134
33135 /* -----------------------------------------------------------------------------
33136 * constants/methods manipulation
33137 * ----------------------------------------------------------------------------- */
33138
33139 /* Install Constants */
33140 SWIGINTERN void
33141 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33142 PyObject *obj = 0;
33143 size_t i;
33144 for (i = 0; constants[i].type; ++i) {
33145 switch(constants[i].type) {
33146 case SWIG_PY_POINTER:
33147 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33148 break;
33149 case SWIG_PY_BINARY:
33150 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33151 break;
33152 default:
33153 obj = 0;
33154 break;
33155 }
33156 if (obj) {
33157 PyDict_SetItemString(d, constants[i].name, obj);
33158 Py_DECREF(obj);
33159 }
33160 }
33161 }
33162
33163 /* -----------------------------------------------------------------------------*/
33164 /* Fix SwigMethods to carry the callback ptrs when needed */
33165 /* -----------------------------------------------------------------------------*/
33166
33167 SWIGINTERN void
33168 SWIG_Python_FixMethods(PyMethodDef *methods,
33169 swig_const_info *const_table,
33170 swig_type_info **types,
33171 swig_type_info **types_initial) {
33172 size_t i;
33173 for (i = 0; methods[i].ml_name; ++i) {
33174 char *c = methods[i].ml_doc;
33175 if (c && (c = strstr(c, "swig_ptr: "))) {
33176 int j;
33177 swig_const_info *ci = 0;
33178 char *name = c + 10;
33179 for (j = 0; const_table[j].type; ++j) {
33180 if (strncmp(const_table[j].name, name,
33181 strlen(const_table[j].name)) == 0) {
33182 ci = &(const_table[j]);
33183 break;
33184 }
33185 }
33186 if (ci) {
33187 size_t shift = (ci->ptype) - types;
33188 swig_type_info *ty = types_initial[shift];
33189 size_t ldoc = (c - methods[i].ml_doc);
33190 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33191 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33192 if (ndoc) {
33193 char *buff = ndoc;
33194 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33195 if (ptr) {
33196 strncpy(buff, methods[i].ml_doc, ldoc);
33197 buff += ldoc;
33198 strncpy(buff, "swig_ptr: ", 10);
33199 buff += 10;
33200 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33201 methods[i].ml_doc = ndoc;
33202 }
33203 }
33204 }
33205 }
33206 }
33207 }
33208
33209 #ifdef __cplusplus
33210 }
33211 #endif
33212
33213 /* -----------------------------------------------------------------------------*
33214 * Partial Init method
33215 * -----------------------------------------------------------------------------*/
33216
33217 #ifdef __cplusplus
33218 extern "C"
33219 #endif
33220 SWIGEXPORT void SWIG_init(void) {
33221 PyObject *m, *d;
33222
33223 /* Fix SwigMethods to carry the callback ptrs when needed */
33224 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33225
33226 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33227 d = PyModule_GetDict(m);
33228
33229 SWIG_InitializeModule(0);
33230 SWIG_InstallConstants(d,swig_const_table);
33231
33232
33233 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33234 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33235 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33236 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33237 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33238 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33239 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33240 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33241 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33242 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33243 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33244 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33245 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33246 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33247 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33248 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33249 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33250 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33251 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33252 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33253 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33254 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33255 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33256 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33257 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33258 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33259 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33260 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33261 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33262 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33263 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33264 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33265 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33266 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33267 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33268 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33269 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33270 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33271 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33272 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33273 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33274 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33275 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33276 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33277 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33278 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33279 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33280 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33281 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33282 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33283 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33284 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33285 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33286 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33287 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33288 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33289 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33290 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33291 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33292 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33293 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33294 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33295 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33296 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33297 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33298 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33299 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33300 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33301 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33302 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33303 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33304 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33305 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33306 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33307 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33308 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33309 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33310 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33311 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33312 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33313 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33314 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33315 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33316 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33317 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33318 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33319 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33320 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33321 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33322 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33323 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33324 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33325 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33326 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33327 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33328 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33329 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33330 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33331 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33332 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33333 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33334 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33335
33336 // Map renamed classes back to their common name for OOR
33337 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33338 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33339 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33340
33341 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33342 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33343 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33344 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33345 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33346 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33347 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33348 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33349 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33350 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33351 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33352 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33353 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33354 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33355 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33356 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33357 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33358 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33359 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33360 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33361 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33362 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33363 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33364 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33365 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33366 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33367 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33368 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33369 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33370 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33371 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33372 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33373 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33374 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33375 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33376 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33377 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33378 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33379 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33380 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33381 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33382 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33383 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33384 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33385 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33386 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33387 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33388 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33389 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33390 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33391 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33392 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33393 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33394 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33395 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33396 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33397 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33398 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33399 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33400 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33401 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33402 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33403 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33404 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33405 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33406 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33407 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33408 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33409 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33410 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33411 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33412 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33413 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33414 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33415 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33416 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33417 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33418 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33419
33420 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33421
33422 }
33423