]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
7a0e92f18d4858522f44321f65ee517671d96a3f
[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 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPanel swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561 #define SWIGTYPE_p_wxPoint swig_types[95]
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570 #define SWIGTYPE_p_wxPrinter swig_types[104]
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPyApp swig_types[106]
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111]
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122]
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123]
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592 #define SWIGTYPE_p_wxRect swig_types[126]
2593 #define SWIGTYPE_p_wxRegion swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154]
2621 #define SWIGTYPE_p_wxToolBar swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626 #define SWIGTYPE_p_wxWindow swig_types[160]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630 static swig_type_info *swig_types[165];
2631 static swig_module_info swig_module = {swig_types, 164, 0, 0, 0, 0};
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2634
2635 /* -------- TYPES TABLE (END) -------- */
2636
2637 #if (PY_VERSION_HEX <= 0x02000000)
2638 # if !defined(SWIG_PYTHON_CLASSIC)
2639 # error "This python version requires to use swig with the '-classic' option"
2640 # endif
2641 #endif
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodern' option"
2644 #endif
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodernargs' option"
2647 #endif
2648 #ifndef METH_O
2649 # error "This python version requires to use swig with the '-nofastunpack' option"
2650 #endif
2651
2652 /*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655 #define SWIG_init init_windows_
2656
2657 #define SWIG_name "_windows_"
2658
2659 #define SWIGVERSION 0x010329
2660
2661
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2664
2665
2666 #include <stdexcept>
2667
2668
2669 namespace swig {
2670 class PyObject_ptr {
2671 protected:
2672 PyObject *_obj;
2673
2674 public:
2675 PyObject_ptr() :_obj(0)
2676 {
2677 }
2678
2679 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2680 {
2681 Py_XINCREF(_obj);
2682 }
2683
2684 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2685 {
2686 if (initial_ref) Py_XINCREF(_obj);
2687 }
2688
2689 PyObject_ptr & operator=(const PyObject_ptr& item)
2690 {
2691 Py_XINCREF(item._obj);
2692 Py_XDECREF(_obj);
2693 _obj = item._obj;
2694 return *this;
2695 }
2696
2697 ~PyObject_ptr()
2698 {
2699 Py_XDECREF(_obj);
2700 }
2701
2702 operator PyObject *() const
2703 {
2704 return _obj;
2705 }
2706
2707 PyObject *operator->() const
2708 {
2709 return _obj;
2710 }
2711 };
2712 }
2713
2714
2715 namespace swig {
2716 struct PyObject_var : PyObject_ptr {
2717 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2718
2719 PyObject_var & operator = (PyObject* obj)
2720 {
2721 Py_XDECREF(_obj);
2722 _obj = obj;
2723 return *this;
2724 }
2725 };
2726 }
2727
2728
2729 #include "wx/wxPython/wxPython.h"
2730 #include "wx/wxPython/pyclasses.h"
2731
2732
2733 static const wxString wxPyEmptyString(wxEmptyString);
2734 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2735
2736
2737
2738 #include <limits.h>
2739 #ifndef LLONG_MIN
2740 # define LLONG_MIN LONG_LONG_MIN
2741 #endif
2742 #ifndef LLONG_MAX
2743 # define LLONG_MAX LONG_LONG_MAX
2744 #endif
2745 #ifndef ULLONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2747 #endif
2748
2749
2750 SWIGINTERN int
2751 SWIG_AsVal_long (PyObject* obj, long* val)
2752 {
2753 if (PyNumber_Check(obj)) {
2754 if (val) *val = PyInt_AsLong(obj);
2755 return SWIG_OK;
2756 }
2757 return SWIG_TypeError;
2758 }
2759
2760
2761 SWIGINTERN int
2762 SWIG_AsVal_int (PyObject * obj, int *val)
2763 {
2764 long v;
2765 int res = SWIG_AsVal_long (obj, &v);
2766 if (SWIG_IsOK(res)) {
2767 if ((v < INT_MIN || v > INT_MAX)) {
2768 return SWIG_OverflowError;
2769 } else {
2770 if (val) *val = static_cast< int >(v);
2771 }
2772 }
2773 return res;
2774 }
2775
2776
2777 SWIGINTERN int
2778 SWIG_AsVal_bool (PyObject *obj, bool *val)
2779 {
2780 if (obj == Py_True) {
2781 if (val) *val = true;
2782 return SWIG_OK;
2783 } else if (obj == Py_False) {
2784 if (val) *val = false;
2785 return SWIG_OK;
2786 } else {
2787 long v = 0;
2788 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2789 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2790 return res;
2791 }
2792 }
2793
2794
2795 #define SWIG_From_long PyInt_FromLong
2796
2797
2798 SWIGINTERNINLINE PyObject *
2799 SWIG_From_int (int value)
2800 {
2801 return SWIG_From_long (value);
2802 }
2803
2804
2805 SWIGINTERN int
2806 SWIG_AsVal_double (PyObject *obj, double* val)
2807 {
2808 if (PyNumber_Check(obj)) {
2809 if (val) *val = PyFloat_AsDouble(obj);
2810 return SWIG_OK;
2811 }
2812 return SWIG_TypeError;
2813 }
2814
2815
2816 #define SWIG_From_double PyFloat_FromDouble
2817
2818 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2819 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2820 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2821 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2822 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2823 int style = self->GetExtraStyle();
2824 if ( on )
2825 style |= wxFRAME_EX_METAL;
2826 else
2827 style &= ~wxFRAME_EX_METAL;
2828 self->SetExtraStyle(style);
2829 }
2830 SWIGINTERN bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow *self,bool enable=true){ return false; }
2831
2832 SWIGINTERN int
2833 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2834 {
2835 long v = 0;
2836 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2837 return SWIG_TypeError;
2838 }
2839 else if (val)
2840 *val = (unsigned long)v;
2841 return SWIG_OK;
2842 }
2843
2844
2845 SWIGINTERN int
2846 SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
2847 {
2848 unsigned long v;
2849 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2850 if (SWIG_IsOK(res)) {
2851 if ((v > UCHAR_MAX)) {
2852 return SWIG_OverflowError;
2853 } else {
2854 if (val) *val = static_cast< unsigned char >(v);
2855 }
2856 }
2857 return res;
2858 }
2859
2860
2861
2862 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2863 wxRect r;
2864 self->GetFieldRect(i, r);
2865 return r;
2866 }
2867 static const wxString wxPySplitterNameStr(wxT("splitter"));
2868 static const wxString wxPySashNameStr(wxT("sashWindow"));
2869 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2870
2871 #include <wx/popupwin.h>
2872
2873
2874 class wxPopupWindow : public wxWindow {
2875 public:
2876 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2877 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2878 };
2879
2880 class wxPyPopupTransientWindow : public wxPopupWindow
2881 {
2882 public:
2883 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2884 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2885 };
2886
2887
2888 #include <wx/tipwin.h>
2889
2890 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2891 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2892 }
2893
2894 #include <wx/tipwin.h>
2895
2896
2897 #include <wx/vscroll.h>
2898
2899
2900 class wxPyVScrolledWindow : public wxVScrolledWindow
2901 {
2902 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2903 public:
2904 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2905
2906 wxPyVScrolledWindow(wxWindow *parent,
2907 wxWindowID id = wxID_ANY,
2908 const wxPoint& pos = wxDefaultPosition,
2909 const wxSize& size = wxDefaultSize,
2910 long style = 0,
2911 const wxString& name = wxPyPanelNameStr)
2912 : wxVScrolledWindow(parent, id, pos, size, style, name)
2913 {}
2914
2915 // Overridable virtuals
2916
2917 // this function must be overridden in the derived class and it should
2918 // return the height of the given line in pixels
2919 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2920
2921
2922 // this function doesn't have to be overridden but it may be useful to do
2923 // it if calculating the lines heights is a relatively expensive operation
2924 // as it gives the user code a possibility to calculate several of them at
2925 // once
2926 //
2927 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2928 // shouldn't rely on the latter being called for all lines in the interval
2929 // specified here. It is also possible that OnGetLineHeight() will be
2930 // called for the lines outside of this interval, so this is really just a
2931 // hint, not a promise.
2932 //
2933 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2934 // usual
2935 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2936
2937
2938 // when the number of lines changes, we try to estimate the total height
2939 // of all lines which is a rather expensive operation in terms of lines
2940 // access, so if the user code may estimate the average height
2941 // better/faster than we do, it should override this function to implement
2942 // its own logic
2943 //
2944 // this function should return the best guess for the total height it may
2945 // make
2946 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2947
2948
2949 // Also expose some other interesting protected methods
2950
2951
2952 // find the index of the line we need to show at the top of the window such
2953 // that the last (fully or partially) visible line is the given one
2954 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2955 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2956
2957 // get the total height of the lines between lineMin (inclusive) and
2958 // lineMax (exclusive)
2959 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2960 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2961
2962 // update the thumb size shown by the scrollbar
2963 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2964
2965 // remove the scrollbar completely because we don't need it
2966 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2967
2968 PYPRIVATE;
2969 };
2970
2971 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2972
2973 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2974 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2975 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2976
2977
2978 SWIGINTERNINLINE int
2979 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2980 {
2981 unsigned long v;
2982 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2983 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2984 return res;
2985 }
2986
2987
2988 SWIGINTERNINLINE PyObject*
2989 SWIG_From_unsigned_SS_long (unsigned long value)
2990 {
2991 return (value > LONG_MAX) ?
2992 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2993 }
2994
2995
2996 SWIGINTERNINLINE PyObject *
2997 SWIG_From_size_t (size_t value)
2998 {
2999 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
3000 }
3001
3002
3003 #include <wx/vlbox.h>
3004
3005 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3006
3007 class wxPyVListBox : public wxVListBox
3008 {
3009 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3010 public:
3011 wxPyVListBox() : wxVListBox() {}
3012
3013 wxPyVListBox(wxWindow *parent,
3014 wxWindowID id = wxID_ANY,
3015 const wxPoint& pos = wxDefaultPosition,
3016 const wxSize& size = wxDefaultSize,
3017 long style = 0,
3018 const wxString& name = wxPyVListBoxNameStr)
3019 : wxVListBox(parent, id, pos, size, style, name)
3020 {}
3021
3022 // Overridable virtuals
3023
3024 // the derived class must implement this function to actually draw the item
3025 // with the given index on the provided DC
3026 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3027 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3028
3029
3030 // the derived class must implement this method to return the height of the
3031 // specified item
3032 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3033 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3034
3035
3036 // this method may be used to draw separators between the lines; note that
3037 // the rectangle may be modified, typically to deflate it a bit before
3038 // passing to OnDrawItem()
3039 //
3040 // the base class version doesn't do anything
3041 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3042 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3043
3044
3045 // this method is used to draw the items background and, maybe, a border
3046 // around it
3047 //
3048 // the base class version implements a reasonable default behaviour which
3049 // consists in drawing the selected item with the standard background
3050 // colour and drawing a border around the item if it is either selected or
3051 // current
3052 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3053 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3054
3055
3056 PYPRIVATE;
3057 };
3058
3059 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3060
3061 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3062 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3063 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3064 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3065
3066
3067 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3068 unsigned long cookie = 0;
3069 int selected = self->GetFirstSelected(cookie);
3070 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3071 PyObject* tup = PyTuple_New(2);
3072 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3073 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3074 wxPyEndBlockThreads(blocked);
3075 return tup;
3076 }
3077 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3078 int selected = self->GetNextSelected(cookie);
3079 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3080 PyObject* tup = PyTuple_New(2);
3081 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3082 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3083 wxPyEndBlockThreads(blocked);
3084 return tup;
3085 }
3086
3087 #include <wx/htmllbox.h>
3088
3089
3090 class wxPyHtmlListBox : public wxHtmlListBox
3091 {
3092 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3093 public:
3094 wxPyHtmlListBox() : wxHtmlListBox() {}
3095
3096 wxPyHtmlListBox(wxWindow *parent,
3097 wxWindowID id = wxID_ANY,
3098 const wxPoint& pos = wxDefaultPosition,
3099 const wxSize& size = wxDefaultSize,
3100 long style = 0,
3101 const wxString& name = wxPyVListBoxNameStr)
3102 : wxHtmlListBox(parent, id, pos, size, style, name)
3103 {}
3104
3105 // Overridable virtuals
3106
3107 // this method must be implemented in the derived class and should return
3108 // the body (i.e. without <html>) of the HTML for the given item
3109 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3110
3111 // this function may be overridden to decorate HTML returned by OnGetItem()
3112 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3113
3114 // These are from wxVListBox
3115 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3116 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3117
3118 // TODO:
3119 // // this method allows to customize the selection appearance: it may be used
3120 // // to specify the colour of the text which normally has the given colour
3121 // // colFg when it is inside the selection
3122 // //
3123 // // by default, the original colour is not used at all and all text has the
3124 // // same (default for this system) colour inside selection
3125 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3126
3127 // // this is the same as GetSelectedTextColour() but allows to customize the
3128 // // background colour -- this is even more rarely used as you can change it
3129 // // globally using SetSelectionBackground()
3130 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3131
3132
3133 // This method may be overriden to handle clicking on a link in
3134 // the listbox. By default, clicking links is ignored.
3135 virtual void OnLinkClicked(size_t n,
3136 const wxHtmlLinkInfo& link);
3137
3138 PYPRIVATE;
3139 };
3140
3141
3142 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3143
3144 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3145 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3146 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3147 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3148
3149
3150 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3151 const wxHtmlLinkInfo& link) {
3152 bool found;
3153 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3154 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3155 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3156 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3157 Py_DECREF(obj);
3158 }
3159 wxPyEndBlockThreads(blocked);
3160 if (! found)
3161 wxPyHtmlListBox::OnLinkClicked(n, link);
3162 }
3163
3164
3165
3166
3167
3168 #ifndef wxHAS_TASK_BAR_ICON
3169 // implement dummy classes for platforms that don't have it
3170
3171 class wxTaskBarIcon : public wxEvtHandler
3172 {
3173 public:
3174 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3175 };
3176
3177
3178 class wxTaskBarIconEvent : public wxEvent
3179 {
3180 public:
3181 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3182 { wxPyRaiseNotImplemented(); }
3183 virtual wxEvent* Clone() const { return NULL; }
3184 bool IsOk() const { return false; }
3185 bool IsIconInstalled() const { return false; }
3186 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3187 bool RemoveIcon() { return false; }
3188 bool PopupMenu(wxMenu *menu) { return false; }
3189 };
3190
3191 enum {
3192 wxEVT_TASKBAR_MOVE = 0,
3193 wxEVT_TASKBAR_LEFT_DOWN = 0,
3194 wxEVT_TASKBAR_LEFT_UP = 0,
3195 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3196 wxEVT_TASKBAR_RIGHT_UP = 0,
3197 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3198 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3199 };
3200
3201
3202 #else
3203 // Otherwise make a class that can virtualize CreatePopupMenu
3204 class wxPyTaskBarIcon : public wxTaskBarIcon
3205 {
3206 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3207 public:
3208 wxPyTaskBarIcon() : wxTaskBarIcon()
3209 {}
3210
3211 wxMenu* CreatePopupMenu() {
3212 wxMenu *rval = NULL;
3213 bool found;
3214 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3215 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3216 PyObject* ro;
3217 wxMenu* ptr;
3218 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3219 if (ro) {
3220 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3221 rval = ptr;
3222 Py_DECREF(ro);
3223 }
3224 }
3225 wxPyEndBlockThreads(blocked);
3226 if (! found)
3227 rval = wxTaskBarIcon::CreatePopupMenu();
3228 return rval;
3229 }
3230
3231 PYPRIVATE;
3232 };
3233
3234 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3235
3236 #endif
3237
3238 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3239 self->RemoveIcon();
3240 delete self;
3241 }
3242 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3243 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3244 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3245 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3246 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3247 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3248
3249 // for compatibility only
3250 #define wxHIDE_READONLY 0
3251
3252 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3253 wxArrayString arr;
3254 self->GetFilenames(arr);
3255 return wxArrayString2PyList_helper(arr);
3256 }
3257 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3258 wxArrayString arr;
3259 self->GetPaths(arr);
3260 return wxArrayString2PyList_helper(arr);
3261 }
3262 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3263 return wxArrayInt2PyList_helper(self->GetSelections());
3264 }
3265 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){
3266 return new wxSingleChoiceDialog(parent, message, caption,
3267 choices, choices_array, NULL, style, pos);
3268 }
3269 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3270
3271 SWIGINTERNINLINE PyObject*
3272 SWIG_From_bool (bool value)
3273 {
3274 return PyBool_FromLong(value ? 1 : 0);
3275 }
3276
3277
3278 #include <wx/mdi.h>
3279
3280 // C++ version of Python aware wxWindow
3281 class wxPyWindow : public wxWindow
3282 {
3283 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3284 public:
3285 wxPyWindow() : wxWindow() {}
3286 wxPyWindow(wxWindow* parent, const wxWindowID id,
3287 const wxPoint& pos = wxDefaultPosition,
3288 const wxSize& size = wxDefaultSize,
3289 long style = 0,
3290 const wxString& name = wxPyPanelNameStr)
3291 : wxWindow(parent, id, pos, size, style, name) {}
3292
3293 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3294
3295 bool DoEraseBackground(wxDC* dc) {
3296 #ifdef __WXMSW__
3297 return wxWindow::DoEraseBackground(dc->GetHDC());
3298 #else
3299 dc->SetBackground(wxBrush(GetBackgroundColour()));
3300 dc->Clear();
3301 return true;
3302 #endif
3303 }
3304
3305 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3306 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3307 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3308 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3309
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3311 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3312 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3313
3314 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3315 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3316
3317 DEC_PYCALLBACK__(InitDialog);
3318 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3319 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3320 DEC_PYCALLBACK_BOOL_(Validate);
3321
3322 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3323 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3324 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3325
3326 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3327 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3328
3329 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3330 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3331
3332 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3333
3334 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3335
3336 PYPRIVATE;
3337 };
3338
3339 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3340
3341 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3342 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3343 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3344 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3345
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3347 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3348 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3349
3350 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3351 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3352
3353 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3355 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3356 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3357
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3360 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3361
3362 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3363 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3364
3365 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3366 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3367
3368 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3369
3370 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3371
3372 // C++ version of Python aware wxPanel
3373 class wxPyPanel : public wxPanel
3374 {
3375 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3376 public:
3377 wxPyPanel() : wxPanel() {}
3378 wxPyPanel(wxWindow* parent, const wxWindowID id,
3379 const wxPoint& pos = wxDefaultPosition,
3380 const wxSize& size = wxDefaultSize,
3381 long style = 0,
3382 const wxString& name = wxPyPanelNameStr)
3383 : wxPanel(parent, id, pos, size, style, name) {}
3384
3385 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3386 bool DoEraseBackground(wxDC* dc) {
3387 #ifdef __WXMSW__
3388 return wxWindow::DoEraseBackground(dc->GetHDC());
3389 #else
3390 dc->SetBackground(wxBrush(GetBackgroundColour()));
3391 dc->Clear();
3392 return true;
3393 #endif
3394 }
3395
3396
3397 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3398 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3399 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3400 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3401
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3403 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3404 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3405
3406 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3407 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3408
3409 DEC_PYCALLBACK__(InitDialog);
3410 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3411 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3412 DEC_PYCALLBACK_BOOL_(Validate);
3413
3414 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3415 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3416 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3417
3418 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3419 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3420
3421 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3422 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3423
3424 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3425
3426 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3427
3428 PYPRIVATE;
3429 };
3430
3431 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3432
3433 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3434 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3435 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3436 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3437
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3439 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3440 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3441
3442 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3443 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3444
3445 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3447 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3448 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3449
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3451 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3452 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3453
3454 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3455 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3456
3457 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3458 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3459
3460 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3461
3462 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3463
3464 // C++ version of Python aware wxScrolledWindow
3465 class wxPyScrolledWindow : public wxScrolledWindow
3466 {
3467 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3468 public:
3469 wxPyScrolledWindow() : wxScrolledWindow() {}
3470 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3471 const wxPoint& pos = wxDefaultPosition,
3472 const wxSize& size = wxDefaultSize,
3473 long style = 0,
3474 const wxString& name = wxPyPanelNameStr)
3475 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3476
3477 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3478 bool DoEraseBackground(wxDC* dc) {
3479 #ifdef __WXMSW__
3480 return wxWindow::DoEraseBackground(dc->GetHDC());
3481 #else
3482 dc->SetBackground(wxBrush(GetBackgroundColour()));
3483 dc->Clear();
3484 return true;
3485 #endif
3486 }
3487
3488 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3489 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3490 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3491 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3492
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3494 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3495 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3496
3497 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3498 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3499
3500 DEC_PYCALLBACK__(InitDialog);
3501 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3502 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3503 DEC_PYCALLBACK_BOOL_(Validate);
3504
3505 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3506 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3507 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3508
3509 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3510 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3511
3512 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3513 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3514
3515 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3516
3517 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3518
3519 PYPRIVATE;
3520 };
3521
3522 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3523
3524 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3525 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3526 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3527 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3528
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3530 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3531 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3532
3533 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3535
3536 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3538 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3539 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3540
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3542 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3543 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3544
3545 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3546 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3547
3548 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3549 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3550
3551 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3552
3553 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3554
3555
3556 #include "wx/wxPython/printfw.h"
3557
3558
3559 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3560 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3561 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3562 PyObject* data;
3563 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3564 data = PyString_FromStringAndSize(self->GetPrivData(),
3565 self->GetPrivDataLen());
3566 wxPyEndBlockThreads(blocked);
3567 return data;
3568 }
3569 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3570 if (! PyString_Check(data)) {
3571 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3572 "Expected string object"));
3573 return /* NULL */ ;
3574 }
3575
3576 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3577 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3578 wxPyEndBlockThreads(blocked);
3579 }
3580
3581
3582 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3583
3584 // Since this one would be tough and ugly to do with the Macros...
3585 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3586 bool hadErr = false;
3587 bool found;
3588
3589 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3590 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3591 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3592 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3593 PyObject* val;
3594
3595 val = PyTuple_GetItem(result, 0);
3596 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3597 else hadErr = true;
3598
3599 val = PyTuple_GetItem(result, 1);
3600 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3601 else hadErr = true;
3602
3603 val = PyTuple_GetItem(result, 2);
3604 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3605 else hadErr = true;
3606
3607 val = PyTuple_GetItem(result, 3);
3608 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3609 else hadErr = true;
3610 }
3611 else
3612 hadErr = true;
3613
3614 if (hadErr) {
3615 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3616 PyErr_Print();
3617 }
3618 Py_DECREF(result);
3619 }
3620 wxPyEndBlockThreads(blocked);
3621 if (! found)
3622 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3623 }
3624
3625
3626
3627 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3628 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3629 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3630 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3631 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3632 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3633 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3634
3635
3636
3637
3638
3639 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3640 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3641
3642
3643 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3644 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3645 bool rval=false; \
3646 bool found; \
3647 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3648 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3649 PyObject* win = wxPyMake_wxObject(a,false); \
3650 PyObject* dc = wxPyMake_wxObject(&b,false); \
3651 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3652 Py_DECREF(win); \
3653 Py_DECREF(dc); \
3654 } \
3655 wxPyEndBlockThreads(blocked); \
3656 if (! found) \
3657 rval = PCLASS::CBNAME(a, b); \
3658 return rval; \
3659 }
3660
3661
3662
3663
3664 class wxPyPrintPreview : public wxPrintPreview
3665 {
3666 DECLARE_CLASS(wxPyPrintPreview)
3667 public:
3668 wxPyPrintPreview(wxPyPrintout* printout,
3669 wxPyPrintout* printoutForPrinting,
3670 wxPrintDialogData* data=NULL)
3671 : wxPrintPreview(printout, printoutForPrinting, data)
3672 {}
3673 wxPyPrintPreview(wxPyPrintout* printout,
3674 wxPyPrintout* printoutForPrinting,
3675 wxPrintData* data)
3676 : wxPrintPreview(printout, printoutForPrinting, data)
3677 {}
3678
3679 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3680 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3681 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3682 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3683 DEC_PYCALLBACK_VOID_INT(SetZoom);
3684 DEC_PYCALLBACK_BOOL_BOOL(Print);
3685 DEC_PYCALLBACK_VOID_(DetermineScaling);
3686
3687 PYPRIVATE;
3688 };
3689
3690 // Stupid renamed classes... Fix this in 2.5...
3691 #if defined(__WXMSW__)
3692 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3693 #elif defined(__WXMAC__)
3694 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3695 #else
3696 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3697 #endif
3698
3699 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3700 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3701 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3702 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3703 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3704 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3705 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3706
3707
3708 class wxPyPreviewFrame : public wxPreviewFrame
3709 {
3710 DECLARE_CLASS(wxPyPreviewFrame)
3711 public:
3712 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3713 const wxString& title,
3714 const wxPoint& pos = wxDefaultPosition,
3715 const wxSize& size = wxDefaultSize,
3716 long style = wxDEFAULT_FRAME_STYLE,
3717 const wxString& name = wxPyFrameNameStr)
3718 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3719 {}
3720
3721 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3722 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3723
3724 DEC_PYCALLBACK_VOID_(Initialize);
3725 DEC_PYCALLBACK_VOID_(CreateCanvas);
3726 DEC_PYCALLBACK_VOID_(CreateControlBar);
3727
3728 PYPRIVATE;
3729 };
3730
3731 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3732
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3735 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3736
3737
3738 class wxPyPreviewControlBar : public wxPreviewControlBar
3739 {
3740 DECLARE_CLASS(wxPyPreviewControlBar)
3741 public:
3742 wxPyPreviewControlBar(wxPrintPreview *preview,
3743 long buttons,
3744 wxWindow *parent,
3745 const wxPoint& pos = wxDefaultPosition,
3746 const wxSize& size = wxDefaultSize,
3747 long style = 0,
3748 const wxString& name = wxPyPanelNameStr)
3749 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3750 {}
3751
3752 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3753
3754 DEC_PYCALLBACK_VOID_(CreateButtons);
3755 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3756
3757 PYPRIVATE;
3758 };
3759
3760 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3761 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3762 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3763
3764 #ifdef __cplusplus
3765 extern "C" {
3766 #endif
3767 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj = 0;
3769 wxWindow *arg1 = (wxWindow *) 0 ;
3770 int arg2 = (int) (int)-1 ;
3771 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3772 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3773 wxSize const &arg4_defvalue = wxDefaultSize ;
3774 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3775 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3776 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3777 wxString *arg6 = (wxString *) &arg6_defvalue ;
3778 wxPanel *result = 0 ;
3779 void *argp1 = 0 ;
3780 int res1 = 0 ;
3781 int val2 ;
3782 int ecode2 = 0 ;
3783 wxPoint temp3 ;
3784 wxSize temp4 ;
3785 long val5 ;
3786 int ecode5 = 0 ;
3787 bool temp6 = false ;
3788 PyObject * obj0 = 0 ;
3789 PyObject * obj1 = 0 ;
3790 PyObject * obj2 = 0 ;
3791 PyObject * obj3 = 0 ;
3792 PyObject * obj4 = 0 ;
3793 PyObject * obj5 = 0 ;
3794 char * kwnames[] = {
3795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3796 };
3797
3798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3800 if (!SWIG_IsOK(res1)) {
3801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3802 }
3803 arg1 = reinterpret_cast< wxWindow * >(argp1);
3804 if (obj1) {
3805 ecode2 = SWIG_AsVal_int(obj1, &val2);
3806 if (!SWIG_IsOK(ecode2)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3808 }
3809 arg2 = static_cast< int >(val2);
3810 }
3811 if (obj2) {
3812 {
3813 arg3 = &temp3;
3814 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3815 }
3816 }
3817 if (obj3) {
3818 {
3819 arg4 = &temp4;
3820 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3821 }
3822 }
3823 if (obj4) {
3824 ecode5 = SWIG_AsVal_long(obj4, &val5);
3825 if (!SWIG_IsOK(ecode5)) {
3826 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3827 }
3828 arg5 = static_cast< long >(val5);
3829 }
3830 if (obj5) {
3831 {
3832 arg6 = wxString_in_helper(obj5);
3833 if (arg6 == NULL) SWIG_fail;
3834 temp6 = true;
3835 }
3836 }
3837 {
3838 if (!wxPyCheckForApp()) SWIG_fail;
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3845 {
3846 if (temp6)
3847 delete arg6;
3848 }
3849 return resultobj;
3850 fail:
3851 {
3852 if (temp6)
3853 delete arg6;
3854 }
3855 return NULL;
3856 }
3857
3858
3859 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3860 PyObject *resultobj = 0;
3861 wxPanel *result = 0 ;
3862
3863 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3864 {
3865 if (!wxPyCheckForApp()) SWIG_fail;
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 result = (wxPanel *)new wxPanel();
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3872 return resultobj;
3873 fail:
3874 return NULL;
3875 }
3876
3877
3878 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3879 PyObject *resultobj = 0;
3880 wxPanel *arg1 = (wxPanel *) 0 ;
3881 wxWindow *arg2 = (wxWindow *) 0 ;
3882 int arg3 = (int) (int)-1 ;
3883 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3884 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3885 wxSize const &arg5_defvalue = wxDefaultSize ;
3886 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3887 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3888 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3889 wxString *arg7 = (wxString *) &arg7_defvalue ;
3890 bool result;
3891 void *argp1 = 0 ;
3892 int res1 = 0 ;
3893 void *argp2 = 0 ;
3894 int res2 = 0 ;
3895 int val3 ;
3896 int ecode3 = 0 ;
3897 wxPoint temp4 ;
3898 wxSize temp5 ;
3899 long val6 ;
3900 int ecode6 = 0 ;
3901 bool temp7 = false ;
3902 PyObject * obj0 = 0 ;
3903 PyObject * obj1 = 0 ;
3904 PyObject * obj2 = 0 ;
3905 PyObject * obj3 = 0 ;
3906 PyObject * obj4 = 0 ;
3907 PyObject * obj5 = 0 ;
3908 PyObject * obj6 = 0 ;
3909 char * kwnames[] = {
3910 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3911 };
3912
3913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3915 if (!SWIG_IsOK(res1)) {
3916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3917 }
3918 arg1 = reinterpret_cast< wxPanel * >(argp1);
3919 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3920 if (!SWIG_IsOK(res2)) {
3921 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3922 }
3923 arg2 = reinterpret_cast< wxWindow * >(argp2);
3924 if (obj2) {
3925 ecode3 = SWIG_AsVal_int(obj2, &val3);
3926 if (!SWIG_IsOK(ecode3)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3928 }
3929 arg3 = static_cast< int >(val3);
3930 }
3931 if (obj3) {
3932 {
3933 arg4 = &temp4;
3934 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3935 }
3936 }
3937 if (obj4) {
3938 {
3939 arg5 = &temp5;
3940 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3941 }
3942 }
3943 if (obj5) {
3944 ecode6 = SWIG_AsVal_long(obj5, &val6);
3945 if (!SWIG_IsOK(ecode6)) {
3946 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3947 }
3948 arg6 = static_cast< long >(val6);
3949 }
3950 if (obj6) {
3951 {
3952 arg7 = wxString_in_helper(obj6);
3953 if (arg7 == NULL) SWIG_fail;
3954 temp7 = true;
3955 }
3956 }
3957 {
3958 PyThreadState* __tstate = wxPyBeginAllowThreads();
3959 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 {
3964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3965 }
3966 {
3967 if (temp7)
3968 delete arg7;
3969 }
3970 return resultobj;
3971 fail:
3972 {
3973 if (temp7)
3974 delete arg7;
3975 }
3976 return NULL;
3977 }
3978
3979
3980 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3981 PyObject *resultobj = 0;
3982 wxPanel *arg1 = (wxPanel *) 0 ;
3983 void *argp1 = 0 ;
3984 int res1 = 0 ;
3985 PyObject *swig_obj[1] ;
3986
3987 if (!args) SWIG_fail;
3988 swig_obj[0] = args;
3989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3990 if (!SWIG_IsOK(res1)) {
3991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3992 }
3993 arg1 = reinterpret_cast< wxPanel * >(argp1);
3994 {
3995 PyThreadState* __tstate = wxPyBeginAllowThreads();
3996 (arg1)->SetFocusIgnoringChildren();
3997 wxPyEndAllowThreads(__tstate);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
4000 resultobj = SWIG_Py_Void();
4001 return resultobj;
4002 fail:
4003 return NULL;
4004 }
4005
4006
4007 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4008 PyObject *resultobj = 0;
4009 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4010 SwigValueWrapper<wxVisualAttributes > result;
4011 int val1 ;
4012 int ecode1 = 0 ;
4013 PyObject * obj0 = 0 ;
4014 char * kwnames[] = {
4015 (char *) "variant", NULL
4016 };
4017
4018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4019 if (obj0) {
4020 ecode1 = SWIG_AsVal_int(obj0, &val1);
4021 if (!SWIG_IsOK(ecode1)) {
4022 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4023 }
4024 arg1 = static_cast< wxWindowVariant >(val1);
4025 }
4026 {
4027 if (!wxPyCheckForApp()) SWIG_fail;
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 result = wxPanel::GetClassDefaultAttributes(arg1);
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4034 return resultobj;
4035 fail:
4036 return NULL;
4037 }
4038
4039
4040 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4041 PyObject *obj;
4042 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4043 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4044 return SWIG_Py_Void();
4045 }
4046
4047 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4048 return SWIG_Python_InitShadowInstance(args);
4049 }
4050
4051 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj = 0;
4053 wxWindow *arg1 = (wxWindow *) 0 ;
4054 int arg2 = (int) (int)-1 ;
4055 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4056 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4057 wxSize const &arg4_defvalue = wxDefaultSize ;
4058 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4059 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4060 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4061 wxString *arg6 = (wxString *) &arg6_defvalue ;
4062 wxScrolledWindow *result = 0 ;
4063 void *argp1 = 0 ;
4064 int res1 = 0 ;
4065 int val2 ;
4066 int ecode2 = 0 ;
4067 wxPoint temp3 ;
4068 wxSize temp4 ;
4069 long val5 ;
4070 int ecode5 = 0 ;
4071 bool temp6 = false ;
4072 PyObject * obj0 = 0 ;
4073 PyObject * obj1 = 0 ;
4074 PyObject * obj2 = 0 ;
4075 PyObject * obj3 = 0 ;
4076 PyObject * obj4 = 0 ;
4077 PyObject * obj5 = 0 ;
4078 char * kwnames[] = {
4079 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4080 };
4081
4082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4084 if (!SWIG_IsOK(res1)) {
4085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4086 }
4087 arg1 = reinterpret_cast< wxWindow * >(argp1);
4088 if (obj1) {
4089 ecode2 = SWIG_AsVal_int(obj1, &val2);
4090 if (!SWIG_IsOK(ecode2)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4092 }
4093 arg2 = static_cast< int >(val2);
4094 }
4095 if (obj2) {
4096 {
4097 arg3 = &temp3;
4098 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4099 }
4100 }
4101 if (obj3) {
4102 {
4103 arg4 = &temp4;
4104 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4105 }
4106 }
4107 if (obj4) {
4108 ecode5 = SWIG_AsVal_long(obj4, &val5);
4109 if (!SWIG_IsOK(ecode5)) {
4110 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4111 }
4112 arg5 = static_cast< long >(val5);
4113 }
4114 if (obj5) {
4115 {
4116 arg6 = wxString_in_helper(obj5);
4117 if (arg6 == NULL) SWIG_fail;
4118 temp6 = true;
4119 }
4120 }
4121 {
4122 if (!wxPyCheckForApp()) SWIG_fail;
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4129 {
4130 if (temp6)
4131 delete arg6;
4132 }
4133 return resultobj;
4134 fail:
4135 {
4136 if (temp6)
4137 delete arg6;
4138 }
4139 return NULL;
4140 }
4141
4142
4143 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4144 PyObject *resultobj = 0;
4145 wxScrolledWindow *result = 0 ;
4146
4147 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4148 {
4149 if (!wxPyCheckForApp()) SWIG_fail;
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 result = (wxScrolledWindow *)new wxScrolledWindow();
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
4155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4156 return resultobj;
4157 fail:
4158 return NULL;
4159 }
4160
4161
4162 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4163 PyObject *resultobj = 0;
4164 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4165 wxWindow *arg2 = (wxWindow *) 0 ;
4166 int arg3 = (int) (int)-1 ;
4167 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4168 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4169 wxSize const &arg5_defvalue = wxDefaultSize ;
4170 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4171 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4172 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4173 wxString *arg7 = (wxString *) &arg7_defvalue ;
4174 bool result;
4175 void *argp1 = 0 ;
4176 int res1 = 0 ;
4177 void *argp2 = 0 ;
4178 int res2 = 0 ;
4179 int val3 ;
4180 int ecode3 = 0 ;
4181 wxPoint temp4 ;
4182 wxSize temp5 ;
4183 long val6 ;
4184 int ecode6 = 0 ;
4185 bool temp7 = false ;
4186 PyObject * obj0 = 0 ;
4187 PyObject * obj1 = 0 ;
4188 PyObject * obj2 = 0 ;
4189 PyObject * obj3 = 0 ;
4190 PyObject * obj4 = 0 ;
4191 PyObject * obj5 = 0 ;
4192 PyObject * obj6 = 0 ;
4193 char * kwnames[] = {
4194 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4195 };
4196
4197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4199 if (!SWIG_IsOK(res1)) {
4200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4201 }
4202 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4203 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4204 if (!SWIG_IsOK(res2)) {
4205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4206 }
4207 arg2 = reinterpret_cast< wxWindow * >(argp2);
4208 if (obj2) {
4209 ecode3 = SWIG_AsVal_int(obj2, &val3);
4210 if (!SWIG_IsOK(ecode3)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4212 }
4213 arg3 = static_cast< int >(val3);
4214 }
4215 if (obj3) {
4216 {
4217 arg4 = &temp4;
4218 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4219 }
4220 }
4221 if (obj4) {
4222 {
4223 arg5 = &temp5;
4224 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4225 }
4226 }
4227 if (obj5) {
4228 ecode6 = SWIG_AsVal_long(obj5, &val6);
4229 if (!SWIG_IsOK(ecode6)) {
4230 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4231 }
4232 arg6 = static_cast< long >(val6);
4233 }
4234 if (obj6) {
4235 {
4236 arg7 = wxString_in_helper(obj6);
4237 if (arg7 == NULL) SWIG_fail;
4238 temp7 = true;
4239 }
4240 }
4241 {
4242 PyThreadState* __tstate = wxPyBeginAllowThreads();
4243 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
4247 {
4248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4249 }
4250 {
4251 if (temp7)
4252 delete arg7;
4253 }
4254 return resultobj;
4255 fail:
4256 {
4257 if (temp7)
4258 delete arg7;
4259 }
4260 return NULL;
4261 }
4262
4263
4264 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj = 0;
4266 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4267 int arg2 ;
4268 int arg3 ;
4269 int arg4 ;
4270 int arg5 ;
4271 int arg6 = (int) 0 ;
4272 int arg7 = (int) 0 ;
4273 bool arg8 = (bool) false ;
4274 void *argp1 = 0 ;
4275 int res1 = 0 ;
4276 int val2 ;
4277 int ecode2 = 0 ;
4278 int val3 ;
4279 int ecode3 = 0 ;
4280 int val4 ;
4281 int ecode4 = 0 ;
4282 int val5 ;
4283 int ecode5 = 0 ;
4284 int val6 ;
4285 int ecode6 = 0 ;
4286 int val7 ;
4287 int ecode7 = 0 ;
4288 bool val8 ;
4289 int ecode8 = 0 ;
4290 PyObject * obj0 = 0 ;
4291 PyObject * obj1 = 0 ;
4292 PyObject * obj2 = 0 ;
4293 PyObject * obj3 = 0 ;
4294 PyObject * obj4 = 0 ;
4295 PyObject * obj5 = 0 ;
4296 PyObject * obj6 = 0 ;
4297 PyObject * obj7 = 0 ;
4298 char * kwnames[] = {
4299 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4300 };
4301
4302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4304 if (!SWIG_IsOK(res1)) {
4305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4306 }
4307 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4308 ecode2 = SWIG_AsVal_int(obj1, &val2);
4309 if (!SWIG_IsOK(ecode2)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4311 }
4312 arg2 = static_cast< int >(val2);
4313 ecode3 = SWIG_AsVal_int(obj2, &val3);
4314 if (!SWIG_IsOK(ecode3)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4316 }
4317 arg3 = static_cast< int >(val3);
4318 ecode4 = SWIG_AsVal_int(obj3, &val4);
4319 if (!SWIG_IsOK(ecode4)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4321 }
4322 arg4 = static_cast< int >(val4);
4323 ecode5 = SWIG_AsVal_int(obj4, &val5);
4324 if (!SWIG_IsOK(ecode5)) {
4325 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4326 }
4327 arg5 = static_cast< int >(val5);
4328 if (obj5) {
4329 ecode6 = SWIG_AsVal_int(obj5, &val6);
4330 if (!SWIG_IsOK(ecode6)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4332 }
4333 arg6 = static_cast< int >(val6);
4334 }
4335 if (obj6) {
4336 ecode7 = SWIG_AsVal_int(obj6, &val7);
4337 if (!SWIG_IsOK(ecode7)) {
4338 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4339 }
4340 arg7 = static_cast< int >(val7);
4341 }
4342 if (obj7) {
4343 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4344 if (!SWIG_IsOK(ecode8)) {
4345 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4346 }
4347 arg8 = static_cast< bool >(val8);
4348 }
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 resultobj = SWIG_Py_Void();
4356 return resultobj;
4357 fail:
4358 return NULL;
4359 }
4360
4361
4362 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4363 PyObject *resultobj = 0;
4364 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4365 int arg2 ;
4366 int arg3 ;
4367 void *argp1 = 0 ;
4368 int res1 = 0 ;
4369 int val2 ;
4370 int ecode2 = 0 ;
4371 int val3 ;
4372 int ecode3 = 0 ;
4373 PyObject * obj0 = 0 ;
4374 PyObject * obj1 = 0 ;
4375 PyObject * obj2 = 0 ;
4376 char * kwnames[] = {
4377 (char *) "self",(char *) "x",(char *) "y", NULL
4378 };
4379
4380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4382 if (!SWIG_IsOK(res1)) {
4383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4384 }
4385 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4386 ecode2 = SWIG_AsVal_int(obj1, &val2);
4387 if (!SWIG_IsOK(ecode2)) {
4388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4389 }
4390 arg2 = static_cast< int >(val2);
4391 ecode3 = SWIG_AsVal_int(obj2, &val3);
4392 if (!SWIG_IsOK(ecode3)) {
4393 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4394 }
4395 arg3 = static_cast< int >(val3);
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 (arg1)->Scroll(arg2,arg3);
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 resultobj = SWIG_Py_Void();
4403 return resultobj;
4404 fail:
4405 return NULL;
4406 }
4407
4408
4409 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj = 0;
4411 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4412 int arg2 ;
4413 int result;
4414 void *argp1 = 0 ;
4415 int res1 = 0 ;
4416 int val2 ;
4417 int ecode2 = 0 ;
4418 PyObject * obj0 = 0 ;
4419 PyObject * obj1 = 0 ;
4420 char * kwnames[] = {
4421 (char *) "self",(char *) "orient", NULL
4422 };
4423
4424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4426 if (!SWIG_IsOK(res1)) {
4427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4428 }
4429 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4430 ecode2 = SWIG_AsVal_int(obj1, &val2);
4431 if (!SWIG_IsOK(ecode2)) {
4432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4433 }
4434 arg2 = static_cast< int >(val2);
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4438 wxPyEndAllowThreads(__tstate);
4439 if (PyErr_Occurred()) SWIG_fail;
4440 }
4441 resultobj = SWIG_From_int(static_cast< int >(result));
4442 return resultobj;
4443 fail:
4444 return NULL;
4445 }
4446
4447
4448 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4449 PyObject *resultobj = 0;
4450 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4451 int arg2 ;
4452 int arg3 ;
4453 void *argp1 = 0 ;
4454 int res1 = 0 ;
4455 int val2 ;
4456 int ecode2 = 0 ;
4457 int val3 ;
4458 int ecode3 = 0 ;
4459 PyObject * obj0 = 0 ;
4460 PyObject * obj1 = 0 ;
4461 PyObject * obj2 = 0 ;
4462 char * kwnames[] = {
4463 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4464 };
4465
4466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4468 if (!SWIG_IsOK(res1)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4470 }
4471 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4472 ecode2 = SWIG_AsVal_int(obj1, &val2);
4473 if (!SWIG_IsOK(ecode2)) {
4474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4475 }
4476 arg2 = static_cast< int >(val2);
4477 ecode3 = SWIG_AsVal_int(obj2, &val3);
4478 if (!SWIG_IsOK(ecode3)) {
4479 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4480 }
4481 arg3 = static_cast< int >(val3);
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 (arg1)->SetScrollPageSize(arg2,arg3);
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 resultobj = SWIG_Py_Void();
4489 return resultobj;
4490 fail:
4491 return NULL;
4492 }
4493
4494
4495 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4496 PyObject *resultobj = 0;
4497 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4498 int arg2 ;
4499 int arg3 ;
4500 void *argp1 = 0 ;
4501 int res1 = 0 ;
4502 int val2 ;
4503 int ecode2 = 0 ;
4504 int val3 ;
4505 int ecode3 = 0 ;
4506 PyObject * obj0 = 0 ;
4507 PyObject * obj1 = 0 ;
4508 PyObject * obj2 = 0 ;
4509 char * kwnames[] = {
4510 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4511 };
4512
4513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4515 if (!SWIG_IsOK(res1)) {
4516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4517 }
4518 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4519 ecode2 = SWIG_AsVal_int(obj1, &val2);
4520 if (!SWIG_IsOK(ecode2)) {
4521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4522 }
4523 arg2 = static_cast< int >(val2);
4524 ecode3 = SWIG_AsVal_int(obj2, &val3);
4525 if (!SWIG_IsOK(ecode3)) {
4526 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4527 }
4528 arg3 = static_cast< int >(val3);
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 (arg1)->SetScrollRate(arg2,arg3);
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 }
4535 resultobj = SWIG_Py_Void();
4536 return resultobj;
4537 fail:
4538 return NULL;
4539 }
4540
4541
4542 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4543 PyObject *resultobj = 0;
4544 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4545 int *arg2 = (int *) 0 ;
4546 int *arg3 = (int *) 0 ;
4547 void *argp1 = 0 ;
4548 int res1 = 0 ;
4549 int temp2 ;
4550 int res2 = SWIG_TMPOBJ ;
4551 int temp3 ;
4552 int res3 = SWIG_TMPOBJ ;
4553 PyObject *swig_obj[1] ;
4554
4555 arg2 = &temp2;
4556 arg3 = &temp3;
4557 if (!args) SWIG_fail;
4558 swig_obj[0] = args;
4559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4560 if (!SWIG_IsOK(res1)) {
4561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4562 }
4563 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 resultobj = SWIG_Py_Void();
4571 if (SWIG_IsTmpObj(res2)) {
4572 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4573 } else {
4574 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4575 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4576 }
4577 if (SWIG_IsTmpObj(res3)) {
4578 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4579 } else {
4580 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4581 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4582 }
4583 return resultobj;
4584 fail:
4585 return NULL;
4586 }
4587
4588
4589 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4590 PyObject *resultobj = 0;
4591 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4592 bool arg2 ;
4593 bool arg3 ;
4594 void *argp1 = 0 ;
4595 int res1 = 0 ;
4596 bool val2 ;
4597 int ecode2 = 0 ;
4598 bool val3 ;
4599 int ecode3 = 0 ;
4600 PyObject * obj0 = 0 ;
4601 PyObject * obj1 = 0 ;
4602 PyObject * obj2 = 0 ;
4603 char * kwnames[] = {
4604 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4605 };
4606
4607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4609 if (!SWIG_IsOK(res1)) {
4610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4611 }
4612 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4613 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4614 if (!SWIG_IsOK(ecode2)) {
4615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4616 }
4617 arg2 = static_cast< bool >(val2);
4618 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4619 if (!SWIG_IsOK(ecode3)) {
4620 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4621 }
4622 arg3 = static_cast< bool >(val3);
4623 {
4624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4625 (arg1)->EnableScrolling(arg2,arg3);
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 resultobj = SWIG_Py_Void();
4630 return resultobj;
4631 fail:
4632 return NULL;
4633 }
4634
4635
4636 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4637 PyObject *resultobj = 0;
4638 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4639 int *arg2 = (int *) 0 ;
4640 int *arg3 = (int *) 0 ;
4641 void *argp1 = 0 ;
4642 int res1 = 0 ;
4643 int temp2 ;
4644 int res2 = SWIG_TMPOBJ ;
4645 int temp3 ;
4646 int res3 = SWIG_TMPOBJ ;
4647 PyObject *swig_obj[1] ;
4648
4649 arg2 = &temp2;
4650 arg3 = &temp3;
4651 if (!args) SWIG_fail;
4652 swig_obj[0] = args;
4653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4654 if (!SWIG_IsOK(res1)) {
4655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4656 }
4657 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4658 {
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4664 resultobj = SWIG_Py_Void();
4665 if (SWIG_IsTmpObj(res2)) {
4666 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4667 } else {
4668 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4669 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4670 }
4671 if (SWIG_IsTmpObj(res3)) {
4672 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4673 } else {
4674 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4675 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4676 }
4677 return resultobj;
4678 fail:
4679 return NULL;
4680 }
4681
4682
4683 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj = 0;
4685 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4686 double arg2 ;
4687 double arg3 ;
4688 void *argp1 = 0 ;
4689 int res1 = 0 ;
4690 double val2 ;
4691 int ecode2 = 0 ;
4692 double val3 ;
4693 int ecode3 = 0 ;
4694 PyObject * obj0 = 0 ;
4695 PyObject * obj1 = 0 ;
4696 PyObject * obj2 = 0 ;
4697 char * kwnames[] = {
4698 (char *) "self",(char *) "xs",(char *) "ys", NULL
4699 };
4700
4701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4703 if (!SWIG_IsOK(res1)) {
4704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4705 }
4706 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4707 ecode2 = SWIG_AsVal_double(obj1, &val2);
4708 if (!SWIG_IsOK(ecode2)) {
4709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4710 }
4711 arg2 = static_cast< double >(val2);
4712 ecode3 = SWIG_AsVal_double(obj2, &val3);
4713 if (!SWIG_IsOK(ecode3)) {
4714 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4715 }
4716 arg3 = static_cast< double >(val3);
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 (arg1)->SetScale(arg2,arg3);
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = SWIG_Py_Void();
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4731 PyObject *resultobj = 0;
4732 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4733 double result;
4734 void *argp1 = 0 ;
4735 int res1 = 0 ;
4736 PyObject *swig_obj[1] ;
4737
4738 if (!args) SWIG_fail;
4739 swig_obj[0] = args;
4740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4741 if (!SWIG_IsOK(res1)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4743 }
4744 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4745 {
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 resultobj = SWIG_From_double(static_cast< double >(result));
4752 return resultobj;
4753 fail:
4754 return NULL;
4755 }
4756
4757
4758 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4759 PyObject *resultobj = 0;
4760 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4761 double result;
4762 void *argp1 = 0 ;
4763 int res1 = 0 ;
4764 PyObject *swig_obj[1] ;
4765
4766 if (!args) SWIG_fail;
4767 swig_obj[0] = args;
4768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4769 if (!SWIG_IsOK(res1)) {
4770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4771 }
4772 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 resultobj = SWIG_From_double(static_cast< double >(result));
4780 return resultobj;
4781 fail:
4782 return NULL;
4783 }
4784
4785
4786 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4787 PyObject *resultobj = 0;
4788 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4789 wxPoint *arg2 = 0 ;
4790 wxPoint result;
4791 void *argp1 = 0 ;
4792 int res1 = 0 ;
4793 wxPoint temp2 ;
4794
4795 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4797 if (!SWIG_IsOK(res1)) {
4798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4799 }
4800 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4801 {
4802 arg2 = &temp2;
4803 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4804 }
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4812 return resultobj;
4813 fail:
4814 return NULL;
4815 }
4816
4817
4818 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4819 PyObject *resultobj = 0;
4820 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4821 int arg2 ;
4822 int arg3 ;
4823 int *arg4 = (int *) 0 ;
4824 int *arg5 = (int *) 0 ;
4825 void *argp1 = 0 ;
4826 int res1 = 0 ;
4827 int val2 ;
4828 int ecode2 = 0 ;
4829 int val3 ;
4830 int ecode3 = 0 ;
4831 int temp4 ;
4832 int res4 = SWIG_TMPOBJ ;
4833 int temp5 ;
4834 int res5 = SWIG_TMPOBJ ;
4835
4836 arg4 = &temp4;
4837 arg5 = &temp5;
4838 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4840 if (!SWIG_IsOK(res1)) {
4841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4842 }
4843 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4844 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4845 if (!SWIG_IsOK(ecode2)) {
4846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4847 }
4848 arg2 = static_cast< int >(val2);
4849 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4850 if (!SWIG_IsOK(ecode3)) {
4851 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4852 }
4853 arg3 = static_cast< int >(val3);
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 resultobj = SWIG_Py_Void();
4861 if (SWIG_IsTmpObj(res4)) {
4862 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4863 } else {
4864 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4865 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4866 }
4867 if (SWIG_IsTmpObj(res5)) {
4868 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4869 } else {
4870 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4871 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4872 }
4873 return resultobj;
4874 fail:
4875 return NULL;
4876 }
4877
4878
4879 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4880 int argc;
4881 PyObject *argv[4];
4882
4883 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4884 --argc;
4885 if (argc == 2) {
4886 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4887 }
4888 if (argc == 3) {
4889 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4890 }
4891
4892 fail:
4893 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4894 return NULL;
4895 }
4896
4897
4898 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4899 PyObject *resultobj = 0;
4900 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4901 wxPoint *arg2 = 0 ;
4902 wxPoint result;
4903 void *argp1 = 0 ;
4904 int res1 = 0 ;
4905 wxPoint temp2 ;
4906
4907 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4909 if (!SWIG_IsOK(res1)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4911 }
4912 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4913 {
4914 arg2 = &temp2;
4915 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4916 }
4917 {
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4931 PyObject *resultobj = 0;
4932 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4933 int arg2 ;
4934 int arg3 ;
4935 int *arg4 = (int *) 0 ;
4936 int *arg5 = (int *) 0 ;
4937 void *argp1 = 0 ;
4938 int res1 = 0 ;
4939 int val2 ;
4940 int ecode2 = 0 ;
4941 int val3 ;
4942 int ecode3 = 0 ;
4943 int temp4 ;
4944 int res4 = SWIG_TMPOBJ ;
4945 int temp5 ;
4946 int res5 = SWIG_TMPOBJ ;
4947
4948 arg4 = &temp4;
4949 arg5 = &temp5;
4950 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4952 if (!SWIG_IsOK(res1)) {
4953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4954 }
4955 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4956 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4957 if (!SWIG_IsOK(ecode2)) {
4958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4959 }
4960 arg2 = static_cast< int >(val2);
4961 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4962 if (!SWIG_IsOK(ecode3)) {
4963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4964 }
4965 arg3 = static_cast< int >(val3);
4966 {
4967 PyThreadState* __tstate = wxPyBeginAllowThreads();
4968 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 resultobj = SWIG_Py_Void();
4973 if (SWIG_IsTmpObj(res4)) {
4974 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4975 } else {
4976 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4977 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4978 }
4979 if (SWIG_IsTmpObj(res5)) {
4980 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4981 } else {
4982 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4983 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4984 }
4985 return resultobj;
4986 fail:
4987 return NULL;
4988 }
4989
4990
4991 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4992 int argc;
4993 PyObject *argv[4];
4994
4995 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4996 --argc;
4997 if (argc == 2) {
4998 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4999 }
5000 if (argc == 3) {
5001 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5002 }
5003
5004 fail:
5005 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5006 return NULL;
5007 }
5008
5009
5010 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5011 PyObject *resultobj = 0;
5012 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5013 void *argp1 = 0 ;
5014 int res1 = 0 ;
5015 PyObject *swig_obj[1] ;
5016
5017 if (!args) SWIG_fail;
5018 swig_obj[0] = args;
5019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5020 if (!SWIG_IsOK(res1)) {
5021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5022 }
5023 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 (arg1)->AdjustScrollbars();
5027 wxPyEndAllowThreads(__tstate);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 }
5030 resultobj = SWIG_Py_Void();
5031 return resultobj;
5032 fail:
5033 return NULL;
5034 }
5035
5036
5037 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5038 PyObject *resultobj = 0;
5039 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5040 wxScrollWinEvent *arg2 = 0 ;
5041 int result;
5042 void *argp1 = 0 ;
5043 int res1 = 0 ;
5044 void *argp2 = 0 ;
5045 int res2 = 0 ;
5046 PyObject * obj0 = 0 ;
5047 PyObject * obj1 = 0 ;
5048 char * kwnames[] = {
5049 (char *) "self",(char *) "event", NULL
5050 };
5051
5052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5054 if (!SWIG_IsOK(res1)) {
5055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5056 }
5057 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5058 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5059 if (!SWIG_IsOK(res2)) {
5060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5061 }
5062 if (!argp2) {
5063 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5064 }
5065 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 result = (int)(arg1)->CalcScrollInc(*arg2);
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 resultobj = SWIG_From_int(static_cast< int >(result));
5073 return resultobj;
5074 fail:
5075 return NULL;
5076 }
5077
5078
5079 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj = 0;
5081 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5082 wxWindow *arg2 = (wxWindow *) 0 ;
5083 void *argp1 = 0 ;
5084 int res1 = 0 ;
5085 void *argp2 = 0 ;
5086 int res2 = 0 ;
5087 PyObject * obj0 = 0 ;
5088 PyObject * obj1 = 0 ;
5089 char * kwnames[] = {
5090 (char *) "self",(char *) "target", NULL
5091 };
5092
5093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5095 if (!SWIG_IsOK(res1)) {
5096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5097 }
5098 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5099 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5100 if (!SWIG_IsOK(res2)) {
5101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5102 }
5103 arg2 = reinterpret_cast< wxWindow * >(argp2);
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 (arg1)->SetTargetWindow(arg2);
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 resultobj = SWIG_Py_Void();
5111 return resultobj;
5112 fail:
5113 return NULL;
5114 }
5115
5116
5117 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5118 PyObject *resultobj = 0;
5119 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5120 wxWindow *result = 0 ;
5121 void *argp1 = 0 ;
5122 int res1 = 0 ;
5123 PyObject *swig_obj[1] ;
5124
5125 if (!args) SWIG_fail;
5126 swig_obj[0] = args;
5127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5128 if (!SWIG_IsOK(res1)) {
5129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5130 }
5131 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5135 wxPyEndAllowThreads(__tstate);
5136 if (PyErr_Occurred()) SWIG_fail;
5137 }
5138 {
5139 resultobj = wxPyMake_wxObject(result, 0);
5140 }
5141 return resultobj;
5142 fail:
5143 return NULL;
5144 }
5145
5146
5147 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5148 PyObject *resultobj = 0;
5149 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5150 wxRect *arg2 = 0 ;
5151 void *argp1 = 0 ;
5152 int res1 = 0 ;
5153 wxRect temp2 ;
5154 PyObject * obj0 = 0 ;
5155 PyObject * obj1 = 0 ;
5156 char * kwnames[] = {
5157 (char *) "self",(char *) "rect", NULL
5158 };
5159
5160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5162 if (!SWIG_IsOK(res1)) {
5163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5164 }
5165 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5166 {
5167 arg2 = &temp2;
5168 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5169 }
5170 {
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 (arg1)->SetTargetRect((wxRect const &)*arg2);
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 resultobj = SWIG_Py_Void();
5177 return resultobj;
5178 fail:
5179 return NULL;
5180 }
5181
5182
5183 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5184 PyObject *resultobj = 0;
5185 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5186 wxRect result;
5187 void *argp1 = 0 ;
5188 int res1 = 0 ;
5189 PyObject *swig_obj[1] ;
5190
5191 if (!args) SWIG_fail;
5192 swig_obj[0] = args;
5193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5194 if (!SWIG_IsOK(res1)) {
5195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5196 }
5197 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5198 {
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5205 return resultobj;
5206 fail:
5207 return NULL;
5208 }
5209
5210
5211 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj = 0;
5213 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5214 wxDC *arg2 = 0 ;
5215 void *argp1 = 0 ;
5216 int res1 = 0 ;
5217 void *argp2 = 0 ;
5218 int res2 = 0 ;
5219 PyObject * obj0 = 0 ;
5220 PyObject * obj1 = 0 ;
5221 char * kwnames[] = {
5222 (char *) "self",(char *) "dc", NULL
5223 };
5224
5225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5227 if (!SWIG_IsOK(res1)) {
5228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5229 }
5230 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5231 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5232 if (!SWIG_IsOK(res2)) {
5233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5234 }
5235 if (!argp2) {
5236 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5237 }
5238 arg2 = reinterpret_cast< wxDC * >(argp2);
5239 {
5240 PyThreadState* __tstate = wxPyBeginAllowThreads();
5241 (arg1)->DoPrepareDC(*arg2);
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 resultobj = SWIG_Py_Void();
5246 return resultobj;
5247 fail:
5248 return NULL;
5249 }
5250
5251
5252 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5253 PyObject *resultobj = 0;
5254 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5255 SwigValueWrapper<wxVisualAttributes > result;
5256 int val1 ;
5257 int ecode1 = 0 ;
5258 PyObject * obj0 = 0 ;
5259 char * kwnames[] = {
5260 (char *) "variant", NULL
5261 };
5262
5263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5264 if (obj0) {
5265 ecode1 = SWIG_AsVal_int(obj0, &val1);
5266 if (!SWIG_IsOK(ecode1)) {
5267 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5268 }
5269 arg1 = static_cast< wxWindowVariant >(val1);
5270 }
5271 {
5272 if (!wxPyCheckForApp()) SWIG_fail;
5273 PyThreadState* __tstate = wxPyBeginAllowThreads();
5274 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5279 return resultobj;
5280 fail:
5281 return NULL;
5282 }
5283
5284
5285 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5286 PyObject *obj;
5287 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5288 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5289 return SWIG_Py_Void();
5290 }
5291
5292 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5293 return SWIG_Python_InitShadowInstance(args);
5294 }
5295
5296 SWIGINTERN int FrameNameStr_set(PyObject *) {
5297 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5298 return 1;
5299 }
5300
5301
5302 SWIGINTERN PyObject *FrameNameStr_get(void) {
5303 PyObject *pyobj = 0;
5304
5305 {
5306 #if wxUSE_UNICODE
5307 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5308 #else
5309 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5310 #endif
5311 }
5312 return pyobj;
5313 }
5314
5315
5316 SWIGINTERN int DialogNameStr_set(PyObject *) {
5317 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5318 return 1;
5319 }
5320
5321
5322 SWIGINTERN PyObject *DialogNameStr_get(void) {
5323 PyObject *pyobj = 0;
5324
5325 {
5326 #if wxUSE_UNICODE
5327 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5328 #else
5329 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5330 #endif
5331 }
5332 return pyobj;
5333 }
5334
5335
5336 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5337 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5338 return 1;
5339 }
5340
5341
5342 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5343 PyObject *pyobj = 0;
5344
5345 {
5346 #if wxUSE_UNICODE
5347 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5348 #else
5349 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5350 #endif
5351 }
5352 return pyobj;
5353 }
5354
5355
5356 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5357 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5358 return 1;
5359 }
5360
5361
5362 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5363 PyObject *pyobj = 0;
5364
5365 {
5366 #if wxUSE_UNICODE
5367 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5368 #else
5369 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5370 #endif
5371 }
5372 return pyobj;
5373 }
5374
5375
5376 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj = 0;
5378 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5379 bool arg2 = (bool) true ;
5380 void *argp1 = 0 ;
5381 int res1 = 0 ;
5382 bool val2 ;
5383 int ecode2 = 0 ;
5384 PyObject * obj0 = 0 ;
5385 PyObject * obj1 = 0 ;
5386 char * kwnames[] = {
5387 (char *) "self",(char *) "maximize", NULL
5388 };
5389
5390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5392 if (!SWIG_IsOK(res1)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5394 }
5395 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5396 if (obj1) {
5397 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5398 if (!SWIG_IsOK(ecode2)) {
5399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5400 }
5401 arg2 = static_cast< bool >(val2);
5402 }
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 (arg1)->Maximize(arg2);
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 resultobj = SWIG_Py_Void();
5410 return resultobj;
5411 fail:
5412 return NULL;
5413 }
5414
5415
5416 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5417 PyObject *resultobj = 0;
5418 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5419 void *argp1 = 0 ;
5420 int res1 = 0 ;
5421 PyObject *swig_obj[1] ;
5422
5423 if (!args) SWIG_fail;
5424 swig_obj[0] = args;
5425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5426 if (!SWIG_IsOK(res1)) {
5427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5428 }
5429 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 (arg1)->Restore();
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 resultobj = SWIG_Py_Void();
5437 return resultobj;
5438 fail:
5439 return NULL;
5440 }
5441
5442
5443 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5444 PyObject *resultobj = 0;
5445 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5446 bool arg2 = (bool) true ;
5447 void *argp1 = 0 ;
5448 int res1 = 0 ;
5449 bool val2 ;
5450 int ecode2 = 0 ;
5451 PyObject * obj0 = 0 ;
5452 PyObject * obj1 = 0 ;
5453 char * kwnames[] = {
5454 (char *) "self",(char *) "iconize", NULL
5455 };
5456
5457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5459 if (!SWIG_IsOK(res1)) {
5460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5461 }
5462 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5463 if (obj1) {
5464 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5465 if (!SWIG_IsOK(ecode2)) {
5466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5467 }
5468 arg2 = static_cast< bool >(val2);
5469 }
5470 {
5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
5472 (arg1)->Iconize(arg2);
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
5476 resultobj = SWIG_Py_Void();
5477 return resultobj;
5478 fail:
5479 return NULL;
5480 }
5481
5482
5483 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5484 PyObject *resultobj = 0;
5485 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5486 bool result;
5487 void *argp1 = 0 ;
5488 int res1 = 0 ;
5489 PyObject *swig_obj[1] ;
5490
5491 if (!args) SWIG_fail;
5492 swig_obj[0] = args;
5493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5494 if (!SWIG_IsOK(res1)) {
5495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5496 }
5497 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5498 {
5499 PyThreadState* __tstate = wxPyBeginAllowThreads();
5500 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 {
5505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5506 }
5507 return resultobj;
5508 fail:
5509 return NULL;
5510 }
5511
5512
5513 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5514 PyObject *resultobj = 0;
5515 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5516 bool result;
5517 void *argp1 = 0 ;
5518 int res1 = 0 ;
5519 PyObject *swig_obj[1] ;
5520
5521 if (!args) SWIG_fail;
5522 swig_obj[0] = args;
5523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5524 if (!SWIG_IsOK(res1)) {
5525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5526 }
5527 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
5530 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 {
5535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5536 }
5537 return resultobj;
5538 fail:
5539 return NULL;
5540 }
5541
5542
5543 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5544 PyObject *resultobj = 0;
5545 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5546 bool result;
5547 void *argp1 = 0 ;
5548 int res1 = 0 ;
5549 PyObject *swig_obj[1] ;
5550
5551 if (!args) SWIG_fail;
5552 swig_obj[0] = args;
5553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5554 if (!SWIG_IsOK(res1)) {
5555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5556 }
5557 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5558 {
5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
5560 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 {
5565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5566 }
5567 return resultobj;
5568 fail:
5569 return NULL;
5570 }
5571
5572
5573 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5574 PyObject *resultobj = 0;
5575 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5576 wxIcon result;
5577 void *argp1 = 0 ;
5578 int res1 = 0 ;
5579 PyObject *swig_obj[1] ;
5580
5581 if (!args) SWIG_fail;
5582 swig_obj[0] = args;
5583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5584 if (!SWIG_IsOK(res1)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5586 }
5587 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5595 return resultobj;
5596 fail:
5597 return NULL;
5598 }
5599
5600
5601 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj = 0;
5603 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5604 wxIcon *arg2 = 0 ;
5605 void *argp1 = 0 ;
5606 int res1 = 0 ;
5607 void *argp2 = 0 ;
5608 int res2 = 0 ;
5609 PyObject * obj0 = 0 ;
5610 PyObject * obj1 = 0 ;
5611 char * kwnames[] = {
5612 (char *) "self",(char *) "icon", NULL
5613 };
5614
5615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5617 if (!SWIG_IsOK(res1)) {
5618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5619 }
5620 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5621 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5622 if (!SWIG_IsOK(res2)) {
5623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5624 }
5625 if (!argp2) {
5626 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5627 }
5628 arg2 = reinterpret_cast< wxIcon * >(argp2);
5629 {
5630 PyThreadState* __tstate = wxPyBeginAllowThreads();
5631 (arg1)->SetIcon((wxIcon const &)*arg2);
5632 wxPyEndAllowThreads(__tstate);
5633 if (PyErr_Occurred()) SWIG_fail;
5634 }
5635 resultobj = SWIG_Py_Void();
5636 return resultobj;
5637 fail:
5638 return NULL;
5639 }
5640
5641
5642 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5643 PyObject *resultobj = 0;
5644 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5645 wxIconBundle *arg2 = 0 ;
5646 void *argp1 = 0 ;
5647 int res1 = 0 ;
5648 void *argp2 = 0 ;
5649 int res2 = 0 ;
5650 PyObject * obj0 = 0 ;
5651 PyObject * obj1 = 0 ;
5652 char * kwnames[] = {
5653 (char *) "self",(char *) "icons", NULL
5654 };
5655
5656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5658 if (!SWIG_IsOK(res1)) {
5659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5660 }
5661 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5662 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5663 if (!SWIG_IsOK(res2)) {
5664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5665 }
5666 if (!argp2) {
5667 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5668 }
5669 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 resultobj = SWIG_Py_Void();
5677 return resultobj;
5678 fail:
5679 return NULL;
5680 }
5681
5682
5683 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj = 0;
5685 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5686 bool arg2 ;
5687 long arg3 = (long) wxFULLSCREEN_ALL ;
5688 bool result;
5689 void *argp1 = 0 ;
5690 int res1 = 0 ;
5691 bool val2 ;
5692 int ecode2 = 0 ;
5693 long val3 ;
5694 int ecode3 = 0 ;
5695 PyObject * obj0 = 0 ;
5696 PyObject * obj1 = 0 ;
5697 PyObject * obj2 = 0 ;
5698 char * kwnames[] = {
5699 (char *) "self",(char *) "show",(char *) "style", NULL
5700 };
5701
5702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5704 if (!SWIG_IsOK(res1)) {
5705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5706 }
5707 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5708 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5709 if (!SWIG_IsOK(ecode2)) {
5710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5711 }
5712 arg2 = static_cast< bool >(val2);
5713 if (obj2) {
5714 ecode3 = SWIG_AsVal_long(obj2, &val3);
5715 if (!SWIG_IsOK(ecode3)) {
5716 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5717 }
5718 arg3 = static_cast< long >(val3);
5719 }
5720 {
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
5726 {
5727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5728 }
5729 return resultobj;
5730 fail:
5731 return NULL;
5732 }
5733
5734
5735 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5736 PyObject *resultobj = 0;
5737 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5738 bool result;
5739 void *argp1 = 0 ;
5740 int res1 = 0 ;
5741 PyObject *swig_obj[1] ;
5742
5743 if (!args) SWIG_fail;
5744 swig_obj[0] = args;
5745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5746 if (!SWIG_IsOK(res1)) {
5747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5748 }
5749 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5750 {
5751 PyThreadState* __tstate = wxPyBeginAllowThreads();
5752 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
5756 {
5757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5758 }
5759 return resultobj;
5760 fail:
5761 return NULL;
5762 }
5763
5764
5765 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj = 0;
5767 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5768 wxString *arg2 = 0 ;
5769 void *argp1 = 0 ;
5770 int res1 = 0 ;
5771 bool temp2 = false ;
5772 PyObject * obj0 = 0 ;
5773 PyObject * obj1 = 0 ;
5774 char * kwnames[] = {
5775 (char *) "self",(char *) "title", NULL
5776 };
5777
5778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5780 if (!SWIG_IsOK(res1)) {
5781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5782 }
5783 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5784 {
5785 arg2 = wxString_in_helper(obj1);
5786 if (arg2 == NULL) SWIG_fail;
5787 temp2 = true;
5788 }
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 (arg1)->SetTitle((wxString const &)*arg2);
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 resultobj = SWIG_Py_Void();
5796 {
5797 if (temp2)
5798 delete arg2;
5799 }
5800 return resultobj;
5801 fail:
5802 {
5803 if (temp2)
5804 delete arg2;
5805 }
5806 return NULL;
5807 }
5808
5809
5810 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5811 PyObject *resultobj = 0;
5812 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5813 wxString result;
5814 void *argp1 = 0 ;
5815 int res1 = 0 ;
5816 PyObject *swig_obj[1] ;
5817
5818 if (!args) SWIG_fail;
5819 swig_obj[0] = args;
5820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5821 if (!SWIG_IsOK(res1)) {
5822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5823 }
5824 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5825 {
5826 PyThreadState* __tstate = wxPyBeginAllowThreads();
5827 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 {
5832 #if wxUSE_UNICODE
5833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5834 #else
5835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5836 #endif
5837 }
5838 return resultobj;
5839 fail:
5840 return NULL;
5841 }
5842
5843
5844 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5845 PyObject *resultobj = 0;
5846 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5847 wxRegion *arg2 = 0 ;
5848 bool result;
5849 void *argp1 = 0 ;
5850 int res1 = 0 ;
5851 void *argp2 = 0 ;
5852 int res2 = 0 ;
5853 PyObject * obj0 = 0 ;
5854 PyObject * obj1 = 0 ;
5855 char * kwnames[] = {
5856 (char *) "self",(char *) "region", NULL
5857 };
5858
5859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5861 if (!SWIG_IsOK(res1)) {
5862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5863 }
5864 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5865 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5866 if (!SWIG_IsOK(res2)) {
5867 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5868 }
5869 if (!argp2) {
5870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5871 }
5872 arg2 = reinterpret_cast< wxRegion * >(argp2);
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5876 wxPyEndAllowThreads(__tstate);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 }
5879 {
5880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5881 }
5882 return resultobj;
5883 fail:
5884 return NULL;
5885 }
5886
5887
5888 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5889 PyObject *resultobj = 0;
5890 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5891 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5892 void *argp1 = 0 ;
5893 int res1 = 0 ;
5894 int val2 ;
5895 int ecode2 = 0 ;
5896 PyObject * obj0 = 0 ;
5897 PyObject * obj1 = 0 ;
5898 char * kwnames[] = {
5899 (char *) "self",(char *) "flags", NULL
5900 };
5901
5902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5904 if (!SWIG_IsOK(res1)) {
5905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5906 }
5907 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5908 if (obj1) {
5909 ecode2 = SWIG_AsVal_int(obj1, &val2);
5910 if (!SWIG_IsOK(ecode2)) {
5911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5912 }
5913 arg2 = static_cast< int >(val2);
5914 }
5915 {
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 (arg1)->RequestUserAttention(arg2);
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 resultobj = SWIG_Py_Void();
5922 return resultobj;
5923 fail:
5924 return NULL;
5925 }
5926
5927
5928 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5929 PyObject *resultobj = 0;
5930 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5931 bool result;
5932 void *argp1 = 0 ;
5933 int res1 = 0 ;
5934 PyObject *swig_obj[1] ;
5935
5936 if (!args) SWIG_fail;
5937 swig_obj[0] = args;
5938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5939 if (!SWIG_IsOK(res1)) {
5940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5941 }
5942 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 result = (bool)(arg1)->IsActive();
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 {
5950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5951 }
5952 return resultobj;
5953 fail:
5954 return NULL;
5955 }
5956
5957
5958 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5959 PyObject *resultobj = 0;
5960 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5961 bool arg2 ;
5962 void *argp1 = 0 ;
5963 int res1 = 0 ;
5964 bool val2 ;
5965 int ecode2 = 0 ;
5966 PyObject * obj0 = 0 ;
5967 PyObject * obj1 = 0 ;
5968 char * kwnames[] = {
5969 (char *) "self",(char *) "on", NULL
5970 };
5971
5972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5974 if (!SWIG_IsOK(res1)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5976 }
5977 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5978 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5979 if (!SWIG_IsOK(ecode2)) {
5980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5981 }
5982 arg2 = static_cast< bool >(val2);
5983 {
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
5985 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 resultobj = SWIG_Py_Void();
5990 return resultobj;
5991 fail:
5992 return NULL;
5993 }
5994
5995
5996 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5997 PyObject *resultobj = 0;
5998 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5999 bool result;
6000 void *argp1 = 0 ;
6001 int res1 = 0 ;
6002 PyObject *swig_obj[1] ;
6003
6004 if (!args) SWIG_fail;
6005 swig_obj[0] = args;
6006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6007 if (!SWIG_IsOK(res1)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6009 }
6010 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
6013 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 {
6018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6019 }
6020 return resultobj;
6021 fail:
6022 return NULL;
6023 }
6024
6025
6026 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6027 PyObject *resultobj = 0;
6028 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6029 int arg2 = (int) wxBOTH ;
6030 void *argp1 = 0 ;
6031 int res1 = 0 ;
6032 int val2 ;
6033 int ecode2 = 0 ;
6034 PyObject * obj0 = 0 ;
6035 PyObject * obj1 = 0 ;
6036 char * kwnames[] = {
6037 (char *) "self",(char *) "dir", NULL
6038 };
6039
6040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6042 if (!SWIG_IsOK(res1)) {
6043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6044 }
6045 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6046 if (obj1) {
6047 ecode2 = SWIG_AsVal_int(obj1, &val2);
6048 if (!SWIG_IsOK(ecode2)) {
6049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6050 }
6051 arg2 = static_cast< int >(val2);
6052 }
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 (arg1)->CenterOnScreen(arg2);
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 resultobj = SWIG_Py_Void();
6060 return resultobj;
6061 fail:
6062 return NULL;
6063 }
6064
6065
6066 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj = 0;
6068 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6069 bool arg2 = (bool) true ;
6070 bool result;
6071 void *argp1 = 0 ;
6072 int res1 = 0 ;
6073 bool val2 ;
6074 int ecode2 = 0 ;
6075 PyObject * obj0 = 0 ;
6076 PyObject * obj1 = 0 ;
6077 char * kwnames[] = {
6078 (char *) "self",(char *) "enable", NULL
6079 };
6080
6081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6083 if (!SWIG_IsOK(res1)) {
6084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6085 }
6086 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6087 if (obj1) {
6088 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6089 if (!SWIG_IsOK(ecode2)) {
6090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6091 }
6092 arg2 = static_cast< bool >(val2);
6093 }
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 result = (bool)wxTopLevelWindow_EnableCloseButton(arg1,arg2);
6097 wxPyEndAllowThreads(__tstate);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 {
6101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6102 }
6103 return resultobj;
6104 fail:
6105 return NULL;
6106 }
6107
6108
6109 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6110 PyObject *resultobj = 0;
6111 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6112 byte arg2 ;
6113 bool result;
6114 void *argp1 = 0 ;
6115 int res1 = 0 ;
6116 unsigned char val2 ;
6117 int ecode2 = 0 ;
6118 PyObject * obj0 = 0 ;
6119 PyObject * obj1 = 0 ;
6120 char * kwnames[] = {
6121 (char *) "self",(char *) "alpha", NULL
6122 };
6123
6124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTransparent",kwnames,&obj0,&obj1)) SWIG_fail;
6125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6126 if (!SWIG_IsOK(res1)) {
6127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6128 }
6129 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6130 ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
6131 if (!SWIG_IsOK(ecode2)) {
6132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6133 }
6134 arg2 = static_cast< byte >(val2);
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 result = (bool)(arg1)->SetTransparent(arg2);
6138 wxPyEndAllowThreads(__tstate);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 {
6142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6143 }
6144 return resultobj;
6145 fail:
6146 return NULL;
6147 }
6148
6149
6150 SWIGINTERN PyObject *_wrap_TopLevelWindow_CanSetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6151 PyObject *resultobj = 0;
6152 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6153 bool result;
6154 void *argp1 = 0 ;
6155 int res1 = 0 ;
6156 PyObject *swig_obj[1] ;
6157
6158 if (!args) SWIG_fail;
6159 swig_obj[0] = args;
6160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6161 if (!SWIG_IsOK(res1)) {
6162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6163 }
6164 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6165 {
6166 PyThreadState* __tstate = wxPyBeginAllowThreads();
6167 result = (bool)(arg1)->CanSetTransparent();
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 {
6172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6173 }
6174 return resultobj;
6175 fail:
6176 return NULL;
6177 }
6178
6179
6180 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6181 PyObject *obj;
6182 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6183 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6184 return SWIG_Py_Void();
6185 }
6186
6187 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj = 0;
6189 wxWindow *arg1 = (wxWindow *) 0 ;
6190 int arg2 = (int) (int)-1 ;
6191 wxString const &arg3_defvalue = wxPyEmptyString ;
6192 wxString *arg3 = (wxString *) &arg3_defvalue ;
6193 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6194 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6195 wxSize const &arg5_defvalue = wxDefaultSize ;
6196 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6197 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6198 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6199 wxString *arg7 = (wxString *) &arg7_defvalue ;
6200 wxFrame *result = 0 ;
6201 void *argp1 = 0 ;
6202 int res1 = 0 ;
6203 int val2 ;
6204 int ecode2 = 0 ;
6205 bool temp3 = false ;
6206 wxPoint temp4 ;
6207 wxSize temp5 ;
6208 long val6 ;
6209 int ecode6 = 0 ;
6210 bool temp7 = false ;
6211 PyObject * obj0 = 0 ;
6212 PyObject * obj1 = 0 ;
6213 PyObject * obj2 = 0 ;
6214 PyObject * obj3 = 0 ;
6215 PyObject * obj4 = 0 ;
6216 PyObject * obj5 = 0 ;
6217 PyObject * obj6 = 0 ;
6218 char * kwnames[] = {
6219 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6220 };
6221
6222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6224 if (!SWIG_IsOK(res1)) {
6225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6226 }
6227 arg1 = reinterpret_cast< wxWindow * >(argp1);
6228 if (obj1) {
6229 ecode2 = SWIG_AsVal_int(obj1, &val2);
6230 if (!SWIG_IsOK(ecode2)) {
6231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6232 }
6233 arg2 = static_cast< int >(val2);
6234 }
6235 if (obj2) {
6236 {
6237 arg3 = wxString_in_helper(obj2);
6238 if (arg3 == NULL) SWIG_fail;
6239 temp3 = true;
6240 }
6241 }
6242 if (obj3) {
6243 {
6244 arg4 = &temp4;
6245 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6246 }
6247 }
6248 if (obj4) {
6249 {
6250 arg5 = &temp5;
6251 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6252 }
6253 }
6254 if (obj5) {
6255 ecode6 = SWIG_AsVal_long(obj5, &val6);
6256 if (!SWIG_IsOK(ecode6)) {
6257 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6258 }
6259 arg6 = static_cast< long >(val6);
6260 }
6261 if (obj6) {
6262 {
6263 arg7 = wxString_in_helper(obj6);
6264 if (arg7 == NULL) SWIG_fail;
6265 temp7 = true;
6266 }
6267 }
6268 {
6269 if (!wxPyCheckForApp()) SWIG_fail;
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6276 {
6277 if (temp3)
6278 delete arg3;
6279 }
6280 {
6281 if (temp7)
6282 delete arg7;
6283 }
6284 return resultobj;
6285 fail:
6286 {
6287 if (temp3)
6288 delete arg3;
6289 }
6290 {
6291 if (temp7)
6292 delete arg7;
6293 }
6294 return NULL;
6295 }
6296
6297
6298 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6299 PyObject *resultobj = 0;
6300 wxFrame *result = 0 ;
6301
6302 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6303 {
6304 if (!wxPyCheckForApp()) SWIG_fail;
6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6306 result = (wxFrame *)new wxFrame();
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
6310 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6311 return resultobj;
6312 fail:
6313 return NULL;
6314 }
6315
6316
6317 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj = 0;
6319 wxFrame *arg1 = (wxFrame *) 0 ;
6320 wxWindow *arg2 = (wxWindow *) 0 ;
6321 int arg3 = (int) (int)-1 ;
6322 wxString const &arg4_defvalue = wxPyEmptyString ;
6323 wxString *arg4 = (wxString *) &arg4_defvalue ;
6324 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6325 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6326 wxSize const &arg6_defvalue = wxDefaultSize ;
6327 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6328 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6329 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6330 wxString *arg8 = (wxString *) &arg8_defvalue ;
6331 bool result;
6332 void *argp1 = 0 ;
6333 int res1 = 0 ;
6334 void *argp2 = 0 ;
6335 int res2 = 0 ;
6336 int val3 ;
6337 int ecode3 = 0 ;
6338 bool temp4 = false ;
6339 wxPoint temp5 ;
6340 wxSize temp6 ;
6341 long val7 ;
6342 int ecode7 = 0 ;
6343 bool temp8 = false ;
6344 PyObject * obj0 = 0 ;
6345 PyObject * obj1 = 0 ;
6346 PyObject * obj2 = 0 ;
6347 PyObject * obj3 = 0 ;
6348 PyObject * obj4 = 0 ;
6349 PyObject * obj5 = 0 ;
6350 PyObject * obj6 = 0 ;
6351 PyObject * obj7 = 0 ;
6352 char * kwnames[] = {
6353 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6354 };
6355
6356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6358 if (!SWIG_IsOK(res1)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6360 }
6361 arg1 = reinterpret_cast< wxFrame * >(argp1);
6362 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6363 if (!SWIG_IsOK(res2)) {
6364 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6365 }
6366 arg2 = reinterpret_cast< wxWindow * >(argp2);
6367 if (obj2) {
6368 ecode3 = SWIG_AsVal_int(obj2, &val3);
6369 if (!SWIG_IsOK(ecode3)) {
6370 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6371 }
6372 arg3 = static_cast< int >(val3);
6373 }
6374 if (obj3) {
6375 {
6376 arg4 = wxString_in_helper(obj3);
6377 if (arg4 == NULL) SWIG_fail;
6378 temp4 = true;
6379 }
6380 }
6381 if (obj4) {
6382 {
6383 arg5 = &temp5;
6384 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6385 }
6386 }
6387 if (obj5) {
6388 {
6389 arg6 = &temp6;
6390 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6391 }
6392 }
6393 if (obj6) {
6394 ecode7 = SWIG_AsVal_long(obj6, &val7);
6395 if (!SWIG_IsOK(ecode7)) {
6396 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6397 }
6398 arg7 = static_cast< long >(val7);
6399 }
6400 if (obj7) {
6401 {
6402 arg8 = wxString_in_helper(obj7);
6403 if (arg8 == NULL) SWIG_fail;
6404 temp8 = true;
6405 }
6406 }
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6410 wxPyEndAllowThreads(__tstate);
6411 if (PyErr_Occurred()) SWIG_fail;
6412 }
6413 {
6414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6415 }
6416 {
6417 if (temp4)
6418 delete arg4;
6419 }
6420 {
6421 if (temp8)
6422 delete arg8;
6423 }
6424 return resultobj;
6425 fail:
6426 {
6427 if (temp4)
6428 delete arg4;
6429 }
6430 {
6431 if (temp8)
6432 delete arg8;
6433 }
6434 return NULL;
6435 }
6436
6437
6438 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6439 PyObject *resultobj = 0;
6440 wxFrame *arg1 = (wxFrame *) 0 ;
6441 void *argp1 = 0 ;
6442 int res1 = 0 ;
6443 PyObject *swig_obj[1] ;
6444
6445 if (!args) SWIG_fail;
6446 swig_obj[0] = args;
6447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6448 if (!SWIG_IsOK(res1)) {
6449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6450 }
6451 arg1 = reinterpret_cast< wxFrame * >(argp1);
6452 {
6453 PyThreadState* __tstate = wxPyBeginAllowThreads();
6454 (arg1)->SendSizeEvent();
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 resultobj = SWIG_Py_Void();
6459 return resultobj;
6460 fail:
6461 return NULL;
6462 }
6463
6464
6465 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6466 PyObject *resultobj = 0;
6467 wxFrame *arg1 = (wxFrame *) 0 ;
6468 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6469 void *argp1 = 0 ;
6470 int res1 = 0 ;
6471 void *argp2 = 0 ;
6472 int res2 = 0 ;
6473 PyObject * obj0 = 0 ;
6474 PyObject * obj1 = 0 ;
6475 char * kwnames[] = {
6476 (char *) "self",(char *) "menubar", NULL
6477 };
6478
6479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6481 if (!SWIG_IsOK(res1)) {
6482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6483 }
6484 arg1 = reinterpret_cast< wxFrame * >(argp1);
6485 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6486 if (!SWIG_IsOK(res2)) {
6487 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6488 }
6489 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6490 {
6491 PyThreadState* __tstate = wxPyBeginAllowThreads();
6492 (arg1)->SetMenuBar(arg2);
6493 wxPyEndAllowThreads(__tstate);
6494 if (PyErr_Occurred()) SWIG_fail;
6495 }
6496 resultobj = SWIG_Py_Void();
6497 return resultobj;
6498 fail:
6499 return NULL;
6500 }
6501
6502
6503 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6504 PyObject *resultobj = 0;
6505 wxFrame *arg1 = (wxFrame *) 0 ;
6506 wxMenuBar *result = 0 ;
6507 void *argp1 = 0 ;
6508 int res1 = 0 ;
6509 PyObject *swig_obj[1] ;
6510
6511 if (!args) SWIG_fail;
6512 swig_obj[0] = args;
6513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6514 if (!SWIG_IsOK(res1)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6516 }
6517 arg1 = reinterpret_cast< wxFrame * >(argp1);
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 {
6525 resultobj = wxPyMake_wxObject(result, 0);
6526 }
6527 return resultobj;
6528 fail:
6529 return NULL;
6530 }
6531
6532
6533 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj = 0;
6535 wxFrame *arg1 = (wxFrame *) 0 ;
6536 int arg2 ;
6537 bool result;
6538 void *argp1 = 0 ;
6539 int res1 = 0 ;
6540 int val2 ;
6541 int ecode2 = 0 ;
6542 PyObject * obj0 = 0 ;
6543 PyObject * obj1 = 0 ;
6544 char * kwnames[] = {
6545 (char *) "self",(char *) "winid", NULL
6546 };
6547
6548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6550 if (!SWIG_IsOK(res1)) {
6551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6552 }
6553 arg1 = reinterpret_cast< wxFrame * >(argp1);
6554 ecode2 = SWIG_AsVal_int(obj1, &val2);
6555 if (!SWIG_IsOK(ecode2)) {
6556 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6557 }
6558 arg2 = static_cast< int >(val2);
6559 {
6560 PyThreadState* __tstate = wxPyBeginAllowThreads();
6561 result = (bool)(arg1)->ProcessCommand(arg2);
6562 wxPyEndAllowThreads(__tstate);
6563 if (PyErr_Occurred()) SWIG_fail;
6564 }
6565 {
6566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6567 }
6568 return resultobj;
6569 fail:
6570 return NULL;
6571 }
6572
6573
6574 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6575 PyObject *resultobj = 0;
6576 wxFrame *arg1 = (wxFrame *) 0 ;
6577 int arg2 = (int) 1 ;
6578 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6579 int arg4 = (int) 0 ;
6580 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6581 wxString *arg5 = (wxString *) &arg5_defvalue ;
6582 wxStatusBar *result = 0 ;
6583 void *argp1 = 0 ;
6584 int res1 = 0 ;
6585 int val2 ;
6586 int ecode2 = 0 ;
6587 long val3 ;
6588 int ecode3 = 0 ;
6589 int val4 ;
6590 int ecode4 = 0 ;
6591 bool temp5 = false ;
6592 PyObject * obj0 = 0 ;
6593 PyObject * obj1 = 0 ;
6594 PyObject * obj2 = 0 ;
6595 PyObject * obj3 = 0 ;
6596 PyObject * obj4 = 0 ;
6597 char * kwnames[] = {
6598 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6599 };
6600
6601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6603 if (!SWIG_IsOK(res1)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6605 }
6606 arg1 = reinterpret_cast< wxFrame * >(argp1);
6607 if (obj1) {
6608 ecode2 = SWIG_AsVal_int(obj1, &val2);
6609 if (!SWIG_IsOK(ecode2)) {
6610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6611 }
6612 arg2 = static_cast< int >(val2);
6613 }
6614 if (obj2) {
6615 ecode3 = SWIG_AsVal_long(obj2, &val3);
6616 if (!SWIG_IsOK(ecode3)) {
6617 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6618 }
6619 arg3 = static_cast< long >(val3);
6620 }
6621 if (obj3) {
6622 ecode4 = SWIG_AsVal_int(obj3, &val4);
6623 if (!SWIG_IsOK(ecode4)) {
6624 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6625 }
6626 arg4 = static_cast< int >(val4);
6627 }
6628 if (obj4) {
6629 {
6630 arg5 = wxString_in_helper(obj4);
6631 if (arg5 == NULL) SWIG_fail;
6632 temp5 = true;
6633 }
6634 }
6635 {
6636 PyThreadState* __tstate = wxPyBeginAllowThreads();
6637 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) SWIG_fail;
6640 }
6641 {
6642 resultobj = wxPyMake_wxObject(result, (bool)0);
6643 }
6644 {
6645 if (temp5)
6646 delete arg5;
6647 }
6648 return resultobj;
6649 fail:
6650 {
6651 if (temp5)
6652 delete arg5;
6653 }
6654 return NULL;
6655 }
6656
6657
6658 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6659 PyObject *resultobj = 0;
6660 wxFrame *arg1 = (wxFrame *) 0 ;
6661 wxStatusBar *result = 0 ;
6662 void *argp1 = 0 ;
6663 int res1 = 0 ;
6664 PyObject *swig_obj[1] ;
6665
6666 if (!args) SWIG_fail;
6667 swig_obj[0] = args;
6668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6669 if (!SWIG_IsOK(res1)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6671 }
6672 arg1 = reinterpret_cast< wxFrame * >(argp1);
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
6679 {
6680 resultobj = wxPyMake_wxObject(result, (bool)0);
6681 }
6682 return resultobj;
6683 fail:
6684 return NULL;
6685 }
6686
6687
6688 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6689 PyObject *resultobj = 0;
6690 wxFrame *arg1 = (wxFrame *) 0 ;
6691 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6692 void *argp1 = 0 ;
6693 int res1 = 0 ;
6694 void *argp2 = 0 ;
6695 int res2 = 0 ;
6696 PyObject * obj0 = 0 ;
6697 PyObject * obj1 = 0 ;
6698 char * kwnames[] = {
6699 (char *) "self",(char *) "statBar", NULL
6700 };
6701
6702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6704 if (!SWIG_IsOK(res1)) {
6705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6706 }
6707 arg1 = reinterpret_cast< wxFrame * >(argp1);
6708 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6709 if (!SWIG_IsOK(res2)) {
6710 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6711 }
6712 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6713 {
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 (arg1)->SetStatusBar(arg2);
6716 wxPyEndAllowThreads(__tstate);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 resultobj = SWIG_Py_Void();
6720 return resultobj;
6721 fail:
6722 return NULL;
6723 }
6724
6725
6726 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6727 PyObject *resultobj = 0;
6728 wxFrame *arg1 = (wxFrame *) 0 ;
6729 wxString *arg2 = 0 ;
6730 int arg3 = (int) 0 ;
6731 void *argp1 = 0 ;
6732 int res1 = 0 ;
6733 bool temp2 = false ;
6734 int val3 ;
6735 int ecode3 = 0 ;
6736 PyObject * obj0 = 0 ;
6737 PyObject * obj1 = 0 ;
6738 PyObject * obj2 = 0 ;
6739 char * kwnames[] = {
6740 (char *) "self",(char *) "text",(char *) "number", NULL
6741 };
6742
6743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6745 if (!SWIG_IsOK(res1)) {
6746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6747 }
6748 arg1 = reinterpret_cast< wxFrame * >(argp1);
6749 {
6750 arg2 = wxString_in_helper(obj1);
6751 if (arg2 == NULL) SWIG_fail;
6752 temp2 = true;
6753 }
6754 if (obj2) {
6755 ecode3 = SWIG_AsVal_int(obj2, &val3);
6756 if (!SWIG_IsOK(ecode3)) {
6757 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6758 }
6759 arg3 = static_cast< int >(val3);
6760 }
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 resultobj = SWIG_Py_Void();
6768 {
6769 if (temp2)
6770 delete arg2;
6771 }
6772 return resultobj;
6773 fail:
6774 {
6775 if (temp2)
6776 delete arg2;
6777 }
6778 return NULL;
6779 }
6780
6781
6782 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6783 PyObject *resultobj = 0;
6784 wxFrame *arg1 = (wxFrame *) 0 ;
6785 int arg2 ;
6786 int *arg3 = (int *) 0 ;
6787 void *argp1 = 0 ;
6788 int res1 = 0 ;
6789 PyObject * obj0 = 0 ;
6790 PyObject * obj1 = 0 ;
6791 char * kwnames[] = {
6792 (char *) "self",(char *) "widths", NULL
6793 };
6794
6795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6797 if (!SWIG_IsOK(res1)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6799 }
6800 arg1 = reinterpret_cast< wxFrame * >(argp1);
6801 {
6802 arg2 = PyList_Size(obj1);
6803 arg3 = int_LIST_helper(obj1);
6804 if (arg3 == NULL) SWIG_fail;
6805 }
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 resultobj = SWIG_Py_Void();
6813 {
6814 if (arg3) delete [] arg3;
6815 }
6816 return resultobj;
6817 fail:
6818 {
6819 if (arg3) delete [] arg3;
6820 }
6821 return NULL;
6822 }
6823
6824
6825 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6826 PyObject *resultobj = 0;
6827 wxFrame *arg1 = (wxFrame *) 0 ;
6828 wxString *arg2 = 0 ;
6829 int arg3 = (int) 0 ;
6830 void *argp1 = 0 ;
6831 int res1 = 0 ;
6832 bool temp2 = false ;
6833 int val3 ;
6834 int ecode3 = 0 ;
6835 PyObject * obj0 = 0 ;
6836 PyObject * obj1 = 0 ;
6837 PyObject * obj2 = 0 ;
6838 char * kwnames[] = {
6839 (char *) "self",(char *) "text",(char *) "number", NULL
6840 };
6841
6842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6844 if (!SWIG_IsOK(res1)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6846 }
6847 arg1 = reinterpret_cast< wxFrame * >(argp1);
6848 {
6849 arg2 = wxString_in_helper(obj1);
6850 if (arg2 == NULL) SWIG_fail;
6851 temp2 = true;
6852 }
6853 if (obj2) {
6854 ecode3 = SWIG_AsVal_int(obj2, &val3);
6855 if (!SWIG_IsOK(ecode3)) {
6856 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6857 }
6858 arg3 = static_cast< int >(val3);
6859 }
6860 {
6861 PyThreadState* __tstate = wxPyBeginAllowThreads();
6862 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 resultobj = SWIG_Py_Void();
6867 {
6868 if (temp2)
6869 delete arg2;
6870 }
6871 return resultobj;
6872 fail:
6873 {
6874 if (temp2)
6875 delete arg2;
6876 }
6877 return NULL;
6878 }
6879
6880
6881 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj = 0;
6883 wxFrame *arg1 = (wxFrame *) 0 ;
6884 int arg2 = (int) 0 ;
6885 void *argp1 = 0 ;
6886 int res1 = 0 ;
6887 int val2 ;
6888 int ecode2 = 0 ;
6889 PyObject * obj0 = 0 ;
6890 PyObject * obj1 = 0 ;
6891 char * kwnames[] = {
6892 (char *) "self",(char *) "number", NULL
6893 };
6894
6895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6897 if (!SWIG_IsOK(res1)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6899 }
6900 arg1 = reinterpret_cast< wxFrame * >(argp1);
6901 if (obj1) {
6902 ecode2 = SWIG_AsVal_int(obj1, &val2);
6903 if (!SWIG_IsOK(ecode2)) {
6904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6905 }
6906 arg2 = static_cast< int >(val2);
6907 }
6908 {
6909 PyThreadState* __tstate = wxPyBeginAllowThreads();
6910 (arg1)->PopStatusText(arg2);
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 resultobj = SWIG_Py_Void();
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj = 0;
6923 wxFrame *arg1 = (wxFrame *) 0 ;
6924 int arg2 ;
6925 void *argp1 = 0 ;
6926 int res1 = 0 ;
6927 int val2 ;
6928 int ecode2 = 0 ;
6929 PyObject * obj0 = 0 ;
6930 PyObject * obj1 = 0 ;
6931 char * kwnames[] = {
6932 (char *) "self",(char *) "n", NULL
6933 };
6934
6935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6937 if (!SWIG_IsOK(res1)) {
6938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6939 }
6940 arg1 = reinterpret_cast< wxFrame * >(argp1);
6941 ecode2 = SWIG_AsVal_int(obj1, &val2);
6942 if (!SWIG_IsOK(ecode2)) {
6943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6944 }
6945 arg2 = static_cast< int >(val2);
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 (arg1)->SetStatusBarPane(arg2);
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 resultobj = SWIG_Py_Void();
6953 return resultobj;
6954 fail:
6955 return NULL;
6956 }
6957
6958
6959 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6960 PyObject *resultobj = 0;
6961 wxFrame *arg1 = (wxFrame *) 0 ;
6962 int result;
6963 void *argp1 = 0 ;
6964 int res1 = 0 ;
6965 PyObject *swig_obj[1] ;
6966
6967 if (!args) SWIG_fail;
6968 swig_obj[0] = args;
6969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6970 if (!SWIG_IsOK(res1)) {
6971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6972 }
6973 arg1 = reinterpret_cast< wxFrame * >(argp1);
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 resultobj = SWIG_From_int(static_cast< int >(result));
6981 return resultobj;
6982 fail:
6983 return NULL;
6984 }
6985
6986
6987 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj = 0;
6989 wxFrame *arg1 = (wxFrame *) 0 ;
6990 long arg2 = (long) -1 ;
6991 int arg3 = (int) -1 ;
6992 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6993 wxString *arg4 = (wxString *) &arg4_defvalue ;
6994 wxToolBar *result = 0 ;
6995 void *argp1 = 0 ;
6996 int res1 = 0 ;
6997 long val2 ;
6998 int ecode2 = 0 ;
6999 int val3 ;
7000 int ecode3 = 0 ;
7001 bool temp4 = false ;
7002 PyObject * obj0 = 0 ;
7003 PyObject * obj1 = 0 ;
7004 PyObject * obj2 = 0 ;
7005 PyObject * obj3 = 0 ;
7006 char * kwnames[] = {
7007 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7008 };
7009
7010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7012 if (!SWIG_IsOK(res1)) {
7013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7014 }
7015 arg1 = reinterpret_cast< wxFrame * >(argp1);
7016 if (obj1) {
7017 ecode2 = SWIG_AsVal_long(obj1, &val2);
7018 if (!SWIG_IsOK(ecode2)) {
7019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7020 }
7021 arg2 = static_cast< long >(val2);
7022 }
7023 if (obj2) {
7024 ecode3 = SWIG_AsVal_int(obj2, &val3);
7025 if (!SWIG_IsOK(ecode3)) {
7026 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7027 }
7028 arg3 = static_cast< int >(val3);
7029 }
7030 if (obj3) {
7031 {
7032 arg4 = wxString_in_helper(obj3);
7033 if (arg4 == NULL) SWIG_fail;
7034 temp4 = true;
7035 }
7036 }
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 {
7044 resultobj = wxPyMake_wxObject(result, (bool)0);
7045 }
7046 {
7047 if (temp4)
7048 delete arg4;
7049 }
7050 return resultobj;
7051 fail:
7052 {
7053 if (temp4)
7054 delete arg4;
7055 }
7056 return NULL;
7057 }
7058
7059
7060 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7061 PyObject *resultobj = 0;
7062 wxFrame *arg1 = (wxFrame *) 0 ;
7063 wxToolBar *result = 0 ;
7064 void *argp1 = 0 ;
7065 int res1 = 0 ;
7066 PyObject *swig_obj[1] ;
7067
7068 if (!args) SWIG_fail;
7069 swig_obj[0] = args;
7070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7071 if (!SWIG_IsOK(res1)) {
7072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7073 }
7074 arg1 = reinterpret_cast< wxFrame * >(argp1);
7075 {
7076 PyThreadState* __tstate = wxPyBeginAllowThreads();
7077 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7078 wxPyEndAllowThreads(__tstate);
7079 if (PyErr_Occurred()) SWIG_fail;
7080 }
7081 {
7082 resultobj = wxPyMake_wxObject(result, (bool)0);
7083 }
7084 return resultobj;
7085 fail:
7086 return NULL;
7087 }
7088
7089
7090 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj = 0;
7092 wxFrame *arg1 = (wxFrame *) 0 ;
7093 wxToolBar *arg2 = (wxToolBar *) 0 ;
7094 void *argp1 = 0 ;
7095 int res1 = 0 ;
7096 void *argp2 = 0 ;
7097 int res2 = 0 ;
7098 PyObject * obj0 = 0 ;
7099 PyObject * obj1 = 0 ;
7100 char * kwnames[] = {
7101 (char *) "self",(char *) "toolbar", NULL
7102 };
7103
7104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7106 if (!SWIG_IsOK(res1)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7108 }
7109 arg1 = reinterpret_cast< wxFrame * >(argp1);
7110 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7111 if (!SWIG_IsOK(res2)) {
7112 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7113 }
7114 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 (arg1)->SetToolBar(arg2);
7118 wxPyEndAllowThreads(__tstate);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 }
7121 resultobj = SWIG_Py_Void();
7122 return resultobj;
7123 fail:
7124 return NULL;
7125 }
7126
7127
7128 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7129 PyObject *resultobj = 0;
7130 wxFrame *arg1 = (wxFrame *) 0 ;
7131 wxString *arg2 = 0 ;
7132 bool arg3 ;
7133 void *argp1 = 0 ;
7134 int res1 = 0 ;
7135 bool temp2 = false ;
7136 bool val3 ;
7137 int ecode3 = 0 ;
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 PyObject * obj2 = 0 ;
7141 char * kwnames[] = {
7142 (char *) "self",(char *) "text",(char *) "show", NULL
7143 };
7144
7145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7147 if (!SWIG_IsOK(res1)) {
7148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7149 }
7150 arg1 = reinterpret_cast< wxFrame * >(argp1);
7151 {
7152 arg2 = wxString_in_helper(obj1);
7153 if (arg2 == NULL) SWIG_fail;
7154 temp2 = true;
7155 }
7156 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7157 if (!SWIG_IsOK(ecode3)) {
7158 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7159 }
7160 arg3 = static_cast< bool >(val3);
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7164 wxPyEndAllowThreads(__tstate);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 resultobj = SWIG_Py_Void();
7168 {
7169 if (temp2)
7170 delete arg2;
7171 }
7172 return resultobj;
7173 fail:
7174 {
7175 if (temp2)
7176 delete arg2;
7177 }
7178 return NULL;
7179 }
7180
7181
7182 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7183 PyObject *resultobj = 0;
7184 wxFrame *arg1 = (wxFrame *) 0 ;
7185 wxMenu *arg2 = (wxMenu *) NULL ;
7186 void *argp1 = 0 ;
7187 int res1 = 0 ;
7188 void *argp2 = 0 ;
7189 int res2 = 0 ;
7190 PyObject * obj0 = 0 ;
7191 PyObject * obj1 = 0 ;
7192 char * kwnames[] = {
7193 (char *) "self",(char *) "menu", NULL
7194 };
7195
7196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7198 if (!SWIG_IsOK(res1)) {
7199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7200 }
7201 arg1 = reinterpret_cast< wxFrame * >(argp1);
7202 if (obj1) {
7203 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7204 if (!SWIG_IsOK(res2)) {
7205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7206 }
7207 arg2 = reinterpret_cast< wxMenu * >(argp2);
7208 }
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 (arg1)->DoMenuUpdates(arg2);
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 resultobj = SWIG_Py_Void();
7216 return resultobj;
7217 fail:
7218 return NULL;
7219 }
7220
7221
7222 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7223 PyObject *resultobj = 0;
7224 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7225 SwigValueWrapper<wxVisualAttributes > result;
7226 int val1 ;
7227 int ecode1 = 0 ;
7228 PyObject * obj0 = 0 ;
7229 char * kwnames[] = {
7230 (char *) "variant", NULL
7231 };
7232
7233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7234 if (obj0) {
7235 ecode1 = SWIG_AsVal_int(obj0, &val1);
7236 if (!SWIG_IsOK(ecode1)) {
7237 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7238 }
7239 arg1 = static_cast< wxWindowVariant >(val1);
7240 }
7241 {
7242 if (!wxPyCheckForApp()) SWIG_fail;
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 result = wxFrame::GetClassDefaultAttributes(arg1);
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7249 return resultobj;
7250 fail:
7251 return NULL;
7252 }
7253
7254
7255 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7256 PyObject *obj;
7257 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7258 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7259 return SWIG_Py_Void();
7260 }
7261
7262 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7263 return SWIG_Python_InitShadowInstance(args);
7264 }
7265
7266 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj = 0;
7268 wxWindow *arg1 = (wxWindow *) 0 ;
7269 int arg2 = (int) (int)-1 ;
7270 wxString const &arg3_defvalue = wxPyEmptyString ;
7271 wxString *arg3 = (wxString *) &arg3_defvalue ;
7272 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7273 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7274 wxSize const &arg5_defvalue = wxDefaultSize ;
7275 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7276 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7277 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7278 wxString *arg7 = (wxString *) &arg7_defvalue ;
7279 wxDialog *result = 0 ;
7280 void *argp1 = 0 ;
7281 int res1 = 0 ;
7282 int val2 ;
7283 int ecode2 = 0 ;
7284 bool temp3 = false ;
7285 wxPoint temp4 ;
7286 wxSize temp5 ;
7287 long val6 ;
7288 int ecode6 = 0 ;
7289 bool temp7 = false ;
7290 PyObject * obj0 = 0 ;
7291 PyObject * obj1 = 0 ;
7292 PyObject * obj2 = 0 ;
7293 PyObject * obj3 = 0 ;
7294 PyObject * obj4 = 0 ;
7295 PyObject * obj5 = 0 ;
7296 PyObject * obj6 = 0 ;
7297 char * kwnames[] = {
7298 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7299 };
7300
7301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7303 if (!SWIG_IsOK(res1)) {
7304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7305 }
7306 arg1 = reinterpret_cast< wxWindow * >(argp1);
7307 if (obj1) {
7308 ecode2 = SWIG_AsVal_int(obj1, &val2);
7309 if (!SWIG_IsOK(ecode2)) {
7310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7311 }
7312 arg2 = static_cast< int >(val2);
7313 }
7314 if (obj2) {
7315 {
7316 arg3 = wxString_in_helper(obj2);
7317 if (arg3 == NULL) SWIG_fail;
7318 temp3 = true;
7319 }
7320 }
7321 if (obj3) {
7322 {
7323 arg4 = &temp4;
7324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7325 }
7326 }
7327 if (obj4) {
7328 {
7329 arg5 = &temp5;
7330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7331 }
7332 }
7333 if (obj5) {
7334 ecode6 = SWIG_AsVal_long(obj5, &val6);
7335 if (!SWIG_IsOK(ecode6)) {
7336 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7337 }
7338 arg6 = static_cast< long >(val6);
7339 }
7340 if (obj6) {
7341 {
7342 arg7 = wxString_in_helper(obj6);
7343 if (arg7 == NULL) SWIG_fail;
7344 temp7 = true;
7345 }
7346 }
7347 {
7348 if (!wxPyCheckForApp()) SWIG_fail;
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7355 {
7356 if (temp3)
7357 delete arg3;
7358 }
7359 {
7360 if (temp7)
7361 delete arg7;
7362 }
7363 return resultobj;
7364 fail:
7365 {
7366 if (temp3)
7367 delete arg3;
7368 }
7369 {
7370 if (temp7)
7371 delete arg7;
7372 }
7373 return NULL;
7374 }
7375
7376
7377 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7378 PyObject *resultobj = 0;
7379 wxDialog *result = 0 ;
7380
7381 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7382 {
7383 if (!wxPyCheckForApp()) SWIG_fail;
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
7385 result = (wxDialog *)new wxDialog();
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7390 return resultobj;
7391 fail:
7392 return NULL;
7393 }
7394
7395
7396 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj = 0;
7398 wxDialog *arg1 = (wxDialog *) 0 ;
7399 wxWindow *arg2 = (wxWindow *) 0 ;
7400 int arg3 = (int) (int)-1 ;
7401 wxString const &arg4_defvalue = wxPyEmptyString ;
7402 wxString *arg4 = (wxString *) &arg4_defvalue ;
7403 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7404 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7405 wxSize const &arg6_defvalue = wxDefaultSize ;
7406 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7407 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7408 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7409 wxString *arg8 = (wxString *) &arg8_defvalue ;
7410 bool result;
7411 void *argp1 = 0 ;
7412 int res1 = 0 ;
7413 void *argp2 = 0 ;
7414 int res2 = 0 ;
7415 int val3 ;
7416 int ecode3 = 0 ;
7417 bool temp4 = false ;
7418 wxPoint temp5 ;
7419 wxSize temp6 ;
7420 long val7 ;
7421 int ecode7 = 0 ;
7422 bool temp8 = false ;
7423 PyObject * obj0 = 0 ;
7424 PyObject * obj1 = 0 ;
7425 PyObject * obj2 = 0 ;
7426 PyObject * obj3 = 0 ;
7427 PyObject * obj4 = 0 ;
7428 PyObject * obj5 = 0 ;
7429 PyObject * obj6 = 0 ;
7430 PyObject * obj7 = 0 ;
7431 char * kwnames[] = {
7432 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7433 };
7434
7435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7437 if (!SWIG_IsOK(res1)) {
7438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7439 }
7440 arg1 = reinterpret_cast< wxDialog * >(argp1);
7441 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7442 if (!SWIG_IsOK(res2)) {
7443 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7444 }
7445 arg2 = reinterpret_cast< wxWindow * >(argp2);
7446 if (obj2) {
7447 ecode3 = SWIG_AsVal_int(obj2, &val3);
7448 if (!SWIG_IsOK(ecode3)) {
7449 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7450 }
7451 arg3 = static_cast< int >(val3);
7452 }
7453 if (obj3) {
7454 {
7455 arg4 = wxString_in_helper(obj3);
7456 if (arg4 == NULL) SWIG_fail;
7457 temp4 = true;
7458 }
7459 }
7460 if (obj4) {
7461 {
7462 arg5 = &temp5;
7463 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7464 }
7465 }
7466 if (obj5) {
7467 {
7468 arg6 = &temp6;
7469 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7470 }
7471 }
7472 if (obj6) {
7473 ecode7 = SWIG_AsVal_long(obj6, &val7);
7474 if (!SWIG_IsOK(ecode7)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7476 }
7477 arg7 = static_cast< long >(val7);
7478 }
7479 if (obj7) {
7480 {
7481 arg8 = wxString_in_helper(obj7);
7482 if (arg8 == NULL) SWIG_fail;
7483 temp8 = true;
7484 }
7485 }
7486 {
7487 PyThreadState* __tstate = wxPyBeginAllowThreads();
7488 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7489 wxPyEndAllowThreads(__tstate);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
7492 {
7493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7494 }
7495 {
7496 if (temp4)
7497 delete arg4;
7498 }
7499 {
7500 if (temp8)
7501 delete arg8;
7502 }
7503 return resultobj;
7504 fail:
7505 {
7506 if (temp4)
7507 delete arg4;
7508 }
7509 {
7510 if (temp8)
7511 delete arg8;
7512 }
7513 return NULL;
7514 }
7515
7516
7517 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7518 PyObject *resultobj = 0;
7519 wxDialog *arg1 = (wxDialog *) 0 ;
7520 int arg2 ;
7521 void *argp1 = 0 ;
7522 int res1 = 0 ;
7523 int val2 ;
7524 int ecode2 = 0 ;
7525 PyObject * obj0 = 0 ;
7526 PyObject * obj1 = 0 ;
7527 char * kwnames[] = {
7528 (char *) "self",(char *) "returnCode", NULL
7529 };
7530
7531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7533 if (!SWIG_IsOK(res1)) {
7534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7535 }
7536 arg1 = reinterpret_cast< wxDialog * >(argp1);
7537 ecode2 = SWIG_AsVal_int(obj1, &val2);
7538 if (!SWIG_IsOK(ecode2)) {
7539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7540 }
7541 arg2 = static_cast< int >(val2);
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 (arg1)->SetReturnCode(arg2);
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 resultobj = SWIG_Py_Void();
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7556 PyObject *resultobj = 0;
7557 wxDialog *arg1 = (wxDialog *) 0 ;
7558 int result;
7559 void *argp1 = 0 ;
7560 int res1 = 0 ;
7561 PyObject *swig_obj[1] ;
7562
7563 if (!args) SWIG_fail;
7564 swig_obj[0] = args;
7565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7566 if (!SWIG_IsOK(res1)) {
7567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7568 }
7569 arg1 = reinterpret_cast< wxDialog * >(argp1);
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7573 wxPyEndAllowThreads(__tstate);
7574 if (PyErr_Occurred()) SWIG_fail;
7575 }
7576 resultobj = SWIG_From_int(static_cast< int >(result));
7577 return resultobj;
7578 fail:
7579 return NULL;
7580 }
7581
7582
7583 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7584 PyObject *resultobj = 0;
7585 wxDialog *arg1 = (wxDialog *) 0 ;
7586 int arg2 ;
7587 void *argp1 = 0 ;
7588 int res1 = 0 ;
7589 int val2 ;
7590 int ecode2 = 0 ;
7591 PyObject * obj0 = 0 ;
7592 PyObject * obj1 = 0 ;
7593 char * kwnames[] = {
7594 (char *) "self",(char *) "affirmativeId", NULL
7595 };
7596
7597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7599 if (!SWIG_IsOK(res1)) {
7600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7601 }
7602 arg1 = reinterpret_cast< wxDialog * >(argp1);
7603 ecode2 = SWIG_AsVal_int(obj1, &val2);
7604 if (!SWIG_IsOK(ecode2)) {
7605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7606 }
7607 arg2 = static_cast< int >(val2);
7608 {
7609 PyThreadState* __tstate = wxPyBeginAllowThreads();
7610 (arg1)->SetAffirmativeId(arg2);
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 resultobj = SWIG_Py_Void();
7615 return resultobj;
7616 fail:
7617 return NULL;
7618 }
7619
7620
7621 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7622 PyObject *resultobj = 0;
7623 wxDialog *arg1 = (wxDialog *) 0 ;
7624 int result;
7625 void *argp1 = 0 ;
7626 int res1 = 0 ;
7627 PyObject *swig_obj[1] ;
7628
7629 if (!args) SWIG_fail;
7630 swig_obj[0] = args;
7631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7632 if (!SWIG_IsOK(res1)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7634 }
7635 arg1 = reinterpret_cast< wxDialog * >(argp1);
7636 {
7637 PyThreadState* __tstate = wxPyBeginAllowThreads();
7638 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 resultobj = SWIG_From_int(static_cast< int >(result));
7643 return resultobj;
7644 fail:
7645 return NULL;
7646 }
7647
7648
7649 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7650 PyObject *resultobj = 0;
7651 wxDialog *arg1 = (wxDialog *) 0 ;
7652 int arg2 ;
7653 void *argp1 = 0 ;
7654 int res1 = 0 ;
7655 int val2 ;
7656 int ecode2 = 0 ;
7657 PyObject * obj0 = 0 ;
7658 PyObject * obj1 = 0 ;
7659 char * kwnames[] = {
7660 (char *) "self",(char *) "escapeId", NULL
7661 };
7662
7663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7665 if (!SWIG_IsOK(res1)) {
7666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7667 }
7668 arg1 = reinterpret_cast< wxDialog * >(argp1);
7669 ecode2 = SWIG_AsVal_int(obj1, &val2);
7670 if (!SWIG_IsOK(ecode2)) {
7671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7672 }
7673 arg2 = static_cast< int >(val2);
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 (arg1)->SetEscapeId(arg2);
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 resultobj = SWIG_Py_Void();
7681 return resultobj;
7682 fail:
7683 return NULL;
7684 }
7685
7686
7687 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7688 PyObject *resultobj = 0;
7689 wxDialog *arg1 = (wxDialog *) 0 ;
7690 int result;
7691 void *argp1 = 0 ;
7692 int res1 = 0 ;
7693 PyObject *swig_obj[1] ;
7694
7695 if (!args) SWIG_fail;
7696 swig_obj[0] = args;
7697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7698 if (!SWIG_IsOK(res1)) {
7699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7700 }
7701 arg1 = reinterpret_cast< wxDialog * >(argp1);
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 resultobj = SWIG_From_int(static_cast< int >(result));
7709 return resultobj;
7710 fail:
7711 return NULL;
7712 }
7713
7714
7715 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj = 0;
7717 wxDialog *arg1 = (wxDialog *) 0 ;
7718 wxString *arg2 = 0 ;
7719 wxSizer *result = 0 ;
7720 void *argp1 = 0 ;
7721 int res1 = 0 ;
7722 bool temp2 = false ;
7723 PyObject * obj0 = 0 ;
7724 PyObject * obj1 = 0 ;
7725 char * kwnames[] = {
7726 (char *) "self",(char *) "message", NULL
7727 };
7728
7729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7731 if (!SWIG_IsOK(res1)) {
7732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7733 }
7734 arg1 = reinterpret_cast< wxDialog * >(argp1);
7735 {
7736 arg2 = wxString_in_helper(obj1);
7737 if (arg2 == NULL) SWIG_fail;
7738 temp2 = true;
7739 }
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 {
7747 resultobj = wxPyMake_wxObject(result, (bool)0);
7748 }
7749 {
7750 if (temp2)
7751 delete arg2;
7752 }
7753 return resultobj;
7754 fail:
7755 {
7756 if (temp2)
7757 delete arg2;
7758 }
7759 return NULL;
7760 }
7761
7762
7763 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7764 PyObject *resultobj = 0;
7765 wxDialog *arg1 = (wxDialog *) 0 ;
7766 long arg2 ;
7767 bool arg3 = (bool) false ;
7768 int arg4 = (int) 0 ;
7769 wxSizer *result = 0 ;
7770 void *argp1 = 0 ;
7771 int res1 = 0 ;
7772 long val2 ;
7773 int ecode2 = 0 ;
7774 bool val3 ;
7775 int ecode3 = 0 ;
7776 int val4 ;
7777 int ecode4 = 0 ;
7778 PyObject * obj0 = 0 ;
7779 PyObject * obj1 = 0 ;
7780 PyObject * obj2 = 0 ;
7781 PyObject * obj3 = 0 ;
7782 char * kwnames[] = {
7783 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7784 };
7785
7786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7788 if (!SWIG_IsOK(res1)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7790 }
7791 arg1 = reinterpret_cast< wxDialog * >(argp1);
7792 ecode2 = SWIG_AsVal_long(obj1, &val2);
7793 if (!SWIG_IsOK(ecode2)) {
7794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7795 }
7796 arg2 = static_cast< long >(val2);
7797 if (obj2) {
7798 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7799 if (!SWIG_IsOK(ecode3)) {
7800 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7801 }
7802 arg3 = static_cast< bool >(val3);
7803 }
7804 if (obj3) {
7805 ecode4 = SWIG_AsVal_int(obj3, &val4);
7806 if (!SWIG_IsOK(ecode4)) {
7807 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7808 }
7809 arg4 = static_cast< int >(val4);
7810 }
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 {
7818 resultobj = wxPyMake_wxObject(result, (bool)0);
7819 }
7820 return resultobj;
7821 fail:
7822 return NULL;
7823 }
7824
7825
7826 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7827 PyObject *resultobj = 0;
7828 wxDialog *arg1 = (wxDialog *) 0 ;
7829 long arg2 ;
7830 wxStdDialogButtonSizer *result = 0 ;
7831 void *argp1 = 0 ;
7832 int res1 = 0 ;
7833 long val2 ;
7834 int ecode2 = 0 ;
7835 PyObject * obj0 = 0 ;
7836 PyObject * obj1 = 0 ;
7837 char * kwnames[] = {
7838 (char *) "self",(char *) "flags", NULL
7839 };
7840
7841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7843 if (!SWIG_IsOK(res1)) {
7844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7845 }
7846 arg1 = reinterpret_cast< wxDialog * >(argp1);
7847 ecode2 = SWIG_AsVal_long(obj1, &val2);
7848 if (!SWIG_IsOK(ecode2)) {
7849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7850 }
7851 arg2 = static_cast< long >(val2);
7852 {
7853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7854 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7859 return resultobj;
7860 fail:
7861 return NULL;
7862 }
7863
7864
7865 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7866 PyObject *resultobj = 0;
7867 wxDialog *arg1 = (wxDialog *) 0 ;
7868 bool result;
7869 void *argp1 = 0 ;
7870 int res1 = 0 ;
7871 PyObject *swig_obj[1] ;
7872
7873 if (!args) SWIG_fail;
7874 swig_obj[0] = args;
7875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7876 if (!SWIG_IsOK(res1)) {
7877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7878 }
7879 arg1 = reinterpret_cast< wxDialog * >(argp1);
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 result = (bool)((wxDialog const *)arg1)->IsModal();
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 {
7887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7888 }
7889 return resultobj;
7890 fail:
7891 return NULL;
7892 }
7893
7894
7895 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7896 PyObject *resultobj = 0;
7897 wxDialog *arg1 = (wxDialog *) 0 ;
7898 int result;
7899 void *argp1 = 0 ;
7900 int res1 = 0 ;
7901 PyObject *swig_obj[1] ;
7902
7903 if (!args) SWIG_fail;
7904 swig_obj[0] = args;
7905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7906 if (!SWIG_IsOK(res1)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7908 }
7909 arg1 = reinterpret_cast< wxDialog * >(argp1);
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (int)(arg1)->ShowModal();
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 resultobj = SWIG_From_int(static_cast< int >(result));
7917 return resultobj;
7918 fail:
7919 return NULL;
7920 }
7921
7922
7923 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj = 0;
7925 wxDialog *arg1 = (wxDialog *) 0 ;
7926 int arg2 ;
7927 void *argp1 = 0 ;
7928 int res1 = 0 ;
7929 int val2 ;
7930 int ecode2 = 0 ;
7931 PyObject * obj0 = 0 ;
7932 PyObject * obj1 = 0 ;
7933 char * kwnames[] = {
7934 (char *) "self",(char *) "retCode", NULL
7935 };
7936
7937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7939 if (!SWIG_IsOK(res1)) {
7940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7941 }
7942 arg1 = reinterpret_cast< wxDialog * >(argp1);
7943 ecode2 = SWIG_AsVal_int(obj1, &val2);
7944 if (!SWIG_IsOK(ecode2)) {
7945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7946 }
7947 arg2 = static_cast< int >(val2);
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 (arg1)->EndModal(arg2);
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 resultobj = SWIG_Py_Void();
7955 return resultobj;
7956 fail:
7957 return NULL;
7958 }
7959
7960
7961 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7962 PyObject *resultobj = 0;
7963 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7964 SwigValueWrapper<wxVisualAttributes > result;
7965 int val1 ;
7966 int ecode1 = 0 ;
7967 PyObject * obj0 = 0 ;
7968 char * kwnames[] = {
7969 (char *) "variant", NULL
7970 };
7971
7972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7973 if (obj0) {
7974 ecode1 = SWIG_AsVal_int(obj0, &val1);
7975 if (!SWIG_IsOK(ecode1)) {
7976 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7977 }
7978 arg1 = static_cast< wxWindowVariant >(val1);
7979 }
7980 {
7981 if (!wxPyCheckForApp()) SWIG_fail;
7982 PyThreadState* __tstate = wxPyBeginAllowThreads();
7983 result = wxDialog::GetClassDefaultAttributes(arg1);
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7988 return resultobj;
7989 fail:
7990 return NULL;
7991 }
7992
7993
7994 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7995 PyObject *obj;
7996 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7997 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7998 return SWIG_Py_Void();
7999 }
8000
8001 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8002 return SWIG_Python_InitShadowInstance(args);
8003 }
8004
8005 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8006 PyObject *resultobj = 0;
8007 wxWindow *arg1 = (wxWindow *) 0 ;
8008 int arg2 = (int) (int)-1 ;
8009 wxString const &arg3_defvalue = wxPyEmptyString ;
8010 wxString *arg3 = (wxString *) &arg3_defvalue ;
8011 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8012 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8013 wxSize const &arg5_defvalue = wxDefaultSize ;
8014 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8015 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8016 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8017 wxString *arg7 = (wxString *) &arg7_defvalue ;
8018 wxMiniFrame *result = 0 ;
8019 void *argp1 = 0 ;
8020 int res1 = 0 ;
8021 int val2 ;
8022 int ecode2 = 0 ;
8023 bool temp3 = false ;
8024 wxPoint temp4 ;
8025 wxSize temp5 ;
8026 long val6 ;
8027 int ecode6 = 0 ;
8028 bool temp7 = false ;
8029 PyObject * obj0 = 0 ;
8030 PyObject * obj1 = 0 ;
8031 PyObject * obj2 = 0 ;
8032 PyObject * obj3 = 0 ;
8033 PyObject * obj4 = 0 ;
8034 PyObject * obj5 = 0 ;
8035 PyObject * obj6 = 0 ;
8036 char * kwnames[] = {
8037 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8038 };
8039
8040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8042 if (!SWIG_IsOK(res1)) {
8043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8044 }
8045 arg1 = reinterpret_cast< wxWindow * >(argp1);
8046 if (obj1) {
8047 ecode2 = SWIG_AsVal_int(obj1, &val2);
8048 if (!SWIG_IsOK(ecode2)) {
8049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8050 }
8051 arg2 = static_cast< int >(val2);
8052 }
8053 if (obj2) {
8054 {
8055 arg3 = wxString_in_helper(obj2);
8056 if (arg3 == NULL) SWIG_fail;
8057 temp3 = true;
8058 }
8059 }
8060 if (obj3) {
8061 {
8062 arg4 = &temp4;
8063 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8064 }
8065 }
8066 if (obj4) {
8067 {
8068 arg5 = &temp5;
8069 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8070 }
8071 }
8072 if (obj5) {
8073 ecode6 = SWIG_AsVal_long(obj5, &val6);
8074 if (!SWIG_IsOK(ecode6)) {
8075 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8076 }
8077 arg6 = static_cast< long >(val6);
8078 }
8079 if (obj6) {
8080 {
8081 arg7 = wxString_in_helper(obj6);
8082 if (arg7 == NULL) SWIG_fail;
8083 temp7 = true;
8084 }
8085 }
8086 {
8087 if (!wxPyCheckForApp()) SWIG_fail;
8088 PyThreadState* __tstate = wxPyBeginAllowThreads();
8089 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8094 {
8095 if (temp3)
8096 delete arg3;
8097 }
8098 {
8099 if (temp7)
8100 delete arg7;
8101 }
8102 return resultobj;
8103 fail:
8104 {
8105 if (temp3)
8106 delete arg3;
8107 }
8108 {
8109 if (temp7)
8110 delete arg7;
8111 }
8112 return NULL;
8113 }
8114
8115
8116 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8117 PyObject *resultobj = 0;
8118 wxMiniFrame *result = 0 ;
8119
8120 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8121 {
8122 if (!wxPyCheckForApp()) SWIG_fail;
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 result = (wxMiniFrame *)new wxMiniFrame();
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8129 return resultobj;
8130 fail:
8131 return NULL;
8132 }
8133
8134
8135 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj = 0;
8137 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8138 wxWindow *arg2 = (wxWindow *) 0 ;
8139 int arg3 = (int) (int)-1 ;
8140 wxString const &arg4_defvalue = wxPyEmptyString ;
8141 wxString *arg4 = (wxString *) &arg4_defvalue ;
8142 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8143 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8144 wxSize const &arg6_defvalue = wxDefaultSize ;
8145 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8146 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8147 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8148 wxString *arg8 = (wxString *) &arg8_defvalue ;
8149 bool result;
8150 void *argp1 = 0 ;
8151 int res1 = 0 ;
8152 void *argp2 = 0 ;
8153 int res2 = 0 ;
8154 int val3 ;
8155 int ecode3 = 0 ;
8156 bool temp4 = false ;
8157 wxPoint temp5 ;
8158 wxSize temp6 ;
8159 long val7 ;
8160 int ecode7 = 0 ;
8161 bool temp8 = false ;
8162 PyObject * obj0 = 0 ;
8163 PyObject * obj1 = 0 ;
8164 PyObject * obj2 = 0 ;
8165 PyObject * obj3 = 0 ;
8166 PyObject * obj4 = 0 ;
8167 PyObject * obj5 = 0 ;
8168 PyObject * obj6 = 0 ;
8169 PyObject * obj7 = 0 ;
8170 char * kwnames[] = {
8171 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8172 };
8173
8174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8176 if (!SWIG_IsOK(res1)) {
8177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8178 }
8179 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8180 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8181 if (!SWIG_IsOK(res2)) {
8182 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8183 }
8184 arg2 = reinterpret_cast< wxWindow * >(argp2);
8185 if (obj2) {
8186 ecode3 = SWIG_AsVal_int(obj2, &val3);
8187 if (!SWIG_IsOK(ecode3)) {
8188 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8189 }
8190 arg3 = static_cast< int >(val3);
8191 }
8192 if (obj3) {
8193 {
8194 arg4 = wxString_in_helper(obj3);
8195 if (arg4 == NULL) SWIG_fail;
8196 temp4 = true;
8197 }
8198 }
8199 if (obj4) {
8200 {
8201 arg5 = &temp5;
8202 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8203 }
8204 }
8205 if (obj5) {
8206 {
8207 arg6 = &temp6;
8208 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8209 }
8210 }
8211 if (obj6) {
8212 ecode7 = SWIG_AsVal_long(obj6, &val7);
8213 if (!SWIG_IsOK(ecode7)) {
8214 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8215 }
8216 arg7 = static_cast< long >(val7);
8217 }
8218 if (obj7) {
8219 {
8220 arg8 = wxString_in_helper(obj7);
8221 if (arg8 == NULL) SWIG_fail;
8222 temp8 = true;
8223 }
8224 }
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 {
8232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8233 }
8234 {
8235 if (temp4)
8236 delete arg4;
8237 }
8238 {
8239 if (temp8)
8240 delete arg8;
8241 }
8242 return resultobj;
8243 fail:
8244 {
8245 if (temp4)
8246 delete arg4;
8247 }
8248 {
8249 if (temp8)
8250 delete arg8;
8251 }
8252 return NULL;
8253 }
8254
8255
8256 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8257 PyObject *obj;
8258 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8259 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8260 return SWIG_Py_Void();
8261 }
8262
8263 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8264 return SWIG_Python_InitShadowInstance(args);
8265 }
8266
8267 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8268 PyObject *resultobj = 0;
8269 wxBitmap *arg1 = 0 ;
8270 wxWindow *arg2 = (wxWindow *) 0 ;
8271 int arg3 ;
8272 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8273 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8274 wxSize const &arg5_defvalue = wxDefaultSize ;
8275 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8276 long arg6 = (long) wxNO_BORDER ;
8277 wxSplashScreenWindow *result = 0 ;
8278 void *argp1 = 0 ;
8279 int res1 = 0 ;
8280 void *argp2 = 0 ;
8281 int res2 = 0 ;
8282 int val3 ;
8283 int ecode3 = 0 ;
8284 wxPoint temp4 ;
8285 wxSize temp5 ;
8286 long val6 ;
8287 int ecode6 = 0 ;
8288 PyObject * obj0 = 0 ;
8289 PyObject * obj1 = 0 ;
8290 PyObject * obj2 = 0 ;
8291 PyObject * obj3 = 0 ;
8292 PyObject * obj4 = 0 ;
8293 PyObject * obj5 = 0 ;
8294 char * kwnames[] = {
8295 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8296 };
8297
8298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8299 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8300 if (!SWIG_IsOK(res1)) {
8301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8302 }
8303 if (!argp1) {
8304 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8305 }
8306 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8307 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8308 if (!SWIG_IsOK(res2)) {
8309 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8310 }
8311 arg2 = reinterpret_cast< wxWindow * >(argp2);
8312 ecode3 = SWIG_AsVal_int(obj2, &val3);
8313 if (!SWIG_IsOK(ecode3)) {
8314 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8315 }
8316 arg3 = static_cast< int >(val3);
8317 if (obj3) {
8318 {
8319 arg4 = &temp4;
8320 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8321 }
8322 }
8323 if (obj4) {
8324 {
8325 arg5 = &temp5;
8326 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8327 }
8328 }
8329 if (obj5) {
8330 ecode6 = SWIG_AsVal_long(obj5, &val6);
8331 if (!SWIG_IsOK(ecode6)) {
8332 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8333 }
8334 arg6 = static_cast< long >(val6);
8335 }
8336 {
8337 if (!wxPyCheckForApp()) SWIG_fail;
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8344 return resultobj;
8345 fail:
8346 return NULL;
8347 }
8348
8349
8350 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8351 PyObject *resultobj = 0;
8352 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8353 wxBitmap *arg2 = 0 ;
8354 void *argp1 = 0 ;
8355 int res1 = 0 ;
8356 void *argp2 = 0 ;
8357 int res2 = 0 ;
8358 PyObject * obj0 = 0 ;
8359 PyObject * obj1 = 0 ;
8360 char * kwnames[] = {
8361 (char *) "self",(char *) "bitmap", NULL
8362 };
8363
8364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8366 if (!SWIG_IsOK(res1)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8368 }
8369 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8370 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8371 if (!SWIG_IsOK(res2)) {
8372 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8373 }
8374 if (!argp2) {
8375 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8376 }
8377 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 resultobj = SWIG_Py_Void();
8385 return resultobj;
8386 fail:
8387 return NULL;
8388 }
8389
8390
8391 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8392 PyObject *resultobj = 0;
8393 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8394 wxBitmap *result = 0 ;
8395 void *argp1 = 0 ;
8396 int res1 = 0 ;
8397 PyObject *swig_obj[1] ;
8398
8399 if (!args) SWIG_fail;
8400 swig_obj[0] = args;
8401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8402 if (!SWIG_IsOK(res1)) {
8403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8404 }
8405 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 {
8409 wxBitmap &_result_ref = (arg1)->GetBitmap();
8410 result = (wxBitmap *) &_result_ref;
8411 }
8412 wxPyEndAllowThreads(__tstate);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 }
8415 {
8416 wxBitmap* resultptr = new wxBitmap(*result);
8417 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8418 }
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8426 PyObject *obj;
8427 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8428 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8429 return SWIG_Py_Void();
8430 }
8431
8432 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8433 return SWIG_Python_InitShadowInstance(args);
8434 }
8435
8436 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8437 PyObject *resultobj = 0;
8438 wxBitmap *arg1 = 0 ;
8439 long arg2 ;
8440 int arg3 ;
8441 wxWindow *arg4 = (wxWindow *) 0 ;
8442 int arg5 = (int) -1 ;
8443 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8444 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8445 wxSize const &arg7_defvalue = wxDefaultSize ;
8446 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8447 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8448 wxSplashScreen *result = 0 ;
8449 void *argp1 = 0 ;
8450 int res1 = 0 ;
8451 long val2 ;
8452 int ecode2 = 0 ;
8453 int val3 ;
8454 int ecode3 = 0 ;
8455 void *argp4 = 0 ;
8456 int res4 = 0 ;
8457 int val5 ;
8458 int ecode5 = 0 ;
8459 wxPoint temp6 ;
8460 wxSize temp7 ;
8461 long val8 ;
8462 int ecode8 = 0 ;
8463 PyObject * obj0 = 0 ;
8464 PyObject * obj1 = 0 ;
8465 PyObject * obj2 = 0 ;
8466 PyObject * obj3 = 0 ;
8467 PyObject * obj4 = 0 ;
8468 PyObject * obj5 = 0 ;
8469 PyObject * obj6 = 0 ;
8470 PyObject * obj7 = 0 ;
8471 char * kwnames[] = {
8472 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8473 };
8474
8475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8476 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8477 if (!SWIG_IsOK(res1)) {
8478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8479 }
8480 if (!argp1) {
8481 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8482 }
8483 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8484 ecode2 = SWIG_AsVal_long(obj1, &val2);
8485 if (!SWIG_IsOK(ecode2)) {
8486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8487 }
8488 arg2 = static_cast< long >(val2);
8489 ecode3 = SWIG_AsVal_int(obj2, &val3);
8490 if (!SWIG_IsOK(ecode3)) {
8491 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8492 }
8493 arg3 = static_cast< int >(val3);
8494 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8495 if (!SWIG_IsOK(res4)) {
8496 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8497 }
8498 arg4 = reinterpret_cast< wxWindow * >(argp4);
8499 if (obj4) {
8500 ecode5 = SWIG_AsVal_int(obj4, &val5);
8501 if (!SWIG_IsOK(ecode5)) {
8502 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8503 }
8504 arg5 = static_cast< int >(val5);
8505 }
8506 if (obj5) {
8507 {
8508 arg6 = &temp6;
8509 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8510 }
8511 }
8512 if (obj6) {
8513 {
8514 arg7 = &temp7;
8515 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8516 }
8517 }
8518 if (obj7) {
8519 ecode8 = SWIG_AsVal_long(obj7, &val8);
8520 if (!SWIG_IsOK(ecode8)) {
8521 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8522 }
8523 arg8 = static_cast< long >(val8);
8524 }
8525 {
8526 if (!wxPyCheckForApp()) SWIG_fail;
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8533 return resultobj;
8534 fail:
8535 return NULL;
8536 }
8537
8538
8539 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8540 PyObject *resultobj = 0;
8541 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8542 long result;
8543 void *argp1 = 0 ;
8544 int res1 = 0 ;
8545 PyObject *swig_obj[1] ;
8546
8547 if (!args) SWIG_fail;
8548 swig_obj[0] = args;
8549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8550 if (!SWIG_IsOK(res1)) {
8551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8552 }
8553 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8554 {
8555 PyThreadState* __tstate = wxPyBeginAllowThreads();
8556 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 resultobj = SWIG_From_long(static_cast< long >(result));
8561 return resultobj;
8562 fail:
8563 return NULL;
8564 }
8565
8566
8567 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8568 PyObject *resultobj = 0;
8569 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8570 wxSplashScreenWindow *result = 0 ;
8571 void *argp1 = 0 ;
8572 int res1 = 0 ;
8573 PyObject *swig_obj[1] ;
8574
8575 if (!args) SWIG_fail;
8576 swig_obj[0] = args;
8577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8578 if (!SWIG_IsOK(res1)) {
8579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8580 }
8581 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8582 {
8583 PyThreadState* __tstate = wxPyBeginAllowThreads();
8584 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8585 wxPyEndAllowThreads(__tstate);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 }
8588 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8589 return resultobj;
8590 fail:
8591 return NULL;
8592 }
8593
8594
8595 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8596 PyObject *resultobj = 0;
8597 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8598 int result;
8599 void *argp1 = 0 ;
8600 int res1 = 0 ;
8601 PyObject *swig_obj[1] ;
8602
8603 if (!args) SWIG_fail;
8604 swig_obj[0] = args;
8605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8606 if (!SWIG_IsOK(res1)) {
8607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8608 }
8609 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8613 wxPyEndAllowThreads(__tstate);
8614 if (PyErr_Occurred()) SWIG_fail;
8615 }
8616 resultobj = SWIG_From_int(static_cast< int >(result));
8617 return resultobj;
8618 fail:
8619 return NULL;
8620 }
8621
8622
8623 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8624 PyObject *obj;
8625 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8626 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8627 return SWIG_Py_Void();
8628 }
8629
8630 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8631 return SWIG_Python_InitShadowInstance(args);
8632 }
8633
8634 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8635 PyObject *resultobj = 0;
8636 wxWindow *arg1 = (wxWindow *) 0 ;
8637 int arg2 = (int) -1 ;
8638 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8639 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8640 wxString *arg4 = (wxString *) &arg4_defvalue ;
8641 wxStatusBar *result = 0 ;
8642 void *argp1 = 0 ;
8643 int res1 = 0 ;
8644 int val2 ;
8645 int ecode2 = 0 ;
8646 long val3 ;
8647 int ecode3 = 0 ;
8648 bool temp4 = false ;
8649 PyObject * obj0 = 0 ;
8650 PyObject * obj1 = 0 ;
8651 PyObject * obj2 = 0 ;
8652 PyObject * obj3 = 0 ;
8653 char * kwnames[] = {
8654 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8655 };
8656
8657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8659 if (!SWIG_IsOK(res1)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8661 }
8662 arg1 = reinterpret_cast< wxWindow * >(argp1);
8663 if (obj1) {
8664 ecode2 = SWIG_AsVal_int(obj1, &val2);
8665 if (!SWIG_IsOK(ecode2)) {
8666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8667 }
8668 arg2 = static_cast< int >(val2);
8669 }
8670 if (obj2) {
8671 ecode3 = SWIG_AsVal_long(obj2, &val3);
8672 if (!SWIG_IsOK(ecode3)) {
8673 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8674 }
8675 arg3 = static_cast< long >(val3);
8676 }
8677 if (obj3) {
8678 {
8679 arg4 = wxString_in_helper(obj3);
8680 if (arg4 == NULL) SWIG_fail;
8681 temp4 = true;
8682 }
8683 }
8684 {
8685 if (!wxPyCheckForApp()) SWIG_fail;
8686 PyThreadState* __tstate = wxPyBeginAllowThreads();
8687 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8692 {
8693 if (temp4)
8694 delete arg4;
8695 }
8696 return resultobj;
8697 fail:
8698 {
8699 if (temp4)
8700 delete arg4;
8701 }
8702 return NULL;
8703 }
8704
8705
8706 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8707 PyObject *resultobj = 0;
8708 wxStatusBar *result = 0 ;
8709
8710 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8711 {
8712 if (!wxPyCheckForApp()) SWIG_fail;
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 result = (wxStatusBar *)new wxStatusBar();
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8719 return resultobj;
8720 fail:
8721 return NULL;
8722 }
8723
8724
8725 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj = 0;
8727 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8728 wxWindow *arg2 = (wxWindow *) 0 ;
8729 int arg3 = (int) -1 ;
8730 long arg4 = (long) wxST_SIZEGRIP ;
8731 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8732 wxString *arg5 = (wxString *) &arg5_defvalue ;
8733 bool result;
8734 void *argp1 = 0 ;
8735 int res1 = 0 ;
8736 void *argp2 = 0 ;
8737 int res2 = 0 ;
8738 int val3 ;
8739 int ecode3 = 0 ;
8740 long val4 ;
8741 int ecode4 = 0 ;
8742 bool temp5 = false ;
8743 PyObject * obj0 = 0 ;
8744 PyObject * obj1 = 0 ;
8745 PyObject * obj2 = 0 ;
8746 PyObject * obj3 = 0 ;
8747 PyObject * obj4 = 0 ;
8748 char * kwnames[] = {
8749 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8750 };
8751
8752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8754 if (!SWIG_IsOK(res1)) {
8755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8756 }
8757 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8758 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8759 if (!SWIG_IsOK(res2)) {
8760 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8761 }
8762 arg2 = reinterpret_cast< wxWindow * >(argp2);
8763 if (obj2) {
8764 ecode3 = SWIG_AsVal_int(obj2, &val3);
8765 if (!SWIG_IsOK(ecode3)) {
8766 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8767 }
8768 arg3 = static_cast< int >(val3);
8769 }
8770 if (obj3) {
8771 ecode4 = SWIG_AsVal_long(obj3, &val4);
8772 if (!SWIG_IsOK(ecode4)) {
8773 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8774 }
8775 arg4 = static_cast< long >(val4);
8776 }
8777 if (obj4) {
8778 {
8779 arg5 = wxString_in_helper(obj4);
8780 if (arg5 == NULL) SWIG_fail;
8781 temp5 = true;
8782 }
8783 }
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8787 wxPyEndAllowThreads(__tstate);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 }
8790 {
8791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8792 }
8793 {
8794 if (temp5)
8795 delete arg5;
8796 }
8797 return resultobj;
8798 fail:
8799 {
8800 if (temp5)
8801 delete arg5;
8802 }
8803 return NULL;
8804 }
8805
8806
8807 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8808 PyObject *resultobj = 0;
8809 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8810 int arg2 = (int) 1 ;
8811 void *argp1 = 0 ;
8812 int res1 = 0 ;
8813 int val2 ;
8814 int ecode2 = 0 ;
8815 PyObject * obj0 = 0 ;
8816 PyObject * obj1 = 0 ;
8817 char * kwnames[] = {
8818 (char *) "self",(char *) "number", NULL
8819 };
8820
8821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8823 if (!SWIG_IsOK(res1)) {
8824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8825 }
8826 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8827 if (obj1) {
8828 ecode2 = SWIG_AsVal_int(obj1, &val2);
8829 if (!SWIG_IsOK(ecode2)) {
8830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8831 }
8832 arg2 = static_cast< int >(val2);
8833 }
8834 {
8835 PyThreadState* __tstate = wxPyBeginAllowThreads();
8836 (arg1)->SetFieldsCount(arg2);
8837 wxPyEndAllowThreads(__tstate);
8838 if (PyErr_Occurred()) SWIG_fail;
8839 }
8840 resultobj = SWIG_Py_Void();
8841 return resultobj;
8842 fail:
8843 return NULL;
8844 }
8845
8846
8847 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8848 PyObject *resultobj = 0;
8849 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8850 int result;
8851 void *argp1 = 0 ;
8852 int res1 = 0 ;
8853 PyObject *swig_obj[1] ;
8854
8855 if (!args) SWIG_fail;
8856 swig_obj[0] = args;
8857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8858 if (!SWIG_IsOK(res1)) {
8859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8860 }
8861 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8862 {
8863 PyThreadState* __tstate = wxPyBeginAllowThreads();
8864 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8865 wxPyEndAllowThreads(__tstate);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 resultobj = SWIG_From_int(static_cast< int >(result));
8869 return resultobj;
8870 fail:
8871 return NULL;
8872 }
8873
8874
8875 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8876 PyObject *resultobj = 0;
8877 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8878 wxString *arg2 = 0 ;
8879 int arg3 = (int) 0 ;
8880 void *argp1 = 0 ;
8881 int res1 = 0 ;
8882 bool temp2 = false ;
8883 int val3 ;
8884 int ecode3 = 0 ;
8885 PyObject * obj0 = 0 ;
8886 PyObject * obj1 = 0 ;
8887 PyObject * obj2 = 0 ;
8888 char * kwnames[] = {
8889 (char *) "self",(char *) "text",(char *) "number", NULL
8890 };
8891
8892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8894 if (!SWIG_IsOK(res1)) {
8895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8896 }
8897 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8898 {
8899 arg2 = wxString_in_helper(obj1);
8900 if (arg2 == NULL) SWIG_fail;
8901 temp2 = true;
8902 }
8903 if (obj2) {
8904 ecode3 = SWIG_AsVal_int(obj2, &val3);
8905 if (!SWIG_IsOK(ecode3)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8907 }
8908 arg3 = static_cast< int >(val3);
8909 }
8910 {
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 resultobj = SWIG_Py_Void();
8917 {
8918 if (temp2)
8919 delete arg2;
8920 }
8921 return resultobj;
8922 fail:
8923 {
8924 if (temp2)
8925 delete arg2;
8926 }
8927 return NULL;
8928 }
8929
8930
8931 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8932 PyObject *resultobj = 0;
8933 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8934 int arg2 = (int) 0 ;
8935 wxString result;
8936 void *argp1 = 0 ;
8937 int res1 = 0 ;
8938 int val2 ;
8939 int ecode2 = 0 ;
8940 PyObject * obj0 = 0 ;
8941 PyObject * obj1 = 0 ;
8942 char * kwnames[] = {
8943 (char *) "self",(char *) "number", NULL
8944 };
8945
8946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8948 if (!SWIG_IsOK(res1)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8950 }
8951 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8952 if (obj1) {
8953 ecode2 = SWIG_AsVal_int(obj1, &val2);
8954 if (!SWIG_IsOK(ecode2)) {
8955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8956 }
8957 arg2 = static_cast< int >(val2);
8958 }
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8962 wxPyEndAllowThreads(__tstate);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 }
8965 {
8966 #if wxUSE_UNICODE
8967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8968 #else
8969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8970 #endif
8971 }
8972 return resultobj;
8973 fail:
8974 return NULL;
8975 }
8976
8977
8978 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8979 PyObject *resultobj = 0;
8980 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8981 wxString *arg2 = 0 ;
8982 int arg3 = (int) 0 ;
8983 void *argp1 = 0 ;
8984 int res1 = 0 ;
8985 bool temp2 = false ;
8986 int val3 ;
8987 int ecode3 = 0 ;
8988 PyObject * obj0 = 0 ;
8989 PyObject * obj1 = 0 ;
8990 PyObject * obj2 = 0 ;
8991 char * kwnames[] = {
8992 (char *) "self",(char *) "text",(char *) "number", NULL
8993 };
8994
8995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8997 if (!SWIG_IsOK(res1)) {
8998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8999 }
9000 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9001 {
9002 arg2 = wxString_in_helper(obj1);
9003 if (arg2 == NULL) SWIG_fail;
9004 temp2 = true;
9005 }
9006 if (obj2) {
9007 ecode3 = SWIG_AsVal_int(obj2, &val3);
9008 if (!SWIG_IsOK(ecode3)) {
9009 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9010 }
9011 arg3 = static_cast< int >(val3);
9012 }
9013 {
9014 PyThreadState* __tstate = wxPyBeginAllowThreads();
9015 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 resultobj = SWIG_Py_Void();
9020 {
9021 if (temp2)
9022 delete arg2;
9023 }
9024 return resultobj;
9025 fail:
9026 {
9027 if (temp2)
9028 delete arg2;
9029 }
9030 return NULL;
9031 }
9032
9033
9034 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj = 0;
9036 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9037 int arg2 = (int) 0 ;
9038 void *argp1 = 0 ;
9039 int res1 = 0 ;
9040 int val2 ;
9041 int ecode2 = 0 ;
9042 PyObject * obj0 = 0 ;
9043 PyObject * obj1 = 0 ;
9044 char * kwnames[] = {
9045 (char *) "self",(char *) "number", NULL
9046 };
9047
9048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9050 if (!SWIG_IsOK(res1)) {
9051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9052 }
9053 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9054 if (obj1) {
9055 ecode2 = SWIG_AsVal_int(obj1, &val2);
9056 if (!SWIG_IsOK(ecode2)) {
9057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9058 }
9059 arg2 = static_cast< int >(val2);
9060 }
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 (arg1)->PopStatusText(arg2);
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 resultobj = SWIG_Py_Void();
9068 return resultobj;
9069 fail:
9070 return NULL;
9071 }
9072
9073
9074 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9075 PyObject *resultobj = 0;
9076 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9077 int arg2 ;
9078 int *arg3 = (int *) 0 ;
9079 void *argp1 = 0 ;
9080 int res1 = 0 ;
9081 PyObject * obj0 = 0 ;
9082 PyObject * obj1 = 0 ;
9083 char * kwnames[] = {
9084 (char *) "self",(char *) "widths", NULL
9085 };
9086
9087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9089 if (!SWIG_IsOK(res1)) {
9090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9091 }
9092 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9093 {
9094 arg2 = PyList_Size(obj1);
9095 arg3 = int_LIST_helper(obj1);
9096 if (arg3 == NULL) SWIG_fail;
9097 }
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 resultobj = SWIG_Py_Void();
9105 {
9106 if (arg3) delete [] arg3;
9107 }
9108 return resultobj;
9109 fail:
9110 {
9111 if (arg3) delete [] arg3;
9112 }
9113 return NULL;
9114 }
9115
9116
9117 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9118 PyObject *resultobj = 0;
9119 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9120 int arg2 ;
9121 int *arg3 = (int *) 0 ;
9122 void *argp1 = 0 ;
9123 int res1 = 0 ;
9124 PyObject * obj0 = 0 ;
9125 PyObject * obj1 = 0 ;
9126 char * kwnames[] = {
9127 (char *) "self",(char *) "styles", NULL
9128 };
9129
9130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9132 if (!SWIG_IsOK(res1)) {
9133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9134 }
9135 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9136 {
9137 arg2 = PyList_Size(obj1);
9138 arg3 = int_LIST_helper(obj1);
9139 if (arg3 == NULL) SWIG_fail;
9140 }
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 resultobj = SWIG_Py_Void();
9148 {
9149 if (arg3) delete [] arg3;
9150 }
9151 return resultobj;
9152 fail:
9153 {
9154 if (arg3) delete [] arg3;
9155 }
9156 return NULL;
9157 }
9158
9159
9160 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9161 PyObject *resultobj = 0;
9162 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9163 int arg2 ;
9164 wxRect result;
9165 void *argp1 = 0 ;
9166 int res1 = 0 ;
9167 int val2 ;
9168 int ecode2 = 0 ;
9169 PyObject * obj0 = 0 ;
9170 PyObject * obj1 = 0 ;
9171 char * kwnames[] = {
9172 (char *) "self",(char *) "i", NULL
9173 };
9174
9175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9177 if (!SWIG_IsOK(res1)) {
9178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9179 }
9180 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9181 ecode2 = SWIG_AsVal_int(obj1, &val2);
9182 if (!SWIG_IsOK(ecode2)) {
9183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9184 }
9185 arg2 = static_cast< int >(val2);
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 result = wxStatusBar_GetFieldRect(arg1,arg2);
9189 wxPyEndAllowThreads(__tstate);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
9192 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9193 return resultobj;
9194 fail:
9195 return NULL;
9196 }
9197
9198
9199 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj = 0;
9201 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9202 int arg2 ;
9203 void *argp1 = 0 ;
9204 int res1 = 0 ;
9205 int val2 ;
9206 int ecode2 = 0 ;
9207 PyObject * obj0 = 0 ;
9208 PyObject * obj1 = 0 ;
9209 char * kwnames[] = {
9210 (char *) "self",(char *) "height", NULL
9211 };
9212
9213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9215 if (!SWIG_IsOK(res1)) {
9216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9217 }
9218 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9219 ecode2 = SWIG_AsVal_int(obj1, &val2);
9220 if (!SWIG_IsOK(ecode2)) {
9221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9222 }
9223 arg2 = static_cast< int >(val2);
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 (arg1)->SetMinHeight(arg2);
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 resultobj = SWIG_Py_Void();
9231 return resultobj;
9232 fail:
9233 return NULL;
9234 }
9235
9236
9237 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9238 PyObject *resultobj = 0;
9239 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9240 int result;
9241 void *argp1 = 0 ;
9242 int res1 = 0 ;
9243 PyObject *swig_obj[1] ;
9244
9245 if (!args) SWIG_fail;
9246 swig_obj[0] = args;
9247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9248 if (!SWIG_IsOK(res1)) {
9249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9250 }
9251 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9252 {
9253 PyThreadState* __tstate = wxPyBeginAllowThreads();
9254 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 resultobj = SWIG_From_int(static_cast< int >(result));
9259 return resultobj;
9260 fail:
9261 return NULL;
9262 }
9263
9264
9265 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9266 PyObject *resultobj = 0;
9267 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9268 int result;
9269 void *argp1 = 0 ;
9270 int res1 = 0 ;
9271 PyObject *swig_obj[1] ;
9272
9273 if (!args) SWIG_fail;
9274 swig_obj[0] = args;
9275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9276 if (!SWIG_IsOK(res1)) {
9277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9278 }
9279 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9280 {
9281 PyThreadState* __tstate = wxPyBeginAllowThreads();
9282 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
9286 resultobj = SWIG_From_int(static_cast< int >(result));
9287 return resultobj;
9288 fail:
9289 return NULL;
9290 }
9291
9292
9293 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9294 PyObject *resultobj = 0;
9295 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9296 SwigValueWrapper<wxVisualAttributes > result;
9297 int val1 ;
9298 int ecode1 = 0 ;
9299 PyObject * obj0 = 0 ;
9300 char * kwnames[] = {
9301 (char *) "variant", NULL
9302 };
9303
9304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9305 if (obj0) {
9306 ecode1 = SWIG_AsVal_int(obj0, &val1);
9307 if (!SWIG_IsOK(ecode1)) {
9308 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9309 }
9310 arg1 = static_cast< wxWindowVariant >(val1);
9311 }
9312 {
9313 if (!wxPyCheckForApp()) SWIG_fail;
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9320 return resultobj;
9321 fail:
9322 return NULL;
9323 }
9324
9325
9326 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9327 PyObject *obj;
9328 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9329 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9330 return SWIG_Py_Void();
9331 }
9332
9333 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9334 return SWIG_Python_InitShadowInstance(args);
9335 }
9336
9337 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9338 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9339 return 1;
9340 }
9341
9342
9343 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9344 PyObject *pyobj = 0;
9345
9346 {
9347 #if wxUSE_UNICODE
9348 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9349 #else
9350 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9351 #endif
9352 }
9353 return pyobj;
9354 }
9355
9356
9357 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9358 PyObject *resultobj = 0;
9359 wxWindow *arg1 = (wxWindow *) 0 ;
9360 int arg2 = (int) -1 ;
9361 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9362 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9363 wxSize const &arg4_defvalue = wxDefaultSize ;
9364 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9365 long arg5 = (long) wxSP_3D ;
9366 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9367 wxString *arg6 = (wxString *) &arg6_defvalue ;
9368 wxSplitterWindow *result = 0 ;
9369 void *argp1 = 0 ;
9370 int res1 = 0 ;
9371 int val2 ;
9372 int ecode2 = 0 ;
9373 wxPoint temp3 ;
9374 wxSize temp4 ;
9375 long val5 ;
9376 int ecode5 = 0 ;
9377 bool temp6 = false ;
9378 PyObject * obj0 = 0 ;
9379 PyObject * obj1 = 0 ;
9380 PyObject * obj2 = 0 ;
9381 PyObject * obj3 = 0 ;
9382 PyObject * obj4 = 0 ;
9383 PyObject * obj5 = 0 ;
9384 char * kwnames[] = {
9385 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9386 };
9387
9388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9390 if (!SWIG_IsOK(res1)) {
9391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9392 }
9393 arg1 = reinterpret_cast< wxWindow * >(argp1);
9394 if (obj1) {
9395 ecode2 = SWIG_AsVal_int(obj1, &val2);
9396 if (!SWIG_IsOK(ecode2)) {
9397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9398 }
9399 arg2 = static_cast< int >(val2);
9400 }
9401 if (obj2) {
9402 {
9403 arg3 = &temp3;
9404 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9405 }
9406 }
9407 if (obj3) {
9408 {
9409 arg4 = &temp4;
9410 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9411 }
9412 }
9413 if (obj4) {
9414 ecode5 = SWIG_AsVal_long(obj4, &val5);
9415 if (!SWIG_IsOK(ecode5)) {
9416 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9417 }
9418 arg5 = static_cast< long >(val5);
9419 }
9420 if (obj5) {
9421 {
9422 arg6 = wxString_in_helper(obj5);
9423 if (arg6 == NULL) SWIG_fail;
9424 temp6 = true;
9425 }
9426 }
9427 {
9428 if (!wxPyCheckForApp()) SWIG_fail;
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9431 wxPyEndAllowThreads(__tstate);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 }
9434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9435 {
9436 if (temp6)
9437 delete arg6;
9438 }
9439 return resultobj;
9440 fail:
9441 {
9442 if (temp6)
9443 delete arg6;
9444 }
9445 return NULL;
9446 }
9447
9448
9449 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9450 PyObject *resultobj = 0;
9451 wxSplitterWindow *result = 0 ;
9452
9453 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9454 {
9455 if (!wxPyCheckForApp()) SWIG_fail;
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 result = (wxSplitterWindow *)new wxSplitterWindow();
9458 wxPyEndAllowThreads(__tstate);
9459 if (PyErr_Occurred()) SWIG_fail;
9460 }
9461 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9462 return resultobj;
9463 fail:
9464 return NULL;
9465 }
9466
9467
9468 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9469 PyObject *resultobj = 0;
9470 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9471 wxWindow *arg2 = (wxWindow *) 0 ;
9472 int arg3 = (int) -1 ;
9473 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9474 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9475 wxSize const &arg5_defvalue = wxDefaultSize ;
9476 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9477 long arg6 = (long) wxSP_3D ;
9478 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9479 wxString *arg7 = (wxString *) &arg7_defvalue ;
9480 bool result;
9481 void *argp1 = 0 ;
9482 int res1 = 0 ;
9483 void *argp2 = 0 ;
9484 int res2 = 0 ;
9485 int val3 ;
9486 int ecode3 = 0 ;
9487 wxPoint temp4 ;
9488 wxSize temp5 ;
9489 long val6 ;
9490 int ecode6 = 0 ;
9491 bool temp7 = false ;
9492 PyObject * obj0 = 0 ;
9493 PyObject * obj1 = 0 ;
9494 PyObject * obj2 = 0 ;
9495 PyObject * obj3 = 0 ;
9496 PyObject * obj4 = 0 ;
9497 PyObject * obj5 = 0 ;
9498 PyObject * obj6 = 0 ;
9499 char * kwnames[] = {
9500 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9501 };
9502
9503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9505 if (!SWIG_IsOK(res1)) {
9506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9507 }
9508 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9509 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9510 if (!SWIG_IsOK(res2)) {
9511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9512 }
9513 arg2 = reinterpret_cast< wxWindow * >(argp2);
9514 if (obj2) {
9515 ecode3 = SWIG_AsVal_int(obj2, &val3);
9516 if (!SWIG_IsOK(ecode3)) {
9517 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9518 }
9519 arg3 = static_cast< int >(val3);
9520 }
9521 if (obj3) {
9522 {
9523 arg4 = &temp4;
9524 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9525 }
9526 }
9527 if (obj4) {
9528 {
9529 arg5 = &temp5;
9530 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9531 }
9532 }
9533 if (obj5) {
9534 ecode6 = SWIG_AsVal_long(obj5, &val6);
9535 if (!SWIG_IsOK(ecode6)) {
9536 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9537 }
9538 arg6 = static_cast< long >(val6);
9539 }
9540 if (obj6) {
9541 {
9542 arg7 = wxString_in_helper(obj6);
9543 if (arg7 == NULL) SWIG_fail;
9544 temp7 = true;
9545 }
9546 }
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 {
9554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9555 }
9556 {
9557 if (temp7)
9558 delete arg7;
9559 }
9560 return resultobj;
9561 fail:
9562 {
9563 if (temp7)
9564 delete arg7;
9565 }
9566 return NULL;
9567 }
9568
9569
9570 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9571 PyObject *resultobj = 0;
9572 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9573 wxWindow *result = 0 ;
9574 void *argp1 = 0 ;
9575 int res1 = 0 ;
9576 PyObject *swig_obj[1] ;
9577
9578 if (!args) SWIG_fail;
9579 swig_obj[0] = args;
9580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9581 if (!SWIG_IsOK(res1)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9583 }
9584 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9585 {
9586 PyThreadState* __tstate = wxPyBeginAllowThreads();
9587 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 }
9591 {
9592 resultobj = wxPyMake_wxObject(result, 0);
9593 }
9594 return resultobj;
9595 fail:
9596 return NULL;
9597 }
9598
9599
9600 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9601 PyObject *resultobj = 0;
9602 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9603 wxWindow *result = 0 ;
9604 void *argp1 = 0 ;
9605 int res1 = 0 ;
9606 PyObject *swig_obj[1] ;
9607
9608 if (!args) SWIG_fail;
9609 swig_obj[0] = args;
9610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9611 if (!SWIG_IsOK(res1)) {
9612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9613 }
9614 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9615 {
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9618 wxPyEndAllowThreads(__tstate);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
9621 {
9622 resultobj = wxPyMake_wxObject(result, 0);
9623 }
9624 return resultobj;
9625 fail:
9626 return NULL;
9627 }
9628
9629
9630 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj = 0;
9632 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9633 int arg2 ;
9634 void *argp1 = 0 ;
9635 int res1 = 0 ;
9636 int val2 ;
9637 int ecode2 = 0 ;
9638 PyObject * obj0 = 0 ;
9639 PyObject * obj1 = 0 ;
9640 char * kwnames[] = {
9641 (char *) "self",(char *) "mode", NULL
9642 };
9643
9644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9646 if (!SWIG_IsOK(res1)) {
9647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9648 }
9649 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9650 ecode2 = SWIG_AsVal_int(obj1, &val2);
9651 if (!SWIG_IsOK(ecode2)) {
9652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9653 }
9654 arg2 = static_cast< int >(val2);
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 (arg1)->SetSplitMode(arg2);
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 resultobj = SWIG_Py_Void();
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9669 PyObject *resultobj = 0;
9670 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9671 wxSplitMode result;
9672 void *argp1 = 0 ;
9673 int res1 = 0 ;
9674 PyObject *swig_obj[1] ;
9675
9676 if (!args) SWIG_fail;
9677 swig_obj[0] = args;
9678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9679 if (!SWIG_IsOK(res1)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9681 }
9682 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
9689 resultobj = SWIG_From_int(static_cast< int >(result));
9690 return resultobj;
9691 fail:
9692 return NULL;
9693 }
9694
9695
9696 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9697 PyObject *resultobj = 0;
9698 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9699 wxWindow *arg2 = (wxWindow *) 0 ;
9700 void *argp1 = 0 ;
9701 int res1 = 0 ;
9702 void *argp2 = 0 ;
9703 int res2 = 0 ;
9704 PyObject * obj0 = 0 ;
9705 PyObject * obj1 = 0 ;
9706 char * kwnames[] = {
9707 (char *) "self",(char *) "window", NULL
9708 };
9709
9710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9712 if (!SWIG_IsOK(res1)) {
9713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9714 }
9715 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9716 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9717 if (!SWIG_IsOK(res2)) {
9718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9719 }
9720 arg2 = reinterpret_cast< wxWindow * >(argp2);
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 (arg1)->Initialize(arg2);
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 resultobj = SWIG_Py_Void();
9728 return resultobj;
9729 fail:
9730 return NULL;
9731 }
9732
9733
9734 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj = 0;
9736 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9737 wxWindow *arg2 = (wxWindow *) 0 ;
9738 wxWindow *arg3 = (wxWindow *) 0 ;
9739 int arg4 = (int) 0 ;
9740 bool result;
9741 void *argp1 = 0 ;
9742 int res1 = 0 ;
9743 void *argp2 = 0 ;
9744 int res2 = 0 ;
9745 void *argp3 = 0 ;
9746 int res3 = 0 ;
9747 int val4 ;
9748 int ecode4 = 0 ;
9749 PyObject * obj0 = 0 ;
9750 PyObject * obj1 = 0 ;
9751 PyObject * obj2 = 0 ;
9752 PyObject * obj3 = 0 ;
9753 char * kwnames[] = {
9754 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9755 };
9756
9757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9759 if (!SWIG_IsOK(res1)) {
9760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9761 }
9762 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9763 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9764 if (!SWIG_IsOK(res2)) {
9765 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9766 }
9767 arg2 = reinterpret_cast< wxWindow * >(argp2);
9768 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9769 if (!SWIG_IsOK(res3)) {
9770 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9771 }
9772 arg3 = reinterpret_cast< wxWindow * >(argp3);
9773 if (obj3) {
9774 ecode4 = SWIG_AsVal_int(obj3, &val4);
9775 if (!SWIG_IsOK(ecode4)) {
9776 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9777 }
9778 arg4 = static_cast< int >(val4);
9779 }
9780 {
9781 PyThreadState* __tstate = wxPyBeginAllowThreads();
9782 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) SWIG_fail;
9785 }
9786 {
9787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9788 }
9789 return resultobj;
9790 fail:
9791 return NULL;
9792 }
9793
9794
9795 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9796 PyObject *resultobj = 0;
9797 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9798 wxWindow *arg2 = (wxWindow *) 0 ;
9799 wxWindow *arg3 = (wxWindow *) 0 ;
9800 int arg4 = (int) 0 ;
9801 bool result;
9802 void *argp1 = 0 ;
9803 int res1 = 0 ;
9804 void *argp2 = 0 ;
9805 int res2 = 0 ;
9806 void *argp3 = 0 ;
9807 int res3 = 0 ;
9808 int val4 ;
9809 int ecode4 = 0 ;
9810 PyObject * obj0 = 0 ;
9811 PyObject * obj1 = 0 ;
9812 PyObject * obj2 = 0 ;
9813 PyObject * obj3 = 0 ;
9814 char * kwnames[] = {
9815 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9816 };
9817
9818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9820 if (!SWIG_IsOK(res1)) {
9821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9822 }
9823 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9824 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9825 if (!SWIG_IsOK(res2)) {
9826 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9827 }
9828 arg2 = reinterpret_cast< wxWindow * >(argp2);
9829 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9830 if (!SWIG_IsOK(res3)) {
9831 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9832 }
9833 arg3 = reinterpret_cast< wxWindow * >(argp3);
9834 if (obj3) {
9835 ecode4 = SWIG_AsVal_int(obj3, &val4);
9836 if (!SWIG_IsOK(ecode4)) {
9837 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9838 }
9839 arg4 = static_cast< int >(val4);
9840 }
9841 {
9842 PyThreadState* __tstate = wxPyBeginAllowThreads();
9843 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9844 wxPyEndAllowThreads(__tstate);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
9847 {
9848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9849 }
9850 return resultobj;
9851 fail:
9852 return NULL;
9853 }
9854
9855
9856 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9857 PyObject *resultobj = 0;
9858 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9859 wxWindow *arg2 = (wxWindow *) NULL ;
9860 bool result;
9861 void *argp1 = 0 ;
9862 int res1 = 0 ;
9863 void *argp2 = 0 ;
9864 int res2 = 0 ;
9865 PyObject * obj0 = 0 ;
9866 PyObject * obj1 = 0 ;
9867 char * kwnames[] = {
9868 (char *) "self",(char *) "toRemove", NULL
9869 };
9870
9871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9873 if (!SWIG_IsOK(res1)) {
9874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9875 }
9876 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9877 if (obj1) {
9878 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9879 if (!SWIG_IsOK(res2)) {
9880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9881 }
9882 arg2 = reinterpret_cast< wxWindow * >(argp2);
9883 }
9884 {
9885 PyThreadState* __tstate = wxPyBeginAllowThreads();
9886 result = (bool)(arg1)->Unsplit(arg2);
9887 wxPyEndAllowThreads(__tstate);
9888 if (PyErr_Occurred()) SWIG_fail;
9889 }
9890 {
9891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9892 }
9893 return resultobj;
9894 fail:
9895 return NULL;
9896 }
9897
9898
9899 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9900 PyObject *resultobj = 0;
9901 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9902 wxWindow *arg2 = (wxWindow *) 0 ;
9903 wxWindow *arg3 = (wxWindow *) 0 ;
9904 bool result;
9905 void *argp1 = 0 ;
9906 int res1 = 0 ;
9907 void *argp2 = 0 ;
9908 int res2 = 0 ;
9909 void *argp3 = 0 ;
9910 int res3 = 0 ;
9911 PyObject * obj0 = 0 ;
9912 PyObject * obj1 = 0 ;
9913 PyObject * obj2 = 0 ;
9914 char * kwnames[] = {
9915 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9916 };
9917
9918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9920 if (!SWIG_IsOK(res1)) {
9921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9922 }
9923 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9924 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9925 if (!SWIG_IsOK(res2)) {
9926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9927 }
9928 arg2 = reinterpret_cast< wxWindow * >(argp2);
9929 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9930 if (!SWIG_IsOK(res3)) {
9931 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9932 }
9933 arg3 = reinterpret_cast< wxWindow * >(argp3);
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9937 wxPyEndAllowThreads(__tstate);
9938 if (PyErr_Occurred()) SWIG_fail;
9939 }
9940 {
9941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9942 }
9943 return resultobj;
9944 fail:
9945 return NULL;
9946 }
9947
9948
9949 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9950 PyObject *resultobj = 0;
9951 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9952 void *argp1 = 0 ;
9953 int res1 = 0 ;
9954 PyObject *swig_obj[1] ;
9955
9956 if (!args) SWIG_fail;
9957 swig_obj[0] = args;
9958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9959 if (!SWIG_IsOK(res1)) {
9960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9961 }
9962 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 (arg1)->UpdateSize();
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 }
9969 resultobj = SWIG_Py_Void();
9970 return resultobj;
9971 fail:
9972 return NULL;
9973 }
9974
9975
9976 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9977 PyObject *resultobj = 0;
9978 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9979 bool result;
9980 void *argp1 = 0 ;
9981 int res1 = 0 ;
9982 PyObject *swig_obj[1] ;
9983
9984 if (!args) SWIG_fail;
9985 swig_obj[0] = args;
9986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9987 if (!SWIG_IsOK(res1)) {
9988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9989 }
9990 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 {
9998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9999 }
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj = 0;
10008 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10009 int arg2 ;
10010 void *argp1 = 0 ;
10011 int res1 = 0 ;
10012 int val2 ;
10013 int ecode2 = 0 ;
10014 PyObject * obj0 = 0 ;
10015 PyObject * obj1 = 0 ;
10016 char * kwnames[] = {
10017 (char *) "self",(char *) "width", NULL
10018 };
10019
10020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10022 if (!SWIG_IsOK(res1)) {
10023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10024 }
10025 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10026 ecode2 = SWIG_AsVal_int(obj1, &val2);
10027 if (!SWIG_IsOK(ecode2)) {
10028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10029 }
10030 arg2 = static_cast< int >(val2);
10031 {
10032 PyThreadState* __tstate = wxPyBeginAllowThreads();
10033 (arg1)->SetSashSize(arg2);
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 resultobj = SWIG_Py_Void();
10038 return resultobj;
10039 fail:
10040 return NULL;
10041 }
10042
10043
10044 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10045 PyObject *resultobj = 0;
10046 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10047 int arg2 ;
10048 void *argp1 = 0 ;
10049 int res1 = 0 ;
10050 int val2 ;
10051 int ecode2 = 0 ;
10052 PyObject * obj0 = 0 ;
10053 PyObject * obj1 = 0 ;
10054 char * kwnames[] = {
10055 (char *) "self",(char *) "width", NULL
10056 };
10057
10058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10060 if (!SWIG_IsOK(res1)) {
10061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10062 }
10063 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10064 ecode2 = SWIG_AsVal_int(obj1, &val2);
10065 if (!SWIG_IsOK(ecode2)) {
10066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10067 }
10068 arg2 = static_cast< int >(val2);
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 (arg1)->SetBorderSize(arg2);
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 resultobj = SWIG_Py_Void();
10076 return resultobj;
10077 fail:
10078 return NULL;
10079 }
10080
10081
10082 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10083 PyObject *resultobj = 0;
10084 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10085 int result;
10086 void *argp1 = 0 ;
10087 int res1 = 0 ;
10088 PyObject *swig_obj[1] ;
10089
10090 if (!args) SWIG_fail;
10091 swig_obj[0] = args;
10092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10093 if (!SWIG_IsOK(res1)) {
10094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10095 }
10096 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 resultobj = SWIG_From_int(static_cast< int >(result));
10104 return resultobj;
10105 fail:
10106 return NULL;
10107 }
10108
10109
10110 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10111 PyObject *resultobj = 0;
10112 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10113 int result;
10114 void *argp1 = 0 ;
10115 int res1 = 0 ;
10116 PyObject *swig_obj[1] ;
10117
10118 if (!args) SWIG_fail;
10119 swig_obj[0] = args;
10120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10121 if (!SWIG_IsOK(res1)) {
10122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10123 }
10124 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10125 {
10126 PyThreadState* __tstate = wxPyBeginAllowThreads();
10127 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 resultobj = SWIG_From_int(static_cast< int >(result));
10132 return resultobj;
10133 fail:
10134 return NULL;
10135 }
10136
10137
10138 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj = 0;
10140 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10141 int arg2 ;
10142 bool arg3 = (bool) true ;
10143 void *argp1 = 0 ;
10144 int res1 = 0 ;
10145 int val2 ;
10146 int ecode2 = 0 ;
10147 bool val3 ;
10148 int ecode3 = 0 ;
10149 PyObject * obj0 = 0 ;
10150 PyObject * obj1 = 0 ;
10151 PyObject * obj2 = 0 ;
10152 char * kwnames[] = {
10153 (char *) "self",(char *) "position",(char *) "redraw", NULL
10154 };
10155
10156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10158 if (!SWIG_IsOK(res1)) {
10159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10160 }
10161 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10162 ecode2 = SWIG_AsVal_int(obj1, &val2);
10163 if (!SWIG_IsOK(ecode2)) {
10164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10165 }
10166 arg2 = static_cast< int >(val2);
10167 if (obj2) {
10168 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10169 if (!SWIG_IsOK(ecode3)) {
10170 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10171 }
10172 arg3 = static_cast< bool >(val3);
10173 }
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 (arg1)->SetSashPosition(arg2,arg3);
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 resultobj = SWIG_Py_Void();
10181 return resultobj;
10182 fail:
10183 return NULL;
10184 }
10185
10186
10187 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10188 PyObject *resultobj = 0;
10189 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10190 int result;
10191 void *argp1 = 0 ;
10192 int res1 = 0 ;
10193 PyObject *swig_obj[1] ;
10194
10195 if (!args) SWIG_fail;
10196 swig_obj[0] = args;
10197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10198 if (!SWIG_IsOK(res1)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10200 }
10201 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 resultobj = SWIG_From_int(static_cast< int >(result));
10209 return resultobj;
10210 fail:
10211 return NULL;
10212 }
10213
10214
10215 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10216 PyObject *resultobj = 0;
10217 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10218 double arg2 ;
10219 void *argp1 = 0 ;
10220 int res1 = 0 ;
10221 double val2 ;
10222 int ecode2 = 0 ;
10223 PyObject * obj0 = 0 ;
10224 PyObject * obj1 = 0 ;
10225 char * kwnames[] = {
10226 (char *) "self",(char *) "gravity", NULL
10227 };
10228
10229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10231 if (!SWIG_IsOK(res1)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10233 }
10234 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10235 ecode2 = SWIG_AsVal_double(obj1, &val2);
10236 if (!SWIG_IsOK(ecode2)) {
10237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10238 }
10239 arg2 = static_cast< double >(val2);
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 (arg1)->SetSashGravity(arg2);
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 resultobj = SWIG_Py_Void();
10247 return resultobj;
10248 fail:
10249 return NULL;
10250 }
10251
10252
10253 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10254 PyObject *resultobj = 0;
10255 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10256 double result;
10257 void *argp1 = 0 ;
10258 int res1 = 0 ;
10259 PyObject *swig_obj[1] ;
10260
10261 if (!args) SWIG_fail;
10262 swig_obj[0] = args;
10263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10264 if (!SWIG_IsOK(res1)) {
10265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10266 }
10267 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10268 {
10269 PyThreadState* __tstate = wxPyBeginAllowThreads();
10270 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10271 wxPyEndAllowThreads(__tstate);
10272 if (PyErr_Occurred()) SWIG_fail;
10273 }
10274 resultobj = SWIG_From_double(static_cast< double >(result));
10275 return resultobj;
10276 fail:
10277 return NULL;
10278 }
10279
10280
10281 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10282 PyObject *resultobj = 0;
10283 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10284 int arg2 ;
10285 void *argp1 = 0 ;
10286 int res1 = 0 ;
10287 int val2 ;
10288 int ecode2 = 0 ;
10289 PyObject * obj0 = 0 ;
10290 PyObject * obj1 = 0 ;
10291 char * kwnames[] = {
10292 (char *) "self",(char *) "min", NULL
10293 };
10294
10295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10297 if (!SWIG_IsOK(res1)) {
10298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10299 }
10300 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10301 ecode2 = SWIG_AsVal_int(obj1, &val2);
10302 if (!SWIG_IsOK(ecode2)) {
10303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10304 }
10305 arg2 = static_cast< int >(val2);
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 (arg1)->SetMinimumPaneSize(arg2);
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) SWIG_fail;
10311 }
10312 resultobj = SWIG_Py_Void();
10313 return resultobj;
10314 fail:
10315 return NULL;
10316 }
10317
10318
10319 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10320 PyObject *resultobj = 0;
10321 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10322 int result;
10323 void *argp1 = 0 ;
10324 int res1 = 0 ;
10325 PyObject *swig_obj[1] ;
10326
10327 if (!args) SWIG_fail;
10328 swig_obj[0] = args;
10329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10330 if (!SWIG_IsOK(res1)) {
10331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10332 }
10333 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 resultobj = SWIG_From_int(static_cast< int >(result));
10341 return resultobj;
10342 fail:
10343 return NULL;
10344 }
10345
10346
10347 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10348 PyObject *resultobj = 0;
10349 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10350 int arg2 ;
10351 int arg3 ;
10352 int arg4 = (int) 5 ;
10353 bool result;
10354 void *argp1 = 0 ;
10355 int res1 = 0 ;
10356 int val2 ;
10357 int ecode2 = 0 ;
10358 int val3 ;
10359 int ecode3 = 0 ;
10360 int val4 ;
10361 int ecode4 = 0 ;
10362 PyObject * obj0 = 0 ;
10363 PyObject * obj1 = 0 ;
10364 PyObject * obj2 = 0 ;
10365 PyObject * obj3 = 0 ;
10366 char * kwnames[] = {
10367 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10368 };
10369
10370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10372 if (!SWIG_IsOK(res1)) {
10373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10374 }
10375 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10376 ecode2 = SWIG_AsVal_int(obj1, &val2);
10377 if (!SWIG_IsOK(ecode2)) {
10378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10379 }
10380 arg2 = static_cast< int >(val2);
10381 ecode3 = SWIG_AsVal_int(obj2, &val3);
10382 if (!SWIG_IsOK(ecode3)) {
10383 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10384 }
10385 arg3 = static_cast< int >(val3);
10386 if (obj3) {
10387 ecode4 = SWIG_AsVal_int(obj3, &val4);
10388 if (!SWIG_IsOK(ecode4)) {
10389 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10390 }
10391 arg4 = static_cast< int >(val4);
10392 }
10393 {
10394 PyThreadState* __tstate = wxPyBeginAllowThreads();
10395 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10396 wxPyEndAllowThreads(__tstate);
10397 if (PyErr_Occurred()) SWIG_fail;
10398 }
10399 {
10400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10401 }
10402 return resultobj;
10403 fail:
10404 return NULL;
10405 }
10406
10407
10408 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10409 PyObject *resultobj = 0;
10410 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10411 void *argp1 = 0 ;
10412 int res1 = 0 ;
10413 PyObject *swig_obj[1] ;
10414
10415 if (!args) SWIG_fail;
10416 swig_obj[0] = args;
10417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10418 if (!SWIG_IsOK(res1)) {
10419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10420 }
10421 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10422 {
10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
10424 (arg1)->SizeWindows();
10425 wxPyEndAllowThreads(__tstate);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 resultobj = SWIG_Py_Void();
10429 return resultobj;
10430 fail:
10431 return NULL;
10432 }
10433
10434
10435 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10436 PyObject *resultobj = 0;
10437 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10438 bool arg2 ;
10439 void *argp1 = 0 ;
10440 int res1 = 0 ;
10441 bool val2 ;
10442 int ecode2 = 0 ;
10443 PyObject * obj0 = 0 ;
10444 PyObject * obj1 = 0 ;
10445 char * kwnames[] = {
10446 (char *) "self",(char *) "needUpdating", NULL
10447 };
10448
10449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10451 if (!SWIG_IsOK(res1)) {
10452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10453 }
10454 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10455 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10456 if (!SWIG_IsOK(ecode2)) {
10457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10458 }
10459 arg2 = static_cast< bool >(val2);
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 (arg1)->SetNeedUpdating(arg2);
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 resultobj = SWIG_Py_Void();
10467 return resultobj;
10468 fail:
10469 return NULL;
10470 }
10471
10472
10473 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10474 PyObject *resultobj = 0;
10475 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10476 bool result;
10477 void *argp1 = 0 ;
10478 int res1 = 0 ;
10479 PyObject *swig_obj[1] ;
10480
10481 if (!args) SWIG_fail;
10482 swig_obj[0] = args;
10483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10484 if (!SWIG_IsOK(res1)) {
10485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10486 }
10487 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10488 {
10489 PyThreadState* __tstate = wxPyBeginAllowThreads();
10490 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10491 wxPyEndAllowThreads(__tstate);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
10494 {
10495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10496 }
10497 return resultobj;
10498 fail:
10499 return NULL;
10500 }
10501
10502
10503 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10504 PyObject *resultobj = 0;
10505 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10506 SwigValueWrapper<wxVisualAttributes > result;
10507 int val1 ;
10508 int ecode1 = 0 ;
10509 PyObject * obj0 = 0 ;
10510 char * kwnames[] = {
10511 (char *) "variant", NULL
10512 };
10513
10514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10515 if (obj0) {
10516 ecode1 = SWIG_AsVal_int(obj0, &val1);
10517 if (!SWIG_IsOK(ecode1)) {
10518 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10519 }
10520 arg1 = static_cast< wxWindowVariant >(val1);
10521 }
10522 {
10523 if (!wxPyCheckForApp()) SWIG_fail;
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10530 return resultobj;
10531 fail:
10532 return NULL;
10533 }
10534
10535
10536 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10537 PyObject *obj;
10538 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10539 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10540 return SWIG_Py_Void();
10541 }
10542
10543 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10544 return SWIG_Python_InitShadowInstance(args);
10545 }
10546
10547 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10548 PyObject *resultobj = 0;
10549 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10550 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10551 wxSplitterEvent *result = 0 ;
10552 int val1 ;
10553 int ecode1 = 0 ;
10554 void *argp2 = 0 ;
10555 int res2 = 0 ;
10556 PyObject * obj0 = 0 ;
10557 PyObject * obj1 = 0 ;
10558 char * kwnames[] = {
10559 (char *) "type",(char *) "splitter", NULL
10560 };
10561
10562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10563 if (obj0) {
10564 ecode1 = SWIG_AsVal_int(obj0, &val1);
10565 if (!SWIG_IsOK(ecode1)) {
10566 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10567 }
10568 arg1 = static_cast< wxEventType >(val1);
10569 }
10570 if (obj1) {
10571 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10572 if (!SWIG_IsOK(res2)) {
10573 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10574 }
10575 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10576 }
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10584 return resultobj;
10585 fail:
10586 return NULL;
10587 }
10588
10589
10590 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj = 0;
10592 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10593 int arg2 ;
10594 void *argp1 = 0 ;
10595 int res1 = 0 ;
10596 int val2 ;
10597 int ecode2 = 0 ;
10598 PyObject * obj0 = 0 ;
10599 PyObject * obj1 = 0 ;
10600 char * kwnames[] = {
10601 (char *) "self",(char *) "pos", NULL
10602 };
10603
10604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10606 if (!SWIG_IsOK(res1)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10608 }
10609 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10610 ecode2 = SWIG_AsVal_int(obj1, &val2);
10611 if (!SWIG_IsOK(ecode2)) {
10612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10613 }
10614 arg2 = static_cast< int >(val2);
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 (arg1)->SetSashPosition(arg2);
10618 wxPyEndAllowThreads(__tstate);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 resultobj = SWIG_Py_Void();
10622 return resultobj;
10623 fail:
10624 return NULL;
10625 }
10626
10627
10628 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10629 PyObject *resultobj = 0;
10630 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10631 int result;
10632 void *argp1 = 0 ;
10633 int res1 = 0 ;
10634 PyObject *swig_obj[1] ;
10635
10636 if (!args) SWIG_fail;
10637 swig_obj[0] = args;
10638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10639 if (!SWIG_IsOK(res1)) {
10640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10641 }
10642 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 resultobj = SWIG_From_int(static_cast< int >(result));
10650 return resultobj;
10651 fail:
10652 return NULL;
10653 }
10654
10655
10656 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10657 PyObject *resultobj = 0;
10658 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10659 wxWindow *result = 0 ;
10660 void *argp1 = 0 ;
10661 int res1 = 0 ;
10662 PyObject *swig_obj[1] ;
10663
10664 if (!args) SWIG_fail;
10665 swig_obj[0] = args;
10666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10667 if (!SWIG_IsOK(res1)) {
10668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10669 }
10670 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10671 {
10672 PyThreadState* __tstate = wxPyBeginAllowThreads();
10673 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 {
10678 resultobj = wxPyMake_wxObject(result, 0);
10679 }
10680 return resultobj;
10681 fail:
10682 return NULL;
10683 }
10684
10685
10686 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10687 PyObject *resultobj = 0;
10688 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10689 int result;
10690 void *argp1 = 0 ;
10691 int res1 = 0 ;
10692 PyObject *swig_obj[1] ;
10693
10694 if (!args) SWIG_fail;
10695 swig_obj[0] = args;
10696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10697 if (!SWIG_IsOK(res1)) {
10698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10699 }
10700 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10704 wxPyEndAllowThreads(__tstate);
10705 if (PyErr_Occurred()) SWIG_fail;
10706 }
10707 resultobj = SWIG_From_int(static_cast< int >(result));
10708 return resultobj;
10709 fail:
10710 return NULL;
10711 }
10712
10713
10714 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10715 PyObject *resultobj = 0;
10716 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10717 int result;
10718 void *argp1 = 0 ;
10719 int res1 = 0 ;
10720 PyObject *swig_obj[1] ;
10721
10722 if (!args) SWIG_fail;
10723 swig_obj[0] = args;
10724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10725 if (!SWIG_IsOK(res1)) {
10726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10727 }
10728 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10729 {
10730 PyThreadState* __tstate = wxPyBeginAllowThreads();
10731 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10732 wxPyEndAllowThreads(__tstate);
10733 if (PyErr_Occurred()) SWIG_fail;
10734 }
10735 resultobj = SWIG_From_int(static_cast< int >(result));
10736 return resultobj;
10737 fail:
10738 return NULL;
10739 }
10740
10741
10742 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10743 PyObject *obj;
10744 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10745 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10746 return SWIG_Py_Void();
10747 }
10748
10749 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10750 return SWIG_Python_InitShadowInstance(args);
10751 }
10752
10753 SWIGINTERN int SashNameStr_set(PyObject *) {
10754 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10755 return 1;
10756 }
10757
10758
10759 SWIGINTERN PyObject *SashNameStr_get(void) {
10760 PyObject *pyobj = 0;
10761
10762 {
10763 #if wxUSE_UNICODE
10764 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10765 #else
10766 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10767 #endif
10768 }
10769 return pyobj;
10770 }
10771
10772
10773 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10774 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10775 return 1;
10776 }
10777
10778
10779 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10780 PyObject *pyobj = 0;
10781
10782 {
10783 #if wxUSE_UNICODE
10784 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10785 #else
10786 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10787 #endif
10788 }
10789 return pyobj;
10790 }
10791
10792
10793 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10794 PyObject *resultobj = 0;
10795 wxWindow *arg1 = (wxWindow *) 0 ;
10796 int arg2 = (int) -1 ;
10797 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10798 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10799 wxSize const &arg4_defvalue = wxDefaultSize ;
10800 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10801 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10802 wxString const &arg6_defvalue = wxPySashNameStr ;
10803 wxString *arg6 = (wxString *) &arg6_defvalue ;
10804 wxSashWindow *result = 0 ;
10805 void *argp1 = 0 ;
10806 int res1 = 0 ;
10807 int val2 ;
10808 int ecode2 = 0 ;
10809 wxPoint temp3 ;
10810 wxSize temp4 ;
10811 long val5 ;
10812 int ecode5 = 0 ;
10813 bool temp6 = false ;
10814 PyObject * obj0 = 0 ;
10815 PyObject * obj1 = 0 ;
10816 PyObject * obj2 = 0 ;
10817 PyObject * obj3 = 0 ;
10818 PyObject * obj4 = 0 ;
10819 PyObject * obj5 = 0 ;
10820 char * kwnames[] = {
10821 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10822 };
10823
10824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10826 if (!SWIG_IsOK(res1)) {
10827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10828 }
10829 arg1 = reinterpret_cast< wxWindow * >(argp1);
10830 if (obj1) {
10831 ecode2 = SWIG_AsVal_int(obj1, &val2);
10832 if (!SWIG_IsOK(ecode2)) {
10833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10834 }
10835 arg2 = static_cast< int >(val2);
10836 }
10837 if (obj2) {
10838 {
10839 arg3 = &temp3;
10840 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10841 }
10842 }
10843 if (obj3) {
10844 {
10845 arg4 = &temp4;
10846 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10847 }
10848 }
10849 if (obj4) {
10850 ecode5 = SWIG_AsVal_long(obj4, &val5);
10851 if (!SWIG_IsOK(ecode5)) {
10852 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10853 }
10854 arg5 = static_cast< long >(val5);
10855 }
10856 if (obj5) {
10857 {
10858 arg6 = wxString_in_helper(obj5);
10859 if (arg6 == NULL) SWIG_fail;
10860 temp6 = true;
10861 }
10862 }
10863 {
10864 if (!wxPyCheckForApp()) SWIG_fail;
10865 PyThreadState* __tstate = wxPyBeginAllowThreads();
10866 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10871 {
10872 if (temp6)
10873 delete arg6;
10874 }
10875 return resultobj;
10876 fail:
10877 {
10878 if (temp6)
10879 delete arg6;
10880 }
10881 return NULL;
10882 }
10883
10884
10885 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10886 PyObject *resultobj = 0;
10887 wxSashWindow *result = 0 ;
10888
10889 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10890 {
10891 if (!wxPyCheckForApp()) SWIG_fail;
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 result = (wxSashWindow *)new wxSashWindow();
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10898 return resultobj;
10899 fail:
10900 return NULL;
10901 }
10902
10903
10904 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10905 PyObject *resultobj = 0;
10906 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10907 wxWindow *arg2 = (wxWindow *) 0 ;
10908 int arg3 = (int) -1 ;
10909 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10910 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10911 wxSize const &arg5_defvalue = wxDefaultSize ;
10912 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10913 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10914 wxString const &arg7_defvalue = wxPySashNameStr ;
10915 wxString *arg7 = (wxString *) &arg7_defvalue ;
10916 bool result;
10917 void *argp1 = 0 ;
10918 int res1 = 0 ;
10919 void *argp2 = 0 ;
10920 int res2 = 0 ;
10921 int val3 ;
10922 int ecode3 = 0 ;
10923 wxPoint temp4 ;
10924 wxSize temp5 ;
10925 long val6 ;
10926 int ecode6 = 0 ;
10927 bool temp7 = false ;
10928 PyObject * obj0 = 0 ;
10929 PyObject * obj1 = 0 ;
10930 PyObject * obj2 = 0 ;
10931 PyObject * obj3 = 0 ;
10932 PyObject * obj4 = 0 ;
10933 PyObject * obj5 = 0 ;
10934 PyObject * obj6 = 0 ;
10935 char * kwnames[] = {
10936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10937 };
10938
10939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10941 if (!SWIG_IsOK(res1)) {
10942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10943 }
10944 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10945 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10946 if (!SWIG_IsOK(res2)) {
10947 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10948 }
10949 arg2 = reinterpret_cast< wxWindow * >(argp2);
10950 if (obj2) {
10951 ecode3 = SWIG_AsVal_int(obj2, &val3);
10952 if (!SWIG_IsOK(ecode3)) {
10953 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10954 }
10955 arg3 = static_cast< int >(val3);
10956 }
10957 if (obj3) {
10958 {
10959 arg4 = &temp4;
10960 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10961 }
10962 }
10963 if (obj4) {
10964 {
10965 arg5 = &temp5;
10966 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10967 }
10968 }
10969 if (obj5) {
10970 ecode6 = SWIG_AsVal_long(obj5, &val6);
10971 if (!SWIG_IsOK(ecode6)) {
10972 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10973 }
10974 arg6 = static_cast< long >(val6);
10975 }
10976 if (obj6) {
10977 {
10978 arg7 = wxString_in_helper(obj6);
10979 if (arg7 == NULL) SWIG_fail;
10980 temp7 = true;
10981 }
10982 }
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10986 wxPyEndAllowThreads(__tstate);
10987 if (PyErr_Occurred()) SWIG_fail;
10988 }
10989 {
10990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10991 }
10992 {
10993 if (temp7)
10994 delete arg7;
10995 }
10996 return resultobj;
10997 fail:
10998 {
10999 if (temp7)
11000 delete arg7;
11001 }
11002 return NULL;
11003 }
11004
11005
11006 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11007 PyObject *resultobj = 0;
11008 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11009 wxSashEdgePosition arg2 ;
11010 bool arg3 ;
11011 void *argp1 = 0 ;
11012 int res1 = 0 ;
11013 int val2 ;
11014 int ecode2 = 0 ;
11015 bool val3 ;
11016 int ecode3 = 0 ;
11017 PyObject * obj0 = 0 ;
11018 PyObject * obj1 = 0 ;
11019 PyObject * obj2 = 0 ;
11020 char * kwnames[] = {
11021 (char *) "self",(char *) "edge",(char *) "sash", NULL
11022 };
11023
11024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11026 if (!SWIG_IsOK(res1)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11028 }
11029 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11030 ecode2 = SWIG_AsVal_int(obj1, &val2);
11031 if (!SWIG_IsOK(ecode2)) {
11032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11033 }
11034 arg2 = static_cast< wxSashEdgePosition >(val2);
11035 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11036 if (!SWIG_IsOK(ecode3)) {
11037 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11038 }
11039 arg3 = static_cast< bool >(val3);
11040 {
11041 PyThreadState* __tstate = wxPyBeginAllowThreads();
11042 (arg1)->SetSashVisible(arg2,arg3);
11043 wxPyEndAllowThreads(__tstate);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 }
11046 resultobj = SWIG_Py_Void();
11047 return resultobj;
11048 fail:
11049 return NULL;
11050 }
11051
11052
11053 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11054 PyObject *resultobj = 0;
11055 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11056 wxSashEdgePosition arg2 ;
11057 bool result;
11058 void *argp1 = 0 ;
11059 int res1 = 0 ;
11060 int val2 ;
11061 int ecode2 = 0 ;
11062 PyObject * obj0 = 0 ;
11063 PyObject * obj1 = 0 ;
11064 char * kwnames[] = {
11065 (char *) "self",(char *) "edge", NULL
11066 };
11067
11068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11070 if (!SWIG_IsOK(res1)) {
11071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11072 }
11073 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11074 ecode2 = SWIG_AsVal_int(obj1, &val2);
11075 if (!SWIG_IsOK(ecode2)) {
11076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11077 }
11078 arg2 = static_cast< wxSashEdgePosition >(val2);
11079 {
11080 PyThreadState* __tstate = wxPyBeginAllowThreads();
11081 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11082 wxPyEndAllowThreads(__tstate);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 {
11086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11087 }
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj = 0;
11096 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11097 wxSashEdgePosition arg2 ;
11098 bool arg3 ;
11099 void *argp1 = 0 ;
11100 int res1 = 0 ;
11101 int val2 ;
11102 int ecode2 = 0 ;
11103 bool val3 ;
11104 int ecode3 = 0 ;
11105 PyObject * obj0 = 0 ;
11106 PyObject * obj1 = 0 ;
11107 PyObject * obj2 = 0 ;
11108 char * kwnames[] = {
11109 (char *) "self",(char *) "edge",(char *) "border", NULL
11110 };
11111
11112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11114 if (!SWIG_IsOK(res1)) {
11115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11116 }
11117 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11118 ecode2 = SWIG_AsVal_int(obj1, &val2);
11119 if (!SWIG_IsOK(ecode2)) {
11120 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11121 }
11122 arg2 = static_cast< wxSashEdgePosition >(val2);
11123 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11124 if (!SWIG_IsOK(ecode3)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11126 }
11127 arg3 = static_cast< bool >(val3);
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 (arg1)->SetSashBorder(arg2,arg3);
11131 wxPyEndAllowThreads(__tstate);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 resultobj = SWIG_Py_Void();
11135 return resultobj;
11136 fail:
11137 return NULL;
11138 }
11139
11140
11141 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11142 PyObject *resultobj = 0;
11143 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11144 wxSashEdgePosition arg2 ;
11145 bool result;
11146 void *argp1 = 0 ;
11147 int res1 = 0 ;
11148 int val2 ;
11149 int ecode2 = 0 ;
11150 PyObject * obj0 = 0 ;
11151 PyObject * obj1 = 0 ;
11152 char * kwnames[] = {
11153 (char *) "self",(char *) "edge", NULL
11154 };
11155
11156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11158 if (!SWIG_IsOK(res1)) {
11159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11160 }
11161 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11162 ecode2 = SWIG_AsVal_int(obj1, &val2);
11163 if (!SWIG_IsOK(ecode2)) {
11164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11165 }
11166 arg2 = static_cast< wxSashEdgePosition >(val2);
11167 {
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 }
11173 {
11174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11175 }
11176 return resultobj;
11177 fail:
11178 return NULL;
11179 }
11180
11181
11182 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj = 0;
11184 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11185 wxSashEdgePosition arg2 ;
11186 int result;
11187 void *argp1 = 0 ;
11188 int res1 = 0 ;
11189 int val2 ;
11190 int ecode2 = 0 ;
11191 PyObject * obj0 = 0 ;
11192 PyObject * obj1 = 0 ;
11193 char * kwnames[] = {
11194 (char *) "self",(char *) "edge", NULL
11195 };
11196
11197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11199 if (!SWIG_IsOK(res1)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11201 }
11202 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11203 ecode2 = SWIG_AsVal_int(obj1, &val2);
11204 if (!SWIG_IsOK(ecode2)) {
11205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11206 }
11207 arg2 = static_cast< wxSashEdgePosition >(val2);
11208 {
11209 PyThreadState* __tstate = wxPyBeginAllowThreads();
11210 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11211 wxPyEndAllowThreads(__tstate);
11212 if (PyErr_Occurred()) SWIG_fail;
11213 }
11214 resultobj = SWIG_From_int(static_cast< int >(result));
11215 return resultobj;
11216 fail:
11217 return NULL;
11218 }
11219
11220
11221 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11222 PyObject *resultobj = 0;
11223 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11224 int arg2 ;
11225 void *argp1 = 0 ;
11226 int res1 = 0 ;
11227 int val2 ;
11228 int ecode2 = 0 ;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 char * kwnames[] = {
11232 (char *) "self",(char *) "width", NULL
11233 };
11234
11235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11237 if (!SWIG_IsOK(res1)) {
11238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11239 }
11240 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11241 ecode2 = SWIG_AsVal_int(obj1, &val2);
11242 if (!SWIG_IsOK(ecode2)) {
11243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11244 }
11245 arg2 = static_cast< int >(val2);
11246 {
11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
11248 (arg1)->SetDefaultBorderSize(arg2);
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 resultobj = SWIG_Py_Void();
11253 return resultobj;
11254 fail:
11255 return NULL;
11256 }
11257
11258
11259 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11260 PyObject *resultobj = 0;
11261 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11262 int result;
11263 void *argp1 = 0 ;
11264 int res1 = 0 ;
11265 PyObject *swig_obj[1] ;
11266
11267 if (!args) SWIG_fail;
11268 swig_obj[0] = args;
11269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11270 if (!SWIG_IsOK(res1)) {
11271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11272 }
11273 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11277 wxPyEndAllowThreads(__tstate);
11278 if (PyErr_Occurred()) SWIG_fail;
11279 }
11280 resultobj = SWIG_From_int(static_cast< int >(result));
11281 return resultobj;
11282 fail:
11283 return NULL;
11284 }
11285
11286
11287 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11288 PyObject *resultobj = 0;
11289 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11290 int arg2 ;
11291 void *argp1 = 0 ;
11292 int res1 = 0 ;
11293 int val2 ;
11294 int ecode2 = 0 ;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 char * kwnames[] = {
11298 (char *) "self",(char *) "width", NULL
11299 };
11300
11301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11303 if (!SWIG_IsOK(res1)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11305 }
11306 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11307 ecode2 = SWIG_AsVal_int(obj1, &val2);
11308 if (!SWIG_IsOK(ecode2)) {
11309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11310 }
11311 arg2 = static_cast< int >(val2);
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 (arg1)->SetExtraBorderSize(arg2);
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 resultobj = SWIG_Py_Void();
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11326 PyObject *resultobj = 0;
11327 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11328 int result;
11329 void *argp1 = 0 ;
11330 int res1 = 0 ;
11331 PyObject *swig_obj[1] ;
11332
11333 if (!args) SWIG_fail;
11334 swig_obj[0] = args;
11335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11336 if (!SWIG_IsOK(res1)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11338 }
11339 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 resultobj = SWIG_From_int(static_cast< int >(result));
11347 return resultobj;
11348 fail:
11349 return NULL;
11350 }
11351
11352
11353 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11354 PyObject *resultobj = 0;
11355 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11356 int arg2 ;
11357 void *argp1 = 0 ;
11358 int res1 = 0 ;
11359 int val2 ;
11360 int ecode2 = 0 ;
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 char * kwnames[] = {
11364 (char *) "self",(char *) "min", NULL
11365 };
11366
11367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11369 if (!SWIG_IsOK(res1)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11371 }
11372 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11373 ecode2 = SWIG_AsVal_int(obj1, &val2);
11374 if (!SWIG_IsOK(ecode2)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11376 }
11377 arg2 = static_cast< int >(val2);
11378 {
11379 PyThreadState* __tstate = wxPyBeginAllowThreads();
11380 (arg1)->SetMinimumSizeX(arg2);
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 resultobj = SWIG_Py_Void();
11385 return resultobj;
11386 fail:
11387 return NULL;
11388 }
11389
11390
11391 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11392 PyObject *resultobj = 0;
11393 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11394 int arg2 ;
11395 void *argp1 = 0 ;
11396 int res1 = 0 ;
11397 int val2 ;
11398 int ecode2 = 0 ;
11399 PyObject * obj0 = 0 ;
11400 PyObject * obj1 = 0 ;
11401 char * kwnames[] = {
11402 (char *) "self",(char *) "min", NULL
11403 };
11404
11405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11407 if (!SWIG_IsOK(res1)) {
11408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11409 }
11410 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11411 ecode2 = SWIG_AsVal_int(obj1, &val2);
11412 if (!SWIG_IsOK(ecode2)) {
11413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11414 }
11415 arg2 = static_cast< int >(val2);
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 (arg1)->SetMinimumSizeY(arg2);
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 resultobj = SWIG_Py_Void();
11423 return resultobj;
11424 fail:
11425 return NULL;
11426 }
11427
11428
11429 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11430 PyObject *resultobj = 0;
11431 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11432 int result;
11433 void *argp1 = 0 ;
11434 int res1 = 0 ;
11435 PyObject *swig_obj[1] ;
11436
11437 if (!args) SWIG_fail;
11438 swig_obj[0] = args;
11439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11440 if (!SWIG_IsOK(res1)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11442 }
11443 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 resultobj = SWIG_From_int(static_cast< int >(result));
11451 return resultobj;
11452 fail:
11453 return NULL;
11454 }
11455
11456
11457 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11458 PyObject *resultobj = 0;
11459 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11460 int result;
11461 void *argp1 = 0 ;
11462 int res1 = 0 ;
11463 PyObject *swig_obj[1] ;
11464
11465 if (!args) SWIG_fail;
11466 swig_obj[0] = args;
11467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11468 if (!SWIG_IsOK(res1)) {
11469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11470 }
11471 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 resultobj = SWIG_From_int(static_cast< int >(result));
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj = 0;
11487 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11488 int arg2 ;
11489 void *argp1 = 0 ;
11490 int res1 = 0 ;
11491 int val2 ;
11492 int ecode2 = 0 ;
11493 PyObject * obj0 = 0 ;
11494 PyObject * obj1 = 0 ;
11495 char * kwnames[] = {
11496 (char *) "self",(char *) "max", NULL
11497 };
11498
11499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11501 if (!SWIG_IsOK(res1)) {
11502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11503 }
11504 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11505 ecode2 = SWIG_AsVal_int(obj1, &val2);
11506 if (!SWIG_IsOK(ecode2)) {
11507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11508 }
11509 arg2 = static_cast< int >(val2);
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 (arg1)->SetMaximumSizeX(arg2);
11513 wxPyEndAllowThreads(__tstate);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 }
11516 resultobj = SWIG_Py_Void();
11517 return resultobj;
11518 fail:
11519 return NULL;
11520 }
11521
11522
11523 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11524 PyObject *resultobj = 0;
11525 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11526 int arg2 ;
11527 void *argp1 = 0 ;
11528 int res1 = 0 ;
11529 int val2 ;
11530 int ecode2 = 0 ;
11531 PyObject * obj0 = 0 ;
11532 PyObject * obj1 = 0 ;
11533 char * kwnames[] = {
11534 (char *) "self",(char *) "max", NULL
11535 };
11536
11537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11539 if (!SWIG_IsOK(res1)) {
11540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11541 }
11542 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11543 ecode2 = SWIG_AsVal_int(obj1, &val2);
11544 if (!SWIG_IsOK(ecode2)) {
11545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11546 }
11547 arg2 = static_cast< int >(val2);
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 (arg1)->SetMaximumSizeY(arg2);
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 resultobj = SWIG_Py_Void();
11555 return resultobj;
11556 fail:
11557 return NULL;
11558 }
11559
11560
11561 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11562 PyObject *resultobj = 0;
11563 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11564 int result;
11565 void *argp1 = 0 ;
11566 int res1 = 0 ;
11567 PyObject *swig_obj[1] ;
11568
11569 if (!args) SWIG_fail;
11570 swig_obj[0] = args;
11571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11572 if (!SWIG_IsOK(res1)) {
11573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11574 }
11575 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 resultobj = SWIG_From_int(static_cast< int >(result));
11583 return resultobj;
11584 fail:
11585 return NULL;
11586 }
11587
11588
11589 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11590 PyObject *resultobj = 0;
11591 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11592 int result;
11593 void *argp1 = 0 ;
11594 int res1 = 0 ;
11595 PyObject *swig_obj[1] ;
11596
11597 if (!args) SWIG_fail;
11598 swig_obj[0] = args;
11599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11600 if (!SWIG_IsOK(res1)) {
11601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11602 }
11603 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 resultobj = SWIG_From_int(static_cast< int >(result));
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj = 0;
11619 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11620 int arg2 ;
11621 int arg3 ;
11622 int arg4 = (int) 2 ;
11623 wxSashEdgePosition result;
11624 void *argp1 = 0 ;
11625 int res1 = 0 ;
11626 int val2 ;
11627 int ecode2 = 0 ;
11628 int val3 ;
11629 int ecode3 = 0 ;
11630 int val4 ;
11631 int ecode4 = 0 ;
11632 PyObject * obj0 = 0 ;
11633 PyObject * obj1 = 0 ;
11634 PyObject * obj2 = 0 ;
11635 PyObject * obj3 = 0 ;
11636 char * kwnames[] = {
11637 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11638 };
11639
11640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11642 if (!SWIG_IsOK(res1)) {
11643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11644 }
11645 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11646 ecode2 = SWIG_AsVal_int(obj1, &val2);
11647 if (!SWIG_IsOK(ecode2)) {
11648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11649 }
11650 arg2 = static_cast< int >(val2);
11651 ecode3 = SWIG_AsVal_int(obj2, &val3);
11652 if (!SWIG_IsOK(ecode3)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11654 }
11655 arg3 = static_cast< int >(val3);
11656 if (obj3) {
11657 ecode4 = SWIG_AsVal_int(obj3, &val4);
11658 if (!SWIG_IsOK(ecode4)) {
11659 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11660 }
11661 arg4 = static_cast< int >(val4);
11662 }
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11666 wxPyEndAllowThreads(__tstate);
11667 if (PyErr_Occurred()) SWIG_fail;
11668 }
11669 resultobj = SWIG_From_int(static_cast< int >(result));
11670 return resultobj;
11671 fail:
11672 return NULL;
11673 }
11674
11675
11676 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11677 PyObject *resultobj = 0;
11678 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11679 void *argp1 = 0 ;
11680 int res1 = 0 ;
11681 PyObject *swig_obj[1] ;
11682
11683 if (!args) SWIG_fail;
11684 swig_obj[0] = args;
11685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11686 if (!SWIG_IsOK(res1)) {
11687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11688 }
11689 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11690 {
11691 PyThreadState* __tstate = wxPyBeginAllowThreads();
11692 (arg1)->SizeWindows();
11693 wxPyEndAllowThreads(__tstate);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 resultobj = SWIG_Py_Void();
11697 return resultobj;
11698 fail:
11699 return NULL;
11700 }
11701
11702
11703 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11704 PyObject *obj;
11705 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11706 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11707 return SWIG_Py_Void();
11708 }
11709
11710 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11711 return SWIG_Python_InitShadowInstance(args);
11712 }
11713
11714 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11715 PyObject *resultobj = 0;
11716 int arg1 = (int) 0 ;
11717 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11718 wxSashEvent *result = 0 ;
11719 int val1 ;
11720 int ecode1 = 0 ;
11721 int val2 ;
11722 int ecode2 = 0 ;
11723 PyObject * obj0 = 0 ;
11724 PyObject * obj1 = 0 ;
11725 char * kwnames[] = {
11726 (char *) "id",(char *) "edge", NULL
11727 };
11728
11729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11730 if (obj0) {
11731 ecode1 = SWIG_AsVal_int(obj0, &val1);
11732 if (!SWIG_IsOK(ecode1)) {
11733 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11734 }
11735 arg1 = static_cast< int >(val1);
11736 }
11737 if (obj1) {
11738 ecode2 = SWIG_AsVal_int(obj1, &val2);
11739 if (!SWIG_IsOK(ecode2)) {
11740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11741 }
11742 arg2 = static_cast< wxSashEdgePosition >(val2);
11743 }
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11747 wxPyEndAllowThreads(__tstate);
11748 if (PyErr_Occurred()) SWIG_fail;
11749 }
11750 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11751 return resultobj;
11752 fail:
11753 return NULL;
11754 }
11755
11756
11757 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11758 PyObject *resultobj = 0;
11759 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11760 wxSashEdgePosition arg2 ;
11761 void *argp1 = 0 ;
11762 int res1 = 0 ;
11763 int val2 ;
11764 int ecode2 = 0 ;
11765 PyObject * obj0 = 0 ;
11766 PyObject * obj1 = 0 ;
11767 char * kwnames[] = {
11768 (char *) "self",(char *) "edge", NULL
11769 };
11770
11771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11773 if (!SWIG_IsOK(res1)) {
11774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11775 }
11776 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11777 ecode2 = SWIG_AsVal_int(obj1, &val2);
11778 if (!SWIG_IsOK(ecode2)) {
11779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11780 }
11781 arg2 = static_cast< wxSashEdgePosition >(val2);
11782 {
11783 PyThreadState* __tstate = wxPyBeginAllowThreads();
11784 (arg1)->SetEdge(arg2);
11785 wxPyEndAllowThreads(__tstate);
11786 if (PyErr_Occurred()) SWIG_fail;
11787 }
11788 resultobj = SWIG_Py_Void();
11789 return resultobj;
11790 fail:
11791 return NULL;
11792 }
11793
11794
11795 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11796 PyObject *resultobj = 0;
11797 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11798 wxSashEdgePosition result;
11799 void *argp1 = 0 ;
11800 int res1 = 0 ;
11801 PyObject *swig_obj[1] ;
11802
11803 if (!args) SWIG_fail;
11804 swig_obj[0] = args;
11805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11806 if (!SWIG_IsOK(res1)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11808 }
11809 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11810 {
11811 PyThreadState* __tstate = wxPyBeginAllowThreads();
11812 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11813 wxPyEndAllowThreads(__tstate);
11814 if (PyErr_Occurred()) SWIG_fail;
11815 }
11816 resultobj = SWIG_From_int(static_cast< int >(result));
11817 return resultobj;
11818 fail:
11819 return NULL;
11820 }
11821
11822
11823 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj = 0;
11825 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11826 wxRect *arg2 = 0 ;
11827 void *argp1 = 0 ;
11828 int res1 = 0 ;
11829 wxRect temp2 ;
11830 PyObject * obj0 = 0 ;
11831 PyObject * obj1 = 0 ;
11832 char * kwnames[] = {
11833 (char *) "self",(char *) "rect", NULL
11834 };
11835
11836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11838 if (!SWIG_IsOK(res1)) {
11839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11840 }
11841 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11842 {
11843 arg2 = &temp2;
11844 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11845 }
11846 {
11847 PyThreadState* __tstate = wxPyBeginAllowThreads();
11848 (arg1)->SetDragRect((wxRect const &)*arg2);
11849 wxPyEndAllowThreads(__tstate);
11850 if (PyErr_Occurred()) SWIG_fail;
11851 }
11852 resultobj = SWIG_Py_Void();
11853 return resultobj;
11854 fail:
11855 return NULL;
11856 }
11857
11858
11859 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11860 PyObject *resultobj = 0;
11861 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11862 wxRect result;
11863 void *argp1 = 0 ;
11864 int res1 = 0 ;
11865 PyObject *swig_obj[1] ;
11866
11867 if (!args) SWIG_fail;
11868 swig_obj[0] = args;
11869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11870 if (!SWIG_IsOK(res1)) {
11871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11872 }
11873 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11874 {
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 result = ((wxSashEvent const *)arg1)->GetDragRect();
11877 wxPyEndAllowThreads(__tstate);
11878 if (PyErr_Occurred()) SWIG_fail;
11879 }
11880 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11881 return resultobj;
11882 fail:
11883 return NULL;
11884 }
11885
11886
11887 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11888 PyObject *resultobj = 0;
11889 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11890 wxSashDragStatus arg2 ;
11891 void *argp1 = 0 ;
11892 int res1 = 0 ;
11893 int val2 ;
11894 int ecode2 = 0 ;
11895 PyObject * obj0 = 0 ;
11896 PyObject * obj1 = 0 ;
11897 char * kwnames[] = {
11898 (char *) "self",(char *) "status", NULL
11899 };
11900
11901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11903 if (!SWIG_IsOK(res1)) {
11904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11905 }
11906 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11907 ecode2 = SWIG_AsVal_int(obj1, &val2);
11908 if (!SWIG_IsOK(ecode2)) {
11909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11910 }
11911 arg2 = static_cast< wxSashDragStatus >(val2);
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
11914 (arg1)->SetDragStatus(arg2);
11915 wxPyEndAllowThreads(__tstate);
11916 if (PyErr_Occurred()) SWIG_fail;
11917 }
11918 resultobj = SWIG_Py_Void();
11919 return resultobj;
11920 fail:
11921 return NULL;
11922 }
11923
11924
11925 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11926 PyObject *resultobj = 0;
11927 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11928 wxSashDragStatus result;
11929 void *argp1 = 0 ;
11930 int res1 = 0 ;
11931 PyObject *swig_obj[1] ;
11932
11933 if (!args) SWIG_fail;
11934 swig_obj[0] = args;
11935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11936 if (!SWIG_IsOK(res1)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11938 }
11939 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11940 {
11941 PyThreadState* __tstate = wxPyBeginAllowThreads();
11942 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 resultobj = SWIG_From_int(static_cast< int >(result));
11947 return resultobj;
11948 fail:
11949 return NULL;
11950 }
11951
11952
11953 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11954 PyObject *obj;
11955 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11956 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11957 return SWIG_Py_Void();
11958 }
11959
11960 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11961 return SWIG_Python_InitShadowInstance(args);
11962 }
11963
11964 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11965 PyObject *resultobj = 0;
11966 int arg1 = (int) 0 ;
11967 wxQueryLayoutInfoEvent *result = 0 ;
11968 int val1 ;
11969 int ecode1 = 0 ;
11970 PyObject * obj0 = 0 ;
11971 char * kwnames[] = {
11972 (char *) "id", NULL
11973 };
11974
11975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11976 if (obj0) {
11977 ecode1 = SWIG_AsVal_int(obj0, &val1);
11978 if (!SWIG_IsOK(ecode1)) {
11979 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11980 }
11981 arg1 = static_cast< int >(val1);
11982 }
11983 {
11984 PyThreadState* __tstate = wxPyBeginAllowThreads();
11985 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11990 return resultobj;
11991 fail:
11992 return NULL;
11993 }
11994
11995
11996 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11997 PyObject *resultobj = 0;
11998 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11999 int arg2 ;
12000 void *argp1 = 0 ;
12001 int res1 = 0 ;
12002 int val2 ;
12003 int ecode2 = 0 ;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 char * kwnames[] = {
12007 (char *) "self",(char *) "length", NULL
12008 };
12009
12010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12012 if (!SWIG_IsOK(res1)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12014 }
12015 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12016 ecode2 = SWIG_AsVal_int(obj1, &val2);
12017 if (!SWIG_IsOK(ecode2)) {
12018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12019 }
12020 arg2 = static_cast< int >(val2);
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 (arg1)->SetRequestedLength(arg2);
12024 wxPyEndAllowThreads(__tstate);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
12027 resultobj = SWIG_Py_Void();
12028 return resultobj;
12029 fail:
12030 return NULL;
12031 }
12032
12033
12034 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12035 PyObject *resultobj = 0;
12036 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12037 int result;
12038 void *argp1 = 0 ;
12039 int res1 = 0 ;
12040 PyObject *swig_obj[1] ;
12041
12042 if (!args) SWIG_fail;
12043 swig_obj[0] = args;
12044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12045 if (!SWIG_IsOK(res1)) {
12046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12047 }
12048 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 resultobj = SWIG_From_int(static_cast< int >(result));
12056 return resultobj;
12057 fail:
12058 return NULL;
12059 }
12060
12061
12062 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj = 0;
12064 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12065 int arg2 ;
12066 void *argp1 = 0 ;
12067 int res1 = 0 ;
12068 int val2 ;
12069 int ecode2 = 0 ;
12070 PyObject * obj0 = 0 ;
12071 PyObject * obj1 = 0 ;
12072 char * kwnames[] = {
12073 (char *) "self",(char *) "flags", NULL
12074 };
12075
12076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12078 if (!SWIG_IsOK(res1)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12080 }
12081 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12082 ecode2 = SWIG_AsVal_int(obj1, &val2);
12083 if (!SWIG_IsOK(ecode2)) {
12084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12085 }
12086 arg2 = static_cast< int >(val2);
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 (arg1)->SetFlags(arg2);
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 resultobj = SWIG_Py_Void();
12094 return resultobj;
12095 fail:
12096 return NULL;
12097 }
12098
12099
12100 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12101 PyObject *resultobj = 0;
12102 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12103 int result;
12104 void *argp1 = 0 ;
12105 int res1 = 0 ;
12106 PyObject *swig_obj[1] ;
12107
12108 if (!args) SWIG_fail;
12109 swig_obj[0] = args;
12110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12111 if (!SWIG_IsOK(res1)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12113 }
12114 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 resultobj = SWIG_From_int(static_cast< int >(result));
12122 return resultobj;
12123 fail:
12124 return NULL;
12125 }
12126
12127
12128 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12129 PyObject *resultobj = 0;
12130 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12131 wxSize *arg2 = 0 ;
12132 void *argp1 = 0 ;
12133 int res1 = 0 ;
12134 wxSize temp2 ;
12135 PyObject * obj0 = 0 ;
12136 PyObject * obj1 = 0 ;
12137 char * kwnames[] = {
12138 (char *) "self",(char *) "size", NULL
12139 };
12140
12141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12143 if (!SWIG_IsOK(res1)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12145 }
12146 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12147 {
12148 arg2 = &temp2;
12149 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12150 }
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 (arg1)->SetSize((wxSize const &)*arg2);
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 }
12157 resultobj = SWIG_Py_Void();
12158 return resultobj;
12159 fail:
12160 return NULL;
12161 }
12162
12163
12164 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12165 PyObject *resultobj = 0;
12166 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12167 wxSize result;
12168 void *argp1 = 0 ;
12169 int res1 = 0 ;
12170 PyObject *swig_obj[1] ;
12171
12172 if (!args) SWIG_fail;
12173 swig_obj[0] = args;
12174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12175 if (!SWIG_IsOK(res1)) {
12176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12177 }
12178 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12179 {
12180 PyThreadState* __tstate = wxPyBeginAllowThreads();
12181 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12186 return resultobj;
12187 fail:
12188 return NULL;
12189 }
12190
12191
12192 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12193 PyObject *resultobj = 0;
12194 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12195 wxLayoutOrientation arg2 ;
12196 void *argp1 = 0 ;
12197 int res1 = 0 ;
12198 int val2 ;
12199 int ecode2 = 0 ;
12200 PyObject * obj0 = 0 ;
12201 PyObject * obj1 = 0 ;
12202 char * kwnames[] = {
12203 (char *) "self",(char *) "orient", NULL
12204 };
12205
12206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12208 if (!SWIG_IsOK(res1)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12210 }
12211 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12212 ecode2 = SWIG_AsVal_int(obj1, &val2);
12213 if (!SWIG_IsOK(ecode2)) {
12214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12215 }
12216 arg2 = static_cast< wxLayoutOrientation >(val2);
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 (arg1)->SetOrientation(arg2);
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
12223 resultobj = SWIG_Py_Void();
12224 return resultobj;
12225 fail:
12226 return NULL;
12227 }
12228
12229
12230 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12231 PyObject *resultobj = 0;
12232 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12233 wxLayoutOrientation result;
12234 void *argp1 = 0 ;
12235 int res1 = 0 ;
12236 PyObject *swig_obj[1] ;
12237
12238 if (!args) SWIG_fail;
12239 swig_obj[0] = args;
12240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12241 if (!SWIG_IsOK(res1)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12243 }
12244 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12248 wxPyEndAllowThreads(__tstate);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 }
12251 resultobj = SWIG_From_int(static_cast< int >(result));
12252 return resultobj;
12253 fail:
12254 return NULL;
12255 }
12256
12257
12258 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12259 PyObject *resultobj = 0;
12260 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12261 wxLayoutAlignment arg2 ;
12262 void *argp1 = 0 ;
12263 int res1 = 0 ;
12264 int val2 ;
12265 int ecode2 = 0 ;
12266 PyObject * obj0 = 0 ;
12267 PyObject * obj1 = 0 ;
12268 char * kwnames[] = {
12269 (char *) "self",(char *) "align", NULL
12270 };
12271
12272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12274 if (!SWIG_IsOK(res1)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12276 }
12277 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12278 ecode2 = SWIG_AsVal_int(obj1, &val2);
12279 if (!SWIG_IsOK(ecode2)) {
12280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12281 }
12282 arg2 = static_cast< wxLayoutAlignment >(val2);
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 (arg1)->SetAlignment(arg2);
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 resultobj = SWIG_Py_Void();
12290 return resultobj;
12291 fail:
12292 return NULL;
12293 }
12294
12295
12296 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12297 PyObject *resultobj = 0;
12298 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12299 wxLayoutAlignment result;
12300 void *argp1 = 0 ;
12301 int res1 = 0 ;
12302 PyObject *swig_obj[1] ;
12303
12304 if (!args) SWIG_fail;
12305 swig_obj[0] = args;
12306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12307 if (!SWIG_IsOK(res1)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12309 }
12310 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12311 {
12312 PyThreadState* __tstate = wxPyBeginAllowThreads();
12313 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 resultobj = SWIG_From_int(static_cast< int >(result));
12318 return resultobj;
12319 fail:
12320 return NULL;
12321 }
12322
12323
12324 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12325 PyObject *obj;
12326 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12327 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12328 return SWIG_Py_Void();
12329 }
12330
12331 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12332 return SWIG_Python_InitShadowInstance(args);
12333 }
12334
12335 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12336 PyObject *resultobj = 0;
12337 int arg1 = (int) 0 ;
12338 wxCalculateLayoutEvent *result = 0 ;
12339 int val1 ;
12340 int ecode1 = 0 ;
12341 PyObject * obj0 = 0 ;
12342 char * kwnames[] = {
12343 (char *) "id", NULL
12344 };
12345
12346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12347 if (obj0) {
12348 ecode1 = SWIG_AsVal_int(obj0, &val1);
12349 if (!SWIG_IsOK(ecode1)) {
12350 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12351 }
12352 arg1 = static_cast< int >(val1);
12353 }
12354 {
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
12360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12361 return resultobj;
12362 fail:
12363 return NULL;
12364 }
12365
12366
12367 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12368 PyObject *resultobj = 0;
12369 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12370 int arg2 ;
12371 void *argp1 = 0 ;
12372 int res1 = 0 ;
12373 int val2 ;
12374 int ecode2 = 0 ;
12375 PyObject * obj0 = 0 ;
12376 PyObject * obj1 = 0 ;
12377 char * kwnames[] = {
12378 (char *) "self",(char *) "flags", NULL
12379 };
12380
12381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12383 if (!SWIG_IsOK(res1)) {
12384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12385 }
12386 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12387 ecode2 = SWIG_AsVal_int(obj1, &val2);
12388 if (!SWIG_IsOK(ecode2)) {
12389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12390 }
12391 arg2 = static_cast< int >(val2);
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 (arg1)->SetFlags(arg2);
12395 wxPyEndAllowThreads(__tstate);
12396 if (PyErr_Occurred()) SWIG_fail;
12397 }
12398 resultobj = SWIG_Py_Void();
12399 return resultobj;
12400 fail:
12401 return NULL;
12402 }
12403
12404
12405 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12406 PyObject *resultobj = 0;
12407 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12408 int result;
12409 void *argp1 = 0 ;
12410 int res1 = 0 ;
12411 PyObject *swig_obj[1] ;
12412
12413 if (!args) SWIG_fail;
12414 swig_obj[0] = args;
12415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12416 if (!SWIG_IsOK(res1)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12418 }
12419 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 resultobj = SWIG_From_int(static_cast< int >(result));
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj = 0;
12435 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12436 wxRect *arg2 = 0 ;
12437 void *argp1 = 0 ;
12438 int res1 = 0 ;
12439 wxRect temp2 ;
12440 PyObject * obj0 = 0 ;
12441 PyObject * obj1 = 0 ;
12442 char * kwnames[] = {
12443 (char *) "self",(char *) "rect", NULL
12444 };
12445
12446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12448 if (!SWIG_IsOK(res1)) {
12449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12450 }
12451 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12452 {
12453 arg2 = &temp2;
12454 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12455 }
12456 {
12457 PyThreadState* __tstate = wxPyBeginAllowThreads();
12458 (arg1)->SetRect((wxRect const &)*arg2);
12459 wxPyEndAllowThreads(__tstate);
12460 if (PyErr_Occurred()) SWIG_fail;
12461 }
12462 resultobj = SWIG_Py_Void();
12463 return resultobj;
12464 fail:
12465 return NULL;
12466 }
12467
12468
12469 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12470 PyObject *resultobj = 0;
12471 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12472 wxRect result;
12473 void *argp1 = 0 ;
12474 int res1 = 0 ;
12475 PyObject *swig_obj[1] ;
12476
12477 if (!args) SWIG_fail;
12478 swig_obj[0] = args;
12479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12480 if (!SWIG_IsOK(res1)) {
12481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12482 }
12483 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12487 wxPyEndAllowThreads(__tstate);
12488 if (PyErr_Occurred()) SWIG_fail;
12489 }
12490 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12491 return resultobj;
12492 fail:
12493 return NULL;
12494 }
12495
12496
12497 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12498 PyObject *obj;
12499 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12500 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12501 return SWIG_Py_Void();
12502 }
12503
12504 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12505 return SWIG_Python_InitShadowInstance(args);
12506 }
12507
12508 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj = 0;
12510 wxWindow *arg1 = (wxWindow *) 0 ;
12511 int arg2 = (int) -1 ;
12512 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12513 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12514 wxSize const &arg4_defvalue = wxDefaultSize ;
12515 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12516 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12517 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12518 wxString *arg6 = (wxString *) &arg6_defvalue ;
12519 wxSashLayoutWindow *result = 0 ;
12520 void *argp1 = 0 ;
12521 int res1 = 0 ;
12522 int val2 ;
12523 int ecode2 = 0 ;
12524 wxPoint temp3 ;
12525 wxSize temp4 ;
12526 long val5 ;
12527 int ecode5 = 0 ;
12528 bool temp6 = false ;
12529 PyObject * obj0 = 0 ;
12530 PyObject * obj1 = 0 ;
12531 PyObject * obj2 = 0 ;
12532 PyObject * obj3 = 0 ;
12533 PyObject * obj4 = 0 ;
12534 PyObject * obj5 = 0 ;
12535 char * kwnames[] = {
12536 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12537 };
12538
12539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12541 if (!SWIG_IsOK(res1)) {
12542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12543 }
12544 arg1 = reinterpret_cast< wxWindow * >(argp1);
12545 if (obj1) {
12546 ecode2 = SWIG_AsVal_int(obj1, &val2);
12547 if (!SWIG_IsOK(ecode2)) {
12548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12549 }
12550 arg2 = static_cast< int >(val2);
12551 }
12552 if (obj2) {
12553 {
12554 arg3 = &temp3;
12555 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12556 }
12557 }
12558 if (obj3) {
12559 {
12560 arg4 = &temp4;
12561 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12562 }
12563 }
12564 if (obj4) {
12565 ecode5 = SWIG_AsVal_long(obj4, &val5);
12566 if (!SWIG_IsOK(ecode5)) {
12567 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12568 }
12569 arg5 = static_cast< long >(val5);
12570 }
12571 if (obj5) {
12572 {
12573 arg6 = wxString_in_helper(obj5);
12574 if (arg6 == NULL) SWIG_fail;
12575 temp6 = true;
12576 }
12577 }
12578 {
12579 if (!wxPyCheckForApp()) SWIG_fail;
12580 PyThreadState* __tstate = wxPyBeginAllowThreads();
12581 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
12585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12586 {
12587 if (temp6)
12588 delete arg6;
12589 }
12590 return resultobj;
12591 fail:
12592 {
12593 if (temp6)
12594 delete arg6;
12595 }
12596 return NULL;
12597 }
12598
12599
12600 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12601 PyObject *resultobj = 0;
12602 wxSashLayoutWindow *result = 0 ;
12603
12604 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12605 {
12606 if (!wxPyCheckForApp()) SWIG_fail;
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12609 wxPyEndAllowThreads(__tstate);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12613 return resultobj;
12614 fail:
12615 return NULL;
12616 }
12617
12618
12619 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12620 PyObject *resultobj = 0;
12621 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12622 wxWindow *arg2 = (wxWindow *) 0 ;
12623 int arg3 = (int) -1 ;
12624 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12625 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12626 wxSize const &arg5_defvalue = wxDefaultSize ;
12627 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12628 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12629 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12630 wxString *arg7 = (wxString *) &arg7_defvalue ;
12631 bool result;
12632 void *argp1 = 0 ;
12633 int res1 = 0 ;
12634 void *argp2 = 0 ;
12635 int res2 = 0 ;
12636 int val3 ;
12637 int ecode3 = 0 ;
12638 wxPoint temp4 ;
12639 wxSize temp5 ;
12640 long val6 ;
12641 int ecode6 = 0 ;
12642 bool temp7 = false ;
12643 PyObject * obj0 = 0 ;
12644 PyObject * obj1 = 0 ;
12645 PyObject * obj2 = 0 ;
12646 PyObject * obj3 = 0 ;
12647 PyObject * obj4 = 0 ;
12648 PyObject * obj5 = 0 ;
12649 PyObject * obj6 = 0 ;
12650 char * kwnames[] = {
12651 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12652 };
12653
12654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12656 if (!SWIG_IsOK(res1)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12658 }
12659 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12660 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12661 if (!SWIG_IsOK(res2)) {
12662 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12663 }
12664 arg2 = reinterpret_cast< wxWindow * >(argp2);
12665 if (obj2) {
12666 ecode3 = SWIG_AsVal_int(obj2, &val3);
12667 if (!SWIG_IsOK(ecode3)) {
12668 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12669 }
12670 arg3 = static_cast< int >(val3);
12671 }
12672 if (obj3) {
12673 {
12674 arg4 = &temp4;
12675 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12676 }
12677 }
12678 if (obj4) {
12679 {
12680 arg5 = &temp5;
12681 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12682 }
12683 }
12684 if (obj5) {
12685 ecode6 = SWIG_AsVal_long(obj5, &val6);
12686 if (!SWIG_IsOK(ecode6)) {
12687 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12688 }
12689 arg6 = static_cast< long >(val6);
12690 }
12691 if (obj6) {
12692 {
12693 arg7 = wxString_in_helper(obj6);
12694 if (arg7 == NULL) SWIG_fail;
12695 temp7 = true;
12696 }
12697 }
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12701 wxPyEndAllowThreads(__tstate);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 }
12704 {
12705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12706 }
12707 {
12708 if (temp7)
12709 delete arg7;
12710 }
12711 return resultobj;
12712 fail:
12713 {
12714 if (temp7)
12715 delete arg7;
12716 }
12717 return NULL;
12718 }
12719
12720
12721 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12722 PyObject *resultobj = 0;
12723 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12724 wxLayoutAlignment result;
12725 void *argp1 = 0 ;
12726 int res1 = 0 ;
12727 PyObject *swig_obj[1] ;
12728
12729 if (!args) SWIG_fail;
12730 swig_obj[0] = args;
12731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12732 if (!SWIG_IsOK(res1)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12734 }
12735 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
12742 resultobj = SWIG_From_int(static_cast< int >(result));
12743 return resultobj;
12744 fail:
12745 return NULL;
12746 }
12747
12748
12749 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12750 PyObject *resultobj = 0;
12751 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12752 wxLayoutOrientation result;
12753 void *argp1 = 0 ;
12754 int res1 = 0 ;
12755 PyObject *swig_obj[1] ;
12756
12757 if (!args) SWIG_fail;
12758 swig_obj[0] = args;
12759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12760 if (!SWIG_IsOK(res1)) {
12761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12762 }
12763 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12764 {
12765 PyThreadState* __tstate = wxPyBeginAllowThreads();
12766 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12767 wxPyEndAllowThreads(__tstate);
12768 if (PyErr_Occurred()) SWIG_fail;
12769 }
12770 resultobj = SWIG_From_int(static_cast< int >(result));
12771 return resultobj;
12772 fail:
12773 return NULL;
12774 }
12775
12776
12777 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12778 PyObject *resultobj = 0;
12779 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12780 wxLayoutAlignment arg2 ;
12781 void *argp1 = 0 ;
12782 int res1 = 0 ;
12783 int val2 ;
12784 int ecode2 = 0 ;
12785 PyObject * obj0 = 0 ;
12786 PyObject * obj1 = 0 ;
12787 char * kwnames[] = {
12788 (char *) "self",(char *) "alignment", NULL
12789 };
12790
12791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12793 if (!SWIG_IsOK(res1)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12795 }
12796 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12797 ecode2 = SWIG_AsVal_int(obj1, &val2);
12798 if (!SWIG_IsOK(ecode2)) {
12799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12800 }
12801 arg2 = static_cast< wxLayoutAlignment >(val2);
12802 {
12803 PyThreadState* __tstate = wxPyBeginAllowThreads();
12804 (arg1)->SetAlignment(arg2);
12805 wxPyEndAllowThreads(__tstate);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 }
12808 resultobj = SWIG_Py_Void();
12809 return resultobj;
12810 fail:
12811 return NULL;
12812 }
12813
12814
12815 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12816 PyObject *resultobj = 0;
12817 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12818 wxSize *arg2 = 0 ;
12819 void *argp1 = 0 ;
12820 int res1 = 0 ;
12821 wxSize temp2 ;
12822 PyObject * obj0 = 0 ;
12823 PyObject * obj1 = 0 ;
12824 char * kwnames[] = {
12825 (char *) "self",(char *) "size", NULL
12826 };
12827
12828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12830 if (!SWIG_IsOK(res1)) {
12831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12832 }
12833 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12834 {
12835 arg2 = &temp2;
12836 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12837 }
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 resultobj = SWIG_Py_Void();
12845 return resultobj;
12846 fail:
12847 return NULL;
12848 }
12849
12850
12851 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12852 PyObject *resultobj = 0;
12853 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12854 wxLayoutOrientation arg2 ;
12855 void *argp1 = 0 ;
12856 int res1 = 0 ;
12857 int val2 ;
12858 int ecode2 = 0 ;
12859 PyObject * obj0 = 0 ;
12860 PyObject * obj1 = 0 ;
12861 char * kwnames[] = {
12862 (char *) "self",(char *) "orientation", NULL
12863 };
12864
12865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12867 if (!SWIG_IsOK(res1)) {
12868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12869 }
12870 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12871 ecode2 = SWIG_AsVal_int(obj1, &val2);
12872 if (!SWIG_IsOK(ecode2)) {
12873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12874 }
12875 arg2 = static_cast< wxLayoutOrientation >(val2);
12876 {
12877 PyThreadState* __tstate = wxPyBeginAllowThreads();
12878 (arg1)->SetOrientation(arg2);
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 resultobj = SWIG_Py_Void();
12883 return resultobj;
12884 fail:
12885 return NULL;
12886 }
12887
12888
12889 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12890 PyObject *obj;
12891 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12892 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12893 return SWIG_Py_Void();
12894 }
12895
12896 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12897 return SWIG_Python_InitShadowInstance(args);
12898 }
12899
12900 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12901 PyObject *resultobj = 0;
12902 wxLayoutAlgorithm *result = 0 ;
12903
12904 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12905 {
12906 PyThreadState* __tstate = wxPyBeginAllowThreads();
12907 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12912 return resultobj;
12913 fail:
12914 return NULL;
12915 }
12916
12917
12918 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12919 PyObject *resultobj = 0;
12920 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12921 void *argp1 = 0 ;
12922 int res1 = 0 ;
12923 PyObject *swig_obj[1] ;
12924
12925 if (!args) SWIG_fail;
12926 swig_obj[0] = args;
12927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12928 if (!SWIG_IsOK(res1)) {
12929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12930 }
12931 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12932 {
12933 PyThreadState* __tstate = wxPyBeginAllowThreads();
12934 delete arg1;
12935
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 resultobj = SWIG_Py_Void();
12940 return resultobj;
12941 fail:
12942 return NULL;
12943 }
12944
12945
12946 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12947 PyObject *resultobj = 0;
12948 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12949 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12950 wxRect *arg3 = (wxRect *) NULL ;
12951 bool result;
12952 void *argp1 = 0 ;
12953 int res1 = 0 ;
12954 void *argp2 = 0 ;
12955 int res2 = 0 ;
12956 void *argp3 = 0 ;
12957 int res3 = 0 ;
12958 PyObject * obj0 = 0 ;
12959 PyObject * obj1 = 0 ;
12960 PyObject * obj2 = 0 ;
12961 char * kwnames[] = {
12962 (char *) "self",(char *) "frame",(char *) "rect", NULL
12963 };
12964
12965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12967 if (!SWIG_IsOK(res1)) {
12968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12969 }
12970 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12971 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12972 if (!SWIG_IsOK(res2)) {
12973 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12974 }
12975 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12976 if (obj2) {
12977 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12978 if (!SWIG_IsOK(res3)) {
12979 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12980 }
12981 arg3 = reinterpret_cast< wxRect * >(argp3);
12982 }
12983 {
12984 PyThreadState* __tstate = wxPyBeginAllowThreads();
12985 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12986 wxPyEndAllowThreads(__tstate);
12987 if (PyErr_Occurred()) SWIG_fail;
12988 }
12989 {
12990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12991 }
12992 return resultobj;
12993 fail:
12994 return NULL;
12995 }
12996
12997
12998 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj = 0;
13000 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13001 wxFrame *arg2 = (wxFrame *) 0 ;
13002 wxWindow *arg3 = (wxWindow *) NULL ;
13003 bool result;
13004 void *argp1 = 0 ;
13005 int res1 = 0 ;
13006 void *argp2 = 0 ;
13007 int res2 = 0 ;
13008 void *argp3 = 0 ;
13009 int res3 = 0 ;
13010 PyObject * obj0 = 0 ;
13011 PyObject * obj1 = 0 ;
13012 PyObject * obj2 = 0 ;
13013 char * kwnames[] = {
13014 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13015 };
13016
13017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13019 if (!SWIG_IsOK(res1)) {
13020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13021 }
13022 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13023 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13024 if (!SWIG_IsOK(res2)) {
13025 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13026 }
13027 arg2 = reinterpret_cast< wxFrame * >(argp2);
13028 if (obj2) {
13029 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13030 if (!SWIG_IsOK(res3)) {
13031 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13032 }
13033 arg3 = reinterpret_cast< wxWindow * >(argp3);
13034 }
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13038 wxPyEndAllowThreads(__tstate);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
13041 {
13042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13043 }
13044 return resultobj;
13045 fail:
13046 return NULL;
13047 }
13048
13049
13050 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13051 PyObject *resultobj = 0;
13052 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13053 wxWindow *arg2 = (wxWindow *) 0 ;
13054 wxWindow *arg3 = (wxWindow *) NULL ;
13055 bool result;
13056 void *argp1 = 0 ;
13057 int res1 = 0 ;
13058 void *argp2 = 0 ;
13059 int res2 = 0 ;
13060 void *argp3 = 0 ;
13061 int res3 = 0 ;
13062 PyObject * obj0 = 0 ;
13063 PyObject * obj1 = 0 ;
13064 PyObject * obj2 = 0 ;
13065 char * kwnames[] = {
13066 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13067 };
13068
13069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13071 if (!SWIG_IsOK(res1)) {
13072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13073 }
13074 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13075 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13076 if (!SWIG_IsOK(res2)) {
13077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13078 }
13079 arg2 = reinterpret_cast< wxWindow * >(argp2);
13080 if (obj2) {
13081 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13082 if (!SWIG_IsOK(res3)) {
13083 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13084 }
13085 arg3 = reinterpret_cast< wxWindow * >(argp3);
13086 }
13087 {
13088 PyThreadState* __tstate = wxPyBeginAllowThreads();
13089 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13090 wxPyEndAllowThreads(__tstate);
13091 if (PyErr_Occurred()) SWIG_fail;
13092 }
13093 {
13094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13095 }
13096 return resultobj;
13097 fail:
13098 return NULL;
13099 }
13100
13101
13102 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13103 PyObject *obj;
13104 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13105 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13106 return SWIG_Py_Void();
13107 }
13108
13109 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13110 return SWIG_Python_InitShadowInstance(args);
13111 }
13112
13113 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj = 0;
13115 wxWindow *arg1 = (wxWindow *) 0 ;
13116 int arg2 = (int) wxBORDER_NONE ;
13117 wxPopupWindow *result = 0 ;
13118 void *argp1 = 0 ;
13119 int res1 = 0 ;
13120 int val2 ;
13121 int ecode2 = 0 ;
13122 PyObject * obj0 = 0 ;
13123 PyObject * obj1 = 0 ;
13124 char * kwnames[] = {
13125 (char *) "parent",(char *) "flags", NULL
13126 };
13127
13128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13130 if (!SWIG_IsOK(res1)) {
13131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13132 }
13133 arg1 = reinterpret_cast< wxWindow * >(argp1);
13134 if (obj1) {
13135 ecode2 = SWIG_AsVal_int(obj1, &val2);
13136 if (!SWIG_IsOK(ecode2)) {
13137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13138 }
13139 arg2 = static_cast< int >(val2);
13140 }
13141 {
13142 PyThreadState* __tstate = wxPyBeginAllowThreads();
13143 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13144 wxPyEndAllowThreads(__tstate);
13145 if (PyErr_Occurred()) SWIG_fail;
13146 }
13147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13148 return resultobj;
13149 fail:
13150 return NULL;
13151 }
13152
13153
13154 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13155 PyObject *resultobj = 0;
13156 wxPopupWindow *result = 0 ;
13157
13158 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13159 {
13160 PyThreadState* __tstate = wxPyBeginAllowThreads();
13161 result = (wxPopupWindow *)new wxPopupWindow();
13162 wxPyEndAllowThreads(__tstate);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 }
13165 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13166 return resultobj;
13167 fail:
13168 return NULL;
13169 }
13170
13171
13172 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13173 PyObject *obj;
13174 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13175 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13176 return SWIG_Py_Void();
13177 }
13178
13179 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13180 return SWIG_Python_InitShadowInstance(args);
13181 }
13182
13183 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj = 0;
13185 wxWindow *arg1 = (wxWindow *) 0 ;
13186 int arg2 = (int) wxBORDER_NONE ;
13187 wxPyPopupTransientWindow *result = 0 ;
13188 void *argp1 = 0 ;
13189 int res1 = 0 ;
13190 int val2 ;
13191 int ecode2 = 0 ;
13192 PyObject * obj0 = 0 ;
13193 PyObject * obj1 = 0 ;
13194 char * kwnames[] = {
13195 (char *) "parent",(char *) "style", NULL
13196 };
13197
13198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13200 if (!SWIG_IsOK(res1)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13202 }
13203 arg1 = reinterpret_cast< wxWindow * >(argp1);
13204 if (obj1) {
13205 ecode2 = SWIG_AsVal_int(obj1, &val2);
13206 if (!SWIG_IsOK(ecode2)) {
13207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13208 }
13209 arg2 = static_cast< int >(val2);
13210 }
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13214 wxPyEndAllowThreads(__tstate);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 }
13217 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13218 return resultobj;
13219 fail:
13220 return NULL;
13221 }
13222
13223
13224 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13225 PyObject *resultobj = 0;
13226 wxPyPopupTransientWindow *result = 0 ;
13227
13228 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13229 {
13230 PyThreadState* __tstate = wxPyBeginAllowThreads();
13231 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13232 wxPyEndAllowThreads(__tstate);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13236 return resultobj;
13237 fail:
13238 return NULL;
13239 }
13240
13241
13242 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13243 PyObject *obj;
13244 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13245 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13246 return SWIG_Py_Void();
13247 }
13248
13249 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13250 return SWIG_Python_InitShadowInstance(args);
13251 }
13252
13253 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj = 0;
13255 wxWindow *arg1 = (wxWindow *) 0 ;
13256 wxString *arg2 = 0 ;
13257 int arg3 = (int) 100 ;
13258 wxRect *arg4 = (wxRect *) NULL ;
13259 wxTipWindow *result = 0 ;
13260 void *argp1 = 0 ;
13261 int res1 = 0 ;
13262 bool temp2 = false ;
13263 int val3 ;
13264 int ecode3 = 0 ;
13265 void *argp4 = 0 ;
13266 int res4 = 0 ;
13267 PyObject * obj0 = 0 ;
13268 PyObject * obj1 = 0 ;
13269 PyObject * obj2 = 0 ;
13270 PyObject * obj3 = 0 ;
13271 char * kwnames[] = {
13272 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13273 };
13274
13275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13277 if (!SWIG_IsOK(res1)) {
13278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13279 }
13280 arg1 = reinterpret_cast< wxWindow * >(argp1);
13281 {
13282 arg2 = wxString_in_helper(obj1);
13283 if (arg2 == NULL) SWIG_fail;
13284 temp2 = true;
13285 }
13286 if (obj2) {
13287 ecode3 = SWIG_AsVal_int(obj2, &val3);
13288 if (!SWIG_IsOK(ecode3)) {
13289 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13290 }
13291 arg3 = static_cast< int >(val3);
13292 }
13293 if (obj3) {
13294 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13295 if (!SWIG_IsOK(res4)) {
13296 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13297 }
13298 arg4 = reinterpret_cast< wxRect * >(argp4);
13299 }
13300 {
13301 if (!wxPyCheckForApp()) SWIG_fail;
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
13303 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13308 {
13309 if (temp2)
13310 delete arg2;
13311 }
13312 return resultobj;
13313 fail:
13314 {
13315 if (temp2)
13316 delete arg2;
13317 }
13318 return NULL;
13319 }
13320
13321
13322 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj = 0;
13324 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13325 wxRect *arg2 = 0 ;
13326 void *argp1 = 0 ;
13327 int res1 = 0 ;
13328 wxRect temp2 ;
13329 PyObject * obj0 = 0 ;
13330 PyObject * obj1 = 0 ;
13331 char * kwnames[] = {
13332 (char *) "self",(char *) "rectBound", NULL
13333 };
13334
13335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13337 if (!SWIG_IsOK(res1)) {
13338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13339 }
13340 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13341 {
13342 arg2 = &temp2;
13343 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13344 }
13345 {
13346 PyThreadState* __tstate = wxPyBeginAllowThreads();
13347 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 resultobj = SWIG_Py_Void();
13352 return resultobj;
13353 fail:
13354 return NULL;
13355 }
13356
13357
13358 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13359 PyObject *resultobj = 0;
13360 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13361 void *argp1 = 0 ;
13362 int res1 = 0 ;
13363 PyObject *swig_obj[1] ;
13364
13365 if (!args) SWIG_fail;
13366 swig_obj[0] = args;
13367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13368 if (!SWIG_IsOK(res1)) {
13369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13370 }
13371 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13372 {
13373 PyThreadState* __tstate = wxPyBeginAllowThreads();
13374 (arg1)->Close();
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 resultobj = SWIG_Py_Void();
13379 return resultobj;
13380 fail:
13381 return NULL;
13382 }
13383
13384
13385 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13386 PyObject *obj;
13387 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13388 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13389 return SWIG_Py_Void();
13390 }
13391
13392 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13393 return SWIG_Python_InitShadowInstance(args);
13394 }
13395
13396 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13397 PyObject *resultobj = 0;
13398 wxWindow *arg1 = (wxWindow *) 0 ;
13399 int arg2 = (int) wxID_ANY ;
13400 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13401 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13402 wxSize const &arg4_defvalue = wxDefaultSize ;
13403 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13404 long arg5 = (long) 0 ;
13405 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13406 wxString *arg6 = (wxString *) &arg6_defvalue ;
13407 wxPyVScrolledWindow *result = 0 ;
13408 void *argp1 = 0 ;
13409 int res1 = 0 ;
13410 int val2 ;
13411 int ecode2 = 0 ;
13412 wxPoint temp3 ;
13413 wxSize temp4 ;
13414 long val5 ;
13415 int ecode5 = 0 ;
13416 bool temp6 = false ;
13417 PyObject * obj0 = 0 ;
13418 PyObject * obj1 = 0 ;
13419 PyObject * obj2 = 0 ;
13420 PyObject * obj3 = 0 ;
13421 PyObject * obj4 = 0 ;
13422 PyObject * obj5 = 0 ;
13423 char * kwnames[] = {
13424 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13425 };
13426
13427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13429 if (!SWIG_IsOK(res1)) {
13430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13431 }
13432 arg1 = reinterpret_cast< wxWindow * >(argp1);
13433 if (obj1) {
13434 ecode2 = SWIG_AsVal_int(obj1, &val2);
13435 if (!SWIG_IsOK(ecode2)) {
13436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13437 }
13438 arg2 = static_cast< int >(val2);
13439 }
13440 if (obj2) {
13441 {
13442 arg3 = &temp3;
13443 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13444 }
13445 }
13446 if (obj3) {
13447 {
13448 arg4 = &temp4;
13449 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13450 }
13451 }
13452 if (obj4) {
13453 ecode5 = SWIG_AsVal_long(obj4, &val5);
13454 if (!SWIG_IsOK(ecode5)) {
13455 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13456 }
13457 arg5 = static_cast< long >(val5);
13458 }
13459 if (obj5) {
13460 {
13461 arg6 = wxString_in_helper(obj5);
13462 if (arg6 == NULL) SWIG_fail;
13463 temp6 = true;
13464 }
13465 }
13466 {
13467 if (!wxPyCheckForApp()) SWIG_fail;
13468 PyThreadState* __tstate = wxPyBeginAllowThreads();
13469 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
13473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13474 {
13475 if (temp6)
13476 delete arg6;
13477 }
13478 return resultobj;
13479 fail:
13480 {
13481 if (temp6)
13482 delete arg6;
13483 }
13484 return NULL;
13485 }
13486
13487
13488 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13489 PyObject *resultobj = 0;
13490 wxPyVScrolledWindow *result = 0 ;
13491
13492 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13493 {
13494 if (!wxPyCheckForApp()) SWIG_fail;
13495 PyThreadState* __tstate = wxPyBeginAllowThreads();
13496 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13501 return resultobj;
13502 fail:
13503 return NULL;
13504 }
13505
13506
13507 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj = 0;
13509 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13510 PyObject *arg2 = (PyObject *) 0 ;
13511 PyObject *arg3 = (PyObject *) 0 ;
13512 void *argp1 = 0 ;
13513 int res1 = 0 ;
13514 PyObject * obj0 = 0 ;
13515 PyObject * obj1 = 0 ;
13516 PyObject * obj2 = 0 ;
13517 char * kwnames[] = {
13518 (char *) "self",(char *) "self",(char *) "_class", NULL
13519 };
13520
13521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13523 if (!SWIG_IsOK(res1)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13525 }
13526 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13527 arg2 = obj1;
13528 arg3 = obj2;
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 (arg1)->_setCallbackInfo(arg2,arg3);
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 resultobj = SWIG_Py_Void();
13536 return resultobj;
13537 fail:
13538 return NULL;
13539 }
13540
13541
13542 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13543 PyObject *resultobj = 0;
13544 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13545 wxWindow *arg2 = (wxWindow *) 0 ;
13546 int arg3 = (int) wxID_ANY ;
13547 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13548 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13549 wxSize const &arg5_defvalue = wxDefaultSize ;
13550 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13551 long arg6 = (long) 0 ;
13552 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13553 wxString *arg7 = (wxString *) &arg7_defvalue ;
13554 bool result;
13555 void *argp1 = 0 ;
13556 int res1 = 0 ;
13557 void *argp2 = 0 ;
13558 int res2 = 0 ;
13559 int val3 ;
13560 int ecode3 = 0 ;
13561 wxPoint temp4 ;
13562 wxSize temp5 ;
13563 long val6 ;
13564 int ecode6 = 0 ;
13565 bool temp7 = false ;
13566 PyObject * obj0 = 0 ;
13567 PyObject * obj1 = 0 ;
13568 PyObject * obj2 = 0 ;
13569 PyObject * obj3 = 0 ;
13570 PyObject * obj4 = 0 ;
13571 PyObject * obj5 = 0 ;
13572 PyObject * obj6 = 0 ;
13573 char * kwnames[] = {
13574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13575 };
13576
13577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13579 if (!SWIG_IsOK(res1)) {
13580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13581 }
13582 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13583 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13584 if (!SWIG_IsOK(res2)) {
13585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13586 }
13587 arg2 = reinterpret_cast< wxWindow * >(argp2);
13588 if (obj2) {
13589 ecode3 = SWIG_AsVal_int(obj2, &val3);
13590 if (!SWIG_IsOK(ecode3)) {
13591 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13592 }
13593 arg3 = static_cast< int >(val3);
13594 }
13595 if (obj3) {
13596 {
13597 arg4 = &temp4;
13598 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13599 }
13600 }
13601 if (obj4) {
13602 {
13603 arg5 = &temp5;
13604 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13605 }
13606 }
13607 if (obj5) {
13608 ecode6 = SWIG_AsVal_long(obj5, &val6);
13609 if (!SWIG_IsOK(ecode6)) {
13610 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13611 }
13612 arg6 = static_cast< long >(val6);
13613 }
13614 if (obj6) {
13615 {
13616 arg7 = wxString_in_helper(obj6);
13617 if (arg7 == NULL) SWIG_fail;
13618 temp7 = true;
13619 }
13620 }
13621 {
13622 PyThreadState* __tstate = wxPyBeginAllowThreads();
13623 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 {
13628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13629 }
13630 {
13631 if (temp7)
13632 delete arg7;
13633 }
13634 return resultobj;
13635 fail:
13636 {
13637 if (temp7)
13638 delete arg7;
13639 }
13640 return NULL;
13641 }
13642
13643
13644 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13645 PyObject *resultobj = 0;
13646 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13647 size_t arg2 ;
13648 void *argp1 = 0 ;
13649 int res1 = 0 ;
13650 size_t val2 ;
13651 int ecode2 = 0 ;
13652 PyObject * obj0 = 0 ;
13653 PyObject * obj1 = 0 ;
13654 char * kwnames[] = {
13655 (char *) "self",(char *) "count", NULL
13656 };
13657
13658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13660 if (!SWIG_IsOK(res1)) {
13661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13662 }
13663 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13664 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13665 if (!SWIG_IsOK(ecode2)) {
13666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13667 }
13668 arg2 = static_cast< size_t >(val2);
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 (arg1)->SetLineCount(arg2);
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 resultobj = SWIG_Py_Void();
13676 return resultobj;
13677 fail:
13678 return NULL;
13679 }
13680
13681
13682 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13683 PyObject *resultobj = 0;
13684 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13685 size_t arg2 ;
13686 bool result;
13687 void *argp1 = 0 ;
13688 int res1 = 0 ;
13689 size_t val2 ;
13690 int ecode2 = 0 ;
13691 PyObject * obj0 = 0 ;
13692 PyObject * obj1 = 0 ;
13693 char * kwnames[] = {
13694 (char *) "self",(char *) "line", NULL
13695 };
13696
13697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13699 if (!SWIG_IsOK(res1)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13701 }
13702 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13703 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13704 if (!SWIG_IsOK(ecode2)) {
13705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13706 }
13707 arg2 = static_cast< size_t >(val2);
13708 {
13709 PyThreadState* __tstate = wxPyBeginAllowThreads();
13710 result = (bool)(arg1)->ScrollToLine(arg2);
13711 wxPyEndAllowThreads(__tstate);
13712 if (PyErr_Occurred()) SWIG_fail;
13713 }
13714 {
13715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13716 }
13717 return resultobj;
13718 fail:
13719 return NULL;
13720 }
13721
13722
13723 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13724 PyObject *resultobj = 0;
13725 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13726 size_t arg2 ;
13727 void *argp1 = 0 ;
13728 int res1 = 0 ;
13729 size_t val2 ;
13730 int ecode2 = 0 ;
13731 PyObject * obj0 = 0 ;
13732 PyObject * obj1 = 0 ;
13733 char * kwnames[] = {
13734 (char *) "self",(char *) "line", NULL
13735 };
13736
13737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13739 if (!SWIG_IsOK(res1)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13741 }
13742 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13743 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13744 if (!SWIG_IsOK(ecode2)) {
13745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13746 }
13747 arg2 = static_cast< size_t >(val2);
13748 {
13749 PyThreadState* __tstate = wxPyBeginAllowThreads();
13750 (arg1)->RefreshLine(arg2);
13751 wxPyEndAllowThreads(__tstate);
13752 if (PyErr_Occurred()) SWIG_fail;
13753 }
13754 resultobj = SWIG_Py_Void();
13755 return resultobj;
13756 fail:
13757 return NULL;
13758 }
13759
13760
13761 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13762 PyObject *resultobj = 0;
13763 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13764 size_t arg2 ;
13765 size_t arg3 ;
13766 void *argp1 = 0 ;
13767 int res1 = 0 ;
13768 size_t val2 ;
13769 int ecode2 = 0 ;
13770 size_t val3 ;
13771 int ecode3 = 0 ;
13772 PyObject * obj0 = 0 ;
13773 PyObject * obj1 = 0 ;
13774 PyObject * obj2 = 0 ;
13775 char * kwnames[] = {
13776 (char *) "self",(char *) "from",(char *) "to", NULL
13777 };
13778
13779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13781 if (!SWIG_IsOK(res1)) {
13782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13783 }
13784 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13785 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13786 if (!SWIG_IsOK(ecode2)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13788 }
13789 arg2 = static_cast< size_t >(val2);
13790 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13791 if (!SWIG_IsOK(ecode3)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13793 }
13794 arg3 = static_cast< size_t >(val3);
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 (arg1)->RefreshLines(arg2,arg3);
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 resultobj = SWIG_Py_Void();
13802 return resultobj;
13803 fail:
13804 return NULL;
13805 }
13806
13807
13808 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13809 PyObject *resultobj = 0;
13810 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13811 int arg2 ;
13812 int arg3 ;
13813 int result;
13814 void *argp1 = 0 ;
13815 int res1 = 0 ;
13816 int val2 ;
13817 int ecode2 = 0 ;
13818 int val3 ;
13819 int ecode3 = 0 ;
13820 PyObject * obj0 = 0 ;
13821 PyObject * obj1 = 0 ;
13822 PyObject * obj2 = 0 ;
13823 char * kwnames[] = {
13824 (char *) "self",(char *) "x",(char *) "y", NULL
13825 };
13826
13827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13829 if (!SWIG_IsOK(res1)) {
13830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13831 }
13832 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13833 ecode2 = SWIG_AsVal_int(obj1, &val2);
13834 if (!SWIG_IsOK(ecode2)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13836 }
13837 arg2 = static_cast< int >(val2);
13838 ecode3 = SWIG_AsVal_int(obj2, &val3);
13839 if (!SWIG_IsOK(ecode3)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13841 }
13842 arg3 = static_cast< int >(val3);
13843 {
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 resultobj = SWIG_From_int(static_cast< int >(result));
13850 return resultobj;
13851 fail:
13852 return NULL;
13853 }
13854
13855
13856 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13857 PyObject *resultobj = 0;
13858 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13859 wxPoint *arg2 = 0 ;
13860 int result;
13861 void *argp1 = 0 ;
13862 int res1 = 0 ;
13863 wxPoint temp2 ;
13864 PyObject * obj0 = 0 ;
13865 PyObject * obj1 = 0 ;
13866 char * kwnames[] = {
13867 (char *) "self",(char *) "pt", NULL
13868 };
13869
13870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13872 if (!SWIG_IsOK(res1)) {
13873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13874 }
13875 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13876 {
13877 arg2 = &temp2;
13878 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13879 }
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13883 wxPyEndAllowThreads(__tstate);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
13886 resultobj = SWIG_From_int(static_cast< int >(result));
13887 return resultobj;
13888 fail:
13889 return NULL;
13890 }
13891
13892
13893 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13894 PyObject *resultobj = 0;
13895 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13896 void *argp1 = 0 ;
13897 int res1 = 0 ;
13898 PyObject *swig_obj[1] ;
13899
13900 if (!args) SWIG_fail;
13901 swig_obj[0] = args;
13902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13903 if (!SWIG_IsOK(res1)) {
13904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13905 }
13906 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13907 {
13908 PyThreadState* __tstate = wxPyBeginAllowThreads();
13909 (arg1)->RefreshAll();
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 resultobj = SWIG_Py_Void();
13914 return resultobj;
13915 fail:
13916 return NULL;
13917 }
13918
13919
13920 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13921 PyObject *resultobj = 0;
13922 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13923 size_t result;
13924 void *argp1 = 0 ;
13925 int res1 = 0 ;
13926 PyObject *swig_obj[1] ;
13927
13928 if (!args) SWIG_fail;
13929 swig_obj[0] = args;
13930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13931 if (!SWIG_IsOK(res1)) {
13932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13933 }
13934 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13935 {
13936 PyThreadState* __tstate = wxPyBeginAllowThreads();
13937 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13938 wxPyEndAllowThreads(__tstate);
13939 if (PyErr_Occurred()) SWIG_fail;
13940 }
13941 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13942 return resultobj;
13943 fail:
13944 return NULL;
13945 }
13946
13947
13948 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13949 PyObject *resultobj = 0;
13950 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13951 size_t result;
13952 void *argp1 = 0 ;
13953 int res1 = 0 ;
13954 PyObject *swig_obj[1] ;
13955
13956 if (!args) SWIG_fail;
13957 swig_obj[0] = args;
13958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13959 if (!SWIG_IsOK(res1)) {
13960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13961 }
13962 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13963 {
13964 PyThreadState* __tstate = wxPyBeginAllowThreads();
13965 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13966 wxPyEndAllowThreads(__tstate);
13967 if (PyErr_Occurred()) SWIG_fail;
13968 }
13969 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13970 return resultobj;
13971 fail:
13972 return NULL;
13973 }
13974
13975
13976 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13977 PyObject *resultobj = 0;
13978 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13979 size_t result;
13980 void *argp1 = 0 ;
13981 int res1 = 0 ;
13982 PyObject *swig_obj[1] ;
13983
13984 if (!args) SWIG_fail;
13985 swig_obj[0] = args;
13986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13987 if (!SWIG_IsOK(res1)) {
13988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13989 }
13990 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13991 {
13992 PyThreadState* __tstate = wxPyBeginAllowThreads();
13993 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13994 wxPyEndAllowThreads(__tstate);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
13997 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13998 return resultobj;
13999 fail:
14000 return NULL;
14001 }
14002
14003
14004 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14005 PyObject *resultobj = 0;
14006 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14007 size_t arg2 ;
14008 bool result;
14009 void *argp1 = 0 ;
14010 int res1 = 0 ;
14011 size_t val2 ;
14012 int ecode2 = 0 ;
14013 PyObject * obj0 = 0 ;
14014 PyObject * obj1 = 0 ;
14015 char * kwnames[] = {
14016 (char *) "self",(char *) "line", NULL
14017 };
14018
14019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14021 if (!SWIG_IsOK(res1)) {
14022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14023 }
14024 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14025 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14026 if (!SWIG_IsOK(ecode2)) {
14027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14028 }
14029 arg2 = static_cast< size_t >(val2);
14030 {
14031 PyThreadState* __tstate = wxPyBeginAllowThreads();
14032 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
14036 {
14037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14038 }
14039 return resultobj;
14040 fail:
14041 return NULL;
14042 }
14043
14044
14045 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14046 PyObject *resultobj = 0;
14047 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14048 size_t result;
14049 void *argp1 = 0 ;
14050 int res1 = 0 ;
14051 PyObject *swig_obj[1] ;
14052
14053 if (!args) SWIG_fail;
14054 swig_obj[0] = args;
14055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14056 if (!SWIG_IsOK(res1)) {
14057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14058 }
14059 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14060 {
14061 PyThreadState* __tstate = wxPyBeginAllowThreads();
14062 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14063 wxPyEndAllowThreads(__tstate);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 }
14066 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14067 return resultobj;
14068 fail:
14069 return NULL;
14070 }
14071
14072
14073 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14074 PyObject *resultobj = 0;
14075 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14076 size_t result;
14077 void *argp1 = 0 ;
14078 int res1 = 0 ;
14079 PyObject *swig_obj[1] ;
14080
14081 if (!args) SWIG_fail;
14082 swig_obj[0] = args;
14083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14084 if (!SWIG_IsOK(res1)) {
14085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14086 }
14087 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14091 wxPyEndAllowThreads(__tstate);
14092 if (PyErr_Occurred()) SWIG_fail;
14093 }
14094 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14095 return resultobj;
14096 fail:
14097 return NULL;
14098 }
14099
14100
14101 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14102 PyObject *resultobj = 0;
14103 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14104 size_t arg2 ;
14105 bool arg3 = (bool) false ;
14106 size_t result;
14107 void *argp1 = 0 ;
14108 int res1 = 0 ;
14109 size_t val2 ;
14110 int ecode2 = 0 ;
14111 bool val3 ;
14112 int ecode3 = 0 ;
14113 PyObject * obj0 = 0 ;
14114 PyObject * obj1 = 0 ;
14115 PyObject * obj2 = 0 ;
14116 char * kwnames[] = {
14117 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14118 };
14119
14120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14122 if (!SWIG_IsOK(res1)) {
14123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14124 }
14125 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14126 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14127 if (!SWIG_IsOK(ecode2)) {
14128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14129 }
14130 arg2 = static_cast< size_t >(val2);
14131 if (obj2) {
14132 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14133 if (!SWIG_IsOK(ecode3)) {
14134 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14135 }
14136 arg3 = static_cast< bool >(val3);
14137 }
14138 {
14139 PyThreadState* __tstate = wxPyBeginAllowThreads();
14140 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14152 PyObject *resultobj = 0;
14153 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14154 size_t arg2 ;
14155 size_t arg3 ;
14156 int result;
14157 void *argp1 = 0 ;
14158 int res1 = 0 ;
14159 size_t val2 ;
14160 int ecode2 = 0 ;
14161 size_t val3 ;
14162 int ecode3 = 0 ;
14163 PyObject * obj0 = 0 ;
14164 PyObject * obj1 = 0 ;
14165 PyObject * obj2 = 0 ;
14166 char * kwnames[] = {
14167 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14168 };
14169
14170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14172 if (!SWIG_IsOK(res1)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14174 }
14175 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14176 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14177 if (!SWIG_IsOK(ecode2)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14179 }
14180 arg2 = static_cast< size_t >(val2);
14181 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14182 if (!SWIG_IsOK(ecode3)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14184 }
14185 arg3 = static_cast< size_t >(val3);
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 resultobj = SWIG_From_int(static_cast< int >(result));
14193 return resultobj;
14194 fail:
14195 return NULL;
14196 }
14197
14198
14199 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14200 PyObject *obj;
14201 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14202 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14203 return SWIG_Py_Void();
14204 }
14205
14206 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14207 return SWIG_Python_InitShadowInstance(args);
14208 }
14209
14210 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14211 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14212 return 1;
14213 }
14214
14215
14216 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14217 PyObject *pyobj = 0;
14218
14219 {
14220 #if wxUSE_UNICODE
14221 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14222 #else
14223 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14224 #endif
14225 }
14226 return pyobj;
14227 }
14228
14229
14230 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14231 PyObject *resultobj = 0;
14232 wxWindow *arg1 = (wxWindow *) 0 ;
14233 int arg2 = (int) wxID_ANY ;
14234 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14235 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14236 wxSize const &arg4_defvalue = wxDefaultSize ;
14237 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14238 long arg5 = (long) 0 ;
14239 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14240 wxString *arg6 = (wxString *) &arg6_defvalue ;
14241 wxPyVListBox *result = 0 ;
14242 void *argp1 = 0 ;
14243 int res1 = 0 ;
14244 int val2 ;
14245 int ecode2 = 0 ;
14246 wxPoint temp3 ;
14247 wxSize temp4 ;
14248 long val5 ;
14249 int ecode5 = 0 ;
14250 bool temp6 = false ;
14251 PyObject * obj0 = 0 ;
14252 PyObject * obj1 = 0 ;
14253 PyObject * obj2 = 0 ;
14254 PyObject * obj3 = 0 ;
14255 PyObject * obj4 = 0 ;
14256 PyObject * obj5 = 0 ;
14257 char * kwnames[] = {
14258 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14259 };
14260
14261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14263 if (!SWIG_IsOK(res1)) {
14264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14265 }
14266 arg1 = reinterpret_cast< wxWindow * >(argp1);
14267 if (obj1) {
14268 ecode2 = SWIG_AsVal_int(obj1, &val2);
14269 if (!SWIG_IsOK(ecode2)) {
14270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14271 }
14272 arg2 = static_cast< int >(val2);
14273 }
14274 if (obj2) {
14275 {
14276 arg3 = &temp3;
14277 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14278 }
14279 }
14280 if (obj3) {
14281 {
14282 arg4 = &temp4;
14283 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14284 }
14285 }
14286 if (obj4) {
14287 ecode5 = SWIG_AsVal_long(obj4, &val5);
14288 if (!SWIG_IsOK(ecode5)) {
14289 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14290 }
14291 arg5 = static_cast< long >(val5);
14292 }
14293 if (obj5) {
14294 {
14295 arg6 = wxString_in_helper(obj5);
14296 if (arg6 == NULL) SWIG_fail;
14297 temp6 = true;
14298 }
14299 }
14300 {
14301 if (!wxPyCheckForApp()) SWIG_fail;
14302 PyThreadState* __tstate = wxPyBeginAllowThreads();
14303 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14308 {
14309 if (temp6)
14310 delete arg6;
14311 }
14312 return resultobj;
14313 fail:
14314 {
14315 if (temp6)
14316 delete arg6;
14317 }
14318 return NULL;
14319 }
14320
14321
14322 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14323 PyObject *resultobj = 0;
14324 wxPyVListBox *result = 0 ;
14325
14326 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14327 {
14328 if (!wxPyCheckForApp()) SWIG_fail;
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = (wxPyVListBox *)new wxPyVListBox();
14331 wxPyEndAllowThreads(__tstate);
14332 if (PyErr_Occurred()) SWIG_fail;
14333 }
14334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14335 return resultobj;
14336 fail:
14337 return NULL;
14338 }
14339
14340
14341 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14342 PyObject *resultobj = 0;
14343 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14344 PyObject *arg2 = (PyObject *) 0 ;
14345 PyObject *arg3 = (PyObject *) 0 ;
14346 void *argp1 = 0 ;
14347 int res1 = 0 ;
14348 PyObject * obj0 = 0 ;
14349 PyObject * obj1 = 0 ;
14350 PyObject * obj2 = 0 ;
14351 char * kwnames[] = {
14352 (char *) "self",(char *) "self",(char *) "_class", NULL
14353 };
14354
14355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14357 if (!SWIG_IsOK(res1)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14359 }
14360 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14361 arg2 = obj1;
14362 arg3 = obj2;
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 (arg1)->_setCallbackInfo(arg2,arg3);
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
14369 resultobj = SWIG_Py_Void();
14370 return resultobj;
14371 fail:
14372 return NULL;
14373 }
14374
14375
14376 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14377 PyObject *resultobj = 0;
14378 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14379 wxWindow *arg2 = (wxWindow *) 0 ;
14380 int arg3 = (int) wxID_ANY ;
14381 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14382 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14383 wxSize const &arg5_defvalue = wxDefaultSize ;
14384 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14385 long arg6 = (long) 0 ;
14386 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14387 wxString *arg7 = (wxString *) &arg7_defvalue ;
14388 bool result;
14389 void *argp1 = 0 ;
14390 int res1 = 0 ;
14391 void *argp2 = 0 ;
14392 int res2 = 0 ;
14393 int val3 ;
14394 int ecode3 = 0 ;
14395 wxPoint temp4 ;
14396 wxSize temp5 ;
14397 long val6 ;
14398 int ecode6 = 0 ;
14399 bool temp7 = false ;
14400 PyObject * obj0 = 0 ;
14401 PyObject * obj1 = 0 ;
14402 PyObject * obj2 = 0 ;
14403 PyObject * obj3 = 0 ;
14404 PyObject * obj4 = 0 ;
14405 PyObject * obj5 = 0 ;
14406 PyObject * obj6 = 0 ;
14407 char * kwnames[] = {
14408 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14409 };
14410
14411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14413 if (!SWIG_IsOK(res1)) {
14414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14415 }
14416 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14417 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14418 if (!SWIG_IsOK(res2)) {
14419 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14420 }
14421 arg2 = reinterpret_cast< wxWindow * >(argp2);
14422 if (obj2) {
14423 ecode3 = SWIG_AsVal_int(obj2, &val3);
14424 if (!SWIG_IsOK(ecode3)) {
14425 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14426 }
14427 arg3 = static_cast< int >(val3);
14428 }
14429 if (obj3) {
14430 {
14431 arg4 = &temp4;
14432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14433 }
14434 }
14435 if (obj4) {
14436 {
14437 arg5 = &temp5;
14438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14439 }
14440 }
14441 if (obj5) {
14442 ecode6 = SWIG_AsVal_long(obj5, &val6);
14443 if (!SWIG_IsOK(ecode6)) {
14444 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14445 }
14446 arg6 = static_cast< long >(val6);
14447 }
14448 if (obj6) {
14449 {
14450 arg7 = wxString_in_helper(obj6);
14451 if (arg7 == NULL) SWIG_fail;
14452 temp7 = true;
14453 }
14454 }
14455 {
14456 PyThreadState* __tstate = wxPyBeginAllowThreads();
14457 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14458 wxPyEndAllowThreads(__tstate);
14459 if (PyErr_Occurred()) SWIG_fail;
14460 }
14461 {
14462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14463 }
14464 {
14465 if (temp7)
14466 delete arg7;
14467 }
14468 return resultobj;
14469 fail:
14470 {
14471 if (temp7)
14472 delete arg7;
14473 }
14474 return NULL;
14475 }
14476
14477
14478 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14479 PyObject *resultobj = 0;
14480 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14481 size_t result;
14482 void *argp1 = 0 ;
14483 int res1 = 0 ;
14484 PyObject *swig_obj[1] ;
14485
14486 if (!args) SWIG_fail;
14487 swig_obj[0] = args;
14488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14489 if (!SWIG_IsOK(res1)) {
14490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14491 }
14492 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14500 return resultobj;
14501 fail:
14502 return NULL;
14503 }
14504
14505
14506 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14507 PyObject *resultobj = 0;
14508 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14509 bool result;
14510 void *argp1 = 0 ;
14511 int res1 = 0 ;
14512 PyObject *swig_obj[1] ;
14513
14514 if (!args) SWIG_fail;
14515 swig_obj[0] = args;
14516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14517 if (!SWIG_IsOK(res1)) {
14518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14519 }
14520 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14524 wxPyEndAllowThreads(__tstate);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
14527 {
14528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14529 }
14530 return resultobj;
14531 fail:
14532 return NULL;
14533 }
14534
14535
14536 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14537 PyObject *resultobj = 0;
14538 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14539 int 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_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14549 }
14550 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 resultobj = SWIG_From_int(static_cast< int >(result));
14558 return resultobj;
14559 fail:
14560 return NULL;
14561 }
14562
14563
14564 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14565 PyObject *resultobj = 0;
14566 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14567 size_t arg2 ;
14568 bool result;
14569 void *argp1 = 0 ;
14570 int res1 = 0 ;
14571 size_t val2 ;
14572 int ecode2 = 0 ;
14573 PyObject * obj0 = 0 ;
14574 PyObject * obj1 = 0 ;
14575 char * kwnames[] = {
14576 (char *) "self",(char *) "item", NULL
14577 };
14578
14579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14581 if (!SWIG_IsOK(res1)) {
14582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14583 }
14584 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14585 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14586 if (!SWIG_IsOK(ecode2)) {
14587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14588 }
14589 arg2 = static_cast< size_t >(val2);
14590 {
14591 PyThreadState* __tstate = wxPyBeginAllowThreads();
14592 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 {
14597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14598 }
14599 return resultobj;
14600 fail:
14601 return NULL;
14602 }
14603
14604
14605 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14606 PyObject *resultobj = 0;
14607 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14608 size_t arg2 ;
14609 bool result;
14610 void *argp1 = 0 ;
14611 int res1 = 0 ;
14612 size_t val2 ;
14613 int ecode2 = 0 ;
14614 PyObject * obj0 = 0 ;
14615 PyObject * obj1 = 0 ;
14616 char * kwnames[] = {
14617 (char *) "self",(char *) "item", NULL
14618 };
14619
14620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14622 if (!SWIG_IsOK(res1)) {
14623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14624 }
14625 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14626 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14627 if (!SWIG_IsOK(ecode2)) {
14628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14629 }
14630 arg2 = static_cast< size_t >(val2);
14631 {
14632 PyThreadState* __tstate = wxPyBeginAllowThreads();
14633 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14634 wxPyEndAllowThreads(__tstate);
14635 if (PyErr_Occurred()) SWIG_fail;
14636 }
14637 {
14638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14639 }
14640 return resultobj;
14641 fail:
14642 return NULL;
14643 }
14644
14645
14646 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14647 PyObject *resultobj = 0;
14648 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14649 size_t result;
14650 void *argp1 = 0 ;
14651 int res1 = 0 ;
14652 PyObject *swig_obj[1] ;
14653
14654 if (!args) SWIG_fail;
14655 swig_obj[0] = args;
14656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14657 if (!SWIG_IsOK(res1)) {
14658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14659 }
14660 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14661 {
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
14663 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14664 wxPyEndAllowThreads(__tstate);
14665 if (PyErr_Occurred()) SWIG_fail;
14666 }
14667 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14668 return resultobj;
14669 fail:
14670 return NULL;
14671 }
14672
14673
14674 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14675 PyObject *resultobj = 0;
14676 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14677 PyObject *result = 0 ;
14678 void *argp1 = 0 ;
14679 int res1 = 0 ;
14680 PyObject *swig_obj[1] ;
14681
14682 if (!args) SWIG_fail;
14683 swig_obj[0] = args;
14684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14685 if (!SWIG_IsOK(res1)) {
14686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14687 }
14688 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14689 {
14690 PyThreadState* __tstate = wxPyBeginAllowThreads();
14691 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14692 wxPyEndAllowThreads(__tstate);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 }
14695 resultobj = result;
14696 return resultobj;
14697 fail:
14698 return NULL;
14699 }
14700
14701
14702 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14703 PyObject *resultobj = 0;
14704 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14705 unsigned long arg2 ;
14706 PyObject *result = 0 ;
14707 void *argp1 = 0 ;
14708 int res1 = 0 ;
14709 unsigned long val2 ;
14710 int ecode2 = 0 ;
14711 PyObject * obj0 = 0 ;
14712 PyObject * obj1 = 0 ;
14713 char * kwnames[] = {
14714 (char *) "self",(char *) "cookie", NULL
14715 };
14716
14717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) 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_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14721 }
14722 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14723 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14724 if (!SWIG_IsOK(ecode2)) {
14725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14726 }
14727 arg2 = static_cast< unsigned long >(val2);
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 resultobj = result;
14735 return resultobj;
14736 fail:
14737 return NULL;
14738 }
14739
14740
14741 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14742 PyObject *resultobj = 0;
14743 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14744 wxPoint result;
14745 void *argp1 = 0 ;
14746 int res1 = 0 ;
14747 PyObject *swig_obj[1] ;
14748
14749 if (!args) SWIG_fail;
14750 swig_obj[0] = args;
14751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14752 if (!SWIG_IsOK(res1)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14754 }
14755 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14756 {
14757 PyThreadState* __tstate = wxPyBeginAllowThreads();
14758 result = ((wxPyVListBox const *)arg1)->GetMargins();
14759 wxPyEndAllowThreads(__tstate);
14760 if (PyErr_Occurred()) SWIG_fail;
14761 }
14762 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14763 return resultobj;
14764 fail:
14765 return NULL;
14766 }
14767
14768
14769 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14770 PyObject *resultobj = 0;
14771 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14772 wxColour *result = 0 ;
14773 void *argp1 = 0 ;
14774 int res1 = 0 ;
14775 PyObject *swig_obj[1] ;
14776
14777 if (!args) SWIG_fail;
14778 swig_obj[0] = args;
14779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14780 if (!SWIG_IsOK(res1)) {
14781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14782 }
14783 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14784 {
14785 PyThreadState* __tstate = wxPyBeginAllowThreads();
14786 {
14787 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14788 result = (wxColour *) &_result_ref;
14789 }
14790 wxPyEndAllowThreads(__tstate);
14791 if (PyErr_Occurred()) SWIG_fail;
14792 }
14793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14794 return resultobj;
14795 fail:
14796 return NULL;
14797 }
14798
14799
14800 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(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 *) "count", NULL
14812 };
14813
14814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",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_SetItemCount" "', 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_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14823 }
14824 arg2 = static_cast< size_t >(val2);
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 (arg1)->SetItemCount(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_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14839 PyObject *resultobj = 0;
14840 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14841 void *argp1 = 0 ;
14842 int res1 = 0 ;
14843 PyObject *swig_obj[1] ;
14844
14845 if (!args) SWIG_fail;
14846 swig_obj[0] = args;
14847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14848 if (!SWIG_IsOK(res1)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14850 }
14851 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 (arg1)->Clear();
14855 wxPyEndAllowThreads(__tstate);
14856 if (PyErr_Occurred()) SWIG_fail;
14857 }
14858 resultobj = SWIG_Py_Void();
14859 return resultobj;
14860 fail:
14861 return NULL;
14862 }
14863
14864
14865 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14866 PyObject *resultobj = 0;
14867 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14868 int arg2 ;
14869 void *argp1 = 0 ;
14870 int res1 = 0 ;
14871 int val2 ;
14872 int ecode2 = 0 ;
14873 PyObject * obj0 = 0 ;
14874 PyObject * obj1 = 0 ;
14875 char * kwnames[] = {
14876 (char *) "self",(char *) "selection", NULL
14877 };
14878
14879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14881 if (!SWIG_IsOK(res1)) {
14882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14883 }
14884 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14885 ecode2 = SWIG_AsVal_int(obj1, &val2);
14886 if (!SWIG_IsOK(ecode2)) {
14887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14888 }
14889 arg2 = static_cast< int >(val2);
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 (arg1)->SetSelection(arg2);
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 resultobj = SWIG_Py_Void();
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj = 0;
14905 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14906 size_t arg2 ;
14907 bool arg3 = (bool) true ;
14908 bool result;
14909 void *argp1 = 0 ;
14910 int res1 = 0 ;
14911 size_t val2 ;
14912 int ecode2 = 0 ;
14913 bool val3 ;
14914 int ecode3 = 0 ;
14915 PyObject * obj0 = 0 ;
14916 PyObject * obj1 = 0 ;
14917 PyObject * obj2 = 0 ;
14918 char * kwnames[] = {
14919 (char *) "self",(char *) "item",(char *) "select", NULL
14920 };
14921
14922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14924 if (!SWIG_IsOK(res1)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14926 }
14927 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14928 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14929 if (!SWIG_IsOK(ecode2)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14931 }
14932 arg2 = static_cast< size_t >(val2);
14933 if (obj2) {
14934 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14935 if (!SWIG_IsOK(ecode3)) {
14936 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14937 }
14938 arg3 = static_cast< bool >(val3);
14939 }
14940 {
14941 PyThreadState* __tstate = wxPyBeginAllowThreads();
14942 result = (bool)(arg1)->Select(arg2,arg3);
14943 wxPyEndAllowThreads(__tstate);
14944 if (PyErr_Occurred()) SWIG_fail;
14945 }
14946 {
14947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14948 }
14949 return resultobj;
14950 fail:
14951 return NULL;
14952 }
14953
14954
14955 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj = 0;
14957 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14958 size_t arg2 ;
14959 size_t arg3 ;
14960 bool result;
14961 void *argp1 = 0 ;
14962 int res1 = 0 ;
14963 size_t val2 ;
14964 int ecode2 = 0 ;
14965 size_t val3 ;
14966 int ecode3 = 0 ;
14967 PyObject * obj0 = 0 ;
14968 PyObject * obj1 = 0 ;
14969 PyObject * obj2 = 0 ;
14970 char * kwnames[] = {
14971 (char *) "self",(char *) "from",(char *) "to", NULL
14972 };
14973
14974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14976 if (!SWIG_IsOK(res1)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14978 }
14979 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14980 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14981 if (!SWIG_IsOK(ecode2)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14983 }
14984 arg2 = static_cast< size_t >(val2);
14985 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14986 if (!SWIG_IsOK(ecode3)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14988 }
14989 arg3 = static_cast< size_t >(val3);
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
14992 result = (bool)(arg1)->SelectRange(arg2,arg3);
14993 wxPyEndAllowThreads(__tstate);
14994 if (PyErr_Occurred()) SWIG_fail;
14995 }
14996 {
14997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14998 }
14999 return resultobj;
15000 fail:
15001 return NULL;
15002 }
15003
15004
15005 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15006 PyObject *resultobj = 0;
15007 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15008 size_t arg2 ;
15009 void *argp1 = 0 ;
15010 int res1 = 0 ;
15011 size_t val2 ;
15012 int ecode2 = 0 ;
15013 PyObject * obj0 = 0 ;
15014 PyObject * obj1 = 0 ;
15015 char * kwnames[] = {
15016 (char *) "self",(char *) "item", NULL
15017 };
15018
15019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15021 if (!SWIG_IsOK(res1)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15023 }
15024 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15025 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15026 if (!SWIG_IsOK(ecode2)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15028 }
15029 arg2 = static_cast< size_t >(val2);
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 (arg1)->Toggle(arg2);
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 resultobj = SWIG_Py_Void();
15037 return resultobj;
15038 fail:
15039 return NULL;
15040 }
15041
15042
15043 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15044 PyObject *resultobj = 0;
15045 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15046 bool result;
15047 void *argp1 = 0 ;
15048 int res1 = 0 ;
15049 PyObject *swig_obj[1] ;
15050
15051 if (!args) SWIG_fail;
15052 swig_obj[0] = args;
15053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15054 if (!SWIG_IsOK(res1)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15056 }
15057 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 result = (bool)(arg1)->SelectAll();
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 {
15065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15066 }
15067 return resultobj;
15068 fail:
15069 return NULL;
15070 }
15071
15072
15073 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15074 PyObject *resultobj = 0;
15075 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15076 bool result;
15077 void *argp1 = 0 ;
15078 int res1 = 0 ;
15079 PyObject *swig_obj[1] ;
15080
15081 if (!args) SWIG_fail;
15082 swig_obj[0] = args;
15083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15084 if (!SWIG_IsOK(res1)) {
15085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15086 }
15087 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15088 {
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 result = (bool)(arg1)->DeselectAll();
15091 wxPyEndAllowThreads(__tstate);
15092 if (PyErr_Occurred()) SWIG_fail;
15093 }
15094 {
15095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15096 }
15097 return resultobj;
15098 fail:
15099 return NULL;
15100 }
15101
15102
15103 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15104 PyObject *resultobj = 0;
15105 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15106 wxPoint *arg2 = 0 ;
15107 void *argp1 = 0 ;
15108 int res1 = 0 ;
15109 wxPoint temp2 ;
15110 PyObject * obj0 = 0 ;
15111 PyObject * obj1 = 0 ;
15112 char * kwnames[] = {
15113 (char *) "self",(char *) "pt", NULL
15114 };
15115
15116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15118 if (!SWIG_IsOK(res1)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15120 }
15121 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15122 {
15123 arg2 = &temp2;
15124 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15125 }
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 (arg1)->SetMargins((wxPoint const &)*arg2);
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 resultobj = SWIG_Py_Void();
15133 return resultobj;
15134 fail:
15135 return NULL;
15136 }
15137
15138
15139 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15140 PyObject *resultobj = 0;
15141 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15142 int arg2 ;
15143 int arg3 ;
15144 void *argp1 = 0 ;
15145 int res1 = 0 ;
15146 int val2 ;
15147 int ecode2 = 0 ;
15148 int val3 ;
15149 int ecode3 = 0 ;
15150 PyObject * obj0 = 0 ;
15151 PyObject * obj1 = 0 ;
15152 PyObject * obj2 = 0 ;
15153 char * kwnames[] = {
15154 (char *) "self",(char *) "x",(char *) "y", NULL
15155 };
15156
15157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15159 if (!SWIG_IsOK(res1)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15161 }
15162 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15163 ecode2 = SWIG_AsVal_int(obj1, &val2);
15164 if (!SWIG_IsOK(ecode2)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15166 }
15167 arg2 = static_cast< int >(val2);
15168 ecode3 = SWIG_AsVal_int(obj2, &val3);
15169 if (!SWIG_IsOK(ecode3)) {
15170 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15171 }
15172 arg3 = static_cast< int >(val3);
15173 {
15174 PyThreadState* __tstate = wxPyBeginAllowThreads();
15175 (arg1)->SetMargins(arg2,arg3);
15176 wxPyEndAllowThreads(__tstate);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 }
15179 resultobj = SWIG_Py_Void();
15180 return resultobj;
15181 fail:
15182 return NULL;
15183 }
15184
15185
15186 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15187 PyObject *resultobj = 0;
15188 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15189 wxColour *arg2 = 0 ;
15190 void *argp1 = 0 ;
15191 int res1 = 0 ;
15192 wxColour temp2 ;
15193 PyObject * obj0 = 0 ;
15194 PyObject * obj1 = 0 ;
15195 char * kwnames[] = {
15196 (char *) "self",(char *) "col", NULL
15197 };
15198
15199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15201 if (!SWIG_IsOK(res1)) {
15202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15203 }
15204 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15205 {
15206 arg2 = &temp2;
15207 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15208 }
15209 {
15210 PyThreadState* __tstate = wxPyBeginAllowThreads();
15211 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15212 wxPyEndAllowThreads(__tstate);
15213 if (PyErr_Occurred()) SWIG_fail;
15214 }
15215 resultobj = SWIG_Py_Void();
15216 return resultobj;
15217 fail:
15218 return NULL;
15219 }
15220
15221
15222 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15223 PyObject *resultobj = 0;
15224 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15225 wxDC *arg2 = 0 ;
15226 wxRect *arg3 = 0 ;
15227 size_t arg4 ;
15228 void *argp1 = 0 ;
15229 int res1 = 0 ;
15230 void *argp2 = 0 ;
15231 int res2 = 0 ;
15232 wxRect temp3 ;
15233 size_t val4 ;
15234 int ecode4 = 0 ;
15235 PyObject * obj0 = 0 ;
15236 PyObject * obj1 = 0 ;
15237 PyObject * obj2 = 0 ;
15238 PyObject * obj3 = 0 ;
15239 char * kwnames[] = {
15240 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15241 };
15242
15243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15245 if (!SWIG_IsOK(res1)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15247 }
15248 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15249 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15250 if (!SWIG_IsOK(res2)) {
15251 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15252 }
15253 if (!argp2) {
15254 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15255 }
15256 arg2 = reinterpret_cast< wxDC * >(argp2);
15257 {
15258 arg3 = &temp3;
15259 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15260 }
15261 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15262 if (!SWIG_IsOK(ecode4)) {
15263 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15264 }
15265 arg4 = static_cast< size_t >(val4);
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 resultobj = SWIG_Py_Void();
15273 return resultobj;
15274 fail:
15275 return NULL;
15276 }
15277
15278
15279 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15280 PyObject *resultobj = 0;
15281 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15282 wxDC *arg2 = 0 ;
15283 wxRect *arg3 = 0 ;
15284 size_t arg4 ;
15285 void *argp1 = 0 ;
15286 int res1 = 0 ;
15287 void *argp2 = 0 ;
15288 int res2 = 0 ;
15289 wxRect temp3 ;
15290 size_t val4 ;
15291 int ecode4 = 0 ;
15292 PyObject * obj0 = 0 ;
15293 PyObject * obj1 = 0 ;
15294 PyObject * obj2 = 0 ;
15295 PyObject * obj3 = 0 ;
15296 char * kwnames[] = {
15297 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15298 };
15299
15300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15302 if (!SWIG_IsOK(res1)) {
15303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15304 }
15305 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15306 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15307 if (!SWIG_IsOK(res2)) {
15308 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15309 }
15310 if (!argp2) {
15311 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15312 }
15313 arg2 = reinterpret_cast< wxDC * >(argp2);
15314 {
15315 arg3 = &temp3;
15316 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15317 }
15318 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15319 if (!SWIG_IsOK(ecode4)) {
15320 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15321 }
15322 arg4 = static_cast< size_t >(val4);
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 resultobj = SWIG_Py_Void();
15330 return resultobj;
15331 fail:
15332 return NULL;
15333 }
15334
15335
15336 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15337 PyObject *obj;
15338 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15339 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15340 return SWIG_Py_Void();
15341 }
15342
15343 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15344 return SWIG_Python_InitShadowInstance(args);
15345 }
15346
15347 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15348 PyObject *resultobj = 0;
15349 wxWindow *arg1 = (wxWindow *) 0 ;
15350 int arg2 = (int) wxID_ANY ;
15351 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15352 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15353 wxSize const &arg4_defvalue = wxDefaultSize ;
15354 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15355 long arg5 = (long) 0 ;
15356 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15357 wxString *arg6 = (wxString *) &arg6_defvalue ;
15358 wxPyHtmlListBox *result = 0 ;
15359 void *argp1 = 0 ;
15360 int res1 = 0 ;
15361 int val2 ;
15362 int ecode2 = 0 ;
15363 wxPoint temp3 ;
15364 wxSize temp4 ;
15365 long val5 ;
15366 int ecode5 = 0 ;
15367 bool temp6 = false ;
15368 PyObject * obj0 = 0 ;
15369 PyObject * obj1 = 0 ;
15370 PyObject * obj2 = 0 ;
15371 PyObject * obj3 = 0 ;
15372 PyObject * obj4 = 0 ;
15373 PyObject * obj5 = 0 ;
15374 char * kwnames[] = {
15375 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15376 };
15377
15378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15380 if (!SWIG_IsOK(res1)) {
15381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15382 }
15383 arg1 = reinterpret_cast< wxWindow * >(argp1);
15384 if (obj1) {
15385 ecode2 = SWIG_AsVal_int(obj1, &val2);
15386 if (!SWIG_IsOK(ecode2)) {
15387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15388 }
15389 arg2 = static_cast< int >(val2);
15390 }
15391 if (obj2) {
15392 {
15393 arg3 = &temp3;
15394 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15395 }
15396 }
15397 if (obj3) {
15398 {
15399 arg4 = &temp4;
15400 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15401 }
15402 }
15403 if (obj4) {
15404 ecode5 = SWIG_AsVal_long(obj4, &val5);
15405 if (!SWIG_IsOK(ecode5)) {
15406 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15407 }
15408 arg5 = static_cast< long >(val5);
15409 }
15410 if (obj5) {
15411 {
15412 arg6 = wxString_in_helper(obj5);
15413 if (arg6 == NULL) SWIG_fail;
15414 temp6 = true;
15415 }
15416 }
15417 {
15418 if (!wxPyCheckForApp()) SWIG_fail;
15419 PyThreadState* __tstate = wxPyBeginAllowThreads();
15420 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15421 wxPyEndAllowThreads(__tstate);
15422 if (PyErr_Occurred()) SWIG_fail;
15423 }
15424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15425 {
15426 if (temp6)
15427 delete arg6;
15428 }
15429 return resultobj;
15430 fail:
15431 {
15432 if (temp6)
15433 delete arg6;
15434 }
15435 return NULL;
15436 }
15437
15438
15439 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15440 PyObject *resultobj = 0;
15441 wxPyHtmlListBox *result = 0 ;
15442
15443 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15444 {
15445 if (!wxPyCheckForApp()) SWIG_fail;
15446 PyThreadState* __tstate = wxPyBeginAllowThreads();
15447 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15452 return resultobj;
15453 fail:
15454 return NULL;
15455 }
15456
15457
15458 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15459 PyObject *resultobj = 0;
15460 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15461 PyObject *arg2 = (PyObject *) 0 ;
15462 PyObject *arg3 = (PyObject *) 0 ;
15463 void *argp1 = 0 ;
15464 int res1 = 0 ;
15465 PyObject * obj0 = 0 ;
15466 PyObject * obj1 = 0 ;
15467 PyObject * obj2 = 0 ;
15468 char * kwnames[] = {
15469 (char *) "self",(char *) "self",(char *) "_class", NULL
15470 };
15471
15472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15474 if (!SWIG_IsOK(res1)) {
15475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15476 }
15477 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15478 arg2 = obj1;
15479 arg3 = obj2;
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 (arg1)->_setCallbackInfo(arg2,arg3);
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 resultobj = SWIG_Py_Void();
15487 return resultobj;
15488 fail:
15489 return NULL;
15490 }
15491
15492
15493 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15494 PyObject *resultobj = 0;
15495 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15496 wxWindow *arg2 = (wxWindow *) 0 ;
15497 int arg3 = (int) wxID_ANY ;
15498 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15499 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15500 wxSize const &arg5_defvalue = wxDefaultSize ;
15501 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15502 long arg6 = (long) 0 ;
15503 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15504 wxString *arg7 = (wxString *) &arg7_defvalue ;
15505 bool result;
15506 void *argp1 = 0 ;
15507 int res1 = 0 ;
15508 void *argp2 = 0 ;
15509 int res2 = 0 ;
15510 int val3 ;
15511 int ecode3 = 0 ;
15512 wxPoint temp4 ;
15513 wxSize temp5 ;
15514 long val6 ;
15515 int ecode6 = 0 ;
15516 bool temp7 = false ;
15517 PyObject * obj0 = 0 ;
15518 PyObject * obj1 = 0 ;
15519 PyObject * obj2 = 0 ;
15520 PyObject * obj3 = 0 ;
15521 PyObject * obj4 = 0 ;
15522 PyObject * obj5 = 0 ;
15523 PyObject * obj6 = 0 ;
15524 char * kwnames[] = {
15525 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15526 };
15527
15528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15530 if (!SWIG_IsOK(res1)) {
15531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15532 }
15533 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15534 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15535 if (!SWIG_IsOK(res2)) {
15536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15537 }
15538 arg2 = reinterpret_cast< wxWindow * >(argp2);
15539 if (obj2) {
15540 ecode3 = SWIG_AsVal_int(obj2, &val3);
15541 if (!SWIG_IsOK(ecode3)) {
15542 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15543 }
15544 arg3 = static_cast< int >(val3);
15545 }
15546 if (obj3) {
15547 {
15548 arg4 = &temp4;
15549 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15550 }
15551 }
15552 if (obj4) {
15553 {
15554 arg5 = &temp5;
15555 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15556 }
15557 }
15558 if (obj5) {
15559 ecode6 = SWIG_AsVal_long(obj5, &val6);
15560 if (!SWIG_IsOK(ecode6)) {
15561 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15562 }
15563 arg6 = static_cast< long >(val6);
15564 }
15565 if (obj6) {
15566 {
15567 arg7 = wxString_in_helper(obj6);
15568 if (arg7 == NULL) SWIG_fail;
15569 temp7 = true;
15570 }
15571 }
15572 {
15573 PyThreadState* __tstate = wxPyBeginAllowThreads();
15574 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15575 wxPyEndAllowThreads(__tstate);
15576 if (PyErr_Occurred()) SWIG_fail;
15577 }
15578 {
15579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15580 }
15581 {
15582 if (temp7)
15583 delete arg7;
15584 }
15585 return resultobj;
15586 fail:
15587 {
15588 if (temp7)
15589 delete arg7;
15590 }
15591 return NULL;
15592 }
15593
15594
15595 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15596 PyObject *resultobj = 0;
15597 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15598 size_t arg2 ;
15599 void *argp1 = 0 ;
15600 int res1 = 0 ;
15601 size_t val2 ;
15602 int ecode2 = 0 ;
15603 PyObject * obj0 = 0 ;
15604 PyObject * obj1 = 0 ;
15605 char * kwnames[] = {
15606 (char *) "self",(char *) "count", NULL
15607 };
15608
15609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15611 if (!SWIG_IsOK(res1)) {
15612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15613 }
15614 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15615 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15616 if (!SWIG_IsOK(ecode2)) {
15617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15618 }
15619 arg2 = static_cast< size_t >(val2);
15620 {
15621 PyThreadState* __tstate = wxPyBeginAllowThreads();
15622 (arg1)->SetItemCount(arg2);
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 resultobj = SWIG_Py_Void();
15627 return resultobj;
15628 fail:
15629 return NULL;
15630 }
15631
15632
15633 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15634 PyObject *resultobj = 0;
15635 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15636 wxFileSystem *result = 0 ;
15637 void *argp1 = 0 ;
15638 int res1 = 0 ;
15639 PyObject *swig_obj[1] ;
15640
15641 if (!args) SWIG_fail;
15642 swig_obj[0] = args;
15643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15644 if (!SWIG_IsOK(res1)) {
15645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15646 }
15647 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15648 {
15649 PyThreadState* __tstate = wxPyBeginAllowThreads();
15650 {
15651 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15652 result = (wxFileSystem *) &_result_ref;
15653 }
15654 wxPyEndAllowThreads(__tstate);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 }
15657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15658 return resultobj;
15659 fail:
15660 return NULL;
15661 }
15662
15663
15664 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15665 PyObject *resultobj = 0;
15666 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15667 size_t arg2 ;
15668 wxHtmlLinkInfo *arg3 = 0 ;
15669 void *argp1 = 0 ;
15670 int res1 = 0 ;
15671 size_t val2 ;
15672 int ecode2 = 0 ;
15673 void *argp3 = 0 ;
15674 int res3 = 0 ;
15675 PyObject * obj0 = 0 ;
15676 PyObject * obj1 = 0 ;
15677 PyObject * obj2 = 0 ;
15678 char * kwnames[] = {
15679 (char *) "self",(char *) "n",(char *) "link", NULL
15680 };
15681
15682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15684 if (!SWIG_IsOK(res1)) {
15685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15686 }
15687 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15688 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15689 if (!SWIG_IsOK(ecode2)) {
15690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15691 }
15692 arg2 = static_cast< size_t >(val2);
15693 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15694 if (!SWIG_IsOK(res3)) {
15695 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15696 }
15697 if (!argp3) {
15698 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15699 }
15700 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15704 wxPyEndAllowThreads(__tstate);
15705 if (PyErr_Occurred()) SWIG_fail;
15706 }
15707 resultobj = SWIG_Py_Void();
15708 return resultobj;
15709 fail:
15710 return NULL;
15711 }
15712
15713
15714 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15715 PyObject *obj;
15716 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15717 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15718 return SWIG_Py_Void();
15719 }
15720
15721 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15722 return SWIG_Python_InitShadowInstance(args);
15723 }
15724
15725 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15726 PyObject *resultobj = 0;
15727 wxPyTaskBarIcon *result = 0 ;
15728
15729 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15730 {
15731 if (!wxPyCheckForApp()) SWIG_fail;
15732 PyThreadState* __tstate = wxPyBeginAllowThreads();
15733 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15734 wxPyEndAllowThreads(__tstate);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 }
15737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15738 return resultobj;
15739 fail:
15740 return NULL;
15741 }
15742
15743
15744 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15745 PyObject *resultobj = 0;
15746 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15747 void *argp1 = 0 ;
15748 int res1 = 0 ;
15749 PyObject *swig_obj[1] ;
15750
15751 if (!args) SWIG_fail;
15752 swig_obj[0] = args;
15753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15754 if (!SWIG_IsOK(res1)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15756 }
15757 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 delete arg1;
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 resultobj = SWIG_Py_Void();
15766 return resultobj;
15767 fail:
15768 return NULL;
15769 }
15770
15771
15772 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15773 PyObject *resultobj = 0;
15774 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15775 PyObject *arg2 = (PyObject *) 0 ;
15776 PyObject *arg3 = (PyObject *) 0 ;
15777 int arg4 ;
15778 void *argp1 = 0 ;
15779 int res1 = 0 ;
15780 int val4 ;
15781 int ecode4 = 0 ;
15782 PyObject * obj0 = 0 ;
15783 PyObject * obj1 = 0 ;
15784 PyObject * obj2 = 0 ;
15785 PyObject * obj3 = 0 ;
15786 char * kwnames[] = {
15787 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15788 };
15789
15790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15792 if (!SWIG_IsOK(res1)) {
15793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15794 }
15795 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15796 arg2 = obj1;
15797 arg3 = obj2;
15798 ecode4 = SWIG_AsVal_int(obj3, &val4);
15799 if (!SWIG_IsOK(ecode4)) {
15800 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15801 }
15802 arg4 = static_cast< int >(val4);
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15806 wxPyEndAllowThreads(__tstate);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 resultobj = SWIG_Py_Void();
15810 return resultobj;
15811 fail:
15812 return NULL;
15813 }
15814
15815
15816 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15817 PyObject *resultobj = 0;
15818 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15819 void *argp1 = 0 ;
15820 int res1 = 0 ;
15821 PyObject *swig_obj[1] ;
15822
15823 if (!args) SWIG_fail;
15824 swig_obj[0] = args;
15825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15826 if (!SWIG_IsOK(res1)) {
15827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15828 }
15829 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15830 {
15831 PyThreadState* __tstate = wxPyBeginAllowThreads();
15832 wxPyTaskBarIcon_Destroy(arg1);
15833 wxPyEndAllowThreads(__tstate);
15834 if (PyErr_Occurred()) SWIG_fail;
15835 }
15836 resultobj = SWIG_Py_Void();
15837 return resultobj;
15838 fail:
15839 return NULL;
15840 }
15841
15842
15843 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15844 PyObject *resultobj = 0;
15845 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15846 bool result;
15847 void *argp1 = 0 ;
15848 int res1 = 0 ;
15849 PyObject *swig_obj[1] ;
15850
15851 if (!args) SWIG_fail;
15852 swig_obj[0] = args;
15853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15854 if (!SWIG_IsOK(res1)) {
15855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15856 }
15857 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15861 wxPyEndAllowThreads(__tstate);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 {
15865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15866 }
15867 return resultobj;
15868 fail:
15869 return NULL;
15870 }
15871
15872
15873 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15874 PyObject *resultobj = 0;
15875 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15876 bool result;
15877 void *argp1 = 0 ;
15878 int res1 = 0 ;
15879 PyObject *swig_obj[1] ;
15880
15881 if (!args) SWIG_fail;
15882 swig_obj[0] = args;
15883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15884 if (!SWIG_IsOK(res1)) {
15885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15886 }
15887 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15888 {
15889 PyThreadState* __tstate = wxPyBeginAllowThreads();
15890 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 {
15895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15896 }
15897 return resultobj;
15898 fail:
15899 return NULL;
15900 }
15901
15902
15903 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15904 PyObject *resultobj = 0;
15905 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15906 wxIcon *arg2 = 0 ;
15907 wxString const &arg3_defvalue = wxPyEmptyString ;
15908 wxString *arg3 = (wxString *) &arg3_defvalue ;
15909 bool result;
15910 void *argp1 = 0 ;
15911 int res1 = 0 ;
15912 void *argp2 = 0 ;
15913 int res2 = 0 ;
15914 bool temp3 = false ;
15915 PyObject * obj0 = 0 ;
15916 PyObject * obj1 = 0 ;
15917 PyObject * obj2 = 0 ;
15918 char * kwnames[] = {
15919 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15920 };
15921
15922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15924 if (!SWIG_IsOK(res1)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15926 }
15927 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15928 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15929 if (!SWIG_IsOK(res2)) {
15930 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15931 }
15932 if (!argp2) {
15933 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15934 }
15935 arg2 = reinterpret_cast< wxIcon * >(argp2);
15936 if (obj2) {
15937 {
15938 arg3 = wxString_in_helper(obj2);
15939 if (arg3 == NULL) SWIG_fail;
15940 temp3 = true;
15941 }
15942 }
15943 {
15944 PyThreadState* __tstate = wxPyBeginAllowThreads();
15945 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15946 wxPyEndAllowThreads(__tstate);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 }
15949 {
15950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15951 }
15952 {
15953 if (temp3)
15954 delete arg3;
15955 }
15956 return resultobj;
15957 fail:
15958 {
15959 if (temp3)
15960 delete arg3;
15961 }
15962 return NULL;
15963 }
15964
15965
15966 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15967 PyObject *resultobj = 0;
15968 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15969 bool result;
15970 void *argp1 = 0 ;
15971 int res1 = 0 ;
15972 PyObject *swig_obj[1] ;
15973
15974 if (!args) SWIG_fail;
15975 swig_obj[0] = args;
15976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15977 if (!SWIG_IsOK(res1)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15979 }
15980 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15981 {
15982 PyThreadState* __tstate = wxPyBeginAllowThreads();
15983 result = (bool)(arg1)->RemoveIcon();
15984 wxPyEndAllowThreads(__tstate);
15985 if (PyErr_Occurred()) SWIG_fail;
15986 }
15987 {
15988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15989 }
15990 return resultobj;
15991 fail:
15992 return NULL;
15993 }
15994
15995
15996 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15997 PyObject *resultobj = 0;
15998 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15999 wxMenu *arg2 = (wxMenu *) 0 ;
16000 bool result;
16001 void *argp1 = 0 ;
16002 int res1 = 0 ;
16003 void *argp2 = 0 ;
16004 int res2 = 0 ;
16005 PyObject * obj0 = 0 ;
16006 PyObject * obj1 = 0 ;
16007 char * kwnames[] = {
16008 (char *) "self",(char *) "menu", NULL
16009 };
16010
16011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16013 if (!SWIG_IsOK(res1)) {
16014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16015 }
16016 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16017 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16018 if (!SWIG_IsOK(res2)) {
16019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16020 }
16021 arg2 = reinterpret_cast< wxMenu * >(argp2);
16022 {
16023 PyThreadState* __tstate = wxPyBeginAllowThreads();
16024 result = (bool)(arg1)->PopupMenu(arg2);
16025 wxPyEndAllowThreads(__tstate);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 }
16028 {
16029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16030 }
16031 return resultobj;
16032 fail:
16033 return NULL;
16034 }
16035
16036
16037 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16038 PyObject *obj;
16039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16041 return SWIG_Py_Void();
16042 }
16043
16044 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16045 return SWIG_Python_InitShadowInstance(args);
16046 }
16047
16048 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj = 0;
16050 wxEventType arg1 ;
16051 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16052 wxTaskBarIconEvent *result = 0 ;
16053 int val1 ;
16054 int ecode1 = 0 ;
16055 void *argp2 = 0 ;
16056 int res2 = 0 ;
16057 PyObject * obj0 = 0 ;
16058 PyObject * obj1 = 0 ;
16059 char * kwnames[] = {
16060 (char *) "evtType",(char *) "tbIcon", NULL
16061 };
16062
16063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16064 ecode1 = SWIG_AsVal_int(obj0, &val1);
16065 if (!SWIG_IsOK(ecode1)) {
16066 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16067 }
16068 arg1 = static_cast< wxEventType >(val1);
16069 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16070 if (!SWIG_IsOK(res2)) {
16071 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16072 }
16073 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16074 {
16075 PyThreadState* __tstate = wxPyBeginAllowThreads();
16076 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16081 return resultobj;
16082 fail:
16083 return NULL;
16084 }
16085
16086
16087 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16088 PyObject *obj;
16089 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16090 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16091 return SWIG_Py_Void();
16092 }
16093
16094 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16095 return SWIG_Python_InitShadowInstance(args);
16096 }
16097
16098 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16099 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16100 return 1;
16101 }
16102
16103
16104 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16105 PyObject *pyobj = 0;
16106
16107 {
16108 #if wxUSE_UNICODE
16109 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16110 #else
16111 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16112 #endif
16113 }
16114 return pyobj;
16115 }
16116
16117
16118 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16119 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16120 return 1;
16121 }
16122
16123
16124 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16125 PyObject *pyobj = 0;
16126
16127 {
16128 #if wxUSE_UNICODE
16129 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16130 #else
16131 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16132 #endif
16133 }
16134 return pyobj;
16135 }
16136
16137
16138 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16139 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16140 return 1;
16141 }
16142
16143
16144 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16145 PyObject *pyobj = 0;
16146
16147 {
16148 #if wxUSE_UNICODE
16149 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16150 #else
16151 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16152 #endif
16153 }
16154 return pyobj;
16155 }
16156
16157
16158 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16159 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16160 return 1;
16161 }
16162
16163
16164 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16165 PyObject *pyobj = 0;
16166
16167 {
16168 #if wxUSE_UNICODE
16169 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16170 #else
16171 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16172 #endif
16173 }
16174 return pyobj;
16175 }
16176
16177
16178 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16179 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16180 return 1;
16181 }
16182
16183
16184 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16185 PyObject *pyobj = 0;
16186
16187 {
16188 #if wxUSE_UNICODE
16189 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16190 #else
16191 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16192 #endif
16193 }
16194 return pyobj;
16195 }
16196
16197
16198 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16199 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16200 return 1;
16201 }
16202
16203
16204 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16205 PyObject *pyobj = 0;
16206
16207 {
16208 #if wxUSE_UNICODE
16209 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16210 #else
16211 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16212 #endif
16213 }
16214 return pyobj;
16215 }
16216
16217
16218 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16219 PyObject *resultobj = 0;
16220 wxColourData *result = 0 ;
16221
16222 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16223 {
16224 PyThreadState* __tstate = wxPyBeginAllowThreads();
16225 result = (wxColourData *)new wxColourData();
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16230 return resultobj;
16231 fail:
16232 return NULL;
16233 }
16234
16235
16236 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16237 PyObject *resultobj = 0;
16238 wxColourData *arg1 = (wxColourData *) 0 ;
16239 void *argp1 = 0 ;
16240 int res1 = 0 ;
16241 PyObject *swig_obj[1] ;
16242
16243 if (!args) SWIG_fail;
16244 swig_obj[0] = args;
16245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16246 if (!SWIG_IsOK(res1)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16248 }
16249 arg1 = reinterpret_cast< wxColourData * >(argp1);
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 delete arg1;
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 resultobj = SWIG_Py_Void();
16258 return resultobj;
16259 fail:
16260 return NULL;
16261 }
16262
16263
16264 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16265 PyObject *resultobj = 0;
16266 wxColourData *arg1 = (wxColourData *) 0 ;
16267 bool result;
16268 void *argp1 = 0 ;
16269 int res1 = 0 ;
16270 PyObject *swig_obj[1] ;
16271
16272 if (!args) SWIG_fail;
16273 swig_obj[0] = args;
16274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16275 if (!SWIG_IsOK(res1)) {
16276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16277 }
16278 arg1 = reinterpret_cast< wxColourData * >(argp1);
16279 {
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 result = (bool)(arg1)->GetChooseFull();
16282 wxPyEndAllowThreads(__tstate);
16283 if (PyErr_Occurred()) SWIG_fail;
16284 }
16285 {
16286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16287 }
16288 return resultobj;
16289 fail:
16290 return NULL;
16291 }
16292
16293
16294 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16295 PyObject *resultobj = 0;
16296 wxColourData *arg1 = (wxColourData *) 0 ;
16297 wxColour result;
16298 void *argp1 = 0 ;
16299 int res1 = 0 ;
16300 PyObject *swig_obj[1] ;
16301
16302 if (!args) SWIG_fail;
16303 swig_obj[0] = args;
16304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16305 if (!SWIG_IsOK(res1)) {
16306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16307 }
16308 arg1 = reinterpret_cast< wxColourData * >(argp1);
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 result = (arg1)->GetColour();
16312 wxPyEndAllowThreads(__tstate);
16313 if (PyErr_Occurred()) SWIG_fail;
16314 }
16315 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16316 return resultobj;
16317 fail:
16318 return NULL;
16319 }
16320
16321
16322 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16323 PyObject *resultobj = 0;
16324 wxColourData *arg1 = (wxColourData *) 0 ;
16325 int arg2 ;
16326 wxColour result;
16327 void *argp1 = 0 ;
16328 int res1 = 0 ;
16329 int val2 ;
16330 int ecode2 = 0 ;
16331 PyObject * obj0 = 0 ;
16332 PyObject * obj1 = 0 ;
16333 char * kwnames[] = {
16334 (char *) "self",(char *) "i", NULL
16335 };
16336
16337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16339 if (!SWIG_IsOK(res1)) {
16340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16341 }
16342 arg1 = reinterpret_cast< wxColourData * >(argp1);
16343 ecode2 = SWIG_AsVal_int(obj1, &val2);
16344 if (!SWIG_IsOK(ecode2)) {
16345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16346 }
16347 arg2 = static_cast< int >(val2);
16348 {
16349 PyThreadState* __tstate = wxPyBeginAllowThreads();
16350 result = (arg1)->GetCustomColour(arg2);
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16355 return resultobj;
16356 fail:
16357 return NULL;
16358 }
16359
16360
16361 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16362 PyObject *resultobj = 0;
16363 wxColourData *arg1 = (wxColourData *) 0 ;
16364 int arg2 ;
16365 void *argp1 = 0 ;
16366 int res1 = 0 ;
16367 int val2 ;
16368 int ecode2 = 0 ;
16369 PyObject * obj0 = 0 ;
16370 PyObject * obj1 = 0 ;
16371 char * kwnames[] = {
16372 (char *) "self",(char *) "flag", NULL
16373 };
16374
16375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16377 if (!SWIG_IsOK(res1)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16379 }
16380 arg1 = reinterpret_cast< wxColourData * >(argp1);
16381 ecode2 = SWIG_AsVal_int(obj1, &val2);
16382 if (!SWIG_IsOK(ecode2)) {
16383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16384 }
16385 arg2 = static_cast< int >(val2);
16386 {
16387 PyThreadState* __tstate = wxPyBeginAllowThreads();
16388 (arg1)->SetChooseFull(arg2);
16389 wxPyEndAllowThreads(__tstate);
16390 if (PyErr_Occurred()) SWIG_fail;
16391 }
16392 resultobj = SWIG_Py_Void();
16393 return resultobj;
16394 fail:
16395 return NULL;
16396 }
16397
16398
16399 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj = 0;
16401 wxColourData *arg1 = (wxColourData *) 0 ;
16402 wxColour *arg2 = 0 ;
16403 void *argp1 = 0 ;
16404 int res1 = 0 ;
16405 wxColour temp2 ;
16406 PyObject * obj0 = 0 ;
16407 PyObject * obj1 = 0 ;
16408 char * kwnames[] = {
16409 (char *) "self",(char *) "colour", NULL
16410 };
16411
16412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16414 if (!SWIG_IsOK(res1)) {
16415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16416 }
16417 arg1 = reinterpret_cast< wxColourData * >(argp1);
16418 {
16419 arg2 = &temp2;
16420 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16421 }
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 (arg1)->SetColour((wxColour const &)*arg2);
16425 wxPyEndAllowThreads(__tstate);
16426 if (PyErr_Occurred()) SWIG_fail;
16427 }
16428 resultobj = SWIG_Py_Void();
16429 return resultobj;
16430 fail:
16431 return NULL;
16432 }
16433
16434
16435 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16436 PyObject *resultobj = 0;
16437 wxColourData *arg1 = (wxColourData *) 0 ;
16438 int arg2 ;
16439 wxColour *arg3 = 0 ;
16440 void *argp1 = 0 ;
16441 int res1 = 0 ;
16442 int val2 ;
16443 int ecode2 = 0 ;
16444 wxColour temp3 ;
16445 PyObject * obj0 = 0 ;
16446 PyObject * obj1 = 0 ;
16447 PyObject * obj2 = 0 ;
16448 char * kwnames[] = {
16449 (char *) "self",(char *) "i",(char *) "colour", NULL
16450 };
16451
16452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16454 if (!SWIG_IsOK(res1)) {
16455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16456 }
16457 arg1 = reinterpret_cast< wxColourData * >(argp1);
16458 ecode2 = SWIG_AsVal_int(obj1, &val2);
16459 if (!SWIG_IsOK(ecode2)) {
16460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16461 }
16462 arg2 = static_cast< int >(val2);
16463 {
16464 arg3 = &temp3;
16465 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16466 }
16467 {
16468 PyThreadState* __tstate = wxPyBeginAllowThreads();
16469 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16470 wxPyEndAllowThreads(__tstate);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
16473 resultobj = SWIG_Py_Void();
16474 return resultobj;
16475 fail:
16476 return NULL;
16477 }
16478
16479
16480 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16481 PyObject *obj;
16482 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16483 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16484 return SWIG_Py_Void();
16485 }
16486
16487 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16488 return SWIG_Python_InitShadowInstance(args);
16489 }
16490
16491 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16492 PyObject *resultobj = 0;
16493 wxWindow *arg1 = (wxWindow *) 0 ;
16494 wxColourData *arg2 = (wxColourData *) NULL ;
16495 wxColourDialog *result = 0 ;
16496 void *argp1 = 0 ;
16497 int res1 = 0 ;
16498 void *argp2 = 0 ;
16499 int res2 = 0 ;
16500 PyObject * obj0 = 0 ;
16501 PyObject * obj1 = 0 ;
16502 char * kwnames[] = {
16503 (char *) "parent",(char *) "data", NULL
16504 };
16505
16506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16508 if (!SWIG_IsOK(res1)) {
16509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16510 }
16511 arg1 = reinterpret_cast< wxWindow * >(argp1);
16512 if (obj1) {
16513 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16514 if (!SWIG_IsOK(res2)) {
16515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16516 }
16517 arg2 = reinterpret_cast< wxColourData * >(argp2);
16518 }
16519 {
16520 if (!wxPyCheckForApp()) SWIG_fail;
16521 PyThreadState* __tstate = wxPyBeginAllowThreads();
16522 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16534 PyObject *resultobj = 0;
16535 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16536 wxColourData *result = 0 ;
16537 void *argp1 = 0 ;
16538 int res1 = 0 ;
16539 PyObject *swig_obj[1] ;
16540
16541 if (!args) SWIG_fail;
16542 swig_obj[0] = args;
16543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16544 if (!SWIG_IsOK(res1)) {
16545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16546 }
16547 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 {
16551 wxColourData &_result_ref = (arg1)->GetColourData();
16552 result = (wxColourData *) &_result_ref;
16553 }
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16558 return resultobj;
16559 fail:
16560 return NULL;
16561 }
16562
16563
16564 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16565 PyObject *obj;
16566 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16567 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16568 return SWIG_Py_Void();
16569 }
16570
16571 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16572 return SWIG_Python_InitShadowInstance(args);
16573 }
16574
16575 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16576 PyObject *resultobj = 0;
16577 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16578 wxColour const &arg2_defvalue = wxNullColour ;
16579 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16580 wxString const &arg3_defvalue = wxPyEmptyString ;
16581 wxString *arg3 = (wxString *) &arg3_defvalue ;
16582 wxColour result;
16583 void *argp1 = 0 ;
16584 int res1 = 0 ;
16585 wxColour temp2 ;
16586 bool temp3 = false ;
16587 PyObject * obj0 = 0 ;
16588 PyObject * obj1 = 0 ;
16589 PyObject * obj2 = 0 ;
16590 char * kwnames[] = {
16591 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16592 };
16593
16594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16595 if (obj0) {
16596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16597 if (!SWIG_IsOK(res1)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16599 }
16600 arg1 = reinterpret_cast< wxWindow * >(argp1);
16601 }
16602 if (obj1) {
16603 {
16604 arg2 = &temp2;
16605 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16606 }
16607 }
16608 if (obj2) {
16609 {
16610 arg3 = wxString_in_helper(obj2);
16611 if (arg3 == NULL) SWIG_fail;
16612 temp3 = true;
16613 }
16614 }
16615 {
16616 PyThreadState* __tstate = wxPyBeginAllowThreads();
16617 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16618 wxPyEndAllowThreads(__tstate);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16622 {
16623 if (temp3)
16624 delete arg3;
16625 }
16626 return resultobj;
16627 fail:
16628 {
16629 if (temp3)
16630 delete arg3;
16631 }
16632 return NULL;
16633 }
16634
16635
16636 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj = 0;
16638 wxWindow *arg1 = (wxWindow *) 0 ;
16639 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16640 wxString *arg2 = (wxString *) &arg2_defvalue ;
16641 wxString const &arg3_defvalue = wxPyEmptyString ;
16642 wxString *arg3 = (wxString *) &arg3_defvalue ;
16643 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16644 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16645 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16646 wxSize const &arg6_defvalue = wxDefaultSize ;
16647 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16648 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16649 wxString *arg7 = (wxString *) &arg7_defvalue ;
16650 wxDirDialog *result = 0 ;
16651 void *argp1 = 0 ;
16652 int res1 = 0 ;
16653 bool temp2 = false ;
16654 bool temp3 = false ;
16655 long val4 ;
16656 int ecode4 = 0 ;
16657 wxPoint temp5 ;
16658 wxSize temp6 ;
16659 bool temp7 = false ;
16660 PyObject * obj0 = 0 ;
16661 PyObject * obj1 = 0 ;
16662 PyObject * obj2 = 0 ;
16663 PyObject * obj3 = 0 ;
16664 PyObject * obj4 = 0 ;
16665 PyObject * obj5 = 0 ;
16666 PyObject * obj6 = 0 ;
16667 char * kwnames[] = {
16668 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16669 };
16670
16671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16673 if (!SWIG_IsOK(res1)) {
16674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16675 }
16676 arg1 = reinterpret_cast< wxWindow * >(argp1);
16677 if (obj1) {
16678 {
16679 arg2 = wxString_in_helper(obj1);
16680 if (arg2 == NULL) SWIG_fail;
16681 temp2 = true;
16682 }
16683 }
16684 if (obj2) {
16685 {
16686 arg3 = wxString_in_helper(obj2);
16687 if (arg3 == NULL) SWIG_fail;
16688 temp3 = true;
16689 }
16690 }
16691 if (obj3) {
16692 ecode4 = SWIG_AsVal_long(obj3, &val4);
16693 if (!SWIG_IsOK(ecode4)) {
16694 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16695 }
16696 arg4 = static_cast< long >(val4);
16697 }
16698 if (obj4) {
16699 {
16700 arg5 = &temp5;
16701 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16702 }
16703 }
16704 if (obj5) {
16705 {
16706 arg6 = &temp6;
16707 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16708 }
16709 }
16710 if (obj6) {
16711 {
16712 arg7 = wxString_in_helper(obj6);
16713 if (arg7 == NULL) SWIG_fail;
16714 temp7 = true;
16715 }
16716 }
16717 {
16718 if (!wxPyCheckForApp()) SWIG_fail;
16719 PyThreadState* __tstate = wxPyBeginAllowThreads();
16720 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16721 wxPyEndAllowThreads(__tstate);
16722 if (PyErr_Occurred()) SWIG_fail;
16723 }
16724 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16725 {
16726 if (temp2)
16727 delete arg2;
16728 }
16729 {
16730 if (temp3)
16731 delete arg3;
16732 }
16733 {
16734 if (temp7)
16735 delete arg7;
16736 }
16737 return resultobj;
16738 fail:
16739 {
16740 if (temp2)
16741 delete arg2;
16742 }
16743 {
16744 if (temp3)
16745 delete arg3;
16746 }
16747 {
16748 if (temp7)
16749 delete arg7;
16750 }
16751 return NULL;
16752 }
16753
16754
16755 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16756 PyObject *resultobj = 0;
16757 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16758 wxString result;
16759 void *argp1 = 0 ;
16760 int res1 = 0 ;
16761 PyObject *swig_obj[1] ;
16762
16763 if (!args) SWIG_fail;
16764 swig_obj[0] = args;
16765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16766 if (!SWIG_IsOK(res1)) {
16767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16768 }
16769 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 result = (arg1)->GetPath();
16773 wxPyEndAllowThreads(__tstate);
16774 if (PyErr_Occurred()) SWIG_fail;
16775 }
16776 {
16777 #if wxUSE_UNICODE
16778 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16779 #else
16780 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16781 #endif
16782 }
16783 return resultobj;
16784 fail:
16785 return NULL;
16786 }
16787
16788
16789 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16790 PyObject *resultobj = 0;
16791 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16792 wxString result;
16793 void *argp1 = 0 ;
16794 int res1 = 0 ;
16795 PyObject *swig_obj[1] ;
16796
16797 if (!args) SWIG_fail;
16798 swig_obj[0] = args;
16799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16800 if (!SWIG_IsOK(res1)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16802 }
16803 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16804 {
16805 PyThreadState* __tstate = wxPyBeginAllowThreads();
16806 result = (arg1)->GetMessage();
16807 wxPyEndAllowThreads(__tstate);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 {
16811 #if wxUSE_UNICODE
16812 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16813 #else
16814 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16815 #endif
16816 }
16817 return resultobj;
16818 fail:
16819 return NULL;
16820 }
16821
16822
16823 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16824 PyObject *resultobj = 0;
16825 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16826 wxString *arg2 = 0 ;
16827 void *argp1 = 0 ;
16828 int res1 = 0 ;
16829 bool temp2 = false ;
16830 PyObject * obj0 = 0 ;
16831 PyObject * obj1 = 0 ;
16832 char * kwnames[] = {
16833 (char *) "self",(char *) "message", NULL
16834 };
16835
16836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16838 if (!SWIG_IsOK(res1)) {
16839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16840 }
16841 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16842 {
16843 arg2 = wxString_in_helper(obj1);
16844 if (arg2 == NULL) SWIG_fail;
16845 temp2 = true;
16846 }
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 (arg1)->SetMessage((wxString const &)*arg2);
16850 wxPyEndAllowThreads(__tstate);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 resultobj = SWIG_Py_Void();
16854 {
16855 if (temp2)
16856 delete arg2;
16857 }
16858 return resultobj;
16859 fail:
16860 {
16861 if (temp2)
16862 delete arg2;
16863 }
16864 return NULL;
16865 }
16866
16867
16868 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16869 PyObject *resultobj = 0;
16870 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16871 wxString *arg2 = 0 ;
16872 void *argp1 = 0 ;
16873 int res1 = 0 ;
16874 bool temp2 = false ;
16875 PyObject * obj0 = 0 ;
16876 PyObject * obj1 = 0 ;
16877 char * kwnames[] = {
16878 (char *) "self",(char *) "path", NULL
16879 };
16880
16881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16883 if (!SWIG_IsOK(res1)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16885 }
16886 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16887 {
16888 arg2 = wxString_in_helper(obj1);
16889 if (arg2 == NULL) SWIG_fail;
16890 temp2 = true;
16891 }
16892 {
16893 PyThreadState* __tstate = wxPyBeginAllowThreads();
16894 (arg1)->SetPath((wxString const &)*arg2);
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 resultobj = SWIG_Py_Void();
16899 {
16900 if (temp2)
16901 delete arg2;
16902 }
16903 return resultobj;
16904 fail:
16905 {
16906 if (temp2)
16907 delete arg2;
16908 }
16909 return NULL;
16910 }
16911
16912
16913 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16914 PyObject *obj;
16915 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16916 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16917 return SWIG_Py_Void();
16918 }
16919
16920 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16921 return SWIG_Python_InitShadowInstance(args);
16922 }
16923
16924 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16925 PyObject *resultobj = 0;
16926 wxWindow *arg1 = (wxWindow *) 0 ;
16927 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16928 wxString *arg2 = (wxString *) &arg2_defvalue ;
16929 wxString const &arg3_defvalue = wxPyEmptyString ;
16930 wxString *arg3 = (wxString *) &arg3_defvalue ;
16931 wxString const &arg4_defvalue = wxPyEmptyString ;
16932 wxString *arg4 = (wxString *) &arg4_defvalue ;
16933 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16934 wxString *arg5 = (wxString *) &arg5_defvalue ;
16935 long arg6 = (long) wxFD_DEFAULT_STYLE ;
16936 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16937 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16938 wxFileDialog *result = 0 ;
16939 void *argp1 = 0 ;
16940 int res1 = 0 ;
16941 bool temp2 = false ;
16942 bool temp3 = false ;
16943 bool temp4 = false ;
16944 bool temp5 = false ;
16945 long val6 ;
16946 int ecode6 = 0 ;
16947 wxPoint temp7 ;
16948 PyObject * obj0 = 0 ;
16949 PyObject * obj1 = 0 ;
16950 PyObject * obj2 = 0 ;
16951 PyObject * obj3 = 0 ;
16952 PyObject * obj4 = 0 ;
16953 PyObject * obj5 = 0 ;
16954 PyObject * obj6 = 0 ;
16955 char * kwnames[] = {
16956 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16957 };
16958
16959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16961 if (!SWIG_IsOK(res1)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16963 }
16964 arg1 = reinterpret_cast< wxWindow * >(argp1);
16965 if (obj1) {
16966 {
16967 arg2 = wxString_in_helper(obj1);
16968 if (arg2 == NULL) SWIG_fail;
16969 temp2 = true;
16970 }
16971 }
16972 if (obj2) {
16973 {
16974 arg3 = wxString_in_helper(obj2);
16975 if (arg3 == NULL) SWIG_fail;
16976 temp3 = true;
16977 }
16978 }
16979 if (obj3) {
16980 {
16981 arg4 = wxString_in_helper(obj3);
16982 if (arg4 == NULL) SWIG_fail;
16983 temp4 = true;
16984 }
16985 }
16986 if (obj4) {
16987 {
16988 arg5 = wxString_in_helper(obj4);
16989 if (arg5 == NULL) SWIG_fail;
16990 temp5 = true;
16991 }
16992 }
16993 if (obj5) {
16994 ecode6 = SWIG_AsVal_long(obj5, &val6);
16995 if (!SWIG_IsOK(ecode6)) {
16996 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16997 }
16998 arg6 = static_cast< long >(val6);
16999 }
17000 if (obj6) {
17001 {
17002 arg7 = &temp7;
17003 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17004 }
17005 }
17006 {
17007 if (!wxPyCheckForApp()) SWIG_fail;
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17010 wxPyEndAllowThreads(__tstate);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
17013 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17014 {
17015 if (temp2)
17016 delete arg2;
17017 }
17018 {
17019 if (temp3)
17020 delete arg3;
17021 }
17022 {
17023 if (temp4)
17024 delete arg4;
17025 }
17026 {
17027 if (temp5)
17028 delete arg5;
17029 }
17030 return resultobj;
17031 fail:
17032 {
17033 if (temp2)
17034 delete arg2;
17035 }
17036 {
17037 if (temp3)
17038 delete arg3;
17039 }
17040 {
17041 if (temp4)
17042 delete arg4;
17043 }
17044 {
17045 if (temp5)
17046 delete arg5;
17047 }
17048 return NULL;
17049 }
17050
17051
17052 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17053 PyObject *resultobj = 0;
17054 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17055 wxString *arg2 = 0 ;
17056 void *argp1 = 0 ;
17057 int res1 = 0 ;
17058 bool temp2 = false ;
17059 PyObject * obj0 = 0 ;
17060 PyObject * obj1 = 0 ;
17061 char * kwnames[] = {
17062 (char *) "self",(char *) "message", NULL
17063 };
17064
17065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17067 if (!SWIG_IsOK(res1)) {
17068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17069 }
17070 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17071 {
17072 arg2 = wxString_in_helper(obj1);
17073 if (arg2 == NULL) SWIG_fail;
17074 temp2 = true;
17075 }
17076 {
17077 PyThreadState* __tstate = wxPyBeginAllowThreads();
17078 (arg1)->SetMessage((wxString const &)*arg2);
17079 wxPyEndAllowThreads(__tstate);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
17082 resultobj = SWIG_Py_Void();
17083 {
17084 if (temp2)
17085 delete arg2;
17086 }
17087 return resultobj;
17088 fail:
17089 {
17090 if (temp2)
17091 delete arg2;
17092 }
17093 return NULL;
17094 }
17095
17096
17097 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17098 PyObject *resultobj = 0;
17099 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17100 wxString *arg2 = 0 ;
17101 void *argp1 = 0 ;
17102 int res1 = 0 ;
17103 bool temp2 = false ;
17104 PyObject * obj0 = 0 ;
17105 PyObject * obj1 = 0 ;
17106 char * kwnames[] = {
17107 (char *) "self",(char *) "path", NULL
17108 };
17109
17110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17112 if (!SWIG_IsOK(res1)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17114 }
17115 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17116 {
17117 arg2 = wxString_in_helper(obj1);
17118 if (arg2 == NULL) SWIG_fail;
17119 temp2 = true;
17120 }
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 (arg1)->SetPath((wxString const &)*arg2);
17124 wxPyEndAllowThreads(__tstate);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
17127 resultobj = SWIG_Py_Void();
17128 {
17129 if (temp2)
17130 delete arg2;
17131 }
17132 return resultobj;
17133 fail:
17134 {
17135 if (temp2)
17136 delete arg2;
17137 }
17138 return NULL;
17139 }
17140
17141
17142 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj = 0;
17144 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17145 wxString *arg2 = 0 ;
17146 void *argp1 = 0 ;
17147 int res1 = 0 ;
17148 bool temp2 = false ;
17149 PyObject * obj0 = 0 ;
17150 PyObject * obj1 = 0 ;
17151 char * kwnames[] = {
17152 (char *) "self",(char *) "dir", NULL
17153 };
17154
17155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17157 if (!SWIG_IsOK(res1)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17159 }
17160 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17161 {
17162 arg2 = wxString_in_helper(obj1);
17163 if (arg2 == NULL) SWIG_fail;
17164 temp2 = true;
17165 }
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 (arg1)->SetDirectory((wxString const &)*arg2);
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 resultobj = SWIG_Py_Void();
17173 {
17174 if (temp2)
17175 delete arg2;
17176 }
17177 return resultobj;
17178 fail:
17179 {
17180 if (temp2)
17181 delete arg2;
17182 }
17183 return NULL;
17184 }
17185
17186
17187 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17188 PyObject *resultobj = 0;
17189 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17190 wxString *arg2 = 0 ;
17191 void *argp1 = 0 ;
17192 int res1 = 0 ;
17193 bool temp2 = false ;
17194 PyObject * obj0 = 0 ;
17195 PyObject * obj1 = 0 ;
17196 char * kwnames[] = {
17197 (char *) "self",(char *) "name", NULL
17198 };
17199
17200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17202 if (!SWIG_IsOK(res1)) {
17203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17204 }
17205 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17206 {
17207 arg2 = wxString_in_helper(obj1);
17208 if (arg2 == NULL) SWIG_fail;
17209 temp2 = true;
17210 }
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 (arg1)->SetFilename((wxString const &)*arg2);
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 resultobj = SWIG_Py_Void();
17218 {
17219 if (temp2)
17220 delete arg2;
17221 }
17222 return resultobj;
17223 fail:
17224 {
17225 if (temp2)
17226 delete arg2;
17227 }
17228 return NULL;
17229 }
17230
17231
17232 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17233 PyObject *resultobj = 0;
17234 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17235 wxString *arg2 = 0 ;
17236 void *argp1 = 0 ;
17237 int res1 = 0 ;
17238 bool temp2 = false ;
17239 PyObject * obj0 = 0 ;
17240 PyObject * obj1 = 0 ;
17241 char * kwnames[] = {
17242 (char *) "self",(char *) "wildCard", NULL
17243 };
17244
17245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17247 if (!SWIG_IsOK(res1)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17249 }
17250 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17251 {
17252 arg2 = wxString_in_helper(obj1);
17253 if (arg2 == NULL) SWIG_fail;
17254 temp2 = true;
17255 }
17256 {
17257 PyThreadState* __tstate = wxPyBeginAllowThreads();
17258 (arg1)->SetWildcard((wxString const &)*arg2);
17259 wxPyEndAllowThreads(__tstate);
17260 if (PyErr_Occurred()) SWIG_fail;
17261 }
17262 resultobj = SWIG_Py_Void();
17263 {
17264 if (temp2)
17265 delete arg2;
17266 }
17267 return resultobj;
17268 fail:
17269 {
17270 if (temp2)
17271 delete arg2;
17272 }
17273 return NULL;
17274 }
17275
17276
17277 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17278 PyObject *resultobj = 0;
17279 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17280 int arg2 ;
17281 void *argp1 = 0 ;
17282 int res1 = 0 ;
17283 int val2 ;
17284 int ecode2 = 0 ;
17285 PyObject * obj0 = 0 ;
17286 PyObject * obj1 = 0 ;
17287 char * kwnames[] = {
17288 (char *) "self",(char *) "filterIndex", NULL
17289 };
17290
17291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17293 if (!SWIG_IsOK(res1)) {
17294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17295 }
17296 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17297 ecode2 = SWIG_AsVal_int(obj1, &val2);
17298 if (!SWIG_IsOK(ecode2)) {
17299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17300 }
17301 arg2 = static_cast< int >(val2);
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 (arg1)->SetFilterIndex(arg2);
17305 wxPyEndAllowThreads(__tstate);
17306 if (PyErr_Occurred()) SWIG_fail;
17307 }
17308 resultobj = SWIG_Py_Void();
17309 return resultobj;
17310 fail:
17311 return NULL;
17312 }
17313
17314
17315 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17316 PyObject *resultobj = 0;
17317 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17318 wxString result;
17319 void *argp1 = 0 ;
17320 int res1 = 0 ;
17321 PyObject *swig_obj[1] ;
17322
17323 if (!args) SWIG_fail;
17324 swig_obj[0] = args;
17325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17326 if (!SWIG_IsOK(res1)) {
17327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17328 }
17329 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17330 {
17331 PyThreadState* __tstate = wxPyBeginAllowThreads();
17332 result = ((wxFileDialog const *)arg1)->GetMessage();
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 {
17337 #if wxUSE_UNICODE
17338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17339 #else
17340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17341 #endif
17342 }
17343 return resultobj;
17344 fail:
17345 return NULL;
17346 }
17347
17348
17349 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17350 PyObject *resultobj = 0;
17351 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17352 wxString result;
17353 void *argp1 = 0 ;
17354 int res1 = 0 ;
17355 PyObject *swig_obj[1] ;
17356
17357 if (!args) SWIG_fail;
17358 swig_obj[0] = args;
17359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17360 if (!SWIG_IsOK(res1)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17362 }
17363 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 result = ((wxFileDialog const *)arg1)->GetPath();
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 {
17371 #if wxUSE_UNICODE
17372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17373 #else
17374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17375 #endif
17376 }
17377 return resultobj;
17378 fail:
17379 return NULL;
17380 }
17381
17382
17383 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17384 PyObject *resultobj = 0;
17385 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17386 wxString result;
17387 void *argp1 = 0 ;
17388 int res1 = 0 ;
17389 PyObject *swig_obj[1] ;
17390
17391 if (!args) SWIG_fail;
17392 swig_obj[0] = args;
17393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17394 if (!SWIG_IsOK(res1)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17396 }
17397 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = ((wxFileDialog const *)arg1)->GetDirectory();
17401 wxPyEndAllowThreads(__tstate);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 }
17404 {
17405 #if wxUSE_UNICODE
17406 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17407 #else
17408 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17409 #endif
17410 }
17411 return resultobj;
17412 fail:
17413 return NULL;
17414 }
17415
17416
17417 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17418 PyObject *resultobj = 0;
17419 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17420 wxString result;
17421 void *argp1 = 0 ;
17422 int res1 = 0 ;
17423 PyObject *swig_obj[1] ;
17424
17425 if (!args) SWIG_fail;
17426 swig_obj[0] = args;
17427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17428 if (!SWIG_IsOK(res1)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17430 }
17431 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = ((wxFileDialog const *)arg1)->GetFilename();
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 {
17439 #if wxUSE_UNICODE
17440 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17441 #else
17442 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17443 #endif
17444 }
17445 return resultobj;
17446 fail:
17447 return NULL;
17448 }
17449
17450
17451 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17452 PyObject *resultobj = 0;
17453 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17454 wxString result;
17455 void *argp1 = 0 ;
17456 int res1 = 0 ;
17457 PyObject *swig_obj[1] ;
17458
17459 if (!args) SWIG_fail;
17460 swig_obj[0] = args;
17461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17462 if (!SWIG_IsOK(res1)) {
17463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17464 }
17465 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = ((wxFileDialog const *)arg1)->GetWildcard();
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 {
17473 #if wxUSE_UNICODE
17474 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17475 #else
17476 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17477 #endif
17478 }
17479 return resultobj;
17480 fail:
17481 return NULL;
17482 }
17483
17484
17485 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17486 PyObject *resultobj = 0;
17487 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17488 int result;
17489 void *argp1 = 0 ;
17490 int res1 = 0 ;
17491 PyObject *swig_obj[1] ;
17492
17493 if (!args) SWIG_fail;
17494 swig_obj[0] = args;
17495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17496 if (!SWIG_IsOK(res1)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17498 }
17499 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17500 {
17501 PyThreadState* __tstate = wxPyBeginAllowThreads();
17502 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17503 wxPyEndAllowThreads(__tstate);
17504 if (PyErr_Occurred()) SWIG_fail;
17505 }
17506 resultobj = SWIG_From_int(static_cast< int >(result));
17507 return resultobj;
17508 fail:
17509 return NULL;
17510 }
17511
17512
17513 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17514 PyObject *resultobj = 0;
17515 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17516 PyObject *result = 0 ;
17517 void *argp1 = 0 ;
17518 int res1 = 0 ;
17519 PyObject *swig_obj[1] ;
17520
17521 if (!args) SWIG_fail;
17522 swig_obj[0] = args;
17523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17524 if (!SWIG_IsOK(res1)) {
17525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17526 }
17527 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17528 {
17529 PyThreadState* __tstate = wxPyBeginAllowThreads();
17530 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 resultobj = result;
17535 return resultobj;
17536 fail:
17537 return NULL;
17538 }
17539
17540
17541 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17542 PyObject *resultobj = 0;
17543 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17544 PyObject *result = 0 ;
17545 void *argp1 = 0 ;
17546 int res1 = 0 ;
17547 PyObject *swig_obj[1] ;
17548
17549 if (!args) SWIG_fail;
17550 swig_obj[0] = args;
17551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17552 if (!SWIG_IsOK(res1)) {
17553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17554 }
17555 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17556 {
17557 PyThreadState* __tstate = wxPyBeginAllowThreads();
17558 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 resultobj = result;
17563 return resultobj;
17564 fail:
17565 return NULL;
17566 }
17567
17568
17569 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17570 PyObject *obj;
17571 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17572 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17573 return SWIG_Py_Void();
17574 }
17575
17576 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17577 return SWIG_Python_InitShadowInstance(args);
17578 }
17579
17580 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17581 PyObject *resultobj = 0;
17582 wxWindow *arg1 = (wxWindow *) 0 ;
17583 wxString *arg2 = 0 ;
17584 wxString *arg3 = 0 ;
17585 int arg4 = (int) 0 ;
17586 wxString *arg5 = (wxString *) NULL ;
17587 long arg6 = (long) wxCHOICEDLG_STYLE ;
17588 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17589 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17590 wxMultiChoiceDialog *result = 0 ;
17591 void *argp1 = 0 ;
17592 int res1 = 0 ;
17593 bool temp2 = false ;
17594 bool temp3 = false ;
17595 long val6 ;
17596 int ecode6 = 0 ;
17597 wxPoint temp7 ;
17598 PyObject * obj0 = 0 ;
17599 PyObject * obj1 = 0 ;
17600 PyObject * obj2 = 0 ;
17601 PyObject * obj3 = 0 ;
17602 PyObject * obj4 = 0 ;
17603 PyObject * obj5 = 0 ;
17604 char * kwnames[] = {
17605 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17606 };
17607
17608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17610 if (!SWIG_IsOK(res1)) {
17611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17612 }
17613 arg1 = reinterpret_cast< wxWindow * >(argp1);
17614 {
17615 arg2 = wxString_in_helper(obj1);
17616 if (arg2 == NULL) SWIG_fail;
17617 temp2 = true;
17618 }
17619 {
17620 arg3 = wxString_in_helper(obj2);
17621 if (arg3 == NULL) SWIG_fail;
17622 temp3 = true;
17623 }
17624 if (obj3) {
17625 {
17626 arg4 = PyList_Size(obj3);
17627 arg5 = wxString_LIST_helper(obj3);
17628 if (arg5 == NULL) SWIG_fail;
17629 }
17630 }
17631 if (obj4) {
17632 ecode6 = SWIG_AsVal_long(obj4, &val6);
17633 if (!SWIG_IsOK(ecode6)) {
17634 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17635 }
17636 arg6 = static_cast< long >(val6);
17637 }
17638 if (obj5) {
17639 {
17640 arg7 = &temp7;
17641 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17642 }
17643 }
17644 {
17645 if (!wxPyCheckForApp()) SWIG_fail;
17646 PyThreadState* __tstate = wxPyBeginAllowThreads();
17647 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17648 wxPyEndAllowThreads(__tstate);
17649 if (PyErr_Occurred()) SWIG_fail;
17650 }
17651 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17652 {
17653 if (temp2)
17654 delete arg2;
17655 }
17656 {
17657 if (temp3)
17658 delete arg3;
17659 }
17660 {
17661 if (arg5) delete [] arg5;
17662 }
17663 return resultobj;
17664 fail:
17665 {
17666 if (temp2)
17667 delete arg2;
17668 }
17669 {
17670 if (temp3)
17671 delete arg3;
17672 }
17673 {
17674 if (arg5) delete [] arg5;
17675 }
17676 return NULL;
17677 }
17678
17679
17680 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj = 0;
17682 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17683 wxArrayInt *arg2 = 0 ;
17684 void *argp1 = 0 ;
17685 int res1 = 0 ;
17686 bool temp2 = false ;
17687 PyObject * obj0 = 0 ;
17688 PyObject * obj1 = 0 ;
17689 char * kwnames[] = {
17690 (char *) "self",(char *) "selections", NULL
17691 };
17692
17693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17695 if (!SWIG_IsOK(res1)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17697 }
17698 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17699 {
17700 if (! PySequence_Check(obj1)) {
17701 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17702 SWIG_fail;
17703 }
17704 arg2 = new wxArrayInt;
17705 temp2 = true;
17706 int i, len=PySequence_Length(obj1);
17707 for (i=0; i<len; i++) {
17708 PyObject* item = PySequence_GetItem(obj1, i);
17709 PyObject* number = PyNumber_Int(item);
17710 arg2->Add(PyInt_AS_LONG(number));
17711 Py_DECREF(item);
17712 Py_DECREF(number);
17713 }
17714 }
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17718 wxPyEndAllowThreads(__tstate);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 }
17721 resultobj = SWIG_Py_Void();
17722 {
17723 if (temp2) delete arg2;
17724 }
17725 return resultobj;
17726 fail:
17727 {
17728 if (temp2) delete arg2;
17729 }
17730 return NULL;
17731 }
17732
17733
17734 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17735 PyObject *resultobj = 0;
17736 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17737 PyObject *result = 0 ;
17738 void *argp1 = 0 ;
17739 int res1 = 0 ;
17740 PyObject *swig_obj[1] ;
17741
17742 if (!args) SWIG_fail;
17743 swig_obj[0] = args;
17744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17745 if (!SWIG_IsOK(res1)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17747 }
17748 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17749 {
17750 PyThreadState* __tstate = wxPyBeginAllowThreads();
17751 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 resultobj = result;
17756 return resultobj;
17757 fail:
17758 return NULL;
17759 }
17760
17761
17762 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17763 PyObject *obj;
17764 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17765 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17766 return SWIG_Py_Void();
17767 }
17768
17769 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17770 return SWIG_Python_InitShadowInstance(args);
17771 }
17772
17773 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj = 0;
17775 wxWindow *arg1 = (wxWindow *) 0 ;
17776 wxString *arg2 = 0 ;
17777 wxString *arg3 = 0 ;
17778 int arg4 ;
17779 wxString *arg5 = (wxString *) 0 ;
17780 long arg6 = (long) wxCHOICEDLG_STYLE ;
17781 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17782 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17783 wxSingleChoiceDialog *result = 0 ;
17784 void *argp1 = 0 ;
17785 int res1 = 0 ;
17786 bool temp2 = false ;
17787 bool temp3 = false ;
17788 long val6 ;
17789 int ecode6 = 0 ;
17790 wxPoint temp7 ;
17791 PyObject * obj0 = 0 ;
17792 PyObject * obj1 = 0 ;
17793 PyObject * obj2 = 0 ;
17794 PyObject * obj3 = 0 ;
17795 PyObject * obj4 = 0 ;
17796 PyObject * obj5 = 0 ;
17797 char * kwnames[] = {
17798 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17799 };
17800
17801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17803 if (!SWIG_IsOK(res1)) {
17804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17805 }
17806 arg1 = reinterpret_cast< wxWindow * >(argp1);
17807 {
17808 arg2 = wxString_in_helper(obj1);
17809 if (arg2 == NULL) SWIG_fail;
17810 temp2 = true;
17811 }
17812 {
17813 arg3 = wxString_in_helper(obj2);
17814 if (arg3 == NULL) SWIG_fail;
17815 temp3 = true;
17816 }
17817 {
17818 arg4 = PyList_Size(obj3);
17819 arg5 = wxString_LIST_helper(obj3);
17820 if (arg5 == NULL) SWIG_fail;
17821 }
17822 if (obj4) {
17823 ecode6 = SWIG_AsVal_long(obj4, &val6);
17824 if (!SWIG_IsOK(ecode6)) {
17825 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17826 }
17827 arg6 = static_cast< long >(val6);
17828 }
17829 if (obj5) {
17830 {
17831 arg7 = &temp7;
17832 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17833 }
17834 }
17835 {
17836 if (!wxPyCheckForApp()) SWIG_fail;
17837 PyThreadState* __tstate = wxPyBeginAllowThreads();
17838 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17839 wxPyEndAllowThreads(__tstate);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
17842 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17843 {
17844 if (temp2)
17845 delete arg2;
17846 }
17847 {
17848 if (temp3)
17849 delete arg3;
17850 }
17851 {
17852 if (arg5) delete [] arg5;
17853 }
17854 return resultobj;
17855 fail:
17856 {
17857 if (temp2)
17858 delete arg2;
17859 }
17860 {
17861 if (temp3)
17862 delete arg3;
17863 }
17864 {
17865 if (arg5) delete [] arg5;
17866 }
17867 return NULL;
17868 }
17869
17870
17871 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17872 PyObject *resultobj = 0;
17873 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17874 int result;
17875 void *argp1 = 0 ;
17876 int res1 = 0 ;
17877 PyObject *swig_obj[1] ;
17878
17879 if (!args) SWIG_fail;
17880 swig_obj[0] = args;
17881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17882 if (!SWIG_IsOK(res1)) {
17883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17884 }
17885 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17886 {
17887 PyThreadState* __tstate = wxPyBeginAllowThreads();
17888 result = (int)(arg1)->GetSelection();
17889 wxPyEndAllowThreads(__tstate);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
17892 resultobj = SWIG_From_int(static_cast< int >(result));
17893 return resultobj;
17894 fail:
17895 return NULL;
17896 }
17897
17898
17899 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17900 PyObject *resultobj = 0;
17901 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17902 wxString result;
17903 void *argp1 = 0 ;
17904 int res1 = 0 ;
17905 PyObject *swig_obj[1] ;
17906
17907 if (!args) SWIG_fail;
17908 swig_obj[0] = args;
17909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17910 if (!SWIG_IsOK(res1)) {
17911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17912 }
17913 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17914 {
17915 PyThreadState* __tstate = wxPyBeginAllowThreads();
17916 result = (arg1)->GetStringSelection();
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 {
17921 #if wxUSE_UNICODE
17922 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17923 #else
17924 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17925 #endif
17926 }
17927 return resultobj;
17928 fail:
17929 return NULL;
17930 }
17931
17932
17933 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17934 PyObject *resultobj = 0;
17935 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17936 int arg2 ;
17937 void *argp1 = 0 ;
17938 int res1 = 0 ;
17939 int val2 ;
17940 int ecode2 = 0 ;
17941 PyObject * obj0 = 0 ;
17942 PyObject * obj1 = 0 ;
17943 char * kwnames[] = {
17944 (char *) "self",(char *) "sel", NULL
17945 };
17946
17947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17949 if (!SWIG_IsOK(res1)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17951 }
17952 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17953 ecode2 = SWIG_AsVal_int(obj1, &val2);
17954 if (!SWIG_IsOK(ecode2)) {
17955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17956 }
17957 arg2 = static_cast< int >(val2);
17958 {
17959 PyThreadState* __tstate = wxPyBeginAllowThreads();
17960 (arg1)->SetSelection(arg2);
17961 wxPyEndAllowThreads(__tstate);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 resultobj = SWIG_Py_Void();
17965 return resultobj;
17966 fail:
17967 return NULL;
17968 }
17969
17970
17971 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17972 PyObject *obj;
17973 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17974 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17975 return SWIG_Py_Void();
17976 }
17977
17978 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17979 return SWIG_Python_InitShadowInstance(args);
17980 }
17981
17982 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17983 PyObject *resultobj = 0;
17984 wxWindow *arg1 = (wxWindow *) 0 ;
17985 wxString *arg2 = 0 ;
17986 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17987 wxString *arg3 = (wxString *) &arg3_defvalue ;
17988 wxString const &arg4_defvalue = wxPyEmptyString ;
17989 wxString *arg4 = (wxString *) &arg4_defvalue ;
17990 long arg5 = (long) wxTextEntryDialogStyle ;
17991 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17992 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17993 wxTextEntryDialog *result = 0 ;
17994 void *argp1 = 0 ;
17995 int res1 = 0 ;
17996 bool temp2 = false ;
17997 bool temp3 = false ;
17998 bool temp4 = false ;
17999 long val5 ;
18000 int ecode5 = 0 ;
18001 wxPoint temp6 ;
18002 PyObject * obj0 = 0 ;
18003 PyObject * obj1 = 0 ;
18004 PyObject * obj2 = 0 ;
18005 PyObject * obj3 = 0 ;
18006 PyObject * obj4 = 0 ;
18007 PyObject * obj5 = 0 ;
18008 char * kwnames[] = {
18009 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18010 };
18011
18012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18014 if (!SWIG_IsOK(res1)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18016 }
18017 arg1 = reinterpret_cast< wxWindow * >(argp1);
18018 {
18019 arg2 = wxString_in_helper(obj1);
18020 if (arg2 == NULL) SWIG_fail;
18021 temp2 = true;
18022 }
18023 if (obj2) {
18024 {
18025 arg3 = wxString_in_helper(obj2);
18026 if (arg3 == NULL) SWIG_fail;
18027 temp3 = true;
18028 }
18029 }
18030 if (obj3) {
18031 {
18032 arg4 = wxString_in_helper(obj3);
18033 if (arg4 == NULL) SWIG_fail;
18034 temp4 = true;
18035 }
18036 }
18037 if (obj4) {
18038 ecode5 = SWIG_AsVal_long(obj4, &val5);
18039 if (!SWIG_IsOK(ecode5)) {
18040 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18041 }
18042 arg5 = static_cast< long >(val5);
18043 }
18044 if (obj5) {
18045 {
18046 arg6 = &temp6;
18047 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18048 }
18049 }
18050 {
18051 if (!wxPyCheckForApp()) SWIG_fail;
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18058 {
18059 if (temp2)
18060 delete arg2;
18061 }
18062 {
18063 if (temp3)
18064 delete arg3;
18065 }
18066 {
18067 if (temp4)
18068 delete arg4;
18069 }
18070 return resultobj;
18071 fail:
18072 {
18073 if (temp2)
18074 delete arg2;
18075 }
18076 {
18077 if (temp3)
18078 delete arg3;
18079 }
18080 {
18081 if (temp4)
18082 delete arg4;
18083 }
18084 return NULL;
18085 }
18086
18087
18088 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18089 PyObject *resultobj = 0;
18090 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18091 wxString result;
18092 void *argp1 = 0 ;
18093 int res1 = 0 ;
18094 PyObject *swig_obj[1] ;
18095
18096 if (!args) SWIG_fail;
18097 swig_obj[0] = args;
18098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18099 if (!SWIG_IsOK(res1)) {
18100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18101 }
18102 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (arg1)->GetValue();
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 {
18110 #if wxUSE_UNICODE
18111 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18112 #else
18113 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18114 #endif
18115 }
18116 return resultobj;
18117 fail:
18118 return NULL;
18119 }
18120
18121
18122 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18123 PyObject *resultobj = 0;
18124 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18125 wxString *arg2 = 0 ;
18126 void *argp1 = 0 ;
18127 int res1 = 0 ;
18128 bool temp2 = false ;
18129 PyObject * obj0 = 0 ;
18130 PyObject * obj1 = 0 ;
18131 char * kwnames[] = {
18132 (char *) "self",(char *) "value", NULL
18133 };
18134
18135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18137 if (!SWIG_IsOK(res1)) {
18138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18139 }
18140 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18141 {
18142 arg2 = wxString_in_helper(obj1);
18143 if (arg2 == NULL) SWIG_fail;
18144 temp2 = true;
18145 }
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 (arg1)->SetValue((wxString const &)*arg2);
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 resultobj = SWIG_Py_Void();
18153 {
18154 if (temp2)
18155 delete arg2;
18156 }
18157 return resultobj;
18158 fail:
18159 {
18160 if (temp2)
18161 delete arg2;
18162 }
18163 return NULL;
18164 }
18165
18166
18167 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18168 PyObject *obj;
18169 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18170 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18171 return SWIG_Py_Void();
18172 }
18173
18174 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18175 return SWIG_Python_InitShadowInstance(args);
18176 }
18177
18178 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18179 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18180 return 1;
18181 }
18182
18183
18184 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18185 PyObject *pyobj = 0;
18186
18187 {
18188 #if wxUSE_UNICODE
18189 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18190 #else
18191 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18192 #endif
18193 }
18194 return pyobj;
18195 }
18196
18197
18198 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18199 PyObject *resultobj = 0;
18200 wxWindow *arg1 = (wxWindow *) 0 ;
18201 wxString *arg2 = 0 ;
18202 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18203 wxString *arg3 = (wxString *) &arg3_defvalue ;
18204 wxString const &arg4_defvalue = wxPyEmptyString ;
18205 wxString *arg4 = (wxString *) &arg4_defvalue ;
18206 long arg5 = (long) wxTextEntryDialogStyle ;
18207 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18208 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18209 wxPasswordEntryDialog *result = 0 ;
18210 void *argp1 = 0 ;
18211 int res1 = 0 ;
18212 bool temp2 = false ;
18213 bool temp3 = false ;
18214 bool temp4 = false ;
18215 long val5 ;
18216 int ecode5 = 0 ;
18217 wxPoint temp6 ;
18218 PyObject * obj0 = 0 ;
18219 PyObject * obj1 = 0 ;
18220 PyObject * obj2 = 0 ;
18221 PyObject * obj3 = 0 ;
18222 PyObject * obj4 = 0 ;
18223 PyObject * obj5 = 0 ;
18224 char * kwnames[] = {
18225 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18226 };
18227
18228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18230 if (!SWIG_IsOK(res1)) {
18231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18232 }
18233 arg1 = reinterpret_cast< wxWindow * >(argp1);
18234 {
18235 arg2 = wxString_in_helper(obj1);
18236 if (arg2 == NULL) SWIG_fail;
18237 temp2 = true;
18238 }
18239 if (obj2) {
18240 {
18241 arg3 = wxString_in_helper(obj2);
18242 if (arg3 == NULL) SWIG_fail;
18243 temp3 = true;
18244 }
18245 }
18246 if (obj3) {
18247 {
18248 arg4 = wxString_in_helper(obj3);
18249 if (arg4 == NULL) SWIG_fail;
18250 temp4 = true;
18251 }
18252 }
18253 if (obj4) {
18254 ecode5 = SWIG_AsVal_long(obj4, &val5);
18255 if (!SWIG_IsOK(ecode5)) {
18256 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18257 }
18258 arg5 = static_cast< long >(val5);
18259 }
18260 if (obj5) {
18261 {
18262 arg6 = &temp6;
18263 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18264 }
18265 }
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18273 {
18274 if (temp2)
18275 delete arg2;
18276 }
18277 {
18278 if (temp3)
18279 delete arg3;
18280 }
18281 {
18282 if (temp4)
18283 delete arg4;
18284 }
18285 return resultobj;
18286 fail:
18287 {
18288 if (temp2)
18289 delete arg2;
18290 }
18291 {
18292 if (temp3)
18293 delete arg3;
18294 }
18295 {
18296 if (temp4)
18297 delete arg4;
18298 }
18299 return NULL;
18300 }
18301
18302
18303 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18304 PyObject *obj;
18305 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18306 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18307 return SWIG_Py_Void();
18308 }
18309
18310 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18311 return SWIG_Python_InitShadowInstance(args);
18312 }
18313
18314 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18315 PyObject *resultobj = 0;
18316 wxWindow *arg1 = (wxWindow *) 0 ;
18317 wxString *arg2 = 0 ;
18318 wxString *arg3 = 0 ;
18319 wxString *arg4 = 0 ;
18320 long arg5 ;
18321 long arg6 ;
18322 long arg7 ;
18323 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18324 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18325 wxNumberEntryDialog *result = 0 ;
18326 void *argp1 = 0 ;
18327 int res1 = 0 ;
18328 bool temp2 = false ;
18329 bool temp3 = false ;
18330 bool temp4 = false ;
18331 long val5 ;
18332 int ecode5 = 0 ;
18333 long val6 ;
18334 int ecode6 = 0 ;
18335 long val7 ;
18336 int ecode7 = 0 ;
18337 wxPoint temp8 ;
18338 PyObject * obj0 = 0 ;
18339 PyObject * obj1 = 0 ;
18340 PyObject * obj2 = 0 ;
18341 PyObject * obj3 = 0 ;
18342 PyObject * obj4 = 0 ;
18343 PyObject * obj5 = 0 ;
18344 PyObject * obj6 = 0 ;
18345 PyObject * obj7 = 0 ;
18346 char * kwnames[] = {
18347 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18348 };
18349
18350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18352 if (!SWIG_IsOK(res1)) {
18353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18354 }
18355 arg1 = reinterpret_cast< wxWindow * >(argp1);
18356 {
18357 arg2 = wxString_in_helper(obj1);
18358 if (arg2 == NULL) SWIG_fail;
18359 temp2 = true;
18360 }
18361 {
18362 arg3 = wxString_in_helper(obj2);
18363 if (arg3 == NULL) SWIG_fail;
18364 temp3 = true;
18365 }
18366 {
18367 arg4 = wxString_in_helper(obj3);
18368 if (arg4 == NULL) SWIG_fail;
18369 temp4 = true;
18370 }
18371 ecode5 = SWIG_AsVal_long(obj4, &val5);
18372 if (!SWIG_IsOK(ecode5)) {
18373 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18374 }
18375 arg5 = static_cast< long >(val5);
18376 ecode6 = SWIG_AsVal_long(obj5, &val6);
18377 if (!SWIG_IsOK(ecode6)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18379 }
18380 arg6 = static_cast< long >(val6);
18381 ecode7 = SWIG_AsVal_long(obj6, &val7);
18382 if (!SWIG_IsOK(ecode7)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18384 }
18385 arg7 = static_cast< long >(val7);
18386 if (obj7) {
18387 {
18388 arg8 = &temp8;
18389 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18390 }
18391 }
18392 {
18393 if (!wxPyCheckForApp()) SWIG_fail;
18394 PyThreadState* __tstate = wxPyBeginAllowThreads();
18395 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18396 wxPyEndAllowThreads(__tstate);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18400 {
18401 if (temp2)
18402 delete arg2;
18403 }
18404 {
18405 if (temp3)
18406 delete arg3;
18407 }
18408 {
18409 if (temp4)
18410 delete arg4;
18411 }
18412 return resultobj;
18413 fail:
18414 {
18415 if (temp2)
18416 delete arg2;
18417 }
18418 {
18419 if (temp3)
18420 delete arg3;
18421 }
18422 {
18423 if (temp4)
18424 delete arg4;
18425 }
18426 return NULL;
18427 }
18428
18429
18430 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18431 PyObject *resultobj = 0;
18432 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18433 long result;
18434 void *argp1 = 0 ;
18435 int res1 = 0 ;
18436 PyObject *swig_obj[1] ;
18437
18438 if (!args) SWIG_fail;
18439 swig_obj[0] = args;
18440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18441 if (!SWIG_IsOK(res1)) {
18442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18443 }
18444 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18445 {
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 result = (long)(arg1)->GetValue();
18448 wxPyEndAllowThreads(__tstate);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 }
18451 resultobj = SWIG_From_long(static_cast< long >(result));
18452 return resultobj;
18453 fail:
18454 return NULL;
18455 }
18456
18457
18458 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18459 PyObject *obj;
18460 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18461 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18462 return SWIG_Py_Void();
18463 }
18464
18465 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18466 return SWIG_Python_InitShadowInstance(args);
18467 }
18468
18469 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18470 PyObject *resultobj = 0;
18471 wxFontData *result = 0 ;
18472
18473 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18474 {
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
18476 result = (wxFontData *)new wxFontData();
18477 wxPyEndAllowThreads(__tstate);
18478 if (PyErr_Occurred()) SWIG_fail;
18479 }
18480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18481 return resultobj;
18482 fail:
18483 return NULL;
18484 }
18485
18486
18487 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18488 PyObject *resultobj = 0;
18489 wxFontData *arg1 = (wxFontData *) 0 ;
18490 void *argp1 = 0 ;
18491 int res1 = 0 ;
18492 PyObject *swig_obj[1] ;
18493
18494 if (!args) SWIG_fail;
18495 swig_obj[0] = args;
18496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18497 if (!SWIG_IsOK(res1)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18499 }
18500 arg1 = reinterpret_cast< wxFontData * >(argp1);
18501 {
18502 PyThreadState* __tstate = wxPyBeginAllowThreads();
18503 delete arg1;
18504
18505 wxPyEndAllowThreads(__tstate);
18506 if (PyErr_Occurred()) SWIG_fail;
18507 }
18508 resultobj = SWIG_Py_Void();
18509 return resultobj;
18510 fail:
18511 return NULL;
18512 }
18513
18514
18515 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18516 PyObject *resultobj = 0;
18517 wxFontData *arg1 = (wxFontData *) 0 ;
18518 bool arg2 ;
18519 void *argp1 = 0 ;
18520 int res1 = 0 ;
18521 bool val2 ;
18522 int ecode2 = 0 ;
18523 PyObject * obj0 = 0 ;
18524 PyObject * obj1 = 0 ;
18525 char * kwnames[] = {
18526 (char *) "self",(char *) "enable", NULL
18527 };
18528
18529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18531 if (!SWIG_IsOK(res1)) {
18532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18533 }
18534 arg1 = reinterpret_cast< wxFontData * >(argp1);
18535 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18536 if (!SWIG_IsOK(ecode2)) {
18537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18538 }
18539 arg2 = static_cast< bool >(val2);
18540 {
18541 PyThreadState* __tstate = wxPyBeginAllowThreads();
18542 (arg1)->EnableEffects(arg2);
18543 wxPyEndAllowThreads(__tstate);
18544 if (PyErr_Occurred()) SWIG_fail;
18545 }
18546 resultobj = SWIG_Py_Void();
18547 return resultobj;
18548 fail:
18549 return NULL;
18550 }
18551
18552
18553 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18554 PyObject *resultobj = 0;
18555 wxFontData *arg1 = (wxFontData *) 0 ;
18556 bool result;
18557 void *argp1 = 0 ;
18558 int res1 = 0 ;
18559 PyObject *swig_obj[1] ;
18560
18561 if (!args) SWIG_fail;
18562 swig_obj[0] = args;
18563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18564 if (!SWIG_IsOK(res1)) {
18565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18566 }
18567 arg1 = reinterpret_cast< wxFontData * >(argp1);
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 result = (bool)(arg1)->GetAllowSymbols();
18571 wxPyEndAllowThreads(__tstate);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 }
18574 {
18575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18576 }
18577 return resultobj;
18578 fail:
18579 return NULL;
18580 }
18581
18582
18583 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18584 PyObject *resultobj = 0;
18585 wxFontData *arg1 = (wxFontData *) 0 ;
18586 wxColour result;
18587 void *argp1 = 0 ;
18588 int res1 = 0 ;
18589 PyObject *swig_obj[1] ;
18590
18591 if (!args) SWIG_fail;
18592 swig_obj[0] = args;
18593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18594 if (!SWIG_IsOK(res1)) {
18595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18596 }
18597 arg1 = reinterpret_cast< wxFontData * >(argp1);
18598 {
18599 PyThreadState* __tstate = wxPyBeginAllowThreads();
18600 result = (arg1)->GetColour();
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18605 return resultobj;
18606 fail:
18607 return NULL;
18608 }
18609
18610
18611 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18612 PyObject *resultobj = 0;
18613 wxFontData *arg1 = (wxFontData *) 0 ;
18614 wxFont result;
18615 void *argp1 = 0 ;
18616 int res1 = 0 ;
18617 PyObject *swig_obj[1] ;
18618
18619 if (!args) SWIG_fail;
18620 swig_obj[0] = args;
18621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18622 if (!SWIG_IsOK(res1)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18624 }
18625 arg1 = reinterpret_cast< wxFontData * >(argp1);
18626 {
18627 PyThreadState* __tstate = wxPyBeginAllowThreads();
18628 result = (arg1)->GetChosenFont();
18629 wxPyEndAllowThreads(__tstate);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
18632 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18633 return resultobj;
18634 fail:
18635 return NULL;
18636 }
18637
18638
18639 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18640 PyObject *resultobj = 0;
18641 wxFontData *arg1 = (wxFontData *) 0 ;
18642 bool result;
18643 void *argp1 = 0 ;
18644 int res1 = 0 ;
18645 PyObject *swig_obj[1] ;
18646
18647 if (!args) SWIG_fail;
18648 swig_obj[0] = args;
18649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18650 if (!SWIG_IsOK(res1)) {
18651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18652 }
18653 arg1 = reinterpret_cast< wxFontData * >(argp1);
18654 {
18655 PyThreadState* __tstate = wxPyBeginAllowThreads();
18656 result = (bool)(arg1)->GetEnableEffects();
18657 wxPyEndAllowThreads(__tstate);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
18660 {
18661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18662 }
18663 return resultobj;
18664 fail:
18665 return NULL;
18666 }
18667
18668
18669 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18670 PyObject *resultobj = 0;
18671 wxFontData *arg1 = (wxFontData *) 0 ;
18672 wxFont result;
18673 void *argp1 = 0 ;
18674 int res1 = 0 ;
18675 PyObject *swig_obj[1] ;
18676
18677 if (!args) SWIG_fail;
18678 swig_obj[0] = args;
18679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18680 if (!SWIG_IsOK(res1)) {
18681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18682 }
18683 arg1 = reinterpret_cast< wxFontData * >(argp1);
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 result = (arg1)->GetInitialFont();
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18691 return resultobj;
18692 fail:
18693 return NULL;
18694 }
18695
18696
18697 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18698 PyObject *resultobj = 0;
18699 wxFontData *arg1 = (wxFontData *) 0 ;
18700 bool result;
18701 void *argp1 = 0 ;
18702 int res1 = 0 ;
18703 PyObject *swig_obj[1] ;
18704
18705 if (!args) SWIG_fail;
18706 swig_obj[0] = args;
18707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18708 if (!SWIG_IsOK(res1)) {
18709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18710 }
18711 arg1 = reinterpret_cast< wxFontData * >(argp1);
18712 {
18713 PyThreadState* __tstate = wxPyBeginAllowThreads();
18714 result = (bool)(arg1)->GetShowHelp();
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
18718 {
18719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18720 }
18721 return resultobj;
18722 fail:
18723 return NULL;
18724 }
18725
18726
18727 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18728 PyObject *resultobj = 0;
18729 wxFontData *arg1 = (wxFontData *) 0 ;
18730 bool arg2 ;
18731 void *argp1 = 0 ;
18732 int res1 = 0 ;
18733 bool val2 ;
18734 int ecode2 = 0 ;
18735 PyObject * obj0 = 0 ;
18736 PyObject * obj1 = 0 ;
18737 char * kwnames[] = {
18738 (char *) "self",(char *) "allowSymbols", NULL
18739 };
18740
18741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18743 if (!SWIG_IsOK(res1)) {
18744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18745 }
18746 arg1 = reinterpret_cast< wxFontData * >(argp1);
18747 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18748 if (!SWIG_IsOK(ecode2)) {
18749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18750 }
18751 arg2 = static_cast< bool >(val2);
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 (arg1)->SetAllowSymbols(arg2);
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
18758 resultobj = SWIG_Py_Void();
18759 return resultobj;
18760 fail:
18761 return NULL;
18762 }
18763
18764
18765 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18766 PyObject *resultobj = 0;
18767 wxFontData *arg1 = (wxFontData *) 0 ;
18768 wxFont *arg2 = 0 ;
18769 void *argp1 = 0 ;
18770 int res1 = 0 ;
18771 void *argp2 = 0 ;
18772 int res2 = 0 ;
18773 PyObject * obj0 = 0 ;
18774 PyObject * obj1 = 0 ;
18775 char * kwnames[] = {
18776 (char *) "self",(char *) "font", NULL
18777 };
18778
18779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18781 if (!SWIG_IsOK(res1)) {
18782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18783 }
18784 arg1 = reinterpret_cast< wxFontData * >(argp1);
18785 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18786 if (!SWIG_IsOK(res2)) {
18787 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18788 }
18789 if (!argp2) {
18790 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18791 }
18792 arg2 = reinterpret_cast< wxFont * >(argp2);
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 (arg1)->SetChosenFont((wxFont const &)*arg2);
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
18799 resultobj = SWIG_Py_Void();
18800 return resultobj;
18801 fail:
18802 return NULL;
18803 }
18804
18805
18806 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18807 PyObject *resultobj = 0;
18808 wxFontData *arg1 = (wxFontData *) 0 ;
18809 wxColour *arg2 = 0 ;
18810 void *argp1 = 0 ;
18811 int res1 = 0 ;
18812 wxColour temp2 ;
18813 PyObject * obj0 = 0 ;
18814 PyObject * obj1 = 0 ;
18815 char * kwnames[] = {
18816 (char *) "self",(char *) "colour", NULL
18817 };
18818
18819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18821 if (!SWIG_IsOK(res1)) {
18822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18823 }
18824 arg1 = reinterpret_cast< wxFontData * >(argp1);
18825 {
18826 arg2 = &temp2;
18827 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18828 }
18829 {
18830 PyThreadState* __tstate = wxPyBeginAllowThreads();
18831 (arg1)->SetColour((wxColour const &)*arg2);
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
18835 resultobj = SWIG_Py_Void();
18836 return resultobj;
18837 fail:
18838 return NULL;
18839 }
18840
18841
18842 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18843 PyObject *resultobj = 0;
18844 wxFontData *arg1 = (wxFontData *) 0 ;
18845 wxFont *arg2 = 0 ;
18846 void *argp1 = 0 ;
18847 int res1 = 0 ;
18848 void *argp2 = 0 ;
18849 int res2 = 0 ;
18850 PyObject * obj0 = 0 ;
18851 PyObject * obj1 = 0 ;
18852 char * kwnames[] = {
18853 (char *) "self",(char *) "font", NULL
18854 };
18855
18856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18858 if (!SWIG_IsOK(res1)) {
18859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18860 }
18861 arg1 = reinterpret_cast< wxFontData * >(argp1);
18862 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18863 if (!SWIG_IsOK(res2)) {
18864 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18865 }
18866 if (!argp2) {
18867 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18868 }
18869 arg2 = reinterpret_cast< wxFont * >(argp2);
18870 {
18871 PyThreadState* __tstate = wxPyBeginAllowThreads();
18872 (arg1)->SetInitialFont((wxFont const &)*arg2);
18873 wxPyEndAllowThreads(__tstate);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
18876 resultobj = SWIG_Py_Void();
18877 return resultobj;
18878 fail:
18879 return NULL;
18880 }
18881
18882
18883 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18884 PyObject *resultobj = 0;
18885 wxFontData *arg1 = (wxFontData *) 0 ;
18886 int arg2 ;
18887 int arg3 ;
18888 void *argp1 = 0 ;
18889 int res1 = 0 ;
18890 int val2 ;
18891 int ecode2 = 0 ;
18892 int val3 ;
18893 int ecode3 = 0 ;
18894 PyObject * obj0 = 0 ;
18895 PyObject * obj1 = 0 ;
18896 PyObject * obj2 = 0 ;
18897 char * kwnames[] = {
18898 (char *) "self",(char *) "min",(char *) "max", NULL
18899 };
18900
18901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18903 if (!SWIG_IsOK(res1)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18905 }
18906 arg1 = reinterpret_cast< wxFontData * >(argp1);
18907 ecode2 = SWIG_AsVal_int(obj1, &val2);
18908 if (!SWIG_IsOK(ecode2)) {
18909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18910 }
18911 arg2 = static_cast< int >(val2);
18912 ecode3 = SWIG_AsVal_int(obj2, &val3);
18913 if (!SWIG_IsOK(ecode3)) {
18914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18915 }
18916 arg3 = static_cast< int >(val3);
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 (arg1)->SetRange(arg2,arg3);
18920 wxPyEndAllowThreads(__tstate);
18921 if (PyErr_Occurred()) SWIG_fail;
18922 }
18923 resultobj = SWIG_Py_Void();
18924 return resultobj;
18925 fail:
18926 return NULL;
18927 }
18928
18929
18930 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18931 PyObject *resultobj = 0;
18932 wxFontData *arg1 = (wxFontData *) 0 ;
18933 bool arg2 ;
18934 void *argp1 = 0 ;
18935 int res1 = 0 ;
18936 bool val2 ;
18937 int ecode2 = 0 ;
18938 PyObject * obj0 = 0 ;
18939 PyObject * obj1 = 0 ;
18940 char * kwnames[] = {
18941 (char *) "self",(char *) "showHelp", NULL
18942 };
18943
18944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18946 if (!SWIG_IsOK(res1)) {
18947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18948 }
18949 arg1 = reinterpret_cast< wxFontData * >(argp1);
18950 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18951 if (!SWIG_IsOK(ecode2)) {
18952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18953 }
18954 arg2 = static_cast< bool >(val2);
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 (arg1)->SetShowHelp(arg2);
18958 wxPyEndAllowThreads(__tstate);
18959 if (PyErr_Occurred()) SWIG_fail;
18960 }
18961 resultobj = SWIG_Py_Void();
18962 return resultobj;
18963 fail:
18964 return NULL;
18965 }
18966
18967
18968 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18969 PyObject *obj;
18970 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18971 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18972 return SWIG_Py_Void();
18973 }
18974
18975 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18976 return SWIG_Python_InitShadowInstance(args);
18977 }
18978
18979 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj = 0;
18981 wxWindow *arg1 = (wxWindow *) 0 ;
18982 wxFontData *arg2 = 0 ;
18983 wxFontDialog *result = 0 ;
18984 void *argp1 = 0 ;
18985 int res1 = 0 ;
18986 void *argp2 = 0 ;
18987 int res2 = 0 ;
18988 PyObject * obj0 = 0 ;
18989 PyObject * obj1 = 0 ;
18990 char * kwnames[] = {
18991 (char *) "parent",(char *) "data", NULL
18992 };
18993
18994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18996 if (!SWIG_IsOK(res1)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18998 }
18999 arg1 = reinterpret_cast< wxWindow * >(argp1);
19000 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19001 if (!SWIG_IsOK(res2)) {
19002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19003 }
19004 if (!argp2) {
19005 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19006 }
19007 arg2 = reinterpret_cast< wxFontData * >(argp2);
19008 {
19009 if (!wxPyCheckForApp()) SWIG_fail;
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19016 return resultobj;
19017 fail:
19018 return NULL;
19019 }
19020
19021
19022 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19023 PyObject *resultobj = 0;
19024 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19025 wxFontData *result = 0 ;
19026 void *argp1 = 0 ;
19027 int res1 = 0 ;
19028 PyObject *swig_obj[1] ;
19029
19030 if (!args) SWIG_fail;
19031 swig_obj[0] = args;
19032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19033 if (!SWIG_IsOK(res1)) {
19034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19035 }
19036 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19037 {
19038 PyThreadState* __tstate = wxPyBeginAllowThreads();
19039 {
19040 wxFontData &_result_ref = (arg1)->GetFontData();
19041 result = (wxFontData *) &_result_ref;
19042 }
19043 wxPyEndAllowThreads(__tstate);
19044 if (PyErr_Occurred()) SWIG_fail;
19045 }
19046 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19047 return resultobj;
19048 fail:
19049 return NULL;
19050 }
19051
19052
19053 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19054 PyObject *obj;
19055 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19056 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19057 return SWIG_Py_Void();
19058 }
19059
19060 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19061 return SWIG_Python_InitShadowInstance(args);
19062 }
19063
19064 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19065 PyObject *resultobj = 0;
19066 wxWindow *arg1 = (wxWindow *) NULL ;
19067 wxFont const &arg2_defvalue = wxNullFont ;
19068 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19069 wxString const &arg3_defvalue = wxPyEmptyString ;
19070 wxString *arg3 = (wxString *) &arg3_defvalue ;
19071 wxFont result;
19072 void *argp1 = 0 ;
19073 int res1 = 0 ;
19074 void *argp2 = 0 ;
19075 int res2 = 0 ;
19076 bool temp3 = false ;
19077 PyObject * obj0 = 0 ;
19078 PyObject * obj1 = 0 ;
19079 PyObject * obj2 = 0 ;
19080 char * kwnames[] = {
19081 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19082 };
19083
19084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19085 if (obj0) {
19086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19087 if (!SWIG_IsOK(res1)) {
19088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19089 }
19090 arg1 = reinterpret_cast< wxWindow * >(argp1);
19091 }
19092 if (obj1) {
19093 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19094 if (!SWIG_IsOK(res2)) {
19095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19096 }
19097 if (!argp2) {
19098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19099 }
19100 arg2 = reinterpret_cast< wxFont * >(argp2);
19101 }
19102 if (obj2) {
19103 {
19104 arg3 = wxString_in_helper(obj2);
19105 if (arg3 == NULL) SWIG_fail;
19106 temp3 = true;
19107 }
19108 }
19109 {
19110 PyThreadState* __tstate = wxPyBeginAllowThreads();
19111 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19112 wxPyEndAllowThreads(__tstate);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19116 {
19117 if (temp3)
19118 delete arg3;
19119 }
19120 return resultobj;
19121 fail:
19122 {
19123 if (temp3)
19124 delete arg3;
19125 }
19126 return NULL;
19127 }
19128
19129
19130 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj = 0;
19132 wxWindow *arg1 = (wxWindow *) 0 ;
19133 wxString *arg2 = 0 ;
19134 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19135 wxString *arg3 = (wxString *) &arg3_defvalue ;
19136 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19137 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19138 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19139 wxMessageDialog *result = 0 ;
19140 void *argp1 = 0 ;
19141 int res1 = 0 ;
19142 bool temp2 = false ;
19143 bool temp3 = false ;
19144 long val4 ;
19145 int ecode4 = 0 ;
19146 wxPoint temp5 ;
19147 PyObject * obj0 = 0 ;
19148 PyObject * obj1 = 0 ;
19149 PyObject * obj2 = 0 ;
19150 PyObject * obj3 = 0 ;
19151 PyObject * obj4 = 0 ;
19152 char * kwnames[] = {
19153 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19154 };
19155
19156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19158 if (!SWIG_IsOK(res1)) {
19159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19160 }
19161 arg1 = reinterpret_cast< wxWindow * >(argp1);
19162 {
19163 arg2 = wxString_in_helper(obj1);
19164 if (arg2 == NULL) SWIG_fail;
19165 temp2 = true;
19166 }
19167 if (obj2) {
19168 {
19169 arg3 = wxString_in_helper(obj2);
19170 if (arg3 == NULL) SWIG_fail;
19171 temp3 = true;
19172 }
19173 }
19174 if (obj3) {
19175 ecode4 = SWIG_AsVal_long(obj3, &val4);
19176 if (!SWIG_IsOK(ecode4)) {
19177 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19178 }
19179 arg4 = static_cast< long >(val4);
19180 }
19181 if (obj4) {
19182 {
19183 arg5 = &temp5;
19184 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19185 }
19186 }
19187 {
19188 if (!wxPyCheckForApp()) SWIG_fail;
19189 PyThreadState* __tstate = wxPyBeginAllowThreads();
19190 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19191 wxPyEndAllowThreads(__tstate);
19192 if (PyErr_Occurred()) SWIG_fail;
19193 }
19194 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19195 {
19196 if (temp2)
19197 delete arg2;
19198 }
19199 {
19200 if (temp3)
19201 delete arg3;
19202 }
19203 return resultobj;
19204 fail:
19205 {
19206 if (temp2)
19207 delete arg2;
19208 }
19209 {
19210 if (temp3)
19211 delete arg3;
19212 }
19213 return NULL;
19214 }
19215
19216
19217 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19218 PyObject *obj;
19219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19220 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19221 return SWIG_Py_Void();
19222 }
19223
19224 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19225 return SWIG_Python_InitShadowInstance(args);
19226 }
19227
19228 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19229 PyObject *resultobj = 0;
19230 wxString *arg1 = 0 ;
19231 wxString *arg2 = 0 ;
19232 int arg3 = (int) 100 ;
19233 wxWindow *arg4 = (wxWindow *) NULL ;
19234 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19235 wxProgressDialog *result = 0 ;
19236 bool temp1 = false ;
19237 bool temp2 = false ;
19238 int val3 ;
19239 int ecode3 = 0 ;
19240 void *argp4 = 0 ;
19241 int res4 = 0 ;
19242 int val5 ;
19243 int ecode5 = 0 ;
19244 PyObject * obj0 = 0 ;
19245 PyObject * obj1 = 0 ;
19246 PyObject * obj2 = 0 ;
19247 PyObject * obj3 = 0 ;
19248 PyObject * obj4 = 0 ;
19249 char * kwnames[] = {
19250 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19251 };
19252
19253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19254 {
19255 arg1 = wxString_in_helper(obj0);
19256 if (arg1 == NULL) SWIG_fail;
19257 temp1 = true;
19258 }
19259 {
19260 arg2 = wxString_in_helper(obj1);
19261 if (arg2 == NULL) SWIG_fail;
19262 temp2 = true;
19263 }
19264 if (obj2) {
19265 ecode3 = SWIG_AsVal_int(obj2, &val3);
19266 if (!SWIG_IsOK(ecode3)) {
19267 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19268 }
19269 arg3 = static_cast< int >(val3);
19270 }
19271 if (obj3) {
19272 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19273 if (!SWIG_IsOK(res4)) {
19274 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19275 }
19276 arg4 = reinterpret_cast< wxWindow * >(argp4);
19277 }
19278 if (obj4) {
19279 ecode5 = SWIG_AsVal_int(obj4, &val5);
19280 if (!SWIG_IsOK(ecode5)) {
19281 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19282 }
19283 arg5 = static_cast< int >(val5);
19284 }
19285 {
19286 if (!wxPyCheckForApp()) SWIG_fail;
19287 PyThreadState* __tstate = wxPyBeginAllowThreads();
19288 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19289 wxPyEndAllowThreads(__tstate);
19290 if (PyErr_Occurred()) SWIG_fail;
19291 }
19292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19293 {
19294 if (temp1)
19295 delete arg1;
19296 }
19297 {
19298 if (temp2)
19299 delete arg2;
19300 }
19301 return resultobj;
19302 fail:
19303 {
19304 if (temp1)
19305 delete arg1;
19306 }
19307 {
19308 if (temp2)
19309 delete arg2;
19310 }
19311 return NULL;
19312 }
19313
19314
19315 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj = 0;
19317 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19318 int arg2 ;
19319 wxString const &arg3_defvalue = wxPyEmptyString ;
19320 wxString *arg3 = (wxString *) &arg3_defvalue ;
19321 bool *arg4 = (bool *) 0 ;
19322 bool result;
19323 void *argp1 = 0 ;
19324 int res1 = 0 ;
19325 int val2 ;
19326 int ecode2 = 0 ;
19327 bool temp3 = false ;
19328 bool temp4 ;
19329 int res4 = SWIG_TMPOBJ ;
19330 PyObject * obj0 = 0 ;
19331 PyObject * obj1 = 0 ;
19332 PyObject * obj2 = 0 ;
19333 char * kwnames[] = {
19334 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19335 };
19336
19337 arg4 = &temp4;
19338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19340 if (!SWIG_IsOK(res1)) {
19341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19342 }
19343 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19344 ecode2 = SWIG_AsVal_int(obj1, &val2);
19345 if (!SWIG_IsOK(ecode2)) {
19346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19347 }
19348 arg2 = static_cast< int >(val2);
19349 if (obj2) {
19350 {
19351 arg3 = wxString_in_helper(obj2);
19352 if (arg3 == NULL) SWIG_fail;
19353 temp3 = true;
19354 }
19355 }
19356 {
19357 PyThreadState* __tstate = wxPyBeginAllowThreads();
19358 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19359 wxPyEndAllowThreads(__tstate);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 }
19362 {
19363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19364 }
19365 if (SWIG_IsTmpObj(res4)) {
19366 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19367 } else {
19368 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19369 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19370 }
19371 {
19372 if (temp3)
19373 delete arg3;
19374 }
19375 return resultobj;
19376 fail:
19377 {
19378 if (temp3)
19379 delete arg3;
19380 }
19381 return NULL;
19382 }
19383
19384
19385 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19386 PyObject *resultobj = 0;
19387 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19388 void *argp1 = 0 ;
19389 int res1 = 0 ;
19390 PyObject *swig_obj[1] ;
19391
19392 if (!args) SWIG_fail;
19393 swig_obj[0] = args;
19394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19395 if (!SWIG_IsOK(res1)) {
19396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19397 }
19398 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 (arg1)->Resume();
19402 wxPyEndAllowThreads(__tstate);
19403 if (PyErr_Occurred()) SWIG_fail;
19404 }
19405 resultobj = SWIG_Py_Void();
19406 return resultobj;
19407 fail:
19408 return NULL;
19409 }
19410
19411
19412 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19413 PyObject *obj;
19414 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19415 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19416 return SWIG_Py_Void();
19417 }
19418
19419 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19420 return SWIG_Python_InitShadowInstance(args);
19421 }
19422
19423 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19424 PyObject *resultobj = 0;
19425 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19426 int arg2 = (int) 0 ;
19427 wxFindDialogEvent *result = 0 ;
19428 int val1 ;
19429 int ecode1 = 0 ;
19430 int val2 ;
19431 int ecode2 = 0 ;
19432 PyObject * obj0 = 0 ;
19433 PyObject * obj1 = 0 ;
19434 char * kwnames[] = {
19435 (char *) "commandType",(char *) "id", NULL
19436 };
19437
19438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19439 if (obj0) {
19440 ecode1 = SWIG_AsVal_int(obj0, &val1);
19441 if (!SWIG_IsOK(ecode1)) {
19442 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19443 }
19444 arg1 = static_cast< wxEventType >(val1);
19445 }
19446 if (obj1) {
19447 ecode2 = SWIG_AsVal_int(obj1, &val2);
19448 if (!SWIG_IsOK(ecode2)) {
19449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19450 }
19451 arg2 = static_cast< int >(val2);
19452 }
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19456 wxPyEndAllowThreads(__tstate);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
19459 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19460 return resultobj;
19461 fail:
19462 return NULL;
19463 }
19464
19465
19466 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19467 PyObject *resultobj = 0;
19468 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19469 int result;
19470 void *argp1 = 0 ;
19471 int res1 = 0 ;
19472 PyObject *swig_obj[1] ;
19473
19474 if (!args) SWIG_fail;
19475 swig_obj[0] = args;
19476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19477 if (!SWIG_IsOK(res1)) {
19478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19479 }
19480 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19481 {
19482 PyThreadState* __tstate = wxPyBeginAllowThreads();
19483 result = (int)(arg1)->GetFlags();
19484 wxPyEndAllowThreads(__tstate);
19485 if (PyErr_Occurred()) SWIG_fail;
19486 }
19487 resultobj = SWIG_From_int(static_cast< int >(result));
19488 return resultobj;
19489 fail:
19490 return NULL;
19491 }
19492
19493
19494 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19495 PyObject *resultobj = 0;
19496 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19497 wxString *result = 0 ;
19498 void *argp1 = 0 ;
19499 int res1 = 0 ;
19500 PyObject *swig_obj[1] ;
19501
19502 if (!args) SWIG_fail;
19503 swig_obj[0] = args;
19504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19505 if (!SWIG_IsOK(res1)) {
19506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19507 }
19508 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19509 {
19510 PyThreadState* __tstate = wxPyBeginAllowThreads();
19511 {
19512 wxString const &_result_ref = (arg1)->GetFindString();
19513 result = (wxString *) &_result_ref;
19514 }
19515 wxPyEndAllowThreads(__tstate);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 }
19518 {
19519 #if wxUSE_UNICODE
19520 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19521 #else
19522 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19523 #endif
19524 }
19525 return resultobj;
19526 fail:
19527 return NULL;
19528 }
19529
19530
19531 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19532 PyObject *resultobj = 0;
19533 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19534 wxString *result = 0 ;
19535 void *argp1 = 0 ;
19536 int res1 = 0 ;
19537 PyObject *swig_obj[1] ;
19538
19539 if (!args) SWIG_fail;
19540 swig_obj[0] = args;
19541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19542 if (!SWIG_IsOK(res1)) {
19543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19544 }
19545 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19546 {
19547 PyThreadState* __tstate = wxPyBeginAllowThreads();
19548 {
19549 wxString const &_result_ref = (arg1)->GetReplaceString();
19550 result = (wxString *) &_result_ref;
19551 }
19552 wxPyEndAllowThreads(__tstate);
19553 if (PyErr_Occurred()) SWIG_fail;
19554 }
19555 {
19556 #if wxUSE_UNICODE
19557 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19558 #else
19559 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19560 #endif
19561 }
19562 return resultobj;
19563 fail:
19564 return NULL;
19565 }
19566
19567
19568 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19569 PyObject *resultobj = 0;
19570 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19571 wxFindReplaceDialog *result = 0 ;
19572 void *argp1 = 0 ;
19573 int res1 = 0 ;
19574 PyObject *swig_obj[1] ;
19575
19576 if (!args) SWIG_fail;
19577 swig_obj[0] = args;
19578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19579 if (!SWIG_IsOK(res1)) {
19580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19581 }
19582 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19583 {
19584 PyThreadState* __tstate = wxPyBeginAllowThreads();
19585 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19586 wxPyEndAllowThreads(__tstate);
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
19589 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19590 return resultobj;
19591 fail:
19592 return NULL;
19593 }
19594
19595
19596 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19597 PyObject *resultobj = 0;
19598 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19599 int arg2 ;
19600 void *argp1 = 0 ;
19601 int res1 = 0 ;
19602 int val2 ;
19603 int ecode2 = 0 ;
19604 PyObject * obj0 = 0 ;
19605 PyObject * obj1 = 0 ;
19606 char * kwnames[] = {
19607 (char *) "self",(char *) "flags", NULL
19608 };
19609
19610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19612 if (!SWIG_IsOK(res1)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19614 }
19615 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19616 ecode2 = SWIG_AsVal_int(obj1, &val2);
19617 if (!SWIG_IsOK(ecode2)) {
19618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19619 }
19620 arg2 = static_cast< int >(val2);
19621 {
19622 PyThreadState* __tstate = wxPyBeginAllowThreads();
19623 (arg1)->SetFlags(arg2);
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 resultobj = SWIG_Py_Void();
19628 return resultobj;
19629 fail:
19630 return NULL;
19631 }
19632
19633
19634 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19635 PyObject *resultobj = 0;
19636 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19637 wxString *arg2 = 0 ;
19638 void *argp1 = 0 ;
19639 int res1 = 0 ;
19640 bool temp2 = false ;
19641 PyObject * obj0 = 0 ;
19642 PyObject * obj1 = 0 ;
19643 char * kwnames[] = {
19644 (char *) "self",(char *) "str", NULL
19645 };
19646
19647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19649 if (!SWIG_IsOK(res1)) {
19650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19651 }
19652 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19653 {
19654 arg2 = wxString_in_helper(obj1);
19655 if (arg2 == NULL) SWIG_fail;
19656 temp2 = true;
19657 }
19658 {
19659 PyThreadState* __tstate = wxPyBeginAllowThreads();
19660 (arg1)->SetFindString((wxString const &)*arg2);
19661 wxPyEndAllowThreads(__tstate);
19662 if (PyErr_Occurred()) SWIG_fail;
19663 }
19664 resultobj = SWIG_Py_Void();
19665 {
19666 if (temp2)
19667 delete arg2;
19668 }
19669 return resultobj;
19670 fail:
19671 {
19672 if (temp2)
19673 delete arg2;
19674 }
19675 return NULL;
19676 }
19677
19678
19679 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19680 PyObject *resultobj = 0;
19681 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19682 wxString *arg2 = 0 ;
19683 void *argp1 = 0 ;
19684 int res1 = 0 ;
19685 bool temp2 = false ;
19686 PyObject * obj0 = 0 ;
19687 PyObject * obj1 = 0 ;
19688 char * kwnames[] = {
19689 (char *) "self",(char *) "str", NULL
19690 };
19691
19692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19694 if (!SWIG_IsOK(res1)) {
19695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19696 }
19697 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19698 {
19699 arg2 = wxString_in_helper(obj1);
19700 if (arg2 == NULL) SWIG_fail;
19701 temp2 = true;
19702 }
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 (arg1)->SetReplaceString((wxString const &)*arg2);
19706 wxPyEndAllowThreads(__tstate);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 resultobj = SWIG_Py_Void();
19710 {
19711 if (temp2)
19712 delete arg2;
19713 }
19714 return resultobj;
19715 fail:
19716 {
19717 if (temp2)
19718 delete arg2;
19719 }
19720 return NULL;
19721 }
19722
19723
19724 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19725 PyObject *obj;
19726 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19727 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19728 return SWIG_Py_Void();
19729 }
19730
19731 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19732 return SWIG_Python_InitShadowInstance(args);
19733 }
19734
19735 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19736 PyObject *resultobj = 0;
19737 int arg1 = (int) 0 ;
19738 wxFindReplaceData *result = 0 ;
19739 int val1 ;
19740 int ecode1 = 0 ;
19741 PyObject * obj0 = 0 ;
19742 char * kwnames[] = {
19743 (char *) "flags", NULL
19744 };
19745
19746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19747 if (obj0) {
19748 ecode1 = SWIG_AsVal_int(obj0, &val1);
19749 if (!SWIG_IsOK(ecode1)) {
19750 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19751 }
19752 arg1 = static_cast< int >(val1);
19753 }
19754 {
19755 PyThreadState* __tstate = wxPyBeginAllowThreads();
19756 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19757 wxPyEndAllowThreads(__tstate);
19758 if (PyErr_Occurred()) SWIG_fail;
19759 }
19760 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19761 return resultobj;
19762 fail:
19763 return NULL;
19764 }
19765
19766
19767 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19768 PyObject *resultobj = 0;
19769 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19770 void *argp1 = 0 ;
19771 int res1 = 0 ;
19772 PyObject *swig_obj[1] ;
19773
19774 if (!args) SWIG_fail;
19775 swig_obj[0] = args;
19776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19777 if (!SWIG_IsOK(res1)) {
19778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19779 }
19780 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19781 {
19782 PyThreadState* __tstate = wxPyBeginAllowThreads();
19783 delete arg1;
19784
19785 wxPyEndAllowThreads(__tstate);
19786 if (PyErr_Occurred()) SWIG_fail;
19787 }
19788 resultobj = SWIG_Py_Void();
19789 return resultobj;
19790 fail:
19791 return NULL;
19792 }
19793
19794
19795 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19796 PyObject *resultobj = 0;
19797 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19798 wxString *result = 0 ;
19799 void *argp1 = 0 ;
19800 int res1 = 0 ;
19801 PyObject *swig_obj[1] ;
19802
19803 if (!args) SWIG_fail;
19804 swig_obj[0] = args;
19805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19806 if (!SWIG_IsOK(res1)) {
19807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19808 }
19809 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19810 {
19811 PyThreadState* __tstate = wxPyBeginAllowThreads();
19812 {
19813 wxString const &_result_ref = (arg1)->GetFindString();
19814 result = (wxString *) &_result_ref;
19815 }
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 {
19820 #if wxUSE_UNICODE
19821 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19822 #else
19823 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19824 #endif
19825 }
19826 return resultobj;
19827 fail:
19828 return NULL;
19829 }
19830
19831
19832 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19833 PyObject *resultobj = 0;
19834 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19835 wxString *result = 0 ;
19836 void *argp1 = 0 ;
19837 int res1 = 0 ;
19838 PyObject *swig_obj[1] ;
19839
19840 if (!args) SWIG_fail;
19841 swig_obj[0] = args;
19842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19843 if (!SWIG_IsOK(res1)) {
19844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19845 }
19846 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 {
19850 wxString const &_result_ref = (arg1)->GetReplaceString();
19851 result = (wxString *) &_result_ref;
19852 }
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 {
19857 #if wxUSE_UNICODE
19858 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19859 #else
19860 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19861 #endif
19862 }
19863 return resultobj;
19864 fail:
19865 return NULL;
19866 }
19867
19868
19869 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19870 PyObject *resultobj = 0;
19871 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19872 int result;
19873 void *argp1 = 0 ;
19874 int res1 = 0 ;
19875 PyObject *swig_obj[1] ;
19876
19877 if (!args) SWIG_fail;
19878 swig_obj[0] = args;
19879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19880 if (!SWIG_IsOK(res1)) {
19881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19882 }
19883 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 result = (int)(arg1)->GetFlags();
19887 wxPyEndAllowThreads(__tstate);
19888 if (PyErr_Occurred()) SWIG_fail;
19889 }
19890 resultobj = SWIG_From_int(static_cast< int >(result));
19891 return resultobj;
19892 fail:
19893 return NULL;
19894 }
19895
19896
19897 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19898 PyObject *resultobj = 0;
19899 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19900 int arg2 ;
19901 void *argp1 = 0 ;
19902 int res1 = 0 ;
19903 int val2 ;
19904 int ecode2 = 0 ;
19905 PyObject * obj0 = 0 ;
19906 PyObject * obj1 = 0 ;
19907 char * kwnames[] = {
19908 (char *) "self",(char *) "flags", NULL
19909 };
19910
19911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19913 if (!SWIG_IsOK(res1)) {
19914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19915 }
19916 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19917 ecode2 = SWIG_AsVal_int(obj1, &val2);
19918 if (!SWIG_IsOK(ecode2)) {
19919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19920 }
19921 arg2 = static_cast< int >(val2);
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 (arg1)->SetFlags(arg2);
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
19928 resultobj = SWIG_Py_Void();
19929 return resultobj;
19930 fail:
19931 return NULL;
19932 }
19933
19934
19935 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19936 PyObject *resultobj = 0;
19937 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19938 wxString *arg2 = 0 ;
19939 void *argp1 = 0 ;
19940 int res1 = 0 ;
19941 bool temp2 = false ;
19942 PyObject * obj0 = 0 ;
19943 PyObject * obj1 = 0 ;
19944 char * kwnames[] = {
19945 (char *) "self",(char *) "str", NULL
19946 };
19947
19948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19950 if (!SWIG_IsOK(res1)) {
19951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19952 }
19953 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19954 {
19955 arg2 = wxString_in_helper(obj1);
19956 if (arg2 == NULL) SWIG_fail;
19957 temp2 = true;
19958 }
19959 {
19960 PyThreadState* __tstate = wxPyBeginAllowThreads();
19961 (arg1)->SetFindString((wxString const &)*arg2);
19962 wxPyEndAllowThreads(__tstate);
19963 if (PyErr_Occurred()) SWIG_fail;
19964 }
19965 resultobj = SWIG_Py_Void();
19966 {
19967 if (temp2)
19968 delete arg2;
19969 }
19970 return resultobj;
19971 fail:
19972 {
19973 if (temp2)
19974 delete arg2;
19975 }
19976 return NULL;
19977 }
19978
19979
19980 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19981 PyObject *resultobj = 0;
19982 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19983 wxString *arg2 = 0 ;
19984 void *argp1 = 0 ;
19985 int res1 = 0 ;
19986 bool temp2 = false ;
19987 PyObject * obj0 = 0 ;
19988 PyObject * obj1 = 0 ;
19989 char * kwnames[] = {
19990 (char *) "self",(char *) "str", NULL
19991 };
19992
19993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19995 if (!SWIG_IsOK(res1)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19997 }
19998 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19999 {
20000 arg2 = wxString_in_helper(obj1);
20001 if (arg2 == NULL) SWIG_fail;
20002 temp2 = true;
20003 }
20004 {
20005 PyThreadState* __tstate = wxPyBeginAllowThreads();
20006 (arg1)->SetReplaceString((wxString const &)*arg2);
20007 wxPyEndAllowThreads(__tstate);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
20010 resultobj = SWIG_Py_Void();
20011 {
20012 if (temp2)
20013 delete arg2;
20014 }
20015 return resultobj;
20016 fail:
20017 {
20018 if (temp2)
20019 delete arg2;
20020 }
20021 return NULL;
20022 }
20023
20024
20025 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20026 PyObject *obj;
20027 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20028 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20029 return SWIG_Py_Void();
20030 }
20031
20032 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20033 return SWIG_Python_InitShadowInstance(args);
20034 }
20035
20036 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20037 PyObject *resultobj = 0;
20038 wxWindow *arg1 = (wxWindow *) 0 ;
20039 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20040 wxString *arg3 = 0 ;
20041 int arg4 = (int) 0 ;
20042 wxFindReplaceDialog *result = 0 ;
20043 void *argp1 = 0 ;
20044 int res1 = 0 ;
20045 void *argp2 = 0 ;
20046 int res2 = 0 ;
20047 bool temp3 = false ;
20048 int val4 ;
20049 int ecode4 = 0 ;
20050 PyObject * obj0 = 0 ;
20051 PyObject * obj1 = 0 ;
20052 PyObject * obj2 = 0 ;
20053 PyObject * obj3 = 0 ;
20054 char * kwnames[] = {
20055 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20056 };
20057
20058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20060 if (!SWIG_IsOK(res1)) {
20061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20062 }
20063 arg1 = reinterpret_cast< wxWindow * >(argp1);
20064 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20065 if (!SWIG_IsOK(res2)) {
20066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20067 }
20068 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20069 {
20070 arg3 = wxString_in_helper(obj2);
20071 if (arg3 == NULL) SWIG_fail;
20072 temp3 = true;
20073 }
20074 if (obj3) {
20075 ecode4 = SWIG_AsVal_int(obj3, &val4);
20076 if (!SWIG_IsOK(ecode4)) {
20077 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20078 }
20079 arg4 = static_cast< int >(val4);
20080 }
20081 {
20082 if (!wxPyCheckForApp()) SWIG_fail;
20083 PyThreadState* __tstate = wxPyBeginAllowThreads();
20084 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20089 {
20090 if (temp3)
20091 delete arg3;
20092 }
20093 return resultobj;
20094 fail:
20095 {
20096 if (temp3)
20097 delete arg3;
20098 }
20099 return NULL;
20100 }
20101
20102
20103 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20104 PyObject *resultobj = 0;
20105 wxFindReplaceDialog *result = 0 ;
20106
20107 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20108 {
20109 if (!wxPyCheckForApp()) SWIG_fail;
20110 PyThreadState* __tstate = wxPyBeginAllowThreads();
20111 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20112 wxPyEndAllowThreads(__tstate);
20113 if (PyErr_Occurred()) SWIG_fail;
20114 }
20115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20116 return resultobj;
20117 fail:
20118 return NULL;
20119 }
20120
20121
20122 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20123 PyObject *resultobj = 0;
20124 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20125 wxWindow *arg2 = (wxWindow *) 0 ;
20126 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20127 wxString *arg4 = 0 ;
20128 int arg5 = (int) 0 ;
20129 bool result;
20130 void *argp1 = 0 ;
20131 int res1 = 0 ;
20132 void *argp2 = 0 ;
20133 int res2 = 0 ;
20134 void *argp3 = 0 ;
20135 int res3 = 0 ;
20136 bool temp4 = false ;
20137 int val5 ;
20138 int ecode5 = 0 ;
20139 PyObject * obj0 = 0 ;
20140 PyObject * obj1 = 0 ;
20141 PyObject * obj2 = 0 ;
20142 PyObject * obj3 = 0 ;
20143 PyObject * obj4 = 0 ;
20144 char * kwnames[] = {
20145 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20146 };
20147
20148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20150 if (!SWIG_IsOK(res1)) {
20151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20152 }
20153 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20154 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20155 if (!SWIG_IsOK(res2)) {
20156 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20157 }
20158 arg2 = reinterpret_cast< wxWindow * >(argp2);
20159 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20160 if (!SWIG_IsOK(res3)) {
20161 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20162 }
20163 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20164 {
20165 arg4 = wxString_in_helper(obj3);
20166 if (arg4 == NULL) SWIG_fail;
20167 temp4 = true;
20168 }
20169 if (obj4) {
20170 ecode5 = SWIG_AsVal_int(obj4, &val5);
20171 if (!SWIG_IsOK(ecode5)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20173 }
20174 arg5 = static_cast< int >(val5);
20175 }
20176 {
20177 PyThreadState* __tstate = wxPyBeginAllowThreads();
20178 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20179 wxPyEndAllowThreads(__tstate);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 }
20182 {
20183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20184 }
20185 {
20186 if (temp4)
20187 delete arg4;
20188 }
20189 return resultobj;
20190 fail:
20191 {
20192 if (temp4)
20193 delete arg4;
20194 }
20195 return NULL;
20196 }
20197
20198
20199 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20200 PyObject *resultobj = 0;
20201 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20202 wxFindReplaceData *result = 0 ;
20203 void *argp1 = 0 ;
20204 int res1 = 0 ;
20205 PyObject *swig_obj[1] ;
20206
20207 if (!args) SWIG_fail;
20208 swig_obj[0] = args;
20209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20210 if (!SWIG_IsOK(res1)) {
20211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20212 }
20213 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 result = (wxFindReplaceData *)(arg1)->GetData();
20217 wxPyEndAllowThreads(__tstate);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 }
20220 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20221 return resultobj;
20222 fail:
20223 return NULL;
20224 }
20225
20226
20227 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20228 PyObject *resultobj = 0;
20229 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20230 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20231 void *argp1 = 0 ;
20232 int res1 = 0 ;
20233 void *argp2 = 0 ;
20234 int res2 = 0 ;
20235 PyObject * obj0 = 0 ;
20236 PyObject * obj1 = 0 ;
20237 char * kwnames[] = {
20238 (char *) "self",(char *) "data", NULL
20239 };
20240
20241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20243 if (!SWIG_IsOK(res1)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20245 }
20246 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20247 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20248 if (!SWIG_IsOK(res2)) {
20249 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20250 }
20251 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 (arg1)->SetData(arg2);
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 resultobj = SWIG_Py_Void();
20259 return resultobj;
20260 fail:
20261 return NULL;
20262 }
20263
20264
20265 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20266 PyObject *obj;
20267 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20268 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20269 return SWIG_Py_Void();
20270 }
20271
20272 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20273 return SWIG_Python_InitShadowInstance(args);
20274 }
20275
20276 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20277 PyObject *resultobj = 0;
20278 wxWindow *arg1 = (wxWindow *) 0 ;
20279 int arg2 = (int) (int)-1 ;
20280 wxString const &arg3_defvalue = wxPyEmptyString ;
20281 wxString *arg3 = (wxString *) &arg3_defvalue ;
20282 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20283 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20284 wxSize const &arg5_defvalue = wxDefaultSize ;
20285 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20286 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20287 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20288 wxString *arg7 = (wxString *) &arg7_defvalue ;
20289 wxMDIParentFrame *result = 0 ;
20290 void *argp1 = 0 ;
20291 int res1 = 0 ;
20292 int val2 ;
20293 int ecode2 = 0 ;
20294 bool temp3 = false ;
20295 wxPoint temp4 ;
20296 wxSize temp5 ;
20297 long val6 ;
20298 int ecode6 = 0 ;
20299 bool temp7 = false ;
20300 PyObject * obj0 = 0 ;
20301 PyObject * obj1 = 0 ;
20302 PyObject * obj2 = 0 ;
20303 PyObject * obj3 = 0 ;
20304 PyObject * obj4 = 0 ;
20305 PyObject * obj5 = 0 ;
20306 PyObject * obj6 = 0 ;
20307 char * kwnames[] = {
20308 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20309 };
20310
20311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20313 if (!SWIG_IsOK(res1)) {
20314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20315 }
20316 arg1 = reinterpret_cast< wxWindow * >(argp1);
20317 if (obj1) {
20318 ecode2 = SWIG_AsVal_int(obj1, &val2);
20319 if (!SWIG_IsOK(ecode2)) {
20320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20321 }
20322 arg2 = static_cast< int >(val2);
20323 }
20324 if (obj2) {
20325 {
20326 arg3 = wxString_in_helper(obj2);
20327 if (arg3 == NULL) SWIG_fail;
20328 temp3 = true;
20329 }
20330 }
20331 if (obj3) {
20332 {
20333 arg4 = &temp4;
20334 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20335 }
20336 }
20337 if (obj4) {
20338 {
20339 arg5 = &temp5;
20340 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20341 }
20342 }
20343 if (obj5) {
20344 ecode6 = SWIG_AsVal_long(obj5, &val6);
20345 if (!SWIG_IsOK(ecode6)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20347 }
20348 arg6 = static_cast< long >(val6);
20349 }
20350 if (obj6) {
20351 {
20352 arg7 = wxString_in_helper(obj6);
20353 if (arg7 == NULL) SWIG_fail;
20354 temp7 = true;
20355 }
20356 }
20357 {
20358 if (!wxPyCheckForApp()) SWIG_fail;
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20361 wxPyEndAllowThreads(__tstate);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 }
20364 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20365 {
20366 if (temp3)
20367 delete arg3;
20368 }
20369 {
20370 if (temp7)
20371 delete arg7;
20372 }
20373 return resultobj;
20374 fail:
20375 {
20376 if (temp3)
20377 delete arg3;
20378 }
20379 {
20380 if (temp7)
20381 delete arg7;
20382 }
20383 return NULL;
20384 }
20385
20386
20387 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20388 PyObject *resultobj = 0;
20389 wxMDIParentFrame *result = 0 ;
20390
20391 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20392 {
20393 if (!wxPyCheckForApp()) SWIG_fail;
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20400 return resultobj;
20401 fail:
20402 return NULL;
20403 }
20404
20405
20406 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj = 0;
20408 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20409 wxWindow *arg2 = (wxWindow *) 0 ;
20410 int arg3 = (int) (int)-1 ;
20411 wxString const &arg4_defvalue = wxPyEmptyString ;
20412 wxString *arg4 = (wxString *) &arg4_defvalue ;
20413 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20414 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20415 wxSize const &arg6_defvalue = wxDefaultSize ;
20416 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20417 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20418 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20419 wxString *arg8 = (wxString *) &arg8_defvalue ;
20420 bool result;
20421 void *argp1 = 0 ;
20422 int res1 = 0 ;
20423 void *argp2 = 0 ;
20424 int res2 = 0 ;
20425 int val3 ;
20426 int ecode3 = 0 ;
20427 bool temp4 = false ;
20428 wxPoint temp5 ;
20429 wxSize temp6 ;
20430 long val7 ;
20431 int ecode7 = 0 ;
20432 bool temp8 = false ;
20433 PyObject * obj0 = 0 ;
20434 PyObject * obj1 = 0 ;
20435 PyObject * obj2 = 0 ;
20436 PyObject * obj3 = 0 ;
20437 PyObject * obj4 = 0 ;
20438 PyObject * obj5 = 0 ;
20439 PyObject * obj6 = 0 ;
20440 PyObject * obj7 = 0 ;
20441 char * kwnames[] = {
20442 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20443 };
20444
20445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20447 if (!SWIG_IsOK(res1)) {
20448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20449 }
20450 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20451 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20452 if (!SWIG_IsOK(res2)) {
20453 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20454 }
20455 arg2 = reinterpret_cast< wxWindow * >(argp2);
20456 if (obj2) {
20457 ecode3 = SWIG_AsVal_int(obj2, &val3);
20458 if (!SWIG_IsOK(ecode3)) {
20459 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20460 }
20461 arg3 = static_cast< int >(val3);
20462 }
20463 if (obj3) {
20464 {
20465 arg4 = wxString_in_helper(obj3);
20466 if (arg4 == NULL) SWIG_fail;
20467 temp4 = true;
20468 }
20469 }
20470 if (obj4) {
20471 {
20472 arg5 = &temp5;
20473 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20474 }
20475 }
20476 if (obj5) {
20477 {
20478 arg6 = &temp6;
20479 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20480 }
20481 }
20482 if (obj6) {
20483 ecode7 = SWIG_AsVal_long(obj6, &val7);
20484 if (!SWIG_IsOK(ecode7)) {
20485 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20486 }
20487 arg7 = static_cast< long >(val7);
20488 }
20489 if (obj7) {
20490 {
20491 arg8 = wxString_in_helper(obj7);
20492 if (arg8 == NULL) SWIG_fail;
20493 temp8 = true;
20494 }
20495 }
20496 {
20497 PyThreadState* __tstate = wxPyBeginAllowThreads();
20498 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20499 wxPyEndAllowThreads(__tstate);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 {
20503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20504 }
20505 {
20506 if (temp4)
20507 delete arg4;
20508 }
20509 {
20510 if (temp8)
20511 delete arg8;
20512 }
20513 return resultobj;
20514 fail:
20515 {
20516 if (temp4)
20517 delete arg4;
20518 }
20519 {
20520 if (temp8)
20521 delete arg8;
20522 }
20523 return NULL;
20524 }
20525
20526
20527 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20528 PyObject *resultobj = 0;
20529 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20530 void *argp1 = 0 ;
20531 int res1 = 0 ;
20532 PyObject *swig_obj[1] ;
20533
20534 if (!args) SWIG_fail;
20535 swig_obj[0] = args;
20536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20537 if (!SWIG_IsOK(res1)) {
20538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20539 }
20540 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20541 {
20542 PyThreadState* __tstate = wxPyBeginAllowThreads();
20543 (arg1)->ActivateNext();
20544 wxPyEndAllowThreads(__tstate);
20545 if (PyErr_Occurred()) SWIG_fail;
20546 }
20547 resultobj = SWIG_Py_Void();
20548 return resultobj;
20549 fail:
20550 return NULL;
20551 }
20552
20553
20554 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20555 PyObject *resultobj = 0;
20556 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20557 void *argp1 = 0 ;
20558 int res1 = 0 ;
20559 PyObject *swig_obj[1] ;
20560
20561 if (!args) SWIG_fail;
20562 swig_obj[0] = args;
20563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20564 if (!SWIG_IsOK(res1)) {
20565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20566 }
20567 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20568 {
20569 PyThreadState* __tstate = wxPyBeginAllowThreads();
20570 (arg1)->ActivatePrevious();
20571 wxPyEndAllowThreads(__tstate);
20572 if (PyErr_Occurred()) SWIG_fail;
20573 }
20574 resultobj = SWIG_Py_Void();
20575 return resultobj;
20576 fail:
20577 return NULL;
20578 }
20579
20580
20581 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20582 PyObject *resultobj = 0;
20583 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20584 void *argp1 = 0 ;
20585 int res1 = 0 ;
20586 PyObject *swig_obj[1] ;
20587
20588 if (!args) SWIG_fail;
20589 swig_obj[0] = args;
20590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20591 if (!SWIG_IsOK(res1)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20593 }
20594 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 (arg1)->ArrangeIcons();
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 resultobj = SWIG_Py_Void();
20602 return resultobj;
20603 fail:
20604 return NULL;
20605 }
20606
20607
20608 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20609 PyObject *resultobj = 0;
20610 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20611 void *argp1 = 0 ;
20612 int res1 = 0 ;
20613 PyObject *swig_obj[1] ;
20614
20615 if (!args) SWIG_fail;
20616 swig_obj[0] = args;
20617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20618 if (!SWIG_IsOK(res1)) {
20619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20620 }
20621 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 (arg1)->Cascade();
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 resultobj = SWIG_Py_Void();
20629 return resultobj;
20630 fail:
20631 return NULL;
20632 }
20633
20634
20635 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20636 PyObject *resultobj = 0;
20637 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20638 wxMDIChildFrame *result = 0 ;
20639 void *argp1 = 0 ;
20640 int res1 = 0 ;
20641 PyObject *swig_obj[1] ;
20642
20643 if (!args) SWIG_fail;
20644 swig_obj[0] = args;
20645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20646 if (!SWIG_IsOK(res1)) {
20647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20648 }
20649 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 {
20657 resultobj = wxPyMake_wxObject(result, (bool)0);
20658 }
20659 return resultobj;
20660 fail:
20661 return NULL;
20662 }
20663
20664
20665 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20666 PyObject *resultobj = 0;
20667 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20668 wxMDIClientWindow *result = 0 ;
20669 void *argp1 = 0 ;
20670 int res1 = 0 ;
20671 PyObject *swig_obj[1] ;
20672
20673 if (!args) SWIG_fail;
20674 swig_obj[0] = args;
20675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20676 if (!SWIG_IsOK(res1)) {
20677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20678 }
20679 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20680 {
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 {
20687 resultobj = wxPyMake_wxObject(result, (bool)0);
20688 }
20689 return resultobj;
20690 fail:
20691 return NULL;
20692 }
20693
20694
20695 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20696 PyObject *resultobj = 0;
20697 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20698 wxWindow *result = 0 ;
20699 void *argp1 = 0 ;
20700 int res1 = 0 ;
20701 PyObject *swig_obj[1] ;
20702
20703 if (!args) SWIG_fail;
20704 swig_obj[0] = args;
20705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20706 if (!SWIG_IsOK(res1)) {
20707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20708 }
20709 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 result = (wxWindow *)(arg1)->GetToolBar();
20713 wxPyEndAllowThreads(__tstate);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 }
20716 {
20717 resultobj = wxPyMake_wxObject(result, 0);
20718 }
20719 return resultobj;
20720 fail:
20721 return NULL;
20722 }
20723
20724
20725 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20726 PyObject *resultobj = 0;
20727 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20728 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20729 void *argp1 = 0 ;
20730 int res1 = 0 ;
20731 int val2 ;
20732 int ecode2 = 0 ;
20733 PyObject * obj0 = 0 ;
20734 PyObject * obj1 = 0 ;
20735 char * kwnames[] = {
20736 (char *) "self",(char *) "orient", NULL
20737 };
20738
20739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20741 if (!SWIG_IsOK(res1)) {
20742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20743 }
20744 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20745 if (obj1) {
20746 ecode2 = SWIG_AsVal_int(obj1, &val2);
20747 if (!SWIG_IsOK(ecode2)) {
20748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20749 }
20750 arg2 = static_cast< wxOrientation >(val2);
20751 }
20752 {
20753 PyThreadState* __tstate = wxPyBeginAllowThreads();
20754 (arg1)->Tile(arg2);
20755 wxPyEndAllowThreads(__tstate);
20756 if (PyErr_Occurred()) SWIG_fail;
20757 }
20758 resultobj = SWIG_Py_Void();
20759 return resultobj;
20760 fail:
20761 return NULL;
20762 }
20763
20764
20765 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20766 PyObject *obj;
20767 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20768 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20769 return SWIG_Py_Void();
20770 }
20771
20772 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20773 return SWIG_Python_InitShadowInstance(args);
20774 }
20775
20776 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20777 PyObject *resultobj = 0;
20778 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20779 int arg2 = (int) (int)-1 ;
20780 wxString const &arg3_defvalue = wxPyEmptyString ;
20781 wxString *arg3 = (wxString *) &arg3_defvalue ;
20782 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20783 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20784 wxSize const &arg5_defvalue = wxDefaultSize ;
20785 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20786 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20787 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20788 wxString *arg7 = (wxString *) &arg7_defvalue ;
20789 wxMDIChildFrame *result = 0 ;
20790 void *argp1 = 0 ;
20791 int res1 = 0 ;
20792 int val2 ;
20793 int ecode2 = 0 ;
20794 bool temp3 = false ;
20795 wxPoint temp4 ;
20796 wxSize temp5 ;
20797 long val6 ;
20798 int ecode6 = 0 ;
20799 bool temp7 = false ;
20800 PyObject * obj0 = 0 ;
20801 PyObject * obj1 = 0 ;
20802 PyObject * obj2 = 0 ;
20803 PyObject * obj3 = 0 ;
20804 PyObject * obj4 = 0 ;
20805 PyObject * obj5 = 0 ;
20806 PyObject * obj6 = 0 ;
20807 char * kwnames[] = {
20808 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20809 };
20810
20811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20813 if (!SWIG_IsOK(res1)) {
20814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20815 }
20816 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20817 if (obj1) {
20818 ecode2 = SWIG_AsVal_int(obj1, &val2);
20819 if (!SWIG_IsOK(ecode2)) {
20820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20821 }
20822 arg2 = static_cast< int >(val2);
20823 }
20824 if (obj2) {
20825 {
20826 arg3 = wxString_in_helper(obj2);
20827 if (arg3 == NULL) SWIG_fail;
20828 temp3 = true;
20829 }
20830 }
20831 if (obj3) {
20832 {
20833 arg4 = &temp4;
20834 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20835 }
20836 }
20837 if (obj4) {
20838 {
20839 arg5 = &temp5;
20840 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20841 }
20842 }
20843 if (obj5) {
20844 ecode6 = SWIG_AsVal_long(obj5, &val6);
20845 if (!SWIG_IsOK(ecode6)) {
20846 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20847 }
20848 arg6 = static_cast< long >(val6);
20849 }
20850 if (obj6) {
20851 {
20852 arg7 = wxString_in_helper(obj6);
20853 if (arg7 == NULL) SWIG_fail;
20854 temp7 = true;
20855 }
20856 }
20857 {
20858 if (!wxPyCheckForApp()) SWIG_fail;
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20865 {
20866 if (temp3)
20867 delete arg3;
20868 }
20869 {
20870 if (temp7)
20871 delete arg7;
20872 }
20873 return resultobj;
20874 fail:
20875 {
20876 if (temp3)
20877 delete arg3;
20878 }
20879 {
20880 if (temp7)
20881 delete arg7;
20882 }
20883 return NULL;
20884 }
20885
20886
20887 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20888 PyObject *resultobj = 0;
20889 wxMDIChildFrame *result = 0 ;
20890
20891 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20892 {
20893 if (!wxPyCheckForApp()) SWIG_fail;
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20900 return resultobj;
20901 fail:
20902 return NULL;
20903 }
20904
20905
20906 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20907 PyObject *resultobj = 0;
20908 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20909 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20910 int arg3 = (int) (int)-1 ;
20911 wxString const &arg4_defvalue = wxPyEmptyString ;
20912 wxString *arg4 = (wxString *) &arg4_defvalue ;
20913 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20914 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20915 wxSize const &arg6_defvalue = wxDefaultSize ;
20916 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20917 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20918 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20919 wxString *arg8 = (wxString *) &arg8_defvalue ;
20920 bool result;
20921 void *argp1 = 0 ;
20922 int res1 = 0 ;
20923 void *argp2 = 0 ;
20924 int res2 = 0 ;
20925 int val3 ;
20926 int ecode3 = 0 ;
20927 bool temp4 = false ;
20928 wxPoint temp5 ;
20929 wxSize temp6 ;
20930 long val7 ;
20931 int ecode7 = 0 ;
20932 bool temp8 = false ;
20933 PyObject * obj0 = 0 ;
20934 PyObject * obj1 = 0 ;
20935 PyObject * obj2 = 0 ;
20936 PyObject * obj3 = 0 ;
20937 PyObject * obj4 = 0 ;
20938 PyObject * obj5 = 0 ;
20939 PyObject * obj6 = 0 ;
20940 PyObject * obj7 = 0 ;
20941 char * kwnames[] = {
20942 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20943 };
20944
20945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20947 if (!SWIG_IsOK(res1)) {
20948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20949 }
20950 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20951 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20952 if (!SWIG_IsOK(res2)) {
20953 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20954 }
20955 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20956 if (obj2) {
20957 ecode3 = SWIG_AsVal_int(obj2, &val3);
20958 if (!SWIG_IsOK(ecode3)) {
20959 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20960 }
20961 arg3 = static_cast< int >(val3);
20962 }
20963 if (obj3) {
20964 {
20965 arg4 = wxString_in_helper(obj3);
20966 if (arg4 == NULL) SWIG_fail;
20967 temp4 = true;
20968 }
20969 }
20970 if (obj4) {
20971 {
20972 arg5 = &temp5;
20973 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20974 }
20975 }
20976 if (obj5) {
20977 {
20978 arg6 = &temp6;
20979 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20980 }
20981 }
20982 if (obj6) {
20983 ecode7 = SWIG_AsVal_long(obj6, &val7);
20984 if (!SWIG_IsOK(ecode7)) {
20985 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20986 }
20987 arg7 = static_cast< long >(val7);
20988 }
20989 if (obj7) {
20990 {
20991 arg8 = wxString_in_helper(obj7);
20992 if (arg8 == NULL) SWIG_fail;
20993 temp8 = true;
20994 }
20995 }
20996 {
20997 PyThreadState* __tstate = wxPyBeginAllowThreads();
20998 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20999 wxPyEndAllowThreads(__tstate);
21000 if (PyErr_Occurred()) SWIG_fail;
21001 }
21002 {
21003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21004 }
21005 {
21006 if (temp4)
21007 delete arg4;
21008 }
21009 {
21010 if (temp8)
21011 delete arg8;
21012 }
21013 return resultobj;
21014 fail:
21015 {
21016 if (temp4)
21017 delete arg4;
21018 }
21019 {
21020 if (temp8)
21021 delete arg8;
21022 }
21023 return NULL;
21024 }
21025
21026
21027 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21028 PyObject *resultobj = 0;
21029 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21030 void *argp1 = 0 ;
21031 int res1 = 0 ;
21032 PyObject *swig_obj[1] ;
21033
21034 if (!args) SWIG_fail;
21035 swig_obj[0] = args;
21036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21037 if (!SWIG_IsOK(res1)) {
21038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21039 }
21040 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 (arg1)->Activate();
21044 wxPyEndAllowThreads(__tstate);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 resultobj = SWIG_Py_Void();
21048 return resultobj;
21049 fail:
21050 return NULL;
21051 }
21052
21053
21054 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21055 PyObject *obj;
21056 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21057 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21058 return SWIG_Py_Void();
21059 }
21060
21061 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21062 return SWIG_Python_InitShadowInstance(args);
21063 }
21064
21065 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21066 PyObject *resultobj = 0;
21067 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21068 long arg2 = (long) 0 ;
21069 wxMDIClientWindow *result = 0 ;
21070 void *argp1 = 0 ;
21071 int res1 = 0 ;
21072 long val2 ;
21073 int ecode2 = 0 ;
21074 PyObject * obj0 = 0 ;
21075 PyObject * obj1 = 0 ;
21076 char * kwnames[] = {
21077 (char *) "parent",(char *) "style", NULL
21078 };
21079
21080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21082 if (!SWIG_IsOK(res1)) {
21083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21084 }
21085 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21086 if (obj1) {
21087 ecode2 = SWIG_AsVal_long(obj1, &val2);
21088 if (!SWIG_IsOK(ecode2)) {
21089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21090 }
21091 arg2 = static_cast< long >(val2);
21092 }
21093 {
21094 if (!wxPyCheckForApp()) SWIG_fail;
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21101 return resultobj;
21102 fail:
21103 return NULL;
21104 }
21105
21106
21107 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21108 PyObject *resultobj = 0;
21109 wxMDIClientWindow *result = 0 ;
21110
21111 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21112 {
21113 if (!wxPyCheckForApp()) SWIG_fail;
21114 PyThreadState* __tstate = wxPyBeginAllowThreads();
21115 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21116 wxPyEndAllowThreads(__tstate);
21117 if (PyErr_Occurred()) SWIG_fail;
21118 }
21119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21120 return resultobj;
21121 fail:
21122 return NULL;
21123 }
21124
21125
21126 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21127 PyObject *resultobj = 0;
21128 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21129 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21130 long arg3 = (long) 0 ;
21131 bool result;
21132 void *argp1 = 0 ;
21133 int res1 = 0 ;
21134 void *argp2 = 0 ;
21135 int res2 = 0 ;
21136 long val3 ;
21137 int ecode3 = 0 ;
21138 PyObject * obj0 = 0 ;
21139 PyObject * obj1 = 0 ;
21140 PyObject * obj2 = 0 ;
21141 char * kwnames[] = {
21142 (char *) "self",(char *) "parent",(char *) "style", NULL
21143 };
21144
21145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21147 if (!SWIG_IsOK(res1)) {
21148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21149 }
21150 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21151 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21152 if (!SWIG_IsOK(res2)) {
21153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21154 }
21155 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21156 if (obj2) {
21157 ecode3 = SWIG_AsVal_long(obj2, &val3);
21158 if (!SWIG_IsOK(ecode3)) {
21159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21160 }
21161 arg3 = static_cast< long >(val3);
21162 }
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
21165 result = (bool)(arg1)->Create(arg2,arg3);
21166 wxPyEndAllowThreads(__tstate);
21167 if (PyErr_Occurred()) SWIG_fail;
21168 }
21169 {
21170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21171 }
21172 return resultobj;
21173 fail:
21174 return NULL;
21175 }
21176
21177
21178 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21179 PyObject *obj;
21180 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21181 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21182 return SWIG_Py_Void();
21183 }
21184
21185 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21186 return SWIG_Python_InitShadowInstance(args);
21187 }
21188
21189 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21190 PyObject *resultobj = 0;
21191 wxWindow *arg1 = (wxWindow *) 0 ;
21192 int arg2 = (int) (int)-1 ;
21193 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21194 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21195 wxSize const &arg4_defvalue = wxDefaultSize ;
21196 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21197 long arg5 = (long) 0 ;
21198 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21199 wxString *arg6 = (wxString *) &arg6_defvalue ;
21200 wxPyWindow *result = 0 ;
21201 void *argp1 = 0 ;
21202 int res1 = 0 ;
21203 int val2 ;
21204 int ecode2 = 0 ;
21205 wxPoint temp3 ;
21206 wxSize temp4 ;
21207 long val5 ;
21208 int ecode5 = 0 ;
21209 bool temp6 = false ;
21210 PyObject * obj0 = 0 ;
21211 PyObject * obj1 = 0 ;
21212 PyObject * obj2 = 0 ;
21213 PyObject * obj3 = 0 ;
21214 PyObject * obj4 = 0 ;
21215 PyObject * obj5 = 0 ;
21216 char * kwnames[] = {
21217 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21218 };
21219
21220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21222 if (!SWIG_IsOK(res1)) {
21223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21224 }
21225 arg1 = reinterpret_cast< wxWindow * >(argp1);
21226 if (obj1) {
21227 ecode2 = SWIG_AsVal_int(obj1, &val2);
21228 if (!SWIG_IsOK(ecode2)) {
21229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21230 }
21231 arg2 = static_cast< int >(val2);
21232 }
21233 if (obj2) {
21234 {
21235 arg3 = &temp3;
21236 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21237 }
21238 }
21239 if (obj3) {
21240 {
21241 arg4 = &temp4;
21242 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21243 }
21244 }
21245 if (obj4) {
21246 ecode5 = SWIG_AsVal_long(obj4, &val5);
21247 if (!SWIG_IsOK(ecode5)) {
21248 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21249 }
21250 arg5 = static_cast< long >(val5);
21251 }
21252 if (obj5) {
21253 {
21254 arg6 = wxString_in_helper(obj5);
21255 if (arg6 == NULL) SWIG_fail;
21256 temp6 = true;
21257 }
21258 }
21259 {
21260 if (!wxPyCheckForApp()) SWIG_fail;
21261 PyThreadState* __tstate = wxPyBeginAllowThreads();
21262 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21263 wxPyEndAllowThreads(__tstate);
21264 if (PyErr_Occurred()) SWIG_fail;
21265 }
21266 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21267 {
21268 if (temp6)
21269 delete arg6;
21270 }
21271 return resultobj;
21272 fail:
21273 {
21274 if (temp6)
21275 delete arg6;
21276 }
21277 return NULL;
21278 }
21279
21280
21281 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21282 PyObject *resultobj = 0;
21283 wxPyWindow *result = 0 ;
21284
21285 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21286 {
21287 if (!wxPyCheckForApp()) SWIG_fail;
21288 PyThreadState* __tstate = wxPyBeginAllowThreads();
21289 result = (wxPyWindow *)new wxPyWindow();
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21294 return resultobj;
21295 fail:
21296 return NULL;
21297 }
21298
21299
21300 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21301 PyObject *resultobj = 0;
21302 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21303 PyObject *arg2 = (PyObject *) 0 ;
21304 PyObject *arg3 = (PyObject *) 0 ;
21305 void *argp1 = 0 ;
21306 int res1 = 0 ;
21307 PyObject * obj0 = 0 ;
21308 PyObject * obj1 = 0 ;
21309 PyObject * obj2 = 0 ;
21310 char * kwnames[] = {
21311 (char *) "self",(char *) "self",(char *) "_class", NULL
21312 };
21313
21314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21316 if (!SWIG_IsOK(res1)) {
21317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21318 }
21319 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21320 arg2 = obj1;
21321 arg3 = obj2;
21322 {
21323 PyThreadState* __tstate = wxPyBeginAllowThreads();
21324 (arg1)->_setCallbackInfo(arg2,arg3);
21325 wxPyEndAllowThreads(__tstate);
21326 if (PyErr_Occurred()) SWIG_fail;
21327 }
21328 resultobj = SWIG_Py_Void();
21329 return resultobj;
21330 fail:
21331 return NULL;
21332 }
21333
21334
21335 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21336 PyObject *resultobj = 0;
21337 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21338 wxSize *arg2 = 0 ;
21339 void *argp1 = 0 ;
21340 int res1 = 0 ;
21341 wxSize temp2 ;
21342 PyObject * obj0 = 0 ;
21343 PyObject * obj1 = 0 ;
21344 char * kwnames[] = {
21345 (char *) "self",(char *) "size", NULL
21346 };
21347
21348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21350 if (!SWIG_IsOK(res1)) {
21351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21352 }
21353 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21354 {
21355 arg2 = &temp2;
21356 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21357 }
21358 {
21359 PyThreadState* __tstate = wxPyBeginAllowThreads();
21360 (arg1)->SetBestSize((wxSize const &)*arg2);
21361 wxPyEndAllowThreads(__tstate);
21362 if (PyErr_Occurred()) SWIG_fail;
21363 }
21364 resultobj = SWIG_Py_Void();
21365 return resultobj;
21366 fail:
21367 return NULL;
21368 }
21369
21370
21371 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21372 PyObject *resultobj = 0;
21373 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21374 wxDC *arg2 = (wxDC *) 0 ;
21375 bool result;
21376 void *argp1 = 0 ;
21377 int res1 = 0 ;
21378 void *argp2 = 0 ;
21379 int res2 = 0 ;
21380 PyObject * obj0 = 0 ;
21381 PyObject * obj1 = 0 ;
21382 char * kwnames[] = {
21383 (char *) "self",(char *) "dc", NULL
21384 };
21385
21386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21388 if (!SWIG_IsOK(res1)) {
21389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21390 }
21391 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21392 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21393 if (!SWIG_IsOK(res2)) {
21394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21395 }
21396 arg2 = reinterpret_cast< wxDC * >(argp2);
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 result = (bool)(arg1)->DoEraseBackground(arg2);
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 {
21404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21405 }
21406 return resultobj;
21407 fail:
21408 return NULL;
21409 }
21410
21411
21412 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21413 PyObject *resultobj = 0;
21414 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21415 int arg2 ;
21416 int arg3 ;
21417 int arg4 ;
21418 int arg5 ;
21419 void *argp1 = 0 ;
21420 int res1 = 0 ;
21421 int val2 ;
21422 int ecode2 = 0 ;
21423 int val3 ;
21424 int ecode3 = 0 ;
21425 int val4 ;
21426 int ecode4 = 0 ;
21427 int val5 ;
21428 int ecode5 = 0 ;
21429 PyObject * obj0 = 0 ;
21430 PyObject * obj1 = 0 ;
21431 PyObject * obj2 = 0 ;
21432 PyObject * obj3 = 0 ;
21433 PyObject * obj4 = 0 ;
21434 char * kwnames[] = {
21435 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21436 };
21437
21438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21440 if (!SWIG_IsOK(res1)) {
21441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21442 }
21443 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21444 ecode2 = SWIG_AsVal_int(obj1, &val2);
21445 if (!SWIG_IsOK(ecode2)) {
21446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21447 }
21448 arg2 = static_cast< int >(val2);
21449 ecode3 = SWIG_AsVal_int(obj2, &val3);
21450 if (!SWIG_IsOK(ecode3)) {
21451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21452 }
21453 arg3 = static_cast< int >(val3);
21454 ecode4 = SWIG_AsVal_int(obj3, &val4);
21455 if (!SWIG_IsOK(ecode4)) {
21456 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21457 }
21458 arg4 = static_cast< int >(val4);
21459 ecode5 = SWIG_AsVal_int(obj4, &val5);
21460 if (!SWIG_IsOK(ecode5)) {
21461 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21462 }
21463 arg5 = static_cast< int >(val5);
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
21466 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 resultobj = SWIG_Py_Void();
21471 return resultobj;
21472 fail:
21473 return NULL;
21474 }
21475
21476
21477 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21478 PyObject *resultobj = 0;
21479 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21480 int arg2 ;
21481 int arg3 ;
21482 int arg4 ;
21483 int arg5 ;
21484 int arg6 = (int) wxSIZE_AUTO ;
21485 void *argp1 = 0 ;
21486 int res1 = 0 ;
21487 int val2 ;
21488 int ecode2 = 0 ;
21489 int val3 ;
21490 int ecode3 = 0 ;
21491 int val4 ;
21492 int ecode4 = 0 ;
21493 int val5 ;
21494 int ecode5 = 0 ;
21495 int val6 ;
21496 int ecode6 = 0 ;
21497 PyObject * obj0 = 0 ;
21498 PyObject * obj1 = 0 ;
21499 PyObject * obj2 = 0 ;
21500 PyObject * obj3 = 0 ;
21501 PyObject * obj4 = 0 ;
21502 PyObject * obj5 = 0 ;
21503 char * kwnames[] = {
21504 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21505 };
21506
21507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21509 if (!SWIG_IsOK(res1)) {
21510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21511 }
21512 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21513 ecode2 = SWIG_AsVal_int(obj1, &val2);
21514 if (!SWIG_IsOK(ecode2)) {
21515 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21516 }
21517 arg2 = static_cast< int >(val2);
21518 ecode3 = SWIG_AsVal_int(obj2, &val3);
21519 if (!SWIG_IsOK(ecode3)) {
21520 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21521 }
21522 arg3 = static_cast< int >(val3);
21523 ecode4 = SWIG_AsVal_int(obj3, &val4);
21524 if (!SWIG_IsOK(ecode4)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21526 }
21527 arg4 = static_cast< int >(val4);
21528 ecode5 = SWIG_AsVal_int(obj4, &val5);
21529 if (!SWIG_IsOK(ecode5)) {
21530 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21531 }
21532 arg5 = static_cast< int >(val5);
21533 if (obj5) {
21534 ecode6 = SWIG_AsVal_int(obj5, &val6);
21535 if (!SWIG_IsOK(ecode6)) {
21536 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21537 }
21538 arg6 = static_cast< int >(val6);
21539 }
21540 {
21541 PyThreadState* __tstate = wxPyBeginAllowThreads();
21542 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21543 wxPyEndAllowThreads(__tstate);
21544 if (PyErr_Occurred()) SWIG_fail;
21545 }
21546 resultobj = SWIG_Py_Void();
21547 return resultobj;
21548 fail:
21549 return NULL;
21550 }
21551
21552
21553 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21554 PyObject *resultobj = 0;
21555 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21556 int arg2 ;
21557 int arg3 ;
21558 void *argp1 = 0 ;
21559 int res1 = 0 ;
21560 int val2 ;
21561 int ecode2 = 0 ;
21562 int val3 ;
21563 int ecode3 = 0 ;
21564 PyObject * obj0 = 0 ;
21565 PyObject * obj1 = 0 ;
21566 PyObject * obj2 = 0 ;
21567 char * kwnames[] = {
21568 (char *) "self",(char *) "width",(char *) "height", NULL
21569 };
21570
21571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21573 if (!SWIG_IsOK(res1)) {
21574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21575 }
21576 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21577 ecode2 = SWIG_AsVal_int(obj1, &val2);
21578 if (!SWIG_IsOK(ecode2)) {
21579 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21580 }
21581 arg2 = static_cast< int >(val2);
21582 ecode3 = SWIG_AsVal_int(obj2, &val3);
21583 if (!SWIG_IsOK(ecode3)) {
21584 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21585 }
21586 arg3 = static_cast< int >(val3);
21587 {
21588 PyThreadState* __tstate = wxPyBeginAllowThreads();
21589 (arg1)->DoSetClientSize(arg2,arg3);
21590 wxPyEndAllowThreads(__tstate);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 }
21593 resultobj = SWIG_Py_Void();
21594 return resultobj;
21595 fail:
21596 return NULL;
21597 }
21598
21599
21600 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21601 PyObject *resultobj = 0;
21602 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21603 int arg2 ;
21604 int arg3 ;
21605 void *argp1 = 0 ;
21606 int res1 = 0 ;
21607 int val2 ;
21608 int ecode2 = 0 ;
21609 int val3 ;
21610 int ecode3 = 0 ;
21611 PyObject * obj0 = 0 ;
21612 PyObject * obj1 = 0 ;
21613 PyObject * obj2 = 0 ;
21614 char * kwnames[] = {
21615 (char *) "self",(char *) "x",(char *) "y", NULL
21616 };
21617
21618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21620 if (!SWIG_IsOK(res1)) {
21621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21622 }
21623 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21624 ecode2 = SWIG_AsVal_int(obj1, &val2);
21625 if (!SWIG_IsOK(ecode2)) {
21626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21627 }
21628 arg2 = static_cast< int >(val2);
21629 ecode3 = SWIG_AsVal_int(obj2, &val3);
21630 if (!SWIG_IsOK(ecode3)) {
21631 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21632 }
21633 arg3 = static_cast< int >(val3);
21634 {
21635 PyThreadState* __tstate = wxPyBeginAllowThreads();
21636 (arg1)->DoSetVirtualSize(arg2,arg3);
21637 wxPyEndAllowThreads(__tstate);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 }
21640 resultobj = SWIG_Py_Void();
21641 return resultobj;
21642 fail:
21643 return NULL;
21644 }
21645
21646
21647 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21648 PyObject *resultobj = 0;
21649 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21650 int *arg2 = (int *) 0 ;
21651 int *arg3 = (int *) 0 ;
21652 void *argp1 = 0 ;
21653 int res1 = 0 ;
21654 int temp2 ;
21655 int res2 = SWIG_TMPOBJ ;
21656 int temp3 ;
21657 int res3 = SWIG_TMPOBJ ;
21658 PyObject *swig_obj[1] ;
21659
21660 arg2 = &temp2;
21661 arg3 = &temp3;
21662 if (!args) SWIG_fail;
21663 swig_obj[0] = args;
21664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21665 if (!SWIG_IsOK(res1)) {
21666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21667 }
21668 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21669 {
21670 PyThreadState* __tstate = wxPyBeginAllowThreads();
21671 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21672 wxPyEndAllowThreads(__tstate);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 resultobj = SWIG_Py_Void();
21676 if (SWIG_IsTmpObj(res2)) {
21677 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21678 } else {
21679 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21680 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21681 }
21682 if (SWIG_IsTmpObj(res3)) {
21683 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21684 } else {
21685 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21686 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21687 }
21688 return resultobj;
21689 fail:
21690 return NULL;
21691 }
21692
21693
21694 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21695 PyObject *resultobj = 0;
21696 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21697 int *arg2 = (int *) 0 ;
21698 int *arg3 = (int *) 0 ;
21699 void *argp1 = 0 ;
21700 int res1 = 0 ;
21701 int temp2 ;
21702 int res2 = SWIG_TMPOBJ ;
21703 int temp3 ;
21704 int res3 = SWIG_TMPOBJ ;
21705 PyObject *swig_obj[1] ;
21706
21707 arg2 = &temp2;
21708 arg3 = &temp3;
21709 if (!args) SWIG_fail;
21710 swig_obj[0] = args;
21711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21712 if (!SWIG_IsOK(res1)) {
21713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21714 }
21715 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21716 {
21717 PyThreadState* __tstate = wxPyBeginAllowThreads();
21718 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21719 wxPyEndAllowThreads(__tstate);
21720 if (PyErr_Occurred()) SWIG_fail;
21721 }
21722 resultobj = SWIG_Py_Void();
21723 if (SWIG_IsTmpObj(res2)) {
21724 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21725 } else {
21726 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21727 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21728 }
21729 if (SWIG_IsTmpObj(res3)) {
21730 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21731 } else {
21732 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21733 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21734 }
21735 return resultobj;
21736 fail:
21737 return NULL;
21738 }
21739
21740
21741 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21742 PyObject *resultobj = 0;
21743 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21744 int *arg2 = (int *) 0 ;
21745 int *arg3 = (int *) 0 ;
21746 void *argp1 = 0 ;
21747 int res1 = 0 ;
21748 int temp2 ;
21749 int res2 = SWIG_TMPOBJ ;
21750 int temp3 ;
21751 int res3 = SWIG_TMPOBJ ;
21752 PyObject *swig_obj[1] ;
21753
21754 arg2 = &temp2;
21755 arg3 = &temp3;
21756 if (!args) SWIG_fail;
21757 swig_obj[0] = args;
21758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21759 if (!SWIG_IsOK(res1)) {
21760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21761 }
21762 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21763 {
21764 PyThreadState* __tstate = wxPyBeginAllowThreads();
21765 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21766 wxPyEndAllowThreads(__tstate);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 }
21769 resultobj = SWIG_Py_Void();
21770 if (SWIG_IsTmpObj(res2)) {
21771 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21772 } else {
21773 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21774 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21775 }
21776 if (SWIG_IsTmpObj(res3)) {
21777 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21778 } else {
21779 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21780 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21781 }
21782 return resultobj;
21783 fail:
21784 return NULL;
21785 }
21786
21787
21788 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21789 PyObject *resultobj = 0;
21790 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21791 wxSize result;
21792 void *argp1 = 0 ;
21793 int res1 = 0 ;
21794 PyObject *swig_obj[1] ;
21795
21796 if (!args) SWIG_fail;
21797 swig_obj[0] = args;
21798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21799 if (!SWIG_IsOK(res1)) {
21800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21801 }
21802 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21803 {
21804 PyThreadState* __tstate = wxPyBeginAllowThreads();
21805 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21806 wxPyEndAllowThreads(__tstate);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21810 return resultobj;
21811 fail:
21812 return NULL;
21813 }
21814
21815
21816 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21817 PyObject *resultobj = 0;
21818 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21819 wxSize result;
21820 void *argp1 = 0 ;
21821 int res1 = 0 ;
21822 PyObject *swig_obj[1] ;
21823
21824 if (!args) SWIG_fail;
21825 swig_obj[0] = args;
21826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21827 if (!SWIG_IsOK(res1)) {
21828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21829 }
21830 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21831 {
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21838 return resultobj;
21839 fail:
21840 return NULL;
21841 }
21842
21843
21844 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21845 PyObject *resultobj = 0;
21846 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21847 SwigValueWrapper<wxVisualAttributes > result;
21848 void *argp1 = 0 ;
21849 int res1 = 0 ;
21850 PyObject *swig_obj[1] ;
21851
21852 if (!args) SWIG_fail;
21853 swig_obj[0] = args;
21854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21855 if (!SWIG_IsOK(res1)) {
21856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21857 }
21858 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21859 {
21860 PyThreadState* __tstate = wxPyBeginAllowThreads();
21861 result = (arg1)->GetDefaultAttributes();
21862 wxPyEndAllowThreads(__tstate);
21863 if (PyErr_Occurred()) SWIG_fail;
21864 }
21865 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21866 return resultobj;
21867 fail:
21868 return NULL;
21869 }
21870
21871
21872 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21873 PyObject *resultobj = 0;
21874 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21875 void *argp1 = 0 ;
21876 int res1 = 0 ;
21877 PyObject *swig_obj[1] ;
21878
21879 if (!args) SWIG_fail;
21880 swig_obj[0] = args;
21881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21882 if (!SWIG_IsOK(res1)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21884 }
21885 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21886 {
21887 PyThreadState* __tstate = wxPyBeginAllowThreads();
21888 (arg1)->OnInternalIdle();
21889 wxPyEndAllowThreads(__tstate);
21890 if (PyErr_Occurred()) SWIG_fail;
21891 }
21892 resultobj = SWIG_Py_Void();
21893 return resultobj;
21894 fail:
21895 return NULL;
21896 }
21897
21898
21899 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21900 PyObject *obj;
21901 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21902 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21903 return SWIG_Py_Void();
21904 }
21905
21906 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21907 return SWIG_Python_InitShadowInstance(args);
21908 }
21909
21910 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj = 0;
21912 wxWindow *arg1 = (wxWindow *) 0 ;
21913 int arg2 = (int) (int)-1 ;
21914 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21915 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21916 wxSize const &arg4_defvalue = wxDefaultSize ;
21917 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21918 long arg5 = (long) 0 ;
21919 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21920 wxString *arg6 = (wxString *) &arg6_defvalue ;
21921 wxPyPanel *result = 0 ;
21922 void *argp1 = 0 ;
21923 int res1 = 0 ;
21924 int val2 ;
21925 int ecode2 = 0 ;
21926 wxPoint temp3 ;
21927 wxSize temp4 ;
21928 long val5 ;
21929 int ecode5 = 0 ;
21930 bool temp6 = false ;
21931 PyObject * obj0 = 0 ;
21932 PyObject * obj1 = 0 ;
21933 PyObject * obj2 = 0 ;
21934 PyObject * obj3 = 0 ;
21935 PyObject * obj4 = 0 ;
21936 PyObject * obj5 = 0 ;
21937 char * kwnames[] = {
21938 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21939 };
21940
21941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21943 if (!SWIG_IsOK(res1)) {
21944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21945 }
21946 arg1 = reinterpret_cast< wxWindow * >(argp1);
21947 if (obj1) {
21948 ecode2 = SWIG_AsVal_int(obj1, &val2);
21949 if (!SWIG_IsOK(ecode2)) {
21950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21951 }
21952 arg2 = static_cast< int >(val2);
21953 }
21954 if (obj2) {
21955 {
21956 arg3 = &temp3;
21957 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21958 }
21959 }
21960 if (obj3) {
21961 {
21962 arg4 = &temp4;
21963 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21964 }
21965 }
21966 if (obj4) {
21967 ecode5 = SWIG_AsVal_long(obj4, &val5);
21968 if (!SWIG_IsOK(ecode5)) {
21969 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21970 }
21971 arg5 = static_cast< long >(val5);
21972 }
21973 if (obj5) {
21974 {
21975 arg6 = wxString_in_helper(obj5);
21976 if (arg6 == NULL) SWIG_fail;
21977 temp6 = true;
21978 }
21979 }
21980 {
21981 if (!wxPyCheckForApp()) SWIG_fail;
21982 PyThreadState* __tstate = wxPyBeginAllowThreads();
21983 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21984 wxPyEndAllowThreads(__tstate);
21985 if (PyErr_Occurred()) SWIG_fail;
21986 }
21987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21988 {
21989 if (temp6)
21990 delete arg6;
21991 }
21992 return resultobj;
21993 fail:
21994 {
21995 if (temp6)
21996 delete arg6;
21997 }
21998 return NULL;
21999 }
22000
22001
22002 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22003 PyObject *resultobj = 0;
22004 wxPyPanel *result = 0 ;
22005
22006 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22007 {
22008 if (!wxPyCheckForApp()) SWIG_fail;
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 result = (wxPyPanel *)new wxPyPanel();
22011 wxPyEndAllowThreads(__tstate);
22012 if (PyErr_Occurred()) SWIG_fail;
22013 }
22014 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22015 return resultobj;
22016 fail:
22017 return NULL;
22018 }
22019
22020
22021 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22022 PyObject *resultobj = 0;
22023 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22024 PyObject *arg2 = (PyObject *) 0 ;
22025 PyObject *arg3 = (PyObject *) 0 ;
22026 void *argp1 = 0 ;
22027 int res1 = 0 ;
22028 PyObject * obj0 = 0 ;
22029 PyObject * obj1 = 0 ;
22030 PyObject * obj2 = 0 ;
22031 char * kwnames[] = {
22032 (char *) "self",(char *) "self",(char *) "_class", NULL
22033 };
22034
22035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22037 if (!SWIG_IsOK(res1)) {
22038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22039 }
22040 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22041 arg2 = obj1;
22042 arg3 = obj2;
22043 {
22044 PyThreadState* __tstate = wxPyBeginAllowThreads();
22045 (arg1)->_setCallbackInfo(arg2,arg3);
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 resultobj = SWIG_Py_Void();
22050 return resultobj;
22051 fail:
22052 return NULL;
22053 }
22054
22055
22056 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22057 PyObject *resultobj = 0;
22058 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22059 wxSize *arg2 = 0 ;
22060 void *argp1 = 0 ;
22061 int res1 = 0 ;
22062 wxSize temp2 ;
22063 PyObject * obj0 = 0 ;
22064 PyObject * obj1 = 0 ;
22065 char * kwnames[] = {
22066 (char *) "self",(char *) "size", NULL
22067 };
22068
22069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22071 if (!SWIG_IsOK(res1)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22073 }
22074 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22075 {
22076 arg2 = &temp2;
22077 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22078 }
22079 {
22080 PyThreadState* __tstate = wxPyBeginAllowThreads();
22081 (arg1)->SetBestSize((wxSize const &)*arg2);
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 resultobj = SWIG_Py_Void();
22086 return resultobj;
22087 fail:
22088 return NULL;
22089 }
22090
22091
22092 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22093 PyObject *resultobj = 0;
22094 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22095 wxDC *arg2 = (wxDC *) 0 ;
22096 bool result;
22097 void *argp1 = 0 ;
22098 int res1 = 0 ;
22099 void *argp2 = 0 ;
22100 int res2 = 0 ;
22101 PyObject * obj0 = 0 ;
22102 PyObject * obj1 = 0 ;
22103 char * kwnames[] = {
22104 (char *) "self",(char *) "dc", NULL
22105 };
22106
22107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22109 if (!SWIG_IsOK(res1)) {
22110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22111 }
22112 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22113 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22114 if (!SWIG_IsOK(res2)) {
22115 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22116 }
22117 arg2 = reinterpret_cast< wxDC * >(argp2);
22118 {
22119 PyThreadState* __tstate = wxPyBeginAllowThreads();
22120 result = (bool)(arg1)->DoEraseBackground(arg2);
22121 wxPyEndAllowThreads(__tstate);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 {
22125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22126 }
22127 return resultobj;
22128 fail:
22129 return NULL;
22130 }
22131
22132
22133 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22134 PyObject *resultobj = 0;
22135 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22136 int arg2 ;
22137 int arg3 ;
22138 int arg4 ;
22139 int arg5 ;
22140 void *argp1 = 0 ;
22141 int res1 = 0 ;
22142 int val2 ;
22143 int ecode2 = 0 ;
22144 int val3 ;
22145 int ecode3 = 0 ;
22146 int val4 ;
22147 int ecode4 = 0 ;
22148 int val5 ;
22149 int ecode5 = 0 ;
22150 PyObject * obj0 = 0 ;
22151 PyObject * obj1 = 0 ;
22152 PyObject * obj2 = 0 ;
22153 PyObject * obj3 = 0 ;
22154 PyObject * obj4 = 0 ;
22155 char * kwnames[] = {
22156 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22157 };
22158
22159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22161 if (!SWIG_IsOK(res1)) {
22162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22163 }
22164 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22165 ecode2 = SWIG_AsVal_int(obj1, &val2);
22166 if (!SWIG_IsOK(ecode2)) {
22167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22168 }
22169 arg2 = static_cast< int >(val2);
22170 ecode3 = SWIG_AsVal_int(obj2, &val3);
22171 if (!SWIG_IsOK(ecode3)) {
22172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22173 }
22174 arg3 = static_cast< int >(val3);
22175 ecode4 = SWIG_AsVal_int(obj3, &val4);
22176 if (!SWIG_IsOK(ecode4)) {
22177 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22178 }
22179 arg4 = static_cast< int >(val4);
22180 ecode5 = SWIG_AsVal_int(obj4, &val5);
22181 if (!SWIG_IsOK(ecode5)) {
22182 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22183 }
22184 arg5 = static_cast< int >(val5);
22185 {
22186 PyThreadState* __tstate = wxPyBeginAllowThreads();
22187 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22188 wxPyEndAllowThreads(__tstate);
22189 if (PyErr_Occurred()) SWIG_fail;
22190 }
22191 resultobj = SWIG_Py_Void();
22192 return resultobj;
22193 fail:
22194 return NULL;
22195 }
22196
22197
22198 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22199 PyObject *resultobj = 0;
22200 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22201 int arg2 ;
22202 int arg3 ;
22203 int arg4 ;
22204 int arg5 ;
22205 int arg6 = (int) wxSIZE_AUTO ;
22206 void *argp1 = 0 ;
22207 int res1 = 0 ;
22208 int val2 ;
22209 int ecode2 = 0 ;
22210 int val3 ;
22211 int ecode3 = 0 ;
22212 int val4 ;
22213 int ecode4 = 0 ;
22214 int val5 ;
22215 int ecode5 = 0 ;
22216 int val6 ;
22217 int ecode6 = 0 ;
22218 PyObject * obj0 = 0 ;
22219 PyObject * obj1 = 0 ;
22220 PyObject * obj2 = 0 ;
22221 PyObject * obj3 = 0 ;
22222 PyObject * obj4 = 0 ;
22223 PyObject * obj5 = 0 ;
22224 char * kwnames[] = {
22225 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22226 };
22227
22228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22230 if (!SWIG_IsOK(res1)) {
22231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22232 }
22233 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22234 ecode2 = SWIG_AsVal_int(obj1, &val2);
22235 if (!SWIG_IsOK(ecode2)) {
22236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22237 }
22238 arg2 = static_cast< int >(val2);
22239 ecode3 = SWIG_AsVal_int(obj2, &val3);
22240 if (!SWIG_IsOK(ecode3)) {
22241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22242 }
22243 arg3 = static_cast< int >(val3);
22244 ecode4 = SWIG_AsVal_int(obj3, &val4);
22245 if (!SWIG_IsOK(ecode4)) {
22246 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22247 }
22248 arg4 = static_cast< int >(val4);
22249 ecode5 = SWIG_AsVal_int(obj4, &val5);
22250 if (!SWIG_IsOK(ecode5)) {
22251 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22252 }
22253 arg5 = static_cast< int >(val5);
22254 if (obj5) {
22255 ecode6 = SWIG_AsVal_int(obj5, &val6);
22256 if (!SWIG_IsOK(ecode6)) {
22257 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22258 }
22259 arg6 = static_cast< int >(val6);
22260 }
22261 {
22262 PyThreadState* __tstate = wxPyBeginAllowThreads();
22263 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 resultobj = SWIG_Py_Void();
22268 return resultobj;
22269 fail:
22270 return NULL;
22271 }
22272
22273
22274 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22275 PyObject *resultobj = 0;
22276 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22277 int arg2 ;
22278 int arg3 ;
22279 void *argp1 = 0 ;
22280 int res1 = 0 ;
22281 int val2 ;
22282 int ecode2 = 0 ;
22283 int val3 ;
22284 int ecode3 = 0 ;
22285 PyObject * obj0 = 0 ;
22286 PyObject * obj1 = 0 ;
22287 PyObject * obj2 = 0 ;
22288 char * kwnames[] = {
22289 (char *) "self",(char *) "width",(char *) "height", NULL
22290 };
22291
22292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22294 if (!SWIG_IsOK(res1)) {
22295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22296 }
22297 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22298 ecode2 = SWIG_AsVal_int(obj1, &val2);
22299 if (!SWIG_IsOK(ecode2)) {
22300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22301 }
22302 arg2 = static_cast< int >(val2);
22303 ecode3 = SWIG_AsVal_int(obj2, &val3);
22304 if (!SWIG_IsOK(ecode3)) {
22305 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22306 }
22307 arg3 = static_cast< int >(val3);
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 (arg1)->DoSetClientSize(arg2,arg3);
22311 wxPyEndAllowThreads(__tstate);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
22314 resultobj = SWIG_Py_Void();
22315 return resultobj;
22316 fail:
22317 return NULL;
22318 }
22319
22320
22321 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22322 PyObject *resultobj = 0;
22323 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22324 int arg2 ;
22325 int arg3 ;
22326 void *argp1 = 0 ;
22327 int res1 = 0 ;
22328 int val2 ;
22329 int ecode2 = 0 ;
22330 int val3 ;
22331 int ecode3 = 0 ;
22332 PyObject * obj0 = 0 ;
22333 PyObject * obj1 = 0 ;
22334 PyObject * obj2 = 0 ;
22335 char * kwnames[] = {
22336 (char *) "self",(char *) "x",(char *) "y", NULL
22337 };
22338
22339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22341 if (!SWIG_IsOK(res1)) {
22342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22343 }
22344 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22345 ecode2 = SWIG_AsVal_int(obj1, &val2);
22346 if (!SWIG_IsOK(ecode2)) {
22347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22348 }
22349 arg2 = static_cast< int >(val2);
22350 ecode3 = SWIG_AsVal_int(obj2, &val3);
22351 if (!SWIG_IsOK(ecode3)) {
22352 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22353 }
22354 arg3 = static_cast< int >(val3);
22355 {
22356 PyThreadState* __tstate = wxPyBeginAllowThreads();
22357 (arg1)->DoSetVirtualSize(arg2,arg3);
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 resultobj = SWIG_Py_Void();
22362 return resultobj;
22363 fail:
22364 return NULL;
22365 }
22366
22367
22368 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22369 PyObject *resultobj = 0;
22370 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22371 int *arg2 = (int *) 0 ;
22372 int *arg3 = (int *) 0 ;
22373 void *argp1 = 0 ;
22374 int res1 = 0 ;
22375 int temp2 ;
22376 int res2 = SWIG_TMPOBJ ;
22377 int temp3 ;
22378 int res3 = SWIG_TMPOBJ ;
22379 PyObject *swig_obj[1] ;
22380
22381 arg2 = &temp2;
22382 arg3 = &temp3;
22383 if (!args) SWIG_fail;
22384 swig_obj[0] = args;
22385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22386 if (!SWIG_IsOK(res1)) {
22387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22388 }
22389 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22390 {
22391 PyThreadState* __tstate = wxPyBeginAllowThreads();
22392 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22393 wxPyEndAllowThreads(__tstate);
22394 if (PyErr_Occurred()) SWIG_fail;
22395 }
22396 resultobj = SWIG_Py_Void();
22397 if (SWIG_IsTmpObj(res2)) {
22398 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22399 } else {
22400 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22401 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22402 }
22403 if (SWIG_IsTmpObj(res3)) {
22404 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22405 } else {
22406 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22407 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22408 }
22409 return resultobj;
22410 fail:
22411 return NULL;
22412 }
22413
22414
22415 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22416 PyObject *resultobj = 0;
22417 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22418 int *arg2 = (int *) 0 ;
22419 int *arg3 = (int *) 0 ;
22420 void *argp1 = 0 ;
22421 int res1 = 0 ;
22422 int temp2 ;
22423 int res2 = SWIG_TMPOBJ ;
22424 int temp3 ;
22425 int res3 = SWIG_TMPOBJ ;
22426 PyObject *swig_obj[1] ;
22427
22428 arg2 = &temp2;
22429 arg3 = &temp3;
22430 if (!args) SWIG_fail;
22431 swig_obj[0] = args;
22432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22433 if (!SWIG_IsOK(res1)) {
22434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22435 }
22436 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22437 {
22438 PyThreadState* __tstate = wxPyBeginAllowThreads();
22439 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22440 wxPyEndAllowThreads(__tstate);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 }
22443 resultobj = SWIG_Py_Void();
22444 if (SWIG_IsTmpObj(res2)) {
22445 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22446 } else {
22447 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22449 }
22450 if (SWIG_IsTmpObj(res3)) {
22451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22452 } else {
22453 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22455 }
22456 return resultobj;
22457 fail:
22458 return NULL;
22459 }
22460
22461
22462 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22463 PyObject *resultobj = 0;
22464 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22465 int *arg2 = (int *) 0 ;
22466 int *arg3 = (int *) 0 ;
22467 void *argp1 = 0 ;
22468 int res1 = 0 ;
22469 int temp2 ;
22470 int res2 = SWIG_TMPOBJ ;
22471 int temp3 ;
22472 int res3 = SWIG_TMPOBJ ;
22473 PyObject *swig_obj[1] ;
22474
22475 arg2 = &temp2;
22476 arg3 = &temp3;
22477 if (!args) SWIG_fail;
22478 swig_obj[0] = args;
22479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22480 if (!SWIG_IsOK(res1)) {
22481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22482 }
22483 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22484 {
22485 PyThreadState* __tstate = wxPyBeginAllowThreads();
22486 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22487 wxPyEndAllowThreads(__tstate);
22488 if (PyErr_Occurred()) SWIG_fail;
22489 }
22490 resultobj = SWIG_Py_Void();
22491 if (SWIG_IsTmpObj(res2)) {
22492 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22493 } else {
22494 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22495 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22496 }
22497 if (SWIG_IsTmpObj(res3)) {
22498 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22499 } else {
22500 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22501 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22502 }
22503 return resultobj;
22504 fail:
22505 return NULL;
22506 }
22507
22508
22509 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22510 PyObject *resultobj = 0;
22511 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22512 wxSize result;
22513 void *argp1 = 0 ;
22514 int res1 = 0 ;
22515 PyObject *swig_obj[1] ;
22516
22517 if (!args) SWIG_fail;
22518 swig_obj[0] = args;
22519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22520 if (!SWIG_IsOK(res1)) {
22521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22522 }
22523 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22531 return resultobj;
22532 fail:
22533 return NULL;
22534 }
22535
22536
22537 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22538 PyObject *resultobj = 0;
22539 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22540 wxSize result;
22541 void *argp1 = 0 ;
22542 int res1 = 0 ;
22543 PyObject *swig_obj[1] ;
22544
22545 if (!args) SWIG_fail;
22546 swig_obj[0] = args;
22547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22548 if (!SWIG_IsOK(res1)) {
22549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22550 }
22551 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22559 return resultobj;
22560 fail:
22561 return NULL;
22562 }
22563
22564
22565 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22566 PyObject *resultobj = 0;
22567 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22568 SwigValueWrapper<wxVisualAttributes > result;
22569 void *argp1 = 0 ;
22570 int res1 = 0 ;
22571 PyObject *swig_obj[1] ;
22572
22573 if (!args) SWIG_fail;
22574 swig_obj[0] = args;
22575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22576 if (!SWIG_IsOK(res1)) {
22577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22578 }
22579 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22580 {
22581 PyThreadState* __tstate = wxPyBeginAllowThreads();
22582 result = (arg1)->GetDefaultAttributes();
22583 wxPyEndAllowThreads(__tstate);
22584 if (PyErr_Occurred()) SWIG_fail;
22585 }
22586 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22587 return resultobj;
22588 fail:
22589 return NULL;
22590 }
22591
22592
22593 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22594 PyObject *resultobj = 0;
22595 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22596 void *argp1 = 0 ;
22597 int res1 = 0 ;
22598 PyObject *swig_obj[1] ;
22599
22600 if (!args) SWIG_fail;
22601 swig_obj[0] = args;
22602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22603 if (!SWIG_IsOK(res1)) {
22604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22605 }
22606 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22607 {
22608 PyThreadState* __tstate = wxPyBeginAllowThreads();
22609 (arg1)->OnInternalIdle();
22610 wxPyEndAllowThreads(__tstate);
22611 if (PyErr_Occurred()) SWIG_fail;
22612 }
22613 resultobj = SWIG_Py_Void();
22614 return resultobj;
22615 fail:
22616 return NULL;
22617 }
22618
22619
22620 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22621 PyObject *obj;
22622 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22623 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22624 return SWIG_Py_Void();
22625 }
22626
22627 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22628 return SWIG_Python_InitShadowInstance(args);
22629 }
22630
22631 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22632 PyObject *resultobj = 0;
22633 wxWindow *arg1 = (wxWindow *) 0 ;
22634 int arg2 = (int) (int)-1 ;
22635 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22636 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22637 wxSize const &arg4_defvalue = wxDefaultSize ;
22638 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22639 long arg5 = (long) 0 ;
22640 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22641 wxString *arg6 = (wxString *) &arg6_defvalue ;
22642 wxPyScrolledWindow *result = 0 ;
22643 void *argp1 = 0 ;
22644 int res1 = 0 ;
22645 int val2 ;
22646 int ecode2 = 0 ;
22647 wxPoint temp3 ;
22648 wxSize temp4 ;
22649 long val5 ;
22650 int ecode5 = 0 ;
22651 bool temp6 = false ;
22652 PyObject * obj0 = 0 ;
22653 PyObject * obj1 = 0 ;
22654 PyObject * obj2 = 0 ;
22655 PyObject * obj3 = 0 ;
22656 PyObject * obj4 = 0 ;
22657 PyObject * obj5 = 0 ;
22658 char * kwnames[] = {
22659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22660 };
22661
22662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22664 if (!SWIG_IsOK(res1)) {
22665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22666 }
22667 arg1 = reinterpret_cast< wxWindow * >(argp1);
22668 if (obj1) {
22669 ecode2 = SWIG_AsVal_int(obj1, &val2);
22670 if (!SWIG_IsOK(ecode2)) {
22671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22672 }
22673 arg2 = static_cast< int >(val2);
22674 }
22675 if (obj2) {
22676 {
22677 arg3 = &temp3;
22678 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22679 }
22680 }
22681 if (obj3) {
22682 {
22683 arg4 = &temp4;
22684 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22685 }
22686 }
22687 if (obj4) {
22688 ecode5 = SWIG_AsVal_long(obj4, &val5);
22689 if (!SWIG_IsOK(ecode5)) {
22690 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22691 }
22692 arg5 = static_cast< long >(val5);
22693 }
22694 if (obj5) {
22695 {
22696 arg6 = wxString_in_helper(obj5);
22697 if (arg6 == NULL) SWIG_fail;
22698 temp6 = true;
22699 }
22700 }
22701 {
22702 if (!wxPyCheckForApp()) SWIG_fail;
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22705 wxPyEndAllowThreads(__tstate);
22706 if (PyErr_Occurred()) SWIG_fail;
22707 }
22708 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22709 {
22710 if (temp6)
22711 delete arg6;
22712 }
22713 return resultobj;
22714 fail:
22715 {
22716 if (temp6)
22717 delete arg6;
22718 }
22719 return NULL;
22720 }
22721
22722
22723 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22724 PyObject *resultobj = 0;
22725 wxPyScrolledWindow *result = 0 ;
22726
22727 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22728 {
22729 if (!wxPyCheckForApp()) SWIG_fail;
22730 PyThreadState* __tstate = wxPyBeginAllowThreads();
22731 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22732 wxPyEndAllowThreads(__tstate);
22733 if (PyErr_Occurred()) SWIG_fail;
22734 }
22735 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22736 return resultobj;
22737 fail:
22738 return NULL;
22739 }
22740
22741
22742 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22743 PyObject *resultobj = 0;
22744 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22745 PyObject *arg2 = (PyObject *) 0 ;
22746 PyObject *arg3 = (PyObject *) 0 ;
22747 void *argp1 = 0 ;
22748 int res1 = 0 ;
22749 PyObject * obj0 = 0 ;
22750 PyObject * obj1 = 0 ;
22751 PyObject * obj2 = 0 ;
22752 char * kwnames[] = {
22753 (char *) "self",(char *) "self",(char *) "_class", NULL
22754 };
22755
22756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22758 if (!SWIG_IsOK(res1)) {
22759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22760 }
22761 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22762 arg2 = obj1;
22763 arg3 = obj2;
22764 {
22765 PyThreadState* __tstate = wxPyBeginAllowThreads();
22766 (arg1)->_setCallbackInfo(arg2,arg3);
22767 wxPyEndAllowThreads(__tstate);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 }
22770 resultobj = SWIG_Py_Void();
22771 return resultobj;
22772 fail:
22773 return NULL;
22774 }
22775
22776
22777 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22778 PyObject *resultobj = 0;
22779 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22780 wxSize *arg2 = 0 ;
22781 void *argp1 = 0 ;
22782 int res1 = 0 ;
22783 wxSize temp2 ;
22784 PyObject * obj0 = 0 ;
22785 PyObject * obj1 = 0 ;
22786 char * kwnames[] = {
22787 (char *) "self",(char *) "size", NULL
22788 };
22789
22790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22792 if (!SWIG_IsOK(res1)) {
22793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22794 }
22795 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22796 {
22797 arg2 = &temp2;
22798 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22799 }
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 (arg1)->SetBestSize((wxSize const &)*arg2);
22803 wxPyEndAllowThreads(__tstate);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 resultobj = SWIG_Py_Void();
22807 return resultobj;
22808 fail:
22809 return NULL;
22810 }
22811
22812
22813 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22814 PyObject *resultobj = 0;
22815 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22816 wxDC *arg2 = (wxDC *) 0 ;
22817 bool result;
22818 void *argp1 = 0 ;
22819 int res1 = 0 ;
22820 void *argp2 = 0 ;
22821 int res2 = 0 ;
22822 PyObject * obj0 = 0 ;
22823 PyObject * obj1 = 0 ;
22824 char * kwnames[] = {
22825 (char *) "self",(char *) "dc", NULL
22826 };
22827
22828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22830 if (!SWIG_IsOK(res1)) {
22831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22832 }
22833 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22834 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22835 if (!SWIG_IsOK(res2)) {
22836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22837 }
22838 arg2 = reinterpret_cast< wxDC * >(argp2);
22839 {
22840 PyThreadState* __tstate = wxPyBeginAllowThreads();
22841 result = (bool)(arg1)->DoEraseBackground(arg2);
22842 wxPyEndAllowThreads(__tstate);
22843 if (PyErr_Occurred()) SWIG_fail;
22844 }
22845 {
22846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22847 }
22848 return resultobj;
22849 fail:
22850 return NULL;
22851 }
22852
22853
22854 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22855 PyObject *resultobj = 0;
22856 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22857 int arg2 ;
22858 int arg3 ;
22859 int arg4 ;
22860 int arg5 ;
22861 void *argp1 = 0 ;
22862 int res1 = 0 ;
22863 int val2 ;
22864 int ecode2 = 0 ;
22865 int val3 ;
22866 int ecode3 = 0 ;
22867 int val4 ;
22868 int ecode4 = 0 ;
22869 int val5 ;
22870 int ecode5 = 0 ;
22871 PyObject * obj0 = 0 ;
22872 PyObject * obj1 = 0 ;
22873 PyObject * obj2 = 0 ;
22874 PyObject * obj3 = 0 ;
22875 PyObject * obj4 = 0 ;
22876 char * kwnames[] = {
22877 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22878 };
22879
22880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22882 if (!SWIG_IsOK(res1)) {
22883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22884 }
22885 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22886 ecode2 = SWIG_AsVal_int(obj1, &val2);
22887 if (!SWIG_IsOK(ecode2)) {
22888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22889 }
22890 arg2 = static_cast< int >(val2);
22891 ecode3 = SWIG_AsVal_int(obj2, &val3);
22892 if (!SWIG_IsOK(ecode3)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22894 }
22895 arg3 = static_cast< int >(val3);
22896 ecode4 = SWIG_AsVal_int(obj3, &val4);
22897 if (!SWIG_IsOK(ecode4)) {
22898 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22899 }
22900 arg4 = static_cast< int >(val4);
22901 ecode5 = SWIG_AsVal_int(obj4, &val5);
22902 if (!SWIG_IsOK(ecode5)) {
22903 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22904 }
22905 arg5 = static_cast< int >(val5);
22906 {
22907 PyThreadState* __tstate = wxPyBeginAllowThreads();
22908 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22909 wxPyEndAllowThreads(__tstate);
22910 if (PyErr_Occurred()) SWIG_fail;
22911 }
22912 resultobj = SWIG_Py_Void();
22913 return resultobj;
22914 fail:
22915 return NULL;
22916 }
22917
22918
22919 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22920 PyObject *resultobj = 0;
22921 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22922 int arg2 ;
22923 int arg3 ;
22924 int arg4 ;
22925 int arg5 ;
22926 int arg6 = (int) wxSIZE_AUTO ;
22927 void *argp1 = 0 ;
22928 int res1 = 0 ;
22929 int val2 ;
22930 int ecode2 = 0 ;
22931 int val3 ;
22932 int ecode3 = 0 ;
22933 int val4 ;
22934 int ecode4 = 0 ;
22935 int val5 ;
22936 int ecode5 = 0 ;
22937 int val6 ;
22938 int ecode6 = 0 ;
22939 PyObject * obj0 = 0 ;
22940 PyObject * obj1 = 0 ;
22941 PyObject * obj2 = 0 ;
22942 PyObject * obj3 = 0 ;
22943 PyObject * obj4 = 0 ;
22944 PyObject * obj5 = 0 ;
22945 char * kwnames[] = {
22946 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22947 };
22948
22949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22951 if (!SWIG_IsOK(res1)) {
22952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22953 }
22954 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22955 ecode2 = SWIG_AsVal_int(obj1, &val2);
22956 if (!SWIG_IsOK(ecode2)) {
22957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22958 }
22959 arg2 = static_cast< int >(val2);
22960 ecode3 = SWIG_AsVal_int(obj2, &val3);
22961 if (!SWIG_IsOK(ecode3)) {
22962 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22963 }
22964 arg3 = static_cast< int >(val3);
22965 ecode4 = SWIG_AsVal_int(obj3, &val4);
22966 if (!SWIG_IsOK(ecode4)) {
22967 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22968 }
22969 arg4 = static_cast< int >(val4);
22970 ecode5 = SWIG_AsVal_int(obj4, &val5);
22971 if (!SWIG_IsOK(ecode5)) {
22972 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22973 }
22974 arg5 = static_cast< int >(val5);
22975 if (obj5) {
22976 ecode6 = SWIG_AsVal_int(obj5, &val6);
22977 if (!SWIG_IsOK(ecode6)) {
22978 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22979 }
22980 arg6 = static_cast< int >(val6);
22981 }
22982 {
22983 PyThreadState* __tstate = wxPyBeginAllowThreads();
22984 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 resultobj = SWIG_Py_Void();
22989 return resultobj;
22990 fail:
22991 return NULL;
22992 }
22993
22994
22995 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22996 PyObject *resultobj = 0;
22997 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22998 int arg2 ;
22999 int arg3 ;
23000 void *argp1 = 0 ;
23001 int res1 = 0 ;
23002 int val2 ;
23003 int ecode2 = 0 ;
23004 int val3 ;
23005 int ecode3 = 0 ;
23006 PyObject * obj0 = 0 ;
23007 PyObject * obj1 = 0 ;
23008 PyObject * obj2 = 0 ;
23009 char * kwnames[] = {
23010 (char *) "self",(char *) "width",(char *) "height", NULL
23011 };
23012
23013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23015 if (!SWIG_IsOK(res1)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23017 }
23018 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23019 ecode2 = SWIG_AsVal_int(obj1, &val2);
23020 if (!SWIG_IsOK(ecode2)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23022 }
23023 arg2 = static_cast< int >(val2);
23024 ecode3 = SWIG_AsVal_int(obj2, &val3);
23025 if (!SWIG_IsOK(ecode3)) {
23026 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23027 }
23028 arg3 = static_cast< int >(val3);
23029 {
23030 PyThreadState* __tstate = wxPyBeginAllowThreads();
23031 (arg1)->DoSetClientSize(arg2,arg3);
23032 wxPyEndAllowThreads(__tstate);
23033 if (PyErr_Occurred()) SWIG_fail;
23034 }
23035 resultobj = SWIG_Py_Void();
23036 return resultobj;
23037 fail:
23038 return NULL;
23039 }
23040
23041
23042 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23043 PyObject *resultobj = 0;
23044 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23045 int arg2 ;
23046 int arg3 ;
23047 void *argp1 = 0 ;
23048 int res1 = 0 ;
23049 int val2 ;
23050 int ecode2 = 0 ;
23051 int val3 ;
23052 int ecode3 = 0 ;
23053 PyObject * obj0 = 0 ;
23054 PyObject * obj1 = 0 ;
23055 PyObject * obj2 = 0 ;
23056 char * kwnames[] = {
23057 (char *) "self",(char *) "x",(char *) "y", NULL
23058 };
23059
23060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23062 if (!SWIG_IsOK(res1)) {
23063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23064 }
23065 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23066 ecode2 = SWIG_AsVal_int(obj1, &val2);
23067 if (!SWIG_IsOK(ecode2)) {
23068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23069 }
23070 arg2 = static_cast< int >(val2);
23071 ecode3 = SWIG_AsVal_int(obj2, &val3);
23072 if (!SWIG_IsOK(ecode3)) {
23073 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23074 }
23075 arg3 = static_cast< int >(val3);
23076 {
23077 PyThreadState* __tstate = wxPyBeginAllowThreads();
23078 (arg1)->DoSetVirtualSize(arg2,arg3);
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 resultobj = SWIG_Py_Void();
23083 return resultobj;
23084 fail:
23085 return NULL;
23086 }
23087
23088
23089 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23090 PyObject *resultobj = 0;
23091 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23092 int *arg2 = (int *) 0 ;
23093 int *arg3 = (int *) 0 ;
23094 void *argp1 = 0 ;
23095 int res1 = 0 ;
23096 int temp2 ;
23097 int res2 = SWIG_TMPOBJ ;
23098 int temp3 ;
23099 int res3 = SWIG_TMPOBJ ;
23100 PyObject *swig_obj[1] ;
23101
23102 arg2 = &temp2;
23103 arg3 = &temp3;
23104 if (!args) SWIG_fail;
23105 swig_obj[0] = args;
23106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23107 if (!SWIG_IsOK(res1)) {
23108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23109 }
23110 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23111 {
23112 PyThreadState* __tstate = wxPyBeginAllowThreads();
23113 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23114 wxPyEndAllowThreads(__tstate);
23115 if (PyErr_Occurred()) SWIG_fail;
23116 }
23117 resultobj = SWIG_Py_Void();
23118 if (SWIG_IsTmpObj(res2)) {
23119 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23120 } else {
23121 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23122 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23123 }
23124 if (SWIG_IsTmpObj(res3)) {
23125 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23126 } else {
23127 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23128 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23129 }
23130 return resultobj;
23131 fail:
23132 return NULL;
23133 }
23134
23135
23136 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23137 PyObject *resultobj = 0;
23138 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23139 int *arg2 = (int *) 0 ;
23140 int *arg3 = (int *) 0 ;
23141 void *argp1 = 0 ;
23142 int res1 = 0 ;
23143 int temp2 ;
23144 int res2 = SWIG_TMPOBJ ;
23145 int temp3 ;
23146 int res3 = SWIG_TMPOBJ ;
23147 PyObject *swig_obj[1] ;
23148
23149 arg2 = &temp2;
23150 arg3 = &temp3;
23151 if (!args) SWIG_fail;
23152 swig_obj[0] = args;
23153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23154 if (!SWIG_IsOK(res1)) {
23155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23156 }
23157 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23158 {
23159 PyThreadState* __tstate = wxPyBeginAllowThreads();
23160 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23161 wxPyEndAllowThreads(__tstate);
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 resultobj = SWIG_Py_Void();
23165 if (SWIG_IsTmpObj(res2)) {
23166 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23167 } else {
23168 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23169 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23170 }
23171 if (SWIG_IsTmpObj(res3)) {
23172 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23173 } else {
23174 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23175 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23176 }
23177 return resultobj;
23178 fail:
23179 return NULL;
23180 }
23181
23182
23183 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23184 PyObject *resultobj = 0;
23185 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23186 int *arg2 = (int *) 0 ;
23187 int *arg3 = (int *) 0 ;
23188 void *argp1 = 0 ;
23189 int res1 = 0 ;
23190 int temp2 ;
23191 int res2 = SWIG_TMPOBJ ;
23192 int temp3 ;
23193 int res3 = SWIG_TMPOBJ ;
23194 PyObject *swig_obj[1] ;
23195
23196 arg2 = &temp2;
23197 arg3 = &temp3;
23198 if (!args) SWIG_fail;
23199 swig_obj[0] = args;
23200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23201 if (!SWIG_IsOK(res1)) {
23202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23203 }
23204 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23205 {
23206 PyThreadState* __tstate = wxPyBeginAllowThreads();
23207 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23208 wxPyEndAllowThreads(__tstate);
23209 if (PyErr_Occurred()) SWIG_fail;
23210 }
23211 resultobj = SWIG_Py_Void();
23212 if (SWIG_IsTmpObj(res2)) {
23213 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23214 } else {
23215 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23216 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23217 }
23218 if (SWIG_IsTmpObj(res3)) {
23219 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23220 } else {
23221 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23222 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23223 }
23224 return resultobj;
23225 fail:
23226 return NULL;
23227 }
23228
23229
23230 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23231 PyObject *resultobj = 0;
23232 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23233 wxSize result;
23234 void *argp1 = 0 ;
23235 int res1 = 0 ;
23236 PyObject *swig_obj[1] ;
23237
23238 if (!args) SWIG_fail;
23239 swig_obj[0] = args;
23240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23241 if (!SWIG_IsOK(res1)) {
23242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23243 }
23244 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23245 {
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23248 wxPyEndAllowThreads(__tstate);
23249 if (PyErr_Occurred()) SWIG_fail;
23250 }
23251 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23252 return resultobj;
23253 fail:
23254 return NULL;
23255 }
23256
23257
23258 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23259 PyObject *resultobj = 0;
23260 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23261 wxSize result;
23262 void *argp1 = 0 ;
23263 int res1 = 0 ;
23264 PyObject *swig_obj[1] ;
23265
23266 if (!args) SWIG_fail;
23267 swig_obj[0] = args;
23268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23269 if (!SWIG_IsOK(res1)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23271 }
23272 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23273 {
23274 PyThreadState* __tstate = wxPyBeginAllowThreads();
23275 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23276 wxPyEndAllowThreads(__tstate);
23277 if (PyErr_Occurred()) SWIG_fail;
23278 }
23279 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23280 return resultobj;
23281 fail:
23282 return NULL;
23283 }
23284
23285
23286 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23287 PyObject *resultobj = 0;
23288 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23289 SwigValueWrapper<wxVisualAttributes > result;
23290 void *argp1 = 0 ;
23291 int res1 = 0 ;
23292 PyObject *swig_obj[1] ;
23293
23294 if (!args) SWIG_fail;
23295 swig_obj[0] = args;
23296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23297 if (!SWIG_IsOK(res1)) {
23298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23299 }
23300 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23301 {
23302 PyThreadState* __tstate = wxPyBeginAllowThreads();
23303 result = (arg1)->GetDefaultAttributes();
23304 wxPyEndAllowThreads(__tstate);
23305 if (PyErr_Occurred()) SWIG_fail;
23306 }
23307 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23308 return resultobj;
23309 fail:
23310 return NULL;
23311 }
23312
23313
23314 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23315 PyObject *resultobj = 0;
23316 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
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_wxPyScrolledWindow, 0 | 0 );
23324 if (!SWIG_IsOK(res1)) {
23325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23326 }
23327 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23328 {
23329 PyThreadState* __tstate = wxPyBeginAllowThreads();
23330 (arg1)->OnInternalIdle();
23331 wxPyEndAllowThreads(__tstate);
23332 if (PyErr_Occurred()) SWIG_fail;
23333 }
23334 resultobj = SWIG_Py_Void();
23335 return resultobj;
23336 fail:
23337 return NULL;
23338 }
23339
23340
23341 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23342 PyObject *obj;
23343 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23344 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23345 return SWIG_Py_Void();
23346 }
23347
23348 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23349 return SWIG_Python_InitShadowInstance(args);
23350 }
23351
23352 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23353 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23354 return 1;
23355 }
23356
23357
23358 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23359 PyObject *pyobj = 0;
23360
23361 {
23362 #if wxUSE_UNICODE
23363 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23364 #else
23365 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23366 #endif
23367 }
23368 return pyobj;
23369 }
23370
23371
23372 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23373 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23374 return 1;
23375 }
23376
23377
23378 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23379 PyObject *pyobj = 0;
23380
23381 {
23382 #if wxUSE_UNICODE
23383 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23384 #else
23385 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23386 #endif
23387 }
23388 return pyobj;
23389 }
23390
23391
23392 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23393 PyObject *resultobj = 0;
23394 wxPrintData *result = 0 ;
23395
23396 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 result = (wxPrintData *)new wxPrintData();
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23404 return resultobj;
23405 fail:
23406 return NULL;
23407 }
23408
23409
23410 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23411 PyObject *resultobj = 0;
23412 wxPrintData *arg1 = 0 ;
23413 wxPrintData *result = 0 ;
23414 void *argp1 = 0 ;
23415 int res1 = 0 ;
23416
23417 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23419 if (!SWIG_IsOK(res1)) {
23420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23421 }
23422 if (!argp1) {
23423 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23424 }
23425 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23426 {
23427 PyThreadState* __tstate = wxPyBeginAllowThreads();
23428 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23429 wxPyEndAllowThreads(__tstate);
23430 if (PyErr_Occurred()) SWIG_fail;
23431 }
23432 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23433 return resultobj;
23434 fail:
23435 return NULL;
23436 }
23437
23438
23439 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23440 int argc;
23441 PyObject *argv[2];
23442
23443 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23444 --argc;
23445 if (argc == 0) {
23446 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23447 }
23448 if (argc == 1) {
23449 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23450 }
23451
23452 fail:
23453 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23454 return NULL;
23455 }
23456
23457
23458 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23459 PyObject *resultobj = 0;
23460 wxPrintData *arg1 = (wxPrintData *) 0 ;
23461 void *argp1 = 0 ;
23462 int res1 = 0 ;
23463 PyObject *swig_obj[1] ;
23464
23465 if (!args) SWIG_fail;
23466 swig_obj[0] = args;
23467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23468 if (!SWIG_IsOK(res1)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23470 }
23471 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23472 {
23473 PyThreadState* __tstate = wxPyBeginAllowThreads();
23474 delete arg1;
23475
23476 wxPyEndAllowThreads(__tstate);
23477 if (PyErr_Occurred()) SWIG_fail;
23478 }
23479 resultobj = SWIG_Py_Void();
23480 return resultobj;
23481 fail:
23482 return NULL;
23483 }
23484
23485
23486 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23487 PyObject *resultobj = 0;
23488 wxPrintData *arg1 = (wxPrintData *) 0 ;
23489 int 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_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23499 }
23500 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 result = (int)(arg1)->GetNoCopies();
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_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23515 PyObject *resultobj = 0;
23516 wxPrintData *arg1 = (wxPrintData *) 0 ;
23517 bool result;
23518 void *argp1 = 0 ;
23519 int res1 = 0 ;
23520 PyObject *swig_obj[1] ;
23521
23522 if (!args) SWIG_fail;
23523 swig_obj[0] = args;
23524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23525 if (!SWIG_IsOK(res1)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23527 }
23528 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23529 {
23530 PyThreadState* __tstate = wxPyBeginAllowThreads();
23531 result = (bool)(arg1)->GetCollate();
23532 wxPyEndAllowThreads(__tstate);
23533 if (PyErr_Occurred()) SWIG_fail;
23534 }
23535 {
23536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23537 }
23538 return resultobj;
23539 fail:
23540 return NULL;
23541 }
23542
23543
23544 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23545 PyObject *resultobj = 0;
23546 wxPrintData *arg1 = (wxPrintData *) 0 ;
23547 int result;
23548 void *argp1 = 0 ;
23549 int res1 = 0 ;
23550 PyObject *swig_obj[1] ;
23551
23552 if (!args) SWIG_fail;
23553 swig_obj[0] = args;
23554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23555 if (!SWIG_IsOK(res1)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23557 }
23558 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23559 {
23560 PyThreadState* __tstate = wxPyBeginAllowThreads();
23561 result = (int)(arg1)->GetOrientation();
23562 wxPyEndAllowThreads(__tstate);
23563 if (PyErr_Occurred()) SWIG_fail;
23564 }
23565 resultobj = SWIG_From_int(static_cast< int >(result));
23566 return resultobj;
23567 fail:
23568 return NULL;
23569 }
23570
23571
23572 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23573 PyObject *resultobj = 0;
23574 wxPrintData *arg1 = (wxPrintData *) 0 ;
23575 bool result;
23576 void *argp1 = 0 ;
23577 int res1 = 0 ;
23578 PyObject *swig_obj[1] ;
23579
23580 if (!args) SWIG_fail;
23581 swig_obj[0] = args;
23582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23583 if (!SWIG_IsOK(res1)) {
23584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23585 }
23586 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 result = (bool)(arg1)->Ok();
23590 wxPyEndAllowThreads(__tstate);
23591 if (PyErr_Occurred()) SWIG_fail;
23592 }
23593 {
23594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23595 }
23596 return resultobj;
23597 fail:
23598 return NULL;
23599 }
23600
23601
23602 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23603 PyObject *resultobj = 0;
23604 wxPrintData *arg1 = (wxPrintData *) 0 ;
23605 wxString *result = 0 ;
23606 void *argp1 = 0 ;
23607 int res1 = 0 ;
23608 PyObject *swig_obj[1] ;
23609
23610 if (!args) SWIG_fail;
23611 swig_obj[0] = args;
23612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23613 if (!SWIG_IsOK(res1)) {
23614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23615 }
23616 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23617 {
23618 PyThreadState* __tstate = wxPyBeginAllowThreads();
23619 {
23620 wxString const &_result_ref = (arg1)->GetPrinterName();
23621 result = (wxString *) &_result_ref;
23622 }
23623 wxPyEndAllowThreads(__tstate);
23624 if (PyErr_Occurred()) SWIG_fail;
23625 }
23626 {
23627 #if wxUSE_UNICODE
23628 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23629 #else
23630 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23631 #endif
23632 }
23633 return resultobj;
23634 fail:
23635 return NULL;
23636 }
23637
23638
23639 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23640 PyObject *resultobj = 0;
23641 wxPrintData *arg1 = (wxPrintData *) 0 ;
23642 bool result;
23643 void *argp1 = 0 ;
23644 int res1 = 0 ;
23645 PyObject *swig_obj[1] ;
23646
23647 if (!args) SWIG_fail;
23648 swig_obj[0] = args;
23649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23650 if (!SWIG_IsOK(res1)) {
23651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23652 }
23653 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 result = (bool)(arg1)->GetColour();
23657 wxPyEndAllowThreads(__tstate);
23658 if (PyErr_Occurred()) SWIG_fail;
23659 }
23660 {
23661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23662 }
23663 return resultobj;
23664 fail:
23665 return NULL;
23666 }
23667
23668
23669 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23670 PyObject *resultobj = 0;
23671 wxPrintData *arg1 = (wxPrintData *) 0 ;
23672 wxDuplexMode result;
23673 void *argp1 = 0 ;
23674 int res1 = 0 ;
23675 PyObject *swig_obj[1] ;
23676
23677 if (!args) SWIG_fail;
23678 swig_obj[0] = args;
23679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23680 if (!SWIG_IsOK(res1)) {
23681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23682 }
23683 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23684 {
23685 PyThreadState* __tstate = wxPyBeginAllowThreads();
23686 result = (wxDuplexMode)(arg1)->GetDuplex();
23687 wxPyEndAllowThreads(__tstate);
23688 if (PyErr_Occurred()) SWIG_fail;
23689 }
23690 resultobj = SWIG_From_int(static_cast< int >(result));
23691 return resultobj;
23692 fail:
23693 return NULL;
23694 }
23695
23696
23697 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23698 PyObject *resultobj = 0;
23699 wxPrintData *arg1 = (wxPrintData *) 0 ;
23700 wxPaperSize result;
23701 void *argp1 = 0 ;
23702 int res1 = 0 ;
23703 PyObject *swig_obj[1] ;
23704
23705 if (!args) SWIG_fail;
23706 swig_obj[0] = args;
23707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23708 if (!SWIG_IsOK(res1)) {
23709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23710 }
23711 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23712 {
23713 PyThreadState* __tstate = wxPyBeginAllowThreads();
23714 result = (wxPaperSize)(arg1)->GetPaperId();
23715 wxPyEndAllowThreads(__tstate);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 resultobj = SWIG_From_int(static_cast< int >(result));
23719 return resultobj;
23720 fail:
23721 return NULL;
23722 }
23723
23724
23725 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23726 PyObject *resultobj = 0;
23727 wxPrintData *arg1 = (wxPrintData *) 0 ;
23728 wxSize *result = 0 ;
23729 void *argp1 = 0 ;
23730 int res1 = 0 ;
23731 PyObject *swig_obj[1] ;
23732
23733 if (!args) SWIG_fail;
23734 swig_obj[0] = args;
23735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23736 if (!SWIG_IsOK(res1)) {
23737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23738 }
23739 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23740 {
23741 PyThreadState* __tstate = wxPyBeginAllowThreads();
23742 {
23743 wxSize const &_result_ref = (arg1)->GetPaperSize();
23744 result = (wxSize *) &_result_ref;
23745 }
23746 wxPyEndAllowThreads(__tstate);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
23749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23750 return resultobj;
23751 fail:
23752 return NULL;
23753 }
23754
23755
23756 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23757 PyObject *resultobj = 0;
23758 wxPrintData *arg1 = (wxPrintData *) 0 ;
23759 int result;
23760 void *argp1 = 0 ;
23761 int res1 = 0 ;
23762 PyObject *swig_obj[1] ;
23763
23764 if (!args) SWIG_fail;
23765 swig_obj[0] = args;
23766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23767 if (!SWIG_IsOK(res1)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23769 }
23770 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23771 {
23772 PyThreadState* __tstate = wxPyBeginAllowThreads();
23773 result = (int)(arg1)->GetQuality();
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
23777 resultobj = SWIG_From_int(static_cast< int >(result));
23778 return resultobj;
23779 fail:
23780 return NULL;
23781 }
23782
23783
23784 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23785 PyObject *resultobj = 0;
23786 wxPrintData *arg1 = (wxPrintData *) 0 ;
23787 wxPrintBin result;
23788 void *argp1 = 0 ;
23789 int res1 = 0 ;
23790 PyObject *swig_obj[1] ;
23791
23792 if (!args) SWIG_fail;
23793 swig_obj[0] = args;
23794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23795 if (!SWIG_IsOK(res1)) {
23796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23797 }
23798 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 result = (wxPrintBin)(arg1)->GetBin();
23802 wxPyEndAllowThreads(__tstate);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
23805 resultobj = SWIG_From_int(static_cast< int >(result));
23806 return resultobj;
23807 fail:
23808 return NULL;
23809 }
23810
23811
23812 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23813 PyObject *resultobj = 0;
23814 wxPrintData *arg1 = (wxPrintData *) 0 ;
23815 wxPrintMode result;
23816 void *argp1 = 0 ;
23817 int res1 = 0 ;
23818 PyObject *swig_obj[1] ;
23819
23820 if (!args) SWIG_fail;
23821 swig_obj[0] = args;
23822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23823 if (!SWIG_IsOK(res1)) {
23824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23825 }
23826 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23827 {
23828 PyThreadState* __tstate = wxPyBeginAllowThreads();
23829 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23830 wxPyEndAllowThreads(__tstate);
23831 if (PyErr_Occurred()) SWIG_fail;
23832 }
23833 resultobj = SWIG_From_int(static_cast< int >(result));
23834 return resultobj;
23835 fail:
23836 return NULL;
23837 }
23838
23839
23840 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23841 PyObject *resultobj = 0;
23842 wxPrintData *arg1 = (wxPrintData *) 0 ;
23843 int arg2 ;
23844 void *argp1 = 0 ;
23845 int res1 = 0 ;
23846 int val2 ;
23847 int ecode2 = 0 ;
23848 PyObject * obj0 = 0 ;
23849 PyObject * obj1 = 0 ;
23850 char * kwnames[] = {
23851 (char *) "self",(char *) "v", NULL
23852 };
23853
23854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23856 if (!SWIG_IsOK(res1)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23858 }
23859 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23860 ecode2 = SWIG_AsVal_int(obj1, &val2);
23861 if (!SWIG_IsOK(ecode2)) {
23862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23863 }
23864 arg2 = static_cast< int >(val2);
23865 {
23866 PyThreadState* __tstate = wxPyBeginAllowThreads();
23867 (arg1)->SetNoCopies(arg2);
23868 wxPyEndAllowThreads(__tstate);
23869 if (PyErr_Occurred()) SWIG_fail;
23870 }
23871 resultobj = SWIG_Py_Void();
23872 return resultobj;
23873 fail:
23874 return NULL;
23875 }
23876
23877
23878 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23879 PyObject *resultobj = 0;
23880 wxPrintData *arg1 = (wxPrintData *) 0 ;
23881 bool arg2 ;
23882 void *argp1 = 0 ;
23883 int res1 = 0 ;
23884 bool val2 ;
23885 int ecode2 = 0 ;
23886 PyObject * obj0 = 0 ;
23887 PyObject * obj1 = 0 ;
23888 char * kwnames[] = {
23889 (char *) "self",(char *) "flag", NULL
23890 };
23891
23892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23894 if (!SWIG_IsOK(res1)) {
23895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23896 }
23897 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23898 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23899 if (!SWIG_IsOK(ecode2)) {
23900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23901 }
23902 arg2 = static_cast< bool >(val2);
23903 {
23904 PyThreadState* __tstate = wxPyBeginAllowThreads();
23905 (arg1)->SetCollate(arg2);
23906 wxPyEndAllowThreads(__tstate);
23907 if (PyErr_Occurred()) SWIG_fail;
23908 }
23909 resultobj = SWIG_Py_Void();
23910 return resultobj;
23911 fail:
23912 return NULL;
23913 }
23914
23915
23916 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23917 PyObject *resultobj = 0;
23918 wxPrintData *arg1 = (wxPrintData *) 0 ;
23919 int arg2 ;
23920 void *argp1 = 0 ;
23921 int res1 = 0 ;
23922 int val2 ;
23923 int ecode2 = 0 ;
23924 PyObject * obj0 = 0 ;
23925 PyObject * obj1 = 0 ;
23926 char * kwnames[] = {
23927 (char *) "self",(char *) "orient", NULL
23928 };
23929
23930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23932 if (!SWIG_IsOK(res1)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23934 }
23935 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23936 ecode2 = SWIG_AsVal_int(obj1, &val2);
23937 if (!SWIG_IsOK(ecode2)) {
23938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23939 }
23940 arg2 = static_cast< int >(val2);
23941 {
23942 PyThreadState* __tstate = wxPyBeginAllowThreads();
23943 (arg1)->SetOrientation(arg2);
23944 wxPyEndAllowThreads(__tstate);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
23947 resultobj = SWIG_Py_Void();
23948 return resultobj;
23949 fail:
23950 return NULL;
23951 }
23952
23953
23954 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23955 PyObject *resultobj = 0;
23956 wxPrintData *arg1 = (wxPrintData *) 0 ;
23957 wxString *arg2 = 0 ;
23958 void *argp1 = 0 ;
23959 int res1 = 0 ;
23960 bool temp2 = false ;
23961 PyObject * obj0 = 0 ;
23962 PyObject * obj1 = 0 ;
23963 char * kwnames[] = {
23964 (char *) "self",(char *) "name", NULL
23965 };
23966
23967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23969 if (!SWIG_IsOK(res1)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23971 }
23972 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23973 {
23974 arg2 = wxString_in_helper(obj1);
23975 if (arg2 == NULL) SWIG_fail;
23976 temp2 = true;
23977 }
23978 {
23979 PyThreadState* __tstate = wxPyBeginAllowThreads();
23980 (arg1)->SetPrinterName((wxString const &)*arg2);
23981 wxPyEndAllowThreads(__tstate);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 }
23984 resultobj = SWIG_Py_Void();
23985 {
23986 if (temp2)
23987 delete arg2;
23988 }
23989 return resultobj;
23990 fail:
23991 {
23992 if (temp2)
23993 delete arg2;
23994 }
23995 return NULL;
23996 }
23997
23998
23999 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24000 PyObject *resultobj = 0;
24001 wxPrintData *arg1 = (wxPrintData *) 0 ;
24002 bool arg2 ;
24003 void *argp1 = 0 ;
24004 int res1 = 0 ;
24005 bool val2 ;
24006 int ecode2 = 0 ;
24007 PyObject * obj0 = 0 ;
24008 PyObject * obj1 = 0 ;
24009 char * kwnames[] = {
24010 (char *) "self",(char *) "colour", NULL
24011 };
24012
24013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24015 if (!SWIG_IsOK(res1)) {
24016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24017 }
24018 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24019 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24020 if (!SWIG_IsOK(ecode2)) {
24021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24022 }
24023 arg2 = static_cast< bool >(val2);
24024 {
24025 PyThreadState* __tstate = wxPyBeginAllowThreads();
24026 (arg1)->SetColour(arg2);
24027 wxPyEndAllowThreads(__tstate);
24028 if (PyErr_Occurred()) SWIG_fail;
24029 }
24030 resultobj = SWIG_Py_Void();
24031 return resultobj;
24032 fail:
24033 return NULL;
24034 }
24035
24036
24037 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24038 PyObject *resultobj = 0;
24039 wxPrintData *arg1 = (wxPrintData *) 0 ;
24040 wxDuplexMode arg2 ;
24041 void *argp1 = 0 ;
24042 int res1 = 0 ;
24043 int val2 ;
24044 int ecode2 = 0 ;
24045 PyObject * obj0 = 0 ;
24046 PyObject * obj1 = 0 ;
24047 char * kwnames[] = {
24048 (char *) "self",(char *) "duplex", NULL
24049 };
24050
24051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24053 if (!SWIG_IsOK(res1)) {
24054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24055 }
24056 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24057 ecode2 = SWIG_AsVal_int(obj1, &val2);
24058 if (!SWIG_IsOK(ecode2)) {
24059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24060 }
24061 arg2 = static_cast< wxDuplexMode >(val2);
24062 {
24063 PyThreadState* __tstate = wxPyBeginAllowThreads();
24064 (arg1)->SetDuplex(arg2);
24065 wxPyEndAllowThreads(__tstate);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 resultobj = SWIG_Py_Void();
24069 return resultobj;
24070 fail:
24071 return NULL;
24072 }
24073
24074
24075 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24076 PyObject *resultobj = 0;
24077 wxPrintData *arg1 = (wxPrintData *) 0 ;
24078 wxPaperSize arg2 ;
24079 void *argp1 = 0 ;
24080 int res1 = 0 ;
24081 int val2 ;
24082 int ecode2 = 0 ;
24083 PyObject * obj0 = 0 ;
24084 PyObject * obj1 = 0 ;
24085 char * kwnames[] = {
24086 (char *) "self",(char *) "sizeId", NULL
24087 };
24088
24089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24091 if (!SWIG_IsOK(res1)) {
24092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24093 }
24094 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24095 ecode2 = SWIG_AsVal_int(obj1, &val2);
24096 if (!SWIG_IsOK(ecode2)) {
24097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24098 }
24099 arg2 = static_cast< wxPaperSize >(val2);
24100 {
24101 PyThreadState* __tstate = wxPyBeginAllowThreads();
24102 (arg1)->SetPaperId(arg2);
24103 wxPyEndAllowThreads(__tstate);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
24106 resultobj = SWIG_Py_Void();
24107 return resultobj;
24108 fail:
24109 return NULL;
24110 }
24111
24112
24113 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24114 PyObject *resultobj = 0;
24115 wxPrintData *arg1 = (wxPrintData *) 0 ;
24116 wxSize *arg2 = 0 ;
24117 void *argp1 = 0 ;
24118 int res1 = 0 ;
24119 wxSize temp2 ;
24120 PyObject * obj0 = 0 ;
24121 PyObject * obj1 = 0 ;
24122 char * kwnames[] = {
24123 (char *) "self",(char *) "sz", NULL
24124 };
24125
24126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24128 if (!SWIG_IsOK(res1)) {
24129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24130 }
24131 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24132 {
24133 arg2 = &temp2;
24134 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24135 }
24136 {
24137 PyThreadState* __tstate = wxPyBeginAllowThreads();
24138 (arg1)->SetPaperSize((wxSize const &)*arg2);
24139 wxPyEndAllowThreads(__tstate);
24140 if (PyErr_Occurred()) SWIG_fail;
24141 }
24142 resultobj = SWIG_Py_Void();
24143 return resultobj;
24144 fail:
24145 return NULL;
24146 }
24147
24148
24149 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24150 PyObject *resultobj = 0;
24151 wxPrintData *arg1 = (wxPrintData *) 0 ;
24152 int arg2 ;
24153 void *argp1 = 0 ;
24154 int res1 = 0 ;
24155 int val2 ;
24156 int ecode2 = 0 ;
24157 PyObject * obj0 = 0 ;
24158 PyObject * obj1 = 0 ;
24159 char * kwnames[] = {
24160 (char *) "self",(char *) "quality", NULL
24161 };
24162
24163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24165 if (!SWIG_IsOK(res1)) {
24166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24167 }
24168 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24169 ecode2 = SWIG_AsVal_int(obj1, &val2);
24170 if (!SWIG_IsOK(ecode2)) {
24171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24172 }
24173 arg2 = static_cast< int >(val2);
24174 {
24175 PyThreadState* __tstate = wxPyBeginAllowThreads();
24176 (arg1)->SetQuality(arg2);
24177 wxPyEndAllowThreads(__tstate);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 resultobj = SWIG_Py_Void();
24181 return resultobj;
24182 fail:
24183 return NULL;
24184 }
24185
24186
24187 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24188 PyObject *resultobj = 0;
24189 wxPrintData *arg1 = (wxPrintData *) 0 ;
24190 wxPrintBin arg2 ;
24191 void *argp1 = 0 ;
24192 int res1 = 0 ;
24193 int val2 ;
24194 int ecode2 = 0 ;
24195 PyObject * obj0 = 0 ;
24196 PyObject * obj1 = 0 ;
24197 char * kwnames[] = {
24198 (char *) "self",(char *) "bin", NULL
24199 };
24200
24201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24203 if (!SWIG_IsOK(res1)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24205 }
24206 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24207 ecode2 = SWIG_AsVal_int(obj1, &val2);
24208 if (!SWIG_IsOK(ecode2)) {
24209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24210 }
24211 arg2 = static_cast< wxPrintBin >(val2);
24212 {
24213 PyThreadState* __tstate = wxPyBeginAllowThreads();
24214 (arg1)->SetBin(arg2);
24215 wxPyEndAllowThreads(__tstate);
24216 if (PyErr_Occurred()) SWIG_fail;
24217 }
24218 resultobj = SWIG_Py_Void();
24219 return resultobj;
24220 fail:
24221 return NULL;
24222 }
24223
24224
24225 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24226 PyObject *resultobj = 0;
24227 wxPrintData *arg1 = (wxPrintData *) 0 ;
24228 wxPrintMode arg2 ;
24229 void *argp1 = 0 ;
24230 int res1 = 0 ;
24231 int val2 ;
24232 int ecode2 = 0 ;
24233 PyObject * obj0 = 0 ;
24234 PyObject * obj1 = 0 ;
24235 char * kwnames[] = {
24236 (char *) "self",(char *) "printMode", NULL
24237 };
24238
24239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24241 if (!SWIG_IsOK(res1)) {
24242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24243 }
24244 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24245 ecode2 = SWIG_AsVal_int(obj1, &val2);
24246 if (!SWIG_IsOK(ecode2)) {
24247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24248 }
24249 arg2 = static_cast< wxPrintMode >(val2);
24250 {
24251 PyThreadState* __tstate = wxPyBeginAllowThreads();
24252 (arg1)->SetPrintMode(arg2);
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
24256 resultobj = SWIG_Py_Void();
24257 return resultobj;
24258 fail:
24259 return NULL;
24260 }
24261
24262
24263 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24264 PyObject *resultobj = 0;
24265 wxPrintData *arg1 = (wxPrintData *) 0 ;
24266 wxString result;
24267 void *argp1 = 0 ;
24268 int res1 = 0 ;
24269 PyObject *swig_obj[1] ;
24270
24271 if (!args) SWIG_fail;
24272 swig_obj[0] = args;
24273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24274 if (!SWIG_IsOK(res1)) {
24275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24276 }
24277 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24278 {
24279 PyThreadState* __tstate = wxPyBeginAllowThreads();
24280 result = ((wxPrintData const *)arg1)->GetFilename();
24281 wxPyEndAllowThreads(__tstate);
24282 if (PyErr_Occurred()) SWIG_fail;
24283 }
24284 {
24285 #if wxUSE_UNICODE
24286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24287 #else
24288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24289 #endif
24290 }
24291 return resultobj;
24292 fail:
24293 return NULL;
24294 }
24295
24296
24297 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24298 PyObject *resultobj = 0;
24299 wxPrintData *arg1 = (wxPrintData *) 0 ;
24300 wxString *arg2 = 0 ;
24301 void *argp1 = 0 ;
24302 int res1 = 0 ;
24303 bool temp2 = false ;
24304 PyObject * obj0 = 0 ;
24305 PyObject * obj1 = 0 ;
24306 char * kwnames[] = {
24307 (char *) "self",(char *) "filename", NULL
24308 };
24309
24310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24312 if (!SWIG_IsOK(res1)) {
24313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24314 }
24315 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24316 {
24317 arg2 = wxString_in_helper(obj1);
24318 if (arg2 == NULL) SWIG_fail;
24319 temp2 = true;
24320 }
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 (arg1)->SetFilename((wxString const &)*arg2);
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 resultobj = SWIG_Py_Void();
24328 {
24329 if (temp2)
24330 delete arg2;
24331 }
24332 return resultobj;
24333 fail:
24334 {
24335 if (temp2)
24336 delete arg2;
24337 }
24338 return NULL;
24339 }
24340
24341
24342 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24343 PyObject *resultobj = 0;
24344 wxPrintData *arg1 = (wxPrintData *) 0 ;
24345 PyObject *result = 0 ;
24346 void *argp1 = 0 ;
24347 int res1 = 0 ;
24348 PyObject *swig_obj[1] ;
24349
24350 if (!args) SWIG_fail;
24351 swig_obj[0] = args;
24352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24353 if (!SWIG_IsOK(res1)) {
24354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24355 }
24356 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24357 {
24358 PyThreadState* __tstate = wxPyBeginAllowThreads();
24359 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24360 wxPyEndAllowThreads(__tstate);
24361 if (PyErr_Occurred()) SWIG_fail;
24362 }
24363 resultobj = result;
24364 return resultobj;
24365 fail:
24366 return NULL;
24367 }
24368
24369
24370 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24371 PyObject *resultobj = 0;
24372 wxPrintData *arg1 = (wxPrintData *) 0 ;
24373 PyObject *arg2 = (PyObject *) 0 ;
24374 void *argp1 = 0 ;
24375 int res1 = 0 ;
24376 PyObject * obj0 = 0 ;
24377 PyObject * obj1 = 0 ;
24378 char * kwnames[] = {
24379 (char *) "self",(char *) "data", NULL
24380 };
24381
24382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24384 if (!SWIG_IsOK(res1)) {
24385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24386 }
24387 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24388 arg2 = obj1;
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 wxPrintData_SetPrivData(arg1,arg2);
24392 wxPyEndAllowThreads(__tstate);
24393 if (PyErr_Occurred()) SWIG_fail;
24394 }
24395 resultobj = SWIG_Py_Void();
24396 return resultobj;
24397 fail:
24398 return NULL;
24399 }
24400
24401
24402 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24403 PyObject *obj;
24404 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24405 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24406 return SWIG_Py_Void();
24407 }
24408
24409 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24410 return SWIG_Python_InitShadowInstance(args);
24411 }
24412
24413 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24414 PyObject *resultobj = 0;
24415 wxPageSetupDialogData *result = 0 ;
24416
24417 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24418 {
24419 PyThreadState* __tstate = wxPyBeginAllowThreads();
24420 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24425 return resultobj;
24426 fail:
24427 return NULL;
24428 }
24429
24430
24431 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24432 PyObject *resultobj = 0;
24433 wxPageSetupDialogData *arg1 = 0 ;
24434 wxPageSetupDialogData *result = 0 ;
24435 void *argp1 = 0 ;
24436 int res1 = 0 ;
24437
24438 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24440 if (!SWIG_IsOK(res1)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24442 }
24443 if (!argp1) {
24444 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24445 }
24446 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24447 {
24448 PyThreadState* __tstate = wxPyBeginAllowThreads();
24449 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24450 wxPyEndAllowThreads(__tstate);
24451 if (PyErr_Occurred()) SWIG_fail;
24452 }
24453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24454 return resultobj;
24455 fail:
24456 return NULL;
24457 }
24458
24459
24460 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24461 PyObject *resultobj = 0;
24462 wxPrintData *arg1 = 0 ;
24463 wxPageSetupDialogData *result = 0 ;
24464 void *argp1 = 0 ;
24465 int res1 = 0 ;
24466
24467 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24469 if (!SWIG_IsOK(res1)) {
24470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24471 }
24472 if (!argp1) {
24473 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24474 }
24475 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24476 {
24477 PyThreadState* __tstate = wxPyBeginAllowThreads();
24478 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24479 wxPyEndAllowThreads(__tstate);
24480 if (PyErr_Occurred()) SWIG_fail;
24481 }
24482 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24483 return resultobj;
24484 fail:
24485 return NULL;
24486 }
24487
24488
24489 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24490 int argc;
24491 PyObject *argv[2];
24492
24493 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24494 --argc;
24495 if (argc == 0) {
24496 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24497 }
24498 if (argc == 1) {
24499 int _v = 0;
24500 {
24501 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24502 _v = SWIG_CheckState(res);
24503 }
24504 if (!_v) goto check_2;
24505 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24506 }
24507 check_2:
24508
24509 if (argc == 1) {
24510 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24511 }
24512
24513 fail:
24514 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24515 return NULL;
24516 }
24517
24518
24519 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24520 PyObject *resultobj = 0;
24521 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24522 void *argp1 = 0 ;
24523 int res1 = 0 ;
24524 PyObject *swig_obj[1] ;
24525
24526 if (!args) SWIG_fail;
24527 swig_obj[0] = args;
24528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24529 if (!SWIG_IsOK(res1)) {
24530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24531 }
24532 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24533 {
24534 PyThreadState* __tstate = wxPyBeginAllowThreads();
24535 delete arg1;
24536
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 resultobj = SWIG_Py_Void();
24541 return resultobj;
24542 fail:
24543 return NULL;
24544 }
24545
24546
24547 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24548 PyObject *resultobj = 0;
24549 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24550 bool arg2 ;
24551 void *argp1 = 0 ;
24552 int res1 = 0 ;
24553 bool val2 ;
24554 int ecode2 = 0 ;
24555 PyObject * obj0 = 0 ;
24556 PyObject * obj1 = 0 ;
24557 char * kwnames[] = {
24558 (char *) "self",(char *) "flag", NULL
24559 };
24560
24561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24563 if (!SWIG_IsOK(res1)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24565 }
24566 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24567 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24568 if (!SWIG_IsOK(ecode2)) {
24569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24570 }
24571 arg2 = static_cast< bool >(val2);
24572 {
24573 PyThreadState* __tstate = wxPyBeginAllowThreads();
24574 (arg1)->EnableHelp(arg2);
24575 wxPyEndAllowThreads(__tstate);
24576 if (PyErr_Occurred()) SWIG_fail;
24577 }
24578 resultobj = SWIG_Py_Void();
24579 return resultobj;
24580 fail:
24581 return NULL;
24582 }
24583
24584
24585 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24586 PyObject *resultobj = 0;
24587 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24588 bool arg2 ;
24589 void *argp1 = 0 ;
24590 int res1 = 0 ;
24591 bool val2 ;
24592 int ecode2 = 0 ;
24593 PyObject * obj0 = 0 ;
24594 PyObject * obj1 = 0 ;
24595 char * kwnames[] = {
24596 (char *) "self",(char *) "flag", NULL
24597 };
24598
24599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24601 if (!SWIG_IsOK(res1)) {
24602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24603 }
24604 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24605 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24606 if (!SWIG_IsOK(ecode2)) {
24607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24608 }
24609 arg2 = static_cast< bool >(val2);
24610 {
24611 PyThreadState* __tstate = wxPyBeginAllowThreads();
24612 (arg1)->EnableMargins(arg2);
24613 wxPyEndAllowThreads(__tstate);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 }
24616 resultobj = SWIG_Py_Void();
24617 return resultobj;
24618 fail:
24619 return NULL;
24620 }
24621
24622
24623 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24624 PyObject *resultobj = 0;
24625 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24626 bool arg2 ;
24627 void *argp1 = 0 ;
24628 int res1 = 0 ;
24629 bool val2 ;
24630 int ecode2 = 0 ;
24631 PyObject * obj0 = 0 ;
24632 PyObject * obj1 = 0 ;
24633 char * kwnames[] = {
24634 (char *) "self",(char *) "flag", NULL
24635 };
24636
24637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24639 if (!SWIG_IsOK(res1)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24641 }
24642 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24643 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24644 if (!SWIG_IsOK(ecode2)) {
24645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24646 }
24647 arg2 = static_cast< bool >(val2);
24648 {
24649 PyThreadState* __tstate = wxPyBeginAllowThreads();
24650 (arg1)->EnableOrientation(arg2);
24651 wxPyEndAllowThreads(__tstate);
24652 if (PyErr_Occurred()) SWIG_fail;
24653 }
24654 resultobj = SWIG_Py_Void();
24655 return resultobj;
24656 fail:
24657 return NULL;
24658 }
24659
24660
24661 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24662 PyObject *resultobj = 0;
24663 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24664 bool arg2 ;
24665 void *argp1 = 0 ;
24666 int res1 = 0 ;
24667 bool val2 ;
24668 int ecode2 = 0 ;
24669 PyObject * obj0 = 0 ;
24670 PyObject * obj1 = 0 ;
24671 char * kwnames[] = {
24672 (char *) "self",(char *) "flag", NULL
24673 };
24674
24675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24677 if (!SWIG_IsOK(res1)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24679 }
24680 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24681 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24682 if (!SWIG_IsOK(ecode2)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24684 }
24685 arg2 = static_cast< bool >(val2);
24686 {
24687 PyThreadState* __tstate = wxPyBeginAllowThreads();
24688 (arg1)->EnablePaper(arg2);
24689 wxPyEndAllowThreads(__tstate);
24690 if (PyErr_Occurred()) SWIG_fail;
24691 }
24692 resultobj = SWIG_Py_Void();
24693 return resultobj;
24694 fail:
24695 return NULL;
24696 }
24697
24698
24699 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24700 PyObject *resultobj = 0;
24701 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24702 bool arg2 ;
24703 void *argp1 = 0 ;
24704 int res1 = 0 ;
24705 bool val2 ;
24706 int ecode2 = 0 ;
24707 PyObject * obj0 = 0 ;
24708 PyObject * obj1 = 0 ;
24709 char * kwnames[] = {
24710 (char *) "self",(char *) "flag", NULL
24711 };
24712
24713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24715 if (!SWIG_IsOK(res1)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24717 }
24718 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24719 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24720 if (!SWIG_IsOK(ecode2)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24722 }
24723 arg2 = static_cast< bool >(val2);
24724 {
24725 PyThreadState* __tstate = wxPyBeginAllowThreads();
24726 (arg1)->EnablePrinter(arg2);
24727 wxPyEndAllowThreads(__tstate);
24728 if (PyErr_Occurred()) SWIG_fail;
24729 }
24730 resultobj = SWIG_Py_Void();
24731 return resultobj;
24732 fail:
24733 return NULL;
24734 }
24735
24736
24737 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24738 PyObject *resultobj = 0;
24739 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24740 bool result;
24741 void *argp1 = 0 ;
24742 int res1 = 0 ;
24743 PyObject *swig_obj[1] ;
24744
24745 if (!args) SWIG_fail;
24746 swig_obj[0] = args;
24747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24748 if (!SWIG_IsOK(res1)) {
24749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24750 }
24751 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24752 {
24753 PyThreadState* __tstate = wxPyBeginAllowThreads();
24754 result = (bool)(arg1)->GetDefaultMinMargins();
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 {
24759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24760 }
24761 return resultobj;
24762 fail:
24763 return NULL;
24764 }
24765
24766
24767 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24768 PyObject *resultobj = 0;
24769 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24770 bool result;
24771 void *argp1 = 0 ;
24772 int res1 = 0 ;
24773 PyObject *swig_obj[1] ;
24774
24775 if (!args) SWIG_fail;
24776 swig_obj[0] = args;
24777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24778 if (!SWIG_IsOK(res1)) {
24779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24780 }
24781 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24782 {
24783 PyThreadState* __tstate = wxPyBeginAllowThreads();
24784 result = (bool)(arg1)->GetEnableMargins();
24785 wxPyEndAllowThreads(__tstate);
24786 if (PyErr_Occurred()) SWIG_fail;
24787 }
24788 {
24789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24790 }
24791 return resultobj;
24792 fail:
24793 return NULL;
24794 }
24795
24796
24797 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24798 PyObject *resultobj = 0;
24799 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24800 bool result;
24801 void *argp1 = 0 ;
24802 int res1 = 0 ;
24803 PyObject *swig_obj[1] ;
24804
24805 if (!args) SWIG_fail;
24806 swig_obj[0] = args;
24807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24808 if (!SWIG_IsOK(res1)) {
24809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24810 }
24811 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24812 {
24813 PyThreadState* __tstate = wxPyBeginAllowThreads();
24814 result = (bool)(arg1)->GetEnableOrientation();
24815 wxPyEndAllowThreads(__tstate);
24816 if (PyErr_Occurred()) SWIG_fail;
24817 }
24818 {
24819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24820 }
24821 return resultobj;
24822 fail:
24823 return NULL;
24824 }
24825
24826
24827 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24828 PyObject *resultobj = 0;
24829 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24830 bool result;
24831 void *argp1 = 0 ;
24832 int res1 = 0 ;
24833 PyObject *swig_obj[1] ;
24834
24835 if (!args) SWIG_fail;
24836 swig_obj[0] = args;
24837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24838 if (!SWIG_IsOK(res1)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24840 }
24841 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24842 {
24843 PyThreadState* __tstate = wxPyBeginAllowThreads();
24844 result = (bool)(arg1)->GetEnablePaper();
24845 wxPyEndAllowThreads(__tstate);
24846 if (PyErr_Occurred()) SWIG_fail;
24847 }
24848 {
24849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24850 }
24851 return resultobj;
24852 fail:
24853 return NULL;
24854 }
24855
24856
24857 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24858 PyObject *resultobj = 0;
24859 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24860 bool result;
24861 void *argp1 = 0 ;
24862 int res1 = 0 ;
24863 PyObject *swig_obj[1] ;
24864
24865 if (!args) SWIG_fail;
24866 swig_obj[0] = args;
24867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24868 if (!SWIG_IsOK(res1)) {
24869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24870 }
24871 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24872 {
24873 PyThreadState* __tstate = wxPyBeginAllowThreads();
24874 result = (bool)(arg1)->GetEnablePrinter();
24875 wxPyEndAllowThreads(__tstate);
24876 if (PyErr_Occurred()) SWIG_fail;
24877 }
24878 {
24879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24880 }
24881 return resultobj;
24882 fail:
24883 return NULL;
24884 }
24885
24886
24887 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24888 PyObject *resultobj = 0;
24889 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24890 bool result;
24891 void *argp1 = 0 ;
24892 int res1 = 0 ;
24893 PyObject *swig_obj[1] ;
24894
24895 if (!args) SWIG_fail;
24896 swig_obj[0] = args;
24897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24898 if (!SWIG_IsOK(res1)) {
24899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24900 }
24901 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24902 {
24903 PyThreadState* __tstate = wxPyBeginAllowThreads();
24904 result = (bool)(arg1)->GetEnableHelp();
24905 wxPyEndAllowThreads(__tstate);
24906 if (PyErr_Occurred()) SWIG_fail;
24907 }
24908 {
24909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24910 }
24911 return resultobj;
24912 fail:
24913 return NULL;
24914 }
24915
24916
24917 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24918 PyObject *resultobj = 0;
24919 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24920 bool result;
24921 void *argp1 = 0 ;
24922 int res1 = 0 ;
24923 PyObject *swig_obj[1] ;
24924
24925 if (!args) SWIG_fail;
24926 swig_obj[0] = args;
24927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24928 if (!SWIG_IsOK(res1)) {
24929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24930 }
24931 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24932 {
24933 PyThreadState* __tstate = wxPyBeginAllowThreads();
24934 result = (bool)(arg1)->GetDefaultInfo();
24935 wxPyEndAllowThreads(__tstate);
24936 if (PyErr_Occurred()) SWIG_fail;
24937 }
24938 {
24939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24940 }
24941 return resultobj;
24942 fail:
24943 return NULL;
24944 }
24945
24946
24947 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24948 PyObject *resultobj = 0;
24949 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24950 wxPoint result;
24951 void *argp1 = 0 ;
24952 int res1 = 0 ;
24953 PyObject *swig_obj[1] ;
24954
24955 if (!args) SWIG_fail;
24956 swig_obj[0] = args;
24957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24958 if (!SWIG_IsOK(res1)) {
24959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24960 }
24961 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 result = (arg1)->GetMarginTopLeft();
24965 wxPyEndAllowThreads(__tstate);
24966 if (PyErr_Occurred()) SWIG_fail;
24967 }
24968 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24969 return resultobj;
24970 fail:
24971 return NULL;
24972 }
24973
24974
24975 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24976 PyObject *resultobj = 0;
24977 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24978 wxPoint result;
24979 void *argp1 = 0 ;
24980 int res1 = 0 ;
24981 PyObject *swig_obj[1] ;
24982
24983 if (!args) SWIG_fail;
24984 swig_obj[0] = args;
24985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24986 if (!SWIG_IsOK(res1)) {
24987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24988 }
24989 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24990 {
24991 PyThreadState* __tstate = wxPyBeginAllowThreads();
24992 result = (arg1)->GetMarginBottomRight();
24993 wxPyEndAllowThreads(__tstate);
24994 if (PyErr_Occurred()) SWIG_fail;
24995 }
24996 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24997 return resultobj;
24998 fail:
24999 return NULL;
25000 }
25001
25002
25003 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25004 PyObject *resultobj = 0;
25005 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25006 wxPoint result;
25007 void *argp1 = 0 ;
25008 int res1 = 0 ;
25009 PyObject *swig_obj[1] ;
25010
25011 if (!args) SWIG_fail;
25012 swig_obj[0] = args;
25013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25014 if (!SWIG_IsOK(res1)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25016 }
25017 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25018 {
25019 PyThreadState* __tstate = wxPyBeginAllowThreads();
25020 result = (arg1)->GetMinMarginTopLeft();
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
25024 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25025 return resultobj;
25026 fail:
25027 return NULL;
25028 }
25029
25030
25031 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25032 PyObject *resultobj = 0;
25033 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25034 wxPoint result;
25035 void *argp1 = 0 ;
25036 int res1 = 0 ;
25037 PyObject *swig_obj[1] ;
25038
25039 if (!args) SWIG_fail;
25040 swig_obj[0] = args;
25041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25042 if (!SWIG_IsOK(res1)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25044 }
25045 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25046 {
25047 PyThreadState* __tstate = wxPyBeginAllowThreads();
25048 result = (arg1)->GetMinMarginBottomRight();
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25053 return resultobj;
25054 fail:
25055 return NULL;
25056 }
25057
25058
25059 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25060 PyObject *resultobj = 0;
25061 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25062 wxPaperSize result;
25063 void *argp1 = 0 ;
25064 int res1 = 0 ;
25065 PyObject *swig_obj[1] ;
25066
25067 if (!args) SWIG_fail;
25068 swig_obj[0] = args;
25069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25070 if (!SWIG_IsOK(res1)) {
25071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25072 }
25073 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25074 {
25075 PyThreadState* __tstate = wxPyBeginAllowThreads();
25076 result = (wxPaperSize)(arg1)->GetPaperId();
25077 wxPyEndAllowThreads(__tstate);
25078 if (PyErr_Occurred()) SWIG_fail;
25079 }
25080 resultobj = SWIG_From_int(static_cast< int >(result));
25081 return resultobj;
25082 fail:
25083 return NULL;
25084 }
25085
25086
25087 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25088 PyObject *resultobj = 0;
25089 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25090 wxSize result;
25091 void *argp1 = 0 ;
25092 int res1 = 0 ;
25093 PyObject *swig_obj[1] ;
25094
25095 if (!args) SWIG_fail;
25096 swig_obj[0] = args;
25097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25098 if (!SWIG_IsOK(res1)) {
25099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25100 }
25101 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25102 {
25103 PyThreadState* __tstate = wxPyBeginAllowThreads();
25104 result = (arg1)->GetPaperSize();
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25109 return resultobj;
25110 fail:
25111 return NULL;
25112 }
25113
25114
25115 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25116 PyObject *resultobj = 0;
25117 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25118 wxPrintData *result = 0 ;
25119 void *argp1 = 0 ;
25120 int res1 = 0 ;
25121 PyObject *swig_obj[1] ;
25122
25123 if (!args) SWIG_fail;
25124 swig_obj[0] = args;
25125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25126 if (!SWIG_IsOK(res1)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25128 }
25129 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25130 {
25131 PyThreadState* __tstate = wxPyBeginAllowThreads();
25132 {
25133 wxPrintData &_result_ref = (arg1)->GetPrintData();
25134 result = (wxPrintData *) &_result_ref;
25135 }
25136 wxPyEndAllowThreads(__tstate);
25137 if (PyErr_Occurred()) SWIG_fail;
25138 }
25139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25140 return resultobj;
25141 fail:
25142 return NULL;
25143 }
25144
25145
25146 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25147 PyObject *resultobj = 0;
25148 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25149 bool result;
25150 void *argp1 = 0 ;
25151 int res1 = 0 ;
25152 PyObject *swig_obj[1] ;
25153
25154 if (!args) SWIG_fail;
25155 swig_obj[0] = args;
25156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25157 if (!SWIG_IsOK(res1)) {
25158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25159 }
25160 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25161 {
25162 PyThreadState* __tstate = wxPyBeginAllowThreads();
25163 result = (bool)(arg1)->Ok();
25164 wxPyEndAllowThreads(__tstate);
25165 if (PyErr_Occurred()) SWIG_fail;
25166 }
25167 {
25168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25169 }
25170 return resultobj;
25171 fail:
25172 return NULL;
25173 }
25174
25175
25176 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25177 PyObject *resultobj = 0;
25178 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25179 bool arg2 ;
25180 void *argp1 = 0 ;
25181 int res1 = 0 ;
25182 bool val2 ;
25183 int ecode2 = 0 ;
25184 PyObject * obj0 = 0 ;
25185 PyObject * obj1 = 0 ;
25186 char * kwnames[] = {
25187 (char *) "self",(char *) "flag", NULL
25188 };
25189
25190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25192 if (!SWIG_IsOK(res1)) {
25193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25194 }
25195 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25196 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25197 if (!SWIG_IsOK(ecode2)) {
25198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25199 }
25200 arg2 = static_cast< bool >(val2);
25201 {
25202 PyThreadState* __tstate = wxPyBeginAllowThreads();
25203 (arg1)->SetDefaultInfo(arg2);
25204 wxPyEndAllowThreads(__tstate);
25205 if (PyErr_Occurred()) SWIG_fail;
25206 }
25207 resultobj = SWIG_Py_Void();
25208 return resultobj;
25209 fail:
25210 return NULL;
25211 }
25212
25213
25214 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25215 PyObject *resultobj = 0;
25216 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25217 bool arg2 ;
25218 void *argp1 = 0 ;
25219 int res1 = 0 ;
25220 bool val2 ;
25221 int ecode2 = 0 ;
25222 PyObject * obj0 = 0 ;
25223 PyObject * obj1 = 0 ;
25224 char * kwnames[] = {
25225 (char *) "self",(char *) "flag", NULL
25226 };
25227
25228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25230 if (!SWIG_IsOK(res1)) {
25231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25232 }
25233 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25234 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25235 if (!SWIG_IsOK(ecode2)) {
25236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25237 }
25238 arg2 = static_cast< bool >(val2);
25239 {
25240 PyThreadState* __tstate = wxPyBeginAllowThreads();
25241 (arg1)->SetDefaultMinMargins(arg2);
25242 wxPyEndAllowThreads(__tstate);
25243 if (PyErr_Occurred()) SWIG_fail;
25244 }
25245 resultobj = SWIG_Py_Void();
25246 return resultobj;
25247 fail:
25248 return NULL;
25249 }
25250
25251
25252 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25253 PyObject *resultobj = 0;
25254 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25255 wxPoint *arg2 = 0 ;
25256 void *argp1 = 0 ;
25257 int res1 = 0 ;
25258 wxPoint temp2 ;
25259 PyObject * obj0 = 0 ;
25260 PyObject * obj1 = 0 ;
25261 char * kwnames[] = {
25262 (char *) "self",(char *) "pt", NULL
25263 };
25264
25265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25267 if (!SWIG_IsOK(res1)) {
25268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25269 }
25270 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25271 {
25272 arg2 = &temp2;
25273 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25274 }
25275 {
25276 PyThreadState* __tstate = wxPyBeginAllowThreads();
25277 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25278 wxPyEndAllowThreads(__tstate);
25279 if (PyErr_Occurred()) SWIG_fail;
25280 }
25281 resultobj = SWIG_Py_Void();
25282 return resultobj;
25283 fail:
25284 return NULL;
25285 }
25286
25287
25288 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25289 PyObject *resultobj = 0;
25290 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25291 wxPoint *arg2 = 0 ;
25292 void *argp1 = 0 ;
25293 int res1 = 0 ;
25294 wxPoint temp2 ;
25295 PyObject * obj0 = 0 ;
25296 PyObject * obj1 = 0 ;
25297 char * kwnames[] = {
25298 (char *) "self",(char *) "pt", NULL
25299 };
25300
25301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25303 if (!SWIG_IsOK(res1)) {
25304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25305 }
25306 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25307 {
25308 arg2 = &temp2;
25309 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25310 }
25311 {
25312 PyThreadState* __tstate = wxPyBeginAllowThreads();
25313 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25314 wxPyEndAllowThreads(__tstate);
25315 if (PyErr_Occurred()) SWIG_fail;
25316 }
25317 resultobj = SWIG_Py_Void();
25318 return resultobj;
25319 fail:
25320 return NULL;
25321 }
25322
25323
25324 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25325 PyObject *resultobj = 0;
25326 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25327 wxPoint *arg2 = 0 ;
25328 void *argp1 = 0 ;
25329 int res1 = 0 ;
25330 wxPoint temp2 ;
25331 PyObject * obj0 = 0 ;
25332 PyObject * obj1 = 0 ;
25333 char * kwnames[] = {
25334 (char *) "self",(char *) "pt", NULL
25335 };
25336
25337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25339 if (!SWIG_IsOK(res1)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25341 }
25342 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25343 {
25344 arg2 = &temp2;
25345 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25346 }
25347 {
25348 PyThreadState* __tstate = wxPyBeginAllowThreads();
25349 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25350 wxPyEndAllowThreads(__tstate);
25351 if (PyErr_Occurred()) SWIG_fail;
25352 }
25353 resultobj = SWIG_Py_Void();
25354 return resultobj;
25355 fail:
25356 return NULL;
25357 }
25358
25359
25360 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25361 PyObject *resultobj = 0;
25362 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25363 wxPoint *arg2 = 0 ;
25364 void *argp1 = 0 ;
25365 int res1 = 0 ;
25366 wxPoint temp2 ;
25367 PyObject * obj0 = 0 ;
25368 PyObject * obj1 = 0 ;
25369 char * kwnames[] = {
25370 (char *) "self",(char *) "pt", NULL
25371 };
25372
25373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25375 if (!SWIG_IsOK(res1)) {
25376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25377 }
25378 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25379 {
25380 arg2 = &temp2;
25381 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25382 }
25383 {
25384 PyThreadState* __tstate = wxPyBeginAllowThreads();
25385 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25386 wxPyEndAllowThreads(__tstate);
25387 if (PyErr_Occurred()) SWIG_fail;
25388 }
25389 resultobj = SWIG_Py_Void();
25390 return resultobj;
25391 fail:
25392 return NULL;
25393 }
25394
25395
25396 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25397 PyObject *resultobj = 0;
25398 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25399 wxPaperSize arg2 ;
25400 void *argp1 = 0 ;
25401 int res1 = 0 ;
25402 int val2 ;
25403 int ecode2 = 0 ;
25404 PyObject * obj0 = 0 ;
25405 PyObject * obj1 = 0 ;
25406 char * kwnames[] = {
25407 (char *) "self",(char *) "id", NULL
25408 };
25409
25410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25412 if (!SWIG_IsOK(res1)) {
25413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25414 }
25415 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25416 ecode2 = SWIG_AsVal_int(obj1, &val2);
25417 if (!SWIG_IsOK(ecode2)) {
25418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25419 }
25420 arg2 = static_cast< wxPaperSize >(val2);
25421 {
25422 PyThreadState* __tstate = wxPyBeginAllowThreads();
25423 (arg1)->SetPaperId(arg2);
25424 wxPyEndAllowThreads(__tstate);
25425 if (PyErr_Occurred()) SWIG_fail;
25426 }
25427 resultobj = SWIG_Py_Void();
25428 return resultobj;
25429 fail:
25430 return NULL;
25431 }
25432
25433
25434 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25435 PyObject *resultobj = 0;
25436 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25437 wxSize *arg2 = 0 ;
25438 void *argp1 = 0 ;
25439 int res1 = 0 ;
25440 wxSize temp2 ;
25441 PyObject * obj0 = 0 ;
25442 PyObject * obj1 = 0 ;
25443 char * kwnames[] = {
25444 (char *) "self",(char *) "size", NULL
25445 };
25446
25447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25449 if (!SWIG_IsOK(res1)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25451 }
25452 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25453 {
25454 arg2 = &temp2;
25455 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25456 }
25457 {
25458 PyThreadState* __tstate = wxPyBeginAllowThreads();
25459 (arg1)->SetPaperSize((wxSize const &)*arg2);
25460 wxPyEndAllowThreads(__tstate);
25461 if (PyErr_Occurred()) SWIG_fail;
25462 }
25463 resultobj = SWIG_Py_Void();
25464 return resultobj;
25465 fail:
25466 return NULL;
25467 }
25468
25469
25470 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25471 PyObject *resultobj = 0;
25472 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25473 wxPrintData *arg2 = 0 ;
25474 void *argp1 = 0 ;
25475 int res1 = 0 ;
25476 void *argp2 = 0 ;
25477 int res2 = 0 ;
25478 PyObject * obj0 = 0 ;
25479 PyObject * obj1 = 0 ;
25480 char * kwnames[] = {
25481 (char *) "self",(char *) "printData", NULL
25482 };
25483
25484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25486 if (!SWIG_IsOK(res1)) {
25487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25488 }
25489 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25490 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25491 if (!SWIG_IsOK(res2)) {
25492 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25493 }
25494 if (!argp2) {
25495 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25496 }
25497 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25498 {
25499 PyThreadState* __tstate = wxPyBeginAllowThreads();
25500 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25501 wxPyEndAllowThreads(__tstate);
25502 if (PyErr_Occurred()) SWIG_fail;
25503 }
25504 resultobj = SWIG_Py_Void();
25505 return resultobj;
25506 fail:
25507 return NULL;
25508 }
25509
25510
25511 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25512 PyObject *resultobj = 0;
25513 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25514 void *argp1 = 0 ;
25515 int res1 = 0 ;
25516 PyObject *swig_obj[1] ;
25517
25518 if (!args) SWIG_fail;
25519 swig_obj[0] = args;
25520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25521 if (!SWIG_IsOK(res1)) {
25522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25523 }
25524 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25525 {
25526 PyThreadState* __tstate = wxPyBeginAllowThreads();
25527 (arg1)->CalculateIdFromPaperSize();
25528 wxPyEndAllowThreads(__tstate);
25529 if (PyErr_Occurred()) SWIG_fail;
25530 }
25531 resultobj = SWIG_Py_Void();
25532 return resultobj;
25533 fail:
25534 return NULL;
25535 }
25536
25537
25538 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25539 PyObject *resultobj = 0;
25540 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25541 void *argp1 = 0 ;
25542 int res1 = 0 ;
25543 PyObject *swig_obj[1] ;
25544
25545 if (!args) SWIG_fail;
25546 swig_obj[0] = args;
25547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25548 if (!SWIG_IsOK(res1)) {
25549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25550 }
25551 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25552 {
25553 PyThreadState* __tstate = wxPyBeginAllowThreads();
25554 (arg1)->CalculatePaperSizeFromId();
25555 wxPyEndAllowThreads(__tstate);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 resultobj = SWIG_Py_Void();
25559 return resultobj;
25560 fail:
25561 return NULL;
25562 }
25563
25564
25565 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25566 PyObject *obj;
25567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25568 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25569 return SWIG_Py_Void();
25570 }
25571
25572 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25573 return SWIG_Python_InitShadowInstance(args);
25574 }
25575
25576 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25577 PyObject *resultobj = 0;
25578 wxWindow *arg1 = (wxWindow *) 0 ;
25579 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25580 wxPageSetupDialog *result = 0 ;
25581 void *argp1 = 0 ;
25582 int res1 = 0 ;
25583 void *argp2 = 0 ;
25584 int res2 = 0 ;
25585 PyObject * obj0 = 0 ;
25586 PyObject * obj1 = 0 ;
25587 char * kwnames[] = {
25588 (char *) "parent",(char *) "data", NULL
25589 };
25590
25591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25593 if (!SWIG_IsOK(res1)) {
25594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25595 }
25596 arg1 = reinterpret_cast< wxWindow * >(argp1);
25597 if (obj1) {
25598 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25599 if (!SWIG_IsOK(res2)) {
25600 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25601 }
25602 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25603 }
25604 {
25605 if (!wxPyCheckForApp()) SWIG_fail;
25606 PyThreadState* __tstate = wxPyBeginAllowThreads();
25607 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25608 wxPyEndAllowThreads(__tstate);
25609 if (PyErr_Occurred()) SWIG_fail;
25610 }
25611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25612 return resultobj;
25613 fail:
25614 return NULL;
25615 }
25616
25617
25618 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25619 PyObject *resultobj = 0;
25620 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25621 void *argp1 = 0 ;
25622 int res1 = 0 ;
25623 PyObject *swig_obj[1] ;
25624
25625 if (!args) SWIG_fail;
25626 swig_obj[0] = args;
25627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25628 if (!SWIG_IsOK(res1)) {
25629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25630 }
25631 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25632 {
25633 PyThreadState* __tstate = wxPyBeginAllowThreads();
25634 delete arg1;
25635
25636 wxPyEndAllowThreads(__tstate);
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
25639 resultobj = SWIG_Py_Void();
25640 return resultobj;
25641 fail:
25642 return NULL;
25643 }
25644
25645
25646 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25647 PyObject *resultobj = 0;
25648 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25649 wxPageSetupDialogData *result = 0 ;
25650 void *argp1 = 0 ;
25651 int res1 = 0 ;
25652 PyObject *swig_obj[1] ;
25653
25654 if (!args) SWIG_fail;
25655 swig_obj[0] = args;
25656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25657 if (!SWIG_IsOK(res1)) {
25658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25659 }
25660 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25661 {
25662 PyThreadState* __tstate = wxPyBeginAllowThreads();
25663 {
25664 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25665 result = (wxPageSetupDialogData *) &_result_ref;
25666 }
25667 wxPyEndAllowThreads(__tstate);
25668 if (PyErr_Occurred()) SWIG_fail;
25669 }
25670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25671 return resultobj;
25672 fail:
25673 return NULL;
25674 }
25675
25676
25677 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25678 PyObject *resultobj = 0;
25679 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25680 wxPageSetupDialogData *result = 0 ;
25681 void *argp1 = 0 ;
25682 int res1 = 0 ;
25683 PyObject *swig_obj[1] ;
25684
25685 if (!args) SWIG_fail;
25686 swig_obj[0] = args;
25687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25688 if (!SWIG_IsOK(res1)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25690 }
25691 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25692 {
25693 PyThreadState* __tstate = wxPyBeginAllowThreads();
25694 {
25695 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25696 result = (wxPageSetupDialogData *) &_result_ref;
25697 }
25698 wxPyEndAllowThreads(__tstate);
25699 if (PyErr_Occurred()) SWIG_fail;
25700 }
25701 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25702 return resultobj;
25703 fail:
25704 return NULL;
25705 }
25706
25707
25708 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25709 PyObject *resultobj = 0;
25710 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25711 int result;
25712 void *argp1 = 0 ;
25713 int res1 = 0 ;
25714 PyObject *swig_obj[1] ;
25715
25716 if (!args) SWIG_fail;
25717 swig_obj[0] = args;
25718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25719 if (!SWIG_IsOK(res1)) {
25720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25721 }
25722 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25723 {
25724 PyThreadState* __tstate = wxPyBeginAllowThreads();
25725 result = (int)(arg1)->ShowModal();
25726 wxPyEndAllowThreads(__tstate);
25727 if (PyErr_Occurred()) SWIG_fail;
25728 }
25729 resultobj = SWIG_From_int(static_cast< int >(result));
25730 return resultobj;
25731 fail:
25732 return NULL;
25733 }
25734
25735
25736 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25737 PyObject *obj;
25738 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25739 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25740 return SWIG_Py_Void();
25741 }
25742
25743 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25744 return SWIG_Python_InitShadowInstance(args);
25745 }
25746
25747 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25748 PyObject *resultobj = 0;
25749 wxPrintDialogData *result = 0 ;
25750
25751 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25752 {
25753 PyThreadState* __tstate = wxPyBeginAllowThreads();
25754 result = (wxPrintDialogData *)new wxPrintDialogData();
25755 wxPyEndAllowThreads(__tstate);
25756 if (PyErr_Occurred()) SWIG_fail;
25757 }
25758 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25759 return resultobj;
25760 fail:
25761 return NULL;
25762 }
25763
25764
25765 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25766 PyObject *resultobj = 0;
25767 wxPrintData *arg1 = 0 ;
25768 wxPrintDialogData *result = 0 ;
25769 void *argp1 = 0 ;
25770 int res1 = 0 ;
25771
25772 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25774 if (!SWIG_IsOK(res1)) {
25775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25776 }
25777 if (!argp1) {
25778 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25779 }
25780 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25781 {
25782 PyThreadState* __tstate = wxPyBeginAllowThreads();
25783 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25784 wxPyEndAllowThreads(__tstate);
25785 if (PyErr_Occurred()) SWIG_fail;
25786 }
25787 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25788 return resultobj;
25789 fail:
25790 return NULL;
25791 }
25792
25793
25794 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25795 PyObject *resultobj = 0;
25796 wxPrintDialogData *arg1 = 0 ;
25797 wxPrintDialogData *result = 0 ;
25798 void *argp1 = 0 ;
25799 int res1 = 0 ;
25800
25801 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25803 if (!SWIG_IsOK(res1)) {
25804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25805 }
25806 if (!argp1) {
25807 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25808 }
25809 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25813 wxPyEndAllowThreads(__tstate);
25814 if (PyErr_Occurred()) SWIG_fail;
25815 }
25816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25817 return resultobj;
25818 fail:
25819 return NULL;
25820 }
25821
25822
25823 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25824 int argc;
25825 PyObject *argv[2];
25826
25827 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25828 --argc;
25829 if (argc == 0) {
25830 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25831 }
25832 if (argc == 1) {
25833 int _v = 0;
25834 {
25835 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25836 _v = SWIG_CheckState(res);
25837 }
25838 if (!_v) goto check_2;
25839 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25840 }
25841 check_2:
25842
25843 if (argc == 1) {
25844 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25845 }
25846
25847 fail:
25848 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25849 return NULL;
25850 }
25851
25852
25853 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25854 PyObject *resultobj = 0;
25855 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25856 void *argp1 = 0 ;
25857 int res1 = 0 ;
25858 PyObject *swig_obj[1] ;
25859
25860 if (!args) SWIG_fail;
25861 swig_obj[0] = args;
25862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25863 if (!SWIG_IsOK(res1)) {
25864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25865 }
25866 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25867 {
25868 PyThreadState* __tstate = wxPyBeginAllowThreads();
25869 delete arg1;
25870
25871 wxPyEndAllowThreads(__tstate);
25872 if (PyErr_Occurred()) SWIG_fail;
25873 }
25874 resultobj = SWIG_Py_Void();
25875 return resultobj;
25876 fail:
25877 return NULL;
25878 }
25879
25880
25881 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25882 PyObject *resultobj = 0;
25883 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25884 int result;
25885 void *argp1 = 0 ;
25886 int res1 = 0 ;
25887 PyObject *swig_obj[1] ;
25888
25889 if (!args) SWIG_fail;
25890 swig_obj[0] = args;
25891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25892 if (!SWIG_IsOK(res1)) {
25893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25894 }
25895 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25896 {
25897 PyThreadState* __tstate = wxPyBeginAllowThreads();
25898 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25899 wxPyEndAllowThreads(__tstate);
25900 if (PyErr_Occurred()) SWIG_fail;
25901 }
25902 resultobj = SWIG_From_int(static_cast< int >(result));
25903 return resultobj;
25904 fail:
25905 return NULL;
25906 }
25907
25908
25909 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25910 PyObject *resultobj = 0;
25911 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25912 int result;
25913 void *argp1 = 0 ;
25914 int res1 = 0 ;
25915 PyObject *swig_obj[1] ;
25916
25917 if (!args) SWIG_fail;
25918 swig_obj[0] = args;
25919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25920 if (!SWIG_IsOK(res1)) {
25921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25922 }
25923 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25924 {
25925 PyThreadState* __tstate = wxPyBeginAllowThreads();
25926 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25927 wxPyEndAllowThreads(__tstate);
25928 if (PyErr_Occurred()) SWIG_fail;
25929 }
25930 resultobj = SWIG_From_int(static_cast< int >(result));
25931 return resultobj;
25932 fail:
25933 return NULL;
25934 }
25935
25936
25937 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25938 PyObject *resultobj = 0;
25939 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25940 int result;
25941 void *argp1 = 0 ;
25942 int res1 = 0 ;
25943 PyObject *swig_obj[1] ;
25944
25945 if (!args) SWIG_fail;
25946 swig_obj[0] = args;
25947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25948 if (!SWIG_IsOK(res1)) {
25949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25950 }
25951 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25952 {
25953 PyThreadState* __tstate = wxPyBeginAllowThreads();
25954 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25955 wxPyEndAllowThreads(__tstate);
25956 if (PyErr_Occurred()) SWIG_fail;
25957 }
25958 resultobj = SWIG_From_int(static_cast< int >(result));
25959 return resultobj;
25960 fail:
25961 return NULL;
25962 }
25963
25964
25965 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25966 PyObject *resultobj = 0;
25967 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25968 int result;
25969 void *argp1 = 0 ;
25970 int res1 = 0 ;
25971 PyObject *swig_obj[1] ;
25972
25973 if (!args) SWIG_fail;
25974 swig_obj[0] = args;
25975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25976 if (!SWIG_IsOK(res1)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25978 }
25979 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25980 {
25981 PyThreadState* __tstate = wxPyBeginAllowThreads();
25982 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25983 wxPyEndAllowThreads(__tstate);
25984 if (PyErr_Occurred()) SWIG_fail;
25985 }
25986 resultobj = SWIG_From_int(static_cast< int >(result));
25987 return resultobj;
25988 fail:
25989 return NULL;
25990 }
25991
25992
25993 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25994 PyObject *resultobj = 0;
25995 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25996 int result;
25997 void *argp1 = 0 ;
25998 int res1 = 0 ;
25999 PyObject *swig_obj[1] ;
26000
26001 if (!args) SWIG_fail;
26002 swig_obj[0] = args;
26003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26004 if (!SWIG_IsOK(res1)) {
26005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26006 }
26007 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26008 {
26009 PyThreadState* __tstate = wxPyBeginAllowThreads();
26010 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26011 wxPyEndAllowThreads(__tstate);
26012 if (PyErr_Occurred()) SWIG_fail;
26013 }
26014 resultobj = SWIG_From_int(static_cast< int >(result));
26015 return resultobj;
26016 fail:
26017 return NULL;
26018 }
26019
26020
26021 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26022 PyObject *resultobj = 0;
26023 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26024 bool result;
26025 void *argp1 = 0 ;
26026 int res1 = 0 ;
26027 PyObject *swig_obj[1] ;
26028
26029 if (!args) SWIG_fail;
26030 swig_obj[0] = args;
26031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26032 if (!SWIG_IsOK(res1)) {
26033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26034 }
26035 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26036 {
26037 PyThreadState* __tstate = wxPyBeginAllowThreads();
26038 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26039 wxPyEndAllowThreads(__tstate);
26040 if (PyErr_Occurred()) SWIG_fail;
26041 }
26042 {
26043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26044 }
26045 return resultobj;
26046 fail:
26047 return NULL;
26048 }
26049
26050
26051 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26052 PyObject *resultobj = 0;
26053 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26054 bool result;
26055 void *argp1 = 0 ;
26056 int res1 = 0 ;
26057 PyObject *swig_obj[1] ;
26058
26059 if (!args) SWIG_fail;
26060 swig_obj[0] = args;
26061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26062 if (!SWIG_IsOK(res1)) {
26063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26064 }
26065 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26066 {
26067 PyThreadState* __tstate = wxPyBeginAllowThreads();
26068 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26069 wxPyEndAllowThreads(__tstate);
26070 if (PyErr_Occurred()) SWIG_fail;
26071 }
26072 {
26073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26074 }
26075 return resultobj;
26076 fail:
26077 return NULL;
26078 }
26079
26080
26081 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26082 PyObject *resultobj = 0;
26083 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26084 bool result;
26085 void *argp1 = 0 ;
26086 int res1 = 0 ;
26087 PyObject *swig_obj[1] ;
26088
26089 if (!args) SWIG_fail;
26090 swig_obj[0] = args;
26091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26092 if (!SWIG_IsOK(res1)) {
26093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26094 }
26095 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26096 {
26097 PyThreadState* __tstate = wxPyBeginAllowThreads();
26098 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26099 wxPyEndAllowThreads(__tstate);
26100 if (PyErr_Occurred()) SWIG_fail;
26101 }
26102 {
26103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26104 }
26105 return resultobj;
26106 fail:
26107 return NULL;
26108 }
26109
26110
26111 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26112 PyObject *resultobj = 0;
26113 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26114 bool result;
26115 void *argp1 = 0 ;
26116 int res1 = 0 ;
26117 PyObject *swig_obj[1] ;
26118
26119 if (!args) SWIG_fail;
26120 swig_obj[0] = args;
26121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26122 if (!SWIG_IsOK(res1)) {
26123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26124 }
26125 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26126 {
26127 PyThreadState* __tstate = wxPyBeginAllowThreads();
26128 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26129 wxPyEndAllowThreads(__tstate);
26130 if (PyErr_Occurred()) SWIG_fail;
26131 }
26132 {
26133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26134 }
26135 return resultobj;
26136 fail:
26137 return NULL;
26138 }
26139
26140
26141 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26142 PyObject *resultobj = 0;
26143 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26144 int arg2 ;
26145 void *argp1 = 0 ;
26146 int res1 = 0 ;
26147 int val2 ;
26148 int ecode2 = 0 ;
26149 PyObject * obj0 = 0 ;
26150 PyObject * obj1 = 0 ;
26151 char * kwnames[] = {
26152 (char *) "self",(char *) "v", NULL
26153 };
26154
26155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26157 if (!SWIG_IsOK(res1)) {
26158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26159 }
26160 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26161 ecode2 = SWIG_AsVal_int(obj1, &val2);
26162 if (!SWIG_IsOK(ecode2)) {
26163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26164 }
26165 arg2 = static_cast< int >(val2);
26166 {
26167 PyThreadState* __tstate = wxPyBeginAllowThreads();
26168 (arg1)->SetFromPage(arg2);
26169 wxPyEndAllowThreads(__tstate);
26170 if (PyErr_Occurred()) SWIG_fail;
26171 }
26172 resultobj = SWIG_Py_Void();
26173 return resultobj;
26174 fail:
26175 return NULL;
26176 }
26177
26178
26179 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26180 PyObject *resultobj = 0;
26181 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26182 int arg2 ;
26183 void *argp1 = 0 ;
26184 int res1 = 0 ;
26185 int val2 ;
26186 int ecode2 = 0 ;
26187 PyObject * obj0 = 0 ;
26188 PyObject * obj1 = 0 ;
26189 char * kwnames[] = {
26190 (char *) "self",(char *) "v", NULL
26191 };
26192
26193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26195 if (!SWIG_IsOK(res1)) {
26196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26197 }
26198 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26199 ecode2 = SWIG_AsVal_int(obj1, &val2);
26200 if (!SWIG_IsOK(ecode2)) {
26201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26202 }
26203 arg2 = static_cast< int >(val2);
26204 {
26205 PyThreadState* __tstate = wxPyBeginAllowThreads();
26206 (arg1)->SetToPage(arg2);
26207 wxPyEndAllowThreads(__tstate);
26208 if (PyErr_Occurred()) SWIG_fail;
26209 }
26210 resultobj = SWIG_Py_Void();
26211 return resultobj;
26212 fail:
26213 return NULL;
26214 }
26215
26216
26217 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26218 PyObject *resultobj = 0;
26219 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26220 int arg2 ;
26221 void *argp1 = 0 ;
26222 int res1 = 0 ;
26223 int val2 ;
26224 int ecode2 = 0 ;
26225 PyObject * obj0 = 0 ;
26226 PyObject * obj1 = 0 ;
26227 char * kwnames[] = {
26228 (char *) "self",(char *) "v", NULL
26229 };
26230
26231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26233 if (!SWIG_IsOK(res1)) {
26234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26235 }
26236 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26237 ecode2 = SWIG_AsVal_int(obj1, &val2);
26238 if (!SWIG_IsOK(ecode2)) {
26239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26240 }
26241 arg2 = static_cast< int >(val2);
26242 {
26243 PyThreadState* __tstate = wxPyBeginAllowThreads();
26244 (arg1)->SetMinPage(arg2);
26245 wxPyEndAllowThreads(__tstate);
26246 if (PyErr_Occurred()) SWIG_fail;
26247 }
26248 resultobj = SWIG_Py_Void();
26249 return resultobj;
26250 fail:
26251 return NULL;
26252 }
26253
26254
26255 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26256 PyObject *resultobj = 0;
26257 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26258 int arg2 ;
26259 void *argp1 = 0 ;
26260 int res1 = 0 ;
26261 int val2 ;
26262 int ecode2 = 0 ;
26263 PyObject * obj0 = 0 ;
26264 PyObject * obj1 = 0 ;
26265 char * kwnames[] = {
26266 (char *) "self",(char *) "v", NULL
26267 };
26268
26269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26271 if (!SWIG_IsOK(res1)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26273 }
26274 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26275 ecode2 = SWIG_AsVal_int(obj1, &val2);
26276 if (!SWIG_IsOK(ecode2)) {
26277 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26278 }
26279 arg2 = static_cast< int >(val2);
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 (arg1)->SetMaxPage(arg2);
26283 wxPyEndAllowThreads(__tstate);
26284 if (PyErr_Occurred()) SWIG_fail;
26285 }
26286 resultobj = SWIG_Py_Void();
26287 return resultobj;
26288 fail:
26289 return NULL;
26290 }
26291
26292
26293 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26294 PyObject *resultobj = 0;
26295 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26296 int arg2 ;
26297 void *argp1 = 0 ;
26298 int res1 = 0 ;
26299 int val2 ;
26300 int ecode2 = 0 ;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj1 = 0 ;
26303 char * kwnames[] = {
26304 (char *) "self",(char *) "v", NULL
26305 };
26306
26307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26309 if (!SWIG_IsOK(res1)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26311 }
26312 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26313 ecode2 = SWIG_AsVal_int(obj1, &val2);
26314 if (!SWIG_IsOK(ecode2)) {
26315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26316 }
26317 arg2 = static_cast< int >(val2);
26318 {
26319 PyThreadState* __tstate = wxPyBeginAllowThreads();
26320 (arg1)->SetNoCopies(arg2);
26321 wxPyEndAllowThreads(__tstate);
26322 if (PyErr_Occurred()) SWIG_fail;
26323 }
26324 resultobj = SWIG_Py_Void();
26325 return resultobj;
26326 fail:
26327 return NULL;
26328 }
26329
26330
26331 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26332 PyObject *resultobj = 0;
26333 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26334 bool arg2 ;
26335 void *argp1 = 0 ;
26336 int res1 = 0 ;
26337 bool val2 ;
26338 int ecode2 = 0 ;
26339 PyObject * obj0 = 0 ;
26340 PyObject * obj1 = 0 ;
26341 char * kwnames[] = {
26342 (char *) "self",(char *) "flag", NULL
26343 };
26344
26345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26347 if (!SWIG_IsOK(res1)) {
26348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26349 }
26350 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26351 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26352 if (!SWIG_IsOK(ecode2)) {
26353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26354 }
26355 arg2 = static_cast< bool >(val2);
26356 {
26357 PyThreadState* __tstate = wxPyBeginAllowThreads();
26358 (arg1)->SetAllPages(arg2);
26359 wxPyEndAllowThreads(__tstate);
26360 if (PyErr_Occurred()) SWIG_fail;
26361 }
26362 resultobj = SWIG_Py_Void();
26363 return resultobj;
26364 fail:
26365 return NULL;
26366 }
26367
26368
26369 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26370 PyObject *resultobj = 0;
26371 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26372 bool arg2 ;
26373 void *argp1 = 0 ;
26374 int res1 = 0 ;
26375 bool val2 ;
26376 int ecode2 = 0 ;
26377 PyObject * obj0 = 0 ;
26378 PyObject * obj1 = 0 ;
26379 char * kwnames[] = {
26380 (char *) "self",(char *) "flag", NULL
26381 };
26382
26383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26385 if (!SWIG_IsOK(res1)) {
26386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26387 }
26388 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26389 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26390 if (!SWIG_IsOK(ecode2)) {
26391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26392 }
26393 arg2 = static_cast< bool >(val2);
26394 {
26395 PyThreadState* __tstate = wxPyBeginAllowThreads();
26396 (arg1)->SetSelection(arg2);
26397 wxPyEndAllowThreads(__tstate);
26398 if (PyErr_Occurred()) SWIG_fail;
26399 }
26400 resultobj = SWIG_Py_Void();
26401 return resultobj;
26402 fail:
26403 return NULL;
26404 }
26405
26406
26407 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26408 PyObject *resultobj = 0;
26409 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26410 bool arg2 ;
26411 void *argp1 = 0 ;
26412 int res1 = 0 ;
26413 bool val2 ;
26414 int ecode2 = 0 ;
26415 PyObject * obj0 = 0 ;
26416 PyObject * obj1 = 0 ;
26417 char * kwnames[] = {
26418 (char *) "self",(char *) "flag", NULL
26419 };
26420
26421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26423 if (!SWIG_IsOK(res1)) {
26424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26425 }
26426 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26427 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26428 if (!SWIG_IsOK(ecode2)) {
26429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26430 }
26431 arg2 = static_cast< bool >(val2);
26432 {
26433 PyThreadState* __tstate = wxPyBeginAllowThreads();
26434 (arg1)->SetCollate(arg2);
26435 wxPyEndAllowThreads(__tstate);
26436 if (PyErr_Occurred()) SWIG_fail;
26437 }
26438 resultobj = SWIG_Py_Void();
26439 return resultobj;
26440 fail:
26441 return NULL;
26442 }
26443
26444
26445 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26446 PyObject *resultobj = 0;
26447 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26448 bool arg2 ;
26449 void *argp1 = 0 ;
26450 int res1 = 0 ;
26451 bool val2 ;
26452 int ecode2 = 0 ;
26453 PyObject * obj0 = 0 ;
26454 PyObject * obj1 = 0 ;
26455 char * kwnames[] = {
26456 (char *) "self",(char *) "flag", NULL
26457 };
26458
26459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26461 if (!SWIG_IsOK(res1)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26463 }
26464 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26465 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26466 if (!SWIG_IsOK(ecode2)) {
26467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26468 }
26469 arg2 = static_cast< bool >(val2);
26470 {
26471 PyThreadState* __tstate = wxPyBeginAllowThreads();
26472 (arg1)->SetPrintToFile(arg2);
26473 wxPyEndAllowThreads(__tstate);
26474 if (PyErr_Occurred()) SWIG_fail;
26475 }
26476 resultobj = SWIG_Py_Void();
26477 return resultobj;
26478 fail:
26479 return NULL;
26480 }
26481
26482
26483 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26484 PyObject *resultobj = 0;
26485 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26486 bool arg2 ;
26487 void *argp1 = 0 ;
26488 int res1 = 0 ;
26489 bool val2 ;
26490 int ecode2 = 0 ;
26491 PyObject * obj0 = 0 ;
26492 PyObject * obj1 = 0 ;
26493 char * kwnames[] = {
26494 (char *) "self",(char *) "flag", NULL
26495 };
26496
26497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26499 if (!SWIG_IsOK(res1)) {
26500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26501 }
26502 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26503 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26504 if (!SWIG_IsOK(ecode2)) {
26505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26506 }
26507 arg2 = static_cast< bool >(val2);
26508 {
26509 PyThreadState* __tstate = wxPyBeginAllowThreads();
26510 (arg1)->EnablePrintToFile(arg2);
26511 wxPyEndAllowThreads(__tstate);
26512 if (PyErr_Occurred()) SWIG_fail;
26513 }
26514 resultobj = SWIG_Py_Void();
26515 return resultobj;
26516 fail:
26517 return NULL;
26518 }
26519
26520
26521 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26522 PyObject *resultobj = 0;
26523 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26524 bool arg2 ;
26525 void *argp1 = 0 ;
26526 int res1 = 0 ;
26527 bool val2 ;
26528 int ecode2 = 0 ;
26529 PyObject * obj0 = 0 ;
26530 PyObject * obj1 = 0 ;
26531 char * kwnames[] = {
26532 (char *) "self",(char *) "flag", NULL
26533 };
26534
26535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26537 if (!SWIG_IsOK(res1)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26539 }
26540 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26541 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26542 if (!SWIG_IsOK(ecode2)) {
26543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26544 }
26545 arg2 = static_cast< bool >(val2);
26546 {
26547 PyThreadState* __tstate = wxPyBeginAllowThreads();
26548 (arg1)->EnableSelection(arg2);
26549 wxPyEndAllowThreads(__tstate);
26550 if (PyErr_Occurred()) SWIG_fail;
26551 }
26552 resultobj = SWIG_Py_Void();
26553 return resultobj;
26554 fail:
26555 return NULL;
26556 }
26557
26558
26559 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26560 PyObject *resultobj = 0;
26561 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26562 bool arg2 ;
26563 void *argp1 = 0 ;
26564 int res1 = 0 ;
26565 bool val2 ;
26566 int ecode2 = 0 ;
26567 PyObject * obj0 = 0 ;
26568 PyObject * obj1 = 0 ;
26569 char * kwnames[] = {
26570 (char *) "self",(char *) "flag", NULL
26571 };
26572
26573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26575 if (!SWIG_IsOK(res1)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26577 }
26578 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26579 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26580 if (!SWIG_IsOK(ecode2)) {
26581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26582 }
26583 arg2 = static_cast< bool >(val2);
26584 {
26585 PyThreadState* __tstate = wxPyBeginAllowThreads();
26586 (arg1)->EnablePageNumbers(arg2);
26587 wxPyEndAllowThreads(__tstate);
26588 if (PyErr_Occurred()) SWIG_fail;
26589 }
26590 resultobj = SWIG_Py_Void();
26591 return resultobj;
26592 fail:
26593 return NULL;
26594 }
26595
26596
26597 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26598 PyObject *resultobj = 0;
26599 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26600 bool arg2 ;
26601 void *argp1 = 0 ;
26602 int res1 = 0 ;
26603 bool val2 ;
26604 int ecode2 = 0 ;
26605 PyObject * obj0 = 0 ;
26606 PyObject * obj1 = 0 ;
26607 char * kwnames[] = {
26608 (char *) "self",(char *) "flag", NULL
26609 };
26610
26611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26613 if (!SWIG_IsOK(res1)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26615 }
26616 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26617 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26618 if (!SWIG_IsOK(ecode2)) {
26619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26620 }
26621 arg2 = static_cast< bool >(val2);
26622 {
26623 PyThreadState* __tstate = wxPyBeginAllowThreads();
26624 (arg1)->EnableHelp(arg2);
26625 wxPyEndAllowThreads(__tstate);
26626 if (PyErr_Occurred()) SWIG_fail;
26627 }
26628 resultobj = SWIG_Py_Void();
26629 return resultobj;
26630 fail:
26631 return NULL;
26632 }
26633
26634
26635 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26636 PyObject *resultobj = 0;
26637 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26638 bool result;
26639 void *argp1 = 0 ;
26640 int res1 = 0 ;
26641 PyObject *swig_obj[1] ;
26642
26643 if (!args) SWIG_fail;
26644 swig_obj[0] = args;
26645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26646 if (!SWIG_IsOK(res1)) {
26647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26648 }
26649 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26650 {
26651 PyThreadState* __tstate = wxPyBeginAllowThreads();
26652 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26653 wxPyEndAllowThreads(__tstate);
26654 if (PyErr_Occurred()) SWIG_fail;
26655 }
26656 {
26657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26658 }
26659 return resultobj;
26660 fail:
26661 return NULL;
26662 }
26663
26664
26665 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26666 PyObject *resultobj = 0;
26667 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26668 bool result;
26669 void *argp1 = 0 ;
26670 int res1 = 0 ;
26671 PyObject *swig_obj[1] ;
26672
26673 if (!args) SWIG_fail;
26674 swig_obj[0] = args;
26675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26676 if (!SWIG_IsOK(res1)) {
26677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26678 }
26679 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26680 {
26681 PyThreadState* __tstate = wxPyBeginAllowThreads();
26682 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26683 wxPyEndAllowThreads(__tstate);
26684 if (PyErr_Occurred()) SWIG_fail;
26685 }
26686 {
26687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26688 }
26689 return resultobj;
26690 fail:
26691 return NULL;
26692 }
26693
26694
26695 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26696 PyObject *resultobj = 0;
26697 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26698 bool result;
26699 void *argp1 = 0 ;
26700 int res1 = 0 ;
26701 PyObject *swig_obj[1] ;
26702
26703 if (!args) SWIG_fail;
26704 swig_obj[0] = args;
26705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26706 if (!SWIG_IsOK(res1)) {
26707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26708 }
26709 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26710 {
26711 PyThreadState* __tstate = wxPyBeginAllowThreads();
26712 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26713 wxPyEndAllowThreads(__tstate);
26714 if (PyErr_Occurred()) SWIG_fail;
26715 }
26716 {
26717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26718 }
26719 return resultobj;
26720 fail:
26721 return NULL;
26722 }
26723
26724
26725 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26726 PyObject *resultobj = 0;
26727 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26728 bool result;
26729 void *argp1 = 0 ;
26730 int res1 = 0 ;
26731 PyObject *swig_obj[1] ;
26732
26733 if (!args) SWIG_fail;
26734 swig_obj[0] = args;
26735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26736 if (!SWIG_IsOK(res1)) {
26737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26738 }
26739 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26740 {
26741 PyThreadState* __tstate = wxPyBeginAllowThreads();
26742 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26743 wxPyEndAllowThreads(__tstate);
26744 if (PyErr_Occurred()) SWIG_fail;
26745 }
26746 {
26747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26748 }
26749 return resultobj;
26750 fail:
26751 return NULL;
26752 }
26753
26754
26755 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26756 PyObject *resultobj = 0;
26757 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26758 bool result;
26759 void *argp1 = 0 ;
26760 int res1 = 0 ;
26761 PyObject *swig_obj[1] ;
26762
26763 if (!args) SWIG_fail;
26764 swig_obj[0] = args;
26765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26766 if (!SWIG_IsOK(res1)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26768 }
26769 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26770 {
26771 PyThreadState* __tstate = wxPyBeginAllowThreads();
26772 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26773 wxPyEndAllowThreads(__tstate);
26774 if (PyErr_Occurred()) SWIG_fail;
26775 }
26776 {
26777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26778 }
26779 return resultobj;
26780 fail:
26781 return NULL;
26782 }
26783
26784
26785 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26786 PyObject *resultobj = 0;
26787 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26788 wxPrintData *result = 0 ;
26789 void *argp1 = 0 ;
26790 int res1 = 0 ;
26791 PyObject *swig_obj[1] ;
26792
26793 if (!args) SWIG_fail;
26794 swig_obj[0] = args;
26795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26796 if (!SWIG_IsOK(res1)) {
26797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26798 }
26799 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26800 {
26801 PyThreadState* __tstate = wxPyBeginAllowThreads();
26802 {
26803 wxPrintData &_result_ref = (arg1)->GetPrintData();
26804 result = (wxPrintData *) &_result_ref;
26805 }
26806 wxPyEndAllowThreads(__tstate);
26807 if (PyErr_Occurred()) SWIG_fail;
26808 }
26809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26810 return resultobj;
26811 fail:
26812 return NULL;
26813 }
26814
26815
26816 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26817 PyObject *resultobj = 0;
26818 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26819 wxPrintData *arg2 = 0 ;
26820 void *argp1 = 0 ;
26821 int res1 = 0 ;
26822 void *argp2 = 0 ;
26823 int res2 = 0 ;
26824 PyObject * obj0 = 0 ;
26825 PyObject * obj1 = 0 ;
26826 char * kwnames[] = {
26827 (char *) "self",(char *) "printData", NULL
26828 };
26829
26830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26832 if (!SWIG_IsOK(res1)) {
26833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26834 }
26835 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26836 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26837 if (!SWIG_IsOK(res2)) {
26838 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26839 }
26840 if (!argp2) {
26841 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26842 }
26843 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26844 {
26845 PyThreadState* __tstate = wxPyBeginAllowThreads();
26846 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26847 wxPyEndAllowThreads(__tstate);
26848 if (PyErr_Occurred()) SWIG_fail;
26849 }
26850 resultobj = SWIG_Py_Void();
26851 return resultobj;
26852 fail:
26853 return NULL;
26854 }
26855
26856
26857 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26858 PyObject *obj;
26859 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26860 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26861 return SWIG_Py_Void();
26862 }
26863
26864 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26865 return SWIG_Python_InitShadowInstance(args);
26866 }
26867
26868 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26869 PyObject *resultobj = 0;
26870 wxWindow *arg1 = (wxWindow *) 0 ;
26871 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26872 wxPrintDialog *result = 0 ;
26873 void *argp1 = 0 ;
26874 int res1 = 0 ;
26875 void *argp2 = 0 ;
26876 int res2 = 0 ;
26877 PyObject * obj0 = 0 ;
26878 PyObject * obj1 = 0 ;
26879 char * kwnames[] = {
26880 (char *) "parent",(char *) "data", NULL
26881 };
26882
26883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26885 if (!SWIG_IsOK(res1)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26887 }
26888 arg1 = reinterpret_cast< wxWindow * >(argp1);
26889 if (obj1) {
26890 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26891 if (!SWIG_IsOK(res2)) {
26892 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26893 }
26894 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26895 }
26896 {
26897 if (!wxPyCheckForApp()) SWIG_fail;
26898 PyThreadState* __tstate = wxPyBeginAllowThreads();
26899 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26900 wxPyEndAllowThreads(__tstate);
26901 if (PyErr_Occurred()) SWIG_fail;
26902 }
26903 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26904 return resultobj;
26905 fail:
26906 return NULL;
26907 }
26908
26909
26910 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26911 PyObject *resultobj = 0;
26912 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26913 void *argp1 = 0 ;
26914 int res1 = 0 ;
26915 PyObject *swig_obj[1] ;
26916
26917 if (!args) SWIG_fail;
26918 swig_obj[0] = args;
26919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26920 if (!SWIG_IsOK(res1)) {
26921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26922 }
26923 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26924 {
26925 PyThreadState* __tstate = wxPyBeginAllowThreads();
26926 delete arg1;
26927
26928 wxPyEndAllowThreads(__tstate);
26929 if (PyErr_Occurred()) SWIG_fail;
26930 }
26931 resultobj = SWIG_Py_Void();
26932 return resultobj;
26933 fail:
26934 return NULL;
26935 }
26936
26937
26938 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26939 PyObject *resultobj = 0;
26940 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26941 int result;
26942 void *argp1 = 0 ;
26943 int res1 = 0 ;
26944 PyObject *swig_obj[1] ;
26945
26946 if (!args) SWIG_fail;
26947 swig_obj[0] = args;
26948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26949 if (!SWIG_IsOK(res1)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26951 }
26952 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26953 {
26954 PyThreadState* __tstate = wxPyBeginAllowThreads();
26955 result = (int)(arg1)->ShowModal();
26956 wxPyEndAllowThreads(__tstate);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 }
26959 resultobj = SWIG_From_int(static_cast< int >(result));
26960 return resultobj;
26961 fail:
26962 return NULL;
26963 }
26964
26965
26966 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26967 PyObject *resultobj = 0;
26968 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26969 wxPrintDialogData *result = 0 ;
26970 void *argp1 = 0 ;
26971 int res1 = 0 ;
26972 PyObject *swig_obj[1] ;
26973
26974 if (!args) SWIG_fail;
26975 swig_obj[0] = args;
26976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26977 if (!SWIG_IsOK(res1)) {
26978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26979 }
26980 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26981 {
26982 PyThreadState* __tstate = wxPyBeginAllowThreads();
26983 {
26984 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26985 result = (wxPrintDialogData *) &_result_ref;
26986 }
26987 wxPyEndAllowThreads(__tstate);
26988 if (PyErr_Occurred()) SWIG_fail;
26989 }
26990 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26991 return resultobj;
26992 fail:
26993 return NULL;
26994 }
26995
26996
26997 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26998 PyObject *resultobj = 0;
26999 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27000 wxPrintData *result = 0 ;
27001 void *argp1 = 0 ;
27002 int res1 = 0 ;
27003 PyObject *swig_obj[1] ;
27004
27005 if (!args) SWIG_fail;
27006 swig_obj[0] = args;
27007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27008 if (!SWIG_IsOK(res1)) {
27009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27010 }
27011 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27012 {
27013 PyThreadState* __tstate = wxPyBeginAllowThreads();
27014 {
27015 wxPrintData &_result_ref = (arg1)->GetPrintData();
27016 result = (wxPrintData *) &_result_ref;
27017 }
27018 wxPyEndAllowThreads(__tstate);
27019 if (PyErr_Occurred()) SWIG_fail;
27020 }
27021 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27022 return resultobj;
27023 fail:
27024 return NULL;
27025 }
27026
27027
27028 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27029 PyObject *resultobj = 0;
27030 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27031 wxDC *result = 0 ;
27032 void *argp1 = 0 ;
27033 int res1 = 0 ;
27034 PyObject *swig_obj[1] ;
27035
27036 if (!args) SWIG_fail;
27037 swig_obj[0] = args;
27038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27039 if (!SWIG_IsOK(res1)) {
27040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27041 }
27042 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27043 {
27044 PyThreadState* __tstate = wxPyBeginAllowThreads();
27045 result = (wxDC *)(arg1)->GetPrintDC();
27046 wxPyEndAllowThreads(__tstate);
27047 if (PyErr_Occurred()) SWIG_fail;
27048 }
27049 {
27050 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27051 }
27052 return resultobj;
27053 fail:
27054 return NULL;
27055 }
27056
27057
27058 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27059 PyObject *obj;
27060 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27061 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27062 return SWIG_Py_Void();
27063 }
27064
27065 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27066 return SWIG_Python_InitShadowInstance(args);
27067 }
27068
27069 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27070 PyObject *resultobj = 0;
27071 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27072 wxPrinter *result = 0 ;
27073 void *argp1 = 0 ;
27074 int res1 = 0 ;
27075 PyObject * obj0 = 0 ;
27076 char * kwnames[] = {
27077 (char *) "data", NULL
27078 };
27079
27080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27081 if (obj0) {
27082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27083 if (!SWIG_IsOK(res1)) {
27084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27085 }
27086 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27087 }
27088 {
27089 if (!wxPyCheckForApp()) SWIG_fail;
27090 PyThreadState* __tstate = wxPyBeginAllowThreads();
27091 result = (wxPrinter *)new wxPrinter(arg1);
27092 wxPyEndAllowThreads(__tstate);
27093 if (PyErr_Occurred()) SWIG_fail;
27094 }
27095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27096 return resultobj;
27097 fail:
27098 return NULL;
27099 }
27100
27101
27102 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27103 PyObject *resultobj = 0;
27104 wxPrinter *arg1 = (wxPrinter *) 0 ;
27105 void *argp1 = 0 ;
27106 int res1 = 0 ;
27107 PyObject *swig_obj[1] ;
27108
27109 if (!args) SWIG_fail;
27110 swig_obj[0] = args;
27111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27112 if (!SWIG_IsOK(res1)) {
27113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27114 }
27115 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 delete arg1;
27119
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 resultobj = SWIG_Py_Void();
27124 return resultobj;
27125 fail:
27126 return NULL;
27127 }
27128
27129
27130 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27131 PyObject *resultobj = 0;
27132 wxPrinter *arg1 = (wxPrinter *) 0 ;
27133 wxWindow *arg2 = (wxWindow *) 0 ;
27134 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27135 wxWindow *result = 0 ;
27136 void *argp1 = 0 ;
27137 int res1 = 0 ;
27138 void *argp2 = 0 ;
27139 int res2 = 0 ;
27140 void *argp3 = 0 ;
27141 int res3 = 0 ;
27142 PyObject * obj0 = 0 ;
27143 PyObject * obj1 = 0 ;
27144 PyObject * obj2 = 0 ;
27145 char * kwnames[] = {
27146 (char *) "self",(char *) "parent",(char *) "printout", NULL
27147 };
27148
27149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27151 if (!SWIG_IsOK(res1)) {
27152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27153 }
27154 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27155 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27156 if (!SWIG_IsOK(res2)) {
27157 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27158 }
27159 arg2 = reinterpret_cast< wxWindow * >(argp2);
27160 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27161 if (!SWIG_IsOK(res3)) {
27162 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27163 }
27164 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27165 {
27166 PyThreadState* __tstate = wxPyBeginAllowThreads();
27167 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27168 wxPyEndAllowThreads(__tstate);
27169 if (PyErr_Occurred()) SWIG_fail;
27170 }
27171 {
27172 resultobj = wxPyMake_wxObject(result, 0);
27173 }
27174 return resultobj;
27175 fail:
27176 return NULL;
27177 }
27178
27179
27180 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27181 PyObject *resultobj = 0;
27182 wxPrinter *arg1 = (wxPrinter *) 0 ;
27183 wxWindow *arg2 = (wxWindow *) 0 ;
27184 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27185 wxString *arg4 = 0 ;
27186 void *argp1 = 0 ;
27187 int res1 = 0 ;
27188 void *argp2 = 0 ;
27189 int res2 = 0 ;
27190 void *argp3 = 0 ;
27191 int res3 = 0 ;
27192 bool temp4 = false ;
27193 PyObject * obj0 = 0 ;
27194 PyObject * obj1 = 0 ;
27195 PyObject * obj2 = 0 ;
27196 PyObject * obj3 = 0 ;
27197 char * kwnames[] = {
27198 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27199 };
27200
27201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27203 if (!SWIG_IsOK(res1)) {
27204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27205 }
27206 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27207 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27208 if (!SWIG_IsOK(res2)) {
27209 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27210 }
27211 arg2 = reinterpret_cast< wxWindow * >(argp2);
27212 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27213 if (!SWIG_IsOK(res3)) {
27214 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27215 }
27216 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27217 {
27218 arg4 = wxString_in_helper(obj3);
27219 if (arg4 == NULL) SWIG_fail;
27220 temp4 = true;
27221 }
27222 {
27223 PyThreadState* __tstate = wxPyBeginAllowThreads();
27224 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27225 wxPyEndAllowThreads(__tstate);
27226 if (PyErr_Occurred()) SWIG_fail;
27227 }
27228 resultobj = SWIG_Py_Void();
27229 {
27230 if (temp4)
27231 delete arg4;
27232 }
27233 return resultobj;
27234 fail:
27235 {
27236 if (temp4)
27237 delete arg4;
27238 }
27239 return NULL;
27240 }
27241
27242
27243 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27244 PyObject *resultobj = 0;
27245 wxPrinter *arg1 = (wxPrinter *) 0 ;
27246 wxWindow *arg2 = (wxWindow *) 0 ;
27247 bool result;
27248 void *argp1 = 0 ;
27249 int res1 = 0 ;
27250 void *argp2 = 0 ;
27251 int res2 = 0 ;
27252 PyObject * obj0 = 0 ;
27253 PyObject * obj1 = 0 ;
27254 char * kwnames[] = {
27255 (char *) "self",(char *) "parent", NULL
27256 };
27257
27258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27260 if (!SWIG_IsOK(res1)) {
27261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27262 }
27263 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27264 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27265 if (!SWIG_IsOK(res2)) {
27266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27267 }
27268 arg2 = reinterpret_cast< wxWindow * >(argp2);
27269 {
27270 PyThreadState* __tstate = wxPyBeginAllowThreads();
27271 result = (bool)(arg1)->Setup(arg2);
27272 wxPyEndAllowThreads(__tstate);
27273 if (PyErr_Occurred()) SWIG_fail;
27274 }
27275 {
27276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27277 }
27278 return resultobj;
27279 fail:
27280 return NULL;
27281 }
27282
27283
27284 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27285 PyObject *resultobj = 0;
27286 wxPrinter *arg1 = (wxPrinter *) 0 ;
27287 wxWindow *arg2 = (wxWindow *) 0 ;
27288 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27289 bool arg4 = (bool) true ;
27290 bool result;
27291 void *argp1 = 0 ;
27292 int res1 = 0 ;
27293 void *argp2 = 0 ;
27294 int res2 = 0 ;
27295 void *argp3 = 0 ;
27296 int res3 = 0 ;
27297 bool val4 ;
27298 int ecode4 = 0 ;
27299 PyObject * obj0 = 0 ;
27300 PyObject * obj1 = 0 ;
27301 PyObject * obj2 = 0 ;
27302 PyObject * obj3 = 0 ;
27303 char * kwnames[] = {
27304 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27305 };
27306
27307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27309 if (!SWIG_IsOK(res1)) {
27310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27311 }
27312 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27313 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27314 if (!SWIG_IsOK(res2)) {
27315 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27316 }
27317 arg2 = reinterpret_cast< wxWindow * >(argp2);
27318 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27319 if (!SWIG_IsOK(res3)) {
27320 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27321 }
27322 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27323 if (obj3) {
27324 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27325 if (!SWIG_IsOK(ecode4)) {
27326 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27327 }
27328 arg4 = static_cast< bool >(val4);
27329 }
27330 {
27331 PyThreadState* __tstate = wxPyBeginAllowThreads();
27332 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27333 wxPyEndAllowThreads(__tstate);
27334 if (PyErr_Occurred()) SWIG_fail;
27335 }
27336 {
27337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27338 }
27339 return resultobj;
27340 fail:
27341 return NULL;
27342 }
27343
27344
27345 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27346 PyObject *resultobj = 0;
27347 wxPrinter *arg1 = (wxPrinter *) 0 ;
27348 wxWindow *arg2 = (wxWindow *) 0 ;
27349 wxDC *result = 0 ;
27350 void *argp1 = 0 ;
27351 int res1 = 0 ;
27352 void *argp2 = 0 ;
27353 int res2 = 0 ;
27354 PyObject * obj0 = 0 ;
27355 PyObject * obj1 = 0 ;
27356 char * kwnames[] = {
27357 (char *) "self",(char *) "parent", NULL
27358 };
27359
27360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27362 if (!SWIG_IsOK(res1)) {
27363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27364 }
27365 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27366 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27367 if (!SWIG_IsOK(res2)) {
27368 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27369 }
27370 arg2 = reinterpret_cast< wxWindow * >(argp2);
27371 {
27372 PyThreadState* __tstate = wxPyBeginAllowThreads();
27373 result = (wxDC *)(arg1)->PrintDialog(arg2);
27374 wxPyEndAllowThreads(__tstate);
27375 if (PyErr_Occurred()) SWIG_fail;
27376 }
27377 {
27378 resultobj = wxPyMake_wxObject(result, (bool)0);
27379 }
27380 return resultobj;
27381 fail:
27382 return NULL;
27383 }
27384
27385
27386 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27387 PyObject *resultobj = 0;
27388 wxPrinter *arg1 = (wxPrinter *) 0 ;
27389 wxPrintDialogData *result = 0 ;
27390 void *argp1 = 0 ;
27391 int res1 = 0 ;
27392 PyObject *swig_obj[1] ;
27393
27394 if (!args) SWIG_fail;
27395 swig_obj[0] = args;
27396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27397 if (!SWIG_IsOK(res1)) {
27398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27399 }
27400 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27401 {
27402 PyThreadState* __tstate = wxPyBeginAllowThreads();
27403 {
27404 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27405 result = (wxPrintDialogData *) &_result_ref;
27406 }
27407 wxPyEndAllowThreads(__tstate);
27408 if (PyErr_Occurred()) SWIG_fail;
27409 }
27410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27411 return resultobj;
27412 fail:
27413 return NULL;
27414 }
27415
27416
27417 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27418 PyObject *resultobj = 0;
27419 wxPrinter *arg1 = (wxPrinter *) 0 ;
27420 bool result;
27421 void *argp1 = 0 ;
27422 int res1 = 0 ;
27423 PyObject *swig_obj[1] ;
27424
27425 if (!args) SWIG_fail;
27426 swig_obj[0] = args;
27427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27428 if (!SWIG_IsOK(res1)) {
27429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27430 }
27431 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27432 {
27433 PyThreadState* __tstate = wxPyBeginAllowThreads();
27434 result = (bool)(arg1)->GetAbort();
27435 wxPyEndAllowThreads(__tstate);
27436 if (PyErr_Occurred()) SWIG_fail;
27437 }
27438 {
27439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27440 }
27441 return resultobj;
27442 fail:
27443 return NULL;
27444 }
27445
27446
27447 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27448 PyObject *resultobj = 0;
27449 wxPrinterError result;
27450
27451 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27452 {
27453 PyThreadState* __tstate = wxPyBeginAllowThreads();
27454 result = (wxPrinterError)wxPrinter::GetLastError();
27455 wxPyEndAllowThreads(__tstate);
27456 if (PyErr_Occurred()) SWIG_fail;
27457 }
27458 resultobj = SWIG_From_int(static_cast< int >(result));
27459 return resultobj;
27460 fail:
27461 return NULL;
27462 }
27463
27464
27465 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27466 PyObject *obj;
27467 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27468 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27469 return SWIG_Py_Void();
27470 }
27471
27472 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27473 return SWIG_Python_InitShadowInstance(args);
27474 }
27475
27476 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27477 PyObject *resultobj = 0;
27478 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27479 wxString *arg1 = (wxString *) &arg1_defvalue ;
27480 wxPyPrintout *result = 0 ;
27481 bool temp1 = false ;
27482 PyObject * obj0 = 0 ;
27483 char * kwnames[] = {
27484 (char *) "title", NULL
27485 };
27486
27487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27488 if (obj0) {
27489 {
27490 arg1 = wxString_in_helper(obj0);
27491 if (arg1 == NULL) SWIG_fail;
27492 temp1 = true;
27493 }
27494 }
27495 {
27496 if (!wxPyCheckForApp()) SWIG_fail;
27497 PyThreadState* __tstate = wxPyBeginAllowThreads();
27498 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27499 wxPyEndAllowThreads(__tstate);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 }
27502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27503 {
27504 if (temp1)
27505 delete arg1;
27506 }
27507 return resultobj;
27508 fail:
27509 {
27510 if (temp1)
27511 delete arg1;
27512 }
27513 return NULL;
27514 }
27515
27516
27517 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27518 PyObject *resultobj = 0;
27519 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27520 void *argp1 = 0 ;
27521 int res1 = 0 ;
27522 PyObject *swig_obj[1] ;
27523
27524 if (!args) SWIG_fail;
27525 swig_obj[0] = args;
27526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27527 if (!SWIG_IsOK(res1)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27529 }
27530 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27531 {
27532 PyThreadState* __tstate = wxPyBeginAllowThreads();
27533 delete arg1;
27534
27535 wxPyEndAllowThreads(__tstate);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 }
27538 resultobj = SWIG_Py_Void();
27539 return resultobj;
27540 fail:
27541 return NULL;
27542 }
27543
27544
27545 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27546 PyObject *resultobj = 0;
27547 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27548 PyObject *arg2 = (PyObject *) 0 ;
27549 PyObject *arg3 = (PyObject *) 0 ;
27550 void *argp1 = 0 ;
27551 int res1 = 0 ;
27552 PyObject * obj0 = 0 ;
27553 PyObject * obj1 = 0 ;
27554 PyObject * obj2 = 0 ;
27555 char * kwnames[] = {
27556 (char *) "self",(char *) "self",(char *) "_class", NULL
27557 };
27558
27559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27561 if (!SWIG_IsOK(res1)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27563 }
27564 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27565 arg2 = obj1;
27566 arg3 = obj2;
27567 {
27568 PyThreadState* __tstate = wxPyBeginAllowThreads();
27569 (arg1)->_setCallbackInfo(arg2,arg3);
27570 wxPyEndAllowThreads(__tstate);
27571 if (PyErr_Occurred()) SWIG_fail;
27572 }
27573 resultobj = SWIG_Py_Void();
27574 return resultobj;
27575 fail:
27576 return NULL;
27577 }
27578
27579
27580 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27581 PyObject *resultobj = 0;
27582 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27583 wxString result;
27584 void *argp1 = 0 ;
27585 int res1 = 0 ;
27586 PyObject *swig_obj[1] ;
27587
27588 if (!args) SWIG_fail;
27589 swig_obj[0] = args;
27590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27591 if (!SWIG_IsOK(res1)) {
27592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27593 }
27594 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27595 {
27596 PyThreadState* __tstate = wxPyBeginAllowThreads();
27597 result = ((wxPyPrintout const *)arg1)->GetTitle();
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 {
27602 #if wxUSE_UNICODE
27603 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27604 #else
27605 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27606 #endif
27607 }
27608 return resultobj;
27609 fail:
27610 return NULL;
27611 }
27612
27613
27614 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27615 PyObject *resultobj = 0;
27616 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27617 wxDC *result = 0 ;
27618 void *argp1 = 0 ;
27619 int res1 = 0 ;
27620 PyObject *swig_obj[1] ;
27621
27622 if (!args) SWIG_fail;
27623 swig_obj[0] = args;
27624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27625 if (!SWIG_IsOK(res1)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27627 }
27628 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27629 {
27630 PyThreadState* __tstate = wxPyBeginAllowThreads();
27631 result = (wxDC *)(arg1)->GetDC();
27632 wxPyEndAllowThreads(__tstate);
27633 if (PyErr_Occurred()) SWIG_fail;
27634 }
27635 {
27636 resultobj = wxPyMake_wxObject(result, (bool)0);
27637 }
27638 return resultobj;
27639 fail:
27640 return NULL;
27641 }
27642
27643
27644 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27645 PyObject *resultobj = 0;
27646 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27647 wxDC *arg2 = (wxDC *) 0 ;
27648 void *argp1 = 0 ;
27649 int res1 = 0 ;
27650 void *argp2 = 0 ;
27651 int res2 = 0 ;
27652 PyObject * obj0 = 0 ;
27653 PyObject * obj1 = 0 ;
27654 char * kwnames[] = {
27655 (char *) "self",(char *) "dc", NULL
27656 };
27657
27658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27660 if (!SWIG_IsOK(res1)) {
27661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27662 }
27663 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27665 if (!SWIG_IsOK(res2)) {
27666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27667 }
27668 arg2 = reinterpret_cast< wxDC * >(argp2);
27669 {
27670 PyThreadState* __tstate = wxPyBeginAllowThreads();
27671 (arg1)->SetDC(arg2);
27672 wxPyEndAllowThreads(__tstate);
27673 if (PyErr_Occurred()) SWIG_fail;
27674 }
27675 resultobj = SWIG_Py_Void();
27676 return resultobj;
27677 fail:
27678 return NULL;
27679 }
27680
27681
27682 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27683 PyObject *resultobj = 0;
27684 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27685 int arg2 ;
27686 int arg3 ;
27687 void *argp1 = 0 ;
27688 int res1 = 0 ;
27689 int val2 ;
27690 int ecode2 = 0 ;
27691 int val3 ;
27692 int ecode3 = 0 ;
27693 PyObject * obj0 = 0 ;
27694 PyObject * obj1 = 0 ;
27695 PyObject * obj2 = 0 ;
27696 char * kwnames[] = {
27697 (char *) "self",(char *) "w",(char *) "h", NULL
27698 };
27699
27700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27702 if (!SWIG_IsOK(res1)) {
27703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27704 }
27705 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27706 ecode2 = SWIG_AsVal_int(obj1, &val2);
27707 if (!SWIG_IsOK(ecode2)) {
27708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27709 }
27710 arg2 = static_cast< int >(val2);
27711 ecode3 = SWIG_AsVal_int(obj2, &val3);
27712 if (!SWIG_IsOK(ecode3)) {
27713 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27714 }
27715 arg3 = static_cast< int >(val3);
27716 {
27717 PyThreadState* __tstate = wxPyBeginAllowThreads();
27718 (arg1)->SetPageSizePixels(arg2,arg3);
27719 wxPyEndAllowThreads(__tstate);
27720 if (PyErr_Occurred()) SWIG_fail;
27721 }
27722 resultobj = SWIG_Py_Void();
27723 return resultobj;
27724 fail:
27725 return NULL;
27726 }
27727
27728
27729 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27730 PyObject *resultobj = 0;
27731 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27732 int *arg2 = (int *) 0 ;
27733 int *arg3 = (int *) 0 ;
27734 void *argp1 = 0 ;
27735 int res1 = 0 ;
27736 int temp2 ;
27737 int res2 = SWIG_TMPOBJ ;
27738 int temp3 ;
27739 int res3 = SWIG_TMPOBJ ;
27740 PyObject *swig_obj[1] ;
27741
27742 arg2 = &temp2;
27743 arg3 = &temp3;
27744 if (!args) SWIG_fail;
27745 swig_obj[0] = args;
27746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27747 if (!SWIG_IsOK(res1)) {
27748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27749 }
27750 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27751 {
27752 PyThreadState* __tstate = wxPyBeginAllowThreads();
27753 (arg1)->GetPageSizePixels(arg2,arg3);
27754 wxPyEndAllowThreads(__tstate);
27755 if (PyErr_Occurred()) SWIG_fail;
27756 }
27757 resultobj = SWIG_Py_Void();
27758 if (SWIG_IsTmpObj(res2)) {
27759 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27760 } else {
27761 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27762 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27763 }
27764 if (SWIG_IsTmpObj(res3)) {
27765 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27766 } else {
27767 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27768 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27769 }
27770 return resultobj;
27771 fail:
27772 return NULL;
27773 }
27774
27775
27776 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27777 PyObject *resultobj = 0;
27778 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27779 int arg2 ;
27780 int arg3 ;
27781 void *argp1 = 0 ;
27782 int res1 = 0 ;
27783 int val2 ;
27784 int ecode2 = 0 ;
27785 int val3 ;
27786 int ecode3 = 0 ;
27787 PyObject * obj0 = 0 ;
27788 PyObject * obj1 = 0 ;
27789 PyObject * obj2 = 0 ;
27790 char * kwnames[] = {
27791 (char *) "self",(char *) "w",(char *) "h", NULL
27792 };
27793
27794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27796 if (!SWIG_IsOK(res1)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27798 }
27799 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27800 ecode2 = SWIG_AsVal_int(obj1, &val2);
27801 if (!SWIG_IsOK(ecode2)) {
27802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27803 }
27804 arg2 = static_cast< int >(val2);
27805 ecode3 = SWIG_AsVal_int(obj2, &val3);
27806 if (!SWIG_IsOK(ecode3)) {
27807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27808 }
27809 arg3 = static_cast< int >(val3);
27810 {
27811 PyThreadState* __tstate = wxPyBeginAllowThreads();
27812 (arg1)->SetPageSizeMM(arg2,arg3);
27813 wxPyEndAllowThreads(__tstate);
27814 if (PyErr_Occurred()) SWIG_fail;
27815 }
27816 resultobj = SWIG_Py_Void();
27817 return resultobj;
27818 fail:
27819 return NULL;
27820 }
27821
27822
27823 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27824 PyObject *resultobj = 0;
27825 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27826 int *arg2 = (int *) 0 ;
27827 int *arg3 = (int *) 0 ;
27828 void *argp1 = 0 ;
27829 int res1 = 0 ;
27830 int temp2 ;
27831 int res2 = SWIG_TMPOBJ ;
27832 int temp3 ;
27833 int res3 = SWIG_TMPOBJ ;
27834 PyObject *swig_obj[1] ;
27835
27836 arg2 = &temp2;
27837 arg3 = &temp3;
27838 if (!args) SWIG_fail;
27839 swig_obj[0] = args;
27840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27841 if (!SWIG_IsOK(res1)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27843 }
27844 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27845 {
27846 PyThreadState* __tstate = wxPyBeginAllowThreads();
27847 (arg1)->GetPageSizeMM(arg2,arg3);
27848 wxPyEndAllowThreads(__tstate);
27849 if (PyErr_Occurred()) SWIG_fail;
27850 }
27851 resultobj = SWIG_Py_Void();
27852 if (SWIG_IsTmpObj(res2)) {
27853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27854 } else {
27855 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27857 }
27858 if (SWIG_IsTmpObj(res3)) {
27859 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27860 } else {
27861 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27862 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27863 }
27864 return resultobj;
27865 fail:
27866 return NULL;
27867 }
27868
27869
27870 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27871 PyObject *resultobj = 0;
27872 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27873 int arg2 ;
27874 int arg3 ;
27875 void *argp1 = 0 ;
27876 int res1 = 0 ;
27877 int val2 ;
27878 int ecode2 = 0 ;
27879 int val3 ;
27880 int ecode3 = 0 ;
27881 PyObject * obj0 = 0 ;
27882 PyObject * obj1 = 0 ;
27883 PyObject * obj2 = 0 ;
27884 char * kwnames[] = {
27885 (char *) "self",(char *) "x",(char *) "y", NULL
27886 };
27887
27888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27890 if (!SWIG_IsOK(res1)) {
27891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27892 }
27893 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27894 ecode2 = SWIG_AsVal_int(obj1, &val2);
27895 if (!SWIG_IsOK(ecode2)) {
27896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27897 }
27898 arg2 = static_cast< int >(val2);
27899 ecode3 = SWIG_AsVal_int(obj2, &val3);
27900 if (!SWIG_IsOK(ecode3)) {
27901 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27902 }
27903 arg3 = static_cast< int >(val3);
27904 {
27905 PyThreadState* __tstate = wxPyBeginAllowThreads();
27906 (arg1)->SetPPIScreen(arg2,arg3);
27907 wxPyEndAllowThreads(__tstate);
27908 if (PyErr_Occurred()) SWIG_fail;
27909 }
27910 resultobj = SWIG_Py_Void();
27911 return resultobj;
27912 fail:
27913 return NULL;
27914 }
27915
27916
27917 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27918 PyObject *resultobj = 0;
27919 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27920 int *arg2 = (int *) 0 ;
27921 int *arg3 = (int *) 0 ;
27922 void *argp1 = 0 ;
27923 int res1 = 0 ;
27924 int temp2 ;
27925 int res2 = SWIG_TMPOBJ ;
27926 int temp3 ;
27927 int res3 = SWIG_TMPOBJ ;
27928 PyObject *swig_obj[1] ;
27929
27930 arg2 = &temp2;
27931 arg3 = &temp3;
27932 if (!args) SWIG_fail;
27933 swig_obj[0] = args;
27934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27935 if (!SWIG_IsOK(res1)) {
27936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27937 }
27938 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27939 {
27940 PyThreadState* __tstate = wxPyBeginAllowThreads();
27941 (arg1)->GetPPIScreen(arg2,arg3);
27942 wxPyEndAllowThreads(__tstate);
27943 if (PyErr_Occurred()) SWIG_fail;
27944 }
27945 resultobj = SWIG_Py_Void();
27946 if (SWIG_IsTmpObj(res2)) {
27947 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27948 } else {
27949 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27950 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27951 }
27952 if (SWIG_IsTmpObj(res3)) {
27953 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27954 } else {
27955 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27956 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27957 }
27958 return resultobj;
27959 fail:
27960 return NULL;
27961 }
27962
27963
27964 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27965 PyObject *resultobj = 0;
27966 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27967 int arg2 ;
27968 int arg3 ;
27969 void *argp1 = 0 ;
27970 int res1 = 0 ;
27971 int val2 ;
27972 int ecode2 = 0 ;
27973 int val3 ;
27974 int ecode3 = 0 ;
27975 PyObject * obj0 = 0 ;
27976 PyObject * obj1 = 0 ;
27977 PyObject * obj2 = 0 ;
27978 char * kwnames[] = {
27979 (char *) "self",(char *) "x",(char *) "y", NULL
27980 };
27981
27982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27984 if (!SWIG_IsOK(res1)) {
27985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27986 }
27987 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27988 ecode2 = SWIG_AsVal_int(obj1, &val2);
27989 if (!SWIG_IsOK(ecode2)) {
27990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27991 }
27992 arg2 = static_cast< int >(val2);
27993 ecode3 = SWIG_AsVal_int(obj2, &val3);
27994 if (!SWIG_IsOK(ecode3)) {
27995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27996 }
27997 arg3 = static_cast< int >(val3);
27998 {
27999 PyThreadState* __tstate = wxPyBeginAllowThreads();
28000 (arg1)->SetPPIPrinter(arg2,arg3);
28001 wxPyEndAllowThreads(__tstate);
28002 if (PyErr_Occurred()) SWIG_fail;
28003 }
28004 resultobj = SWIG_Py_Void();
28005 return resultobj;
28006 fail:
28007 return NULL;
28008 }
28009
28010
28011 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28012 PyObject *resultobj = 0;
28013 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28014 int *arg2 = (int *) 0 ;
28015 int *arg3 = (int *) 0 ;
28016 void *argp1 = 0 ;
28017 int res1 = 0 ;
28018 int temp2 ;
28019 int res2 = SWIG_TMPOBJ ;
28020 int temp3 ;
28021 int res3 = SWIG_TMPOBJ ;
28022 PyObject *swig_obj[1] ;
28023
28024 arg2 = &temp2;
28025 arg3 = &temp3;
28026 if (!args) SWIG_fail;
28027 swig_obj[0] = args;
28028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28029 if (!SWIG_IsOK(res1)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28031 }
28032 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28033 {
28034 PyThreadState* __tstate = wxPyBeginAllowThreads();
28035 (arg1)->GetPPIPrinter(arg2,arg3);
28036 wxPyEndAllowThreads(__tstate);
28037 if (PyErr_Occurred()) SWIG_fail;
28038 }
28039 resultobj = SWIG_Py_Void();
28040 if (SWIG_IsTmpObj(res2)) {
28041 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28042 } else {
28043 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28044 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28045 }
28046 if (SWIG_IsTmpObj(res3)) {
28047 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28048 } else {
28049 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28050 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28051 }
28052 return resultobj;
28053 fail:
28054 return NULL;
28055 }
28056
28057
28058 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28059 PyObject *resultobj = 0;
28060 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28061 bool result;
28062 void *argp1 = 0 ;
28063 int res1 = 0 ;
28064 PyObject *swig_obj[1] ;
28065
28066 if (!args) SWIG_fail;
28067 swig_obj[0] = args;
28068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28069 if (!SWIG_IsOK(res1)) {
28070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28071 }
28072 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28073 {
28074 PyThreadState* __tstate = wxPyBeginAllowThreads();
28075 result = (bool)(arg1)->IsPreview();
28076 wxPyEndAllowThreads(__tstate);
28077 if (PyErr_Occurred()) SWIG_fail;
28078 }
28079 {
28080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28081 }
28082 return resultobj;
28083 fail:
28084 return NULL;
28085 }
28086
28087
28088 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28089 PyObject *resultobj = 0;
28090 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28091 bool arg2 ;
28092 void *argp1 = 0 ;
28093 int res1 = 0 ;
28094 bool val2 ;
28095 int ecode2 = 0 ;
28096 PyObject * obj0 = 0 ;
28097 PyObject * obj1 = 0 ;
28098 char * kwnames[] = {
28099 (char *) "self",(char *) "p", NULL
28100 };
28101
28102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28104 if (!SWIG_IsOK(res1)) {
28105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28106 }
28107 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28108 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28109 if (!SWIG_IsOK(ecode2)) {
28110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28111 }
28112 arg2 = static_cast< bool >(val2);
28113 {
28114 PyThreadState* __tstate = wxPyBeginAllowThreads();
28115 (arg1)->SetIsPreview(arg2);
28116 wxPyEndAllowThreads(__tstate);
28117 if (PyErr_Occurred()) SWIG_fail;
28118 }
28119 resultobj = SWIG_Py_Void();
28120 return resultobj;
28121 fail:
28122 return NULL;
28123 }
28124
28125
28126 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28127 PyObject *resultobj = 0;
28128 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28129 int arg2 ;
28130 int arg3 ;
28131 bool result;
28132 void *argp1 = 0 ;
28133 int res1 = 0 ;
28134 int val2 ;
28135 int ecode2 = 0 ;
28136 int val3 ;
28137 int ecode3 = 0 ;
28138 PyObject * obj0 = 0 ;
28139 PyObject * obj1 = 0 ;
28140 PyObject * obj2 = 0 ;
28141 char * kwnames[] = {
28142 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28143 };
28144
28145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28147 if (!SWIG_IsOK(res1)) {
28148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28149 }
28150 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28151 ecode2 = SWIG_AsVal_int(obj1, &val2);
28152 if (!SWIG_IsOK(ecode2)) {
28153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28154 }
28155 arg2 = static_cast< int >(val2);
28156 ecode3 = SWIG_AsVal_int(obj2, &val3);
28157 if (!SWIG_IsOK(ecode3)) {
28158 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28159 }
28160 arg3 = static_cast< int >(val3);
28161 {
28162 PyThreadState* __tstate = wxPyBeginAllowThreads();
28163 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28164 wxPyEndAllowThreads(__tstate);
28165 if (PyErr_Occurred()) SWIG_fail;
28166 }
28167 {
28168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28169 }
28170 return resultobj;
28171 fail:
28172 return NULL;
28173 }
28174
28175
28176 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28177 PyObject *resultobj = 0;
28178 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28179 void *argp1 = 0 ;
28180 int res1 = 0 ;
28181 PyObject *swig_obj[1] ;
28182
28183 if (!args) SWIG_fail;
28184 swig_obj[0] = args;
28185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28186 if (!SWIG_IsOK(res1)) {
28187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28188 }
28189 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28190 {
28191 PyThreadState* __tstate = wxPyBeginAllowThreads();
28192 (arg1)->OnEndDocument();
28193 wxPyEndAllowThreads(__tstate);
28194 if (PyErr_Occurred()) SWIG_fail;
28195 }
28196 resultobj = SWIG_Py_Void();
28197 return resultobj;
28198 fail:
28199 return NULL;
28200 }
28201
28202
28203 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28204 PyObject *resultobj = 0;
28205 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28206 void *argp1 = 0 ;
28207 int res1 = 0 ;
28208 PyObject *swig_obj[1] ;
28209
28210 if (!args) SWIG_fail;
28211 swig_obj[0] = args;
28212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28213 if (!SWIG_IsOK(res1)) {
28214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28215 }
28216 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28217 {
28218 PyThreadState* __tstate = wxPyBeginAllowThreads();
28219 (arg1)->OnBeginPrinting();
28220 wxPyEndAllowThreads(__tstate);
28221 if (PyErr_Occurred()) SWIG_fail;
28222 }
28223 resultobj = SWIG_Py_Void();
28224 return resultobj;
28225 fail:
28226 return NULL;
28227 }
28228
28229
28230 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28231 PyObject *resultobj = 0;
28232 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28233 void *argp1 = 0 ;
28234 int res1 = 0 ;
28235 PyObject *swig_obj[1] ;
28236
28237 if (!args) SWIG_fail;
28238 swig_obj[0] = args;
28239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28240 if (!SWIG_IsOK(res1)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28242 }
28243 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28244 {
28245 PyThreadState* __tstate = wxPyBeginAllowThreads();
28246 (arg1)->OnEndPrinting();
28247 wxPyEndAllowThreads(__tstate);
28248 if (PyErr_Occurred()) SWIG_fail;
28249 }
28250 resultobj = SWIG_Py_Void();
28251 return resultobj;
28252 fail:
28253 return NULL;
28254 }
28255
28256
28257 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28258 PyObject *resultobj = 0;
28259 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28260 void *argp1 = 0 ;
28261 int res1 = 0 ;
28262 PyObject *swig_obj[1] ;
28263
28264 if (!args) SWIG_fail;
28265 swig_obj[0] = args;
28266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28267 if (!SWIG_IsOK(res1)) {
28268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28269 }
28270 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28271 {
28272 PyThreadState* __tstate = wxPyBeginAllowThreads();
28273 (arg1)->OnPreparePrinting();
28274 wxPyEndAllowThreads(__tstate);
28275 if (PyErr_Occurred()) SWIG_fail;
28276 }
28277 resultobj = SWIG_Py_Void();
28278 return resultobj;
28279 fail:
28280 return NULL;
28281 }
28282
28283
28284 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28285 PyObject *resultobj = 0;
28286 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28287 int arg2 ;
28288 bool result;
28289 void *argp1 = 0 ;
28290 int res1 = 0 ;
28291 int val2 ;
28292 int ecode2 = 0 ;
28293 PyObject * obj0 = 0 ;
28294 PyObject * obj1 = 0 ;
28295 char * kwnames[] = {
28296 (char *) "self",(char *) "page", NULL
28297 };
28298
28299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28301 if (!SWIG_IsOK(res1)) {
28302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28303 }
28304 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28305 ecode2 = SWIG_AsVal_int(obj1, &val2);
28306 if (!SWIG_IsOK(ecode2)) {
28307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28308 }
28309 arg2 = static_cast< int >(val2);
28310 {
28311 PyThreadState* __tstate = wxPyBeginAllowThreads();
28312 result = (bool)(arg1)->HasPage(arg2);
28313 wxPyEndAllowThreads(__tstate);
28314 if (PyErr_Occurred()) SWIG_fail;
28315 }
28316 {
28317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28318 }
28319 return resultobj;
28320 fail:
28321 return NULL;
28322 }
28323
28324
28325 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28326 PyObject *resultobj = 0;
28327 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28328 int *arg2 = (int *) 0 ;
28329 int *arg3 = (int *) 0 ;
28330 int *arg4 = (int *) 0 ;
28331 int *arg5 = (int *) 0 ;
28332 void *argp1 = 0 ;
28333 int res1 = 0 ;
28334 int temp2 ;
28335 int res2 = SWIG_TMPOBJ ;
28336 int temp3 ;
28337 int res3 = SWIG_TMPOBJ ;
28338 int temp4 ;
28339 int res4 = SWIG_TMPOBJ ;
28340 int temp5 ;
28341 int res5 = SWIG_TMPOBJ ;
28342 PyObject *swig_obj[1] ;
28343
28344 arg2 = &temp2;
28345 arg3 = &temp3;
28346 arg4 = &temp4;
28347 arg5 = &temp5;
28348 if (!args) SWIG_fail;
28349 swig_obj[0] = args;
28350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28351 if (!SWIG_IsOK(res1)) {
28352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28353 }
28354 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28355 {
28356 PyThreadState* __tstate = wxPyBeginAllowThreads();
28357 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28358 wxPyEndAllowThreads(__tstate);
28359 if (PyErr_Occurred()) SWIG_fail;
28360 }
28361 resultobj = SWIG_Py_Void();
28362 if (SWIG_IsTmpObj(res2)) {
28363 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28364 } else {
28365 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28366 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28367 }
28368 if (SWIG_IsTmpObj(res3)) {
28369 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28370 } else {
28371 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28372 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28373 }
28374 if (SWIG_IsTmpObj(res4)) {
28375 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28376 } else {
28377 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28378 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28379 }
28380 if (SWIG_IsTmpObj(res5)) {
28381 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28382 } else {
28383 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28384 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28385 }
28386 return resultobj;
28387 fail:
28388 return NULL;
28389 }
28390
28391
28392 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28393 PyObject *obj;
28394 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28395 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28396 return SWIG_Py_Void();
28397 }
28398
28399 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28400 return SWIG_Python_InitShadowInstance(args);
28401 }
28402
28403 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28404 PyObject *resultobj = 0;
28405 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28406 wxWindow *arg2 = (wxWindow *) 0 ;
28407 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28408 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28409 wxSize const &arg4_defvalue = wxDefaultSize ;
28410 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28411 long arg5 = (long) 0 ;
28412 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28413 wxString *arg6 = (wxString *) &arg6_defvalue ;
28414 wxPreviewCanvas *result = 0 ;
28415 void *argp1 = 0 ;
28416 int res1 = 0 ;
28417 void *argp2 = 0 ;
28418 int res2 = 0 ;
28419 wxPoint temp3 ;
28420 wxSize temp4 ;
28421 long val5 ;
28422 int ecode5 = 0 ;
28423 bool temp6 = false ;
28424 PyObject * obj0 = 0 ;
28425 PyObject * obj1 = 0 ;
28426 PyObject * obj2 = 0 ;
28427 PyObject * obj3 = 0 ;
28428 PyObject * obj4 = 0 ;
28429 PyObject * obj5 = 0 ;
28430 char * kwnames[] = {
28431 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28432 };
28433
28434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28436 if (!SWIG_IsOK(res1)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28438 }
28439 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28440 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28441 if (!SWIG_IsOK(res2)) {
28442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28443 }
28444 arg2 = reinterpret_cast< wxWindow * >(argp2);
28445 if (obj2) {
28446 {
28447 arg3 = &temp3;
28448 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28449 }
28450 }
28451 if (obj3) {
28452 {
28453 arg4 = &temp4;
28454 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28455 }
28456 }
28457 if (obj4) {
28458 ecode5 = SWIG_AsVal_long(obj4, &val5);
28459 if (!SWIG_IsOK(ecode5)) {
28460 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28461 }
28462 arg5 = static_cast< long >(val5);
28463 }
28464 if (obj5) {
28465 {
28466 arg6 = wxString_in_helper(obj5);
28467 if (arg6 == NULL) SWIG_fail;
28468 temp6 = true;
28469 }
28470 }
28471 {
28472 if (!wxPyCheckForApp()) SWIG_fail;
28473 PyThreadState* __tstate = wxPyBeginAllowThreads();
28474 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28475 wxPyEndAllowThreads(__tstate);
28476 if (PyErr_Occurred()) SWIG_fail;
28477 }
28478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28479 {
28480 if (temp6)
28481 delete arg6;
28482 }
28483 return resultobj;
28484 fail:
28485 {
28486 if (temp6)
28487 delete arg6;
28488 }
28489 return NULL;
28490 }
28491
28492
28493 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28494 PyObject *obj;
28495 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28496 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28497 return SWIG_Py_Void();
28498 }
28499
28500 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28501 return SWIG_Python_InitShadowInstance(args);
28502 }
28503
28504 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28505 PyObject *resultobj = 0;
28506 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28507 wxFrame *arg2 = (wxFrame *) 0 ;
28508 wxString *arg3 = 0 ;
28509 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28510 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28511 wxSize const &arg5_defvalue = wxDefaultSize ;
28512 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28513 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28514 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28515 wxString *arg7 = (wxString *) &arg7_defvalue ;
28516 wxPreviewFrame *result = 0 ;
28517 int res1 = 0 ;
28518 void *argp2 = 0 ;
28519 int res2 = 0 ;
28520 bool temp3 = false ;
28521 wxPoint temp4 ;
28522 wxSize temp5 ;
28523 long val6 ;
28524 int ecode6 = 0 ;
28525 bool temp7 = false ;
28526 PyObject * obj0 = 0 ;
28527 PyObject * obj1 = 0 ;
28528 PyObject * obj2 = 0 ;
28529 PyObject * obj3 = 0 ;
28530 PyObject * obj4 = 0 ;
28531 PyObject * obj5 = 0 ;
28532 PyObject * obj6 = 0 ;
28533 char * kwnames[] = {
28534 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28535 };
28536
28537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28538 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28539 if (!SWIG_IsOK(res1)) {
28540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28541 }
28542 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28543 if (!SWIG_IsOK(res2)) {
28544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28545 }
28546 arg2 = reinterpret_cast< wxFrame * >(argp2);
28547 {
28548 arg3 = wxString_in_helper(obj2);
28549 if (arg3 == NULL) SWIG_fail;
28550 temp3 = true;
28551 }
28552 if (obj3) {
28553 {
28554 arg4 = &temp4;
28555 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28556 }
28557 }
28558 if (obj4) {
28559 {
28560 arg5 = &temp5;
28561 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28562 }
28563 }
28564 if (obj5) {
28565 ecode6 = SWIG_AsVal_long(obj5, &val6);
28566 if (!SWIG_IsOK(ecode6)) {
28567 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28568 }
28569 arg6 = static_cast< long >(val6);
28570 }
28571 if (obj6) {
28572 {
28573 arg7 = wxString_in_helper(obj6);
28574 if (arg7 == NULL) SWIG_fail;
28575 temp7 = true;
28576 }
28577 }
28578 {
28579 if (!wxPyCheckForApp()) SWIG_fail;
28580 PyThreadState* __tstate = wxPyBeginAllowThreads();
28581 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28582 wxPyEndAllowThreads(__tstate);
28583 if (PyErr_Occurred()) SWIG_fail;
28584 }
28585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28586 {
28587 if (temp3)
28588 delete arg3;
28589 }
28590 {
28591 if (temp7)
28592 delete arg7;
28593 }
28594 return resultobj;
28595 fail:
28596 {
28597 if (temp3)
28598 delete arg3;
28599 }
28600 {
28601 if (temp7)
28602 delete arg7;
28603 }
28604 return NULL;
28605 }
28606
28607
28608 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28609 PyObject *resultobj = 0;
28610 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28611 void *argp1 = 0 ;
28612 int res1 = 0 ;
28613 PyObject *swig_obj[1] ;
28614
28615 if (!args) SWIG_fail;
28616 swig_obj[0] = args;
28617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28618 if (!SWIG_IsOK(res1)) {
28619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28620 }
28621 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28622 {
28623 PyThreadState* __tstate = wxPyBeginAllowThreads();
28624 (arg1)->Initialize();
28625 wxPyEndAllowThreads(__tstate);
28626 if (PyErr_Occurred()) SWIG_fail;
28627 }
28628 resultobj = SWIG_Py_Void();
28629 return resultobj;
28630 fail:
28631 return NULL;
28632 }
28633
28634
28635 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28636 PyObject *resultobj = 0;
28637 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28638 void *argp1 = 0 ;
28639 int res1 = 0 ;
28640 PyObject *swig_obj[1] ;
28641
28642 if (!args) SWIG_fail;
28643 swig_obj[0] = args;
28644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28645 if (!SWIG_IsOK(res1)) {
28646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28647 }
28648 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28649 {
28650 PyThreadState* __tstate = wxPyBeginAllowThreads();
28651 (arg1)->CreateControlBar();
28652 wxPyEndAllowThreads(__tstate);
28653 if (PyErr_Occurred()) SWIG_fail;
28654 }
28655 resultobj = SWIG_Py_Void();
28656 return resultobj;
28657 fail:
28658 return NULL;
28659 }
28660
28661
28662 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28663 PyObject *resultobj = 0;
28664 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28665 void *argp1 = 0 ;
28666 int res1 = 0 ;
28667 PyObject *swig_obj[1] ;
28668
28669 if (!args) SWIG_fail;
28670 swig_obj[0] = args;
28671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28672 if (!SWIG_IsOK(res1)) {
28673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28674 }
28675 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28676 {
28677 PyThreadState* __tstate = wxPyBeginAllowThreads();
28678 (arg1)->CreateCanvas();
28679 wxPyEndAllowThreads(__tstate);
28680 if (PyErr_Occurred()) SWIG_fail;
28681 }
28682 resultobj = SWIG_Py_Void();
28683 return resultobj;
28684 fail:
28685 return NULL;
28686 }
28687
28688
28689 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28690 PyObject *resultobj = 0;
28691 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28692 wxPreviewControlBar *result = 0 ;
28693 void *argp1 = 0 ;
28694 int res1 = 0 ;
28695 PyObject *swig_obj[1] ;
28696
28697 if (!args) SWIG_fail;
28698 swig_obj[0] = args;
28699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28700 if (!SWIG_IsOK(res1)) {
28701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28702 }
28703 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28704 {
28705 PyThreadState* __tstate = wxPyBeginAllowThreads();
28706 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28707 wxPyEndAllowThreads(__tstate);
28708 if (PyErr_Occurred()) SWIG_fail;
28709 }
28710 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28711 return resultobj;
28712 fail:
28713 return NULL;
28714 }
28715
28716
28717 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28718 PyObject *obj;
28719 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28720 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28721 return SWIG_Py_Void();
28722 }
28723
28724 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28725 return SWIG_Python_InitShadowInstance(args);
28726 }
28727
28728 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28729 PyObject *resultobj = 0;
28730 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28731 long arg2 ;
28732 wxWindow *arg3 = (wxWindow *) 0 ;
28733 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28734 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28735 wxSize const &arg5_defvalue = wxDefaultSize ;
28736 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28737 long arg6 = (long) wxTAB_TRAVERSAL ;
28738 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28739 wxString *arg7 = (wxString *) &arg7_defvalue ;
28740 wxPreviewControlBar *result = 0 ;
28741 void *argp1 = 0 ;
28742 int res1 = 0 ;
28743 long val2 ;
28744 int ecode2 = 0 ;
28745 void *argp3 = 0 ;
28746 int res3 = 0 ;
28747 wxPoint temp4 ;
28748 wxSize temp5 ;
28749 long val6 ;
28750 int ecode6 = 0 ;
28751 bool temp7 = false ;
28752 PyObject * obj0 = 0 ;
28753 PyObject * obj1 = 0 ;
28754 PyObject * obj2 = 0 ;
28755 PyObject * obj3 = 0 ;
28756 PyObject * obj4 = 0 ;
28757 PyObject * obj5 = 0 ;
28758 PyObject * obj6 = 0 ;
28759 char * kwnames[] = {
28760 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28761 };
28762
28763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28765 if (!SWIG_IsOK(res1)) {
28766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28767 }
28768 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28769 ecode2 = SWIG_AsVal_long(obj1, &val2);
28770 if (!SWIG_IsOK(ecode2)) {
28771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28772 }
28773 arg2 = static_cast< long >(val2);
28774 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28775 if (!SWIG_IsOK(res3)) {
28776 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28777 }
28778 arg3 = reinterpret_cast< wxWindow * >(argp3);
28779 if (obj3) {
28780 {
28781 arg4 = &temp4;
28782 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28783 }
28784 }
28785 if (obj4) {
28786 {
28787 arg5 = &temp5;
28788 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28789 }
28790 }
28791 if (obj5) {
28792 ecode6 = SWIG_AsVal_long(obj5, &val6);
28793 if (!SWIG_IsOK(ecode6)) {
28794 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28795 }
28796 arg6 = static_cast< long >(val6);
28797 }
28798 if (obj6) {
28799 {
28800 arg7 = wxString_in_helper(obj6);
28801 if (arg7 == NULL) SWIG_fail;
28802 temp7 = true;
28803 }
28804 }
28805 {
28806 if (!wxPyCheckForApp()) SWIG_fail;
28807 PyThreadState* __tstate = wxPyBeginAllowThreads();
28808 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28809 wxPyEndAllowThreads(__tstate);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 }
28812 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28813 {
28814 if (temp7)
28815 delete arg7;
28816 }
28817 return resultobj;
28818 fail:
28819 {
28820 if (temp7)
28821 delete arg7;
28822 }
28823 return NULL;
28824 }
28825
28826
28827 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28828 PyObject *resultobj = 0;
28829 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28830 int result;
28831 void *argp1 = 0 ;
28832 int res1 = 0 ;
28833 PyObject *swig_obj[1] ;
28834
28835 if (!args) SWIG_fail;
28836 swig_obj[0] = args;
28837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28838 if (!SWIG_IsOK(res1)) {
28839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28840 }
28841 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28842 {
28843 PyThreadState* __tstate = wxPyBeginAllowThreads();
28844 result = (int)(arg1)->GetZoomControl();
28845 wxPyEndAllowThreads(__tstate);
28846 if (PyErr_Occurred()) SWIG_fail;
28847 }
28848 resultobj = SWIG_From_int(static_cast< int >(result));
28849 return resultobj;
28850 fail:
28851 return NULL;
28852 }
28853
28854
28855 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28856 PyObject *resultobj = 0;
28857 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28858 int arg2 ;
28859 void *argp1 = 0 ;
28860 int res1 = 0 ;
28861 int val2 ;
28862 int ecode2 = 0 ;
28863 PyObject * obj0 = 0 ;
28864 PyObject * obj1 = 0 ;
28865 char * kwnames[] = {
28866 (char *) "self",(char *) "zoom", NULL
28867 };
28868
28869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28871 if (!SWIG_IsOK(res1)) {
28872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28873 }
28874 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28875 ecode2 = SWIG_AsVal_int(obj1, &val2);
28876 if (!SWIG_IsOK(ecode2)) {
28877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28878 }
28879 arg2 = static_cast< int >(val2);
28880 {
28881 PyThreadState* __tstate = wxPyBeginAllowThreads();
28882 (arg1)->SetZoomControl(arg2);
28883 wxPyEndAllowThreads(__tstate);
28884 if (PyErr_Occurred()) SWIG_fail;
28885 }
28886 resultobj = SWIG_Py_Void();
28887 return resultobj;
28888 fail:
28889 return NULL;
28890 }
28891
28892
28893 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28894 PyObject *resultobj = 0;
28895 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28896 wxPrintPreview *result = 0 ;
28897 void *argp1 = 0 ;
28898 int res1 = 0 ;
28899 PyObject *swig_obj[1] ;
28900
28901 if (!args) SWIG_fail;
28902 swig_obj[0] = args;
28903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28904 if (!SWIG_IsOK(res1)) {
28905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28906 }
28907 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28908 {
28909 PyThreadState* __tstate = wxPyBeginAllowThreads();
28910 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28911 wxPyEndAllowThreads(__tstate);
28912 if (PyErr_Occurred()) SWIG_fail;
28913 }
28914 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28915 return resultobj;
28916 fail:
28917 return NULL;
28918 }
28919
28920
28921 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28922 PyObject *resultobj = 0;
28923 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28924 void *argp1 = 0 ;
28925 int res1 = 0 ;
28926 PyObject *swig_obj[1] ;
28927
28928 if (!args) SWIG_fail;
28929 swig_obj[0] = args;
28930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28931 if (!SWIG_IsOK(res1)) {
28932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28933 }
28934 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28935 {
28936 PyThreadState* __tstate = wxPyBeginAllowThreads();
28937 (arg1)->OnNext();
28938 wxPyEndAllowThreads(__tstate);
28939 if (PyErr_Occurred()) SWIG_fail;
28940 }
28941 resultobj = SWIG_Py_Void();
28942 return resultobj;
28943 fail:
28944 return NULL;
28945 }
28946
28947
28948 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28949 PyObject *resultobj = 0;
28950 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28951 void *argp1 = 0 ;
28952 int res1 = 0 ;
28953 PyObject *swig_obj[1] ;
28954
28955 if (!args) SWIG_fail;
28956 swig_obj[0] = args;
28957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28958 if (!SWIG_IsOK(res1)) {
28959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28960 }
28961 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28962 {
28963 PyThreadState* __tstate = wxPyBeginAllowThreads();
28964 (arg1)->OnPrevious();
28965 wxPyEndAllowThreads(__tstate);
28966 if (PyErr_Occurred()) SWIG_fail;
28967 }
28968 resultobj = SWIG_Py_Void();
28969 return resultobj;
28970 fail:
28971 return NULL;
28972 }
28973
28974
28975 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28976 PyObject *resultobj = 0;
28977 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28978 void *argp1 = 0 ;
28979 int res1 = 0 ;
28980 PyObject *swig_obj[1] ;
28981
28982 if (!args) SWIG_fail;
28983 swig_obj[0] = args;
28984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28985 if (!SWIG_IsOK(res1)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28987 }
28988 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28989 {
28990 PyThreadState* __tstate = wxPyBeginAllowThreads();
28991 (arg1)->OnFirst();
28992 wxPyEndAllowThreads(__tstate);
28993 if (PyErr_Occurred()) SWIG_fail;
28994 }
28995 resultobj = SWIG_Py_Void();
28996 return resultobj;
28997 fail:
28998 return NULL;
28999 }
29000
29001
29002 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29003 PyObject *resultobj = 0;
29004 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29005 void *argp1 = 0 ;
29006 int res1 = 0 ;
29007 PyObject *swig_obj[1] ;
29008
29009 if (!args) SWIG_fail;
29010 swig_obj[0] = args;
29011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29012 if (!SWIG_IsOK(res1)) {
29013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29014 }
29015 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29016 {
29017 PyThreadState* __tstate = wxPyBeginAllowThreads();
29018 (arg1)->OnLast();
29019 wxPyEndAllowThreads(__tstate);
29020 if (PyErr_Occurred()) SWIG_fail;
29021 }
29022 resultobj = SWIG_Py_Void();
29023 return resultobj;
29024 fail:
29025 return NULL;
29026 }
29027
29028
29029 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29030 PyObject *resultobj = 0;
29031 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29032 void *argp1 = 0 ;
29033 int res1 = 0 ;
29034 PyObject *swig_obj[1] ;
29035
29036 if (!args) SWIG_fail;
29037 swig_obj[0] = args;
29038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29039 if (!SWIG_IsOK(res1)) {
29040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29041 }
29042 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29043 {
29044 PyThreadState* __tstate = wxPyBeginAllowThreads();
29045 (arg1)->OnGoto();
29046 wxPyEndAllowThreads(__tstate);
29047 if (PyErr_Occurred()) SWIG_fail;
29048 }
29049 resultobj = SWIG_Py_Void();
29050 return resultobj;
29051 fail:
29052 return NULL;
29053 }
29054
29055
29056 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29057 PyObject *obj;
29058 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29059 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29060 return SWIG_Py_Void();
29061 }
29062
29063 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29064 return SWIG_Python_InitShadowInstance(args);
29065 }
29066
29067 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29068 PyObject *resultobj = 0;
29069 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29070 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29071 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29072 wxPrintPreview *result = 0 ;
29073 int res1 = 0 ;
29074 int res2 = 0 ;
29075 void *argp3 = 0 ;
29076 int res3 = 0 ;
29077
29078 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29079 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29080 if (!SWIG_IsOK(res1)) {
29081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29082 }
29083 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29084 if (!SWIG_IsOK(res2)) {
29085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29086 }
29087 if (swig_obj[2]) {
29088 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29089 if (!SWIG_IsOK(res3)) {
29090 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29091 }
29092 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29093 }
29094 {
29095 if (!wxPyCheckForApp()) SWIG_fail;
29096 PyThreadState* __tstate = wxPyBeginAllowThreads();
29097 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29098 wxPyEndAllowThreads(__tstate);
29099 if (PyErr_Occurred()) SWIG_fail;
29100 }
29101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29102 return resultobj;
29103 fail:
29104 return NULL;
29105 }
29106
29107
29108 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29109 PyObject *resultobj = 0;
29110 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29111 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29112 wxPrintData *arg3 = (wxPrintData *) 0 ;
29113 wxPrintPreview *result = 0 ;
29114 int res1 = 0 ;
29115 int res2 = 0 ;
29116 void *argp3 = 0 ;
29117 int res3 = 0 ;
29118
29119 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29120 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29121 if (!SWIG_IsOK(res1)) {
29122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29123 }
29124 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29125 if (!SWIG_IsOK(res2)) {
29126 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29127 }
29128 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29129 if (!SWIG_IsOK(res3)) {
29130 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29131 }
29132 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29133 {
29134 if (!wxPyCheckForApp()) SWIG_fail;
29135 PyThreadState* __tstate = wxPyBeginAllowThreads();
29136 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29137 wxPyEndAllowThreads(__tstate);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
29140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29141 return resultobj;
29142 fail:
29143 return NULL;
29144 }
29145
29146
29147 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29148 int argc;
29149 PyObject *argv[4];
29150
29151 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29152 --argc;
29153 if ((argc >= 2) && (argc <= 3)) {
29154 int _v = 0;
29155 if (argc > 2) {
29156 {
29157 void *vptr = 0;
29158 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29159 _v = SWIG_CheckState(res);
29160 }
29161 if (!_v) goto check_1;
29162 }
29163 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29164 }
29165 check_1:
29166
29167 if (argc == 3) {
29168 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29169 }
29170
29171 fail:
29172 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29173 return NULL;
29174 }
29175
29176
29177 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29178 PyObject *resultobj = 0;
29179 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29180 void *argp1 = 0 ;
29181 int res1 = 0 ;
29182 PyObject *swig_obj[1] ;
29183
29184 if (!args) SWIG_fail;
29185 swig_obj[0] = args;
29186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29187 if (!SWIG_IsOK(res1)) {
29188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29189 }
29190 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29191 {
29192 PyThreadState* __tstate = wxPyBeginAllowThreads();
29193 delete arg1;
29194
29195 wxPyEndAllowThreads(__tstate);
29196 if (PyErr_Occurred()) SWIG_fail;
29197 }
29198 resultobj = SWIG_Py_Void();
29199 return resultobj;
29200 fail:
29201 return NULL;
29202 }
29203
29204
29205 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29206 PyObject *resultobj = 0;
29207 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29208 int arg2 ;
29209 bool result;
29210 void *argp1 = 0 ;
29211 int res1 = 0 ;
29212 int val2 ;
29213 int ecode2 = 0 ;
29214 PyObject * obj0 = 0 ;
29215 PyObject * obj1 = 0 ;
29216 char * kwnames[] = {
29217 (char *) "self",(char *) "pageNum", NULL
29218 };
29219
29220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29222 if (!SWIG_IsOK(res1)) {
29223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29224 }
29225 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29226 ecode2 = SWIG_AsVal_int(obj1, &val2);
29227 if (!SWIG_IsOK(ecode2)) {
29228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29229 }
29230 arg2 = static_cast< int >(val2);
29231 {
29232 PyThreadState* __tstate = wxPyBeginAllowThreads();
29233 result = (bool)(arg1)->SetCurrentPage(arg2);
29234 wxPyEndAllowThreads(__tstate);
29235 if (PyErr_Occurred()) SWIG_fail;
29236 }
29237 {
29238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29239 }
29240 return resultobj;
29241 fail:
29242 return NULL;
29243 }
29244
29245
29246 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29247 PyObject *resultobj = 0;
29248 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29249 int result;
29250 void *argp1 = 0 ;
29251 int res1 = 0 ;
29252 PyObject *swig_obj[1] ;
29253
29254 if (!args) SWIG_fail;
29255 swig_obj[0] = args;
29256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29257 if (!SWIG_IsOK(res1)) {
29258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29259 }
29260 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29261 {
29262 PyThreadState* __tstate = wxPyBeginAllowThreads();
29263 result = (int)(arg1)->GetCurrentPage();
29264 wxPyEndAllowThreads(__tstate);
29265 if (PyErr_Occurred()) SWIG_fail;
29266 }
29267 resultobj = SWIG_From_int(static_cast< int >(result));
29268 return resultobj;
29269 fail:
29270 return NULL;
29271 }
29272
29273
29274 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29275 PyObject *resultobj = 0;
29276 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29277 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29278 void *argp1 = 0 ;
29279 int res1 = 0 ;
29280 int res2 = 0 ;
29281 PyObject * obj0 = 0 ;
29282 PyObject * obj1 = 0 ;
29283 char * kwnames[] = {
29284 (char *) "self",(char *) "printout", NULL
29285 };
29286
29287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29289 if (!SWIG_IsOK(res1)) {
29290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29291 }
29292 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29293 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29294 if (!SWIG_IsOK(res2)) {
29295 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29296 }
29297 {
29298 PyThreadState* __tstate = wxPyBeginAllowThreads();
29299 (arg1)->SetPrintout(arg2);
29300 wxPyEndAllowThreads(__tstate);
29301 if (PyErr_Occurred()) SWIG_fail;
29302 }
29303 resultobj = SWIG_Py_Void();
29304 return resultobj;
29305 fail:
29306 return NULL;
29307 }
29308
29309
29310 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29311 PyObject *resultobj = 0;
29312 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29313 wxPyPrintout *result = 0 ;
29314 void *argp1 = 0 ;
29315 int res1 = 0 ;
29316 PyObject *swig_obj[1] ;
29317
29318 if (!args) SWIG_fail;
29319 swig_obj[0] = args;
29320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29321 if (!SWIG_IsOK(res1)) {
29322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29323 }
29324 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29325 {
29326 PyThreadState* __tstate = wxPyBeginAllowThreads();
29327 result = (wxPyPrintout *)(arg1)->GetPrintout();
29328 wxPyEndAllowThreads(__tstate);
29329 if (PyErr_Occurred()) SWIG_fail;
29330 }
29331 {
29332 resultobj = wxPyMake_wxObject(result, 0);
29333 }
29334 return resultobj;
29335 fail:
29336 return NULL;
29337 }
29338
29339
29340 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29341 PyObject *resultobj = 0;
29342 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29343 wxPyPrintout *result = 0 ;
29344 void *argp1 = 0 ;
29345 int res1 = 0 ;
29346 PyObject *swig_obj[1] ;
29347
29348 if (!args) SWIG_fail;
29349 swig_obj[0] = args;
29350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29351 if (!SWIG_IsOK(res1)) {
29352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29353 }
29354 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29355 {
29356 PyThreadState* __tstate = wxPyBeginAllowThreads();
29357 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29358 wxPyEndAllowThreads(__tstate);
29359 if (PyErr_Occurred()) SWIG_fail;
29360 }
29361 {
29362 resultobj = wxPyMake_wxObject(result, 0);
29363 }
29364 return resultobj;
29365 fail:
29366 return NULL;
29367 }
29368
29369
29370 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29371 PyObject *resultobj = 0;
29372 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29373 wxFrame *arg2 = (wxFrame *) 0 ;
29374 void *argp1 = 0 ;
29375 int res1 = 0 ;
29376 void *argp2 = 0 ;
29377 int res2 = 0 ;
29378 PyObject * obj0 = 0 ;
29379 PyObject * obj1 = 0 ;
29380 char * kwnames[] = {
29381 (char *) "self",(char *) "frame", NULL
29382 };
29383
29384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29386 if (!SWIG_IsOK(res1)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29388 }
29389 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29390 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29391 if (!SWIG_IsOK(res2)) {
29392 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29393 }
29394 arg2 = reinterpret_cast< wxFrame * >(argp2);
29395 {
29396 PyThreadState* __tstate = wxPyBeginAllowThreads();
29397 (arg1)->SetFrame(arg2);
29398 wxPyEndAllowThreads(__tstate);
29399 if (PyErr_Occurred()) SWIG_fail;
29400 }
29401 resultobj = SWIG_Py_Void();
29402 return resultobj;
29403 fail:
29404 return NULL;
29405 }
29406
29407
29408 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29409 PyObject *resultobj = 0;
29410 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29411 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29412 void *argp1 = 0 ;
29413 int res1 = 0 ;
29414 void *argp2 = 0 ;
29415 int res2 = 0 ;
29416 PyObject * obj0 = 0 ;
29417 PyObject * obj1 = 0 ;
29418 char * kwnames[] = {
29419 (char *) "self",(char *) "canvas", NULL
29420 };
29421
29422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29424 if (!SWIG_IsOK(res1)) {
29425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29426 }
29427 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29428 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29429 if (!SWIG_IsOK(res2)) {
29430 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29431 }
29432 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29433 {
29434 PyThreadState* __tstate = wxPyBeginAllowThreads();
29435 (arg1)->SetCanvas(arg2);
29436 wxPyEndAllowThreads(__tstate);
29437 if (PyErr_Occurred()) SWIG_fail;
29438 }
29439 resultobj = SWIG_Py_Void();
29440 return resultobj;
29441 fail:
29442 return NULL;
29443 }
29444
29445
29446 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29447 PyObject *resultobj = 0;
29448 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29449 wxFrame *result = 0 ;
29450 void *argp1 = 0 ;
29451 int res1 = 0 ;
29452 PyObject *swig_obj[1] ;
29453
29454 if (!args) SWIG_fail;
29455 swig_obj[0] = args;
29456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29457 if (!SWIG_IsOK(res1)) {
29458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29459 }
29460 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29461 {
29462 PyThreadState* __tstate = wxPyBeginAllowThreads();
29463 result = (wxFrame *)(arg1)->GetFrame();
29464 wxPyEndAllowThreads(__tstate);
29465 if (PyErr_Occurred()) SWIG_fail;
29466 }
29467 {
29468 resultobj = wxPyMake_wxObject(result, 0);
29469 }
29470 return resultobj;
29471 fail:
29472 return NULL;
29473 }
29474
29475
29476 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29477 PyObject *resultobj = 0;
29478 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29479 wxPreviewCanvas *result = 0 ;
29480 void *argp1 = 0 ;
29481 int res1 = 0 ;
29482 PyObject *swig_obj[1] ;
29483
29484 if (!args) SWIG_fail;
29485 swig_obj[0] = args;
29486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29487 if (!SWIG_IsOK(res1)) {
29488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29489 }
29490 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29491 {
29492 PyThreadState* __tstate = wxPyBeginAllowThreads();
29493 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29494 wxPyEndAllowThreads(__tstate);
29495 if (PyErr_Occurred()) SWIG_fail;
29496 }
29497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29498 return resultobj;
29499 fail:
29500 return NULL;
29501 }
29502
29503
29504 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29505 PyObject *resultobj = 0;
29506 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29507 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29508 wxDC *arg3 = 0 ;
29509 bool result;
29510 void *argp1 = 0 ;
29511 int res1 = 0 ;
29512 void *argp2 = 0 ;
29513 int res2 = 0 ;
29514 void *argp3 = 0 ;
29515 int res3 = 0 ;
29516 PyObject * obj0 = 0 ;
29517 PyObject * obj1 = 0 ;
29518 PyObject * obj2 = 0 ;
29519 char * kwnames[] = {
29520 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29521 };
29522
29523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29525 if (!SWIG_IsOK(res1)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29527 }
29528 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29529 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29530 if (!SWIG_IsOK(res2)) {
29531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29532 }
29533 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29534 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29535 if (!SWIG_IsOK(res3)) {
29536 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29537 }
29538 if (!argp3) {
29539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29540 }
29541 arg3 = reinterpret_cast< wxDC * >(argp3);
29542 {
29543 PyThreadState* __tstate = wxPyBeginAllowThreads();
29544 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29545 wxPyEndAllowThreads(__tstate);
29546 if (PyErr_Occurred()) SWIG_fail;
29547 }
29548 {
29549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29550 }
29551 return resultobj;
29552 fail:
29553 return NULL;
29554 }
29555
29556
29557 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29558 PyObject *resultobj = 0;
29559 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29560 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29561 wxDC *arg3 = 0 ;
29562 bool result;
29563 void *argp1 = 0 ;
29564 int res1 = 0 ;
29565 void *argp2 = 0 ;
29566 int res2 = 0 ;
29567 void *argp3 = 0 ;
29568 int res3 = 0 ;
29569 PyObject * obj0 = 0 ;
29570 PyObject * obj1 = 0 ;
29571 PyObject * obj2 = 0 ;
29572 char * kwnames[] = {
29573 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29574 };
29575
29576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29578 if (!SWIG_IsOK(res1)) {
29579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29580 }
29581 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29582 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29583 if (!SWIG_IsOK(res2)) {
29584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29585 }
29586 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29587 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29588 if (!SWIG_IsOK(res3)) {
29589 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29590 }
29591 if (!argp3) {
29592 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29593 }
29594 arg3 = reinterpret_cast< wxDC * >(argp3);
29595 {
29596 PyThreadState* __tstate = wxPyBeginAllowThreads();
29597 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29598 wxPyEndAllowThreads(__tstate);
29599 if (PyErr_Occurred()) SWIG_fail;
29600 }
29601 {
29602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29603 }
29604 return resultobj;
29605 fail:
29606 return NULL;
29607 }
29608
29609
29610 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29611 PyObject *resultobj = 0;
29612 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29613 int arg2 ;
29614 bool result;
29615 void *argp1 = 0 ;
29616 int res1 = 0 ;
29617 int val2 ;
29618 int ecode2 = 0 ;
29619 PyObject * obj0 = 0 ;
29620 PyObject * obj1 = 0 ;
29621 char * kwnames[] = {
29622 (char *) "self",(char *) "pageNum", NULL
29623 };
29624
29625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29627 if (!SWIG_IsOK(res1)) {
29628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29629 }
29630 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29631 ecode2 = SWIG_AsVal_int(obj1, &val2);
29632 if (!SWIG_IsOK(ecode2)) {
29633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29634 }
29635 arg2 = static_cast< int >(val2);
29636 {
29637 PyThreadState* __tstate = wxPyBeginAllowThreads();
29638 result = (bool)(arg1)->RenderPage(arg2);
29639 wxPyEndAllowThreads(__tstate);
29640 if (PyErr_Occurred()) SWIG_fail;
29641 }
29642 {
29643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29644 }
29645 return resultobj;
29646 fail:
29647 return NULL;
29648 }
29649
29650
29651 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29652 PyObject *resultobj = 0;
29653 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29654 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29655 void *argp1 = 0 ;
29656 int res1 = 0 ;
29657 void *argp2 = 0 ;
29658 int res2 = 0 ;
29659 PyObject * obj0 = 0 ;
29660 PyObject * obj1 = 0 ;
29661 char * kwnames[] = {
29662 (char *) "self",(char *) "canvas", NULL
29663 };
29664
29665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29667 if (!SWIG_IsOK(res1)) {
29668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29669 }
29670 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29671 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29672 if (!SWIG_IsOK(res2)) {
29673 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29674 }
29675 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29676 {
29677 PyThreadState* __tstate = wxPyBeginAllowThreads();
29678 (arg1)->AdjustScrollbars(arg2);
29679 wxPyEndAllowThreads(__tstate);
29680 if (PyErr_Occurred()) SWIG_fail;
29681 }
29682 resultobj = SWIG_Py_Void();
29683 return resultobj;
29684 fail:
29685 return NULL;
29686 }
29687
29688
29689 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29690 PyObject *resultobj = 0;
29691 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29692 wxPrintDialogData *result = 0 ;
29693 void *argp1 = 0 ;
29694 int res1 = 0 ;
29695 PyObject *swig_obj[1] ;
29696
29697 if (!args) SWIG_fail;
29698 swig_obj[0] = args;
29699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29700 if (!SWIG_IsOK(res1)) {
29701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29702 }
29703 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29704 {
29705 PyThreadState* __tstate = wxPyBeginAllowThreads();
29706 {
29707 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29708 result = (wxPrintDialogData *) &_result_ref;
29709 }
29710 wxPyEndAllowThreads(__tstate);
29711 if (PyErr_Occurred()) SWIG_fail;
29712 }
29713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29714 return resultobj;
29715 fail:
29716 return NULL;
29717 }
29718
29719
29720 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29721 PyObject *resultobj = 0;
29722 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29723 int arg2 ;
29724 void *argp1 = 0 ;
29725 int res1 = 0 ;
29726 int val2 ;
29727 int ecode2 = 0 ;
29728 PyObject * obj0 = 0 ;
29729 PyObject * obj1 = 0 ;
29730 char * kwnames[] = {
29731 (char *) "self",(char *) "percent", NULL
29732 };
29733
29734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29736 if (!SWIG_IsOK(res1)) {
29737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29738 }
29739 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29740 ecode2 = SWIG_AsVal_int(obj1, &val2);
29741 if (!SWIG_IsOK(ecode2)) {
29742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29743 }
29744 arg2 = static_cast< int >(val2);
29745 {
29746 PyThreadState* __tstate = wxPyBeginAllowThreads();
29747 (arg1)->SetZoom(arg2);
29748 wxPyEndAllowThreads(__tstate);
29749 if (PyErr_Occurred()) SWIG_fail;
29750 }
29751 resultobj = SWIG_Py_Void();
29752 return resultobj;
29753 fail:
29754 return NULL;
29755 }
29756
29757
29758 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29759 PyObject *resultobj = 0;
29760 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29761 int result;
29762 void *argp1 = 0 ;
29763 int res1 = 0 ;
29764 PyObject *swig_obj[1] ;
29765
29766 if (!args) SWIG_fail;
29767 swig_obj[0] = args;
29768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29769 if (!SWIG_IsOK(res1)) {
29770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29771 }
29772 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29773 {
29774 PyThreadState* __tstate = wxPyBeginAllowThreads();
29775 result = (int)(arg1)->GetZoom();
29776 wxPyEndAllowThreads(__tstate);
29777 if (PyErr_Occurred()) SWIG_fail;
29778 }
29779 resultobj = SWIG_From_int(static_cast< int >(result));
29780 return resultobj;
29781 fail:
29782 return NULL;
29783 }
29784
29785
29786 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29787 PyObject *resultobj = 0;
29788 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29789 int result;
29790 void *argp1 = 0 ;
29791 int res1 = 0 ;
29792 PyObject *swig_obj[1] ;
29793
29794 if (!args) SWIG_fail;
29795 swig_obj[0] = args;
29796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29797 if (!SWIG_IsOK(res1)) {
29798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29799 }
29800 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29801 {
29802 PyThreadState* __tstate = wxPyBeginAllowThreads();
29803 result = (int)(arg1)->GetMaxPage();
29804 wxPyEndAllowThreads(__tstate);
29805 if (PyErr_Occurred()) SWIG_fail;
29806 }
29807 resultobj = SWIG_From_int(static_cast< int >(result));
29808 return resultobj;
29809 fail:
29810 return NULL;
29811 }
29812
29813
29814 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29815 PyObject *resultobj = 0;
29816 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29817 int result;
29818 void *argp1 = 0 ;
29819 int res1 = 0 ;
29820 PyObject *swig_obj[1] ;
29821
29822 if (!args) SWIG_fail;
29823 swig_obj[0] = args;
29824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29825 if (!SWIG_IsOK(res1)) {
29826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29827 }
29828 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29829 {
29830 PyThreadState* __tstate = wxPyBeginAllowThreads();
29831 result = (int)(arg1)->GetMinPage();
29832 wxPyEndAllowThreads(__tstate);
29833 if (PyErr_Occurred()) SWIG_fail;
29834 }
29835 resultobj = SWIG_From_int(static_cast< int >(result));
29836 return resultobj;
29837 fail:
29838 return NULL;
29839 }
29840
29841
29842 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29843 PyObject *resultobj = 0;
29844 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29845 bool result;
29846 void *argp1 = 0 ;
29847 int res1 = 0 ;
29848 PyObject *swig_obj[1] ;
29849
29850 if (!args) SWIG_fail;
29851 swig_obj[0] = args;
29852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29853 if (!SWIG_IsOK(res1)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29855 }
29856 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29857 {
29858 PyThreadState* __tstate = wxPyBeginAllowThreads();
29859 result = (bool)(arg1)->Ok();
29860 wxPyEndAllowThreads(__tstate);
29861 if (PyErr_Occurred()) SWIG_fail;
29862 }
29863 {
29864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29865 }
29866 return resultobj;
29867 fail:
29868 return NULL;
29869 }
29870
29871
29872 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29873 PyObject *resultobj = 0;
29874 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29875 bool arg2 ;
29876 void *argp1 = 0 ;
29877 int res1 = 0 ;
29878 bool val2 ;
29879 int ecode2 = 0 ;
29880 PyObject * obj0 = 0 ;
29881 PyObject * obj1 = 0 ;
29882 char * kwnames[] = {
29883 (char *) "self",(char *) "ok", NULL
29884 };
29885
29886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29888 if (!SWIG_IsOK(res1)) {
29889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29890 }
29891 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29892 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29893 if (!SWIG_IsOK(ecode2)) {
29894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29895 }
29896 arg2 = static_cast< bool >(val2);
29897 {
29898 PyThreadState* __tstate = wxPyBeginAllowThreads();
29899 (arg1)->SetOk(arg2);
29900 wxPyEndAllowThreads(__tstate);
29901 if (PyErr_Occurred()) SWIG_fail;
29902 }
29903 resultobj = SWIG_Py_Void();
29904 return resultobj;
29905 fail:
29906 return NULL;
29907 }
29908
29909
29910 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29911 PyObject *resultobj = 0;
29912 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29913 bool arg2 ;
29914 bool result;
29915 void *argp1 = 0 ;
29916 int res1 = 0 ;
29917 bool val2 ;
29918 int ecode2 = 0 ;
29919 PyObject * obj0 = 0 ;
29920 PyObject * obj1 = 0 ;
29921 char * kwnames[] = {
29922 (char *) "self",(char *) "interactive", NULL
29923 };
29924
29925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29927 if (!SWIG_IsOK(res1)) {
29928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29929 }
29930 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29931 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29932 if (!SWIG_IsOK(ecode2)) {
29933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29934 }
29935 arg2 = static_cast< bool >(val2);
29936 {
29937 PyThreadState* __tstate = wxPyBeginAllowThreads();
29938 result = (bool)(arg1)->Print(arg2);
29939 wxPyEndAllowThreads(__tstate);
29940 if (PyErr_Occurred()) SWIG_fail;
29941 }
29942 {
29943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29944 }
29945 return resultobj;
29946 fail:
29947 return NULL;
29948 }
29949
29950
29951 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29952 PyObject *resultobj = 0;
29953 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29954 void *argp1 = 0 ;
29955 int res1 = 0 ;
29956 PyObject *swig_obj[1] ;
29957
29958 if (!args) SWIG_fail;
29959 swig_obj[0] = args;
29960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29961 if (!SWIG_IsOK(res1)) {
29962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29963 }
29964 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29965 {
29966 PyThreadState* __tstate = wxPyBeginAllowThreads();
29967 (arg1)->DetermineScaling();
29968 wxPyEndAllowThreads(__tstate);
29969 if (PyErr_Occurred()) SWIG_fail;
29970 }
29971 resultobj = SWIG_Py_Void();
29972 return resultobj;
29973 fail:
29974 return NULL;
29975 }
29976
29977
29978 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29979 PyObject *obj;
29980 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29981 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29982 return SWIG_Py_Void();
29983 }
29984
29985 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29986 return SWIG_Python_InitShadowInstance(args);
29987 }
29988
29989 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29990 PyObject *resultobj = 0;
29991 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29992 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29993 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29994 wxPyPrintPreview *result = 0 ;
29995 int res1 = 0 ;
29996 int res2 = 0 ;
29997 void *argp3 = 0 ;
29998 int res3 = 0 ;
29999
30000 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30001 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30002 if (!SWIG_IsOK(res1)) {
30003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30004 }
30005 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30006 if (!SWIG_IsOK(res2)) {
30007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30008 }
30009 if (swig_obj[2]) {
30010 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30011 if (!SWIG_IsOK(res3)) {
30012 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30013 }
30014 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30015 }
30016 {
30017 if (!wxPyCheckForApp()) SWIG_fail;
30018 PyThreadState* __tstate = wxPyBeginAllowThreads();
30019 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30020 wxPyEndAllowThreads(__tstate);
30021 if (PyErr_Occurred()) SWIG_fail;
30022 }
30023 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30024 return resultobj;
30025 fail:
30026 return NULL;
30027 }
30028
30029
30030 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30031 PyObject *resultobj = 0;
30032 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30033 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30034 wxPrintData *arg3 = (wxPrintData *) 0 ;
30035 wxPyPrintPreview *result = 0 ;
30036 int res1 = 0 ;
30037 int res2 = 0 ;
30038 void *argp3 = 0 ;
30039 int res3 = 0 ;
30040
30041 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30042 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30043 if (!SWIG_IsOK(res1)) {
30044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30045 }
30046 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30047 if (!SWIG_IsOK(res2)) {
30048 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30049 }
30050 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30051 if (!SWIG_IsOK(res3)) {
30052 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30053 }
30054 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30055 {
30056 if (!wxPyCheckForApp()) SWIG_fail;
30057 PyThreadState* __tstate = wxPyBeginAllowThreads();
30058 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30059 wxPyEndAllowThreads(__tstate);
30060 if (PyErr_Occurred()) SWIG_fail;
30061 }
30062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30063 return resultobj;
30064 fail:
30065 return NULL;
30066 }
30067
30068
30069 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30070 int argc;
30071 PyObject *argv[4];
30072
30073 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30074 --argc;
30075 if ((argc >= 2) && (argc <= 3)) {
30076 int _v = 0;
30077 if (argc > 2) {
30078 {
30079 void *vptr = 0;
30080 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30081 _v = SWIG_CheckState(res);
30082 }
30083 if (!_v) goto check_1;
30084 }
30085 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30086 }
30087 check_1:
30088
30089 if (argc == 3) {
30090 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30091 }
30092
30093 fail:
30094 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30095 return NULL;
30096 }
30097
30098
30099 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30100 PyObject *resultobj = 0;
30101 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30102 PyObject *arg2 = (PyObject *) 0 ;
30103 PyObject *arg3 = (PyObject *) 0 ;
30104 void *argp1 = 0 ;
30105 int res1 = 0 ;
30106 PyObject * obj0 = 0 ;
30107 PyObject * obj1 = 0 ;
30108 PyObject * obj2 = 0 ;
30109 char * kwnames[] = {
30110 (char *) "self",(char *) "self",(char *) "_class", NULL
30111 };
30112
30113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30115 if (!SWIG_IsOK(res1)) {
30116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30117 }
30118 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30119 arg2 = obj1;
30120 arg3 = obj2;
30121 {
30122 PyThreadState* __tstate = wxPyBeginAllowThreads();
30123 (arg1)->_setCallbackInfo(arg2,arg3);
30124 wxPyEndAllowThreads(__tstate);
30125 if (PyErr_Occurred()) SWIG_fail;
30126 }
30127 resultobj = SWIG_Py_Void();
30128 return resultobj;
30129 fail:
30130 return NULL;
30131 }
30132
30133
30134 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30135 PyObject *obj;
30136 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30137 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30138 return SWIG_Py_Void();
30139 }
30140
30141 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30142 return SWIG_Python_InitShadowInstance(args);
30143 }
30144
30145 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30146 PyObject *resultobj = 0;
30147 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30148 wxFrame *arg2 = (wxFrame *) 0 ;
30149 wxString *arg3 = 0 ;
30150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30152 wxSize const &arg5_defvalue = wxDefaultSize ;
30153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30154 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30155 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30156 wxString *arg7 = (wxString *) &arg7_defvalue ;
30157 wxPyPreviewFrame *result = 0 ;
30158 void *argp1 = 0 ;
30159 int res1 = 0 ;
30160 void *argp2 = 0 ;
30161 int res2 = 0 ;
30162 bool temp3 = false ;
30163 wxPoint temp4 ;
30164 wxSize temp5 ;
30165 long val6 ;
30166 int ecode6 = 0 ;
30167 bool temp7 = false ;
30168 PyObject * obj0 = 0 ;
30169 PyObject * obj1 = 0 ;
30170 PyObject * obj2 = 0 ;
30171 PyObject * obj3 = 0 ;
30172 PyObject * obj4 = 0 ;
30173 PyObject * obj5 = 0 ;
30174 PyObject * obj6 = 0 ;
30175 char * kwnames[] = {
30176 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30177 };
30178
30179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30181 if (!SWIG_IsOK(res1)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30183 }
30184 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30186 if (!SWIG_IsOK(res2)) {
30187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30188 }
30189 arg2 = reinterpret_cast< wxFrame * >(argp2);
30190 {
30191 arg3 = wxString_in_helper(obj2);
30192 if (arg3 == NULL) SWIG_fail;
30193 temp3 = true;
30194 }
30195 if (obj3) {
30196 {
30197 arg4 = &temp4;
30198 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30199 }
30200 }
30201 if (obj4) {
30202 {
30203 arg5 = &temp5;
30204 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30205 }
30206 }
30207 if (obj5) {
30208 ecode6 = SWIG_AsVal_long(obj5, &val6);
30209 if (!SWIG_IsOK(ecode6)) {
30210 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30211 }
30212 arg6 = static_cast< long >(val6);
30213 }
30214 if (obj6) {
30215 {
30216 arg7 = wxString_in_helper(obj6);
30217 if (arg7 == NULL) SWIG_fail;
30218 temp7 = true;
30219 }
30220 }
30221 {
30222 if (!wxPyCheckForApp()) SWIG_fail;
30223 PyThreadState* __tstate = wxPyBeginAllowThreads();
30224 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30225 wxPyEndAllowThreads(__tstate);
30226 if (PyErr_Occurred()) SWIG_fail;
30227 }
30228 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30229 {
30230 if (temp3)
30231 delete arg3;
30232 }
30233 {
30234 if (temp7)
30235 delete arg7;
30236 }
30237 return resultobj;
30238 fail:
30239 {
30240 if (temp3)
30241 delete arg3;
30242 }
30243 {
30244 if (temp7)
30245 delete arg7;
30246 }
30247 return NULL;
30248 }
30249
30250
30251 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30252 PyObject *resultobj = 0;
30253 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30254 PyObject *arg2 = (PyObject *) 0 ;
30255 PyObject *arg3 = (PyObject *) 0 ;
30256 void *argp1 = 0 ;
30257 int res1 = 0 ;
30258 PyObject * obj0 = 0 ;
30259 PyObject * obj1 = 0 ;
30260 PyObject * obj2 = 0 ;
30261 char * kwnames[] = {
30262 (char *) "self",(char *) "self",(char *) "_class", NULL
30263 };
30264
30265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30267 if (!SWIG_IsOK(res1)) {
30268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30269 }
30270 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30271 arg2 = obj1;
30272 arg3 = obj2;
30273 {
30274 PyThreadState* __tstate = wxPyBeginAllowThreads();
30275 (arg1)->_setCallbackInfo(arg2,arg3);
30276 wxPyEndAllowThreads(__tstate);
30277 if (PyErr_Occurred()) SWIG_fail;
30278 }
30279 resultobj = SWIG_Py_Void();
30280 return resultobj;
30281 fail:
30282 return NULL;
30283 }
30284
30285
30286 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30287 PyObject *resultobj = 0;
30288 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30289 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30290 void *argp1 = 0 ;
30291 int res1 = 0 ;
30292 void *argp2 = 0 ;
30293 int res2 = 0 ;
30294 PyObject * obj0 = 0 ;
30295 PyObject * obj1 = 0 ;
30296 char * kwnames[] = {
30297 (char *) "self",(char *) "canvas", NULL
30298 };
30299
30300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30302 if (!SWIG_IsOK(res1)) {
30303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30304 }
30305 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30306 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30307 if (!SWIG_IsOK(res2)) {
30308 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30309 }
30310 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30311 {
30312 PyThreadState* __tstate = wxPyBeginAllowThreads();
30313 (arg1)->SetPreviewCanvas(arg2);
30314 wxPyEndAllowThreads(__tstate);
30315 if (PyErr_Occurred()) SWIG_fail;
30316 }
30317 resultobj = SWIG_Py_Void();
30318 return resultobj;
30319 fail:
30320 return NULL;
30321 }
30322
30323
30324 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30325 PyObject *resultobj = 0;
30326 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30327 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30328 void *argp1 = 0 ;
30329 int res1 = 0 ;
30330 void *argp2 = 0 ;
30331 int res2 = 0 ;
30332 PyObject * obj0 = 0 ;
30333 PyObject * obj1 = 0 ;
30334 char * kwnames[] = {
30335 (char *) "self",(char *) "bar", NULL
30336 };
30337
30338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30340 if (!SWIG_IsOK(res1)) {
30341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30342 }
30343 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30344 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30345 if (!SWIG_IsOK(res2)) {
30346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30347 }
30348 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30349 {
30350 PyThreadState* __tstate = wxPyBeginAllowThreads();
30351 (arg1)->SetControlBar(arg2);
30352 wxPyEndAllowThreads(__tstate);
30353 if (PyErr_Occurred()) SWIG_fail;
30354 }
30355 resultobj = SWIG_Py_Void();
30356 return resultobj;
30357 fail:
30358 return NULL;
30359 }
30360
30361
30362 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30363 PyObject *resultobj = 0;
30364 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30365 void *argp1 = 0 ;
30366 int res1 = 0 ;
30367 PyObject *swig_obj[1] ;
30368
30369 if (!args) SWIG_fail;
30370 swig_obj[0] = args;
30371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30372 if (!SWIG_IsOK(res1)) {
30373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30374 }
30375 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30376 {
30377 PyThreadState* __tstate = wxPyBeginAllowThreads();
30378 (arg1)->Initialize();
30379 wxPyEndAllowThreads(__tstate);
30380 if (PyErr_Occurred()) SWIG_fail;
30381 }
30382 resultobj = SWIG_Py_Void();
30383 return resultobj;
30384 fail:
30385 return NULL;
30386 }
30387
30388
30389 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30390 PyObject *resultobj = 0;
30391 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30392 void *argp1 = 0 ;
30393 int res1 = 0 ;
30394 PyObject *swig_obj[1] ;
30395
30396 if (!args) SWIG_fail;
30397 swig_obj[0] = args;
30398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30399 if (!SWIG_IsOK(res1)) {
30400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30401 }
30402 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30403 {
30404 PyThreadState* __tstate = wxPyBeginAllowThreads();
30405 (arg1)->CreateCanvas();
30406 wxPyEndAllowThreads(__tstate);
30407 if (PyErr_Occurred()) SWIG_fail;
30408 }
30409 resultobj = SWIG_Py_Void();
30410 return resultobj;
30411 fail:
30412 return NULL;
30413 }
30414
30415
30416 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30417 PyObject *resultobj = 0;
30418 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30419 void *argp1 = 0 ;
30420 int res1 = 0 ;
30421 PyObject *swig_obj[1] ;
30422
30423 if (!args) SWIG_fail;
30424 swig_obj[0] = args;
30425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30426 if (!SWIG_IsOK(res1)) {
30427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30428 }
30429 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30430 {
30431 PyThreadState* __tstate = wxPyBeginAllowThreads();
30432 (arg1)->CreateControlBar();
30433 wxPyEndAllowThreads(__tstate);
30434 if (PyErr_Occurred()) SWIG_fail;
30435 }
30436 resultobj = SWIG_Py_Void();
30437 return resultobj;
30438 fail:
30439 return NULL;
30440 }
30441
30442
30443 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30444 PyObject *obj;
30445 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30446 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30447 return SWIG_Py_Void();
30448 }
30449
30450 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30451 return SWIG_Python_InitShadowInstance(args);
30452 }
30453
30454 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30455 PyObject *resultobj = 0;
30456 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30457 long arg2 ;
30458 wxWindow *arg3 = (wxWindow *) 0 ;
30459 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30460 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30461 wxSize const &arg5_defvalue = wxDefaultSize ;
30462 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30463 long arg6 = (long) 0 ;
30464 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30465 wxString *arg7 = (wxString *) &arg7_defvalue ;
30466 wxPyPreviewControlBar *result = 0 ;
30467 void *argp1 = 0 ;
30468 int res1 = 0 ;
30469 long val2 ;
30470 int ecode2 = 0 ;
30471 void *argp3 = 0 ;
30472 int res3 = 0 ;
30473 wxPoint temp4 ;
30474 wxSize temp5 ;
30475 long val6 ;
30476 int ecode6 = 0 ;
30477 bool temp7 = false ;
30478 PyObject * obj0 = 0 ;
30479 PyObject * obj1 = 0 ;
30480 PyObject * obj2 = 0 ;
30481 PyObject * obj3 = 0 ;
30482 PyObject * obj4 = 0 ;
30483 PyObject * obj5 = 0 ;
30484 PyObject * obj6 = 0 ;
30485 char * kwnames[] = {
30486 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30487 };
30488
30489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30491 if (!SWIG_IsOK(res1)) {
30492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30493 }
30494 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30495 ecode2 = SWIG_AsVal_long(obj1, &val2);
30496 if (!SWIG_IsOK(ecode2)) {
30497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30498 }
30499 arg2 = static_cast< long >(val2);
30500 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30501 if (!SWIG_IsOK(res3)) {
30502 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30503 }
30504 arg3 = reinterpret_cast< wxWindow * >(argp3);
30505 if (obj3) {
30506 {
30507 arg4 = &temp4;
30508 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30509 }
30510 }
30511 if (obj4) {
30512 {
30513 arg5 = &temp5;
30514 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30515 }
30516 }
30517 if (obj5) {
30518 ecode6 = SWIG_AsVal_long(obj5, &val6);
30519 if (!SWIG_IsOK(ecode6)) {
30520 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30521 }
30522 arg6 = static_cast< long >(val6);
30523 }
30524 if (obj6) {
30525 {
30526 arg7 = wxString_in_helper(obj6);
30527 if (arg7 == NULL) SWIG_fail;
30528 temp7 = true;
30529 }
30530 }
30531 {
30532 if (!wxPyCheckForApp()) SWIG_fail;
30533 PyThreadState* __tstate = wxPyBeginAllowThreads();
30534 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30535 wxPyEndAllowThreads(__tstate);
30536 if (PyErr_Occurred()) SWIG_fail;
30537 }
30538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30539 {
30540 if (temp7)
30541 delete arg7;
30542 }
30543 return resultobj;
30544 fail:
30545 {
30546 if (temp7)
30547 delete arg7;
30548 }
30549 return NULL;
30550 }
30551
30552
30553 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30554 PyObject *resultobj = 0;
30555 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30556 PyObject *arg2 = (PyObject *) 0 ;
30557 PyObject *arg3 = (PyObject *) 0 ;
30558 void *argp1 = 0 ;
30559 int res1 = 0 ;
30560 PyObject * obj0 = 0 ;
30561 PyObject * obj1 = 0 ;
30562 PyObject * obj2 = 0 ;
30563 char * kwnames[] = {
30564 (char *) "self",(char *) "self",(char *) "_class", NULL
30565 };
30566
30567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30569 if (!SWIG_IsOK(res1)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30571 }
30572 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30573 arg2 = obj1;
30574 arg3 = obj2;
30575 {
30576 PyThreadState* __tstate = wxPyBeginAllowThreads();
30577 (arg1)->_setCallbackInfo(arg2,arg3);
30578 wxPyEndAllowThreads(__tstate);
30579 if (PyErr_Occurred()) SWIG_fail;
30580 }
30581 resultobj = SWIG_Py_Void();
30582 return resultobj;
30583 fail:
30584 return NULL;
30585 }
30586
30587
30588 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30589 PyObject *resultobj = 0;
30590 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30591 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30592 void *argp1 = 0 ;
30593 int res1 = 0 ;
30594 void *argp2 = 0 ;
30595 int res2 = 0 ;
30596 PyObject * obj0 = 0 ;
30597 PyObject * obj1 = 0 ;
30598 char * kwnames[] = {
30599 (char *) "self",(char *) "preview", NULL
30600 };
30601
30602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30604 if (!SWIG_IsOK(res1)) {
30605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30606 }
30607 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30608 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30609 if (!SWIG_IsOK(res2)) {
30610 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30611 }
30612 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30613 {
30614 PyThreadState* __tstate = wxPyBeginAllowThreads();
30615 (arg1)->SetPrintPreview(arg2);
30616 wxPyEndAllowThreads(__tstate);
30617 if (PyErr_Occurred()) SWIG_fail;
30618 }
30619 resultobj = SWIG_Py_Void();
30620 return resultobj;
30621 fail:
30622 return NULL;
30623 }
30624
30625
30626 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30627 PyObject *resultobj = 0;
30628 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30629 void *argp1 = 0 ;
30630 int res1 = 0 ;
30631 PyObject *swig_obj[1] ;
30632
30633 if (!args) SWIG_fail;
30634 swig_obj[0] = args;
30635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30636 if (!SWIG_IsOK(res1)) {
30637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30638 }
30639 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30640 {
30641 PyThreadState* __tstate = wxPyBeginAllowThreads();
30642 (arg1)->CreateButtons();
30643 wxPyEndAllowThreads(__tstate);
30644 if (PyErr_Occurred()) SWIG_fail;
30645 }
30646 resultobj = SWIG_Py_Void();
30647 return resultobj;
30648 fail:
30649 return NULL;
30650 }
30651
30652
30653 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30654 PyObject *resultobj = 0;
30655 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30656 int arg2 ;
30657 void *argp1 = 0 ;
30658 int res1 = 0 ;
30659 int val2 ;
30660 int ecode2 = 0 ;
30661 PyObject * obj0 = 0 ;
30662 PyObject * obj1 = 0 ;
30663 char * kwnames[] = {
30664 (char *) "self",(char *) "zoom", NULL
30665 };
30666
30667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30669 if (!SWIG_IsOK(res1)) {
30670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30671 }
30672 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30673 ecode2 = SWIG_AsVal_int(obj1, &val2);
30674 if (!SWIG_IsOK(ecode2)) {
30675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30676 }
30677 arg2 = static_cast< int >(val2);
30678 {
30679 PyThreadState* __tstate = wxPyBeginAllowThreads();
30680 (arg1)->SetZoomControl(arg2);
30681 wxPyEndAllowThreads(__tstate);
30682 if (PyErr_Occurred()) SWIG_fail;
30683 }
30684 resultobj = SWIG_Py_Void();
30685 return resultobj;
30686 fail:
30687 return NULL;
30688 }
30689
30690
30691 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30692 PyObject *obj;
30693 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30694 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30695 return SWIG_Py_Void();
30696 }
30697
30698 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30699 return SWIG_Python_InitShadowInstance(args);
30700 }
30701
30702 static PyMethodDef SwigMethods[] = {
30703 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30704 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30705 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30706 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30707 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30708 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30709 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30710 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30711 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30712 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30713 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30714 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30715 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30716 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30717 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30718 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30719 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30720 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30721 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30722 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30723 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30724 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30725 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30726 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30727 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30728 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30729 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30730 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30731 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30732 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30733 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30734 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30735 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30736 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30737 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30738 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30739 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30740 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30741 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30742 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30743 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30744 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30745 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30746 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30747 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30748 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30749 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30750 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30751 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30752 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30753 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30754 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
30756 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction) _wrap_TopLevelWindow_SetTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction)_wrap_TopLevelWindow_CanSetTransparent, METH_O, NULL},
30758 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30759 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30760 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30761 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30762 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30763 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30765 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30766 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30767 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30768 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30769 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30770 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30771 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30772 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30774 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30775 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30776 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30777 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30778 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30779 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30780 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30781 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30782 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30783 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30784 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30785 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30786 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30787 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30788 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30789 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30790 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30791 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30792 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30793 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30794 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30795 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30796 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30797 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30798 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30799 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30800 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30801 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30802 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30803 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30804 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30805 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30806 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30807 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30808 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30809 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30810 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30811 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30812 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30813 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30814 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30815 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30816 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30817 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30818 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30819 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30820 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30821 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30822 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30823 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30824 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30825 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30826 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30829 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30830 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30831 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30832 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30833 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30834 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30835 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30837 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30838 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30839 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30840 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30841 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30842 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30844 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30846 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30847 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30848 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30849 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30851 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30852 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30853 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30855 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30857 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30858 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30859 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30860 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30861 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30862 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30863 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30864 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30865 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30866 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30867 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30868 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30869 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30870 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30871 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30872 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30873 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30874 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30875 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30876 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30877 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30878 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30879 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30881 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30883 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30884 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30886 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30887 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30888 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30889 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30890 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30891 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30892 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30893 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30894 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30896 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30897 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30898 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30901 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30902 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30903 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30904 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30905 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30906 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30907 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30908 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30909 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30910 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30911 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30912 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30913 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30914 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30916 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30917 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30918 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30919 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30920 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30921 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30922 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30923 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30925 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30926 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30927 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30928 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30929 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30930 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30931 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30932 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30933 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30934 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30935 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30936 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30937 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30938 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30939 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30943 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30944 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30946 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30947 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30948 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30949 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30950 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30951 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30952 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30953 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30955 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30956 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30957 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30958 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30959 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30962 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30965 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30968 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30969 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30970 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30971 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30972 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30973 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30974 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30975 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30976 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30977 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30978 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30980 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30982 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30983 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30984 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30985 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30986 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30988 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30989 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30990 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30991 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30992 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30994 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30996 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30997 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30998 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30999 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31000 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31002 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31003 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31004 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31005 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31006 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31007 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31009 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31010 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31013 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31015 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31016 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31017 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31018 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31020 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31021 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31022 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31024 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31025 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31026 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31027 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31028 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31029 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31030 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31031 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31032 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31033 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31034 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31038 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31039 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31040 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31041 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31042 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31043 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31044 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31046 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31047 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31048 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31051 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31052 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31055 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31056 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31057 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31059 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31060 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31061 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31062 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31063 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31064 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31065 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31066 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31067 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31068 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31069 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31070 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31071 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31072 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31073 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31074 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31075 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31076 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31077 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31079 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31080 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31082 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31084 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31085 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31087 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31088 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31089 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31090 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31091 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31092 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31093 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31094 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31095 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31096 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31097 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31098 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31099 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31100 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31101 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31102 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31107 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31108 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31109 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31111 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31112 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31113 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31115 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31116 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31117 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31120 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31121 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31122 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31124 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31125 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31126 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31127 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31131 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31132 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31133 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31134 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31135 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31136 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31137 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31141 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31142 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31143 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31144 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31146 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31147 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31148 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31149 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31150 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31151 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31153 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31154 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31155 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31156 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31157 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31158 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31159 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31160 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31161 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31162 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31164 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31166 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31167 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31168 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31170 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31172 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31173 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31174 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31175 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31176 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31183 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31184 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31185 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31186 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31187 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31188 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31189 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31190 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31191 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31193 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31195 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31196 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31200 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31201 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31202 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31203 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31204 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31205 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31206 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31207 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31208 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31209 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31211 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31212 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31213 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31214 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31215 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31216 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31217 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31218 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31219 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31220 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31221 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31222 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31223 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31224 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31225 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31226 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31227 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31228 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31229 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31230 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31231 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31232 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31233 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31234 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31235 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31236 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31237 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31238 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31239 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31240 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31241 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31242 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31243 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31244 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31246 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31250 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31252 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31253 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31255 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31256 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31257 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31258 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31259 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31260 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31263 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31265 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31266 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31267 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31268 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31269 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31270 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31271 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31272 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31273 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31274 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31275 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31276 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31277 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31278 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31279 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31280 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31281 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31282 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31283 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31284 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31285 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31287 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31289 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31290 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31291 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31292 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31293 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31294 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31295 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31296 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31297 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31298 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31299 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31300 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31301 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31302 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31303 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31304 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31305 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31306 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31307 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31308 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31309 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31310 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31311 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31312 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31313 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31314 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31315 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31316 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31317 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31318 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31319 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31321 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31322 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31323 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31324 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31325 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31326 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31327 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31328 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31329 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31330 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31331 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31332 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31333 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31334 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31335 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31336 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31337 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31338 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31339 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31340 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31341 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31342 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31343 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31344 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31345 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31346 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31347 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31348 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31349 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31350 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31351 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31352 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31353 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31354 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31355 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31356 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31357 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31358 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31360 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31361 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31362 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31363 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31364 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31365 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31366 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31367 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31368 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31369 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31370 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31371 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31372 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31373 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31374 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31375 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31376 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31377 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31378 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31379 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31380 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31381 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31382 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31383 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31384 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31385 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31386 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31387 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31388 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31389 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31390 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31391 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31392 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31393 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31394 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31395 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31396 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31397 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31398 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31399 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31400 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31401 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31403 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31404 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31405 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31406 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31407 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31409 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31410 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31412 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31413 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31414 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31415 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31416 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31417 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31418 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31419 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31420 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31422 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31423 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31424 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31425 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31426 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31428 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31429 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31431 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31432 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31433 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31434 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31435 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31436 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31437 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31438 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31439 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31440 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31441 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31442 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31443 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31444 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31445 { NULL, NULL, 0, NULL }
31446 };
31447
31448
31449 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31450
31451 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31452 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31453 }
31454 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31455 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31456 }
31457 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31458 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31459 }
31460 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31461 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31462 }
31463 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31464 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31465 }
31466 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31467 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31468 }
31469 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31470 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31471 }
31472 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31473 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31474 }
31475 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31476 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31477 }
31478 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31479 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31480 }
31481 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31482 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31483 }
31484 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31485 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31486 }
31487 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31488 return (void *)((wxEvent *) ((wxPyEvent *) x));
31489 }
31490 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31491 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31492 }
31493 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31494 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31495 }
31496 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31497 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31498 }
31499 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31500 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31501 }
31502 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31503 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31504 }
31505 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31506 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31507 }
31508 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31509 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31510 }
31511 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31512 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31513 }
31514 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31515 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31516 }
31517 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31518 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31519 }
31520 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31521 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31522 }
31523 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31524 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31525 }
31526 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31527 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31528 }
31529 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31530 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31531 }
31532 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31533 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31534 }
31535 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31536 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31537 }
31538 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31539 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31540 }
31541 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31542 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31543 }
31544 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31545 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31546 }
31547 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31548 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31549 }
31550 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31551 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31552 }
31553 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31554 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31555 }
31556 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31557 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31558 }
31559 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31560 return (void *)((wxEvent *) ((wxShowEvent *) x));
31561 }
31562 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31563 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31564 }
31565 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31566 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31567 }
31568 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31569 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31570 }
31571 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31572 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31573 }
31574 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31575 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31576 }
31577 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31578 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31579 }
31580 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31581 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31582 }
31583 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31584 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31585 }
31586 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31587 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31588 }
31589 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31590 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31591 }
31592 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31593 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31594 }
31595 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31596 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31597 }
31598 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31599 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31600 }
31601 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31602 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31603 }
31604 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31605 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31606 }
31607 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31608 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31609 }
31610 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31611 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31612 }
31613 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31614 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31615 }
31616 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31617 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31618 }
31619 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31620 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31621 }
31622 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31623 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31624 }
31625 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31626 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31627 }
31628 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31629 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31630 }
31631 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31632 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31633 }
31634 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31635 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31636 }
31637 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31638 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31639 }
31640 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31641 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31642 }
31643 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31644 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31645 }
31646 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31647 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31648 }
31649 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31650 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31651 }
31652 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31653 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31654 }
31655 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31656 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31657 }
31658 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31659 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31660 }
31661 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31662 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31663 }
31664 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31665 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31666 }
31667 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31668 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31669 }
31670 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31671 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31672 }
31673 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31674 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31675 }
31676 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31677 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31678 }
31679 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31680 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31681 }
31682 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31683 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31684 }
31685 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31686 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31687 }
31688 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31689 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31690 }
31691 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31692 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31693 }
31694 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31695 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31696 }
31697 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31698 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31699 }
31700 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31701 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31702 }
31703 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31704 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31705 }
31706 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31707 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31708 }
31709 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31710 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31711 }
31712 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31713 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31714 }
31715 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31716 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31717 }
31718 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31719 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31720 }
31721 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31722 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31723 }
31724 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31725 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31726 }
31727 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31728 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31729 }
31730 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31731 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31732 }
31733 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31734 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31735 }
31736 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31737 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31738 }
31739 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31740 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31741 }
31742 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31743 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31744 }
31745 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31746 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31747 }
31748 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
31749 return (void *)((wxFrame *) ((wxTipWindow *) x));
31750 }
31751 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31752 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31753 }
31754 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31755 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31756 }
31757 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31758 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31759 }
31760 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31761 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31762 }
31763 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31764 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31765 }
31766 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31767 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31768 }
31769 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31770 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31771 }
31772 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31774 }
31775 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31777 }
31778 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31779 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31780 }
31781 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31782 return (void *)((wxObject *) ((wxSizerItem *) x));
31783 }
31784 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31785 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31786 }
31787 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31788 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31789 }
31790 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31791 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31792 }
31793 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31794 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31795 }
31796 static void *_p_wxSizerTo_p_wxObject(void *x) {
31797 return (void *)((wxObject *) ((wxSizer *) x));
31798 }
31799 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31800 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31801 }
31802 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31803 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31804 }
31805 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31807 }
31808 static void *_p_wxEventTo_p_wxObject(void *x) {
31809 return (void *)((wxObject *) ((wxEvent *) x));
31810 }
31811 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31812 return (void *)((wxObject *) ((wxFontData *) x));
31813 }
31814 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31815 return (void *)((wxObject *) ((wxPrintData *) x));
31816 }
31817 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31818 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31819 }
31820 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31821 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31822 }
31823 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31824 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31825 }
31826 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31827 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31828 }
31829 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31830 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31831 }
31832 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31833 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31834 }
31835 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31836 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31837 }
31838 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31839 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31840 }
31841 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31842 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31843 }
31844 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31845 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31846 }
31847 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31848 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31849 }
31850 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31851 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31852 }
31853 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31854 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31855 }
31856 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31858 }
31859 static void *_p_wxControlTo_p_wxObject(void *x) {
31860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31861 }
31862 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31863 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31864 }
31865 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31866 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31867 }
31868 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31869 return (void *)((wxObject *) ((wxFSFile *) x));
31870 }
31871 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31872 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31873 }
31874 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31875 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31876 }
31877 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31878 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31879 }
31880 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31881 return (void *)((wxObject *) ((wxColourData *) x));
31882 }
31883 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31884 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31885 }
31886 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31887 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31888 }
31889 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31891 }
31892 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31894 }
31895 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31897 }
31898 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31900 }
31901 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31903 }
31904 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31906 }
31907 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31909 }
31910 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
31911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31912 }
31913 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31915 }
31916 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31918 }
31919 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31921 }
31922 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31923 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31924 }
31925 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31926 return (void *)((wxObject *) ((wxPrinter *) x));
31927 }
31928 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31929 return (void *)((wxObject *) ((wxMenuItem *) x));
31930 }
31931 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31932 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31933 }
31934 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31935 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31936 }
31937 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31938 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31939 }
31940 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31941 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31942 }
31943 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31944 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31945 }
31946 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31947 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31948 }
31949 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31950 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31951 }
31952 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31953 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31954 }
31955 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31956 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31957 }
31958 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31959 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31960 }
31961 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31962 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31963 }
31964 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31965 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31966 }
31967 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31968 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31969 }
31970 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31971 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31972 }
31973 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31974 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31975 }
31976 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31977 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31978 }
31979 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31980 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31981 }
31982 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31983 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31984 }
31985 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31986 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31987 }
31988 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31989 return (void *)((wxObject *) ((wxImageHandler *) x));
31990 }
31991 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31992 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31993 }
31994 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31995 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31996 }
31997 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31998 return (void *)((wxObject *) ((wxEvtHandler *) x));
31999 }
32000 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32001 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32002 }
32003 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32005 }
32006 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32007 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32008 }
32009 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32010 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32011 }
32012 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32013 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32014 }
32015 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32017 }
32018 static void *_p_wxImageTo_p_wxObject(void *x) {
32019 return (void *)((wxObject *) ((wxImage *) x));
32020 }
32021 static void *_p_wxFrameTo_p_wxObject(void *x) {
32022 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32023 }
32024 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32025 return (void *)((wxObject *) ((wxPyPrintout *) x));
32026 }
32027 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32028 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32029 }
32030 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32031 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32032 }
32033 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32035 }
32036 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32038 }
32039 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32040 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32041 }
32042 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32043 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32044 }
32045 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32046 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32047 }
32048 static void *_p_wxWindowTo_p_wxObject(void *x) {
32049 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32050 }
32051 static void *_p_wxMenuTo_p_wxObject(void *x) {
32052 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32053 }
32054 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32056 }
32057 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32059 }
32060 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32062 }
32063 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32065 }
32066 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32068 }
32069 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32071 }
32072 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32074 }
32075 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32077 }
32078 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32080 }
32081 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32083 }
32084 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32085 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32086 }
32087 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32088 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32089 }
32090 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32092 }
32093 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32094 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32095 }
32096 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32097 return (void *)((wxObject *) ((wxPrintPreview *) x));
32098 }
32099 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32100 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32101 }
32102 static void *_p_wxPanelTo_p_wxObject(void *x) {
32103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32104 }
32105 static void *_p_wxDialogTo_p_wxObject(void *x) {
32106 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32107 }
32108 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32110 }
32111 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32113 }
32114 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32115 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32116 }
32117 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32118 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32119 }
32120 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32121 return (void *)((wxObject *) ((wxPrintDialog *) x));
32122 }
32123 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32124 return (void *)((wxObject *) ((wxFileSystem *) x));
32125 }
32126 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32127 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32128 }
32129 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32130 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32131 }
32132 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32133 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32134 }
32135 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32136 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32137 }
32138 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32139 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32140 }
32141 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32142 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32143 }
32144 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32145 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32146 }
32147 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32148 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32149 }
32150 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32152 }
32153 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32154 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32155 }
32156 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32157 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32158 }
32159 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32160 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32161 }
32162 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32163 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32164 }
32165 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32167 }
32168 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32169 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32170 }
32171 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32172 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32173 }
32174 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32175 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32176 }
32177 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32178 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32179 }
32180 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32181 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32182 }
32183 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32184 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32185 }
32186 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32187 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32188 }
32189 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32190 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32191 }
32192 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32193 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32194 }
32195 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32196 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32197 }
32198 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32199 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32200 }
32201 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32202 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32203 }
32204 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32205 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32206 }
32207 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32208 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32209 }
32210 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32211 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32212 }
32213 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
32214 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
32215 }
32216 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32217 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32218 }
32219 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32220 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32221 }
32222 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32223 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32224 }
32225 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32226 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32227 }
32228 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32229 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32230 }
32231 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32232 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32233 }
32234 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32235 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32236 }
32237 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32238 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32239 }
32240 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32241 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32242 }
32243 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32244 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32245 }
32246 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32247 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32248 }
32249 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32250 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32251 }
32252 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32253 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32254 }
32255 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32256 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32257 }
32258 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32259 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32260 }
32261 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32262 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32263 }
32264 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32265 return (void *)((wxWindow *) ((wxMenuBar *) x));
32266 }
32267 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32268 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32269 }
32270 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32271 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32272 }
32273 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32274 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32275 }
32276 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32277 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32278 }
32279 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32280 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32281 }
32282 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32283 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32284 }
32285 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32286 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32287 }
32288 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32289 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32290 }
32291 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32292 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32293 }
32294 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32295 return (void *)((wxWindow *) ((wxPanel *) x));
32296 }
32297 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32298 return (void *)((wxWindow *) ((wxStatusBar *) x));
32299 }
32300 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32301 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32302 }
32303 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32304 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32305 }
32306 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32307 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32308 }
32309 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32310 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32311 }
32312 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32313 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32314 }
32315 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32316 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32317 }
32318 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32319 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32320 }
32321 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32322 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32323 }
32324 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32325 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32326 }
32327 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32328 return (void *)((wxWindow *) ((wxSashWindow *) x));
32329 }
32330 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32331 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32332 }
32333 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32334 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32335 }
32336 static void *_p_wxControlTo_p_wxWindow(void *x) {
32337 return (void *)((wxWindow *) ((wxControl *) x));
32338 }
32339 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32340 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32341 }
32342 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32343 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32344 }
32345 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32346 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32347 }
32348 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32349 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32350 }
32351 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32352 return (void *)((wxWindow *) ((wxPyWindow *) x));
32353 }
32354 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32355 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32356 }
32357 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32358 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32359 }
32360 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32361 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32362 }
32363 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32364 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32365 }
32366 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32367 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32368 }
32369 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32370 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32371 }
32372 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32373 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32374 }
32375 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32376 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32377 }
32378 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32379 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32380 }
32381 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32382 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32383 }
32384 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32385 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32386 }
32387 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32388 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32389 }
32390 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32391 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32392 }
32393 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32394 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32395 }
32396 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32397 return (void *)((wxDialog *) ((wxColourDialog *) x));
32398 }
32399 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32400 return (void *)((wxDialog *) ((wxDirDialog *) x));
32401 }
32402 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32403 return (void *)((wxDialog *) ((wxFontDialog *) x));
32404 }
32405 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32406 return (void *)((wxDialog *) ((wxFileDialog *) x));
32407 }
32408 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32409 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32410 }
32411 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32412 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32413 }
32414 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32415 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32416 }
32417 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32418 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32419 }
32420 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32421 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32422 }
32423 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32424 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32425 }
32426 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32427 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32428 }
32429 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32430 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32431 }
32432 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32433 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32434 }
32435 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32436 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32437 }
32438 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32439 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32440 }
32441 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32442 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32443 }
32444 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32445 return (void *)((wxPanel *) ((wxPyPanel *) x));
32446 }
32447 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32448 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32449 }
32450 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32451 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32452 }
32453 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32454 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32455 }
32456 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32457 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32458 }
32459 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32460 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32461 }
32462 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32463 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32464 }
32465 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32466 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32467 }
32468 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32469 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32470 }
32471 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32472 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32473 }
32474 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32475 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32476 }
32477 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32478 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32479 }
32480 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32481 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32482 }
32483 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32484 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32485 }
32486 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32487 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32488 }
32489 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32490 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32491 }
32492 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32493 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32494 }
32495 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32496 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32497 }
32498 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32499 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32500 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};
32501 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32502 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32503 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32504 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32505 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32506 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32507 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32508 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32509 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32510 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32511 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32512 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32513 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32514 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32515 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32516 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32517 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32518 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32519 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32520 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32521 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32522 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32523 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32524 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32525 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32526 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32527 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32528 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32529 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32530 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32531 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32532 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32533 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32534 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32535 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32536 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32537 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32538 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32539 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32540 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32541 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32542 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32543 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32544 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32545 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32546 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32547 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32548 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32549 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32550 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32551 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32552 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32553 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32554 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32555 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32556 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32557 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32558 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32559 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32560 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32561 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32562 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32563 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32564 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32565 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32566 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32567 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32568 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32569 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32570 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32571 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32572 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32573 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32574 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32575 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32576 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32577 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32578 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32579 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32580 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32581 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32582 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32583 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32584 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32585 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32586 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32587 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32588 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32589 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32590 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32591 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32592 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32593 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32594 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32595 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32596 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32597 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32598 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32599 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32600 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32601 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32602 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32603 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32604 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32605 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32606 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32607 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32608 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32609 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32610 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32611 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32612 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32613 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32614 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32615 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32616 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32617 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32618 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32619 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32620 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32621 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32622 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32623 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32624 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32625 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32626 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32627 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32628 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32629 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32630 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32631 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32632 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32633 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32634 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32635 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32636 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32637 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32638 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32639 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32640 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32641 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32642 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32643 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32644 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32646 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32647 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32648 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32649 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32650 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32651 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32652 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32653 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32654 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32655 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32656 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32657 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32658 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32659 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32660 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32661 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32662
32663 static swig_type_info *swig_type_initial[] = {
32664 &_swigt__p_bool,
32665 &_swigt__p_char,
32666 &_swigt__p_form_ops_t,
32667 &_swigt__p_int,
32668 &_swigt__p_unsigned_char,
32669 &_swigt__p_unsigned_int,
32670 &_swigt__p_unsigned_long,
32671 &_swigt__p_wxANIHandler,
32672 &_swigt__p_wxAcceleratorTable,
32673 &_swigt__p_wxActivateEvent,
32674 &_swigt__p_wxArrayInt,
32675 &_swigt__p_wxBMPHandler,
32676 &_swigt__p_wxBitmap,
32677 &_swigt__p_wxBoxSizer,
32678 &_swigt__p_wxCURHandler,
32679 &_swigt__p_wxCalculateLayoutEvent,
32680 &_swigt__p_wxChildFocusEvent,
32681 &_swigt__p_wxClipboardTextEvent,
32682 &_swigt__p_wxCloseEvent,
32683 &_swigt__p_wxColour,
32684 &_swigt__p_wxColourData,
32685 &_swigt__p_wxColourDialog,
32686 &_swigt__p_wxCommandEvent,
32687 &_swigt__p_wxContextMenuEvent,
32688 &_swigt__p_wxControl,
32689 &_swigt__p_wxControlWithItems,
32690 &_swigt__p_wxDC,
32691 &_swigt__p_wxDateEvent,
32692 &_swigt__p_wxDialog,
32693 &_swigt__p_wxDirDialog,
32694 &_swigt__p_wxDisplayChangedEvent,
32695 &_swigt__p_wxDropFilesEvent,
32696 &_swigt__p_wxDuplexMode,
32697 &_swigt__p_wxEraseEvent,
32698 &_swigt__p_wxEvent,
32699 &_swigt__p_wxEvtHandler,
32700 &_swigt__p_wxFSFile,
32701 &_swigt__p_wxFileDialog,
32702 &_swigt__p_wxFileSystem,
32703 &_swigt__p_wxFindDialogEvent,
32704 &_swigt__p_wxFindReplaceData,
32705 &_swigt__p_wxFindReplaceDialog,
32706 &_swigt__p_wxFlexGridSizer,
32707 &_swigt__p_wxFocusEvent,
32708 &_swigt__p_wxFont,
32709 &_swigt__p_wxFontData,
32710 &_swigt__p_wxFontDialog,
32711 &_swigt__p_wxFrame,
32712 &_swigt__p_wxGBSizerItem,
32713 &_swigt__p_wxGIFHandler,
32714 &_swigt__p_wxGridBagSizer,
32715 &_swigt__p_wxGridSizer,
32716 &_swigt__p_wxHtmlLinkInfo,
32717 &_swigt__p_wxICOHandler,
32718 &_swigt__p_wxIcon,
32719 &_swigt__p_wxIconBundle,
32720 &_swigt__p_wxIconizeEvent,
32721 &_swigt__p_wxIdleEvent,
32722 &_swigt__p_wxImage,
32723 &_swigt__p_wxImageHandler,
32724 &_swigt__p_wxIndividualLayoutConstraint,
32725 &_swigt__p_wxInitDialogEvent,
32726 &_swigt__p_wxJPEGHandler,
32727 &_swigt__p_wxKeyEvent,
32728 &_swigt__p_wxLayoutAlgorithm,
32729 &_swigt__p_wxLayoutConstraints,
32730 &_swigt__p_wxMDIChildFrame,
32731 &_swigt__p_wxMDIClientWindow,
32732 &_swigt__p_wxMDIParentFrame,
32733 &_swigt__p_wxMaximizeEvent,
32734 &_swigt__p_wxMenu,
32735 &_swigt__p_wxMenuBar,
32736 &_swigt__p_wxMenuEvent,
32737 &_swigt__p_wxMenuItem,
32738 &_swigt__p_wxMessageDialog,
32739 &_swigt__p_wxMiniFrame,
32740 &_swigt__p_wxMouseCaptureChangedEvent,
32741 &_swigt__p_wxMouseEvent,
32742 &_swigt__p_wxMoveEvent,
32743 &_swigt__p_wxMultiChoiceDialog,
32744 &_swigt__p_wxNavigationKeyEvent,
32745 &_swigt__p_wxNcPaintEvent,
32746 &_swigt__p_wxNotifyEvent,
32747 &_swigt__p_wxNumberEntryDialog,
32748 &_swigt__p_wxObject,
32749 &_swigt__p_wxPCXHandler,
32750 &_swigt__p_wxPNGHandler,
32751 &_swigt__p_wxPNMHandler,
32752 &_swigt__p_wxPageSetupDialog,
32753 &_swigt__p_wxPageSetupDialogData,
32754 &_swigt__p_wxPaintEvent,
32755 &_swigt__p_wxPaletteChangedEvent,
32756 &_swigt__p_wxPanel,
32757 &_swigt__p_wxPaperSize,
32758 &_swigt__p_wxPasswordEntryDialog,
32759 &_swigt__p_wxPoint,
32760 &_swigt__p_wxPopupWindow,
32761 &_swigt__p_wxPreviewCanvas,
32762 &_swigt__p_wxPreviewControlBar,
32763 &_swigt__p_wxPreviewFrame,
32764 &_swigt__p_wxPrintData,
32765 &_swigt__p_wxPrintDialog,
32766 &_swigt__p_wxPrintDialogData,
32767 &_swigt__p_wxPrintPreview,
32768 &_swigt__p_wxPrinter,
32769 &_swigt__p_wxProgressDialog,
32770 &_swigt__p_wxPyApp,
32771 &_swigt__p_wxPyCommandEvent,
32772 &_swigt__p_wxPyEvent,
32773 &_swigt__p_wxPyHtmlListBox,
32774 &_swigt__p_wxPyImageHandler,
32775 &_swigt__p_wxPyPanel,
32776 &_swigt__p_wxPyPopupTransientWindow,
32777 &_swigt__p_wxPyPreviewControlBar,
32778 &_swigt__p_wxPyPreviewFrame,
32779 &_swigt__p_wxPyPrintPreview,
32780 &_swigt__p_wxPyPrintout,
32781 &_swigt__p_wxPyScrolledWindow,
32782 &_swigt__p_wxPySizer,
32783 &_swigt__p_wxPyTaskBarIcon,
32784 &_swigt__p_wxPyVListBox,
32785 &_swigt__p_wxPyVScrolledWindow,
32786 &_swigt__p_wxPyValidator,
32787 &_swigt__p_wxPyWindow,
32788 &_swigt__p_wxQueryLayoutInfoEvent,
32789 &_swigt__p_wxQueryNewPaletteEvent,
32790 &_swigt__p_wxRect,
32791 &_swigt__p_wxRegion,
32792 &_swigt__p_wxSashEvent,
32793 &_swigt__p_wxSashLayoutWindow,
32794 &_swigt__p_wxSashWindow,
32795 &_swigt__p_wxScrollEvent,
32796 &_swigt__p_wxScrollWinEvent,
32797 &_swigt__p_wxScrolledWindow,
32798 &_swigt__p_wxSetCursorEvent,
32799 &_swigt__p_wxShowEvent,
32800 &_swigt__p_wxSingleChoiceDialog,
32801 &_swigt__p_wxSize,
32802 &_swigt__p_wxSizeEvent,
32803 &_swigt__p_wxSizer,
32804 &_swigt__p_wxSizerItem,
32805 &_swigt__p_wxSplashScreen,
32806 &_swigt__p_wxSplashScreenWindow,
32807 &_swigt__p_wxSplitterEvent,
32808 &_swigt__p_wxSplitterWindow,
32809 &_swigt__p_wxStaticBoxSizer,
32810 &_swigt__p_wxStatusBar,
32811 &_swigt__p_wxStdDialogButtonSizer,
32812 &_swigt__p_wxString,
32813 &_swigt__p_wxSysColourChangedEvent,
32814 &_swigt__p_wxTIFFHandler,
32815 &_swigt__p_wxTaskBarIcon,
32816 &_swigt__p_wxTaskBarIconEvent,
32817 &_swigt__p_wxTextEntryDialog,
32818 &_swigt__p_wxTipWindow,
32819 &_swigt__p_wxToolBar,
32820 &_swigt__p_wxTopLevelWindow,
32821 &_swigt__p_wxUpdateUIEvent,
32822 &_swigt__p_wxValidator,
32823 &_swigt__p_wxVisualAttributes,
32824 &_swigt__p_wxWindow,
32825 &_swigt__p_wxWindowCreateEvent,
32826 &_swigt__p_wxWindowDestroyEvent,
32827 &_swigt__p_wxXPMHandler,
32828 };
32829
32830 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32831 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32832 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32833 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32834 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32835 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32836 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32837 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32838 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32839 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32840 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32841 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32842 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32843 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32844 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32845 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32846 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32847 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32848 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32849 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32850 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32851 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32852 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32853 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32854 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32855 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32856 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32857 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32858 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32859 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32860 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32861 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32862 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32863 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32864 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32865 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32866 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32867 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32868 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32869 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32870 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32871 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32872 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32873 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32874 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32875 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32876 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32877 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32878 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32879 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32880 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32881 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32882 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32883 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32884 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32885 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32886 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32887 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32888 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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}};
32889 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32890 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32891 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32892 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32893 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32894 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32895 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32896 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32897 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}};
32898 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32899 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32900 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32901 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32902 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32903 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32904 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32905 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32906 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32907 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32908 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32909 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32910 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}};
32911 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32912 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32913 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32914 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32915 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32916 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32917 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32918 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32919 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32920 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32921 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32922 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32923 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32924 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32925 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32926 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32927 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32928 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32929 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32930 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32931 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32932 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32933 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32934 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32935 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32936 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32937 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32938 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32939 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32940 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
32941 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32943 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}};
32944 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32946 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32947 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}};
32948 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32949 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}};
32950 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}};
32951 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32952 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32954 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}};
32955 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32966 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}};
32967 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}};
32968 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32974 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}};
32975 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32976 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}};
32977 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32978 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32979 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32980 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32988 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}};
32989 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32991 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_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}};
32994
32995 static swig_cast_info *swig_cast_initial[] = {
32996 _swigc__p_bool,
32997 _swigc__p_char,
32998 _swigc__p_form_ops_t,
32999 _swigc__p_int,
33000 _swigc__p_unsigned_char,
33001 _swigc__p_unsigned_int,
33002 _swigc__p_unsigned_long,
33003 _swigc__p_wxANIHandler,
33004 _swigc__p_wxAcceleratorTable,
33005 _swigc__p_wxActivateEvent,
33006 _swigc__p_wxArrayInt,
33007 _swigc__p_wxBMPHandler,
33008 _swigc__p_wxBitmap,
33009 _swigc__p_wxBoxSizer,
33010 _swigc__p_wxCURHandler,
33011 _swigc__p_wxCalculateLayoutEvent,
33012 _swigc__p_wxChildFocusEvent,
33013 _swigc__p_wxClipboardTextEvent,
33014 _swigc__p_wxCloseEvent,
33015 _swigc__p_wxColour,
33016 _swigc__p_wxColourData,
33017 _swigc__p_wxColourDialog,
33018 _swigc__p_wxCommandEvent,
33019 _swigc__p_wxContextMenuEvent,
33020 _swigc__p_wxControl,
33021 _swigc__p_wxControlWithItems,
33022 _swigc__p_wxDC,
33023 _swigc__p_wxDateEvent,
33024 _swigc__p_wxDialog,
33025 _swigc__p_wxDirDialog,
33026 _swigc__p_wxDisplayChangedEvent,
33027 _swigc__p_wxDropFilesEvent,
33028 _swigc__p_wxDuplexMode,
33029 _swigc__p_wxEraseEvent,
33030 _swigc__p_wxEvent,
33031 _swigc__p_wxEvtHandler,
33032 _swigc__p_wxFSFile,
33033 _swigc__p_wxFileDialog,
33034 _swigc__p_wxFileSystem,
33035 _swigc__p_wxFindDialogEvent,
33036 _swigc__p_wxFindReplaceData,
33037 _swigc__p_wxFindReplaceDialog,
33038 _swigc__p_wxFlexGridSizer,
33039 _swigc__p_wxFocusEvent,
33040 _swigc__p_wxFont,
33041 _swigc__p_wxFontData,
33042 _swigc__p_wxFontDialog,
33043 _swigc__p_wxFrame,
33044 _swigc__p_wxGBSizerItem,
33045 _swigc__p_wxGIFHandler,
33046 _swigc__p_wxGridBagSizer,
33047 _swigc__p_wxGridSizer,
33048 _swigc__p_wxHtmlLinkInfo,
33049 _swigc__p_wxICOHandler,
33050 _swigc__p_wxIcon,
33051 _swigc__p_wxIconBundle,
33052 _swigc__p_wxIconizeEvent,
33053 _swigc__p_wxIdleEvent,
33054 _swigc__p_wxImage,
33055 _swigc__p_wxImageHandler,
33056 _swigc__p_wxIndividualLayoutConstraint,
33057 _swigc__p_wxInitDialogEvent,
33058 _swigc__p_wxJPEGHandler,
33059 _swigc__p_wxKeyEvent,
33060 _swigc__p_wxLayoutAlgorithm,
33061 _swigc__p_wxLayoutConstraints,
33062 _swigc__p_wxMDIChildFrame,
33063 _swigc__p_wxMDIClientWindow,
33064 _swigc__p_wxMDIParentFrame,
33065 _swigc__p_wxMaximizeEvent,
33066 _swigc__p_wxMenu,
33067 _swigc__p_wxMenuBar,
33068 _swigc__p_wxMenuEvent,
33069 _swigc__p_wxMenuItem,
33070 _swigc__p_wxMessageDialog,
33071 _swigc__p_wxMiniFrame,
33072 _swigc__p_wxMouseCaptureChangedEvent,
33073 _swigc__p_wxMouseEvent,
33074 _swigc__p_wxMoveEvent,
33075 _swigc__p_wxMultiChoiceDialog,
33076 _swigc__p_wxNavigationKeyEvent,
33077 _swigc__p_wxNcPaintEvent,
33078 _swigc__p_wxNotifyEvent,
33079 _swigc__p_wxNumberEntryDialog,
33080 _swigc__p_wxObject,
33081 _swigc__p_wxPCXHandler,
33082 _swigc__p_wxPNGHandler,
33083 _swigc__p_wxPNMHandler,
33084 _swigc__p_wxPageSetupDialog,
33085 _swigc__p_wxPageSetupDialogData,
33086 _swigc__p_wxPaintEvent,
33087 _swigc__p_wxPaletteChangedEvent,
33088 _swigc__p_wxPanel,
33089 _swigc__p_wxPaperSize,
33090 _swigc__p_wxPasswordEntryDialog,
33091 _swigc__p_wxPoint,
33092 _swigc__p_wxPopupWindow,
33093 _swigc__p_wxPreviewCanvas,
33094 _swigc__p_wxPreviewControlBar,
33095 _swigc__p_wxPreviewFrame,
33096 _swigc__p_wxPrintData,
33097 _swigc__p_wxPrintDialog,
33098 _swigc__p_wxPrintDialogData,
33099 _swigc__p_wxPrintPreview,
33100 _swigc__p_wxPrinter,
33101 _swigc__p_wxProgressDialog,
33102 _swigc__p_wxPyApp,
33103 _swigc__p_wxPyCommandEvent,
33104 _swigc__p_wxPyEvent,
33105 _swigc__p_wxPyHtmlListBox,
33106 _swigc__p_wxPyImageHandler,
33107 _swigc__p_wxPyPanel,
33108 _swigc__p_wxPyPopupTransientWindow,
33109 _swigc__p_wxPyPreviewControlBar,
33110 _swigc__p_wxPyPreviewFrame,
33111 _swigc__p_wxPyPrintPreview,
33112 _swigc__p_wxPyPrintout,
33113 _swigc__p_wxPyScrolledWindow,
33114 _swigc__p_wxPySizer,
33115 _swigc__p_wxPyTaskBarIcon,
33116 _swigc__p_wxPyVListBox,
33117 _swigc__p_wxPyVScrolledWindow,
33118 _swigc__p_wxPyValidator,
33119 _swigc__p_wxPyWindow,
33120 _swigc__p_wxQueryLayoutInfoEvent,
33121 _swigc__p_wxQueryNewPaletteEvent,
33122 _swigc__p_wxRect,
33123 _swigc__p_wxRegion,
33124 _swigc__p_wxSashEvent,
33125 _swigc__p_wxSashLayoutWindow,
33126 _swigc__p_wxSashWindow,
33127 _swigc__p_wxScrollEvent,
33128 _swigc__p_wxScrollWinEvent,
33129 _swigc__p_wxScrolledWindow,
33130 _swigc__p_wxSetCursorEvent,
33131 _swigc__p_wxShowEvent,
33132 _swigc__p_wxSingleChoiceDialog,
33133 _swigc__p_wxSize,
33134 _swigc__p_wxSizeEvent,
33135 _swigc__p_wxSizer,
33136 _swigc__p_wxSizerItem,
33137 _swigc__p_wxSplashScreen,
33138 _swigc__p_wxSplashScreenWindow,
33139 _swigc__p_wxSplitterEvent,
33140 _swigc__p_wxSplitterWindow,
33141 _swigc__p_wxStaticBoxSizer,
33142 _swigc__p_wxStatusBar,
33143 _swigc__p_wxStdDialogButtonSizer,
33144 _swigc__p_wxString,
33145 _swigc__p_wxSysColourChangedEvent,
33146 _swigc__p_wxTIFFHandler,
33147 _swigc__p_wxTaskBarIcon,
33148 _swigc__p_wxTaskBarIconEvent,
33149 _swigc__p_wxTextEntryDialog,
33150 _swigc__p_wxTipWindow,
33151 _swigc__p_wxToolBar,
33152 _swigc__p_wxTopLevelWindow,
33153 _swigc__p_wxUpdateUIEvent,
33154 _swigc__p_wxValidator,
33155 _swigc__p_wxVisualAttributes,
33156 _swigc__p_wxWindow,
33157 _swigc__p_wxWindowCreateEvent,
33158 _swigc__p_wxWindowDestroyEvent,
33159 _swigc__p_wxXPMHandler,
33160 };
33161
33162
33163 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33164
33165 static swig_const_info swig_const_table[] = {
33166 {0, 0, 0, 0.0, 0, 0}};
33167
33168 #ifdef __cplusplus
33169 }
33170 #endif
33171 /* -----------------------------------------------------------------------------
33172 * Type initialization:
33173 * This problem is tough by the requirement that no dynamic
33174 * memory is used. Also, since swig_type_info structures store pointers to
33175 * swig_cast_info structures and swig_cast_info structures store pointers back
33176 * to swig_type_info structures, we need some lookup code at initialization.
33177 * The idea is that swig generates all the structures that are needed.
33178 * The runtime then collects these partially filled structures.
33179 * The SWIG_InitializeModule function takes these initial arrays out of
33180 * swig_module, and does all the lookup, filling in the swig_module.types
33181 * array with the correct data and linking the correct swig_cast_info
33182 * structures together.
33183 *
33184 * The generated swig_type_info structures are assigned staticly to an initial
33185 * array. We just loop though that array, and handle each type individually.
33186 * First we lookup if this type has been already loaded, and if so, use the
33187 * loaded structure instead of the generated one. Then we have to fill in the
33188 * cast linked list. The cast data is initially stored in something like a
33189 * two-dimensional array. Each row corresponds to a type (there are the same
33190 * number of rows as there are in the swig_type_initial array). Each entry in
33191 * a column is one of the swig_cast_info structures for that type.
33192 * The cast_initial array is actually an array of arrays, because each row has
33193 * a variable number of columns. So to actually build the cast linked list,
33194 * we find the array of casts associated with the type, and loop through it
33195 * adding the casts to the list. The one last trick we need to do is making
33196 * sure the type pointer in the swig_cast_info struct is correct.
33197 *
33198 * First off, we lookup the cast->type name to see if it is already loaded.
33199 * There are three cases to handle:
33200 * 1) If the cast->type has already been loaded AND the type we are adding
33201 * casting info to has not been loaded (it is in this module), THEN we
33202 * replace the cast->type pointer with the type pointer that has already
33203 * been loaded.
33204 * 2) If BOTH types (the one we are adding casting info to, and the
33205 * cast->type) are loaded, THEN the cast info has already been loaded by
33206 * the previous module so we just ignore it.
33207 * 3) Finally, if cast->type has not already been loaded, then we add that
33208 * swig_cast_info to the linked list (because the cast->type) pointer will
33209 * be correct.
33210 * ----------------------------------------------------------------------------- */
33211
33212 #ifdef __cplusplus
33213 extern "C" {
33214 #if 0
33215 } /* c-mode */
33216 #endif
33217 #endif
33218
33219 #if 0
33220 #define SWIGRUNTIME_DEBUG
33221 #endif
33222
33223 SWIGRUNTIME void
33224 SWIG_InitializeModule(void *clientdata) {
33225 size_t i;
33226 swig_module_info *module_head;
33227 static int init_run = 0;
33228
33229 clientdata = clientdata;
33230
33231 if (init_run) return;
33232 init_run = 1;
33233
33234 /* Initialize the swig_module */
33235 swig_module.type_initial = swig_type_initial;
33236 swig_module.cast_initial = swig_cast_initial;
33237
33238 /* Try and load any already created modules */
33239 module_head = SWIG_GetModule(clientdata);
33240 if (module_head) {
33241 swig_module.next = module_head->next;
33242 module_head->next = &swig_module;
33243 } else {
33244 /* This is the first module loaded */
33245 swig_module.next = &swig_module;
33246 SWIG_SetModule(clientdata, &swig_module);
33247 }
33248
33249 /* Now work on filling in swig_module.types */
33250 #ifdef SWIGRUNTIME_DEBUG
33251 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33252 #endif
33253 for (i = 0; i < swig_module.size; ++i) {
33254 swig_type_info *type = 0;
33255 swig_type_info *ret;
33256 swig_cast_info *cast;
33257
33258 #ifdef SWIGRUNTIME_DEBUG
33259 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33260 #endif
33261
33262 /* if there is another module already loaded */
33263 if (swig_module.next != &swig_module) {
33264 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33265 }
33266 if (type) {
33267 /* Overwrite clientdata field */
33268 #ifdef SWIGRUNTIME_DEBUG
33269 printf("SWIG_InitializeModule: found type %s\n", type->name);
33270 #endif
33271 if (swig_module.type_initial[i]->clientdata) {
33272 type->clientdata = swig_module.type_initial[i]->clientdata;
33273 #ifdef SWIGRUNTIME_DEBUG
33274 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33275 #endif
33276 }
33277 } else {
33278 type = swig_module.type_initial[i];
33279 }
33280
33281 /* Insert casting types */
33282 cast = swig_module.cast_initial[i];
33283 while (cast->type) {
33284 /* Don't need to add information already in the list */
33285 ret = 0;
33286 #ifdef SWIGRUNTIME_DEBUG
33287 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33288 #endif
33289 if (swig_module.next != &swig_module) {
33290 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33291 #ifdef SWIGRUNTIME_DEBUG
33292 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33293 #endif
33294 }
33295 if (ret) {
33296 if (type == swig_module.type_initial[i]) {
33297 #ifdef SWIGRUNTIME_DEBUG
33298 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33299 #endif
33300 cast->type = ret;
33301 ret = 0;
33302 } else {
33303 /* Check for casting already in the list */
33304 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33305 #ifdef SWIGRUNTIME_DEBUG
33306 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33307 #endif
33308 if (!ocast) ret = 0;
33309 }
33310 }
33311
33312 if (!ret) {
33313 #ifdef SWIGRUNTIME_DEBUG
33314 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33315 #endif
33316 if (type->cast) {
33317 type->cast->prev = cast;
33318 cast->next = type->cast;
33319 }
33320 type->cast = cast;
33321 }
33322 cast++;
33323 }
33324 /* Set entry in modules->types array equal to the type */
33325 swig_module.types[i] = type;
33326 }
33327 swig_module.types[i] = 0;
33328
33329 #ifdef SWIGRUNTIME_DEBUG
33330 printf("**** SWIG_InitializeModule: Cast List ******\n");
33331 for (i = 0; i < swig_module.size; ++i) {
33332 int j = 0;
33333 swig_cast_info *cast = swig_module.cast_initial[i];
33334 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33335 while (cast->type) {
33336 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33337 cast++;
33338 ++j;
33339 }
33340 printf("---- Total casts: %d\n",j);
33341 }
33342 printf("**** SWIG_InitializeModule: Cast List ******\n");
33343 #endif
33344 }
33345
33346 /* This function will propagate the clientdata field of type to
33347 * any new swig_type_info structures that have been added into the list
33348 * of equivalent types. It is like calling
33349 * SWIG_TypeClientData(type, clientdata) a second time.
33350 */
33351 SWIGRUNTIME void
33352 SWIG_PropagateClientData(void) {
33353 size_t i;
33354 swig_cast_info *equiv;
33355 static int init_run = 0;
33356
33357 if (init_run) return;
33358 init_run = 1;
33359
33360 for (i = 0; i < swig_module.size; i++) {
33361 if (swig_module.types[i]->clientdata) {
33362 equiv = swig_module.types[i]->cast;
33363 while (equiv) {
33364 if (!equiv->converter) {
33365 if (equiv->type && !equiv->type->clientdata)
33366 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33367 }
33368 equiv = equiv->next;
33369 }
33370 }
33371 }
33372 }
33373
33374 #ifdef __cplusplus
33375 #if 0
33376 {
33377 /* c-mode */
33378 #endif
33379 }
33380 #endif
33381
33382
33383
33384 #ifdef __cplusplus
33385 extern "C" {
33386 #endif
33387
33388 /* Python-specific SWIG API */
33389 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33390 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33391 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33392
33393 /* -----------------------------------------------------------------------------
33394 * global variable support code.
33395 * ----------------------------------------------------------------------------- */
33396
33397 typedef struct swig_globalvar {
33398 char *name; /* Name of global variable */
33399 PyObject *(*get_attr)(void); /* Return the current value */
33400 int (*set_attr)(PyObject *); /* Set the value */
33401 struct swig_globalvar *next;
33402 } swig_globalvar;
33403
33404 typedef struct swig_varlinkobject {
33405 PyObject_HEAD
33406 swig_globalvar *vars;
33407 } swig_varlinkobject;
33408
33409 SWIGINTERN PyObject *
33410 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33411 return PyString_FromString("<Swig global variables>");
33412 }
33413
33414 SWIGINTERN PyObject *
33415 swig_varlink_str(swig_varlinkobject *v) {
33416 PyObject *str = PyString_FromString("(");
33417 swig_globalvar *var;
33418 for (var = v->vars; var; var=var->next) {
33419 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33420 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33421 }
33422 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33423 return str;
33424 }
33425
33426 SWIGINTERN int
33427 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33428 PyObject *str = swig_varlink_str(v);
33429 fprintf(fp,"Swig global variables ");
33430 fprintf(fp,"%s\n", PyString_AsString(str));
33431 Py_DECREF(str);
33432 return 0;
33433 }
33434
33435 SWIGINTERN void
33436 swig_varlink_dealloc(swig_varlinkobject *v) {
33437 swig_globalvar *var = v->vars;
33438 while (var) {
33439 swig_globalvar *n = var->next;
33440 free(var->name);
33441 free(var);
33442 var = n;
33443 }
33444 }
33445
33446 SWIGINTERN PyObject *
33447 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33448 PyObject *res = NULL;
33449 swig_globalvar *var = v->vars;
33450 while (var) {
33451 if (strcmp(var->name,n) == 0) {
33452 res = (*var->get_attr)();
33453 break;
33454 }
33455 var = var->next;
33456 }
33457 if (res == NULL && !PyErr_Occurred()) {
33458 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33459 }
33460 return res;
33461 }
33462
33463 SWIGINTERN int
33464 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33465 int res = 1;
33466 swig_globalvar *var = v->vars;
33467 while (var) {
33468 if (strcmp(var->name,n) == 0) {
33469 res = (*var->set_attr)(p);
33470 break;
33471 }
33472 var = var->next;
33473 }
33474 if (res == 1 && !PyErr_Occurred()) {
33475 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33476 }
33477 return res;
33478 }
33479
33480 SWIGINTERN PyTypeObject*
33481 swig_varlink_type(void) {
33482 static char varlink__doc__[] = "Swig var link object";
33483 static PyTypeObject varlink_type;
33484 static int type_init = 0;
33485 if (!type_init) {
33486 const PyTypeObject tmp
33487 = {
33488 PyObject_HEAD_INIT(NULL)
33489 0, /* Number of items in variable part (ob_size) */
33490 (char *)"swigvarlink", /* Type name (tp_name) */
33491 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33492 0, /* Itemsize (tp_itemsize) */
33493 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33494 (printfunc) swig_varlink_print, /* Print (tp_print) */
33495 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33496 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33497 0, /* tp_compare */
33498 (reprfunc) swig_varlink_repr, /* tp_repr */
33499 0, /* tp_as_number */
33500 0, /* tp_as_sequence */
33501 0, /* tp_as_mapping */
33502 0, /* tp_hash */
33503 0, /* tp_call */
33504 (reprfunc)swig_varlink_str, /* tp_str */
33505 0, /* tp_getattro */
33506 0, /* tp_setattro */
33507 0, /* tp_as_buffer */
33508 0, /* tp_flags */
33509 varlink__doc__, /* tp_doc */
33510 0, /* tp_traverse */
33511 0, /* tp_clear */
33512 0, /* tp_richcompare */
33513 0, /* tp_weaklistoffset */
33514 #if PY_VERSION_HEX >= 0x02020000
33515 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33516 #endif
33517 #if PY_VERSION_HEX >= 0x02030000
33518 0, /* tp_del */
33519 #endif
33520 #ifdef COUNT_ALLOCS
33521 0,0,0,0 /* tp_alloc -> tp_next */
33522 #endif
33523 };
33524 varlink_type = tmp;
33525 varlink_type.ob_type = &PyType_Type;
33526 type_init = 1;
33527 }
33528 return &varlink_type;
33529 }
33530
33531 /* Create a variable linking object for use later */
33532 SWIGINTERN PyObject *
33533 SWIG_Python_newvarlink(void) {
33534 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33535 if (result) {
33536 result->vars = 0;
33537 }
33538 return ((PyObject*) result);
33539 }
33540
33541 SWIGINTERN void
33542 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33543 swig_varlinkobject *v = (swig_varlinkobject *) p;
33544 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33545 if (gv) {
33546 size_t size = strlen(name)+1;
33547 gv->name = (char *)malloc(size);
33548 if (gv->name) {
33549 strncpy(gv->name,name,size);
33550 gv->get_attr = get_attr;
33551 gv->set_attr = set_attr;
33552 gv->next = v->vars;
33553 }
33554 }
33555 v->vars = gv;
33556 }
33557
33558 SWIGINTERN PyObject *
33559 SWIG_globals() {
33560 static PyObject *_SWIG_globals = 0;
33561 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33562 return _SWIG_globals;
33563 }
33564
33565 /* -----------------------------------------------------------------------------
33566 * constants/methods manipulation
33567 * ----------------------------------------------------------------------------- */
33568
33569 /* Install Constants */
33570 SWIGINTERN void
33571 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33572 PyObject *obj = 0;
33573 size_t i;
33574 for (i = 0; constants[i].type; ++i) {
33575 switch(constants[i].type) {
33576 case SWIG_PY_POINTER:
33577 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33578 break;
33579 case SWIG_PY_BINARY:
33580 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33581 break;
33582 default:
33583 obj = 0;
33584 break;
33585 }
33586 if (obj) {
33587 PyDict_SetItemString(d, constants[i].name, obj);
33588 Py_DECREF(obj);
33589 }
33590 }
33591 }
33592
33593 /* -----------------------------------------------------------------------------*/
33594 /* Fix SwigMethods to carry the callback ptrs when needed */
33595 /* -----------------------------------------------------------------------------*/
33596
33597 SWIGINTERN void
33598 SWIG_Python_FixMethods(PyMethodDef *methods,
33599 swig_const_info *const_table,
33600 swig_type_info **types,
33601 swig_type_info **types_initial) {
33602 size_t i;
33603 for (i = 0; methods[i].ml_name; ++i) {
33604 const char *c = methods[i].ml_doc;
33605 if (c && (c = strstr(c, "swig_ptr: "))) {
33606 int j;
33607 swig_const_info *ci = 0;
33608 const char *name = c + 10;
33609 for (j = 0; const_table[j].type; ++j) {
33610 if (strncmp(const_table[j].name, name,
33611 strlen(const_table[j].name)) == 0) {
33612 ci = &(const_table[j]);
33613 break;
33614 }
33615 }
33616 if (ci) {
33617 size_t shift = (ci->ptype) - types;
33618 swig_type_info *ty = types_initial[shift];
33619 size_t ldoc = (c - methods[i].ml_doc);
33620 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33621 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33622 if (ndoc) {
33623 char *buff = ndoc;
33624 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33625 if (ptr) {
33626 strncpy(buff, methods[i].ml_doc, ldoc);
33627 buff += ldoc;
33628 strncpy(buff, "swig_ptr: ", 10);
33629 buff += 10;
33630 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33631 methods[i].ml_doc = ndoc;
33632 }
33633 }
33634 }
33635 }
33636 }
33637 }
33638
33639 #ifdef __cplusplus
33640 }
33641 #endif
33642
33643 /* -----------------------------------------------------------------------------*
33644 * Partial Init method
33645 * -----------------------------------------------------------------------------*/
33646
33647 #ifdef __cplusplus
33648 extern "C"
33649 #endif
33650 SWIGEXPORT void SWIG_init(void) {
33651 PyObject *m, *d;
33652
33653 /* Fix SwigMethods to carry the callback ptrs when needed */
33654 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33655
33656 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33657 d = PyModule_GetDict(m);
33658
33659 SWIG_InitializeModule(0);
33660 SWIG_InstallConstants(d,swig_const_table);
33661
33662
33663 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33664 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33665 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33666 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33667 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33668 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33669 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33670 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33671 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33672 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33673 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33674 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33675 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33676 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33677 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33678 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33679 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33680 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33681 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33682 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33683 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33684 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33685 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33686 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33687 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33688 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33689 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33690 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33691 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33692 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33693 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33694 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33695 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33696 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33697 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33698 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33699 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33700 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33701 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33702 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33703 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33704 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33705 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33706 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33707 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33708 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33709 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33710 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33711 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33712 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33713 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33714 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33715 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33716 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33717 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33718 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33719 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33720 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33721 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33722 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33723 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33724 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33725 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33726 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33727 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33728 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33729 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33730 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33731 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33732 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33733 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33734 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33735 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33736 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33737 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33738 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33739 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33740 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33741 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33742 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33743 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33744 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33745 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33746 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33747 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33748 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33749 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33750 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33751 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33752 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33753 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33754 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33755 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33756 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33757 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33758 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33759 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33760 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33761 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33762 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33763 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33764 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33765
33766 // Map renamed classes back to their common name for OOR
33767 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33768 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33769 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33770
33771 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33772 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33773 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33774 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33775 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33776 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33777 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33778 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33779 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33780 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33781 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33782 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33783 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33784 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33785 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33786 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33787 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33788 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33789 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33790 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33791 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33792 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
33793 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
33794 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33795 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33796 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33797 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33798 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33799 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33800 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
33801 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33802 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33803 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33804 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33805 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33806 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33807 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33808 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33809 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33810 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33811 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33812 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33813 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33814 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33815 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33816 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33817 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33818 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33819 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33820 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33821 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33822 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33823 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33824 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33825 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33826 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33827 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33828 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33829 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33830 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33831 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33832 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33833 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33834 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33835 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33836 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33837 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33838 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33839 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33840 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33841 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33842 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33843 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33844 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33845 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33846 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33847 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33848 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33849 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33850 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33851 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33852 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33853 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33854 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33855 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33856 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33857 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33858 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33859 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33860 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33861 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33862 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33863 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33864 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33865 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33866
33867 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33868
33869 }
33870