]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
More aui updates
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info *swig_types[167];
2633 static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636
2637 /* -------- TYPES TABLE (END) -------- */
2638
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2642 # endif
2643 #endif
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2646 #endif
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2649 #endif
2650 #ifndef METH_O
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2652 #endif
2653
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2658
2659 #define SWIG_name "_windows_"
2660
2661 #define SWIGVERSION 0x010329
2662
2663
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2666
2667
2668 #include <stdexcept>
2669
2670
2671 namespace swig {
2672 class PyObject_ptr {
2673 protected:
2674 PyObject *_obj;
2675
2676 public:
2677 PyObject_ptr() :_obj(0)
2678 {
2679 }
2680
2681 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2682 {
2683 Py_XINCREF(_obj);
2684 }
2685
2686 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2687 {
2688 if (initial_ref) Py_XINCREF(_obj);
2689 }
2690
2691 PyObject_ptr & operator=(const PyObject_ptr& item)
2692 {
2693 Py_XINCREF(item._obj);
2694 Py_XDECREF(_obj);
2695 _obj = item._obj;
2696 return *this;
2697 }
2698
2699 ~PyObject_ptr()
2700 {
2701 Py_XDECREF(_obj);
2702 }
2703
2704 operator PyObject *() const
2705 {
2706 return _obj;
2707 }
2708
2709 PyObject *operator->() const
2710 {
2711 return _obj;
2712 }
2713 };
2714 }
2715
2716
2717 namespace swig {
2718 struct PyObject_var : PyObject_ptr {
2719 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2720
2721 PyObject_var & operator = (PyObject* obj)
2722 {
2723 Py_XDECREF(_obj);
2724 _obj = obj;
2725 return *this;
2726 }
2727 };
2728 }
2729
2730
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2733
2734
2735 static const wxString wxPyEmptyString(wxEmptyString);
2736 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2737
2738
2739
2740 #include <limits.h>
2741 #ifndef LLONG_MIN
2742 # define LLONG_MIN LONG_LONG_MIN
2743 #endif
2744 #ifndef LLONG_MAX
2745 # define LLONG_MAX LONG_LONG_MAX
2746 #endif
2747 #ifndef ULLONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2749 #endif
2750
2751
2752 SWIGINTERN int
2753 SWIG_AsVal_long (PyObject* obj, long* val)
2754 {
2755 if (PyNumber_Check(obj)) {
2756 if (val) *val = PyInt_AsLong(obj);
2757 return SWIG_OK;
2758 }
2759 return SWIG_TypeError;
2760 }
2761
2762
2763 SWIGINTERN int
2764 SWIG_AsVal_int (PyObject * obj, int *val)
2765 {
2766 long v;
2767 int res = SWIG_AsVal_long (obj, &v);
2768 if (SWIG_IsOK(res)) {
2769 if ((v < INT_MIN || v > INT_MAX)) {
2770 return SWIG_OverflowError;
2771 } else {
2772 if (val) *val = static_cast< int >(v);
2773 }
2774 }
2775 return res;
2776 }
2777
2778
2779 SWIGINTERN int
2780 SWIG_AsVal_bool (PyObject *obj, bool *val)
2781 {
2782 if (obj == Py_True) {
2783 if (val) *val = true;
2784 return SWIG_OK;
2785 } else if (obj == Py_False) {
2786 if (val) *val = false;
2787 return SWIG_OK;
2788 } else {
2789 long v = 0;
2790 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2791 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2792 return res;
2793 }
2794 }
2795
2796
2797 #define SWIG_From_long PyInt_FromLong
2798
2799
2800 SWIGINTERNINLINE PyObject *
2801 SWIG_From_int (int value)
2802 {
2803 return SWIG_From_long (value);
2804 }
2805
2806
2807 SWIGINTERN int
2808 SWIG_AsVal_double (PyObject *obj, double* val)
2809 {
2810 if (PyNumber_Check(obj)) {
2811 if (val) *val = PyFloat_AsDouble(obj);
2812 return SWIG_OK;
2813 }
2814 return SWIG_TypeError;
2815 }
2816
2817
2818 #define SWIG_From_double PyFloat_FromDouble
2819
2820 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2821 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2822 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2823 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2824 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2825 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2826
2827 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2828
2829
2830
2831 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2832 wxRect r;
2833 self->GetFieldRect(i, r);
2834 return r;
2835 }
2836 static const wxString wxPySplitterNameStr(wxT("splitter"));
2837 static const wxString wxPySashNameStr(wxT("sashWindow"));
2838 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2839
2840 #include <wx/popupwin.h>
2841
2842
2843 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2844 {
2845 public:
2846 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2847 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2848 : wxPopupTransientWindow(parent, style) {}
2849
2850 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2851 DEC_PYCALLBACK__(OnDismiss);
2852 DEC_PYCALLBACK_BOOL_(CanDismiss);
2853 PYPRIVATE;
2854 };
2855
2856
2857 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2858 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2859 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2860
2861
2862 #include <wx/tipwin.h>
2863
2864 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2865 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2866 }
2867
2868 #include <wx/tipwin.h>
2869
2870
2871 #include <wx/vscroll.h>
2872
2873
2874 class wxPyVScrolledWindow : public wxVScrolledWindow
2875 {
2876 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2877 public:
2878 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2879
2880 wxPyVScrolledWindow(wxWindow *parent,
2881 wxWindowID id = wxID_ANY,
2882 const wxPoint& pos = wxDefaultPosition,
2883 const wxSize& size = wxDefaultSize,
2884 long style = 0,
2885 const wxString& name = wxPyPanelNameStr)
2886 : wxVScrolledWindow(parent, id, pos, size, style, name)
2887 {}
2888
2889 // Overridable virtuals
2890
2891 // this function must be overridden in the derived class and it should
2892 // return the height of the given line in pixels
2893 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2894
2895
2896 // this function doesn't have to be overridden but it may be useful to do
2897 // it if calculating the lines heights is a relatively expensive operation
2898 // as it gives the user code a possibility to calculate several of them at
2899 // once
2900 //
2901 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2902 // shouldn't rely on the latter being called for all lines in the interval
2903 // specified here. It is also possible that OnGetLineHeight() will be
2904 // called for the lines outside of this interval, so this is really just a
2905 // hint, not a promise.
2906 //
2907 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2908 // usual
2909 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2910
2911
2912 // when the number of lines changes, we try to estimate the total height
2913 // of all lines which is a rather expensive operation in terms of lines
2914 // access, so if the user code may estimate the average height
2915 // better/faster than we do, it should override this function to implement
2916 // its own logic
2917 //
2918 // this function should return the best guess for the total height it may
2919 // make
2920 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2921
2922
2923 // Also expose some other interesting protected methods
2924
2925
2926 // find the index of the line we need to show at the top of the window such
2927 // that the last (fully or partially) visible line is the given one
2928 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2929 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2930
2931 // get the total height of the lines between lineMin (inclusive) and
2932 // lineMax (exclusive)
2933 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2934 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2935
2936 // update the thumb size shown by the scrollbar
2937 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2938
2939 // remove the scrollbar completely because we don't need it
2940 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2941
2942 PYPRIVATE;
2943 };
2944
2945 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2946
2947 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2948 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2949 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2950
2951
2952 SWIGINTERN int
2953 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2954 {
2955 long v = 0;
2956 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2957 return SWIG_TypeError;
2958 }
2959 else if (val)
2960 *val = (unsigned long)v;
2961 return SWIG_OK;
2962 }
2963
2964
2965 SWIGINTERNINLINE int
2966 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2967 {
2968 unsigned long v;
2969 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2970 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2971 return res;
2972 }
2973
2974
2975 SWIGINTERNINLINE PyObject*
2976 SWIG_From_unsigned_SS_long (unsigned long value)
2977 {
2978 return (value > LONG_MAX) ?
2979 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2980 }
2981
2982
2983 SWIGINTERNINLINE PyObject *
2984 SWIG_From_size_t (size_t value)
2985 {
2986 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2987 }
2988
2989
2990 #include <wx/vlbox.h>
2991
2992 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2993
2994 class wxPyVListBox : public wxVListBox
2995 {
2996 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2997 public:
2998 wxPyVListBox() : wxVListBox() {}
2999
3000 wxPyVListBox(wxWindow *parent,
3001 wxWindowID id = wxID_ANY,
3002 const wxPoint& pos = wxDefaultPosition,
3003 const wxSize& size = wxDefaultSize,
3004 long style = 0,
3005 const wxString& name = wxPyVListBoxNameStr)
3006 : wxVListBox(parent, id, pos, size, style, name)
3007 {}
3008
3009 // Overridable virtuals
3010
3011 // the derived class must implement this function to actually draw the item
3012 // with the given index on the provided DC
3013 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3014 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3015
3016
3017 // the derived class must implement this method to return the height of the
3018 // specified item
3019 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3020 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3021
3022
3023 // this method may be used to draw separators between the lines; note that
3024 // the rectangle may be modified, typically to deflate it a bit before
3025 // passing to OnDrawItem()
3026 //
3027 // the base class version doesn't do anything
3028 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3029 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3030
3031
3032 // this method is used to draw the items background and, maybe, a border
3033 // around it
3034 //
3035 // the base class version implements a reasonable default behaviour which
3036 // consists in drawing the selected item with the standard background
3037 // colour and drawing a border around the item if it is either selected or
3038 // current
3039 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3040 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3041
3042
3043 PYPRIVATE;
3044 };
3045
3046 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3047
3048 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3049 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3050 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3051 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3052
3053
3054 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3055 unsigned long cookie = 0;
3056 int selected = self->GetFirstSelected(cookie);
3057 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3058 PyObject* tup = PyTuple_New(2);
3059 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3060 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3061 wxPyEndBlockThreads(blocked);
3062 return tup;
3063 }
3064 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3065 int selected = self->GetNextSelected(cookie);
3066 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3067 PyObject* tup = PyTuple_New(2);
3068 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3069 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3070 wxPyEndBlockThreads(blocked);
3071 return tup;
3072 }
3073
3074 #include <wx/htmllbox.h>
3075
3076
3077 class wxPyHtmlListBox : public wxHtmlListBox
3078 {
3079 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3080 public:
3081 wxPyHtmlListBox() : wxHtmlListBox() {}
3082
3083 wxPyHtmlListBox(wxWindow *parent,
3084 wxWindowID id = wxID_ANY,
3085 const wxPoint& pos = wxDefaultPosition,
3086 const wxSize& size = wxDefaultSize,
3087 long style = 0,
3088 const wxString& name = wxPyVListBoxNameStr)
3089 : wxHtmlListBox(parent, id, pos, size, style, name)
3090 {}
3091
3092 // Overridable virtuals
3093
3094 // this method must be implemented in the derived class and should return
3095 // the body (i.e. without <html>) of the HTML for the given item
3096 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3097
3098 // this function may be overridden to decorate HTML returned by OnGetItem()
3099 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3100
3101 // These are from wxVListBox
3102 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3103 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3104
3105 // TODO:
3106 // // this method allows to customize the selection appearance: it may be used
3107 // // to specify the colour of the text which normally has the given colour
3108 // // colFg when it is inside the selection
3109 // //
3110 // // by default, the original colour is not used at all and all text has the
3111 // // same (default for this system) colour inside selection
3112 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3113
3114 // // this is the same as GetSelectedTextColour() but allows to customize the
3115 // // background colour -- this is even more rarely used as you can change it
3116 // // globally using SetSelectionBackground()
3117 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3118
3119
3120 // This method may be overriden to handle clicking on a link in
3121 // the listbox. By default, clicking links is ignored.
3122 virtual void OnLinkClicked(size_t n,
3123 const wxHtmlLinkInfo& link);
3124
3125 PYPRIVATE;
3126 };
3127
3128
3129 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3130
3131 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3132 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3133 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3134 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3135
3136
3137 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3138 const wxHtmlLinkInfo& link) {
3139 bool found;
3140 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3141 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3142 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3143 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3144 Py_DECREF(obj);
3145 }
3146 wxPyEndBlockThreads(blocked);
3147 if (! found)
3148 wxPyHtmlListBox::OnLinkClicked(n, link);
3149 }
3150
3151
3152
3153
3154
3155 #ifndef wxHAS_TASK_BAR_ICON
3156 // implement dummy classes for platforms that don't have it
3157
3158 class wxTaskBarIcon : public wxEvtHandler
3159 {
3160 public:
3161 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3162 };
3163
3164
3165 class wxTaskBarIconEvent : public wxEvent
3166 {
3167 public:
3168 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3169 { wxPyRaiseNotImplemented(); }
3170 virtual wxEvent* Clone() const { return NULL; }
3171 bool IsOk() const { return false; }
3172 bool IsIconInstalled() const { return false; }
3173 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3174 bool RemoveIcon() { return false; }
3175 bool PopupMenu(wxMenu *menu) { return false; }
3176 };
3177
3178 enum {
3179 wxEVT_TASKBAR_MOVE = 0,
3180 wxEVT_TASKBAR_LEFT_DOWN = 0,
3181 wxEVT_TASKBAR_LEFT_UP = 0,
3182 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3183 wxEVT_TASKBAR_RIGHT_UP = 0,
3184 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3185 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3186 };
3187
3188
3189 #else
3190 // Otherwise make a class that can virtualize CreatePopupMenu
3191 class wxPyTaskBarIcon : public wxTaskBarIcon
3192 {
3193 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3194 public:
3195 wxPyTaskBarIcon() : wxTaskBarIcon()
3196 {}
3197
3198 wxMenu* CreatePopupMenu() {
3199 wxMenu *rval = NULL;
3200 bool found;
3201 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3202 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3203 PyObject* ro;
3204 wxMenu* ptr;
3205 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3206 if (ro) {
3207 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3208 rval = ptr;
3209 Py_DECREF(ro);
3210 }
3211 }
3212 wxPyEndBlockThreads(blocked);
3213 if (! found)
3214 rval = wxTaskBarIcon::CreatePopupMenu();
3215 return rval;
3216 }
3217
3218 PYPRIVATE;
3219 };
3220
3221 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3222
3223 #endif
3224
3225 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3226 self->RemoveIcon();
3227 delete self;
3228 }
3229 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3230 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3231 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3232 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3233 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3234 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3235
3236 // for compatibility only
3237 #define wxHIDE_READONLY 0
3238
3239 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3240 wxArrayString arr;
3241 self->GetFilenames(arr);
3242 return wxArrayString2PyList_helper(arr);
3243 }
3244 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3245 wxArrayString arr;
3246 self->GetPaths(arr);
3247 return wxArrayString2PyList_helper(arr);
3248 }
3249 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3250 return wxArrayInt2PyList_helper(self->GetSelections());
3251 }
3252 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){
3253 return new wxSingleChoiceDialog(parent, message, caption,
3254 choices, choices_array, NULL, style, pos);
3255 }
3256 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3257
3258 SWIGINTERNINLINE PyObject*
3259 SWIG_From_bool (bool value)
3260 {
3261 return PyBool_FromLong(value ? 1 : 0);
3262 }
3263
3264
3265 #include <wx/mdi.h>
3266
3267 // C++ version of Python aware wxWindow
3268 class wxPyWindow : public wxWindow
3269 {
3270 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3271 public:
3272 wxPyWindow() : wxWindow() {}
3273 wxPyWindow(wxWindow* parent, const wxWindowID id,
3274 const wxPoint& pos = wxDefaultPosition,
3275 const wxSize& size = wxDefaultSize,
3276 long style = 0,
3277 const wxString& name = wxPyPanelNameStr)
3278 : wxWindow(parent, id, pos, size, style, name) {}
3279
3280
3281 bool DoEraseBackground(wxDC* dc) {
3282 #ifdef __WXMSW__
3283 return wxWindow::DoEraseBackground(dc->GetHDC());
3284 #else
3285 dc->SetBackground(wxBrush(GetBackgroundColour()));
3286 dc->Clear();
3287 return true;
3288 #endif
3289 }
3290
3291 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3292 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3294 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3295
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3298 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3299
3300 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3301 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3302
3303 DEC_PYCALLBACK__(InitDialog);
3304 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3305 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3306 DEC_PYCALLBACK_BOOL_(Validate);
3307
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3309 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3310 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3311
3312 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3313 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3314
3315 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3316 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3317
3318 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3319
3320 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3321
3322 PYPRIVATE;
3323 };
3324
3325 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3326
3327 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3328 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3329 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3330 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3331
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3334 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3335
3336 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3337 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3338
3339 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3342 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3343
3344 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3345 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3346 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3347
3348 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3349 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3350
3351 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3352 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3353
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3355
3356 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3357
3358 // C++ version of Python aware wxPanel
3359 class wxPyPanel : public wxPanel
3360 {
3361 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3362 public:
3363 wxPyPanel() : wxPanel() {}
3364 wxPyPanel(wxWindow* parent, const wxWindowID id,
3365 const wxPoint& pos = wxDefaultPosition,
3366 const wxSize& size = wxDefaultSize,
3367 long style = 0,
3368 const wxString& name = wxPyPanelNameStr)
3369 : wxPanel(parent, id, pos, size, style, name) {}
3370
3371 bool DoEraseBackground(wxDC* dc) {
3372 #ifdef __WXMSW__
3373 return wxWindow::DoEraseBackground(dc->GetHDC());
3374 #else
3375 dc->SetBackground(wxBrush(GetBackgroundColour()));
3376 dc->Clear();
3377 return true;
3378 #endif
3379 }
3380
3381
3382 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3383 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3386
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3390
3391 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3392 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3393
3394 DEC_PYCALLBACK__(InitDialog);
3395 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3396 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3397 DEC_PYCALLBACK_BOOL_(Validate);
3398
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3401 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3402
3403 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3405
3406 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3407 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3408
3409 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3410
3411 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3412
3413 PYPRIVATE;
3414 };
3415
3416 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3417
3418 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3419 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3421 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3422
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3425 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3426
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3428 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3429
3430 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3434
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3436 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3438
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3440 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3441
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3443 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3444
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3446
3447 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3448
3449 // C++ version of Python aware wxScrolledWindow
3450 class wxPyScrolledWindow : public wxScrolledWindow
3451 {
3452 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3453 public:
3454 wxPyScrolledWindow() : wxScrolledWindow() {}
3455 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3456 const wxPoint& pos = wxDefaultPosition,
3457 const wxSize& size = wxDefaultSize,
3458 long style = 0,
3459 const wxString& name = wxPyPanelNameStr)
3460 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3461
3462 bool DoEraseBackground(wxDC* dc) {
3463 #ifdef __WXMSW__
3464 return wxWindow::DoEraseBackground(dc->GetHDC());
3465 #else
3466 dc->SetBackground(wxBrush(GetBackgroundColour()));
3467 dc->Clear();
3468 return true;
3469 #endif
3470 }
3471
3472 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3473 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3476
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3480
3481 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3482 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3483
3484 DEC_PYCALLBACK__(InitDialog);
3485 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3486 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3487 DEC_PYCALLBACK_BOOL_(Validate);
3488
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3491 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3492
3493 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3495
3496 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3497 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3498
3499 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3500
3501 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3502
3503 PYPRIVATE;
3504 };
3505
3506 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3507
3508 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3509 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3512
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3516
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3519
3520 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3524
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3528
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3531
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3533 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3534
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3536
3537 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3538
3539
3540 #include "wx/wxPython/printfw.h"
3541
3542
3543 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3544 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3545 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3546 PyObject* data;
3547 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3548 data = PyString_FromStringAndSize(self->GetPrivData(),
3549 self->GetPrivDataLen());
3550 wxPyEndBlockThreads(blocked);
3551 return data;
3552 }
3553 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3554 if (! PyString_Check(data)) {
3555 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3556 "Expected string object"));
3557 return /* NULL */ ;
3558 }
3559
3560 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3561 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3562 wxPyEndBlockThreads(blocked);
3563 }
3564
3565
3566 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3567
3568 // Since this one would be tough and ugly to do with the Macros...
3569 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3570 bool hadErr = false;
3571 bool found;
3572
3573 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3574 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3575 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3576 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3577 PyObject* val;
3578
3579 val = PyTuple_GetItem(result, 0);
3580 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3581 else hadErr = true;
3582
3583 val = PyTuple_GetItem(result, 1);
3584 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3585 else hadErr = true;
3586
3587 val = PyTuple_GetItem(result, 2);
3588 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3589 else hadErr = true;
3590
3591 val = PyTuple_GetItem(result, 3);
3592 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3593 else hadErr = true;
3594 }
3595 else
3596 hadErr = true;
3597
3598 if (hadErr) {
3599 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3600 PyErr_Print();
3601 }
3602 Py_DECREF(result);
3603 }
3604 wxPyEndBlockThreads(blocked);
3605 if (! found)
3606 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3607 }
3608
3609
3610
3611 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3615 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3616 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3617 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3618
3619
3620
3621
3622
3623 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3624 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3625
3626
3627 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3628 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3629 bool rval=false; \
3630 bool found; \
3631 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3632 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3633 PyObject* win = wxPyMake_wxObject(a,false); \
3634 PyObject* dc = wxPyMake_wxObject(&b,false); \
3635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3636 Py_DECREF(win); \
3637 Py_DECREF(dc); \
3638 } \
3639 wxPyEndBlockThreads(blocked); \
3640 if (! found) \
3641 rval = PCLASS::CBNAME(a, b); \
3642 return rval; \
3643 }
3644
3645
3646
3647
3648 class wxPyPrintPreview : public wxPrintPreview
3649 {
3650 DECLARE_CLASS(wxPyPrintPreview)
3651 public:
3652 wxPyPrintPreview(wxPyPrintout* printout,
3653 wxPyPrintout* printoutForPrinting,
3654 wxPrintDialogData* data=NULL)
3655 : wxPrintPreview(printout, printoutForPrinting, data)
3656 {}
3657 wxPyPrintPreview(wxPyPrintout* printout,
3658 wxPyPrintout* printoutForPrinting,
3659 wxPrintData* data)
3660 : wxPrintPreview(printout, printoutForPrinting, data)
3661 {}
3662
3663 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3666 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3667 DEC_PYCALLBACK_VOID_INT(SetZoom);
3668 DEC_PYCALLBACK_BOOL_BOOL(Print);
3669 DEC_PYCALLBACK_VOID_(DetermineScaling);
3670
3671 PYPRIVATE;
3672 };
3673
3674 // Stupid renamed classes... Fix this in 2.5...
3675 #if defined(__WXMSW__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3677 #elif defined(__WXMAC__)
3678 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3679 #else
3680 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3681 #endif
3682
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3686 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3687 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3688 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3689 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3690
3691
3692 class wxPyPreviewFrame : public wxPreviewFrame
3693 {
3694 DECLARE_CLASS(wxPyPreviewFrame)
3695 public:
3696 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3697 const wxString& title,
3698 const wxPoint& pos = wxDefaultPosition,
3699 const wxSize& size = wxDefaultSize,
3700 long style = wxDEFAULT_FRAME_STYLE,
3701 const wxString& name = wxPyFrameNameStr)
3702 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3703 {}
3704
3705 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3706 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3707
3708 DEC_PYCALLBACK_VOID_(Initialize);
3709 DEC_PYCALLBACK_VOID_(CreateCanvas);
3710 DEC_PYCALLBACK_VOID_(CreateControlBar);
3711
3712 PYPRIVATE;
3713 };
3714
3715 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3716
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3720
3721
3722 class wxPyPreviewControlBar : public wxPreviewControlBar
3723 {
3724 DECLARE_CLASS(wxPyPreviewControlBar)
3725 public:
3726 wxPyPreviewControlBar(wxPrintPreview *preview,
3727 long buttons,
3728 wxWindow *parent,
3729 const wxPoint& pos = wxDefaultPosition,
3730 const wxSize& size = wxDefaultSize,
3731 long style = 0,
3732 const wxString& name = wxPyPanelNameStr)
3733 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3734 {}
3735
3736 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3737
3738 DEC_PYCALLBACK_VOID_(CreateButtons);
3739 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3740
3741 PYPRIVATE;
3742 };
3743
3744 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3745 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3746 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3747
3748 #ifdef __cplusplus
3749 extern "C" {
3750 #endif
3751 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj = 0;
3753 wxWindow *arg1 = (wxWindow *) 0 ;
3754 int arg2 = (int) (int)-1 ;
3755 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3756 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3757 wxSize const &arg4_defvalue = wxDefaultSize ;
3758 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3759 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3760 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3761 wxString *arg6 = (wxString *) &arg6_defvalue ;
3762 wxPanel *result = 0 ;
3763 void *argp1 = 0 ;
3764 int res1 = 0 ;
3765 int val2 ;
3766 int ecode2 = 0 ;
3767 wxPoint temp3 ;
3768 wxSize temp4 ;
3769 long val5 ;
3770 int ecode5 = 0 ;
3771 bool temp6 = false ;
3772 PyObject * obj0 = 0 ;
3773 PyObject * obj1 = 0 ;
3774 PyObject * obj2 = 0 ;
3775 PyObject * obj3 = 0 ;
3776 PyObject * obj4 = 0 ;
3777 PyObject * obj5 = 0 ;
3778 char * kwnames[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3780 };
3781
3782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3784 if (!SWIG_IsOK(res1)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3786 }
3787 arg1 = reinterpret_cast< wxWindow * >(argp1);
3788 if (obj1) {
3789 ecode2 = SWIG_AsVal_int(obj1, &val2);
3790 if (!SWIG_IsOK(ecode2)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3792 }
3793 arg2 = static_cast< int >(val2);
3794 }
3795 if (obj2) {
3796 {
3797 arg3 = &temp3;
3798 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3799 }
3800 }
3801 if (obj3) {
3802 {
3803 arg4 = &temp4;
3804 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3805 }
3806 }
3807 if (obj4) {
3808 ecode5 = SWIG_AsVal_long(obj4, &val5);
3809 if (!SWIG_IsOK(ecode5)) {
3810 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3811 }
3812 arg5 = static_cast< long >(val5);
3813 }
3814 if (obj5) {
3815 {
3816 arg6 = wxString_in_helper(obj5);
3817 if (arg6 == NULL) SWIG_fail;
3818 temp6 = true;
3819 }
3820 }
3821 {
3822 if (!wxPyCheckForApp()) SWIG_fail;
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3829 {
3830 if (temp6)
3831 delete arg6;
3832 }
3833 return resultobj;
3834 fail:
3835 {
3836 if (temp6)
3837 delete arg6;
3838 }
3839 return NULL;
3840 }
3841
3842
3843 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3844 PyObject *resultobj = 0;
3845 wxPanel *result = 0 ;
3846
3847 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3848 {
3849 if (!wxPyCheckForApp()) SWIG_fail;
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (wxPanel *)new wxPanel();
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3856 return resultobj;
3857 fail:
3858 return NULL;
3859 }
3860
3861
3862 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj = 0;
3864 wxPanel *arg1 = (wxPanel *) 0 ;
3865 wxWindow *arg2 = (wxWindow *) 0 ;
3866 int arg3 = (int) (int)-1 ;
3867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3869 wxSize const &arg5_defvalue = wxDefaultSize ;
3870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3871 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3872 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3873 wxString *arg7 = (wxString *) &arg7_defvalue ;
3874 bool result;
3875 void *argp1 = 0 ;
3876 int res1 = 0 ;
3877 void *argp2 = 0 ;
3878 int res2 = 0 ;
3879 int val3 ;
3880 int ecode3 = 0 ;
3881 wxPoint temp4 ;
3882 wxSize temp5 ;
3883 long val6 ;
3884 int ecode6 = 0 ;
3885 bool temp7 = false ;
3886 PyObject * obj0 = 0 ;
3887 PyObject * obj1 = 0 ;
3888 PyObject * obj2 = 0 ;
3889 PyObject * obj3 = 0 ;
3890 PyObject * obj4 = 0 ;
3891 PyObject * obj5 = 0 ;
3892 PyObject * obj6 = 0 ;
3893 char * kwnames[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3895 };
3896
3897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3899 if (!SWIG_IsOK(res1)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3901 }
3902 arg1 = reinterpret_cast< wxPanel * >(argp1);
3903 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3904 if (!SWIG_IsOK(res2)) {
3905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3906 }
3907 arg2 = reinterpret_cast< wxWindow * >(argp2);
3908 if (obj2) {
3909 ecode3 = SWIG_AsVal_int(obj2, &val3);
3910 if (!SWIG_IsOK(ecode3)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3912 }
3913 arg3 = static_cast< int >(val3);
3914 }
3915 if (obj3) {
3916 {
3917 arg4 = &temp4;
3918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3919 }
3920 }
3921 if (obj4) {
3922 {
3923 arg5 = &temp5;
3924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3925 }
3926 }
3927 if (obj5) {
3928 ecode6 = SWIG_AsVal_long(obj5, &val6);
3929 if (!SWIG_IsOK(ecode6)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3931 }
3932 arg6 = static_cast< long >(val6);
3933 }
3934 if (obj6) {
3935 {
3936 arg7 = wxString_in_helper(obj6);
3937 if (arg7 == NULL) SWIG_fail;
3938 temp7 = true;
3939 }
3940 }
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 {
3948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3949 }
3950 {
3951 if (temp7)
3952 delete arg7;
3953 }
3954 return resultobj;
3955 fail:
3956 {
3957 if (temp7)
3958 delete arg7;
3959 }
3960 return NULL;
3961 }
3962
3963
3964 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3965 PyObject *resultobj = 0;
3966 wxPanel *arg1 = (wxPanel *) 0 ;
3967 void *argp1 = 0 ;
3968 int res1 = 0 ;
3969 PyObject *swig_obj[1] ;
3970
3971 if (!args) SWIG_fail;
3972 swig_obj[0] = args;
3973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3974 if (!SWIG_IsOK(res1)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3976 }
3977 arg1 = reinterpret_cast< wxPanel * >(argp1);
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 (arg1)->SetFocusIgnoringChildren();
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 resultobj = SWIG_Py_Void();
3985 return resultobj;
3986 fail:
3987 return NULL;
3988 }
3989
3990
3991 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj = 0;
3993 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3994 SwigValueWrapper<wxVisualAttributes > result;
3995 int val1 ;
3996 int ecode1 = 0 ;
3997 PyObject * obj0 = 0 ;
3998 char * kwnames[] = {
3999 (char *) "variant", NULL
4000 };
4001
4002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4003 if (obj0) {
4004 ecode1 = SWIG_AsVal_int(obj0, &val1);
4005 if (!SWIG_IsOK(ecode1)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4007 }
4008 arg1 = static_cast< wxWindowVariant >(val1);
4009 }
4010 {
4011 if (!wxPyCheckForApp()) SWIG_fail;
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = wxPanel::GetClassDefaultAttributes(arg1);
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4018 return resultobj;
4019 fail:
4020 return NULL;
4021 }
4022
4023
4024 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4025 PyObject *obj;
4026 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4028 return SWIG_Py_Void();
4029 }
4030
4031 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4032 return SWIG_Python_InitShadowInstance(args);
4033 }
4034
4035 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4036 PyObject *resultobj = 0;
4037 wxWindow *arg1 = (wxWindow *) 0 ;
4038 int arg2 = (int) (int)-1 ;
4039 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4040 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4041 wxSize const &arg4_defvalue = wxDefaultSize ;
4042 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4043 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4044 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4045 wxString *arg6 = (wxString *) &arg6_defvalue ;
4046 wxScrolledWindow *result = 0 ;
4047 void *argp1 = 0 ;
4048 int res1 = 0 ;
4049 int val2 ;
4050 int ecode2 = 0 ;
4051 wxPoint temp3 ;
4052 wxSize temp4 ;
4053 long val5 ;
4054 int ecode5 = 0 ;
4055 bool temp6 = false ;
4056 PyObject * obj0 = 0 ;
4057 PyObject * obj1 = 0 ;
4058 PyObject * obj2 = 0 ;
4059 PyObject * obj3 = 0 ;
4060 PyObject * obj4 = 0 ;
4061 PyObject * obj5 = 0 ;
4062 char * kwnames[] = {
4063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4064 };
4065
4066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4068 if (!SWIG_IsOK(res1)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4070 }
4071 arg1 = reinterpret_cast< wxWindow * >(argp1);
4072 if (obj1) {
4073 ecode2 = SWIG_AsVal_int(obj1, &val2);
4074 if (!SWIG_IsOK(ecode2)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4076 }
4077 arg2 = static_cast< int >(val2);
4078 }
4079 if (obj2) {
4080 {
4081 arg3 = &temp3;
4082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4083 }
4084 }
4085 if (obj3) {
4086 {
4087 arg4 = &temp4;
4088 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4089 }
4090 }
4091 if (obj4) {
4092 ecode5 = SWIG_AsVal_long(obj4, &val5);
4093 if (!SWIG_IsOK(ecode5)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4095 }
4096 arg5 = static_cast< long >(val5);
4097 }
4098 if (obj5) {
4099 {
4100 arg6 = wxString_in_helper(obj5);
4101 if (arg6 == NULL) SWIG_fail;
4102 temp6 = true;
4103 }
4104 }
4105 {
4106 if (!wxPyCheckForApp()) SWIG_fail;
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
4112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4113 {
4114 if (temp6)
4115 delete arg6;
4116 }
4117 return resultobj;
4118 fail:
4119 {
4120 if (temp6)
4121 delete arg6;
4122 }
4123 return NULL;
4124 }
4125
4126
4127 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4128 PyObject *resultobj = 0;
4129 wxScrolledWindow *result = 0 ;
4130
4131 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4132 {
4133 if (!wxPyCheckForApp()) SWIG_fail;
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 result = (wxScrolledWindow *)new wxScrolledWindow();
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4140 return resultobj;
4141 fail:
4142 return NULL;
4143 }
4144
4145
4146 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj = 0;
4148 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4149 wxWindow *arg2 = (wxWindow *) 0 ;
4150 int arg3 = (int) (int)-1 ;
4151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4153 wxSize const &arg5_defvalue = wxDefaultSize ;
4154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4155 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4156 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4157 wxString *arg7 = (wxString *) &arg7_defvalue ;
4158 bool result;
4159 void *argp1 = 0 ;
4160 int res1 = 0 ;
4161 void *argp2 = 0 ;
4162 int res2 = 0 ;
4163 int val3 ;
4164 int ecode3 = 0 ;
4165 wxPoint temp4 ;
4166 wxSize temp5 ;
4167 long val6 ;
4168 int ecode6 = 0 ;
4169 bool temp7 = false ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4172 PyObject * obj2 = 0 ;
4173 PyObject * obj3 = 0 ;
4174 PyObject * obj4 = 0 ;
4175 PyObject * obj5 = 0 ;
4176 PyObject * obj6 = 0 ;
4177 char * kwnames[] = {
4178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4179 };
4180
4181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4183 if (!SWIG_IsOK(res1)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4185 }
4186 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4187 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4188 if (!SWIG_IsOK(res2)) {
4189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4190 }
4191 arg2 = reinterpret_cast< wxWindow * >(argp2);
4192 if (obj2) {
4193 ecode3 = SWIG_AsVal_int(obj2, &val3);
4194 if (!SWIG_IsOK(ecode3)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4196 }
4197 arg3 = static_cast< int >(val3);
4198 }
4199 if (obj3) {
4200 {
4201 arg4 = &temp4;
4202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4203 }
4204 }
4205 if (obj4) {
4206 {
4207 arg5 = &temp5;
4208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4209 }
4210 }
4211 if (obj5) {
4212 ecode6 = SWIG_AsVal_long(obj5, &val6);
4213 if (!SWIG_IsOK(ecode6)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4215 }
4216 arg6 = static_cast< long >(val6);
4217 }
4218 if (obj6) {
4219 {
4220 arg7 = wxString_in_helper(obj6);
4221 if (arg7 == NULL) SWIG_fail;
4222 temp7 = true;
4223 }
4224 }
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 {
4232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4233 }
4234 {
4235 if (temp7)
4236 delete arg7;
4237 }
4238 return resultobj;
4239 fail:
4240 {
4241 if (temp7)
4242 delete arg7;
4243 }
4244 return NULL;
4245 }
4246
4247
4248 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj = 0;
4250 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4251 int arg2 ;
4252 int arg3 ;
4253 int arg4 ;
4254 int arg5 ;
4255 int arg6 = (int) 0 ;
4256 int arg7 = (int) 0 ;
4257 bool arg8 = (bool) false ;
4258 void *argp1 = 0 ;
4259 int res1 = 0 ;
4260 int val2 ;
4261 int ecode2 = 0 ;
4262 int val3 ;
4263 int ecode3 = 0 ;
4264 int val4 ;
4265 int ecode4 = 0 ;
4266 int val5 ;
4267 int ecode5 = 0 ;
4268 int val6 ;
4269 int ecode6 = 0 ;
4270 int val7 ;
4271 int ecode7 = 0 ;
4272 bool val8 ;
4273 int ecode8 = 0 ;
4274 PyObject * obj0 = 0 ;
4275 PyObject * obj1 = 0 ;
4276 PyObject * obj2 = 0 ;
4277 PyObject * obj3 = 0 ;
4278 PyObject * obj4 = 0 ;
4279 PyObject * obj5 = 0 ;
4280 PyObject * obj6 = 0 ;
4281 PyObject * obj7 = 0 ;
4282 char * kwnames[] = {
4283 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4284 };
4285
4286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4288 if (!SWIG_IsOK(res1)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4290 }
4291 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4292 ecode2 = SWIG_AsVal_int(obj1, &val2);
4293 if (!SWIG_IsOK(ecode2)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4295 }
4296 arg2 = static_cast< int >(val2);
4297 ecode3 = SWIG_AsVal_int(obj2, &val3);
4298 if (!SWIG_IsOK(ecode3)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4300 }
4301 arg3 = static_cast< int >(val3);
4302 ecode4 = SWIG_AsVal_int(obj3, &val4);
4303 if (!SWIG_IsOK(ecode4)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4305 }
4306 arg4 = static_cast< int >(val4);
4307 ecode5 = SWIG_AsVal_int(obj4, &val5);
4308 if (!SWIG_IsOK(ecode5)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4310 }
4311 arg5 = static_cast< int >(val5);
4312 if (obj5) {
4313 ecode6 = SWIG_AsVal_int(obj5, &val6);
4314 if (!SWIG_IsOK(ecode6)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4316 }
4317 arg6 = static_cast< int >(val6);
4318 }
4319 if (obj6) {
4320 ecode7 = SWIG_AsVal_int(obj6, &val7);
4321 if (!SWIG_IsOK(ecode7)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4323 }
4324 arg7 = static_cast< int >(val7);
4325 }
4326 if (obj7) {
4327 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4328 if (!SWIG_IsOK(ecode8)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4330 }
4331 arg8 = static_cast< bool >(val8);
4332 }
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 resultobj = SWIG_Py_Void();
4340 return resultobj;
4341 fail:
4342 return NULL;
4343 }
4344
4345
4346 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4347 PyObject *resultobj = 0;
4348 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4349 int arg2 ;
4350 int arg3 ;
4351 void *argp1 = 0 ;
4352 int res1 = 0 ;
4353 int val2 ;
4354 int ecode2 = 0 ;
4355 int val3 ;
4356 int ecode3 = 0 ;
4357 PyObject * obj0 = 0 ;
4358 PyObject * obj1 = 0 ;
4359 PyObject * obj2 = 0 ;
4360 char * kwnames[] = {
4361 (char *) "self",(char *) "x",(char *) "y", NULL
4362 };
4363
4364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4366 if (!SWIG_IsOK(res1)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4368 }
4369 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4370 ecode2 = SWIG_AsVal_int(obj1, &val2);
4371 if (!SWIG_IsOK(ecode2)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4373 }
4374 arg2 = static_cast< int >(val2);
4375 ecode3 = SWIG_AsVal_int(obj2, &val3);
4376 if (!SWIG_IsOK(ecode3)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4378 }
4379 arg3 = static_cast< int >(val3);
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 (arg1)->Scroll(arg2,arg3);
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 resultobj = SWIG_Py_Void();
4387 return resultobj;
4388 fail:
4389 return NULL;
4390 }
4391
4392
4393 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj = 0;
4395 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4396 int arg2 ;
4397 int result;
4398 void *argp1 = 0 ;
4399 int res1 = 0 ;
4400 int val2 ;
4401 int ecode2 = 0 ;
4402 PyObject * obj0 = 0 ;
4403 PyObject * obj1 = 0 ;
4404 char * kwnames[] = {
4405 (char *) "self",(char *) "orient", NULL
4406 };
4407
4408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4410 if (!SWIG_IsOK(res1)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4412 }
4413 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4414 ecode2 = SWIG_AsVal_int(obj1, &val2);
4415 if (!SWIG_IsOK(ecode2)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4417 }
4418 arg2 = static_cast< int >(val2);
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_From_int(static_cast< int >(result));
4426 return resultobj;
4427 fail:
4428 return NULL;
4429 }
4430
4431
4432 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj = 0;
4434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4435 int arg2 ;
4436 int arg3 ;
4437 void *argp1 = 0 ;
4438 int res1 = 0 ;
4439 int val2 ;
4440 int ecode2 = 0 ;
4441 int val3 ;
4442 int ecode3 = 0 ;
4443 PyObject * obj0 = 0 ;
4444 PyObject * obj1 = 0 ;
4445 PyObject * obj2 = 0 ;
4446 char * kwnames[] = {
4447 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4448 };
4449
4450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4452 if (!SWIG_IsOK(res1)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 }
4455 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4456 ecode2 = SWIG_AsVal_int(obj1, &val2);
4457 if (!SWIG_IsOK(ecode2)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4459 }
4460 arg2 = static_cast< int >(val2);
4461 ecode3 = SWIG_AsVal_int(obj2, &val3);
4462 if (!SWIG_IsOK(ecode3)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4464 }
4465 arg3 = static_cast< int >(val3);
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 (arg1)->SetScrollPageSize(arg2,arg3);
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 resultobj = SWIG_Py_Void();
4473 return resultobj;
4474 fail:
4475 return NULL;
4476 }
4477
4478
4479 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj = 0;
4481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4482 int arg2 ;
4483 int arg3 ;
4484 void *argp1 = 0 ;
4485 int res1 = 0 ;
4486 int val2 ;
4487 int ecode2 = 0 ;
4488 int val3 ;
4489 int ecode3 = 0 ;
4490 PyObject * obj0 = 0 ;
4491 PyObject * obj1 = 0 ;
4492 PyObject * obj2 = 0 ;
4493 char * kwnames[] = {
4494 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4495 };
4496
4497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4499 if (!SWIG_IsOK(res1)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4501 }
4502 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4503 ecode2 = SWIG_AsVal_int(obj1, &val2);
4504 if (!SWIG_IsOK(ecode2)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4506 }
4507 arg2 = static_cast< int >(val2);
4508 ecode3 = SWIG_AsVal_int(obj2, &val3);
4509 if (!SWIG_IsOK(ecode3)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4511 }
4512 arg3 = static_cast< int >(val3);
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 (arg1)->SetScrollRate(arg2,arg3);
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 resultobj = SWIG_Py_Void();
4520 return resultobj;
4521 fail:
4522 return NULL;
4523 }
4524
4525
4526 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4527 PyObject *resultobj = 0;
4528 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4529 int *arg2 = (int *) 0 ;
4530 int *arg3 = (int *) 0 ;
4531 void *argp1 = 0 ;
4532 int res1 = 0 ;
4533 int temp2 ;
4534 int res2 = SWIG_TMPOBJ ;
4535 int temp3 ;
4536 int res3 = SWIG_TMPOBJ ;
4537 PyObject *swig_obj[1] ;
4538
4539 arg2 = &temp2;
4540 arg3 = &temp3;
4541 if (!args) SWIG_fail;
4542 swig_obj[0] = args;
4543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4544 if (!SWIG_IsOK(res1)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4546 }
4547 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 resultobj = SWIG_Py_Void();
4555 if (SWIG_IsTmpObj(res2)) {
4556 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4557 } else {
4558 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4560 }
4561 if (SWIG_IsTmpObj(res3)) {
4562 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4563 } else {
4564 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4565 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4566 }
4567 return resultobj;
4568 fail:
4569 return NULL;
4570 }
4571
4572
4573 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj = 0;
4575 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4576 bool arg2 ;
4577 bool arg3 ;
4578 void *argp1 = 0 ;
4579 int res1 = 0 ;
4580 bool val2 ;
4581 int ecode2 = 0 ;
4582 bool val3 ;
4583 int ecode3 = 0 ;
4584 PyObject * obj0 = 0 ;
4585 PyObject * obj1 = 0 ;
4586 PyObject * obj2 = 0 ;
4587 char * kwnames[] = {
4588 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4589 };
4590
4591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4593 if (!SWIG_IsOK(res1)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4595 }
4596 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4597 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4598 if (!SWIG_IsOK(ecode2)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4600 }
4601 arg2 = static_cast< bool >(val2);
4602 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4603 if (!SWIG_IsOK(ecode3)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4605 }
4606 arg3 = static_cast< bool >(val3);
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 (arg1)->EnableScrolling(arg2,arg3);
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 resultobj = SWIG_Py_Void();
4614 return resultobj;
4615 fail:
4616 return NULL;
4617 }
4618
4619
4620 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4621 PyObject *resultobj = 0;
4622 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4623 int *arg2 = (int *) 0 ;
4624 int *arg3 = (int *) 0 ;
4625 void *argp1 = 0 ;
4626 int res1 = 0 ;
4627 int temp2 ;
4628 int res2 = SWIG_TMPOBJ ;
4629 int temp3 ;
4630 int res3 = SWIG_TMPOBJ ;
4631 PyObject *swig_obj[1] ;
4632
4633 arg2 = &temp2;
4634 arg3 = &temp3;
4635 if (!args) SWIG_fail;
4636 swig_obj[0] = args;
4637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4638 if (!SWIG_IsOK(res1)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4640 }
4641 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 resultobj = SWIG_Py_Void();
4649 if (SWIG_IsTmpObj(res2)) {
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4651 } else {
4652 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4653 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4654 }
4655 if (SWIG_IsTmpObj(res3)) {
4656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4657 } else {
4658 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4659 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4660 }
4661 return resultobj;
4662 fail:
4663 return NULL;
4664 }
4665
4666
4667 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj = 0;
4669 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4670 double arg2 ;
4671 double arg3 ;
4672 void *argp1 = 0 ;
4673 int res1 = 0 ;
4674 double val2 ;
4675 int ecode2 = 0 ;
4676 double val3 ;
4677 int ecode3 = 0 ;
4678 PyObject * obj0 = 0 ;
4679 PyObject * obj1 = 0 ;
4680 PyObject * obj2 = 0 ;
4681 char * kwnames[] = {
4682 (char *) "self",(char *) "xs",(char *) "ys", NULL
4683 };
4684
4685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4687 if (!SWIG_IsOK(res1)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4689 }
4690 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4691 ecode2 = SWIG_AsVal_double(obj1, &val2);
4692 if (!SWIG_IsOK(ecode2)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4694 }
4695 arg2 = static_cast< double >(val2);
4696 ecode3 = SWIG_AsVal_double(obj2, &val3);
4697 if (!SWIG_IsOK(ecode3)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4699 }
4700 arg3 = static_cast< double >(val3);
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 (arg1)->SetScale(arg2,arg3);
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 resultobj = SWIG_Py_Void();
4708 return resultobj;
4709 fail:
4710 return NULL;
4711 }
4712
4713
4714 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4715 PyObject *resultobj = 0;
4716 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4717 double result;
4718 void *argp1 = 0 ;
4719 int res1 = 0 ;
4720 PyObject *swig_obj[1] ;
4721
4722 if (!args) SWIG_fail;
4723 swig_obj[0] = args;
4724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4725 if (!SWIG_IsOK(res1)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4727 }
4728 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4729 {
4730 PyThreadState* __tstate = wxPyBeginAllowThreads();
4731 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 resultobj = SWIG_From_double(static_cast< double >(result));
4736 return resultobj;
4737 fail:
4738 return NULL;
4739 }
4740
4741
4742 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4743 PyObject *resultobj = 0;
4744 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4745 double result;
4746 void *argp1 = 0 ;
4747 int res1 = 0 ;
4748 PyObject *swig_obj[1] ;
4749
4750 if (!args) SWIG_fail;
4751 swig_obj[0] = args;
4752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4753 if (!SWIG_IsOK(res1)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4755 }
4756 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 resultobj = SWIG_From_double(static_cast< double >(result));
4764 return resultobj;
4765 fail:
4766 return NULL;
4767 }
4768
4769
4770 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4771 PyObject *resultobj = 0;
4772 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4773 wxPoint *arg2 = 0 ;
4774 wxPoint result;
4775 void *argp1 = 0 ;
4776 int res1 = 0 ;
4777 wxPoint temp2 ;
4778
4779 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4781 if (!SWIG_IsOK(res1)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4783 }
4784 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4785 {
4786 arg2 = &temp2;
4787 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4788 }
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4796 return resultobj;
4797 fail:
4798 return NULL;
4799 }
4800
4801
4802 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4803 PyObject *resultobj = 0;
4804 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4805 int arg2 ;
4806 int arg3 ;
4807 int *arg4 = (int *) 0 ;
4808 int *arg5 = (int *) 0 ;
4809 void *argp1 = 0 ;
4810 int res1 = 0 ;
4811 int val2 ;
4812 int ecode2 = 0 ;
4813 int val3 ;
4814 int ecode3 = 0 ;
4815 int temp4 ;
4816 int res4 = SWIG_TMPOBJ ;
4817 int temp5 ;
4818 int res5 = SWIG_TMPOBJ ;
4819
4820 arg4 = &temp4;
4821 arg5 = &temp5;
4822 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4824 if (!SWIG_IsOK(res1)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4826 }
4827 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4828 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4829 if (!SWIG_IsOK(ecode2)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4831 }
4832 arg2 = static_cast< int >(val2);
4833 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4834 if (!SWIG_IsOK(ecode3)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4836 }
4837 arg3 = static_cast< int >(val3);
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 resultobj = SWIG_Py_Void();
4845 if (SWIG_IsTmpObj(res4)) {
4846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4847 } else {
4848 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4850 }
4851 if (SWIG_IsTmpObj(res5)) {
4852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4853 } else {
4854 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4855 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4856 }
4857 return resultobj;
4858 fail:
4859 return NULL;
4860 }
4861
4862
4863 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4864 int argc;
4865 PyObject *argv[4];
4866
4867 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4868 --argc;
4869 if (argc == 2) {
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4871 }
4872 if (argc == 3) {
4873 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4874 }
4875
4876 fail:
4877 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4878 return NULL;
4879 }
4880
4881
4882 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4883 PyObject *resultobj = 0;
4884 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4885 wxPoint *arg2 = 0 ;
4886 wxPoint result;
4887 void *argp1 = 0 ;
4888 int res1 = 0 ;
4889 wxPoint temp2 ;
4890
4891 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4893 if (!SWIG_IsOK(res1)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4895 }
4896 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4897 {
4898 arg2 = &temp2;
4899 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4900 }
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4908 return resultobj;
4909 fail:
4910 return NULL;
4911 }
4912
4913
4914 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4915 PyObject *resultobj = 0;
4916 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4917 int arg2 ;
4918 int arg3 ;
4919 int *arg4 = (int *) 0 ;
4920 int *arg5 = (int *) 0 ;
4921 void *argp1 = 0 ;
4922 int res1 = 0 ;
4923 int val2 ;
4924 int ecode2 = 0 ;
4925 int val3 ;
4926 int ecode3 = 0 ;
4927 int temp4 ;
4928 int res4 = SWIG_TMPOBJ ;
4929 int temp5 ;
4930 int res5 = SWIG_TMPOBJ ;
4931
4932 arg4 = &temp4;
4933 arg5 = &temp5;
4934 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4936 if (!SWIG_IsOK(res1)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4938 }
4939 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4940 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4941 if (!SWIG_IsOK(ecode2)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4943 }
4944 arg2 = static_cast< int >(val2);
4945 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4946 if (!SWIG_IsOK(ecode3)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4948 }
4949 arg3 = static_cast< int >(val3);
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 resultobj = SWIG_Py_Void();
4957 if (SWIG_IsTmpObj(res4)) {
4958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4959 } else {
4960 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4962 }
4963 if (SWIG_IsTmpObj(res5)) {
4964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4965 } else {
4966 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4967 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4968 }
4969 return resultobj;
4970 fail:
4971 return NULL;
4972 }
4973
4974
4975 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4976 int argc;
4977 PyObject *argv[4];
4978
4979 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4980 --argc;
4981 if (argc == 2) {
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4983 }
4984 if (argc == 3) {
4985 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4986 }
4987
4988 fail:
4989 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4990 return NULL;
4991 }
4992
4993
4994 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4995 PyObject *resultobj = 0;
4996 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4997 void *argp1 = 0 ;
4998 int res1 = 0 ;
4999 PyObject *swig_obj[1] ;
5000
5001 if (!args) SWIG_fail;
5002 swig_obj[0] = args;
5003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5004 if (!SWIG_IsOK(res1)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5006 }
5007 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5008 {
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 (arg1)->AdjustScrollbars();
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 resultobj = SWIG_Py_Void();
5015 return resultobj;
5016 fail:
5017 return NULL;
5018 }
5019
5020
5021 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj = 0;
5023 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5024 wxScrollWinEvent *arg2 = 0 ;
5025 int result;
5026 void *argp1 = 0 ;
5027 int res1 = 0 ;
5028 void *argp2 = 0 ;
5029 int res2 = 0 ;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 char * kwnames[] = {
5033 (char *) "self",(char *) "event", NULL
5034 };
5035
5036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5038 if (!SWIG_IsOK(res1)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5040 }
5041 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5042 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5043 if (!SWIG_IsOK(res2)) {
5044 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 }
5046 if (!argp2) {
5047 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 }
5049 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 result = (int)(arg1)->CalcScrollInc(*arg2);
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 resultobj = SWIG_From_int(static_cast< int >(result));
5057 return resultobj;
5058 fail:
5059 return NULL;
5060 }
5061
5062
5063 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj = 0;
5065 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5066 wxWindow *arg2 = (wxWindow *) 0 ;
5067 void *argp1 = 0 ;
5068 int res1 = 0 ;
5069 void *argp2 = 0 ;
5070 int res2 = 0 ;
5071 PyObject * obj0 = 0 ;
5072 PyObject * obj1 = 0 ;
5073 char * kwnames[] = {
5074 (char *) "self",(char *) "target", NULL
5075 };
5076
5077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5079 if (!SWIG_IsOK(res1)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5081 }
5082 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5083 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5084 if (!SWIG_IsOK(res2)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5086 }
5087 arg2 = reinterpret_cast< wxWindow * >(argp2);
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 (arg1)->SetTargetWindow(arg2);
5091 wxPyEndAllowThreads(__tstate);
5092 if (PyErr_Occurred()) SWIG_fail;
5093 }
5094 resultobj = SWIG_Py_Void();
5095 return resultobj;
5096 fail:
5097 return NULL;
5098 }
5099
5100
5101 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5102 PyObject *resultobj = 0;
5103 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5104 wxWindow *result = 0 ;
5105 void *argp1 = 0 ;
5106 int res1 = 0 ;
5107 PyObject *swig_obj[1] ;
5108
5109 if (!args) SWIG_fail;
5110 swig_obj[0] = args;
5111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5112 if (!SWIG_IsOK(res1)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5114 }
5115 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 {
5123 resultobj = wxPyMake_wxObject(result, 0);
5124 }
5125 return resultobj;
5126 fail:
5127 return NULL;
5128 }
5129
5130
5131 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj = 0;
5133 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5134 wxDC *arg2 = 0 ;
5135 void *argp1 = 0 ;
5136 int res1 = 0 ;
5137 void *argp2 = 0 ;
5138 int res2 = 0 ;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 char * kwnames[] = {
5142 (char *) "self",(char *) "dc", NULL
5143 };
5144
5145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5147 if (!SWIG_IsOK(res1)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5149 }
5150 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5151 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5152 if (!SWIG_IsOK(res2)) {
5153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5154 }
5155 if (!argp2) {
5156 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5157 }
5158 arg2 = reinterpret_cast< wxDC * >(argp2);
5159 {
5160 PyThreadState* __tstate = wxPyBeginAllowThreads();
5161 (arg1)->DoPrepareDC(*arg2);
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 resultobj = SWIG_Py_Void();
5166 return resultobj;
5167 fail:
5168 return NULL;
5169 }
5170
5171
5172 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5173 PyObject *resultobj = 0;
5174 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5175 SwigValueWrapper<wxVisualAttributes > result;
5176 int val1 ;
5177 int ecode1 = 0 ;
5178 PyObject * obj0 = 0 ;
5179 char * kwnames[] = {
5180 (char *) "variant", NULL
5181 };
5182
5183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5184 if (obj0) {
5185 ecode1 = SWIG_AsVal_int(obj0, &val1);
5186 if (!SWIG_IsOK(ecode1)) {
5187 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5188 }
5189 arg1 = static_cast< wxWindowVariant >(val1);
5190 }
5191 {
5192 if (!wxPyCheckForApp()) SWIG_fail;
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5199 return resultobj;
5200 fail:
5201 return NULL;
5202 }
5203
5204
5205 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5206 PyObject *obj;
5207 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5208 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5209 return SWIG_Py_Void();
5210 }
5211
5212 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5213 return SWIG_Python_InitShadowInstance(args);
5214 }
5215
5216 SWIGINTERN int FrameNameStr_set(PyObject *) {
5217 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5218 return 1;
5219 }
5220
5221
5222 SWIGINTERN PyObject *FrameNameStr_get(void) {
5223 PyObject *pyobj = 0;
5224
5225 {
5226 #if wxUSE_UNICODE
5227 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5228 #else
5229 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5230 #endif
5231 }
5232 return pyobj;
5233 }
5234
5235
5236 SWIGINTERN int DialogNameStr_set(PyObject *) {
5237 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5238 return 1;
5239 }
5240
5241
5242 SWIGINTERN PyObject *DialogNameStr_get(void) {
5243 PyObject *pyobj = 0;
5244
5245 {
5246 #if wxUSE_UNICODE
5247 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5248 #else
5249 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5250 #endif
5251 }
5252 return pyobj;
5253 }
5254
5255
5256 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5257 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5258 return 1;
5259 }
5260
5261
5262 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5263 PyObject *pyobj = 0;
5264
5265 {
5266 #if wxUSE_UNICODE
5267 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5268 #else
5269 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5270 #endif
5271 }
5272 return pyobj;
5273 }
5274
5275
5276 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5277 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5278 return 1;
5279 }
5280
5281
5282 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5283 PyObject *pyobj = 0;
5284
5285 {
5286 #if wxUSE_UNICODE
5287 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5288 #else
5289 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5290 #endif
5291 }
5292 return pyobj;
5293 }
5294
5295
5296 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5297 PyObject *resultobj = 0;
5298 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5299 bool arg2 = (bool) true ;
5300 void *argp1 = 0 ;
5301 int res1 = 0 ;
5302 bool val2 ;
5303 int ecode2 = 0 ;
5304 PyObject * obj0 = 0 ;
5305 PyObject * obj1 = 0 ;
5306 char * kwnames[] = {
5307 (char *) "self",(char *) "maximize", NULL
5308 };
5309
5310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5312 if (!SWIG_IsOK(res1)) {
5313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5314 }
5315 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5316 if (obj1) {
5317 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5318 if (!SWIG_IsOK(ecode2)) {
5319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5320 }
5321 arg2 = static_cast< bool >(val2);
5322 }
5323 {
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 (arg1)->Maximize(arg2);
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 resultobj = SWIG_Py_Void();
5330 return resultobj;
5331 fail:
5332 return NULL;
5333 }
5334
5335
5336 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5337 PyObject *resultobj = 0;
5338 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5339 void *argp1 = 0 ;
5340 int res1 = 0 ;
5341 PyObject *swig_obj[1] ;
5342
5343 if (!args) SWIG_fail;
5344 swig_obj[0] = args;
5345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5346 if (!SWIG_IsOK(res1)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5348 }
5349 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 (arg1)->Restore();
5353 wxPyEndAllowThreads(__tstate);
5354 if (PyErr_Occurred()) SWIG_fail;
5355 }
5356 resultobj = SWIG_Py_Void();
5357 return resultobj;
5358 fail:
5359 return NULL;
5360 }
5361
5362
5363 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5364 PyObject *resultobj = 0;
5365 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5366 bool arg2 = (bool) true ;
5367 void *argp1 = 0 ;
5368 int res1 = 0 ;
5369 bool val2 ;
5370 int ecode2 = 0 ;
5371 PyObject * obj0 = 0 ;
5372 PyObject * obj1 = 0 ;
5373 char * kwnames[] = {
5374 (char *) "self",(char *) "iconize", NULL
5375 };
5376
5377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5379 if (!SWIG_IsOK(res1)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5381 }
5382 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5383 if (obj1) {
5384 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5385 if (!SWIG_IsOK(ecode2)) {
5386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5387 }
5388 arg2 = static_cast< bool >(val2);
5389 }
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 (arg1)->Iconize(arg2);
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 resultobj = SWIG_Py_Void();
5397 return resultobj;
5398 fail:
5399 return NULL;
5400 }
5401
5402
5403 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5404 PyObject *resultobj = 0;
5405 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5406 bool result;
5407 void *argp1 = 0 ;
5408 int res1 = 0 ;
5409 PyObject *swig_obj[1] ;
5410
5411 if (!args) SWIG_fail;
5412 swig_obj[0] = args;
5413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5414 if (!SWIG_IsOK(res1)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5416 }
5417 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 {
5425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5426 }
5427 return resultobj;
5428 fail:
5429 return NULL;
5430 }
5431
5432
5433 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5434 PyObject *resultobj = 0;
5435 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5436 bool result;
5437 void *argp1 = 0 ;
5438 int res1 = 0 ;
5439 PyObject *swig_obj[1] ;
5440
5441 if (!args) SWIG_fail;
5442 swig_obj[0] = args;
5443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5444 if (!SWIG_IsOK(res1)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5446 }
5447 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5448 {
5449 PyThreadState* __tstate = wxPyBeginAllowThreads();
5450 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 {
5455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5456 }
5457 return resultobj;
5458 fail:
5459 return NULL;
5460 }
5461
5462
5463 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5464 PyObject *resultobj = 0;
5465 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5466 bool result;
5467 void *argp1 = 0 ;
5468 int res1 = 0 ;
5469 PyObject *swig_obj[1] ;
5470
5471 if (!args) SWIG_fail;
5472 swig_obj[0] = args;
5473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5474 if (!SWIG_IsOK(res1)) {
5475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5476 }
5477 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5478 {
5479 PyThreadState* __tstate = wxPyBeginAllowThreads();
5480 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 {
5485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5486 }
5487 return resultobj;
5488 fail:
5489 return NULL;
5490 }
5491
5492
5493 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5494 PyObject *resultobj = 0;
5495 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5496 wxIcon result;
5497 void *argp1 = 0 ;
5498 int res1 = 0 ;
5499 PyObject *swig_obj[1] ;
5500
5501 if (!args) SWIG_fail;
5502 swig_obj[0] = args;
5503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5504 if (!SWIG_IsOK(res1)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5506 }
5507 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5508 {
5509 PyThreadState* __tstate = wxPyBeginAllowThreads();
5510 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5511 wxPyEndAllowThreads(__tstate);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 }
5514 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5515 return resultobj;
5516 fail:
5517 return NULL;
5518 }
5519
5520
5521 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5522 PyObject *resultobj = 0;
5523 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5524 wxIcon *arg2 = 0 ;
5525 void *argp1 = 0 ;
5526 int res1 = 0 ;
5527 void *argp2 = 0 ;
5528 int res2 = 0 ;
5529 PyObject * obj0 = 0 ;
5530 PyObject * obj1 = 0 ;
5531 char * kwnames[] = {
5532 (char *) "self",(char *) "icon", NULL
5533 };
5534
5535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5537 if (!SWIG_IsOK(res1)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5539 }
5540 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5541 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5542 if (!SWIG_IsOK(res2)) {
5543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5544 }
5545 if (!argp2) {
5546 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5547 }
5548 arg2 = reinterpret_cast< wxIcon * >(argp2);
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 (arg1)->SetIcon((wxIcon const &)*arg2);
5552 wxPyEndAllowThreads(__tstate);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 resultobj = SWIG_Py_Void();
5556 return resultobj;
5557 fail:
5558 return NULL;
5559 }
5560
5561
5562 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5563 PyObject *resultobj = 0;
5564 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5565 wxIconBundle *arg2 = 0 ;
5566 void *argp1 = 0 ;
5567 int res1 = 0 ;
5568 void *argp2 = 0 ;
5569 int res2 = 0 ;
5570 PyObject * obj0 = 0 ;
5571 PyObject * obj1 = 0 ;
5572 char * kwnames[] = {
5573 (char *) "self",(char *) "icons", NULL
5574 };
5575
5576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5578 if (!SWIG_IsOK(res1)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5580 }
5581 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5582 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5583 if (!SWIG_IsOK(res2)) {
5584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5585 }
5586 if (!argp2) {
5587 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5588 }
5589 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
5596 resultobj = SWIG_Py_Void();
5597 return resultobj;
5598 fail:
5599 return NULL;
5600 }
5601
5602
5603 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5604 PyObject *resultobj = 0;
5605 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5606 bool arg2 ;
5607 long arg3 = (long) wxFULLSCREEN_ALL ;
5608 bool result;
5609 void *argp1 = 0 ;
5610 int res1 = 0 ;
5611 bool val2 ;
5612 int ecode2 = 0 ;
5613 long val3 ;
5614 int ecode3 = 0 ;
5615 PyObject * obj0 = 0 ;
5616 PyObject * obj1 = 0 ;
5617 PyObject * obj2 = 0 ;
5618 char * kwnames[] = {
5619 (char *) "self",(char *) "show",(char *) "style", NULL
5620 };
5621
5622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5624 if (!SWIG_IsOK(res1)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5626 }
5627 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5628 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5629 if (!SWIG_IsOK(ecode2)) {
5630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5631 }
5632 arg2 = static_cast< bool >(val2);
5633 if (obj2) {
5634 ecode3 = SWIG_AsVal_long(obj2, &val3);
5635 if (!SWIG_IsOK(ecode3)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5637 }
5638 arg3 = static_cast< long >(val3);
5639 }
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 {
5647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5648 }
5649 return resultobj;
5650 fail:
5651 return NULL;
5652 }
5653
5654
5655 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5656 PyObject *resultobj = 0;
5657 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5658 bool result;
5659 void *argp1 = 0 ;
5660 int res1 = 0 ;
5661 PyObject *swig_obj[1] ;
5662
5663 if (!args) SWIG_fail;
5664 swig_obj[0] = args;
5665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5666 if (!SWIG_IsOK(res1)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5668 }
5669 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 {
5677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5678 }
5679 return resultobj;
5680 fail:
5681 return NULL;
5682 }
5683
5684
5685 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5686 PyObject *resultobj = 0;
5687 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5688 wxString *arg2 = 0 ;
5689 void *argp1 = 0 ;
5690 int res1 = 0 ;
5691 bool temp2 = false ;
5692 PyObject * obj0 = 0 ;
5693 PyObject * obj1 = 0 ;
5694 char * kwnames[] = {
5695 (char *) "self",(char *) "title", NULL
5696 };
5697
5698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5700 if (!SWIG_IsOK(res1)) {
5701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5702 }
5703 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5704 {
5705 arg2 = wxString_in_helper(obj1);
5706 if (arg2 == NULL) SWIG_fail;
5707 temp2 = true;
5708 }
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 (arg1)->SetTitle((wxString const &)*arg2);
5712 wxPyEndAllowThreads(__tstate);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 resultobj = SWIG_Py_Void();
5716 {
5717 if (temp2)
5718 delete arg2;
5719 }
5720 return resultobj;
5721 fail:
5722 {
5723 if (temp2)
5724 delete arg2;
5725 }
5726 return NULL;
5727 }
5728
5729
5730 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5731 PyObject *resultobj = 0;
5732 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5733 wxString result;
5734 void *argp1 = 0 ;
5735 int res1 = 0 ;
5736 PyObject *swig_obj[1] ;
5737
5738 if (!args) SWIG_fail;
5739 swig_obj[0] = args;
5740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5741 if (!SWIG_IsOK(res1)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5743 }
5744 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 {
5752 #if wxUSE_UNICODE
5753 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5754 #else
5755 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5756 #endif
5757 }
5758 return resultobj;
5759 fail:
5760 return NULL;
5761 }
5762
5763
5764 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5765 PyObject *resultobj = 0;
5766 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5767 bool arg2 ;
5768 bool result;
5769 void *argp1 = 0 ;
5770 int res1 = 0 ;
5771 bool val2 ;
5772 int ecode2 = 0 ;
5773 PyObject * obj0 = 0 ;
5774 PyObject * obj1 = 0 ;
5775 char * kwnames[] = {
5776 (char *) "self",(char *) "enable", NULL
5777 };
5778
5779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5781 if (!SWIG_IsOK(res1)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5783 }
5784 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5785 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5786 if (!SWIG_IsOK(ecode2)) {
5787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5788 }
5789 arg2 = static_cast< bool >(val2);
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 result = (bool)(arg1)->EnableCloseButton(arg2);
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 {
5797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5798 }
5799 return resultobj;
5800 fail:
5801 return NULL;
5802 }
5803
5804
5805 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5806 PyObject *resultobj = 0;
5807 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5808 wxRegion *arg2 = 0 ;
5809 bool result;
5810 void *argp1 = 0 ;
5811 int res1 = 0 ;
5812 void *argp2 = 0 ;
5813 int res2 = 0 ;
5814 PyObject * obj0 = 0 ;
5815 PyObject * obj1 = 0 ;
5816 char * kwnames[] = {
5817 (char *) "self",(char *) "region", NULL
5818 };
5819
5820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5822 if (!SWIG_IsOK(res1)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5824 }
5825 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5826 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5827 if (!SWIG_IsOK(res2)) {
5828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5829 }
5830 if (!argp2) {
5831 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5832 }
5833 arg2 = reinterpret_cast< wxRegion * >(argp2);
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5837 wxPyEndAllowThreads(__tstate);
5838 if (PyErr_Occurred()) SWIG_fail;
5839 }
5840 {
5841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5842 }
5843 return resultobj;
5844 fail:
5845 return NULL;
5846 }
5847
5848
5849 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj = 0;
5851 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5852 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5853 void *argp1 = 0 ;
5854 int res1 = 0 ;
5855 int val2 ;
5856 int ecode2 = 0 ;
5857 PyObject * obj0 = 0 ;
5858 PyObject * obj1 = 0 ;
5859 char * kwnames[] = {
5860 (char *) "self",(char *) "flags", NULL
5861 };
5862
5863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5865 if (!SWIG_IsOK(res1)) {
5866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5867 }
5868 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5869 if (obj1) {
5870 ecode2 = SWIG_AsVal_int(obj1, &val2);
5871 if (!SWIG_IsOK(ecode2)) {
5872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5873 }
5874 arg2 = static_cast< int >(val2);
5875 }
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 (arg1)->RequestUserAttention(arg2);
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 resultobj = SWIG_Py_Void();
5883 return resultobj;
5884 fail:
5885 return NULL;
5886 }
5887
5888
5889 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5890 PyObject *resultobj = 0;
5891 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5892 bool result;
5893 void *argp1 = 0 ;
5894 int res1 = 0 ;
5895 PyObject *swig_obj[1] ;
5896
5897 if (!args) SWIG_fail;
5898 swig_obj[0] = args;
5899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5900 if (!SWIG_IsOK(res1)) {
5901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5902 }
5903 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 result = (bool)(arg1)->IsActive();
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 {
5911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5912 }
5913 return resultobj;
5914 fail:
5915 return NULL;
5916 }
5917
5918
5919 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5920 PyObject *resultobj = 0;
5921 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5922 bool arg2 ;
5923 void *argp1 = 0 ;
5924 int res1 = 0 ;
5925 bool val2 ;
5926 int ecode2 = 0 ;
5927 PyObject * obj0 = 0 ;
5928 PyObject * obj1 = 0 ;
5929 char * kwnames[] = {
5930 (char *) "self",(char *) "on", NULL
5931 };
5932
5933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5935 if (!SWIG_IsOK(res1)) {
5936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5937 }
5938 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5939 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5940 if (!SWIG_IsOK(ecode2)) {
5941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5942 }
5943 arg2 = static_cast< bool >(val2);
5944 {
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5947 wxPyEndAllowThreads(__tstate);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 resultobj = SWIG_Py_Void();
5951 return resultobj;
5952 fail:
5953 return NULL;
5954 }
5955
5956
5957 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5958 PyObject *resultobj = 0;
5959 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5960 bool result;
5961 void *argp1 = 0 ;
5962 int res1 = 0 ;
5963 PyObject *swig_obj[1] ;
5964
5965 if (!args) SWIG_fail;
5966 swig_obj[0] = args;
5967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5968 if (!SWIG_IsOK(res1)) {
5969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5970 }
5971 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5975 wxPyEndAllowThreads(__tstate);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
5978 {
5979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5980 }
5981 return resultobj;
5982 fail:
5983 return NULL;
5984 }
5985
5986
5987 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5988 PyObject *resultobj = 0;
5989 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5990 int arg2 = (int) wxBOTH ;
5991 void *argp1 = 0 ;
5992 int res1 = 0 ;
5993 int val2 ;
5994 int ecode2 = 0 ;
5995 PyObject * obj0 = 0 ;
5996 PyObject * obj1 = 0 ;
5997 char * kwnames[] = {
5998 (char *) "self",(char *) "dir", NULL
5999 };
6000
6001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6003 if (!SWIG_IsOK(res1)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6005 }
6006 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6007 if (obj1) {
6008 ecode2 = SWIG_AsVal_int(obj1, &val2);
6009 if (!SWIG_IsOK(ecode2)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6011 }
6012 arg2 = static_cast< int >(val2);
6013 }
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 (arg1)->CenterOnScreen(arg2);
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 resultobj = SWIG_Py_Void();
6021 return resultobj;
6022 fail:
6023 return NULL;
6024 }
6025
6026
6027 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6028 PyObject *resultobj = 0;
6029 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6030 wxWindow *result = 0 ;
6031 void *argp1 = 0 ;
6032 int res1 = 0 ;
6033 PyObject *swig_obj[1] ;
6034
6035 if (!args) SWIG_fail;
6036 swig_obj[0] = args;
6037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6038 if (!SWIG_IsOK(res1)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6040 }
6041 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6045 wxPyEndAllowThreads(__tstate);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 {
6049 resultobj = wxPyMake_wxObject(result, 0);
6050 }
6051 return resultobj;
6052 fail:
6053 return NULL;
6054 }
6055
6056
6057 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6058 PyObject *resultobj = 0;
6059 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6060 wxWindow *arg2 = (wxWindow *) 0 ;
6061 wxWindow *result = 0 ;
6062 void *argp1 = 0 ;
6063 int res1 = 0 ;
6064 void *argp2 = 0 ;
6065 int res2 = 0 ;
6066 PyObject * obj0 = 0 ;
6067 PyObject * obj1 = 0 ;
6068 char * kwnames[] = {
6069 (char *) "self",(char *) "child", NULL
6070 };
6071
6072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6074 if (!SWIG_IsOK(res1)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6076 }
6077 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6078 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6079 if (!SWIG_IsOK(res2)) {
6080 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6081 }
6082 arg2 = reinterpret_cast< wxWindow * >(argp2);
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6086 wxPyEndAllowThreads(__tstate);
6087 if (PyErr_Occurred()) SWIG_fail;
6088 }
6089 {
6090 resultobj = wxPyMake_wxObject(result, 0);
6091 }
6092 return resultobj;
6093 fail:
6094 return NULL;
6095 }
6096
6097
6098 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj = 0;
6100 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6101 wxWindow *arg2 = (wxWindow *) 0 ;
6102 void *argp1 = 0 ;
6103 int res1 = 0 ;
6104 void *argp2 = 0 ;
6105 int res2 = 0 ;
6106 PyObject * obj0 = 0 ;
6107 PyObject * obj1 = 0 ;
6108 char * kwnames[] = {
6109 (char *) "self",(char *) "win", NULL
6110 };
6111
6112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6114 if (!SWIG_IsOK(res1)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6116 }
6117 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6118 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6119 if (!SWIG_IsOK(res2)) {
6120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6121 }
6122 arg2 = reinterpret_cast< wxWindow * >(argp2);
6123 {
6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6125 (arg1)->SetTmpDefaultItem(arg2);
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
6129 resultobj = SWIG_Py_Void();
6130 return resultobj;
6131 fail:
6132 return NULL;
6133 }
6134
6135
6136 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6137 PyObject *resultobj = 0;
6138 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6139 wxWindow *result = 0 ;
6140 void *argp1 = 0 ;
6141 int res1 = 0 ;
6142 PyObject *swig_obj[1] ;
6143
6144 if (!args) SWIG_fail;
6145 swig_obj[0] = args;
6146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6147 if (!SWIG_IsOK(res1)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6149 }
6150 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6154 wxPyEndAllowThreads(__tstate);
6155 if (PyErr_Occurred()) SWIG_fail;
6156 }
6157 {
6158 resultobj = wxPyMake_wxObject(result, 0);
6159 }
6160 return resultobj;
6161 fail:
6162 return NULL;
6163 }
6164
6165
6166 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6167 PyObject *obj;
6168 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6169 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6170 return SWIG_Py_Void();
6171 }
6172
6173 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6174 PyObject *resultobj = 0;
6175 wxWindow *arg1 = (wxWindow *) 0 ;
6176 int arg2 = (int) (int)-1 ;
6177 wxString const &arg3_defvalue = wxPyEmptyString ;
6178 wxString *arg3 = (wxString *) &arg3_defvalue ;
6179 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6180 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6181 wxSize const &arg5_defvalue = wxDefaultSize ;
6182 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6183 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6184 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6185 wxString *arg7 = (wxString *) &arg7_defvalue ;
6186 wxFrame *result = 0 ;
6187 void *argp1 = 0 ;
6188 int res1 = 0 ;
6189 int val2 ;
6190 int ecode2 = 0 ;
6191 bool temp3 = false ;
6192 wxPoint temp4 ;
6193 wxSize temp5 ;
6194 long val6 ;
6195 int ecode6 = 0 ;
6196 bool temp7 = false ;
6197 PyObject * obj0 = 0 ;
6198 PyObject * obj1 = 0 ;
6199 PyObject * obj2 = 0 ;
6200 PyObject * obj3 = 0 ;
6201 PyObject * obj4 = 0 ;
6202 PyObject * obj5 = 0 ;
6203 PyObject * obj6 = 0 ;
6204 char * kwnames[] = {
6205 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6206 };
6207
6208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6210 if (!SWIG_IsOK(res1)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6212 }
6213 arg1 = reinterpret_cast< wxWindow * >(argp1);
6214 if (obj1) {
6215 ecode2 = SWIG_AsVal_int(obj1, &val2);
6216 if (!SWIG_IsOK(ecode2)) {
6217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6218 }
6219 arg2 = static_cast< int >(val2);
6220 }
6221 if (obj2) {
6222 {
6223 arg3 = wxString_in_helper(obj2);
6224 if (arg3 == NULL) SWIG_fail;
6225 temp3 = true;
6226 }
6227 }
6228 if (obj3) {
6229 {
6230 arg4 = &temp4;
6231 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6232 }
6233 }
6234 if (obj4) {
6235 {
6236 arg5 = &temp5;
6237 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6238 }
6239 }
6240 if (obj5) {
6241 ecode6 = SWIG_AsVal_long(obj5, &val6);
6242 if (!SWIG_IsOK(ecode6)) {
6243 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6244 }
6245 arg6 = static_cast< long >(val6);
6246 }
6247 if (obj6) {
6248 {
6249 arg7 = wxString_in_helper(obj6);
6250 if (arg7 == NULL) SWIG_fail;
6251 temp7 = true;
6252 }
6253 }
6254 {
6255 if (!wxPyCheckForApp()) SWIG_fail;
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6262 {
6263 if (temp3)
6264 delete arg3;
6265 }
6266 {
6267 if (temp7)
6268 delete arg7;
6269 }
6270 return resultobj;
6271 fail:
6272 {
6273 if (temp3)
6274 delete arg3;
6275 }
6276 {
6277 if (temp7)
6278 delete arg7;
6279 }
6280 return NULL;
6281 }
6282
6283
6284 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6285 PyObject *resultobj = 0;
6286 wxFrame *result = 0 ;
6287
6288 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6289 {
6290 if (!wxPyCheckForApp()) SWIG_fail;
6291 PyThreadState* __tstate = wxPyBeginAllowThreads();
6292 result = (wxFrame *)new wxFrame();
6293 wxPyEndAllowThreads(__tstate);
6294 if (PyErr_Occurred()) SWIG_fail;
6295 }
6296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6297 return resultobj;
6298 fail:
6299 return NULL;
6300 }
6301
6302
6303 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj = 0;
6305 wxFrame *arg1 = (wxFrame *) 0 ;
6306 wxWindow *arg2 = (wxWindow *) 0 ;
6307 int arg3 = (int) (int)-1 ;
6308 wxString const &arg4_defvalue = wxPyEmptyString ;
6309 wxString *arg4 = (wxString *) &arg4_defvalue ;
6310 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6311 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6312 wxSize const &arg6_defvalue = wxDefaultSize ;
6313 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6314 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6315 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6316 wxString *arg8 = (wxString *) &arg8_defvalue ;
6317 bool result;
6318 void *argp1 = 0 ;
6319 int res1 = 0 ;
6320 void *argp2 = 0 ;
6321 int res2 = 0 ;
6322 int val3 ;
6323 int ecode3 = 0 ;
6324 bool temp4 = false ;
6325 wxPoint temp5 ;
6326 wxSize temp6 ;
6327 long val7 ;
6328 int ecode7 = 0 ;
6329 bool temp8 = false ;
6330 PyObject * obj0 = 0 ;
6331 PyObject * obj1 = 0 ;
6332 PyObject * obj2 = 0 ;
6333 PyObject * obj3 = 0 ;
6334 PyObject * obj4 = 0 ;
6335 PyObject * obj5 = 0 ;
6336 PyObject * obj6 = 0 ;
6337 PyObject * obj7 = 0 ;
6338 char * kwnames[] = {
6339 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6340 };
6341
6342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6344 if (!SWIG_IsOK(res1)) {
6345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6346 }
6347 arg1 = reinterpret_cast< wxFrame * >(argp1);
6348 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6349 if (!SWIG_IsOK(res2)) {
6350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6351 }
6352 arg2 = reinterpret_cast< wxWindow * >(argp2);
6353 if (obj2) {
6354 ecode3 = SWIG_AsVal_int(obj2, &val3);
6355 if (!SWIG_IsOK(ecode3)) {
6356 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6357 }
6358 arg3 = static_cast< int >(val3);
6359 }
6360 if (obj3) {
6361 {
6362 arg4 = wxString_in_helper(obj3);
6363 if (arg4 == NULL) SWIG_fail;
6364 temp4 = true;
6365 }
6366 }
6367 if (obj4) {
6368 {
6369 arg5 = &temp5;
6370 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6371 }
6372 }
6373 if (obj5) {
6374 {
6375 arg6 = &temp6;
6376 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6377 }
6378 }
6379 if (obj6) {
6380 ecode7 = SWIG_AsVal_long(obj6, &val7);
6381 if (!SWIG_IsOK(ecode7)) {
6382 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6383 }
6384 arg7 = static_cast< long >(val7);
6385 }
6386 if (obj7) {
6387 {
6388 arg8 = wxString_in_helper(obj7);
6389 if (arg8 == NULL) SWIG_fail;
6390 temp8 = true;
6391 }
6392 }
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 {
6400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6401 }
6402 {
6403 if (temp4)
6404 delete arg4;
6405 }
6406 {
6407 if (temp8)
6408 delete arg8;
6409 }
6410 return resultobj;
6411 fail:
6412 {
6413 if (temp4)
6414 delete arg4;
6415 }
6416 {
6417 if (temp8)
6418 delete arg8;
6419 }
6420 return NULL;
6421 }
6422
6423
6424 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6425 PyObject *resultobj = 0;
6426 wxFrame *arg1 = (wxFrame *) 0 ;
6427 void *argp1 = 0 ;
6428 int res1 = 0 ;
6429 PyObject *swig_obj[1] ;
6430
6431 if (!args) SWIG_fail;
6432 swig_obj[0] = args;
6433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6434 if (!SWIG_IsOK(res1)) {
6435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6436 }
6437 arg1 = reinterpret_cast< wxFrame * >(argp1);
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 (arg1)->SendSizeEvent();
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 resultobj = SWIG_Py_Void();
6445 return resultobj;
6446 fail:
6447 return NULL;
6448 }
6449
6450
6451 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6452 PyObject *resultobj = 0;
6453 wxFrame *arg1 = (wxFrame *) 0 ;
6454 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6455 void *argp1 = 0 ;
6456 int res1 = 0 ;
6457 void *argp2 = 0 ;
6458 int res2 = 0 ;
6459 PyObject * obj0 = 0 ;
6460 PyObject * obj1 = 0 ;
6461 char * kwnames[] = {
6462 (char *) "self",(char *) "menubar", NULL
6463 };
6464
6465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6467 if (!SWIG_IsOK(res1)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6469 }
6470 arg1 = reinterpret_cast< wxFrame * >(argp1);
6471 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6472 if (!SWIG_IsOK(res2)) {
6473 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6474 }
6475 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 (arg1)->SetMenuBar(arg2);
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 resultobj = SWIG_Py_Void();
6483 return resultobj;
6484 fail:
6485 return NULL;
6486 }
6487
6488
6489 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6490 PyObject *resultobj = 0;
6491 wxFrame *arg1 = (wxFrame *) 0 ;
6492 wxMenuBar *result = 0 ;
6493 void *argp1 = 0 ;
6494 int res1 = 0 ;
6495 PyObject *swig_obj[1] ;
6496
6497 if (!args) SWIG_fail;
6498 swig_obj[0] = args;
6499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6500 if (!SWIG_IsOK(res1)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6502 }
6503 arg1 = reinterpret_cast< wxFrame * >(argp1);
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
6510 {
6511 resultobj = wxPyMake_wxObject(result, 0);
6512 }
6513 return resultobj;
6514 fail:
6515 return NULL;
6516 }
6517
6518
6519 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6520 PyObject *resultobj = 0;
6521 wxFrame *arg1 = (wxFrame *) 0 ;
6522 int arg2 ;
6523 bool result;
6524 void *argp1 = 0 ;
6525 int res1 = 0 ;
6526 int val2 ;
6527 int ecode2 = 0 ;
6528 PyObject * obj0 = 0 ;
6529 PyObject * obj1 = 0 ;
6530 char * kwnames[] = {
6531 (char *) "self",(char *) "winid", NULL
6532 };
6533
6534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6536 if (!SWIG_IsOK(res1)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6538 }
6539 arg1 = reinterpret_cast< wxFrame * >(argp1);
6540 ecode2 = SWIG_AsVal_int(obj1, &val2);
6541 if (!SWIG_IsOK(ecode2)) {
6542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6543 }
6544 arg2 = static_cast< int >(val2);
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (bool)(arg1)->ProcessCommand(arg2);
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 {
6552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6553 }
6554 return resultobj;
6555 fail:
6556 return NULL;
6557 }
6558
6559
6560 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj = 0;
6562 wxFrame *arg1 = (wxFrame *) 0 ;
6563 int arg2 = (int) 1 ;
6564 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6565 int arg4 = (int) 0 ;
6566 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6567 wxString *arg5 = (wxString *) &arg5_defvalue ;
6568 wxStatusBar *result = 0 ;
6569 void *argp1 = 0 ;
6570 int res1 = 0 ;
6571 int val2 ;
6572 int ecode2 = 0 ;
6573 long val3 ;
6574 int ecode3 = 0 ;
6575 int val4 ;
6576 int ecode4 = 0 ;
6577 bool temp5 = false ;
6578 PyObject * obj0 = 0 ;
6579 PyObject * obj1 = 0 ;
6580 PyObject * obj2 = 0 ;
6581 PyObject * obj3 = 0 ;
6582 PyObject * obj4 = 0 ;
6583 char * kwnames[] = {
6584 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6585 };
6586
6587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6589 if (!SWIG_IsOK(res1)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6591 }
6592 arg1 = reinterpret_cast< wxFrame * >(argp1);
6593 if (obj1) {
6594 ecode2 = SWIG_AsVal_int(obj1, &val2);
6595 if (!SWIG_IsOK(ecode2)) {
6596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6597 }
6598 arg2 = static_cast< int >(val2);
6599 }
6600 if (obj2) {
6601 ecode3 = SWIG_AsVal_long(obj2, &val3);
6602 if (!SWIG_IsOK(ecode3)) {
6603 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6604 }
6605 arg3 = static_cast< long >(val3);
6606 }
6607 if (obj3) {
6608 ecode4 = SWIG_AsVal_int(obj3, &val4);
6609 if (!SWIG_IsOK(ecode4)) {
6610 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6611 }
6612 arg4 = static_cast< int >(val4);
6613 }
6614 if (obj4) {
6615 {
6616 arg5 = wxString_in_helper(obj4);
6617 if (arg5 == NULL) SWIG_fail;
6618 temp5 = true;
6619 }
6620 }
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 {
6628 resultobj = wxPyMake_wxObject(result, (bool)0);
6629 }
6630 {
6631 if (temp5)
6632 delete arg5;
6633 }
6634 return resultobj;
6635 fail:
6636 {
6637 if (temp5)
6638 delete arg5;
6639 }
6640 return NULL;
6641 }
6642
6643
6644 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6645 PyObject *resultobj = 0;
6646 wxFrame *arg1 = (wxFrame *) 0 ;
6647 wxStatusBar *result = 0 ;
6648 void *argp1 = 0 ;
6649 int res1 = 0 ;
6650 PyObject *swig_obj[1] ;
6651
6652 if (!args) SWIG_fail;
6653 swig_obj[0] = args;
6654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6655 if (!SWIG_IsOK(res1)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6657 }
6658 arg1 = reinterpret_cast< wxFrame * >(argp1);
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 {
6666 resultobj = wxPyMake_wxObject(result, (bool)0);
6667 }
6668 return resultobj;
6669 fail:
6670 return NULL;
6671 }
6672
6673
6674 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj = 0;
6676 wxFrame *arg1 = (wxFrame *) 0 ;
6677 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6678 void *argp1 = 0 ;
6679 int res1 = 0 ;
6680 void *argp2 = 0 ;
6681 int res2 = 0 ;
6682 PyObject * obj0 = 0 ;
6683 PyObject * obj1 = 0 ;
6684 char * kwnames[] = {
6685 (char *) "self",(char *) "statBar", NULL
6686 };
6687
6688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6690 if (!SWIG_IsOK(res1)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6692 }
6693 arg1 = reinterpret_cast< wxFrame * >(argp1);
6694 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6695 if (!SWIG_IsOK(res2)) {
6696 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6697 }
6698 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 (arg1)->SetStatusBar(arg2);
6702 wxPyEndAllowThreads(__tstate);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 }
6705 resultobj = SWIG_Py_Void();
6706 return resultobj;
6707 fail:
6708 return NULL;
6709 }
6710
6711
6712 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6713 PyObject *resultobj = 0;
6714 wxFrame *arg1 = (wxFrame *) 0 ;
6715 wxString *arg2 = 0 ;
6716 int arg3 = (int) 0 ;
6717 void *argp1 = 0 ;
6718 int res1 = 0 ;
6719 bool temp2 = false ;
6720 int val3 ;
6721 int ecode3 = 0 ;
6722 PyObject * obj0 = 0 ;
6723 PyObject * obj1 = 0 ;
6724 PyObject * obj2 = 0 ;
6725 char * kwnames[] = {
6726 (char *) "self",(char *) "text",(char *) "number", NULL
6727 };
6728
6729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6731 if (!SWIG_IsOK(res1)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6733 }
6734 arg1 = reinterpret_cast< wxFrame * >(argp1);
6735 {
6736 arg2 = wxString_in_helper(obj1);
6737 if (arg2 == NULL) SWIG_fail;
6738 temp2 = true;
6739 }
6740 if (obj2) {
6741 ecode3 = SWIG_AsVal_int(obj2, &val3);
6742 if (!SWIG_IsOK(ecode3)) {
6743 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6744 }
6745 arg3 = static_cast< int >(val3);
6746 }
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 resultobj = SWIG_Py_Void();
6754 {
6755 if (temp2)
6756 delete arg2;
6757 }
6758 return resultobj;
6759 fail:
6760 {
6761 if (temp2)
6762 delete arg2;
6763 }
6764 return NULL;
6765 }
6766
6767
6768 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj = 0;
6770 wxFrame *arg1 = (wxFrame *) 0 ;
6771 int arg2 ;
6772 int *arg3 = (int *) 0 ;
6773 void *argp1 = 0 ;
6774 int res1 = 0 ;
6775 PyObject * obj0 = 0 ;
6776 PyObject * obj1 = 0 ;
6777 char * kwnames[] = {
6778 (char *) "self",(char *) "widths", NULL
6779 };
6780
6781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6783 if (!SWIG_IsOK(res1)) {
6784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6785 }
6786 arg1 = reinterpret_cast< wxFrame * >(argp1);
6787 {
6788 arg2 = PyList_Size(obj1);
6789 arg3 = int_LIST_helper(obj1);
6790 if (arg3 == NULL) SWIG_fail;
6791 }
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 resultobj = SWIG_Py_Void();
6799 {
6800 if (arg3) delete [] arg3;
6801 }
6802 return resultobj;
6803 fail:
6804 {
6805 if (arg3) delete [] arg3;
6806 }
6807 return NULL;
6808 }
6809
6810
6811 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6812 PyObject *resultobj = 0;
6813 wxFrame *arg1 = (wxFrame *) 0 ;
6814 wxString *arg2 = 0 ;
6815 int arg3 = (int) 0 ;
6816 void *argp1 = 0 ;
6817 int res1 = 0 ;
6818 bool temp2 = false ;
6819 int val3 ;
6820 int ecode3 = 0 ;
6821 PyObject * obj0 = 0 ;
6822 PyObject * obj1 = 0 ;
6823 PyObject * obj2 = 0 ;
6824 char * kwnames[] = {
6825 (char *) "self",(char *) "text",(char *) "number", NULL
6826 };
6827
6828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6830 if (!SWIG_IsOK(res1)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6832 }
6833 arg1 = reinterpret_cast< wxFrame * >(argp1);
6834 {
6835 arg2 = wxString_in_helper(obj1);
6836 if (arg2 == NULL) SWIG_fail;
6837 temp2 = true;
6838 }
6839 if (obj2) {
6840 ecode3 = SWIG_AsVal_int(obj2, &val3);
6841 if (!SWIG_IsOK(ecode3)) {
6842 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6843 }
6844 arg3 = static_cast< int >(val3);
6845 }
6846 {
6847 PyThreadState* __tstate = wxPyBeginAllowThreads();
6848 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6849 wxPyEndAllowThreads(__tstate);
6850 if (PyErr_Occurred()) SWIG_fail;
6851 }
6852 resultobj = SWIG_Py_Void();
6853 {
6854 if (temp2)
6855 delete arg2;
6856 }
6857 return resultobj;
6858 fail:
6859 {
6860 if (temp2)
6861 delete arg2;
6862 }
6863 return NULL;
6864 }
6865
6866
6867 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6868 PyObject *resultobj = 0;
6869 wxFrame *arg1 = (wxFrame *) 0 ;
6870 int arg2 = (int) 0 ;
6871 void *argp1 = 0 ;
6872 int res1 = 0 ;
6873 int val2 ;
6874 int ecode2 = 0 ;
6875 PyObject * obj0 = 0 ;
6876 PyObject * obj1 = 0 ;
6877 char * kwnames[] = {
6878 (char *) "self",(char *) "number", NULL
6879 };
6880
6881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6883 if (!SWIG_IsOK(res1)) {
6884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6885 }
6886 arg1 = reinterpret_cast< wxFrame * >(argp1);
6887 if (obj1) {
6888 ecode2 = SWIG_AsVal_int(obj1, &val2);
6889 if (!SWIG_IsOK(ecode2)) {
6890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6891 }
6892 arg2 = static_cast< int >(val2);
6893 }
6894 {
6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6896 (arg1)->PopStatusText(arg2);
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 resultobj = SWIG_Py_Void();
6901 return resultobj;
6902 fail:
6903 return NULL;
6904 }
6905
6906
6907 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6908 PyObject *resultobj = 0;
6909 wxFrame *arg1 = (wxFrame *) 0 ;
6910 int arg2 ;
6911 void *argp1 = 0 ;
6912 int res1 = 0 ;
6913 int val2 ;
6914 int ecode2 = 0 ;
6915 PyObject * obj0 = 0 ;
6916 PyObject * obj1 = 0 ;
6917 char * kwnames[] = {
6918 (char *) "self",(char *) "n", NULL
6919 };
6920
6921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6923 if (!SWIG_IsOK(res1)) {
6924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6925 }
6926 arg1 = reinterpret_cast< wxFrame * >(argp1);
6927 ecode2 = SWIG_AsVal_int(obj1, &val2);
6928 if (!SWIG_IsOK(ecode2)) {
6929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6930 }
6931 arg2 = static_cast< int >(val2);
6932 {
6933 PyThreadState* __tstate = wxPyBeginAllowThreads();
6934 (arg1)->SetStatusBarPane(arg2);
6935 wxPyEndAllowThreads(__tstate);
6936 if (PyErr_Occurred()) SWIG_fail;
6937 }
6938 resultobj = SWIG_Py_Void();
6939 return resultobj;
6940 fail:
6941 return NULL;
6942 }
6943
6944
6945 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6946 PyObject *resultobj = 0;
6947 wxFrame *arg1 = (wxFrame *) 0 ;
6948 int result;
6949 void *argp1 = 0 ;
6950 int res1 = 0 ;
6951 PyObject *swig_obj[1] ;
6952
6953 if (!args) SWIG_fail;
6954 swig_obj[0] = args;
6955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6956 if (!SWIG_IsOK(res1)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6958 }
6959 arg1 = reinterpret_cast< wxFrame * >(argp1);
6960 {
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 resultobj = SWIG_From_int(static_cast< int >(result));
6967 return resultobj;
6968 fail:
6969 return NULL;
6970 }
6971
6972
6973 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6974 PyObject *resultobj = 0;
6975 wxFrame *arg1 = (wxFrame *) 0 ;
6976 long arg2 = (long) -1 ;
6977 int arg3 = (int) -1 ;
6978 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6979 wxString *arg4 = (wxString *) &arg4_defvalue ;
6980 wxToolBar *result = 0 ;
6981 void *argp1 = 0 ;
6982 int res1 = 0 ;
6983 long val2 ;
6984 int ecode2 = 0 ;
6985 int val3 ;
6986 int ecode3 = 0 ;
6987 bool temp4 = false ;
6988 PyObject * obj0 = 0 ;
6989 PyObject * obj1 = 0 ;
6990 PyObject * obj2 = 0 ;
6991 PyObject * obj3 = 0 ;
6992 char * kwnames[] = {
6993 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6994 };
6995
6996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6998 if (!SWIG_IsOK(res1)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7000 }
7001 arg1 = reinterpret_cast< wxFrame * >(argp1);
7002 if (obj1) {
7003 ecode2 = SWIG_AsVal_long(obj1, &val2);
7004 if (!SWIG_IsOK(ecode2)) {
7005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7006 }
7007 arg2 = static_cast< long >(val2);
7008 }
7009 if (obj2) {
7010 ecode3 = SWIG_AsVal_int(obj2, &val3);
7011 if (!SWIG_IsOK(ecode3)) {
7012 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7013 }
7014 arg3 = static_cast< int >(val3);
7015 }
7016 if (obj3) {
7017 {
7018 arg4 = wxString_in_helper(obj3);
7019 if (arg4 == NULL) SWIG_fail;
7020 temp4 = true;
7021 }
7022 }
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 {
7030 resultobj = wxPyMake_wxObject(result, (bool)0);
7031 }
7032 {
7033 if (temp4)
7034 delete arg4;
7035 }
7036 return resultobj;
7037 fail:
7038 {
7039 if (temp4)
7040 delete arg4;
7041 }
7042 return NULL;
7043 }
7044
7045
7046 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7047 PyObject *resultobj = 0;
7048 wxFrame *arg1 = (wxFrame *) 0 ;
7049 wxToolBar *result = 0 ;
7050 void *argp1 = 0 ;
7051 int res1 = 0 ;
7052 PyObject *swig_obj[1] ;
7053
7054 if (!args) SWIG_fail;
7055 swig_obj[0] = args;
7056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7057 if (!SWIG_IsOK(res1)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7059 }
7060 arg1 = reinterpret_cast< wxFrame * >(argp1);
7061 {
7062 PyThreadState* __tstate = wxPyBeginAllowThreads();
7063 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7064 wxPyEndAllowThreads(__tstate);
7065 if (PyErr_Occurred()) SWIG_fail;
7066 }
7067 {
7068 resultobj = wxPyMake_wxObject(result, (bool)0);
7069 }
7070 return resultobj;
7071 fail:
7072 return NULL;
7073 }
7074
7075
7076 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7077 PyObject *resultobj = 0;
7078 wxFrame *arg1 = (wxFrame *) 0 ;
7079 wxToolBar *arg2 = (wxToolBar *) 0 ;
7080 void *argp1 = 0 ;
7081 int res1 = 0 ;
7082 void *argp2 = 0 ;
7083 int res2 = 0 ;
7084 PyObject * obj0 = 0 ;
7085 PyObject * obj1 = 0 ;
7086 char * kwnames[] = {
7087 (char *) "self",(char *) "toolbar", NULL
7088 };
7089
7090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7092 if (!SWIG_IsOK(res1)) {
7093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7094 }
7095 arg1 = reinterpret_cast< wxFrame * >(argp1);
7096 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7097 if (!SWIG_IsOK(res2)) {
7098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7099 }
7100 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 (arg1)->SetToolBar(arg2);
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 resultobj = SWIG_Py_Void();
7108 return resultobj;
7109 fail:
7110 return NULL;
7111 }
7112
7113
7114 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj = 0;
7116 wxFrame *arg1 = (wxFrame *) 0 ;
7117 wxString *arg2 = 0 ;
7118 bool arg3 ;
7119 void *argp1 = 0 ;
7120 int res1 = 0 ;
7121 bool temp2 = false ;
7122 bool val3 ;
7123 int ecode3 = 0 ;
7124 PyObject * obj0 = 0 ;
7125 PyObject * obj1 = 0 ;
7126 PyObject * obj2 = 0 ;
7127 char * kwnames[] = {
7128 (char *) "self",(char *) "text",(char *) "show", NULL
7129 };
7130
7131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7133 if (!SWIG_IsOK(res1)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7135 }
7136 arg1 = reinterpret_cast< wxFrame * >(argp1);
7137 {
7138 arg2 = wxString_in_helper(obj1);
7139 if (arg2 == NULL) SWIG_fail;
7140 temp2 = true;
7141 }
7142 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7143 if (!SWIG_IsOK(ecode3)) {
7144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7145 }
7146 arg3 = static_cast< bool >(val3);
7147 {
7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
7149 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 resultobj = SWIG_Py_Void();
7154 {
7155 if (temp2)
7156 delete arg2;
7157 }
7158 return resultobj;
7159 fail:
7160 {
7161 if (temp2)
7162 delete arg2;
7163 }
7164 return NULL;
7165 }
7166
7167
7168 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7169 PyObject *resultobj = 0;
7170 wxFrame *arg1 = (wxFrame *) 0 ;
7171 wxMenu *arg2 = (wxMenu *) NULL ;
7172 void *argp1 = 0 ;
7173 int res1 = 0 ;
7174 void *argp2 = 0 ;
7175 int res2 = 0 ;
7176 PyObject * obj0 = 0 ;
7177 PyObject * obj1 = 0 ;
7178 char * kwnames[] = {
7179 (char *) "self",(char *) "menu", NULL
7180 };
7181
7182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7184 if (!SWIG_IsOK(res1)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7186 }
7187 arg1 = reinterpret_cast< wxFrame * >(argp1);
7188 if (obj1) {
7189 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7190 if (!SWIG_IsOK(res2)) {
7191 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7192 }
7193 arg2 = reinterpret_cast< wxMenu * >(argp2);
7194 }
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 (arg1)->DoMenuUpdates(arg2);
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 resultobj = SWIG_Py_Void();
7202 return resultobj;
7203 fail:
7204 return NULL;
7205 }
7206
7207
7208 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7209 PyObject *resultobj = 0;
7210 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7211 SwigValueWrapper<wxVisualAttributes > result;
7212 int val1 ;
7213 int ecode1 = 0 ;
7214 PyObject * obj0 = 0 ;
7215 char * kwnames[] = {
7216 (char *) "variant", NULL
7217 };
7218
7219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7220 if (obj0) {
7221 ecode1 = SWIG_AsVal_int(obj0, &val1);
7222 if (!SWIG_IsOK(ecode1)) {
7223 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7224 }
7225 arg1 = static_cast< wxWindowVariant >(val1);
7226 }
7227 {
7228 if (!wxPyCheckForApp()) SWIG_fail;
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 result = wxFrame::GetClassDefaultAttributes(arg1);
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7235 return resultobj;
7236 fail:
7237 return NULL;
7238 }
7239
7240
7241 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7242 PyObject *obj;
7243 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7244 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7245 return SWIG_Py_Void();
7246 }
7247
7248 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7249 return SWIG_Python_InitShadowInstance(args);
7250 }
7251
7252 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj = 0;
7254 wxWindow *arg1 = (wxWindow *) 0 ;
7255 int arg2 = (int) (int)-1 ;
7256 wxString const &arg3_defvalue = wxPyEmptyString ;
7257 wxString *arg3 = (wxString *) &arg3_defvalue ;
7258 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7259 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7260 wxSize const &arg5_defvalue = wxDefaultSize ;
7261 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7262 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7263 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7264 wxString *arg7 = (wxString *) &arg7_defvalue ;
7265 wxDialog *result = 0 ;
7266 void *argp1 = 0 ;
7267 int res1 = 0 ;
7268 int val2 ;
7269 int ecode2 = 0 ;
7270 bool temp3 = false ;
7271 wxPoint temp4 ;
7272 wxSize temp5 ;
7273 long val6 ;
7274 int ecode6 = 0 ;
7275 bool temp7 = false ;
7276 PyObject * obj0 = 0 ;
7277 PyObject * obj1 = 0 ;
7278 PyObject * obj2 = 0 ;
7279 PyObject * obj3 = 0 ;
7280 PyObject * obj4 = 0 ;
7281 PyObject * obj5 = 0 ;
7282 PyObject * obj6 = 0 ;
7283 char * kwnames[] = {
7284 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7285 };
7286
7287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7289 if (!SWIG_IsOK(res1)) {
7290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7291 }
7292 arg1 = reinterpret_cast< wxWindow * >(argp1);
7293 if (obj1) {
7294 ecode2 = SWIG_AsVal_int(obj1, &val2);
7295 if (!SWIG_IsOK(ecode2)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7297 }
7298 arg2 = static_cast< int >(val2);
7299 }
7300 if (obj2) {
7301 {
7302 arg3 = wxString_in_helper(obj2);
7303 if (arg3 == NULL) SWIG_fail;
7304 temp3 = true;
7305 }
7306 }
7307 if (obj3) {
7308 {
7309 arg4 = &temp4;
7310 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7311 }
7312 }
7313 if (obj4) {
7314 {
7315 arg5 = &temp5;
7316 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7317 }
7318 }
7319 if (obj5) {
7320 ecode6 = SWIG_AsVal_long(obj5, &val6);
7321 if (!SWIG_IsOK(ecode6)) {
7322 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7323 }
7324 arg6 = static_cast< long >(val6);
7325 }
7326 if (obj6) {
7327 {
7328 arg7 = wxString_in_helper(obj6);
7329 if (arg7 == NULL) SWIG_fail;
7330 temp7 = true;
7331 }
7332 }
7333 {
7334 if (!wxPyCheckForApp()) SWIG_fail;
7335 PyThreadState* __tstate = wxPyBeginAllowThreads();
7336 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7337 wxPyEndAllowThreads(__tstate);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 }
7340 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7341 {
7342 if (temp3)
7343 delete arg3;
7344 }
7345 {
7346 if (temp7)
7347 delete arg7;
7348 }
7349 return resultobj;
7350 fail:
7351 {
7352 if (temp3)
7353 delete arg3;
7354 }
7355 {
7356 if (temp7)
7357 delete arg7;
7358 }
7359 return NULL;
7360 }
7361
7362
7363 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7364 PyObject *resultobj = 0;
7365 wxDialog *result = 0 ;
7366
7367 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7368 {
7369 if (!wxPyCheckForApp()) SWIG_fail;
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 result = (wxDialog *)new wxDialog();
7372 wxPyEndAllowThreads(__tstate);
7373 if (PyErr_Occurred()) SWIG_fail;
7374 }
7375 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7376 return resultobj;
7377 fail:
7378 return NULL;
7379 }
7380
7381
7382 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj = 0;
7384 wxDialog *arg1 = (wxDialog *) 0 ;
7385 wxWindow *arg2 = (wxWindow *) 0 ;
7386 int arg3 = (int) (int)-1 ;
7387 wxString const &arg4_defvalue = wxPyEmptyString ;
7388 wxString *arg4 = (wxString *) &arg4_defvalue ;
7389 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7390 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7391 wxSize const &arg6_defvalue = wxDefaultSize ;
7392 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7393 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7394 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7395 wxString *arg8 = (wxString *) &arg8_defvalue ;
7396 bool result;
7397 void *argp1 = 0 ;
7398 int res1 = 0 ;
7399 void *argp2 = 0 ;
7400 int res2 = 0 ;
7401 int val3 ;
7402 int ecode3 = 0 ;
7403 bool temp4 = false ;
7404 wxPoint temp5 ;
7405 wxSize temp6 ;
7406 long val7 ;
7407 int ecode7 = 0 ;
7408 bool temp8 = false ;
7409 PyObject * obj0 = 0 ;
7410 PyObject * obj1 = 0 ;
7411 PyObject * obj2 = 0 ;
7412 PyObject * obj3 = 0 ;
7413 PyObject * obj4 = 0 ;
7414 PyObject * obj5 = 0 ;
7415 PyObject * obj6 = 0 ;
7416 PyObject * obj7 = 0 ;
7417 char * kwnames[] = {
7418 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7419 };
7420
7421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7423 if (!SWIG_IsOK(res1)) {
7424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7425 }
7426 arg1 = reinterpret_cast< wxDialog * >(argp1);
7427 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7428 if (!SWIG_IsOK(res2)) {
7429 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7430 }
7431 arg2 = reinterpret_cast< wxWindow * >(argp2);
7432 if (obj2) {
7433 ecode3 = SWIG_AsVal_int(obj2, &val3);
7434 if (!SWIG_IsOK(ecode3)) {
7435 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7436 }
7437 arg3 = static_cast< int >(val3);
7438 }
7439 if (obj3) {
7440 {
7441 arg4 = wxString_in_helper(obj3);
7442 if (arg4 == NULL) SWIG_fail;
7443 temp4 = true;
7444 }
7445 }
7446 if (obj4) {
7447 {
7448 arg5 = &temp5;
7449 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7450 }
7451 }
7452 if (obj5) {
7453 {
7454 arg6 = &temp6;
7455 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7456 }
7457 }
7458 if (obj6) {
7459 ecode7 = SWIG_AsVal_long(obj6, &val7);
7460 if (!SWIG_IsOK(ecode7)) {
7461 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7462 }
7463 arg7 = static_cast< long >(val7);
7464 }
7465 if (obj7) {
7466 {
7467 arg8 = wxString_in_helper(obj7);
7468 if (arg8 == NULL) SWIG_fail;
7469 temp8 = true;
7470 }
7471 }
7472 {
7473 PyThreadState* __tstate = wxPyBeginAllowThreads();
7474 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7475 wxPyEndAllowThreads(__tstate);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 {
7479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7480 }
7481 {
7482 if (temp4)
7483 delete arg4;
7484 }
7485 {
7486 if (temp8)
7487 delete arg8;
7488 }
7489 return resultobj;
7490 fail:
7491 {
7492 if (temp4)
7493 delete arg4;
7494 }
7495 {
7496 if (temp8)
7497 delete arg8;
7498 }
7499 return NULL;
7500 }
7501
7502
7503 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj = 0;
7505 wxDialog *arg1 = (wxDialog *) 0 ;
7506 int arg2 ;
7507 void *argp1 = 0 ;
7508 int res1 = 0 ;
7509 int val2 ;
7510 int ecode2 = 0 ;
7511 PyObject * obj0 = 0 ;
7512 PyObject * obj1 = 0 ;
7513 char * kwnames[] = {
7514 (char *) "self",(char *) "returnCode", NULL
7515 };
7516
7517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7519 if (!SWIG_IsOK(res1)) {
7520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7521 }
7522 arg1 = reinterpret_cast< wxDialog * >(argp1);
7523 ecode2 = SWIG_AsVal_int(obj1, &val2);
7524 if (!SWIG_IsOK(ecode2)) {
7525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7526 }
7527 arg2 = static_cast< int >(val2);
7528 {
7529 PyThreadState* __tstate = wxPyBeginAllowThreads();
7530 (arg1)->SetReturnCode(arg2);
7531 wxPyEndAllowThreads(__tstate);
7532 if (PyErr_Occurred()) SWIG_fail;
7533 }
7534 resultobj = SWIG_Py_Void();
7535 return resultobj;
7536 fail:
7537 return NULL;
7538 }
7539
7540
7541 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7542 PyObject *resultobj = 0;
7543 wxDialog *arg1 = (wxDialog *) 0 ;
7544 int result;
7545 void *argp1 = 0 ;
7546 int res1 = 0 ;
7547 PyObject *swig_obj[1] ;
7548
7549 if (!args) SWIG_fail;
7550 swig_obj[0] = args;
7551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7552 if (!SWIG_IsOK(res1)) {
7553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7554 }
7555 arg1 = reinterpret_cast< wxDialog * >(argp1);
7556 {
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 resultobj = SWIG_From_int(static_cast< int >(result));
7563 return resultobj;
7564 fail:
7565 return NULL;
7566 }
7567
7568
7569 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7570 PyObject *resultobj = 0;
7571 wxDialog *arg1 = (wxDialog *) 0 ;
7572 int arg2 ;
7573 void *argp1 = 0 ;
7574 int res1 = 0 ;
7575 int val2 ;
7576 int ecode2 = 0 ;
7577 PyObject * obj0 = 0 ;
7578 PyObject * obj1 = 0 ;
7579 char * kwnames[] = {
7580 (char *) "self",(char *) "affirmativeId", NULL
7581 };
7582
7583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7585 if (!SWIG_IsOK(res1)) {
7586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7587 }
7588 arg1 = reinterpret_cast< wxDialog * >(argp1);
7589 ecode2 = SWIG_AsVal_int(obj1, &val2);
7590 if (!SWIG_IsOK(ecode2)) {
7591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7592 }
7593 arg2 = static_cast< int >(val2);
7594 {
7595 PyThreadState* __tstate = wxPyBeginAllowThreads();
7596 (arg1)->SetAffirmativeId(arg2);
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 resultobj = SWIG_Py_Void();
7601 return resultobj;
7602 fail:
7603 return NULL;
7604 }
7605
7606
7607 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7608 PyObject *resultobj = 0;
7609 wxDialog *arg1 = (wxDialog *) 0 ;
7610 int result;
7611 void *argp1 = 0 ;
7612 int res1 = 0 ;
7613 PyObject *swig_obj[1] ;
7614
7615 if (!args) SWIG_fail;
7616 swig_obj[0] = args;
7617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7618 if (!SWIG_IsOK(res1)) {
7619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7620 }
7621 arg1 = reinterpret_cast< wxDialog * >(argp1);
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 resultobj = SWIG_From_int(static_cast< int >(result));
7629 return resultobj;
7630 fail:
7631 return NULL;
7632 }
7633
7634
7635 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7636 PyObject *resultobj = 0;
7637 wxDialog *arg1 = (wxDialog *) 0 ;
7638 int arg2 ;
7639 void *argp1 = 0 ;
7640 int res1 = 0 ;
7641 int val2 ;
7642 int ecode2 = 0 ;
7643 PyObject * obj0 = 0 ;
7644 PyObject * obj1 = 0 ;
7645 char * kwnames[] = {
7646 (char *) "self",(char *) "escapeId", NULL
7647 };
7648
7649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7651 if (!SWIG_IsOK(res1)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7653 }
7654 arg1 = reinterpret_cast< wxDialog * >(argp1);
7655 ecode2 = SWIG_AsVal_int(obj1, &val2);
7656 if (!SWIG_IsOK(ecode2)) {
7657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7658 }
7659 arg2 = static_cast< int >(val2);
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 (arg1)->SetEscapeId(arg2);
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 resultobj = SWIG_Py_Void();
7667 return resultobj;
7668 fail:
7669 return NULL;
7670 }
7671
7672
7673 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7674 PyObject *resultobj = 0;
7675 wxDialog *arg1 = (wxDialog *) 0 ;
7676 int result;
7677 void *argp1 = 0 ;
7678 int res1 = 0 ;
7679 PyObject *swig_obj[1] ;
7680
7681 if (!args) SWIG_fail;
7682 swig_obj[0] = args;
7683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7684 if (!SWIG_IsOK(res1)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7686 }
7687 arg1 = reinterpret_cast< wxDialog * >(argp1);
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 resultobj = SWIG_From_int(static_cast< int >(result));
7695 return resultobj;
7696 fail:
7697 return NULL;
7698 }
7699
7700
7701 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7702 PyObject *resultobj = 0;
7703 wxDialog *arg1 = (wxDialog *) 0 ;
7704 wxString *arg2 = 0 ;
7705 wxSizer *result = 0 ;
7706 void *argp1 = 0 ;
7707 int res1 = 0 ;
7708 bool temp2 = false ;
7709 PyObject * obj0 = 0 ;
7710 PyObject * obj1 = 0 ;
7711 char * kwnames[] = {
7712 (char *) "self",(char *) "message", NULL
7713 };
7714
7715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7717 if (!SWIG_IsOK(res1)) {
7718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7719 }
7720 arg1 = reinterpret_cast< wxDialog * >(argp1);
7721 {
7722 arg2 = wxString_in_helper(obj1);
7723 if (arg2 == NULL) SWIG_fail;
7724 temp2 = true;
7725 }
7726 {
7727 PyThreadState* __tstate = wxPyBeginAllowThreads();
7728 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 {
7733 resultobj = wxPyMake_wxObject(result, (bool)0);
7734 }
7735 {
7736 if (temp2)
7737 delete arg2;
7738 }
7739 return resultobj;
7740 fail:
7741 {
7742 if (temp2)
7743 delete arg2;
7744 }
7745 return NULL;
7746 }
7747
7748
7749 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj = 0;
7751 wxDialog *arg1 = (wxDialog *) 0 ;
7752 long arg2 ;
7753 wxSizer *result = 0 ;
7754 void *argp1 = 0 ;
7755 int res1 = 0 ;
7756 long val2 ;
7757 int ecode2 = 0 ;
7758 PyObject * obj0 = 0 ;
7759 PyObject * obj1 = 0 ;
7760 char * kwnames[] = {
7761 (char *) "self",(char *) "flags", NULL
7762 };
7763
7764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7766 if (!SWIG_IsOK(res1)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7768 }
7769 arg1 = reinterpret_cast< wxDialog * >(argp1);
7770 ecode2 = SWIG_AsVal_long(obj1, &val2);
7771 if (!SWIG_IsOK(ecode2)) {
7772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7773 }
7774 arg2 = static_cast< long >(val2);
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 {
7782 resultobj = wxPyMake_wxObject(result, (bool)0);
7783 }
7784 return resultobj;
7785 fail:
7786 return NULL;
7787 }
7788
7789
7790 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7791 PyObject *resultobj = 0;
7792 wxDialog *arg1 = (wxDialog *) 0 ;
7793 long arg2 ;
7794 wxSizer *result = 0 ;
7795 void *argp1 = 0 ;
7796 int res1 = 0 ;
7797 long val2 ;
7798 int ecode2 = 0 ;
7799 PyObject * obj0 = 0 ;
7800 PyObject * obj1 = 0 ;
7801 char * kwnames[] = {
7802 (char *) "self",(char *) "flags", NULL
7803 };
7804
7805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7807 if (!SWIG_IsOK(res1)) {
7808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7809 }
7810 arg1 = reinterpret_cast< wxDialog * >(argp1);
7811 ecode2 = SWIG_AsVal_long(obj1, &val2);
7812 if (!SWIG_IsOK(ecode2)) {
7813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7814 }
7815 arg2 = static_cast< long >(val2);
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 {
7823 resultobj = wxPyMake_wxObject(result, (bool)0);
7824 }
7825 return resultobj;
7826 fail:
7827 return NULL;
7828 }
7829
7830
7831 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7832 PyObject *resultobj = 0;
7833 wxDialog *arg1 = (wxDialog *) 0 ;
7834 long arg2 ;
7835 wxStdDialogButtonSizer *result = 0 ;
7836 void *argp1 = 0 ;
7837 int res1 = 0 ;
7838 long val2 ;
7839 int ecode2 = 0 ;
7840 PyObject * obj0 = 0 ;
7841 PyObject * obj1 = 0 ;
7842 char * kwnames[] = {
7843 (char *) "self",(char *) "flags", NULL
7844 };
7845
7846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7848 if (!SWIG_IsOK(res1)) {
7849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7850 }
7851 arg1 = reinterpret_cast< wxDialog * >(argp1);
7852 ecode2 = SWIG_AsVal_long(obj1, &val2);
7853 if (!SWIG_IsOK(ecode2)) {
7854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7855 }
7856 arg2 = static_cast< long >(val2);
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7860 wxPyEndAllowThreads(__tstate);
7861 if (PyErr_Occurred()) SWIG_fail;
7862 }
7863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7864 return resultobj;
7865 fail:
7866 return NULL;
7867 }
7868
7869
7870 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7871 PyObject *resultobj = 0;
7872 wxDialog *arg1 = (wxDialog *) 0 ;
7873 bool result;
7874 void *argp1 = 0 ;
7875 int res1 = 0 ;
7876 PyObject *swig_obj[1] ;
7877
7878 if (!args) SWIG_fail;
7879 swig_obj[0] = args;
7880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7881 if (!SWIG_IsOK(res1)) {
7882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7883 }
7884 arg1 = reinterpret_cast< wxDialog * >(argp1);
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 result = (bool)((wxDialog const *)arg1)->IsModal();
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 {
7892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7893 }
7894 return resultobj;
7895 fail:
7896 return NULL;
7897 }
7898
7899
7900 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7901 PyObject *resultobj = 0;
7902 wxDialog *arg1 = (wxDialog *) 0 ;
7903 int result;
7904 void *argp1 = 0 ;
7905 int res1 = 0 ;
7906 PyObject *swig_obj[1] ;
7907
7908 if (!args) SWIG_fail;
7909 swig_obj[0] = args;
7910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7911 if (!SWIG_IsOK(res1)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7913 }
7914 arg1 = reinterpret_cast< wxDialog * >(argp1);
7915 {
7916 PyThreadState* __tstate = wxPyBeginAllowThreads();
7917 result = (int)(arg1)->ShowModal();
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) SWIG_fail;
7920 }
7921 resultobj = SWIG_From_int(static_cast< int >(result));
7922 return resultobj;
7923 fail:
7924 return NULL;
7925 }
7926
7927
7928 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7929 PyObject *resultobj = 0;
7930 wxDialog *arg1 = (wxDialog *) 0 ;
7931 int arg2 ;
7932 void *argp1 = 0 ;
7933 int res1 = 0 ;
7934 int val2 ;
7935 int ecode2 = 0 ;
7936 PyObject * obj0 = 0 ;
7937 PyObject * obj1 = 0 ;
7938 char * kwnames[] = {
7939 (char *) "self",(char *) "retCode", NULL
7940 };
7941
7942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7944 if (!SWIG_IsOK(res1)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7946 }
7947 arg1 = reinterpret_cast< wxDialog * >(argp1);
7948 ecode2 = SWIG_AsVal_int(obj1, &val2);
7949 if (!SWIG_IsOK(ecode2)) {
7950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7951 }
7952 arg2 = static_cast< int >(val2);
7953 {
7954 PyThreadState* __tstate = wxPyBeginAllowThreads();
7955 (arg1)->EndModal(arg2);
7956 wxPyEndAllowThreads(__tstate);
7957 if (PyErr_Occurred()) SWIG_fail;
7958 }
7959 resultobj = SWIG_Py_Void();
7960 return resultobj;
7961 fail:
7962 return NULL;
7963 }
7964
7965
7966 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7967 PyObject *resultobj = 0;
7968 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7969 SwigValueWrapper<wxVisualAttributes > result;
7970 int val1 ;
7971 int ecode1 = 0 ;
7972 PyObject * obj0 = 0 ;
7973 char * kwnames[] = {
7974 (char *) "variant", NULL
7975 };
7976
7977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7978 if (obj0) {
7979 ecode1 = SWIG_AsVal_int(obj0, &val1);
7980 if (!SWIG_IsOK(ecode1)) {
7981 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7982 }
7983 arg1 = static_cast< wxWindowVariant >(val1);
7984 }
7985 {
7986 if (!wxPyCheckForApp()) SWIG_fail;
7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
7988 result = wxDialog::GetClassDefaultAttributes(arg1);
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7993 return resultobj;
7994 fail:
7995 return NULL;
7996 }
7997
7998
7999 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8000 PyObject *obj;
8001 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8002 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8003 return SWIG_Py_Void();
8004 }
8005
8006 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8007 return SWIG_Python_InitShadowInstance(args);
8008 }
8009
8010 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj = 0;
8012 wxWindow *arg1 = (wxWindow *) 0 ;
8013 int arg2 = (int) (int)-1 ;
8014 wxString const &arg3_defvalue = wxPyEmptyString ;
8015 wxString *arg3 = (wxString *) &arg3_defvalue ;
8016 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8017 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8018 wxSize const &arg5_defvalue = wxDefaultSize ;
8019 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8020 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8021 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8022 wxString *arg7 = (wxString *) &arg7_defvalue ;
8023 wxMiniFrame *result = 0 ;
8024 void *argp1 = 0 ;
8025 int res1 = 0 ;
8026 int val2 ;
8027 int ecode2 = 0 ;
8028 bool temp3 = false ;
8029 wxPoint temp4 ;
8030 wxSize temp5 ;
8031 long val6 ;
8032 int ecode6 = 0 ;
8033 bool temp7 = false ;
8034 PyObject * obj0 = 0 ;
8035 PyObject * obj1 = 0 ;
8036 PyObject * obj2 = 0 ;
8037 PyObject * obj3 = 0 ;
8038 PyObject * obj4 = 0 ;
8039 PyObject * obj5 = 0 ;
8040 PyObject * obj6 = 0 ;
8041 char * kwnames[] = {
8042 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8043 };
8044
8045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8047 if (!SWIG_IsOK(res1)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8049 }
8050 arg1 = reinterpret_cast< wxWindow * >(argp1);
8051 if (obj1) {
8052 ecode2 = SWIG_AsVal_int(obj1, &val2);
8053 if (!SWIG_IsOK(ecode2)) {
8054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8055 }
8056 arg2 = static_cast< int >(val2);
8057 }
8058 if (obj2) {
8059 {
8060 arg3 = wxString_in_helper(obj2);
8061 if (arg3 == NULL) SWIG_fail;
8062 temp3 = true;
8063 }
8064 }
8065 if (obj3) {
8066 {
8067 arg4 = &temp4;
8068 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8069 }
8070 }
8071 if (obj4) {
8072 {
8073 arg5 = &temp5;
8074 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8075 }
8076 }
8077 if (obj5) {
8078 ecode6 = SWIG_AsVal_long(obj5, &val6);
8079 if (!SWIG_IsOK(ecode6)) {
8080 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8081 }
8082 arg6 = static_cast< long >(val6);
8083 }
8084 if (obj6) {
8085 {
8086 arg7 = wxString_in_helper(obj6);
8087 if (arg7 == NULL) SWIG_fail;
8088 temp7 = true;
8089 }
8090 }
8091 {
8092 if (!wxPyCheckForApp()) SWIG_fail;
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8099 {
8100 if (temp3)
8101 delete arg3;
8102 }
8103 {
8104 if (temp7)
8105 delete arg7;
8106 }
8107 return resultobj;
8108 fail:
8109 {
8110 if (temp3)
8111 delete arg3;
8112 }
8113 {
8114 if (temp7)
8115 delete arg7;
8116 }
8117 return NULL;
8118 }
8119
8120
8121 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8122 PyObject *resultobj = 0;
8123 wxMiniFrame *result = 0 ;
8124
8125 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8126 {
8127 if (!wxPyCheckForApp()) SWIG_fail;
8128 PyThreadState* __tstate = wxPyBeginAllowThreads();
8129 result = (wxMiniFrame *)new wxMiniFrame();
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
8133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8134 return resultobj;
8135 fail:
8136 return NULL;
8137 }
8138
8139
8140 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8141 PyObject *resultobj = 0;
8142 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8143 wxWindow *arg2 = (wxWindow *) 0 ;
8144 int arg3 = (int) (int)-1 ;
8145 wxString const &arg4_defvalue = wxPyEmptyString ;
8146 wxString *arg4 = (wxString *) &arg4_defvalue ;
8147 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8148 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8149 wxSize const &arg6_defvalue = wxDefaultSize ;
8150 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8151 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8152 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8153 wxString *arg8 = (wxString *) &arg8_defvalue ;
8154 bool result;
8155 void *argp1 = 0 ;
8156 int res1 = 0 ;
8157 void *argp2 = 0 ;
8158 int res2 = 0 ;
8159 int val3 ;
8160 int ecode3 = 0 ;
8161 bool temp4 = false ;
8162 wxPoint temp5 ;
8163 wxSize temp6 ;
8164 long val7 ;
8165 int ecode7 = 0 ;
8166 bool temp8 = false ;
8167 PyObject * obj0 = 0 ;
8168 PyObject * obj1 = 0 ;
8169 PyObject * obj2 = 0 ;
8170 PyObject * obj3 = 0 ;
8171 PyObject * obj4 = 0 ;
8172 PyObject * obj5 = 0 ;
8173 PyObject * obj6 = 0 ;
8174 PyObject * obj7 = 0 ;
8175 char * kwnames[] = {
8176 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8177 };
8178
8179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8181 if (!SWIG_IsOK(res1)) {
8182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8183 }
8184 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8186 if (!SWIG_IsOK(res2)) {
8187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8188 }
8189 arg2 = reinterpret_cast< wxWindow * >(argp2);
8190 if (obj2) {
8191 ecode3 = SWIG_AsVal_int(obj2, &val3);
8192 if (!SWIG_IsOK(ecode3)) {
8193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8194 }
8195 arg3 = static_cast< int >(val3);
8196 }
8197 if (obj3) {
8198 {
8199 arg4 = wxString_in_helper(obj3);
8200 if (arg4 == NULL) SWIG_fail;
8201 temp4 = true;
8202 }
8203 }
8204 if (obj4) {
8205 {
8206 arg5 = &temp5;
8207 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8208 }
8209 }
8210 if (obj5) {
8211 {
8212 arg6 = &temp6;
8213 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8214 }
8215 }
8216 if (obj6) {
8217 ecode7 = SWIG_AsVal_long(obj6, &val7);
8218 if (!SWIG_IsOK(ecode7)) {
8219 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8220 }
8221 arg7 = static_cast< long >(val7);
8222 }
8223 if (obj7) {
8224 {
8225 arg8 = wxString_in_helper(obj7);
8226 if (arg8 == NULL) SWIG_fail;
8227 temp8 = true;
8228 }
8229 }
8230 {
8231 PyThreadState* __tstate = wxPyBeginAllowThreads();
8232 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 {
8237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8238 }
8239 {
8240 if (temp4)
8241 delete arg4;
8242 }
8243 {
8244 if (temp8)
8245 delete arg8;
8246 }
8247 return resultobj;
8248 fail:
8249 {
8250 if (temp4)
8251 delete arg4;
8252 }
8253 {
8254 if (temp8)
8255 delete arg8;
8256 }
8257 return NULL;
8258 }
8259
8260
8261 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8262 PyObject *obj;
8263 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8264 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8265 return SWIG_Py_Void();
8266 }
8267
8268 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8269 return SWIG_Python_InitShadowInstance(args);
8270 }
8271
8272 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8273 PyObject *resultobj = 0;
8274 wxBitmap *arg1 = 0 ;
8275 wxWindow *arg2 = (wxWindow *) 0 ;
8276 int arg3 ;
8277 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8278 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8279 wxSize const &arg5_defvalue = wxDefaultSize ;
8280 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8281 long arg6 = (long) wxNO_BORDER ;
8282 wxSplashScreenWindow *result = 0 ;
8283 void *argp1 = 0 ;
8284 int res1 = 0 ;
8285 void *argp2 = 0 ;
8286 int res2 = 0 ;
8287 int val3 ;
8288 int ecode3 = 0 ;
8289 wxPoint temp4 ;
8290 wxSize temp5 ;
8291 long val6 ;
8292 int ecode6 = 0 ;
8293 PyObject * obj0 = 0 ;
8294 PyObject * obj1 = 0 ;
8295 PyObject * obj2 = 0 ;
8296 PyObject * obj3 = 0 ;
8297 PyObject * obj4 = 0 ;
8298 PyObject * obj5 = 0 ;
8299 char * kwnames[] = {
8300 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8301 };
8302
8303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8304 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8305 if (!SWIG_IsOK(res1)) {
8306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8307 }
8308 if (!argp1) {
8309 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8310 }
8311 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8312 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8313 if (!SWIG_IsOK(res2)) {
8314 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8315 }
8316 arg2 = reinterpret_cast< wxWindow * >(argp2);
8317 ecode3 = SWIG_AsVal_int(obj2, &val3);
8318 if (!SWIG_IsOK(ecode3)) {
8319 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8320 }
8321 arg3 = static_cast< int >(val3);
8322 if (obj3) {
8323 {
8324 arg4 = &temp4;
8325 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8326 }
8327 }
8328 if (obj4) {
8329 {
8330 arg5 = &temp5;
8331 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8332 }
8333 }
8334 if (obj5) {
8335 ecode6 = SWIG_AsVal_long(obj5, &val6);
8336 if (!SWIG_IsOK(ecode6)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8338 }
8339 arg6 = static_cast< long >(val6);
8340 }
8341 {
8342 if (!wxPyCheckForApp()) SWIG_fail;
8343 PyThreadState* __tstate = wxPyBeginAllowThreads();
8344 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
8348 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8349 return resultobj;
8350 fail:
8351 return NULL;
8352 }
8353
8354
8355 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8356 PyObject *resultobj = 0;
8357 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8358 wxBitmap *arg2 = 0 ;
8359 void *argp1 = 0 ;
8360 int res1 = 0 ;
8361 void *argp2 = 0 ;
8362 int res2 = 0 ;
8363 PyObject * obj0 = 0 ;
8364 PyObject * obj1 = 0 ;
8365 char * kwnames[] = {
8366 (char *) "self",(char *) "bitmap", NULL
8367 };
8368
8369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8371 if (!SWIG_IsOK(res1)) {
8372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8373 }
8374 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8375 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8376 if (!SWIG_IsOK(res2)) {
8377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8378 }
8379 if (!argp2) {
8380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8381 }
8382 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8383 {
8384 PyThreadState* __tstate = wxPyBeginAllowThreads();
8385 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 resultobj = SWIG_Py_Void();
8390 return resultobj;
8391 fail:
8392 return NULL;
8393 }
8394
8395
8396 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8397 PyObject *resultobj = 0;
8398 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8399 wxBitmap *result = 0 ;
8400 void *argp1 = 0 ;
8401 int res1 = 0 ;
8402 PyObject *swig_obj[1] ;
8403
8404 if (!args) SWIG_fail;
8405 swig_obj[0] = args;
8406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8407 if (!SWIG_IsOK(res1)) {
8408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8409 }
8410 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 {
8414 wxBitmap &_result_ref = (arg1)->GetBitmap();
8415 result = (wxBitmap *) &_result_ref;
8416 }
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 {
8421 wxBitmap* resultptr = new wxBitmap(*result);
8422 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8423 }
8424 return resultobj;
8425 fail:
8426 return NULL;
8427 }
8428
8429
8430 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8431 PyObject *obj;
8432 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8433 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8434 return SWIG_Py_Void();
8435 }
8436
8437 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8438 return SWIG_Python_InitShadowInstance(args);
8439 }
8440
8441 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8442 PyObject *resultobj = 0;
8443 wxBitmap *arg1 = 0 ;
8444 long arg2 ;
8445 int arg3 ;
8446 wxWindow *arg4 = (wxWindow *) 0 ;
8447 int arg5 = (int) -1 ;
8448 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8449 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8450 wxSize const &arg7_defvalue = wxDefaultSize ;
8451 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8452 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8453 wxSplashScreen *result = 0 ;
8454 void *argp1 = 0 ;
8455 int res1 = 0 ;
8456 long val2 ;
8457 int ecode2 = 0 ;
8458 int val3 ;
8459 int ecode3 = 0 ;
8460 void *argp4 = 0 ;
8461 int res4 = 0 ;
8462 int val5 ;
8463 int ecode5 = 0 ;
8464 wxPoint temp6 ;
8465 wxSize temp7 ;
8466 long val8 ;
8467 int ecode8 = 0 ;
8468 PyObject * obj0 = 0 ;
8469 PyObject * obj1 = 0 ;
8470 PyObject * obj2 = 0 ;
8471 PyObject * obj3 = 0 ;
8472 PyObject * obj4 = 0 ;
8473 PyObject * obj5 = 0 ;
8474 PyObject * obj6 = 0 ;
8475 PyObject * obj7 = 0 ;
8476 char * kwnames[] = {
8477 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8478 };
8479
8480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8481 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8482 if (!SWIG_IsOK(res1)) {
8483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8484 }
8485 if (!argp1) {
8486 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8487 }
8488 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8489 ecode2 = SWIG_AsVal_long(obj1, &val2);
8490 if (!SWIG_IsOK(ecode2)) {
8491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8492 }
8493 arg2 = static_cast< long >(val2);
8494 ecode3 = SWIG_AsVal_int(obj2, &val3);
8495 if (!SWIG_IsOK(ecode3)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8497 }
8498 arg3 = static_cast< int >(val3);
8499 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8500 if (!SWIG_IsOK(res4)) {
8501 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8502 }
8503 arg4 = reinterpret_cast< wxWindow * >(argp4);
8504 if (obj4) {
8505 ecode5 = SWIG_AsVal_int(obj4, &val5);
8506 if (!SWIG_IsOK(ecode5)) {
8507 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8508 }
8509 arg5 = static_cast< int >(val5);
8510 }
8511 if (obj5) {
8512 {
8513 arg6 = &temp6;
8514 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8515 }
8516 }
8517 if (obj6) {
8518 {
8519 arg7 = &temp7;
8520 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8521 }
8522 }
8523 if (obj7) {
8524 ecode8 = SWIG_AsVal_long(obj7, &val8);
8525 if (!SWIG_IsOK(ecode8)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8527 }
8528 arg8 = static_cast< long >(val8);
8529 }
8530 {
8531 if (!wxPyCheckForApp()) SWIG_fail;
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8534 wxPyEndAllowThreads(__tstate);
8535 if (PyErr_Occurred()) SWIG_fail;
8536 }
8537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8538 return resultobj;
8539 fail:
8540 return NULL;
8541 }
8542
8543
8544 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8545 PyObject *resultobj = 0;
8546 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8547 long result;
8548 void *argp1 = 0 ;
8549 int res1 = 0 ;
8550 PyObject *swig_obj[1] ;
8551
8552 if (!args) SWIG_fail;
8553 swig_obj[0] = args;
8554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8555 if (!SWIG_IsOK(res1)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8557 }
8558 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8559 {
8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
8561 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8562 wxPyEndAllowThreads(__tstate);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 }
8565 resultobj = SWIG_From_long(static_cast< long >(result));
8566 return resultobj;
8567 fail:
8568 return NULL;
8569 }
8570
8571
8572 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8573 PyObject *resultobj = 0;
8574 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8575 wxSplashScreenWindow *result = 0 ;
8576 void *argp1 = 0 ;
8577 int res1 = 0 ;
8578 PyObject *swig_obj[1] ;
8579
8580 if (!args) SWIG_fail;
8581 swig_obj[0] = args;
8582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8583 if (!SWIG_IsOK(res1)) {
8584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8585 }
8586 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8587 {
8588 PyThreadState* __tstate = wxPyBeginAllowThreads();
8589 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8594 return resultobj;
8595 fail:
8596 return NULL;
8597 }
8598
8599
8600 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8601 PyObject *resultobj = 0;
8602 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8603 int result;
8604 void *argp1 = 0 ;
8605 int res1 = 0 ;
8606 PyObject *swig_obj[1] ;
8607
8608 if (!args) SWIG_fail;
8609 swig_obj[0] = args;
8610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8611 if (!SWIG_IsOK(res1)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8613 }
8614 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 resultobj = SWIG_From_int(static_cast< int >(result));
8622 return resultobj;
8623 fail:
8624 return NULL;
8625 }
8626
8627
8628 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8629 PyObject *obj;
8630 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8631 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8632 return SWIG_Py_Void();
8633 }
8634
8635 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8636 return SWIG_Python_InitShadowInstance(args);
8637 }
8638
8639 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8640 PyObject *resultobj = 0;
8641 wxWindow *arg1 = (wxWindow *) 0 ;
8642 int arg2 = (int) -1 ;
8643 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8644 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8645 wxString *arg4 = (wxString *) &arg4_defvalue ;
8646 wxStatusBar *result = 0 ;
8647 void *argp1 = 0 ;
8648 int res1 = 0 ;
8649 int val2 ;
8650 int ecode2 = 0 ;
8651 long val3 ;
8652 int ecode3 = 0 ;
8653 bool temp4 = false ;
8654 PyObject * obj0 = 0 ;
8655 PyObject * obj1 = 0 ;
8656 PyObject * obj2 = 0 ;
8657 PyObject * obj3 = 0 ;
8658 char * kwnames[] = {
8659 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8660 };
8661
8662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8664 if (!SWIG_IsOK(res1)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8666 }
8667 arg1 = reinterpret_cast< wxWindow * >(argp1);
8668 if (obj1) {
8669 ecode2 = SWIG_AsVal_int(obj1, &val2);
8670 if (!SWIG_IsOK(ecode2)) {
8671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8672 }
8673 arg2 = static_cast< int >(val2);
8674 }
8675 if (obj2) {
8676 ecode3 = SWIG_AsVal_long(obj2, &val3);
8677 if (!SWIG_IsOK(ecode3)) {
8678 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8679 }
8680 arg3 = static_cast< long >(val3);
8681 }
8682 if (obj3) {
8683 {
8684 arg4 = wxString_in_helper(obj3);
8685 if (arg4 == NULL) SWIG_fail;
8686 temp4 = true;
8687 }
8688 }
8689 {
8690 if (!wxPyCheckForApp()) SWIG_fail;
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8697 {
8698 if (temp4)
8699 delete arg4;
8700 }
8701 return resultobj;
8702 fail:
8703 {
8704 if (temp4)
8705 delete arg4;
8706 }
8707 return NULL;
8708 }
8709
8710
8711 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8712 PyObject *resultobj = 0;
8713 wxStatusBar *result = 0 ;
8714
8715 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8716 {
8717 if (!wxPyCheckForApp()) SWIG_fail;
8718 PyThreadState* __tstate = wxPyBeginAllowThreads();
8719 result = (wxStatusBar *)new wxStatusBar();
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8724 return resultobj;
8725 fail:
8726 return NULL;
8727 }
8728
8729
8730 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8731 PyObject *resultobj = 0;
8732 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8733 wxWindow *arg2 = (wxWindow *) 0 ;
8734 int arg3 = (int) -1 ;
8735 long arg4 = (long) wxST_SIZEGRIP ;
8736 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8737 wxString *arg5 = (wxString *) &arg5_defvalue ;
8738 bool result;
8739 void *argp1 = 0 ;
8740 int res1 = 0 ;
8741 void *argp2 = 0 ;
8742 int res2 = 0 ;
8743 int val3 ;
8744 int ecode3 = 0 ;
8745 long val4 ;
8746 int ecode4 = 0 ;
8747 bool temp5 = false ;
8748 PyObject * obj0 = 0 ;
8749 PyObject * obj1 = 0 ;
8750 PyObject * obj2 = 0 ;
8751 PyObject * obj3 = 0 ;
8752 PyObject * obj4 = 0 ;
8753 char * kwnames[] = {
8754 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8755 };
8756
8757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8759 if (!SWIG_IsOK(res1)) {
8760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8761 }
8762 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8763 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8764 if (!SWIG_IsOK(res2)) {
8765 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8766 }
8767 arg2 = reinterpret_cast< wxWindow * >(argp2);
8768 if (obj2) {
8769 ecode3 = SWIG_AsVal_int(obj2, &val3);
8770 if (!SWIG_IsOK(ecode3)) {
8771 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8772 }
8773 arg3 = static_cast< int >(val3);
8774 }
8775 if (obj3) {
8776 ecode4 = SWIG_AsVal_long(obj3, &val4);
8777 if (!SWIG_IsOK(ecode4)) {
8778 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8779 }
8780 arg4 = static_cast< long >(val4);
8781 }
8782 if (obj4) {
8783 {
8784 arg5 = wxString_in_helper(obj4);
8785 if (arg5 == NULL) SWIG_fail;
8786 temp5 = true;
8787 }
8788 }
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 {
8796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8797 }
8798 {
8799 if (temp5)
8800 delete arg5;
8801 }
8802 return resultobj;
8803 fail:
8804 {
8805 if (temp5)
8806 delete arg5;
8807 }
8808 return NULL;
8809 }
8810
8811
8812 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj = 0;
8814 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8815 int arg2 = (int) 1 ;
8816 void *argp1 = 0 ;
8817 int res1 = 0 ;
8818 int val2 ;
8819 int ecode2 = 0 ;
8820 PyObject * obj0 = 0 ;
8821 PyObject * obj1 = 0 ;
8822 char * kwnames[] = {
8823 (char *) "self",(char *) "number", NULL
8824 };
8825
8826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8828 if (!SWIG_IsOK(res1)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8830 }
8831 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8832 if (obj1) {
8833 ecode2 = SWIG_AsVal_int(obj1, &val2);
8834 if (!SWIG_IsOK(ecode2)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8836 }
8837 arg2 = static_cast< int >(val2);
8838 }
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 (arg1)->SetFieldsCount(arg2);
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 resultobj = SWIG_Py_Void();
8846 return resultobj;
8847 fail:
8848 return NULL;
8849 }
8850
8851
8852 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8853 PyObject *resultobj = 0;
8854 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8855 int result;
8856 void *argp1 = 0 ;
8857 int res1 = 0 ;
8858 PyObject *swig_obj[1] ;
8859
8860 if (!args) SWIG_fail;
8861 swig_obj[0] = args;
8862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8863 if (!SWIG_IsOK(res1)) {
8864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8865 }
8866 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 resultobj = SWIG_From_int(static_cast< int >(result));
8874 return resultobj;
8875 fail:
8876 return NULL;
8877 }
8878
8879
8880 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj = 0;
8882 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8883 wxString *arg2 = 0 ;
8884 int arg3 = (int) 0 ;
8885 void *argp1 = 0 ;
8886 int res1 = 0 ;
8887 bool temp2 = false ;
8888 int val3 ;
8889 int ecode3 = 0 ;
8890 PyObject * obj0 = 0 ;
8891 PyObject * obj1 = 0 ;
8892 PyObject * obj2 = 0 ;
8893 char * kwnames[] = {
8894 (char *) "self",(char *) "text",(char *) "number", NULL
8895 };
8896
8897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8899 if (!SWIG_IsOK(res1)) {
8900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8901 }
8902 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8903 {
8904 arg2 = wxString_in_helper(obj1);
8905 if (arg2 == NULL) SWIG_fail;
8906 temp2 = true;
8907 }
8908 if (obj2) {
8909 ecode3 = SWIG_AsVal_int(obj2, &val3);
8910 if (!SWIG_IsOK(ecode3)) {
8911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8912 }
8913 arg3 = static_cast< int >(val3);
8914 }
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 resultobj = SWIG_Py_Void();
8922 {
8923 if (temp2)
8924 delete arg2;
8925 }
8926 return resultobj;
8927 fail:
8928 {
8929 if (temp2)
8930 delete arg2;
8931 }
8932 return NULL;
8933 }
8934
8935
8936 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8937 PyObject *resultobj = 0;
8938 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8939 int arg2 = (int) 0 ;
8940 wxString result;
8941 void *argp1 = 0 ;
8942 int res1 = 0 ;
8943 int val2 ;
8944 int ecode2 = 0 ;
8945 PyObject * obj0 = 0 ;
8946 PyObject * obj1 = 0 ;
8947 char * kwnames[] = {
8948 (char *) "self",(char *) "number", NULL
8949 };
8950
8951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8953 if (!SWIG_IsOK(res1)) {
8954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8955 }
8956 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8957 if (obj1) {
8958 ecode2 = SWIG_AsVal_int(obj1, &val2);
8959 if (!SWIG_IsOK(ecode2)) {
8960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8961 }
8962 arg2 = static_cast< int >(val2);
8963 }
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
8970 {
8971 #if wxUSE_UNICODE
8972 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8973 #else
8974 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8975 #endif
8976 }
8977 return resultobj;
8978 fail:
8979 return NULL;
8980 }
8981
8982
8983 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8984 PyObject *resultobj = 0;
8985 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8986 wxString *arg2 = 0 ;
8987 int arg3 = (int) 0 ;
8988 void *argp1 = 0 ;
8989 int res1 = 0 ;
8990 bool temp2 = false ;
8991 int val3 ;
8992 int ecode3 = 0 ;
8993 PyObject * obj0 = 0 ;
8994 PyObject * obj1 = 0 ;
8995 PyObject * obj2 = 0 ;
8996 char * kwnames[] = {
8997 (char *) "self",(char *) "text",(char *) "number", NULL
8998 };
8999
9000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9002 if (!SWIG_IsOK(res1)) {
9003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9004 }
9005 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9006 {
9007 arg2 = wxString_in_helper(obj1);
9008 if (arg2 == NULL) SWIG_fail;
9009 temp2 = true;
9010 }
9011 if (obj2) {
9012 ecode3 = SWIG_AsVal_int(obj2, &val3);
9013 if (!SWIG_IsOK(ecode3)) {
9014 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9015 }
9016 arg3 = static_cast< int >(val3);
9017 }
9018 {
9019 PyThreadState* __tstate = wxPyBeginAllowThreads();
9020 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 resultobj = SWIG_Py_Void();
9025 {
9026 if (temp2)
9027 delete arg2;
9028 }
9029 return resultobj;
9030 fail:
9031 {
9032 if (temp2)
9033 delete arg2;
9034 }
9035 return NULL;
9036 }
9037
9038
9039 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj = 0;
9041 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9042 int arg2 = (int) 0 ;
9043 void *argp1 = 0 ;
9044 int res1 = 0 ;
9045 int val2 ;
9046 int ecode2 = 0 ;
9047 PyObject * obj0 = 0 ;
9048 PyObject * obj1 = 0 ;
9049 char * kwnames[] = {
9050 (char *) "self",(char *) "number", NULL
9051 };
9052
9053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9055 if (!SWIG_IsOK(res1)) {
9056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9057 }
9058 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9059 if (obj1) {
9060 ecode2 = SWIG_AsVal_int(obj1, &val2);
9061 if (!SWIG_IsOK(ecode2)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9063 }
9064 arg2 = static_cast< int >(val2);
9065 }
9066 {
9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
9068 (arg1)->PopStatusText(arg2);
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 resultobj = SWIG_Py_Void();
9073 return resultobj;
9074 fail:
9075 return NULL;
9076 }
9077
9078
9079 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9080 PyObject *resultobj = 0;
9081 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9082 int arg2 ;
9083 int *arg3 = (int *) 0 ;
9084 void *argp1 = 0 ;
9085 int res1 = 0 ;
9086 PyObject * obj0 = 0 ;
9087 PyObject * obj1 = 0 ;
9088 char * kwnames[] = {
9089 (char *) "self",(char *) "widths", NULL
9090 };
9091
9092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9094 if (!SWIG_IsOK(res1)) {
9095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9096 }
9097 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9098 {
9099 arg2 = PyList_Size(obj1);
9100 arg3 = int_LIST_helper(obj1);
9101 if (arg3 == NULL) SWIG_fail;
9102 }
9103 {
9104 PyThreadState* __tstate = wxPyBeginAllowThreads();
9105 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9106 wxPyEndAllowThreads(__tstate);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 }
9109 resultobj = SWIG_Py_Void();
9110 {
9111 if (arg3) delete [] arg3;
9112 }
9113 return resultobj;
9114 fail:
9115 {
9116 if (arg3) delete [] arg3;
9117 }
9118 return NULL;
9119 }
9120
9121
9122 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj = 0;
9124 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9125 int arg2 ;
9126 int *arg3 = (int *) 0 ;
9127 void *argp1 = 0 ;
9128 int res1 = 0 ;
9129 PyObject * obj0 = 0 ;
9130 PyObject * obj1 = 0 ;
9131 char * kwnames[] = {
9132 (char *) "self",(char *) "styles", NULL
9133 };
9134
9135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9137 if (!SWIG_IsOK(res1)) {
9138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9139 }
9140 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9141 {
9142 arg2 = PyList_Size(obj1);
9143 arg3 = int_LIST_helper(obj1);
9144 if (arg3 == NULL) SWIG_fail;
9145 }
9146 {
9147 PyThreadState* __tstate = wxPyBeginAllowThreads();
9148 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 resultobj = SWIG_Py_Void();
9153 {
9154 if (arg3) delete [] arg3;
9155 }
9156 return resultobj;
9157 fail:
9158 {
9159 if (arg3) delete [] arg3;
9160 }
9161 return NULL;
9162 }
9163
9164
9165 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj = 0;
9167 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9168 int arg2 ;
9169 wxRect result;
9170 void *argp1 = 0 ;
9171 int res1 = 0 ;
9172 int val2 ;
9173 int ecode2 = 0 ;
9174 PyObject * obj0 = 0 ;
9175 PyObject * obj1 = 0 ;
9176 char * kwnames[] = {
9177 (char *) "self",(char *) "i", NULL
9178 };
9179
9180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9182 if (!SWIG_IsOK(res1)) {
9183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9184 }
9185 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9186 ecode2 = SWIG_AsVal_int(obj1, &val2);
9187 if (!SWIG_IsOK(ecode2)) {
9188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9189 }
9190 arg2 = static_cast< int >(val2);
9191 {
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 result = wxStatusBar_GetFieldRect(arg1,arg2);
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9198 return resultobj;
9199 fail:
9200 return NULL;
9201 }
9202
9203
9204 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9205 PyObject *resultobj = 0;
9206 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9207 int arg2 ;
9208 void *argp1 = 0 ;
9209 int res1 = 0 ;
9210 int val2 ;
9211 int ecode2 = 0 ;
9212 PyObject * obj0 = 0 ;
9213 PyObject * obj1 = 0 ;
9214 char * kwnames[] = {
9215 (char *) "self",(char *) "height", NULL
9216 };
9217
9218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9220 if (!SWIG_IsOK(res1)) {
9221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9222 }
9223 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9224 ecode2 = SWIG_AsVal_int(obj1, &val2);
9225 if (!SWIG_IsOK(ecode2)) {
9226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9227 }
9228 arg2 = static_cast< int >(val2);
9229 {
9230 PyThreadState* __tstate = wxPyBeginAllowThreads();
9231 (arg1)->SetMinHeight(arg2);
9232 wxPyEndAllowThreads(__tstate);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 }
9235 resultobj = SWIG_Py_Void();
9236 return resultobj;
9237 fail:
9238 return NULL;
9239 }
9240
9241
9242 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9243 PyObject *resultobj = 0;
9244 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9245 int result;
9246 void *argp1 = 0 ;
9247 int res1 = 0 ;
9248 PyObject *swig_obj[1] ;
9249
9250 if (!args) SWIG_fail;
9251 swig_obj[0] = args;
9252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9253 if (!SWIG_IsOK(res1)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9255 }
9256 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9260 wxPyEndAllowThreads(__tstate);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 resultobj = SWIG_From_int(static_cast< int >(result));
9264 return resultobj;
9265 fail:
9266 return NULL;
9267 }
9268
9269
9270 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9271 PyObject *resultobj = 0;
9272 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9273 int result;
9274 void *argp1 = 0 ;
9275 int res1 = 0 ;
9276 PyObject *swig_obj[1] ;
9277
9278 if (!args) SWIG_fail;
9279 swig_obj[0] = args;
9280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9281 if (!SWIG_IsOK(res1)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9283 }
9284 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9285 {
9286 PyThreadState* __tstate = wxPyBeginAllowThreads();
9287 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 resultobj = SWIG_From_int(static_cast< int >(result));
9292 return resultobj;
9293 fail:
9294 return NULL;
9295 }
9296
9297
9298 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj = 0;
9300 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9301 SwigValueWrapper<wxVisualAttributes > result;
9302 int val1 ;
9303 int ecode1 = 0 ;
9304 PyObject * obj0 = 0 ;
9305 char * kwnames[] = {
9306 (char *) "variant", NULL
9307 };
9308
9309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9310 if (obj0) {
9311 ecode1 = SWIG_AsVal_int(obj0, &val1);
9312 if (!SWIG_IsOK(ecode1)) {
9313 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9314 }
9315 arg1 = static_cast< wxWindowVariant >(val1);
9316 }
9317 {
9318 if (!wxPyCheckForApp()) SWIG_fail;
9319 PyThreadState* __tstate = wxPyBeginAllowThreads();
9320 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 }
9324 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9325 return resultobj;
9326 fail:
9327 return NULL;
9328 }
9329
9330
9331 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9332 PyObject *obj;
9333 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9334 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9335 return SWIG_Py_Void();
9336 }
9337
9338 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9339 return SWIG_Python_InitShadowInstance(args);
9340 }
9341
9342 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9343 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9344 return 1;
9345 }
9346
9347
9348 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9349 PyObject *pyobj = 0;
9350
9351 {
9352 #if wxUSE_UNICODE
9353 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9354 #else
9355 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9356 #endif
9357 }
9358 return pyobj;
9359 }
9360
9361
9362 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj = 0;
9364 wxWindow *arg1 = (wxWindow *) 0 ;
9365 int arg2 = (int) -1 ;
9366 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9367 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9368 wxSize const &arg4_defvalue = wxDefaultSize ;
9369 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9370 long arg5 = (long) wxSP_3D ;
9371 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9372 wxString *arg6 = (wxString *) &arg6_defvalue ;
9373 wxSplitterWindow *result = 0 ;
9374 void *argp1 = 0 ;
9375 int res1 = 0 ;
9376 int val2 ;
9377 int ecode2 = 0 ;
9378 wxPoint temp3 ;
9379 wxSize temp4 ;
9380 long val5 ;
9381 int ecode5 = 0 ;
9382 bool temp6 = false ;
9383 PyObject * obj0 = 0 ;
9384 PyObject * obj1 = 0 ;
9385 PyObject * obj2 = 0 ;
9386 PyObject * obj3 = 0 ;
9387 PyObject * obj4 = 0 ;
9388 PyObject * obj5 = 0 ;
9389 char * kwnames[] = {
9390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9391 };
9392
9393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9395 if (!SWIG_IsOK(res1)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9397 }
9398 arg1 = reinterpret_cast< wxWindow * >(argp1);
9399 if (obj1) {
9400 ecode2 = SWIG_AsVal_int(obj1, &val2);
9401 if (!SWIG_IsOK(ecode2)) {
9402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9403 }
9404 arg2 = static_cast< int >(val2);
9405 }
9406 if (obj2) {
9407 {
9408 arg3 = &temp3;
9409 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9410 }
9411 }
9412 if (obj3) {
9413 {
9414 arg4 = &temp4;
9415 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9416 }
9417 }
9418 if (obj4) {
9419 ecode5 = SWIG_AsVal_long(obj4, &val5);
9420 if (!SWIG_IsOK(ecode5)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9422 }
9423 arg5 = static_cast< long >(val5);
9424 }
9425 if (obj5) {
9426 {
9427 arg6 = wxString_in_helper(obj5);
9428 if (arg6 == NULL) SWIG_fail;
9429 temp6 = true;
9430 }
9431 }
9432 {
9433 if (!wxPyCheckForApp()) SWIG_fail;
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9440 {
9441 if (temp6)
9442 delete arg6;
9443 }
9444 return resultobj;
9445 fail:
9446 {
9447 if (temp6)
9448 delete arg6;
9449 }
9450 return NULL;
9451 }
9452
9453
9454 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9455 PyObject *resultobj = 0;
9456 wxSplitterWindow *result = 0 ;
9457
9458 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9459 {
9460 if (!wxPyCheckForApp()) SWIG_fail;
9461 PyThreadState* __tstate = wxPyBeginAllowThreads();
9462 result = (wxSplitterWindow *)new wxSplitterWindow();
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9467 return resultobj;
9468 fail:
9469 return NULL;
9470 }
9471
9472
9473 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9474 PyObject *resultobj = 0;
9475 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9476 wxWindow *arg2 = (wxWindow *) 0 ;
9477 int arg3 = (int) -1 ;
9478 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9479 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9480 wxSize const &arg5_defvalue = wxDefaultSize ;
9481 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9482 long arg6 = (long) wxSP_3D ;
9483 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9484 wxString *arg7 = (wxString *) &arg7_defvalue ;
9485 bool result;
9486 void *argp1 = 0 ;
9487 int res1 = 0 ;
9488 void *argp2 = 0 ;
9489 int res2 = 0 ;
9490 int val3 ;
9491 int ecode3 = 0 ;
9492 wxPoint temp4 ;
9493 wxSize temp5 ;
9494 long val6 ;
9495 int ecode6 = 0 ;
9496 bool temp7 = false ;
9497 PyObject * obj0 = 0 ;
9498 PyObject * obj1 = 0 ;
9499 PyObject * obj2 = 0 ;
9500 PyObject * obj3 = 0 ;
9501 PyObject * obj4 = 0 ;
9502 PyObject * obj5 = 0 ;
9503 PyObject * obj6 = 0 ;
9504 char * kwnames[] = {
9505 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9506 };
9507
9508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9510 if (!SWIG_IsOK(res1)) {
9511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9512 }
9513 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9514 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9515 if (!SWIG_IsOK(res2)) {
9516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9517 }
9518 arg2 = reinterpret_cast< wxWindow * >(argp2);
9519 if (obj2) {
9520 ecode3 = SWIG_AsVal_int(obj2, &val3);
9521 if (!SWIG_IsOK(ecode3)) {
9522 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9523 }
9524 arg3 = static_cast< int >(val3);
9525 }
9526 if (obj3) {
9527 {
9528 arg4 = &temp4;
9529 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9530 }
9531 }
9532 if (obj4) {
9533 {
9534 arg5 = &temp5;
9535 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9536 }
9537 }
9538 if (obj5) {
9539 ecode6 = SWIG_AsVal_long(obj5, &val6);
9540 if (!SWIG_IsOK(ecode6)) {
9541 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9542 }
9543 arg6 = static_cast< long >(val6);
9544 }
9545 if (obj6) {
9546 {
9547 arg7 = wxString_in_helper(obj6);
9548 if (arg7 == NULL) SWIG_fail;
9549 temp7 = true;
9550 }
9551 }
9552 {
9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
9554 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 {
9559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9560 }
9561 {
9562 if (temp7)
9563 delete arg7;
9564 }
9565 return resultobj;
9566 fail:
9567 {
9568 if (temp7)
9569 delete arg7;
9570 }
9571 return NULL;
9572 }
9573
9574
9575 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9576 PyObject *resultobj = 0;
9577 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9578 wxWindow *result = 0 ;
9579 void *argp1 = 0 ;
9580 int res1 = 0 ;
9581 PyObject *swig_obj[1] ;
9582
9583 if (!args) SWIG_fail;
9584 swig_obj[0] = args;
9585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9586 if (!SWIG_IsOK(res1)) {
9587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9588 }
9589 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9590 {
9591 PyThreadState* __tstate = wxPyBeginAllowThreads();
9592 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9593 wxPyEndAllowThreads(__tstate);
9594 if (PyErr_Occurred()) SWIG_fail;
9595 }
9596 {
9597 resultobj = wxPyMake_wxObject(result, 0);
9598 }
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9606 PyObject *resultobj = 0;
9607 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9608 wxWindow *result = 0 ;
9609 void *argp1 = 0 ;
9610 int res1 = 0 ;
9611 PyObject *swig_obj[1] ;
9612
9613 if (!args) SWIG_fail;
9614 swig_obj[0] = args;
9615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9616 if (!SWIG_IsOK(res1)) {
9617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9618 }
9619 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 }
9626 {
9627 resultobj = wxPyMake_wxObject(result, 0);
9628 }
9629 return resultobj;
9630 fail:
9631 return NULL;
9632 }
9633
9634
9635 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9636 PyObject *resultobj = 0;
9637 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9638 int arg2 ;
9639 void *argp1 = 0 ;
9640 int res1 = 0 ;
9641 int val2 ;
9642 int ecode2 = 0 ;
9643 PyObject * obj0 = 0 ;
9644 PyObject * obj1 = 0 ;
9645 char * kwnames[] = {
9646 (char *) "self",(char *) "mode", NULL
9647 };
9648
9649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9651 if (!SWIG_IsOK(res1)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9653 }
9654 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9655 ecode2 = SWIG_AsVal_int(obj1, &val2);
9656 if (!SWIG_IsOK(ecode2)) {
9657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9658 }
9659 arg2 = static_cast< int >(val2);
9660 {
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 (arg1)->SetSplitMode(arg2);
9663 wxPyEndAllowThreads(__tstate);
9664 if (PyErr_Occurred()) SWIG_fail;
9665 }
9666 resultobj = SWIG_Py_Void();
9667 return resultobj;
9668 fail:
9669 return NULL;
9670 }
9671
9672
9673 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9674 PyObject *resultobj = 0;
9675 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9676 wxSplitMode result;
9677 void *argp1 = 0 ;
9678 int res1 = 0 ;
9679 PyObject *swig_obj[1] ;
9680
9681 if (!args) SWIG_fail;
9682 swig_obj[0] = args;
9683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9684 if (!SWIG_IsOK(res1)) {
9685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9686 }
9687 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
9694 resultobj = SWIG_From_int(static_cast< int >(result));
9695 return resultobj;
9696 fail:
9697 return NULL;
9698 }
9699
9700
9701 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9702 PyObject *resultobj = 0;
9703 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9704 wxWindow *arg2 = (wxWindow *) 0 ;
9705 void *argp1 = 0 ;
9706 int res1 = 0 ;
9707 void *argp2 = 0 ;
9708 int res2 = 0 ;
9709 PyObject * obj0 = 0 ;
9710 PyObject * obj1 = 0 ;
9711 char * kwnames[] = {
9712 (char *) "self",(char *) "window", NULL
9713 };
9714
9715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9717 if (!SWIG_IsOK(res1)) {
9718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9719 }
9720 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9721 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9722 if (!SWIG_IsOK(res2)) {
9723 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9724 }
9725 arg2 = reinterpret_cast< wxWindow * >(argp2);
9726 {
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
9728 (arg1)->Initialize(arg2);
9729 wxPyEndAllowThreads(__tstate);
9730 if (PyErr_Occurred()) SWIG_fail;
9731 }
9732 resultobj = SWIG_Py_Void();
9733 return resultobj;
9734 fail:
9735 return NULL;
9736 }
9737
9738
9739 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9740 PyObject *resultobj = 0;
9741 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9742 wxWindow *arg2 = (wxWindow *) 0 ;
9743 wxWindow *arg3 = (wxWindow *) 0 ;
9744 int arg4 = (int) 0 ;
9745 bool result;
9746 void *argp1 = 0 ;
9747 int res1 = 0 ;
9748 void *argp2 = 0 ;
9749 int res2 = 0 ;
9750 void *argp3 = 0 ;
9751 int res3 = 0 ;
9752 int val4 ;
9753 int ecode4 = 0 ;
9754 PyObject * obj0 = 0 ;
9755 PyObject * obj1 = 0 ;
9756 PyObject * obj2 = 0 ;
9757 PyObject * obj3 = 0 ;
9758 char * kwnames[] = {
9759 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9760 };
9761
9762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9764 if (!SWIG_IsOK(res1)) {
9765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9766 }
9767 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9768 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9769 if (!SWIG_IsOK(res2)) {
9770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9771 }
9772 arg2 = reinterpret_cast< wxWindow * >(argp2);
9773 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9774 if (!SWIG_IsOK(res3)) {
9775 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9776 }
9777 arg3 = reinterpret_cast< wxWindow * >(argp3);
9778 if (obj3) {
9779 ecode4 = SWIG_AsVal_int(obj3, &val4);
9780 if (!SWIG_IsOK(ecode4)) {
9781 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9782 }
9783 arg4 = static_cast< int >(val4);
9784 }
9785 {
9786 PyThreadState* __tstate = wxPyBeginAllowThreads();
9787 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
9791 {
9792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9793 }
9794 return resultobj;
9795 fail:
9796 return NULL;
9797 }
9798
9799
9800 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj = 0;
9802 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9803 wxWindow *arg2 = (wxWindow *) 0 ;
9804 wxWindow *arg3 = (wxWindow *) 0 ;
9805 int arg4 = (int) 0 ;
9806 bool result;
9807 void *argp1 = 0 ;
9808 int res1 = 0 ;
9809 void *argp2 = 0 ;
9810 int res2 = 0 ;
9811 void *argp3 = 0 ;
9812 int res3 = 0 ;
9813 int val4 ;
9814 int ecode4 = 0 ;
9815 PyObject * obj0 = 0 ;
9816 PyObject * obj1 = 0 ;
9817 PyObject * obj2 = 0 ;
9818 PyObject * obj3 = 0 ;
9819 char * kwnames[] = {
9820 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9821 };
9822
9823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9825 if (!SWIG_IsOK(res1)) {
9826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9827 }
9828 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9829 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9830 if (!SWIG_IsOK(res2)) {
9831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9832 }
9833 arg2 = reinterpret_cast< wxWindow * >(argp2);
9834 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9835 if (!SWIG_IsOK(res3)) {
9836 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9837 }
9838 arg3 = reinterpret_cast< wxWindow * >(argp3);
9839 if (obj3) {
9840 ecode4 = SWIG_AsVal_int(obj3, &val4);
9841 if (!SWIG_IsOK(ecode4)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9843 }
9844 arg4 = static_cast< int >(val4);
9845 }
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 {
9853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9854 }
9855 return resultobj;
9856 fail:
9857 return NULL;
9858 }
9859
9860
9861 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj = 0;
9863 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9864 wxWindow *arg2 = (wxWindow *) NULL ;
9865 bool result;
9866 void *argp1 = 0 ;
9867 int res1 = 0 ;
9868 void *argp2 = 0 ;
9869 int res2 = 0 ;
9870 PyObject * obj0 = 0 ;
9871 PyObject * obj1 = 0 ;
9872 char * kwnames[] = {
9873 (char *) "self",(char *) "toRemove", NULL
9874 };
9875
9876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9878 if (!SWIG_IsOK(res1)) {
9879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9880 }
9881 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9882 if (obj1) {
9883 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9884 if (!SWIG_IsOK(res2)) {
9885 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9886 }
9887 arg2 = reinterpret_cast< wxWindow * >(argp2);
9888 }
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = (bool)(arg1)->Unsplit(arg2);
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 {
9896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9897 }
9898 return resultobj;
9899 fail:
9900 return NULL;
9901 }
9902
9903
9904 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9905 PyObject *resultobj = 0;
9906 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9907 wxWindow *arg2 = (wxWindow *) 0 ;
9908 wxWindow *arg3 = (wxWindow *) 0 ;
9909 bool result;
9910 void *argp1 = 0 ;
9911 int res1 = 0 ;
9912 void *argp2 = 0 ;
9913 int res2 = 0 ;
9914 void *argp3 = 0 ;
9915 int res3 = 0 ;
9916 PyObject * obj0 = 0 ;
9917 PyObject * obj1 = 0 ;
9918 PyObject * obj2 = 0 ;
9919 char * kwnames[] = {
9920 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9921 };
9922
9923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9925 if (!SWIG_IsOK(res1)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9927 }
9928 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9929 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9930 if (!SWIG_IsOK(res2)) {
9931 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9932 }
9933 arg2 = reinterpret_cast< wxWindow * >(argp2);
9934 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9935 if (!SWIG_IsOK(res3)) {
9936 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9937 }
9938 arg3 = reinterpret_cast< wxWindow * >(argp3);
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9942 wxPyEndAllowThreads(__tstate);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
9945 {
9946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9947 }
9948 return resultobj;
9949 fail:
9950 return NULL;
9951 }
9952
9953
9954 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9955 PyObject *resultobj = 0;
9956 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9957 void *argp1 = 0 ;
9958 int res1 = 0 ;
9959 PyObject *swig_obj[1] ;
9960
9961 if (!args) SWIG_fail;
9962 swig_obj[0] = args;
9963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9964 if (!SWIG_IsOK(res1)) {
9965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9966 }
9967 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->UpdateSize();
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 resultobj = SWIG_Py_Void();
9975 return resultobj;
9976 fail:
9977 return NULL;
9978 }
9979
9980
9981 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9982 PyObject *resultobj = 0;
9983 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9984 bool result;
9985 void *argp1 = 0 ;
9986 int res1 = 0 ;
9987 PyObject *swig_obj[1] ;
9988
9989 if (!args) SWIG_fail;
9990 swig_obj[0] = args;
9991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9992 if (!SWIG_IsOK(res1)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9994 }
9995 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9996 {
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
9998 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9999 wxPyEndAllowThreads(__tstate);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
10002 {
10003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10004 }
10005 return resultobj;
10006 fail:
10007 return NULL;
10008 }
10009
10010
10011 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj = 0;
10013 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10014 int arg2 ;
10015 void *argp1 = 0 ;
10016 int res1 = 0 ;
10017 int val2 ;
10018 int ecode2 = 0 ;
10019 PyObject * obj0 = 0 ;
10020 PyObject * obj1 = 0 ;
10021 char * kwnames[] = {
10022 (char *) "self",(char *) "width", NULL
10023 };
10024
10025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10027 if (!SWIG_IsOK(res1)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 }
10030 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10031 ecode2 = SWIG_AsVal_int(obj1, &val2);
10032 if (!SWIG_IsOK(ecode2)) {
10033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10034 }
10035 arg2 = static_cast< int >(val2);
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 (arg1)->SetSashSize(arg2);
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 resultobj = SWIG_Py_Void();
10043 return resultobj;
10044 fail:
10045 return NULL;
10046 }
10047
10048
10049 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10050 PyObject *resultobj = 0;
10051 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10052 int arg2 ;
10053 void *argp1 = 0 ;
10054 int res1 = 0 ;
10055 int val2 ;
10056 int ecode2 = 0 ;
10057 PyObject * obj0 = 0 ;
10058 PyObject * obj1 = 0 ;
10059 char * kwnames[] = {
10060 (char *) "self",(char *) "width", NULL
10061 };
10062
10063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10065 if (!SWIG_IsOK(res1)) {
10066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10067 }
10068 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10069 ecode2 = SWIG_AsVal_int(obj1, &val2);
10070 if (!SWIG_IsOK(ecode2)) {
10071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10072 }
10073 arg2 = static_cast< int >(val2);
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 (arg1)->SetBorderSize(arg2);
10077 wxPyEndAllowThreads(__tstate);
10078 if (PyErr_Occurred()) SWIG_fail;
10079 }
10080 resultobj = SWIG_Py_Void();
10081 return resultobj;
10082 fail:
10083 return NULL;
10084 }
10085
10086
10087 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10088 PyObject *resultobj = 0;
10089 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10090 int result;
10091 void *argp1 = 0 ;
10092 int res1 = 0 ;
10093 PyObject *swig_obj[1] ;
10094
10095 if (!args) SWIG_fail;
10096 swig_obj[0] = args;
10097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10098 if (!SWIG_IsOK(res1)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10100 }
10101 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 }
10108 resultobj = SWIG_From_int(static_cast< int >(result));
10109 return resultobj;
10110 fail:
10111 return NULL;
10112 }
10113
10114
10115 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10116 PyObject *resultobj = 0;
10117 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10118 int result;
10119 void *argp1 = 0 ;
10120 int res1 = 0 ;
10121 PyObject *swig_obj[1] ;
10122
10123 if (!args) SWIG_fail;
10124 swig_obj[0] = args;
10125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10126 if (!SWIG_IsOK(res1)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10128 }
10129 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 resultobj = SWIG_From_int(static_cast< int >(result));
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj = 0;
10145 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10146 int arg2 ;
10147 bool arg3 = (bool) true ;
10148 void *argp1 = 0 ;
10149 int res1 = 0 ;
10150 int val2 ;
10151 int ecode2 = 0 ;
10152 bool val3 ;
10153 int ecode3 = 0 ;
10154 PyObject * obj0 = 0 ;
10155 PyObject * obj1 = 0 ;
10156 PyObject * obj2 = 0 ;
10157 char * kwnames[] = {
10158 (char *) "self",(char *) "position",(char *) "redraw", NULL
10159 };
10160
10161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10163 if (!SWIG_IsOK(res1)) {
10164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10165 }
10166 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10167 ecode2 = SWIG_AsVal_int(obj1, &val2);
10168 if (!SWIG_IsOK(ecode2)) {
10169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10170 }
10171 arg2 = static_cast< int >(val2);
10172 if (obj2) {
10173 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10174 if (!SWIG_IsOK(ecode3)) {
10175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10176 }
10177 arg3 = static_cast< bool >(val3);
10178 }
10179 {
10180 PyThreadState* __tstate = wxPyBeginAllowThreads();
10181 (arg1)->SetSashPosition(arg2,arg3);
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 resultobj = SWIG_Py_Void();
10186 return resultobj;
10187 fail:
10188 return NULL;
10189 }
10190
10191
10192 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10193 PyObject *resultobj = 0;
10194 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10195 int result;
10196 void *argp1 = 0 ;
10197 int res1 = 0 ;
10198 PyObject *swig_obj[1] ;
10199
10200 if (!args) SWIG_fail;
10201 swig_obj[0] = args;
10202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10203 if (!SWIG_IsOK(res1)) {
10204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10205 }
10206 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10207 {
10208 PyThreadState* __tstate = wxPyBeginAllowThreads();
10209 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 resultobj = SWIG_From_int(static_cast< int >(result));
10214 return resultobj;
10215 fail:
10216 return NULL;
10217 }
10218
10219
10220 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj = 0;
10222 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10223 double arg2 ;
10224 void *argp1 = 0 ;
10225 int res1 = 0 ;
10226 double val2 ;
10227 int ecode2 = 0 ;
10228 PyObject * obj0 = 0 ;
10229 PyObject * obj1 = 0 ;
10230 char * kwnames[] = {
10231 (char *) "self",(char *) "gravity", NULL
10232 };
10233
10234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10236 if (!SWIG_IsOK(res1)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10238 }
10239 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10240 ecode2 = SWIG_AsVal_double(obj1, &val2);
10241 if (!SWIG_IsOK(ecode2)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10243 }
10244 arg2 = static_cast< double >(val2);
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 (arg1)->SetSashGravity(arg2);
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 resultobj = SWIG_Py_Void();
10252 return resultobj;
10253 fail:
10254 return NULL;
10255 }
10256
10257
10258 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10259 PyObject *resultobj = 0;
10260 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10261 double result;
10262 void *argp1 = 0 ;
10263 int res1 = 0 ;
10264 PyObject *swig_obj[1] ;
10265
10266 if (!args) SWIG_fail;
10267 swig_obj[0] = args;
10268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10269 if (!SWIG_IsOK(res1)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10271 }
10272 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10276 wxPyEndAllowThreads(__tstate);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 resultobj = SWIG_From_double(static_cast< double >(result));
10280 return resultobj;
10281 fail:
10282 return NULL;
10283 }
10284
10285
10286 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10287 PyObject *resultobj = 0;
10288 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10289 int arg2 ;
10290 void *argp1 = 0 ;
10291 int res1 = 0 ;
10292 int val2 ;
10293 int ecode2 = 0 ;
10294 PyObject * obj0 = 0 ;
10295 PyObject * obj1 = 0 ;
10296 char * kwnames[] = {
10297 (char *) "self",(char *) "min", NULL
10298 };
10299
10300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10302 if (!SWIG_IsOK(res1)) {
10303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10304 }
10305 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10306 ecode2 = SWIG_AsVal_int(obj1, &val2);
10307 if (!SWIG_IsOK(ecode2)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10309 }
10310 arg2 = static_cast< int >(val2);
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 (arg1)->SetMinimumPaneSize(arg2);
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 resultobj = SWIG_Py_Void();
10318 return resultobj;
10319 fail:
10320 return NULL;
10321 }
10322
10323
10324 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10325 PyObject *resultobj = 0;
10326 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10327 int result;
10328 void *argp1 = 0 ;
10329 int res1 = 0 ;
10330 PyObject *swig_obj[1] ;
10331
10332 if (!args) SWIG_fail;
10333 swig_obj[0] = args;
10334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10335 if (!SWIG_IsOK(res1)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10337 }
10338 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 resultobj = SWIG_From_int(static_cast< int >(result));
10346 return resultobj;
10347 fail:
10348 return NULL;
10349 }
10350
10351
10352 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10353 PyObject *resultobj = 0;
10354 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10355 int arg2 ;
10356 int arg3 ;
10357 int arg4 = (int) 5 ;
10358 bool result;
10359 void *argp1 = 0 ;
10360 int res1 = 0 ;
10361 int val2 ;
10362 int ecode2 = 0 ;
10363 int val3 ;
10364 int ecode3 = 0 ;
10365 int val4 ;
10366 int ecode4 = 0 ;
10367 PyObject * obj0 = 0 ;
10368 PyObject * obj1 = 0 ;
10369 PyObject * obj2 = 0 ;
10370 PyObject * obj3 = 0 ;
10371 char * kwnames[] = {
10372 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10373 };
10374
10375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10377 if (!SWIG_IsOK(res1)) {
10378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10379 }
10380 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10381 ecode2 = SWIG_AsVal_int(obj1, &val2);
10382 if (!SWIG_IsOK(ecode2)) {
10383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10384 }
10385 arg2 = static_cast< int >(val2);
10386 ecode3 = SWIG_AsVal_int(obj2, &val3);
10387 if (!SWIG_IsOK(ecode3)) {
10388 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10389 }
10390 arg3 = static_cast< int >(val3);
10391 if (obj3) {
10392 ecode4 = SWIG_AsVal_int(obj3, &val4);
10393 if (!SWIG_IsOK(ecode4)) {
10394 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10395 }
10396 arg4 = static_cast< int >(val4);
10397 }
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10401 wxPyEndAllowThreads(__tstate);
10402 if (PyErr_Occurred()) SWIG_fail;
10403 }
10404 {
10405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10406 }
10407 return resultobj;
10408 fail:
10409 return NULL;
10410 }
10411
10412
10413 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10414 PyObject *resultobj = 0;
10415 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10416 void *argp1 = 0 ;
10417 int res1 = 0 ;
10418 PyObject *swig_obj[1] ;
10419
10420 if (!args) SWIG_fail;
10421 swig_obj[0] = args;
10422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10423 if (!SWIG_IsOK(res1)) {
10424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10425 }
10426 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10427 {
10428 PyThreadState* __tstate = wxPyBeginAllowThreads();
10429 (arg1)->SizeWindows();
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
10433 resultobj = SWIG_Py_Void();
10434 return resultobj;
10435 fail:
10436 return NULL;
10437 }
10438
10439
10440 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10441 PyObject *resultobj = 0;
10442 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10443 bool arg2 ;
10444 void *argp1 = 0 ;
10445 int res1 = 0 ;
10446 bool val2 ;
10447 int ecode2 = 0 ;
10448 PyObject * obj0 = 0 ;
10449 PyObject * obj1 = 0 ;
10450 char * kwnames[] = {
10451 (char *) "self",(char *) "needUpdating", NULL
10452 };
10453
10454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10456 if (!SWIG_IsOK(res1)) {
10457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10458 }
10459 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10460 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10461 if (!SWIG_IsOK(ecode2)) {
10462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10463 }
10464 arg2 = static_cast< bool >(val2);
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 (arg1)->SetNeedUpdating(arg2);
10468 wxPyEndAllowThreads(__tstate);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
10471 resultobj = SWIG_Py_Void();
10472 return resultobj;
10473 fail:
10474 return NULL;
10475 }
10476
10477
10478 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10479 PyObject *resultobj = 0;
10480 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10481 bool result;
10482 void *argp1 = 0 ;
10483 int res1 = 0 ;
10484 PyObject *swig_obj[1] ;
10485
10486 if (!args) SWIG_fail;
10487 swig_obj[0] = args;
10488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10489 if (!SWIG_IsOK(res1)) {
10490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10491 }
10492 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 {
10500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10501 }
10502 return resultobj;
10503 fail:
10504 return NULL;
10505 }
10506
10507
10508 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10509 PyObject *resultobj = 0;
10510 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10511 SwigValueWrapper<wxVisualAttributes > result;
10512 int val1 ;
10513 int ecode1 = 0 ;
10514 PyObject * obj0 = 0 ;
10515 char * kwnames[] = {
10516 (char *) "variant", NULL
10517 };
10518
10519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10520 if (obj0) {
10521 ecode1 = SWIG_AsVal_int(obj0, &val1);
10522 if (!SWIG_IsOK(ecode1)) {
10523 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10524 }
10525 arg1 = static_cast< wxWindowVariant >(val1);
10526 }
10527 {
10528 if (!wxPyCheckForApp()) SWIG_fail;
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10535 return resultobj;
10536 fail:
10537 return NULL;
10538 }
10539
10540
10541 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10542 PyObject *obj;
10543 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10544 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10545 return SWIG_Py_Void();
10546 }
10547
10548 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10549 return SWIG_Python_InitShadowInstance(args);
10550 }
10551
10552 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10553 PyObject *resultobj = 0;
10554 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10555 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10556 wxSplitterEvent *result = 0 ;
10557 int val1 ;
10558 int ecode1 = 0 ;
10559 void *argp2 = 0 ;
10560 int res2 = 0 ;
10561 PyObject * obj0 = 0 ;
10562 PyObject * obj1 = 0 ;
10563 char * kwnames[] = {
10564 (char *) "type",(char *) "splitter", NULL
10565 };
10566
10567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10568 if (obj0) {
10569 ecode1 = SWIG_AsVal_int(obj0, &val1);
10570 if (!SWIG_IsOK(ecode1)) {
10571 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10572 }
10573 arg1 = static_cast< wxEventType >(val1);
10574 }
10575 if (obj1) {
10576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10577 if (!SWIG_IsOK(res2)) {
10578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10579 }
10580 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10581 }
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10589 return resultobj;
10590 fail:
10591 return NULL;
10592 }
10593
10594
10595 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj = 0;
10597 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10598 int arg2 ;
10599 void *argp1 = 0 ;
10600 int res1 = 0 ;
10601 int val2 ;
10602 int ecode2 = 0 ;
10603 PyObject * obj0 = 0 ;
10604 PyObject * obj1 = 0 ;
10605 char * kwnames[] = {
10606 (char *) "self",(char *) "pos", NULL
10607 };
10608
10609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10611 if (!SWIG_IsOK(res1)) {
10612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10613 }
10614 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10615 ecode2 = SWIG_AsVal_int(obj1, &val2);
10616 if (!SWIG_IsOK(ecode2)) {
10617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10618 }
10619 arg2 = static_cast< int >(val2);
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 (arg1)->SetSashPosition(arg2);
10623 wxPyEndAllowThreads(__tstate);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 resultobj = SWIG_Py_Void();
10627 return resultobj;
10628 fail:
10629 return NULL;
10630 }
10631
10632
10633 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10634 PyObject *resultobj = 0;
10635 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10636 int result;
10637 void *argp1 = 0 ;
10638 int res1 = 0 ;
10639 PyObject *swig_obj[1] ;
10640
10641 if (!args) SWIG_fail;
10642 swig_obj[0] = args;
10643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10644 if (!SWIG_IsOK(res1)) {
10645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10646 }
10647 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 resultobj = SWIG_From_int(static_cast< int >(result));
10655 return resultobj;
10656 fail:
10657 return NULL;
10658 }
10659
10660
10661 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10662 PyObject *resultobj = 0;
10663 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10664 wxWindow *result = 0 ;
10665 void *argp1 = 0 ;
10666 int res1 = 0 ;
10667 PyObject *swig_obj[1] ;
10668
10669 if (!args) SWIG_fail;
10670 swig_obj[0] = args;
10671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10672 if (!SWIG_IsOK(res1)) {
10673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10674 }
10675 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 {
10683 resultobj = wxPyMake_wxObject(result, 0);
10684 }
10685 return resultobj;
10686 fail:
10687 return NULL;
10688 }
10689
10690
10691 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10692 PyObject *resultobj = 0;
10693 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10694 int result;
10695 void *argp1 = 0 ;
10696 int res1 = 0 ;
10697 PyObject *swig_obj[1] ;
10698
10699 if (!args) SWIG_fail;
10700 swig_obj[0] = args;
10701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10702 if (!SWIG_IsOK(res1)) {
10703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10704 }
10705 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10706 {
10707 PyThreadState* __tstate = wxPyBeginAllowThreads();
10708 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 resultobj = SWIG_From_int(static_cast< int >(result));
10713 return resultobj;
10714 fail:
10715 return NULL;
10716 }
10717
10718
10719 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10720 PyObject *resultobj = 0;
10721 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10722 int result;
10723 void *argp1 = 0 ;
10724 int res1 = 0 ;
10725 PyObject *swig_obj[1] ;
10726
10727 if (!args) SWIG_fail;
10728 swig_obj[0] = args;
10729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10730 if (!SWIG_IsOK(res1)) {
10731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10732 }
10733 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 resultobj = SWIG_From_int(static_cast< int >(result));
10741 return resultobj;
10742 fail:
10743 return NULL;
10744 }
10745
10746
10747 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10748 PyObject *obj;
10749 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10750 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10751 return SWIG_Py_Void();
10752 }
10753
10754 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10755 return SWIG_Python_InitShadowInstance(args);
10756 }
10757
10758 SWIGINTERN int SashNameStr_set(PyObject *) {
10759 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10760 return 1;
10761 }
10762
10763
10764 SWIGINTERN PyObject *SashNameStr_get(void) {
10765 PyObject *pyobj = 0;
10766
10767 {
10768 #if wxUSE_UNICODE
10769 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10770 #else
10771 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10772 #endif
10773 }
10774 return pyobj;
10775 }
10776
10777
10778 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10779 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10780 return 1;
10781 }
10782
10783
10784 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10785 PyObject *pyobj = 0;
10786
10787 {
10788 #if wxUSE_UNICODE
10789 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10790 #else
10791 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10792 #endif
10793 }
10794 return pyobj;
10795 }
10796
10797
10798 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10799 PyObject *resultobj = 0;
10800 wxWindow *arg1 = (wxWindow *) 0 ;
10801 int arg2 = (int) -1 ;
10802 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10803 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10804 wxSize const &arg4_defvalue = wxDefaultSize ;
10805 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10806 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10807 wxString const &arg6_defvalue = wxPySashNameStr ;
10808 wxString *arg6 = (wxString *) &arg6_defvalue ;
10809 wxSashWindow *result = 0 ;
10810 void *argp1 = 0 ;
10811 int res1 = 0 ;
10812 int val2 ;
10813 int ecode2 = 0 ;
10814 wxPoint temp3 ;
10815 wxSize temp4 ;
10816 long val5 ;
10817 int ecode5 = 0 ;
10818 bool temp6 = false ;
10819 PyObject * obj0 = 0 ;
10820 PyObject * obj1 = 0 ;
10821 PyObject * obj2 = 0 ;
10822 PyObject * obj3 = 0 ;
10823 PyObject * obj4 = 0 ;
10824 PyObject * obj5 = 0 ;
10825 char * kwnames[] = {
10826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10827 };
10828
10829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10831 if (!SWIG_IsOK(res1)) {
10832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10833 }
10834 arg1 = reinterpret_cast< wxWindow * >(argp1);
10835 if (obj1) {
10836 ecode2 = SWIG_AsVal_int(obj1, &val2);
10837 if (!SWIG_IsOK(ecode2)) {
10838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10839 }
10840 arg2 = static_cast< int >(val2);
10841 }
10842 if (obj2) {
10843 {
10844 arg3 = &temp3;
10845 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10846 }
10847 }
10848 if (obj3) {
10849 {
10850 arg4 = &temp4;
10851 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10852 }
10853 }
10854 if (obj4) {
10855 ecode5 = SWIG_AsVal_long(obj4, &val5);
10856 if (!SWIG_IsOK(ecode5)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10858 }
10859 arg5 = static_cast< long >(val5);
10860 }
10861 if (obj5) {
10862 {
10863 arg6 = wxString_in_helper(obj5);
10864 if (arg6 == NULL) SWIG_fail;
10865 temp6 = true;
10866 }
10867 }
10868 {
10869 if (!wxPyCheckForApp()) SWIG_fail;
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10876 {
10877 if (temp6)
10878 delete arg6;
10879 }
10880 return resultobj;
10881 fail:
10882 {
10883 if (temp6)
10884 delete arg6;
10885 }
10886 return NULL;
10887 }
10888
10889
10890 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10891 PyObject *resultobj = 0;
10892 wxSashWindow *result = 0 ;
10893
10894 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10895 {
10896 if (!wxPyCheckForApp()) SWIG_fail;
10897 PyThreadState* __tstate = wxPyBeginAllowThreads();
10898 result = (wxSashWindow *)new wxSashWindow();
10899 wxPyEndAllowThreads(__tstate);
10900 if (PyErr_Occurred()) SWIG_fail;
10901 }
10902 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10903 return resultobj;
10904 fail:
10905 return NULL;
10906 }
10907
10908
10909 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10910 PyObject *resultobj = 0;
10911 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10912 wxWindow *arg2 = (wxWindow *) 0 ;
10913 int arg3 = (int) -1 ;
10914 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10915 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10916 wxSize const &arg5_defvalue = wxDefaultSize ;
10917 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10918 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10919 wxString const &arg7_defvalue = wxPySashNameStr ;
10920 wxString *arg7 = (wxString *) &arg7_defvalue ;
10921 bool result;
10922 void *argp1 = 0 ;
10923 int res1 = 0 ;
10924 void *argp2 = 0 ;
10925 int res2 = 0 ;
10926 int val3 ;
10927 int ecode3 = 0 ;
10928 wxPoint temp4 ;
10929 wxSize temp5 ;
10930 long val6 ;
10931 int ecode6 = 0 ;
10932 bool temp7 = false ;
10933 PyObject * obj0 = 0 ;
10934 PyObject * obj1 = 0 ;
10935 PyObject * obj2 = 0 ;
10936 PyObject * obj3 = 0 ;
10937 PyObject * obj4 = 0 ;
10938 PyObject * obj5 = 0 ;
10939 PyObject * obj6 = 0 ;
10940 char * kwnames[] = {
10941 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10942 };
10943
10944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10946 if (!SWIG_IsOK(res1)) {
10947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10948 }
10949 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10950 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10951 if (!SWIG_IsOK(res2)) {
10952 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10953 }
10954 arg2 = reinterpret_cast< wxWindow * >(argp2);
10955 if (obj2) {
10956 ecode3 = SWIG_AsVal_int(obj2, &val3);
10957 if (!SWIG_IsOK(ecode3)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10959 }
10960 arg3 = static_cast< int >(val3);
10961 }
10962 if (obj3) {
10963 {
10964 arg4 = &temp4;
10965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10966 }
10967 }
10968 if (obj4) {
10969 {
10970 arg5 = &temp5;
10971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10972 }
10973 }
10974 if (obj5) {
10975 ecode6 = SWIG_AsVal_long(obj5, &val6);
10976 if (!SWIG_IsOK(ecode6)) {
10977 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10978 }
10979 arg6 = static_cast< long >(val6);
10980 }
10981 if (obj6) {
10982 {
10983 arg7 = wxString_in_helper(obj6);
10984 if (arg7 == NULL) SWIG_fail;
10985 temp7 = true;
10986 }
10987 }
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 {
10995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10996 }
10997 {
10998 if (temp7)
10999 delete arg7;
11000 }
11001 return resultobj;
11002 fail:
11003 {
11004 if (temp7)
11005 delete arg7;
11006 }
11007 return NULL;
11008 }
11009
11010
11011 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11012 PyObject *resultobj = 0;
11013 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11014 wxSashEdgePosition arg2 ;
11015 bool arg3 ;
11016 void *argp1 = 0 ;
11017 int res1 = 0 ;
11018 int val2 ;
11019 int ecode2 = 0 ;
11020 bool val3 ;
11021 int ecode3 = 0 ;
11022 PyObject * obj0 = 0 ;
11023 PyObject * obj1 = 0 ;
11024 PyObject * obj2 = 0 ;
11025 char * kwnames[] = {
11026 (char *) "self",(char *) "edge",(char *) "sash", NULL
11027 };
11028
11029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11031 if (!SWIG_IsOK(res1)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11033 }
11034 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11035 ecode2 = SWIG_AsVal_int(obj1, &val2);
11036 if (!SWIG_IsOK(ecode2)) {
11037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11038 }
11039 arg2 = static_cast< wxSashEdgePosition >(val2);
11040 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11041 if (!SWIG_IsOK(ecode3)) {
11042 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11043 }
11044 arg3 = static_cast< bool >(val3);
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 (arg1)->SetSashVisible(arg2,arg3);
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 resultobj = SWIG_Py_Void();
11052 return resultobj;
11053 fail:
11054 return NULL;
11055 }
11056
11057
11058 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11059 PyObject *resultobj = 0;
11060 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11061 wxSashEdgePosition arg2 ;
11062 bool result;
11063 void *argp1 = 0 ;
11064 int res1 = 0 ;
11065 int val2 ;
11066 int ecode2 = 0 ;
11067 PyObject * obj0 = 0 ;
11068 PyObject * obj1 = 0 ;
11069 char * kwnames[] = {
11070 (char *) "self",(char *) "edge", NULL
11071 };
11072
11073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11075 if (!SWIG_IsOK(res1)) {
11076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11077 }
11078 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11079 ecode2 = SWIG_AsVal_int(obj1, &val2);
11080 if (!SWIG_IsOK(ecode2)) {
11081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11082 }
11083 arg2 = static_cast< wxSashEdgePosition >(val2);
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 {
11091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11092 }
11093 return resultobj;
11094 fail:
11095 return NULL;
11096 }
11097
11098
11099 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11100 PyObject *resultobj = 0;
11101 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11102 wxSashEdgePosition arg2 ;
11103 bool arg3 ;
11104 void *argp1 = 0 ;
11105 int res1 = 0 ;
11106 int val2 ;
11107 int ecode2 = 0 ;
11108 bool val3 ;
11109 int ecode3 = 0 ;
11110 PyObject * obj0 = 0 ;
11111 PyObject * obj1 = 0 ;
11112 PyObject * obj2 = 0 ;
11113 char * kwnames[] = {
11114 (char *) "self",(char *) "edge",(char *) "border", NULL
11115 };
11116
11117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11119 if (!SWIG_IsOK(res1)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11121 }
11122 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11123 ecode2 = SWIG_AsVal_int(obj1, &val2);
11124 if (!SWIG_IsOK(ecode2)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11126 }
11127 arg2 = static_cast< wxSashEdgePosition >(val2);
11128 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11129 if (!SWIG_IsOK(ecode3)) {
11130 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11131 }
11132 arg3 = static_cast< bool >(val3);
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 (arg1)->SetSashBorder(arg2,arg3);
11136 wxPyEndAllowThreads(__tstate);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 resultobj = SWIG_Py_Void();
11140 return resultobj;
11141 fail:
11142 return NULL;
11143 }
11144
11145
11146 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11147 PyObject *resultobj = 0;
11148 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11149 wxSashEdgePosition arg2 ;
11150 bool result;
11151 void *argp1 = 0 ;
11152 int res1 = 0 ;
11153 int val2 ;
11154 int ecode2 = 0 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char * kwnames[] = {
11158 (char *) "self",(char *) "edge", NULL
11159 };
11160
11161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11163 if (!SWIG_IsOK(res1)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11165 }
11166 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11167 ecode2 = SWIG_AsVal_int(obj1, &val2);
11168 if (!SWIG_IsOK(ecode2)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11170 }
11171 arg2 = static_cast< wxSashEdgePosition >(val2);
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 {
11179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11180 }
11181 return resultobj;
11182 fail:
11183 return NULL;
11184 }
11185
11186
11187 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11188 PyObject *resultobj = 0;
11189 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11190 wxSashEdgePosition arg2 ;
11191 int result;
11192 void *argp1 = 0 ;
11193 int res1 = 0 ;
11194 int val2 ;
11195 int ecode2 = 0 ;
11196 PyObject * obj0 = 0 ;
11197 PyObject * obj1 = 0 ;
11198 char * kwnames[] = {
11199 (char *) "self",(char *) "edge", NULL
11200 };
11201
11202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11204 if (!SWIG_IsOK(res1)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11206 }
11207 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11208 ecode2 = SWIG_AsVal_int(obj1, &val2);
11209 if (!SWIG_IsOK(ecode2)) {
11210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11211 }
11212 arg2 = static_cast< wxSashEdgePosition >(val2);
11213 {
11214 PyThreadState* __tstate = wxPyBeginAllowThreads();
11215 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 resultobj = SWIG_From_int(static_cast< int >(result));
11220 return resultobj;
11221 fail:
11222 return NULL;
11223 }
11224
11225
11226 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11227 PyObject *resultobj = 0;
11228 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11229 int arg2 ;
11230 void *argp1 = 0 ;
11231 int res1 = 0 ;
11232 int val2 ;
11233 int ecode2 = 0 ;
11234 PyObject * obj0 = 0 ;
11235 PyObject * obj1 = 0 ;
11236 char * kwnames[] = {
11237 (char *) "self",(char *) "width", NULL
11238 };
11239
11240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11242 if (!SWIG_IsOK(res1)) {
11243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11244 }
11245 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11246 ecode2 = SWIG_AsVal_int(obj1, &val2);
11247 if (!SWIG_IsOK(ecode2)) {
11248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11249 }
11250 arg2 = static_cast< int >(val2);
11251 {
11252 PyThreadState* __tstate = wxPyBeginAllowThreads();
11253 (arg1)->SetDefaultBorderSize(arg2);
11254 wxPyEndAllowThreads(__tstate);
11255 if (PyErr_Occurred()) SWIG_fail;
11256 }
11257 resultobj = SWIG_Py_Void();
11258 return resultobj;
11259 fail:
11260 return NULL;
11261 }
11262
11263
11264 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11265 PyObject *resultobj = 0;
11266 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11267 int result;
11268 void *argp1 = 0 ;
11269 int res1 = 0 ;
11270 PyObject *swig_obj[1] ;
11271
11272 if (!args) SWIG_fail;
11273 swig_obj[0] = args;
11274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11275 if (!SWIG_IsOK(res1)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11277 }
11278 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11279 {
11280 PyThreadState* __tstate = wxPyBeginAllowThreads();
11281 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 resultobj = SWIG_From_int(static_cast< int >(result));
11286 return resultobj;
11287 fail:
11288 return NULL;
11289 }
11290
11291
11292 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj = 0;
11294 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11295 int arg2 ;
11296 void *argp1 = 0 ;
11297 int res1 = 0 ;
11298 int val2 ;
11299 int ecode2 = 0 ;
11300 PyObject * obj0 = 0 ;
11301 PyObject * obj1 = 0 ;
11302 char * kwnames[] = {
11303 (char *) "self",(char *) "width", NULL
11304 };
11305
11306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11308 if (!SWIG_IsOK(res1)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11310 }
11311 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11312 ecode2 = SWIG_AsVal_int(obj1, &val2);
11313 if (!SWIG_IsOK(ecode2)) {
11314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11315 }
11316 arg2 = static_cast< int >(val2);
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 (arg1)->SetExtraBorderSize(arg2);
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 resultobj = SWIG_Py_Void();
11324 return resultobj;
11325 fail:
11326 return NULL;
11327 }
11328
11329
11330 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11331 PyObject *resultobj = 0;
11332 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11333 int result;
11334 void *argp1 = 0 ;
11335 int res1 = 0 ;
11336 PyObject *swig_obj[1] ;
11337
11338 if (!args) SWIG_fail;
11339 swig_obj[0] = args;
11340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11341 if (!SWIG_IsOK(res1)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11343 }
11344 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11348 wxPyEndAllowThreads(__tstate);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 resultobj = SWIG_From_int(static_cast< int >(result));
11352 return resultobj;
11353 fail:
11354 return NULL;
11355 }
11356
11357
11358 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11359 PyObject *resultobj = 0;
11360 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11361 int arg2 ;
11362 void *argp1 = 0 ;
11363 int res1 = 0 ;
11364 int val2 ;
11365 int ecode2 = 0 ;
11366 PyObject * obj0 = 0 ;
11367 PyObject * obj1 = 0 ;
11368 char * kwnames[] = {
11369 (char *) "self",(char *) "min", NULL
11370 };
11371
11372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11374 if (!SWIG_IsOK(res1)) {
11375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11376 }
11377 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11378 ecode2 = SWIG_AsVal_int(obj1, &val2);
11379 if (!SWIG_IsOK(ecode2)) {
11380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11381 }
11382 arg2 = static_cast< int >(val2);
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 (arg1)->SetMinimumSizeX(arg2);
11386 wxPyEndAllowThreads(__tstate);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 resultobj = SWIG_Py_Void();
11390 return resultobj;
11391 fail:
11392 return NULL;
11393 }
11394
11395
11396 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11397 PyObject *resultobj = 0;
11398 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11399 int arg2 ;
11400 void *argp1 = 0 ;
11401 int res1 = 0 ;
11402 int val2 ;
11403 int ecode2 = 0 ;
11404 PyObject * obj0 = 0 ;
11405 PyObject * obj1 = 0 ;
11406 char * kwnames[] = {
11407 (char *) "self",(char *) "min", NULL
11408 };
11409
11410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11412 if (!SWIG_IsOK(res1)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11414 }
11415 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11416 ecode2 = SWIG_AsVal_int(obj1, &val2);
11417 if (!SWIG_IsOK(ecode2)) {
11418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11419 }
11420 arg2 = static_cast< int >(val2);
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 (arg1)->SetMinimumSizeY(arg2);
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 resultobj = SWIG_Py_Void();
11428 return resultobj;
11429 fail:
11430 return NULL;
11431 }
11432
11433
11434 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11435 PyObject *resultobj = 0;
11436 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11437 int result;
11438 void *argp1 = 0 ;
11439 int res1 = 0 ;
11440 PyObject *swig_obj[1] ;
11441
11442 if (!args) SWIG_fail;
11443 swig_obj[0] = args;
11444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11445 if (!SWIG_IsOK(res1)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11447 }
11448 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11449 {
11450 PyThreadState* __tstate = wxPyBeginAllowThreads();
11451 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11452 wxPyEndAllowThreads(__tstate);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
11455 resultobj = SWIG_From_int(static_cast< int >(result));
11456 return resultobj;
11457 fail:
11458 return NULL;
11459 }
11460
11461
11462 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11463 PyObject *resultobj = 0;
11464 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11465 int result;
11466 void *argp1 = 0 ;
11467 int res1 = 0 ;
11468 PyObject *swig_obj[1] ;
11469
11470 if (!args) SWIG_fail;
11471 swig_obj[0] = args;
11472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11473 if (!SWIG_IsOK(res1)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11475 }
11476 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 }
11483 resultobj = SWIG_From_int(static_cast< int >(result));
11484 return resultobj;
11485 fail:
11486 return NULL;
11487 }
11488
11489
11490 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11491 PyObject *resultobj = 0;
11492 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11493 int arg2 ;
11494 void *argp1 = 0 ;
11495 int res1 = 0 ;
11496 int val2 ;
11497 int ecode2 = 0 ;
11498 PyObject * obj0 = 0 ;
11499 PyObject * obj1 = 0 ;
11500 char * kwnames[] = {
11501 (char *) "self",(char *) "max", NULL
11502 };
11503
11504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11506 if (!SWIG_IsOK(res1)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11508 }
11509 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11510 ecode2 = SWIG_AsVal_int(obj1, &val2);
11511 if (!SWIG_IsOK(ecode2)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11513 }
11514 arg2 = static_cast< int >(val2);
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 (arg1)->SetMaximumSizeX(arg2);
11518 wxPyEndAllowThreads(__tstate);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 resultobj = SWIG_Py_Void();
11522 return resultobj;
11523 fail:
11524 return NULL;
11525 }
11526
11527
11528 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11529 PyObject *resultobj = 0;
11530 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11531 int arg2 ;
11532 void *argp1 = 0 ;
11533 int res1 = 0 ;
11534 int val2 ;
11535 int ecode2 = 0 ;
11536 PyObject * obj0 = 0 ;
11537 PyObject * obj1 = 0 ;
11538 char * kwnames[] = {
11539 (char *) "self",(char *) "max", NULL
11540 };
11541
11542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11544 if (!SWIG_IsOK(res1)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11546 }
11547 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11548 ecode2 = SWIG_AsVal_int(obj1, &val2);
11549 if (!SWIG_IsOK(ecode2)) {
11550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11551 }
11552 arg2 = static_cast< int >(val2);
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 (arg1)->SetMaximumSizeY(arg2);
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 resultobj = SWIG_Py_Void();
11560 return resultobj;
11561 fail:
11562 return NULL;
11563 }
11564
11565
11566 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11567 PyObject *resultobj = 0;
11568 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11569 int result;
11570 void *argp1 = 0 ;
11571 int res1 = 0 ;
11572 PyObject *swig_obj[1] ;
11573
11574 if (!args) SWIG_fail;
11575 swig_obj[0] = args;
11576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11577 if (!SWIG_IsOK(res1)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11579 }
11580 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11584 wxPyEndAllowThreads(__tstate);
11585 if (PyErr_Occurred()) SWIG_fail;
11586 }
11587 resultobj = SWIG_From_int(static_cast< int >(result));
11588 return resultobj;
11589 fail:
11590 return NULL;
11591 }
11592
11593
11594 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11595 PyObject *resultobj = 0;
11596 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11597 int result;
11598 void *argp1 = 0 ;
11599 int res1 = 0 ;
11600 PyObject *swig_obj[1] ;
11601
11602 if (!args) SWIG_fail;
11603 swig_obj[0] = args;
11604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11605 if (!SWIG_IsOK(res1)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11607 }
11608 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11609 {
11610 PyThreadState* __tstate = wxPyBeginAllowThreads();
11611 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 resultobj = SWIG_From_int(static_cast< int >(result));
11616 return resultobj;
11617 fail:
11618 return NULL;
11619 }
11620
11621
11622 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj = 0;
11624 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11625 int arg2 ;
11626 int arg3 ;
11627 int arg4 = (int) 2 ;
11628 wxSashEdgePosition result;
11629 void *argp1 = 0 ;
11630 int res1 = 0 ;
11631 int val2 ;
11632 int ecode2 = 0 ;
11633 int val3 ;
11634 int ecode3 = 0 ;
11635 int val4 ;
11636 int ecode4 = 0 ;
11637 PyObject * obj0 = 0 ;
11638 PyObject * obj1 = 0 ;
11639 PyObject * obj2 = 0 ;
11640 PyObject * obj3 = 0 ;
11641 char * kwnames[] = {
11642 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11643 };
11644
11645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11647 if (!SWIG_IsOK(res1)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11649 }
11650 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11651 ecode2 = SWIG_AsVal_int(obj1, &val2);
11652 if (!SWIG_IsOK(ecode2)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11654 }
11655 arg2 = static_cast< int >(val2);
11656 ecode3 = SWIG_AsVal_int(obj2, &val3);
11657 if (!SWIG_IsOK(ecode3)) {
11658 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11659 }
11660 arg3 = static_cast< int >(val3);
11661 if (obj3) {
11662 ecode4 = SWIG_AsVal_int(obj3, &val4);
11663 if (!SWIG_IsOK(ecode4)) {
11664 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11665 }
11666 arg4 = static_cast< int >(val4);
11667 }
11668 {
11669 PyThreadState* __tstate = wxPyBeginAllowThreads();
11670 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11671 wxPyEndAllowThreads(__tstate);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 resultobj = SWIG_From_int(static_cast< int >(result));
11675 return resultobj;
11676 fail:
11677 return NULL;
11678 }
11679
11680
11681 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11682 PyObject *resultobj = 0;
11683 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11684 void *argp1 = 0 ;
11685 int res1 = 0 ;
11686 PyObject *swig_obj[1] ;
11687
11688 if (!args) SWIG_fail;
11689 swig_obj[0] = args;
11690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11691 if (!SWIG_IsOK(res1)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11693 }
11694 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11695 {
11696 PyThreadState* __tstate = wxPyBeginAllowThreads();
11697 (arg1)->SizeWindows();
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 resultobj = SWIG_Py_Void();
11702 return resultobj;
11703 fail:
11704 return NULL;
11705 }
11706
11707
11708 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11709 PyObject *obj;
11710 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11711 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11712 return SWIG_Py_Void();
11713 }
11714
11715 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11716 return SWIG_Python_InitShadowInstance(args);
11717 }
11718
11719 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj = 0;
11721 int arg1 = (int) 0 ;
11722 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11723 wxSashEvent *result = 0 ;
11724 int val1 ;
11725 int ecode1 = 0 ;
11726 int val2 ;
11727 int ecode2 = 0 ;
11728 PyObject * obj0 = 0 ;
11729 PyObject * obj1 = 0 ;
11730 char * kwnames[] = {
11731 (char *) "id",(char *) "edge", NULL
11732 };
11733
11734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11735 if (obj0) {
11736 ecode1 = SWIG_AsVal_int(obj0, &val1);
11737 if (!SWIG_IsOK(ecode1)) {
11738 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11739 }
11740 arg1 = static_cast< int >(val1);
11741 }
11742 if (obj1) {
11743 ecode2 = SWIG_AsVal_int(obj1, &val2);
11744 if (!SWIG_IsOK(ecode2)) {
11745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11746 }
11747 arg2 = static_cast< wxSashEdgePosition >(val2);
11748 }
11749 {
11750 PyThreadState* __tstate = wxPyBeginAllowThreads();
11751 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11756 return resultobj;
11757 fail:
11758 return NULL;
11759 }
11760
11761
11762 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj = 0;
11764 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11765 wxSashEdgePosition arg2 ;
11766 void *argp1 = 0 ;
11767 int res1 = 0 ;
11768 int val2 ;
11769 int ecode2 = 0 ;
11770 PyObject * obj0 = 0 ;
11771 PyObject * obj1 = 0 ;
11772 char * kwnames[] = {
11773 (char *) "self",(char *) "edge", NULL
11774 };
11775
11776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11778 if (!SWIG_IsOK(res1)) {
11779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11780 }
11781 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11782 ecode2 = SWIG_AsVal_int(obj1, &val2);
11783 if (!SWIG_IsOK(ecode2)) {
11784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11785 }
11786 arg2 = static_cast< wxSashEdgePosition >(val2);
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
11789 (arg1)->SetEdge(arg2);
11790 wxPyEndAllowThreads(__tstate);
11791 if (PyErr_Occurred()) SWIG_fail;
11792 }
11793 resultobj = SWIG_Py_Void();
11794 return resultobj;
11795 fail:
11796 return NULL;
11797 }
11798
11799
11800 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11801 PyObject *resultobj = 0;
11802 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11803 wxSashEdgePosition result;
11804 void *argp1 = 0 ;
11805 int res1 = 0 ;
11806 PyObject *swig_obj[1] ;
11807
11808 if (!args) SWIG_fail;
11809 swig_obj[0] = args;
11810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11811 if (!SWIG_IsOK(res1)) {
11812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11813 }
11814 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11815 {
11816 PyThreadState* __tstate = wxPyBeginAllowThreads();
11817 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 resultobj = SWIG_From_int(static_cast< int >(result));
11822 return resultobj;
11823 fail:
11824 return NULL;
11825 }
11826
11827
11828 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11829 PyObject *resultobj = 0;
11830 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11831 wxRect *arg2 = 0 ;
11832 void *argp1 = 0 ;
11833 int res1 = 0 ;
11834 wxRect temp2 ;
11835 PyObject * obj0 = 0 ;
11836 PyObject * obj1 = 0 ;
11837 char * kwnames[] = {
11838 (char *) "self",(char *) "rect", NULL
11839 };
11840
11841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11843 if (!SWIG_IsOK(res1)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11845 }
11846 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11847 {
11848 arg2 = &temp2;
11849 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 (arg1)->SetDragRect((wxRect const &)*arg2);
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 resultobj = SWIG_Py_Void();
11858 return resultobj;
11859 fail:
11860 return NULL;
11861 }
11862
11863
11864 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11865 PyObject *resultobj = 0;
11866 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11867 wxRect result;
11868 void *argp1 = 0 ;
11869 int res1 = 0 ;
11870 PyObject *swig_obj[1] ;
11871
11872 if (!args) SWIG_fail;
11873 swig_obj[0] = args;
11874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11875 if (!SWIG_IsOK(res1)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11877 }
11878 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11879 {
11880 PyThreadState* __tstate = wxPyBeginAllowThreads();
11881 result = ((wxSashEvent const *)arg1)->GetDragRect();
11882 wxPyEndAllowThreads(__tstate);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
11885 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11886 return resultobj;
11887 fail:
11888 return NULL;
11889 }
11890
11891
11892 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11893 PyObject *resultobj = 0;
11894 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11895 wxSashDragStatus arg2 ;
11896 void *argp1 = 0 ;
11897 int res1 = 0 ;
11898 int val2 ;
11899 int ecode2 = 0 ;
11900 PyObject * obj0 = 0 ;
11901 PyObject * obj1 = 0 ;
11902 char * kwnames[] = {
11903 (char *) "self",(char *) "status", NULL
11904 };
11905
11906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11908 if (!SWIG_IsOK(res1)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11910 }
11911 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11912 ecode2 = SWIG_AsVal_int(obj1, &val2);
11913 if (!SWIG_IsOK(ecode2)) {
11914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11915 }
11916 arg2 = static_cast< wxSashDragStatus >(val2);
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 (arg1)->SetDragStatus(arg2);
11920 wxPyEndAllowThreads(__tstate);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 resultobj = SWIG_Py_Void();
11924 return resultobj;
11925 fail:
11926 return NULL;
11927 }
11928
11929
11930 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11931 PyObject *resultobj = 0;
11932 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11933 wxSashDragStatus result;
11934 void *argp1 = 0 ;
11935 int res1 = 0 ;
11936 PyObject *swig_obj[1] ;
11937
11938 if (!args) SWIG_fail;
11939 swig_obj[0] = args;
11940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11941 if (!SWIG_IsOK(res1)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11943 }
11944 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 resultobj = SWIG_From_int(static_cast< int >(result));
11952 return resultobj;
11953 fail:
11954 return NULL;
11955 }
11956
11957
11958 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11959 PyObject *obj;
11960 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11961 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11962 return SWIG_Py_Void();
11963 }
11964
11965 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11966 return SWIG_Python_InitShadowInstance(args);
11967 }
11968
11969 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11970 PyObject *resultobj = 0;
11971 int arg1 = (int) 0 ;
11972 wxQueryLayoutInfoEvent *result = 0 ;
11973 int val1 ;
11974 int ecode1 = 0 ;
11975 PyObject * obj0 = 0 ;
11976 char * kwnames[] = {
11977 (char *) "id", NULL
11978 };
11979
11980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11981 if (obj0) {
11982 ecode1 = SWIG_AsVal_int(obj0, &val1);
11983 if (!SWIG_IsOK(ecode1)) {
11984 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11985 }
11986 arg1 = static_cast< int >(val1);
11987 }
11988 {
11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
11990 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
11994 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11995 return resultobj;
11996 fail:
11997 return NULL;
11998 }
11999
12000
12001 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12002 PyObject *resultobj = 0;
12003 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12004 int arg2 ;
12005 void *argp1 = 0 ;
12006 int res1 = 0 ;
12007 int val2 ;
12008 int ecode2 = 0 ;
12009 PyObject * obj0 = 0 ;
12010 PyObject * obj1 = 0 ;
12011 char * kwnames[] = {
12012 (char *) "self",(char *) "length", NULL
12013 };
12014
12015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12017 if (!SWIG_IsOK(res1)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12019 }
12020 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12021 ecode2 = SWIG_AsVal_int(obj1, &val2);
12022 if (!SWIG_IsOK(ecode2)) {
12023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12024 }
12025 arg2 = static_cast< int >(val2);
12026 {
12027 PyThreadState* __tstate = wxPyBeginAllowThreads();
12028 (arg1)->SetRequestedLength(arg2);
12029 wxPyEndAllowThreads(__tstate);
12030 if (PyErr_Occurred()) SWIG_fail;
12031 }
12032 resultobj = SWIG_Py_Void();
12033 return resultobj;
12034 fail:
12035 return NULL;
12036 }
12037
12038
12039 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12040 PyObject *resultobj = 0;
12041 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12042 int result;
12043 void *argp1 = 0 ;
12044 int res1 = 0 ;
12045 PyObject *swig_obj[1] ;
12046
12047 if (!args) SWIG_fail;
12048 swig_obj[0] = args;
12049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12050 if (!SWIG_IsOK(res1)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12052 }
12053 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12054 {
12055 PyThreadState* __tstate = wxPyBeginAllowThreads();
12056 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12057 wxPyEndAllowThreads(__tstate);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 resultobj = SWIG_From_int(static_cast< int >(result));
12061 return resultobj;
12062 fail:
12063 return NULL;
12064 }
12065
12066
12067 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12068 PyObject *resultobj = 0;
12069 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12070 int arg2 ;
12071 void *argp1 = 0 ;
12072 int res1 = 0 ;
12073 int val2 ;
12074 int ecode2 = 0 ;
12075 PyObject * obj0 = 0 ;
12076 PyObject * obj1 = 0 ;
12077 char * kwnames[] = {
12078 (char *) "self",(char *) "flags", NULL
12079 };
12080
12081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12083 if (!SWIG_IsOK(res1)) {
12084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12085 }
12086 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12087 ecode2 = SWIG_AsVal_int(obj1, &val2);
12088 if (!SWIG_IsOK(ecode2)) {
12089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12090 }
12091 arg2 = static_cast< int >(val2);
12092 {
12093 PyThreadState* __tstate = wxPyBeginAllowThreads();
12094 (arg1)->SetFlags(arg2);
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 resultobj = SWIG_Py_Void();
12099 return resultobj;
12100 fail:
12101 return NULL;
12102 }
12103
12104
12105 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12106 PyObject *resultobj = 0;
12107 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12108 int result;
12109 void *argp1 = 0 ;
12110 int res1 = 0 ;
12111 PyObject *swig_obj[1] ;
12112
12113 if (!args) SWIG_fail;
12114 swig_obj[0] = args;
12115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12116 if (!SWIG_IsOK(res1)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12118 }
12119 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 resultobj = SWIG_From_int(static_cast< int >(result));
12127 return resultobj;
12128 fail:
12129 return NULL;
12130 }
12131
12132
12133 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj = 0;
12135 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12136 wxSize *arg2 = 0 ;
12137 void *argp1 = 0 ;
12138 int res1 = 0 ;
12139 wxSize temp2 ;
12140 PyObject * obj0 = 0 ;
12141 PyObject * obj1 = 0 ;
12142 char * kwnames[] = {
12143 (char *) "self",(char *) "size", NULL
12144 };
12145
12146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12148 if (!SWIG_IsOK(res1)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12150 }
12151 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12152 {
12153 arg2 = &temp2;
12154 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12155 }
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 (arg1)->SetSize((wxSize const &)*arg2);
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 resultobj = SWIG_Py_Void();
12163 return resultobj;
12164 fail:
12165 return NULL;
12166 }
12167
12168
12169 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12170 PyObject *resultobj = 0;
12171 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12172 wxSize result;
12173 void *argp1 = 0 ;
12174 int res1 = 0 ;
12175 PyObject *swig_obj[1] ;
12176
12177 if (!args) SWIG_fail;
12178 swig_obj[0] = args;
12179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12180 if (!SWIG_IsOK(res1)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12182 }
12183 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12191 return resultobj;
12192 fail:
12193 return NULL;
12194 }
12195
12196
12197 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj = 0;
12199 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12200 wxLayoutOrientation arg2 ;
12201 void *argp1 = 0 ;
12202 int res1 = 0 ;
12203 int val2 ;
12204 int ecode2 = 0 ;
12205 PyObject * obj0 = 0 ;
12206 PyObject * obj1 = 0 ;
12207 char * kwnames[] = {
12208 (char *) "self",(char *) "orient", NULL
12209 };
12210
12211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12213 if (!SWIG_IsOK(res1)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12215 }
12216 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12217 ecode2 = SWIG_AsVal_int(obj1, &val2);
12218 if (!SWIG_IsOK(ecode2)) {
12219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12220 }
12221 arg2 = static_cast< wxLayoutOrientation >(val2);
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 (arg1)->SetOrientation(arg2);
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 resultobj = SWIG_Py_Void();
12229 return resultobj;
12230 fail:
12231 return NULL;
12232 }
12233
12234
12235 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12236 PyObject *resultobj = 0;
12237 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12238 wxLayoutOrientation result;
12239 void *argp1 = 0 ;
12240 int res1 = 0 ;
12241 PyObject *swig_obj[1] ;
12242
12243 if (!args) SWIG_fail;
12244 swig_obj[0] = args;
12245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12246 if (!SWIG_IsOK(res1)) {
12247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12248 }
12249 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 resultobj = SWIG_From_int(static_cast< int >(result));
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12264 PyObject *resultobj = 0;
12265 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12266 wxLayoutAlignment arg2 ;
12267 void *argp1 = 0 ;
12268 int res1 = 0 ;
12269 int val2 ;
12270 int ecode2 = 0 ;
12271 PyObject * obj0 = 0 ;
12272 PyObject * obj1 = 0 ;
12273 char * kwnames[] = {
12274 (char *) "self",(char *) "align", NULL
12275 };
12276
12277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12279 if (!SWIG_IsOK(res1)) {
12280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12281 }
12282 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12283 ecode2 = SWIG_AsVal_int(obj1, &val2);
12284 if (!SWIG_IsOK(ecode2)) {
12285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12286 }
12287 arg2 = static_cast< wxLayoutAlignment >(val2);
12288 {
12289 PyThreadState* __tstate = wxPyBeginAllowThreads();
12290 (arg1)->SetAlignment(arg2);
12291 wxPyEndAllowThreads(__tstate);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
12294 resultobj = SWIG_Py_Void();
12295 return resultobj;
12296 fail:
12297 return NULL;
12298 }
12299
12300
12301 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12302 PyObject *resultobj = 0;
12303 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12304 wxLayoutAlignment result;
12305 void *argp1 = 0 ;
12306 int res1 = 0 ;
12307 PyObject *swig_obj[1] ;
12308
12309 if (!args) SWIG_fail;
12310 swig_obj[0] = args;
12311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12312 if (!SWIG_IsOK(res1)) {
12313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12314 }
12315 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12316 {
12317 PyThreadState* __tstate = wxPyBeginAllowThreads();
12318 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12319 wxPyEndAllowThreads(__tstate);
12320 if (PyErr_Occurred()) SWIG_fail;
12321 }
12322 resultobj = SWIG_From_int(static_cast< int >(result));
12323 return resultobj;
12324 fail:
12325 return NULL;
12326 }
12327
12328
12329 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12330 PyObject *obj;
12331 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12332 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12333 return SWIG_Py_Void();
12334 }
12335
12336 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12337 return SWIG_Python_InitShadowInstance(args);
12338 }
12339
12340 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12341 PyObject *resultobj = 0;
12342 int arg1 = (int) 0 ;
12343 wxCalculateLayoutEvent *result = 0 ;
12344 int val1 ;
12345 int ecode1 = 0 ;
12346 PyObject * obj0 = 0 ;
12347 char * kwnames[] = {
12348 (char *) "id", NULL
12349 };
12350
12351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12352 if (obj0) {
12353 ecode1 = SWIG_AsVal_int(obj0, &val1);
12354 if (!SWIG_IsOK(ecode1)) {
12355 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12356 }
12357 arg1 = static_cast< int >(val1);
12358 }
12359 {
12360 PyThreadState* __tstate = wxPyBeginAllowThreads();
12361 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12366 return resultobj;
12367 fail:
12368 return NULL;
12369 }
12370
12371
12372 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12373 PyObject *resultobj = 0;
12374 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12375 int arg2 ;
12376 void *argp1 = 0 ;
12377 int res1 = 0 ;
12378 int val2 ;
12379 int ecode2 = 0 ;
12380 PyObject * obj0 = 0 ;
12381 PyObject * obj1 = 0 ;
12382 char * kwnames[] = {
12383 (char *) "self",(char *) "flags", NULL
12384 };
12385
12386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12388 if (!SWIG_IsOK(res1)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12390 }
12391 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12392 ecode2 = SWIG_AsVal_int(obj1, &val2);
12393 if (!SWIG_IsOK(ecode2)) {
12394 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12395 }
12396 arg2 = static_cast< int >(val2);
12397 {
12398 PyThreadState* __tstate = wxPyBeginAllowThreads();
12399 (arg1)->SetFlags(arg2);
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 resultobj = SWIG_Py_Void();
12404 return resultobj;
12405 fail:
12406 return NULL;
12407 }
12408
12409
12410 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12411 PyObject *resultobj = 0;
12412 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12413 int result;
12414 void *argp1 = 0 ;
12415 int res1 = 0 ;
12416 PyObject *swig_obj[1] ;
12417
12418 if (!args) SWIG_fail;
12419 swig_obj[0] = args;
12420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12421 if (!SWIG_IsOK(res1)) {
12422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12423 }
12424 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 resultobj = SWIG_From_int(static_cast< int >(result));
12432 return resultobj;
12433 fail:
12434 return NULL;
12435 }
12436
12437
12438 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj = 0;
12440 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12441 wxRect *arg2 = 0 ;
12442 void *argp1 = 0 ;
12443 int res1 = 0 ;
12444 wxRect temp2 ;
12445 PyObject * obj0 = 0 ;
12446 PyObject * obj1 = 0 ;
12447 char * kwnames[] = {
12448 (char *) "self",(char *) "rect", NULL
12449 };
12450
12451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12453 if (!SWIG_IsOK(res1)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12455 }
12456 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12457 {
12458 arg2 = &temp2;
12459 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12460 }
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 (arg1)->SetRect((wxRect const &)*arg2);
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 resultobj = SWIG_Py_Void();
12468 return resultobj;
12469 fail:
12470 return NULL;
12471 }
12472
12473
12474 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12475 PyObject *resultobj = 0;
12476 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12477 wxRect result;
12478 void *argp1 = 0 ;
12479 int res1 = 0 ;
12480 PyObject *swig_obj[1] ;
12481
12482 if (!args) SWIG_fail;
12483 swig_obj[0] = args;
12484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12485 if (!SWIG_IsOK(res1)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12487 }
12488 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12489 {
12490 PyThreadState* __tstate = wxPyBeginAllowThreads();
12491 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12492 wxPyEndAllowThreads(__tstate);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 }
12495 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12496 return resultobj;
12497 fail:
12498 return NULL;
12499 }
12500
12501
12502 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12503 PyObject *obj;
12504 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12505 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12506 return SWIG_Py_Void();
12507 }
12508
12509 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12510 return SWIG_Python_InitShadowInstance(args);
12511 }
12512
12513 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12514 PyObject *resultobj = 0;
12515 wxWindow *arg1 = (wxWindow *) 0 ;
12516 int arg2 = (int) -1 ;
12517 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12518 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12519 wxSize const &arg4_defvalue = wxDefaultSize ;
12520 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12521 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12522 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12523 wxString *arg6 = (wxString *) &arg6_defvalue ;
12524 wxSashLayoutWindow *result = 0 ;
12525 void *argp1 = 0 ;
12526 int res1 = 0 ;
12527 int val2 ;
12528 int ecode2 = 0 ;
12529 wxPoint temp3 ;
12530 wxSize temp4 ;
12531 long val5 ;
12532 int ecode5 = 0 ;
12533 bool temp6 = false ;
12534 PyObject * obj0 = 0 ;
12535 PyObject * obj1 = 0 ;
12536 PyObject * obj2 = 0 ;
12537 PyObject * obj3 = 0 ;
12538 PyObject * obj4 = 0 ;
12539 PyObject * obj5 = 0 ;
12540 char * kwnames[] = {
12541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12542 };
12543
12544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12546 if (!SWIG_IsOK(res1)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12548 }
12549 arg1 = reinterpret_cast< wxWindow * >(argp1);
12550 if (obj1) {
12551 ecode2 = SWIG_AsVal_int(obj1, &val2);
12552 if (!SWIG_IsOK(ecode2)) {
12553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12554 }
12555 arg2 = static_cast< int >(val2);
12556 }
12557 if (obj2) {
12558 {
12559 arg3 = &temp3;
12560 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12561 }
12562 }
12563 if (obj3) {
12564 {
12565 arg4 = &temp4;
12566 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12567 }
12568 }
12569 if (obj4) {
12570 ecode5 = SWIG_AsVal_long(obj4, &val5);
12571 if (!SWIG_IsOK(ecode5)) {
12572 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12573 }
12574 arg5 = static_cast< long >(val5);
12575 }
12576 if (obj5) {
12577 {
12578 arg6 = wxString_in_helper(obj5);
12579 if (arg6 == NULL) SWIG_fail;
12580 temp6 = true;
12581 }
12582 }
12583 {
12584 if (!wxPyCheckForApp()) SWIG_fail;
12585 PyThreadState* __tstate = wxPyBeginAllowThreads();
12586 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12587 wxPyEndAllowThreads(__tstate);
12588 if (PyErr_Occurred()) SWIG_fail;
12589 }
12590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12591 {
12592 if (temp6)
12593 delete arg6;
12594 }
12595 return resultobj;
12596 fail:
12597 {
12598 if (temp6)
12599 delete arg6;
12600 }
12601 return NULL;
12602 }
12603
12604
12605 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12606 PyObject *resultobj = 0;
12607 wxSashLayoutWindow *result = 0 ;
12608
12609 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12610 {
12611 if (!wxPyCheckForApp()) SWIG_fail;
12612 PyThreadState* __tstate = wxPyBeginAllowThreads();
12613 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12618 return resultobj;
12619 fail:
12620 return NULL;
12621 }
12622
12623
12624 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj = 0;
12626 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12627 wxWindow *arg2 = (wxWindow *) 0 ;
12628 int arg3 = (int) -1 ;
12629 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12630 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12631 wxSize const &arg5_defvalue = wxDefaultSize ;
12632 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12633 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12634 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12635 wxString *arg7 = (wxString *) &arg7_defvalue ;
12636 bool result;
12637 void *argp1 = 0 ;
12638 int res1 = 0 ;
12639 void *argp2 = 0 ;
12640 int res2 = 0 ;
12641 int val3 ;
12642 int ecode3 = 0 ;
12643 wxPoint temp4 ;
12644 wxSize temp5 ;
12645 long val6 ;
12646 int ecode6 = 0 ;
12647 bool temp7 = false ;
12648 PyObject * obj0 = 0 ;
12649 PyObject * obj1 = 0 ;
12650 PyObject * obj2 = 0 ;
12651 PyObject * obj3 = 0 ;
12652 PyObject * obj4 = 0 ;
12653 PyObject * obj5 = 0 ;
12654 PyObject * obj6 = 0 ;
12655 char * kwnames[] = {
12656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12657 };
12658
12659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12661 if (!SWIG_IsOK(res1)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12663 }
12664 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12665 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12666 if (!SWIG_IsOK(res2)) {
12667 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12668 }
12669 arg2 = reinterpret_cast< wxWindow * >(argp2);
12670 if (obj2) {
12671 ecode3 = SWIG_AsVal_int(obj2, &val3);
12672 if (!SWIG_IsOK(ecode3)) {
12673 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12674 }
12675 arg3 = static_cast< int >(val3);
12676 }
12677 if (obj3) {
12678 {
12679 arg4 = &temp4;
12680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12681 }
12682 }
12683 if (obj4) {
12684 {
12685 arg5 = &temp5;
12686 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12687 }
12688 }
12689 if (obj5) {
12690 ecode6 = SWIG_AsVal_long(obj5, &val6);
12691 if (!SWIG_IsOK(ecode6)) {
12692 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12693 }
12694 arg6 = static_cast< long >(val6);
12695 }
12696 if (obj6) {
12697 {
12698 arg7 = wxString_in_helper(obj6);
12699 if (arg7 == NULL) SWIG_fail;
12700 temp7 = true;
12701 }
12702 }
12703 {
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12706 wxPyEndAllowThreads(__tstate);
12707 if (PyErr_Occurred()) SWIG_fail;
12708 }
12709 {
12710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12711 }
12712 {
12713 if (temp7)
12714 delete arg7;
12715 }
12716 return resultobj;
12717 fail:
12718 {
12719 if (temp7)
12720 delete arg7;
12721 }
12722 return NULL;
12723 }
12724
12725
12726 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12727 PyObject *resultobj = 0;
12728 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12729 wxLayoutAlignment result;
12730 void *argp1 = 0 ;
12731 int res1 = 0 ;
12732 PyObject *swig_obj[1] ;
12733
12734 if (!args) SWIG_fail;
12735 swig_obj[0] = args;
12736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12737 if (!SWIG_IsOK(res1)) {
12738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12739 }
12740 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12741 {
12742 PyThreadState* __tstate = wxPyBeginAllowThreads();
12743 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12744 wxPyEndAllowThreads(__tstate);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 }
12747 resultobj = SWIG_From_int(static_cast< int >(result));
12748 return resultobj;
12749 fail:
12750 return NULL;
12751 }
12752
12753
12754 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12755 PyObject *resultobj = 0;
12756 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12757 wxLayoutOrientation result;
12758 void *argp1 = 0 ;
12759 int res1 = 0 ;
12760 PyObject *swig_obj[1] ;
12761
12762 if (!args) SWIG_fail;
12763 swig_obj[0] = args;
12764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12765 if (!SWIG_IsOK(res1)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12767 }
12768 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12769 {
12770 PyThreadState* __tstate = wxPyBeginAllowThreads();
12771 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12772 wxPyEndAllowThreads(__tstate);
12773 if (PyErr_Occurred()) SWIG_fail;
12774 }
12775 resultobj = SWIG_From_int(static_cast< int >(result));
12776 return resultobj;
12777 fail:
12778 return NULL;
12779 }
12780
12781
12782 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12783 PyObject *resultobj = 0;
12784 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12785 wxLayoutAlignment arg2 ;
12786 void *argp1 = 0 ;
12787 int res1 = 0 ;
12788 int val2 ;
12789 int ecode2 = 0 ;
12790 PyObject * obj0 = 0 ;
12791 PyObject * obj1 = 0 ;
12792 char * kwnames[] = {
12793 (char *) "self",(char *) "alignment", NULL
12794 };
12795
12796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12798 if (!SWIG_IsOK(res1)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12800 }
12801 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12802 ecode2 = SWIG_AsVal_int(obj1, &val2);
12803 if (!SWIG_IsOK(ecode2)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12805 }
12806 arg2 = static_cast< wxLayoutAlignment >(val2);
12807 {
12808 PyThreadState* __tstate = wxPyBeginAllowThreads();
12809 (arg1)->SetAlignment(arg2);
12810 wxPyEndAllowThreads(__tstate);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
12813 resultobj = SWIG_Py_Void();
12814 return resultobj;
12815 fail:
12816 return NULL;
12817 }
12818
12819
12820 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12821 PyObject *resultobj = 0;
12822 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12823 wxSize *arg2 = 0 ;
12824 void *argp1 = 0 ;
12825 int res1 = 0 ;
12826 wxSize temp2 ;
12827 PyObject * obj0 = 0 ;
12828 PyObject * obj1 = 0 ;
12829 char * kwnames[] = {
12830 (char *) "self",(char *) "size", NULL
12831 };
12832
12833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12835 if (!SWIG_IsOK(res1)) {
12836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12837 }
12838 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12839 {
12840 arg2 = &temp2;
12841 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12842 }
12843 {
12844 PyThreadState* __tstate = wxPyBeginAllowThreads();
12845 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 resultobj = SWIG_Py_Void();
12850 return resultobj;
12851 fail:
12852 return NULL;
12853 }
12854
12855
12856 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12857 PyObject *resultobj = 0;
12858 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12859 wxLayoutOrientation arg2 ;
12860 void *argp1 = 0 ;
12861 int res1 = 0 ;
12862 int val2 ;
12863 int ecode2 = 0 ;
12864 PyObject * obj0 = 0 ;
12865 PyObject * obj1 = 0 ;
12866 char * kwnames[] = {
12867 (char *) "self",(char *) "orientation", NULL
12868 };
12869
12870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12872 if (!SWIG_IsOK(res1)) {
12873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12874 }
12875 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12876 ecode2 = SWIG_AsVal_int(obj1, &val2);
12877 if (!SWIG_IsOK(ecode2)) {
12878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12879 }
12880 arg2 = static_cast< wxLayoutOrientation >(val2);
12881 {
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 (arg1)->SetOrientation(arg2);
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 resultobj = SWIG_Py_Void();
12888 return resultobj;
12889 fail:
12890 return NULL;
12891 }
12892
12893
12894 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12895 PyObject *obj;
12896 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12897 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12898 return SWIG_Py_Void();
12899 }
12900
12901 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12902 return SWIG_Python_InitShadowInstance(args);
12903 }
12904
12905 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12906 PyObject *resultobj = 0;
12907 wxLayoutAlgorithm *result = 0 ;
12908
12909 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12910 {
12911 PyThreadState* __tstate = wxPyBeginAllowThreads();
12912 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12913 wxPyEndAllowThreads(__tstate);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
12916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12917 return resultobj;
12918 fail:
12919 return NULL;
12920 }
12921
12922
12923 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12924 PyObject *resultobj = 0;
12925 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12926 void *argp1 = 0 ;
12927 int res1 = 0 ;
12928 PyObject *swig_obj[1] ;
12929
12930 if (!args) SWIG_fail;
12931 swig_obj[0] = args;
12932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12933 if (!SWIG_IsOK(res1)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12935 }
12936 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12937 {
12938 PyThreadState* __tstate = wxPyBeginAllowThreads();
12939 delete arg1;
12940
12941 wxPyEndAllowThreads(__tstate);
12942 if (PyErr_Occurred()) SWIG_fail;
12943 }
12944 resultobj = SWIG_Py_Void();
12945 return resultobj;
12946 fail:
12947 return NULL;
12948 }
12949
12950
12951 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12952 PyObject *resultobj = 0;
12953 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12954 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12955 wxRect *arg3 = (wxRect *) NULL ;
12956 bool result;
12957 void *argp1 = 0 ;
12958 int res1 = 0 ;
12959 void *argp2 = 0 ;
12960 int res2 = 0 ;
12961 void *argp3 = 0 ;
12962 int res3 = 0 ;
12963 PyObject * obj0 = 0 ;
12964 PyObject * obj1 = 0 ;
12965 PyObject * obj2 = 0 ;
12966 char * kwnames[] = {
12967 (char *) "self",(char *) "frame",(char *) "rect", NULL
12968 };
12969
12970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12972 if (!SWIG_IsOK(res1)) {
12973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12974 }
12975 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12976 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12977 if (!SWIG_IsOK(res2)) {
12978 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12979 }
12980 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12981 if (obj2) {
12982 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12983 if (!SWIG_IsOK(res3)) {
12984 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12985 }
12986 arg3 = reinterpret_cast< wxRect * >(argp3);
12987 }
12988 {
12989 PyThreadState* __tstate = wxPyBeginAllowThreads();
12990 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12991 wxPyEndAllowThreads(__tstate);
12992 if (PyErr_Occurred()) SWIG_fail;
12993 }
12994 {
12995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12996 }
12997 return resultobj;
12998 fail:
12999 return NULL;
13000 }
13001
13002
13003 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13004 PyObject *resultobj = 0;
13005 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13006 wxFrame *arg2 = (wxFrame *) 0 ;
13007 wxWindow *arg3 = (wxWindow *) NULL ;
13008 bool result;
13009 void *argp1 = 0 ;
13010 int res1 = 0 ;
13011 void *argp2 = 0 ;
13012 int res2 = 0 ;
13013 void *argp3 = 0 ;
13014 int res3 = 0 ;
13015 PyObject * obj0 = 0 ;
13016 PyObject * obj1 = 0 ;
13017 PyObject * obj2 = 0 ;
13018 char * kwnames[] = {
13019 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13020 };
13021
13022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13024 if (!SWIG_IsOK(res1)) {
13025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13026 }
13027 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13028 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13029 if (!SWIG_IsOK(res2)) {
13030 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13031 }
13032 arg2 = reinterpret_cast< wxFrame * >(argp2);
13033 if (obj2) {
13034 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13035 if (!SWIG_IsOK(res3)) {
13036 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13037 }
13038 arg3 = reinterpret_cast< wxWindow * >(argp3);
13039 }
13040 {
13041 PyThreadState* __tstate = wxPyBeginAllowThreads();
13042 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 {
13047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13048 }
13049 return resultobj;
13050 fail:
13051 return NULL;
13052 }
13053
13054
13055 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13056 PyObject *resultobj = 0;
13057 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13058 wxWindow *arg2 = (wxWindow *) 0 ;
13059 wxWindow *arg3 = (wxWindow *) NULL ;
13060 bool result;
13061 void *argp1 = 0 ;
13062 int res1 = 0 ;
13063 void *argp2 = 0 ;
13064 int res2 = 0 ;
13065 void *argp3 = 0 ;
13066 int res3 = 0 ;
13067 PyObject * obj0 = 0 ;
13068 PyObject * obj1 = 0 ;
13069 PyObject * obj2 = 0 ;
13070 char * kwnames[] = {
13071 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13072 };
13073
13074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13076 if (!SWIG_IsOK(res1)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13078 }
13079 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13081 if (!SWIG_IsOK(res2)) {
13082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13083 }
13084 arg2 = reinterpret_cast< wxWindow * >(argp2);
13085 if (obj2) {
13086 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13087 if (!SWIG_IsOK(res3)) {
13088 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13089 }
13090 arg3 = reinterpret_cast< wxWindow * >(argp3);
13091 }
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13095 wxPyEndAllowThreads(__tstate);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 }
13098 {
13099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13100 }
13101 return resultobj;
13102 fail:
13103 return NULL;
13104 }
13105
13106
13107 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13108 PyObject *obj;
13109 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13110 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13111 return SWIG_Py_Void();
13112 }
13113
13114 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13115 return SWIG_Python_InitShadowInstance(args);
13116 }
13117
13118 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13119 PyObject *resultobj = 0;
13120 wxWindow *arg1 = (wxWindow *) 0 ;
13121 int arg2 = (int) wxBORDER_NONE ;
13122 wxPopupWindow *result = 0 ;
13123 void *argp1 = 0 ;
13124 int res1 = 0 ;
13125 int val2 ;
13126 int ecode2 = 0 ;
13127 PyObject * obj0 = 0 ;
13128 PyObject * obj1 = 0 ;
13129 char * kwnames[] = {
13130 (char *) "parent",(char *) "flags", NULL
13131 };
13132
13133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13135 if (!SWIG_IsOK(res1)) {
13136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13137 }
13138 arg1 = reinterpret_cast< wxWindow * >(argp1);
13139 if (obj1) {
13140 ecode2 = SWIG_AsVal_int(obj1, &val2);
13141 if (!SWIG_IsOK(ecode2)) {
13142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13143 }
13144 arg2 = static_cast< int >(val2);
13145 }
13146 {
13147 if (!wxPyCheckForApp()) SWIG_fail;
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13150 wxPyEndAllowThreads(__tstate);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 }
13153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13154 return resultobj;
13155 fail:
13156 return NULL;
13157 }
13158
13159
13160 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13161 PyObject *resultobj = 0;
13162 wxPopupWindow *result = 0 ;
13163
13164 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13165 {
13166 if (!wxPyCheckForApp()) SWIG_fail;
13167 PyThreadState* __tstate = wxPyBeginAllowThreads();
13168 result = (wxPopupWindow *)new wxPopupWindow();
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
13172 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13173 return resultobj;
13174 fail:
13175 return NULL;
13176 }
13177
13178
13179 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13180 PyObject *resultobj = 0;
13181 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13182 wxWindow *arg2 = (wxWindow *) 0 ;
13183 int arg3 = (int) wxBORDER_NONE ;
13184 bool result;
13185 void *argp1 = 0 ;
13186 int res1 = 0 ;
13187 void *argp2 = 0 ;
13188 int res2 = 0 ;
13189 int val3 ;
13190 int ecode3 = 0 ;
13191 PyObject * obj0 = 0 ;
13192 PyObject * obj1 = 0 ;
13193 PyObject * obj2 = 0 ;
13194 char * kwnames[] = {
13195 (char *) "self",(char *) "parent",(char *) "flags", NULL
13196 };
13197
13198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13200 if (!SWIG_IsOK(res1)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13202 }
13203 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13204 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13205 if (!SWIG_IsOK(res2)) {
13206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13207 }
13208 arg2 = reinterpret_cast< wxWindow * >(argp2);
13209 if (obj2) {
13210 ecode3 = SWIG_AsVal_int(obj2, &val3);
13211 if (!SWIG_IsOK(ecode3)) {
13212 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13213 }
13214 arg3 = static_cast< int >(val3);
13215 }
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 result = (bool)(arg1)->Create(arg2,arg3);
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 {
13223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13224 }
13225 return resultobj;
13226 fail:
13227 return NULL;
13228 }
13229
13230
13231 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13232 PyObject *resultobj = 0;
13233 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13234 wxPoint *arg2 = 0 ;
13235 wxSize *arg3 = 0 ;
13236 void *argp1 = 0 ;
13237 int res1 = 0 ;
13238 wxPoint temp2 ;
13239 wxSize temp3 ;
13240 PyObject * obj0 = 0 ;
13241 PyObject * obj1 = 0 ;
13242 PyObject * obj2 = 0 ;
13243 char * kwnames[] = {
13244 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13245 };
13246
13247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13249 if (!SWIG_IsOK(res1)) {
13250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13251 }
13252 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13253 {
13254 arg2 = &temp2;
13255 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13256 }
13257 {
13258 arg3 = &temp3;
13259 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13260 }
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13264 wxPyEndAllowThreads(__tstate);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 }
13267 resultobj = SWIG_Py_Void();
13268 return resultobj;
13269 fail:
13270 return NULL;
13271 }
13272
13273
13274 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13275 PyObject *obj;
13276 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13277 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13278 return SWIG_Py_Void();
13279 }
13280
13281 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13282 return SWIG_Python_InitShadowInstance(args);
13283 }
13284
13285 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13286 PyObject *resultobj = 0;
13287 wxWindow *arg1 = (wxWindow *) 0 ;
13288 int arg2 = (int) wxBORDER_NONE ;
13289 wxPyPopupTransientWindow *result = 0 ;
13290 void *argp1 = 0 ;
13291 int res1 = 0 ;
13292 int val2 ;
13293 int ecode2 = 0 ;
13294 PyObject * obj0 = 0 ;
13295 PyObject * obj1 = 0 ;
13296 char * kwnames[] = {
13297 (char *) "parent",(char *) "style", NULL
13298 };
13299
13300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13302 if (!SWIG_IsOK(res1)) {
13303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13304 }
13305 arg1 = reinterpret_cast< wxWindow * >(argp1);
13306 if (obj1) {
13307 ecode2 = SWIG_AsVal_int(obj1, &val2);
13308 if (!SWIG_IsOK(ecode2)) {
13309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13310 }
13311 arg2 = static_cast< int >(val2);
13312 }
13313 {
13314 if (!wxPyCheckForApp()) SWIG_fail;
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13317 wxPyEndAllowThreads(__tstate);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
13320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13321 return resultobj;
13322 fail:
13323 return NULL;
13324 }
13325
13326
13327 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13328 PyObject *resultobj = 0;
13329 wxPyPopupTransientWindow *result = 0 ;
13330
13331 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13332 {
13333 if (!wxPyCheckForApp()) SWIG_fail;
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13340 return resultobj;
13341 fail:
13342 return NULL;
13343 }
13344
13345
13346 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj = 0;
13348 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13349 PyObject *arg2 = (PyObject *) 0 ;
13350 PyObject *arg3 = (PyObject *) 0 ;
13351 void *argp1 = 0 ;
13352 int res1 = 0 ;
13353 PyObject * obj0 = 0 ;
13354 PyObject * obj1 = 0 ;
13355 PyObject * obj2 = 0 ;
13356 char * kwnames[] = {
13357 (char *) "self",(char *) "self",(char *) "_class", NULL
13358 };
13359
13360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13362 if (!SWIG_IsOK(res1)) {
13363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13364 }
13365 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13366 arg2 = obj1;
13367 arg3 = obj2;
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 (arg1)->_setCallbackInfo(arg2,arg3);
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 resultobj = SWIG_Py_Void();
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj = 0;
13383 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13384 wxWindow *arg2 = (wxWindow *) NULL ;
13385 void *argp1 = 0 ;
13386 int res1 = 0 ;
13387 void *argp2 = 0 ;
13388 int res2 = 0 ;
13389 PyObject * obj0 = 0 ;
13390 PyObject * obj1 = 0 ;
13391 char * kwnames[] = {
13392 (char *) "self",(char *) "focus", NULL
13393 };
13394
13395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13397 if (!SWIG_IsOK(res1)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13399 }
13400 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13401 if (obj1) {
13402 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13403 if (!SWIG_IsOK(res2)) {
13404 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13405 }
13406 arg2 = reinterpret_cast< wxWindow * >(argp2);
13407 }
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 (arg1)->Popup(arg2);
13411 wxPyEndAllowThreads(__tstate);
13412 if (PyErr_Occurred()) SWIG_fail;
13413 }
13414 resultobj = SWIG_Py_Void();
13415 return resultobj;
13416 fail:
13417 return NULL;
13418 }
13419
13420
13421 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13422 PyObject *resultobj = 0;
13423 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13424 void *argp1 = 0 ;
13425 int res1 = 0 ;
13426 PyObject *swig_obj[1] ;
13427
13428 if (!args) SWIG_fail;
13429 swig_obj[0] = args;
13430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13431 if (!SWIG_IsOK(res1)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13433 }
13434 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13435 {
13436 PyThreadState* __tstate = wxPyBeginAllowThreads();
13437 (arg1)->Dismiss();
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 resultobj = SWIG_Py_Void();
13442 return resultobj;
13443 fail:
13444 return NULL;
13445 }
13446
13447
13448 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13449 PyObject *obj;
13450 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13451 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13452 return SWIG_Py_Void();
13453 }
13454
13455 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13456 return SWIG_Python_InitShadowInstance(args);
13457 }
13458
13459 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13460 PyObject *resultobj = 0;
13461 wxWindow *arg1 = (wxWindow *) 0 ;
13462 wxString *arg2 = 0 ;
13463 int arg3 = (int) 100 ;
13464 wxRect *arg4 = (wxRect *) NULL ;
13465 wxTipWindow *result = 0 ;
13466 void *argp1 = 0 ;
13467 int res1 = 0 ;
13468 bool temp2 = false ;
13469 int val3 ;
13470 int ecode3 = 0 ;
13471 void *argp4 = 0 ;
13472 int res4 = 0 ;
13473 PyObject * obj0 = 0 ;
13474 PyObject * obj1 = 0 ;
13475 PyObject * obj2 = 0 ;
13476 PyObject * obj3 = 0 ;
13477 char * kwnames[] = {
13478 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13479 };
13480
13481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13483 if (!SWIG_IsOK(res1)) {
13484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13485 }
13486 arg1 = reinterpret_cast< wxWindow * >(argp1);
13487 {
13488 arg2 = wxString_in_helper(obj1);
13489 if (arg2 == NULL) SWIG_fail;
13490 temp2 = true;
13491 }
13492 if (obj2) {
13493 ecode3 = SWIG_AsVal_int(obj2, &val3);
13494 if (!SWIG_IsOK(ecode3)) {
13495 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13496 }
13497 arg3 = static_cast< int >(val3);
13498 }
13499 if (obj3) {
13500 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13501 if (!SWIG_IsOK(res4)) {
13502 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13503 }
13504 arg4 = reinterpret_cast< wxRect * >(argp4);
13505 }
13506 {
13507 if (!wxPyCheckForApp()) SWIG_fail;
13508 PyThreadState* __tstate = wxPyBeginAllowThreads();
13509 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13514 {
13515 if (temp2)
13516 delete arg2;
13517 }
13518 return resultobj;
13519 fail:
13520 {
13521 if (temp2)
13522 delete arg2;
13523 }
13524 return NULL;
13525 }
13526
13527
13528 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13529 PyObject *resultobj = 0;
13530 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13531 wxRect *arg2 = 0 ;
13532 void *argp1 = 0 ;
13533 int res1 = 0 ;
13534 wxRect temp2 ;
13535 PyObject * obj0 = 0 ;
13536 PyObject * obj1 = 0 ;
13537 char * kwnames[] = {
13538 (char *) "self",(char *) "rectBound", NULL
13539 };
13540
13541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13543 if (!SWIG_IsOK(res1)) {
13544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13545 }
13546 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13547 {
13548 arg2 = &temp2;
13549 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13550 }
13551 {
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 resultobj = SWIG_Py_Void();
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13565 PyObject *resultobj = 0;
13566 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13567 void *argp1 = 0 ;
13568 int res1 = 0 ;
13569 PyObject *swig_obj[1] ;
13570
13571 if (!args) SWIG_fail;
13572 swig_obj[0] = args;
13573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13574 if (!SWIG_IsOK(res1)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13576 }
13577 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13578 {
13579 PyThreadState* __tstate = wxPyBeginAllowThreads();
13580 (arg1)->Close();
13581 wxPyEndAllowThreads(__tstate);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 }
13584 resultobj = SWIG_Py_Void();
13585 return resultobj;
13586 fail:
13587 return NULL;
13588 }
13589
13590
13591 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13592 PyObject *obj;
13593 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13594 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13595 return SWIG_Py_Void();
13596 }
13597
13598 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13599 return SWIG_Python_InitShadowInstance(args);
13600 }
13601
13602 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13603 PyObject *resultobj = 0;
13604 wxWindow *arg1 = (wxWindow *) 0 ;
13605 int arg2 = (int) wxID_ANY ;
13606 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13607 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13608 wxSize const &arg4_defvalue = wxDefaultSize ;
13609 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13610 long arg5 = (long) 0 ;
13611 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13612 wxString *arg6 = (wxString *) &arg6_defvalue ;
13613 wxPyVScrolledWindow *result = 0 ;
13614 void *argp1 = 0 ;
13615 int res1 = 0 ;
13616 int val2 ;
13617 int ecode2 = 0 ;
13618 wxPoint temp3 ;
13619 wxSize temp4 ;
13620 long val5 ;
13621 int ecode5 = 0 ;
13622 bool temp6 = false ;
13623 PyObject * obj0 = 0 ;
13624 PyObject * obj1 = 0 ;
13625 PyObject * obj2 = 0 ;
13626 PyObject * obj3 = 0 ;
13627 PyObject * obj4 = 0 ;
13628 PyObject * obj5 = 0 ;
13629 char * kwnames[] = {
13630 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13631 };
13632
13633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13635 if (!SWIG_IsOK(res1)) {
13636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13637 }
13638 arg1 = reinterpret_cast< wxWindow * >(argp1);
13639 if (obj1) {
13640 ecode2 = SWIG_AsVal_int(obj1, &val2);
13641 if (!SWIG_IsOK(ecode2)) {
13642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13643 }
13644 arg2 = static_cast< int >(val2);
13645 }
13646 if (obj2) {
13647 {
13648 arg3 = &temp3;
13649 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13650 }
13651 }
13652 if (obj3) {
13653 {
13654 arg4 = &temp4;
13655 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13656 }
13657 }
13658 if (obj4) {
13659 ecode5 = SWIG_AsVal_long(obj4, &val5);
13660 if (!SWIG_IsOK(ecode5)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13662 }
13663 arg5 = static_cast< long >(val5);
13664 }
13665 if (obj5) {
13666 {
13667 arg6 = wxString_in_helper(obj5);
13668 if (arg6 == NULL) SWIG_fail;
13669 temp6 = true;
13670 }
13671 }
13672 {
13673 if (!wxPyCheckForApp()) SWIG_fail;
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13680 {
13681 if (temp6)
13682 delete arg6;
13683 }
13684 return resultobj;
13685 fail:
13686 {
13687 if (temp6)
13688 delete arg6;
13689 }
13690 return NULL;
13691 }
13692
13693
13694 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13695 PyObject *resultobj = 0;
13696 wxPyVScrolledWindow *result = 0 ;
13697
13698 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13699 {
13700 if (!wxPyCheckForApp()) SWIG_fail;
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13707 return resultobj;
13708 fail:
13709 return NULL;
13710 }
13711
13712
13713 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13714 PyObject *resultobj = 0;
13715 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13716 PyObject *arg2 = (PyObject *) 0 ;
13717 PyObject *arg3 = (PyObject *) 0 ;
13718 void *argp1 = 0 ;
13719 int res1 = 0 ;
13720 PyObject * obj0 = 0 ;
13721 PyObject * obj1 = 0 ;
13722 PyObject * obj2 = 0 ;
13723 char * kwnames[] = {
13724 (char *) "self",(char *) "self",(char *) "_class", NULL
13725 };
13726
13727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13729 if (!SWIG_IsOK(res1)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13731 }
13732 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13733 arg2 = obj1;
13734 arg3 = obj2;
13735 {
13736 PyThreadState* __tstate = wxPyBeginAllowThreads();
13737 (arg1)->_setCallbackInfo(arg2,arg3);
13738 wxPyEndAllowThreads(__tstate);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 }
13741 resultobj = SWIG_Py_Void();
13742 return resultobj;
13743 fail:
13744 return NULL;
13745 }
13746
13747
13748 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj = 0;
13750 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13751 wxWindow *arg2 = (wxWindow *) 0 ;
13752 int arg3 = (int) wxID_ANY ;
13753 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13754 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13755 wxSize const &arg5_defvalue = wxDefaultSize ;
13756 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13757 long arg6 = (long) 0 ;
13758 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13759 wxString *arg7 = (wxString *) &arg7_defvalue ;
13760 bool result;
13761 void *argp1 = 0 ;
13762 int res1 = 0 ;
13763 void *argp2 = 0 ;
13764 int res2 = 0 ;
13765 int val3 ;
13766 int ecode3 = 0 ;
13767 wxPoint temp4 ;
13768 wxSize temp5 ;
13769 long val6 ;
13770 int ecode6 = 0 ;
13771 bool temp7 = false ;
13772 PyObject * obj0 = 0 ;
13773 PyObject * obj1 = 0 ;
13774 PyObject * obj2 = 0 ;
13775 PyObject * obj3 = 0 ;
13776 PyObject * obj4 = 0 ;
13777 PyObject * obj5 = 0 ;
13778 PyObject * obj6 = 0 ;
13779 char * kwnames[] = {
13780 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13781 };
13782
13783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13785 if (!SWIG_IsOK(res1)) {
13786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13787 }
13788 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13789 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13790 if (!SWIG_IsOK(res2)) {
13791 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13792 }
13793 arg2 = reinterpret_cast< wxWindow * >(argp2);
13794 if (obj2) {
13795 ecode3 = SWIG_AsVal_int(obj2, &val3);
13796 if (!SWIG_IsOK(ecode3)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13798 }
13799 arg3 = static_cast< int >(val3);
13800 }
13801 if (obj3) {
13802 {
13803 arg4 = &temp4;
13804 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13805 }
13806 }
13807 if (obj4) {
13808 {
13809 arg5 = &temp5;
13810 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13811 }
13812 }
13813 if (obj5) {
13814 ecode6 = SWIG_AsVal_long(obj5, &val6);
13815 if (!SWIG_IsOK(ecode6)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13817 }
13818 arg6 = static_cast< long >(val6);
13819 }
13820 if (obj6) {
13821 {
13822 arg7 = wxString_in_helper(obj6);
13823 if (arg7 == NULL) SWIG_fail;
13824 temp7 = true;
13825 }
13826 }
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13830 wxPyEndAllowThreads(__tstate);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 }
13833 {
13834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13835 }
13836 {
13837 if (temp7)
13838 delete arg7;
13839 }
13840 return resultobj;
13841 fail:
13842 {
13843 if (temp7)
13844 delete arg7;
13845 }
13846 return NULL;
13847 }
13848
13849
13850 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13851 PyObject *resultobj = 0;
13852 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13853 size_t arg2 ;
13854 void *argp1 = 0 ;
13855 int res1 = 0 ;
13856 size_t val2 ;
13857 int ecode2 = 0 ;
13858 PyObject * obj0 = 0 ;
13859 PyObject * obj1 = 0 ;
13860 char * kwnames[] = {
13861 (char *) "self",(char *) "count", NULL
13862 };
13863
13864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13866 if (!SWIG_IsOK(res1)) {
13867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13868 }
13869 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13870 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13871 if (!SWIG_IsOK(ecode2)) {
13872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13873 }
13874 arg2 = static_cast< size_t >(val2);
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 (arg1)->SetLineCount(arg2);
13878 wxPyEndAllowThreads(__tstate);
13879 if (PyErr_Occurred()) SWIG_fail;
13880 }
13881 resultobj = SWIG_Py_Void();
13882 return resultobj;
13883 fail:
13884 return NULL;
13885 }
13886
13887
13888 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13889 PyObject *resultobj = 0;
13890 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13891 size_t arg2 ;
13892 bool result;
13893 void *argp1 = 0 ;
13894 int res1 = 0 ;
13895 size_t val2 ;
13896 int ecode2 = 0 ;
13897 PyObject * obj0 = 0 ;
13898 PyObject * obj1 = 0 ;
13899 char * kwnames[] = {
13900 (char *) "self",(char *) "line", NULL
13901 };
13902
13903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13905 if (!SWIG_IsOK(res1)) {
13906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13907 }
13908 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13909 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13910 if (!SWIG_IsOK(ecode2)) {
13911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13912 }
13913 arg2 = static_cast< size_t >(val2);
13914 {
13915 PyThreadState* __tstate = wxPyBeginAllowThreads();
13916 result = (bool)(arg1)->ScrollToLine(arg2);
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 {
13921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13922 }
13923 return resultobj;
13924 fail:
13925 return NULL;
13926 }
13927
13928
13929 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13930 PyObject *resultobj = 0;
13931 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13932 size_t arg2 ;
13933 void *argp1 = 0 ;
13934 int res1 = 0 ;
13935 size_t val2 ;
13936 int ecode2 = 0 ;
13937 PyObject * obj0 = 0 ;
13938 PyObject * obj1 = 0 ;
13939 char * kwnames[] = {
13940 (char *) "self",(char *) "line", NULL
13941 };
13942
13943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13945 if (!SWIG_IsOK(res1)) {
13946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13947 }
13948 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13949 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13950 if (!SWIG_IsOK(ecode2)) {
13951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13952 }
13953 arg2 = static_cast< size_t >(val2);
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 (arg1)->RefreshLine(arg2);
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
13960 resultobj = SWIG_Py_Void();
13961 return resultobj;
13962 fail:
13963 return NULL;
13964 }
13965
13966
13967 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13968 PyObject *resultobj = 0;
13969 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13970 size_t arg2 ;
13971 size_t arg3 ;
13972 void *argp1 = 0 ;
13973 int res1 = 0 ;
13974 size_t val2 ;
13975 int ecode2 = 0 ;
13976 size_t val3 ;
13977 int ecode3 = 0 ;
13978 PyObject * obj0 = 0 ;
13979 PyObject * obj1 = 0 ;
13980 PyObject * obj2 = 0 ;
13981 char * kwnames[] = {
13982 (char *) "self",(char *) "from",(char *) "to", NULL
13983 };
13984
13985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13987 if (!SWIG_IsOK(res1)) {
13988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13989 }
13990 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13991 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13992 if (!SWIG_IsOK(ecode2)) {
13993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13994 }
13995 arg2 = static_cast< size_t >(val2);
13996 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13997 if (!SWIG_IsOK(ecode3)) {
13998 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13999 }
14000 arg3 = static_cast< size_t >(val3);
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 (arg1)->RefreshLines(arg2,arg3);
14004 wxPyEndAllowThreads(__tstate);
14005 if (PyErr_Occurred()) SWIG_fail;
14006 }
14007 resultobj = SWIG_Py_Void();
14008 return resultobj;
14009 fail:
14010 return NULL;
14011 }
14012
14013
14014 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14015 PyObject *resultobj = 0;
14016 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14017 int arg2 ;
14018 int arg3 ;
14019 int result;
14020 void *argp1 = 0 ;
14021 int res1 = 0 ;
14022 int val2 ;
14023 int ecode2 = 0 ;
14024 int val3 ;
14025 int ecode3 = 0 ;
14026 PyObject * obj0 = 0 ;
14027 PyObject * obj1 = 0 ;
14028 PyObject * obj2 = 0 ;
14029 char * kwnames[] = {
14030 (char *) "self",(char *) "x",(char *) "y", NULL
14031 };
14032
14033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14035 if (!SWIG_IsOK(res1)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14037 }
14038 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14039 ecode2 = SWIG_AsVal_int(obj1, &val2);
14040 if (!SWIG_IsOK(ecode2)) {
14041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14042 }
14043 arg2 = static_cast< int >(val2);
14044 ecode3 = SWIG_AsVal_int(obj2, &val3);
14045 if (!SWIG_IsOK(ecode3)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14047 }
14048 arg3 = static_cast< int >(val3);
14049 {
14050 PyThreadState* __tstate = wxPyBeginAllowThreads();
14051 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14052 wxPyEndAllowThreads(__tstate);
14053 if (PyErr_Occurred()) SWIG_fail;
14054 }
14055 resultobj = SWIG_From_int(static_cast< int >(result));
14056 return resultobj;
14057 fail:
14058 return NULL;
14059 }
14060
14061
14062 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14063 PyObject *resultobj = 0;
14064 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14065 wxPoint *arg2 = 0 ;
14066 int result;
14067 void *argp1 = 0 ;
14068 int res1 = 0 ;
14069 wxPoint temp2 ;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 char * kwnames[] = {
14073 (char *) "self",(char *) "pt", NULL
14074 };
14075
14076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14078 if (!SWIG_IsOK(res1)) {
14079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14080 }
14081 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14082 {
14083 arg2 = &temp2;
14084 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14085 }
14086 {
14087 PyThreadState* __tstate = wxPyBeginAllowThreads();
14088 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14089 wxPyEndAllowThreads(__tstate);
14090 if (PyErr_Occurred()) SWIG_fail;
14091 }
14092 resultobj = SWIG_From_int(static_cast< int >(result));
14093 return resultobj;
14094 fail:
14095 return NULL;
14096 }
14097
14098
14099 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14100 PyObject *resultobj = 0;
14101 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14102 void *argp1 = 0 ;
14103 int res1 = 0 ;
14104 PyObject *swig_obj[1] ;
14105
14106 if (!args) SWIG_fail;
14107 swig_obj[0] = args;
14108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14109 if (!SWIG_IsOK(res1)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14111 }
14112 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 (arg1)->RefreshAll();
14116 wxPyEndAllowThreads(__tstate);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 resultobj = SWIG_Py_Void();
14120 return resultobj;
14121 fail:
14122 return NULL;
14123 }
14124
14125
14126 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14127 PyObject *resultobj = 0;
14128 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14129 size_t result;
14130 void *argp1 = 0 ;
14131 int res1 = 0 ;
14132 PyObject *swig_obj[1] ;
14133
14134 if (!args) SWIG_fail;
14135 swig_obj[0] = args;
14136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14137 if (!SWIG_IsOK(res1)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14139 }
14140 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14148 return resultobj;
14149 fail:
14150 return NULL;
14151 }
14152
14153
14154 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14155 PyObject *resultobj = 0;
14156 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14157 size_t result;
14158 void *argp1 = 0 ;
14159 int res1 = 0 ;
14160 PyObject *swig_obj[1] ;
14161
14162 if (!args) SWIG_fail;
14163 swig_obj[0] = args;
14164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14165 if (!SWIG_IsOK(res1)) {
14166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14167 }
14168 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14169 {
14170 PyThreadState* __tstate = wxPyBeginAllowThreads();
14171 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14176 return resultobj;
14177 fail:
14178 return NULL;
14179 }
14180
14181
14182 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14183 PyObject *resultobj = 0;
14184 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14185 size_t result;
14186 void *argp1 = 0 ;
14187 int res1 = 0 ;
14188 PyObject *swig_obj[1] ;
14189
14190 if (!args) SWIG_fail;
14191 swig_obj[0] = args;
14192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14193 if (!SWIG_IsOK(res1)) {
14194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14195 }
14196 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14200 wxPyEndAllowThreads(__tstate);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
14203 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14204 return resultobj;
14205 fail:
14206 return NULL;
14207 }
14208
14209
14210 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj = 0;
14212 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14213 size_t arg2 ;
14214 bool result;
14215 void *argp1 = 0 ;
14216 int res1 = 0 ;
14217 size_t val2 ;
14218 int ecode2 = 0 ;
14219 PyObject * obj0 = 0 ;
14220 PyObject * obj1 = 0 ;
14221 char * kwnames[] = {
14222 (char *) "self",(char *) "line", NULL
14223 };
14224
14225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14227 if (!SWIG_IsOK(res1)) {
14228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14229 }
14230 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14231 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14232 if (!SWIG_IsOK(ecode2)) {
14233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14234 }
14235 arg2 = static_cast< size_t >(val2);
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14239 wxPyEndAllowThreads(__tstate);
14240 if (PyErr_Occurred()) SWIG_fail;
14241 }
14242 {
14243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14244 }
14245 return resultobj;
14246 fail:
14247 return NULL;
14248 }
14249
14250
14251 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14252 PyObject *resultobj = 0;
14253 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14254 size_t result;
14255 void *argp1 = 0 ;
14256 int res1 = 0 ;
14257 PyObject *swig_obj[1] ;
14258
14259 if (!args) SWIG_fail;
14260 swig_obj[0] = args;
14261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14262 if (!SWIG_IsOK(res1)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14264 }
14265 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14266 {
14267 PyThreadState* __tstate = wxPyBeginAllowThreads();
14268 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14269 wxPyEndAllowThreads(__tstate);
14270 if (PyErr_Occurred()) SWIG_fail;
14271 }
14272 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14273 return resultobj;
14274 fail:
14275 return NULL;
14276 }
14277
14278
14279 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14280 PyObject *resultobj = 0;
14281 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14282 size_t result;
14283 void *argp1 = 0 ;
14284 int res1 = 0 ;
14285 PyObject *swig_obj[1] ;
14286
14287 if (!args) SWIG_fail;
14288 swig_obj[0] = args;
14289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14290 if (!SWIG_IsOK(res1)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14292 }
14293 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14301 return resultobj;
14302 fail:
14303 return NULL;
14304 }
14305
14306
14307 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14308 PyObject *resultobj = 0;
14309 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14310 size_t arg2 ;
14311 bool arg3 = (bool) false ;
14312 size_t result;
14313 void *argp1 = 0 ;
14314 int res1 = 0 ;
14315 size_t val2 ;
14316 int ecode2 = 0 ;
14317 bool val3 ;
14318 int ecode3 = 0 ;
14319 PyObject * obj0 = 0 ;
14320 PyObject * obj1 = 0 ;
14321 PyObject * obj2 = 0 ;
14322 char * kwnames[] = {
14323 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14324 };
14325
14326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14328 if (!SWIG_IsOK(res1)) {
14329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14330 }
14331 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14332 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14333 if (!SWIG_IsOK(ecode2)) {
14334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14335 }
14336 arg2 = static_cast< size_t >(val2);
14337 if (obj2) {
14338 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14339 if (!SWIG_IsOK(ecode3)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14341 }
14342 arg3 = static_cast< bool >(val3);
14343 }
14344 {
14345 PyThreadState* __tstate = wxPyBeginAllowThreads();
14346 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14347 wxPyEndAllowThreads(__tstate);
14348 if (PyErr_Occurred()) SWIG_fail;
14349 }
14350 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14351 return resultobj;
14352 fail:
14353 return NULL;
14354 }
14355
14356
14357 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14358 PyObject *resultobj = 0;
14359 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14360 size_t arg2 ;
14361 size_t arg3 ;
14362 int result;
14363 void *argp1 = 0 ;
14364 int res1 = 0 ;
14365 size_t val2 ;
14366 int ecode2 = 0 ;
14367 size_t val3 ;
14368 int ecode3 = 0 ;
14369 PyObject * obj0 = 0 ;
14370 PyObject * obj1 = 0 ;
14371 PyObject * obj2 = 0 ;
14372 char * kwnames[] = {
14373 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14374 };
14375
14376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14378 if (!SWIG_IsOK(res1)) {
14379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14380 }
14381 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14382 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14383 if (!SWIG_IsOK(ecode2)) {
14384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14385 }
14386 arg2 = static_cast< size_t >(val2);
14387 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14388 if (!SWIG_IsOK(ecode3)) {
14389 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14390 }
14391 arg3 = static_cast< size_t >(val3);
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 resultobj = SWIG_From_int(static_cast< int >(result));
14399 return resultobj;
14400 fail:
14401 return NULL;
14402 }
14403
14404
14405 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14406 PyObject *obj;
14407 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14408 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14409 return SWIG_Py_Void();
14410 }
14411
14412 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14413 return SWIG_Python_InitShadowInstance(args);
14414 }
14415
14416 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14417 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14418 return 1;
14419 }
14420
14421
14422 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14423 PyObject *pyobj = 0;
14424
14425 {
14426 #if wxUSE_UNICODE
14427 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14428 #else
14429 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14430 #endif
14431 }
14432 return pyobj;
14433 }
14434
14435
14436 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14437 PyObject *resultobj = 0;
14438 wxWindow *arg1 = (wxWindow *) 0 ;
14439 int arg2 = (int) wxID_ANY ;
14440 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14441 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14442 wxSize const &arg4_defvalue = wxDefaultSize ;
14443 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14444 long arg5 = (long) 0 ;
14445 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14446 wxString *arg6 = (wxString *) &arg6_defvalue ;
14447 wxPyVListBox *result = 0 ;
14448 void *argp1 = 0 ;
14449 int res1 = 0 ;
14450 int val2 ;
14451 int ecode2 = 0 ;
14452 wxPoint temp3 ;
14453 wxSize temp4 ;
14454 long val5 ;
14455 int ecode5 = 0 ;
14456 bool temp6 = false ;
14457 PyObject * obj0 = 0 ;
14458 PyObject * obj1 = 0 ;
14459 PyObject * obj2 = 0 ;
14460 PyObject * obj3 = 0 ;
14461 PyObject * obj4 = 0 ;
14462 PyObject * obj5 = 0 ;
14463 char * kwnames[] = {
14464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14465 };
14466
14467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14469 if (!SWIG_IsOK(res1)) {
14470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14471 }
14472 arg1 = reinterpret_cast< wxWindow * >(argp1);
14473 if (obj1) {
14474 ecode2 = SWIG_AsVal_int(obj1, &val2);
14475 if (!SWIG_IsOK(ecode2)) {
14476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14477 }
14478 arg2 = static_cast< int >(val2);
14479 }
14480 if (obj2) {
14481 {
14482 arg3 = &temp3;
14483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14484 }
14485 }
14486 if (obj3) {
14487 {
14488 arg4 = &temp4;
14489 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14490 }
14491 }
14492 if (obj4) {
14493 ecode5 = SWIG_AsVal_long(obj4, &val5);
14494 if (!SWIG_IsOK(ecode5)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14496 }
14497 arg5 = static_cast< long >(val5);
14498 }
14499 if (obj5) {
14500 {
14501 arg6 = wxString_in_helper(obj5);
14502 if (arg6 == NULL) SWIG_fail;
14503 temp6 = true;
14504 }
14505 }
14506 {
14507 if (!wxPyCheckForApp()) SWIG_fail;
14508 PyThreadState* __tstate = wxPyBeginAllowThreads();
14509 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14510 wxPyEndAllowThreads(__tstate);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
14513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14514 {
14515 if (temp6)
14516 delete arg6;
14517 }
14518 return resultobj;
14519 fail:
14520 {
14521 if (temp6)
14522 delete arg6;
14523 }
14524 return NULL;
14525 }
14526
14527
14528 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14529 PyObject *resultobj = 0;
14530 wxPyVListBox *result = 0 ;
14531
14532 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14533 {
14534 if (!wxPyCheckForApp()) SWIG_fail;
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (wxPyVListBox *)new wxPyVListBox();
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14541 return resultobj;
14542 fail:
14543 return NULL;
14544 }
14545
14546
14547 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14548 PyObject *resultobj = 0;
14549 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14550 PyObject *arg2 = (PyObject *) 0 ;
14551 PyObject *arg3 = (PyObject *) 0 ;
14552 void *argp1 = 0 ;
14553 int res1 = 0 ;
14554 PyObject * obj0 = 0 ;
14555 PyObject * obj1 = 0 ;
14556 PyObject * obj2 = 0 ;
14557 char * kwnames[] = {
14558 (char *) "self",(char *) "self",(char *) "_class", NULL
14559 };
14560
14561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14563 if (!SWIG_IsOK(res1)) {
14564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14565 }
14566 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14567 arg2 = obj1;
14568 arg3 = obj2;
14569 {
14570 PyThreadState* __tstate = wxPyBeginAllowThreads();
14571 (arg1)->_setCallbackInfo(arg2,arg3);
14572 wxPyEndAllowThreads(__tstate);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 }
14575 resultobj = SWIG_Py_Void();
14576 return resultobj;
14577 fail:
14578 return NULL;
14579 }
14580
14581
14582 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14583 PyObject *resultobj = 0;
14584 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14585 wxWindow *arg2 = (wxWindow *) 0 ;
14586 int arg3 = (int) wxID_ANY ;
14587 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14588 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14589 wxSize const &arg5_defvalue = wxDefaultSize ;
14590 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14591 long arg6 = (long) 0 ;
14592 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14593 wxString *arg7 = (wxString *) &arg7_defvalue ;
14594 bool result;
14595 void *argp1 = 0 ;
14596 int res1 = 0 ;
14597 void *argp2 = 0 ;
14598 int res2 = 0 ;
14599 int val3 ;
14600 int ecode3 = 0 ;
14601 wxPoint temp4 ;
14602 wxSize temp5 ;
14603 long val6 ;
14604 int ecode6 = 0 ;
14605 bool temp7 = false ;
14606 PyObject * obj0 = 0 ;
14607 PyObject * obj1 = 0 ;
14608 PyObject * obj2 = 0 ;
14609 PyObject * obj3 = 0 ;
14610 PyObject * obj4 = 0 ;
14611 PyObject * obj5 = 0 ;
14612 PyObject * obj6 = 0 ;
14613 char * kwnames[] = {
14614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14615 };
14616
14617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14619 if (!SWIG_IsOK(res1)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14621 }
14622 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14623 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14624 if (!SWIG_IsOK(res2)) {
14625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14626 }
14627 arg2 = reinterpret_cast< wxWindow * >(argp2);
14628 if (obj2) {
14629 ecode3 = SWIG_AsVal_int(obj2, &val3);
14630 if (!SWIG_IsOK(ecode3)) {
14631 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14632 }
14633 arg3 = static_cast< int >(val3);
14634 }
14635 if (obj3) {
14636 {
14637 arg4 = &temp4;
14638 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14639 }
14640 }
14641 if (obj4) {
14642 {
14643 arg5 = &temp5;
14644 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14645 }
14646 }
14647 if (obj5) {
14648 ecode6 = SWIG_AsVal_long(obj5, &val6);
14649 if (!SWIG_IsOK(ecode6)) {
14650 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14651 }
14652 arg6 = static_cast< long >(val6);
14653 }
14654 if (obj6) {
14655 {
14656 arg7 = wxString_in_helper(obj6);
14657 if (arg7 == NULL) SWIG_fail;
14658 temp7 = true;
14659 }
14660 }
14661 {
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
14663 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14664 wxPyEndAllowThreads(__tstate);
14665 if (PyErr_Occurred()) SWIG_fail;
14666 }
14667 {
14668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14669 }
14670 {
14671 if (temp7)
14672 delete arg7;
14673 }
14674 return resultobj;
14675 fail:
14676 {
14677 if (temp7)
14678 delete arg7;
14679 }
14680 return NULL;
14681 }
14682
14683
14684 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14685 PyObject *resultobj = 0;
14686 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14687 size_t result;
14688 void *argp1 = 0 ;
14689 int res1 = 0 ;
14690 PyObject *swig_obj[1] ;
14691
14692 if (!args) SWIG_fail;
14693 swig_obj[0] = args;
14694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14695 if (!SWIG_IsOK(res1)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14697 }
14698 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14702 wxPyEndAllowThreads(__tstate);
14703 if (PyErr_Occurred()) SWIG_fail;
14704 }
14705 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14706 return resultobj;
14707 fail:
14708 return NULL;
14709 }
14710
14711
14712 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14713 PyObject *resultobj = 0;
14714 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14715 bool result;
14716 void *argp1 = 0 ;
14717 int res1 = 0 ;
14718 PyObject *swig_obj[1] ;
14719
14720 if (!args) SWIG_fail;
14721 swig_obj[0] = args;
14722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14723 if (!SWIG_IsOK(res1)) {
14724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14725 }
14726 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14727 {
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
14733 {
14734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14735 }
14736 return resultobj;
14737 fail:
14738 return NULL;
14739 }
14740
14741
14742 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14743 PyObject *resultobj = 0;
14744 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14745 int result;
14746 void *argp1 = 0 ;
14747 int res1 = 0 ;
14748 PyObject *swig_obj[1] ;
14749
14750 if (!args) SWIG_fail;
14751 swig_obj[0] = args;
14752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14753 if (!SWIG_IsOK(res1)) {
14754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14755 }
14756 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14757 {
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14760 wxPyEndAllowThreads(__tstate);
14761 if (PyErr_Occurred()) SWIG_fail;
14762 }
14763 resultobj = SWIG_From_int(static_cast< int >(result));
14764 return resultobj;
14765 fail:
14766 return NULL;
14767 }
14768
14769
14770 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14771 PyObject *resultobj = 0;
14772 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14773 size_t arg2 ;
14774 bool result;
14775 void *argp1 = 0 ;
14776 int res1 = 0 ;
14777 size_t val2 ;
14778 int ecode2 = 0 ;
14779 PyObject * obj0 = 0 ;
14780 PyObject * obj1 = 0 ;
14781 char * kwnames[] = {
14782 (char *) "self",(char *) "item", NULL
14783 };
14784
14785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14787 if (!SWIG_IsOK(res1)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14789 }
14790 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14791 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14792 if (!SWIG_IsOK(ecode2)) {
14793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14794 }
14795 arg2 = static_cast< size_t >(val2);
14796 {
14797 PyThreadState* __tstate = wxPyBeginAllowThreads();
14798 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 {
14803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14804 }
14805 return resultobj;
14806 fail:
14807 return NULL;
14808 }
14809
14810
14811 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14812 PyObject *resultobj = 0;
14813 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14814 size_t arg2 ;
14815 bool result;
14816 void *argp1 = 0 ;
14817 int res1 = 0 ;
14818 size_t val2 ;
14819 int ecode2 = 0 ;
14820 PyObject * obj0 = 0 ;
14821 PyObject * obj1 = 0 ;
14822 char * kwnames[] = {
14823 (char *) "self",(char *) "item", NULL
14824 };
14825
14826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14828 if (!SWIG_IsOK(res1)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14830 }
14831 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14832 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14833 if (!SWIG_IsOK(ecode2)) {
14834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14835 }
14836 arg2 = static_cast< size_t >(val2);
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14840 wxPyEndAllowThreads(__tstate);
14841 if (PyErr_Occurred()) SWIG_fail;
14842 }
14843 {
14844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14845 }
14846 return resultobj;
14847 fail:
14848 return NULL;
14849 }
14850
14851
14852 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14853 PyObject *resultobj = 0;
14854 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14855 size_t result;
14856 void *argp1 = 0 ;
14857 int res1 = 0 ;
14858 PyObject *swig_obj[1] ;
14859
14860 if (!args) SWIG_fail;
14861 swig_obj[0] = args;
14862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14863 if (!SWIG_IsOK(res1)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14865 }
14866 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14867 {
14868 PyThreadState* __tstate = wxPyBeginAllowThreads();
14869 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14874 return resultobj;
14875 fail:
14876 return NULL;
14877 }
14878
14879
14880 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14881 PyObject *resultobj = 0;
14882 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14883 PyObject *result = 0 ;
14884 void *argp1 = 0 ;
14885 int res1 = 0 ;
14886 PyObject *swig_obj[1] ;
14887
14888 if (!args) SWIG_fail;
14889 swig_obj[0] = args;
14890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14891 if (!SWIG_IsOK(res1)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14893 }
14894 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 resultobj = result;
14902 return resultobj;
14903 fail:
14904 return NULL;
14905 }
14906
14907
14908 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj = 0;
14910 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14911 unsigned long arg2 ;
14912 PyObject *result = 0 ;
14913 void *argp1 = 0 ;
14914 int res1 = 0 ;
14915 unsigned long val2 ;
14916 int ecode2 = 0 ;
14917 PyObject * obj0 = 0 ;
14918 PyObject * obj1 = 0 ;
14919 char * kwnames[] = {
14920 (char *) "self",(char *) "cookie", NULL
14921 };
14922
14923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14925 if (!SWIG_IsOK(res1)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14927 }
14928 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14929 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14930 if (!SWIG_IsOK(ecode2)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14932 }
14933 arg2 = static_cast< unsigned long >(val2);
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 resultobj = result;
14941 return resultobj;
14942 fail:
14943 return NULL;
14944 }
14945
14946
14947 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14948 PyObject *resultobj = 0;
14949 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14950 wxPoint result;
14951 void *argp1 = 0 ;
14952 int res1 = 0 ;
14953 PyObject *swig_obj[1] ;
14954
14955 if (!args) SWIG_fail;
14956 swig_obj[0] = args;
14957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14958 if (!SWIG_IsOK(res1)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14960 }
14961 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14962 {
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 result = ((wxPyVListBox const *)arg1)->GetMargins();
14965 wxPyEndAllowThreads(__tstate);
14966 if (PyErr_Occurred()) SWIG_fail;
14967 }
14968 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14969 return resultobj;
14970 fail:
14971 return NULL;
14972 }
14973
14974
14975 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14976 PyObject *resultobj = 0;
14977 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14978 wxColour *result = 0 ;
14979 void *argp1 = 0 ;
14980 int res1 = 0 ;
14981 PyObject *swig_obj[1] ;
14982
14983 if (!args) SWIG_fail;
14984 swig_obj[0] = args;
14985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14986 if (!SWIG_IsOK(res1)) {
14987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14988 }
14989 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
14992 {
14993 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14994 result = (wxColour *) &_result_ref;
14995 }
14996 wxPyEndAllowThreads(__tstate);
14997 if (PyErr_Occurred()) SWIG_fail;
14998 }
14999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15000 return resultobj;
15001 fail:
15002 return NULL;
15003 }
15004
15005
15006 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15007 PyObject *resultobj = 0;
15008 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15009 size_t arg2 ;
15010 void *argp1 = 0 ;
15011 int res1 = 0 ;
15012 size_t val2 ;
15013 int ecode2 = 0 ;
15014 PyObject * obj0 = 0 ;
15015 PyObject * obj1 = 0 ;
15016 char * kwnames[] = {
15017 (char *) "self",(char *) "count", NULL
15018 };
15019
15020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15022 if (!SWIG_IsOK(res1)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15024 }
15025 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15026 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15027 if (!SWIG_IsOK(ecode2)) {
15028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15029 }
15030 arg2 = static_cast< size_t >(val2);
15031 {
15032 PyThreadState* __tstate = wxPyBeginAllowThreads();
15033 (arg1)->SetItemCount(arg2);
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 resultobj = SWIG_Py_Void();
15038 return resultobj;
15039 fail:
15040 return NULL;
15041 }
15042
15043
15044 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15045 PyObject *resultobj = 0;
15046 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
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_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15056 }
15057 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 (arg1)->Clear();
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 resultobj = SWIG_Py_Void();
15065 return resultobj;
15066 fail:
15067 return NULL;
15068 }
15069
15070
15071 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15072 PyObject *resultobj = 0;
15073 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15074 int arg2 ;
15075 void *argp1 = 0 ;
15076 int res1 = 0 ;
15077 int val2 ;
15078 int ecode2 = 0 ;
15079 PyObject * obj0 = 0 ;
15080 PyObject * obj1 = 0 ;
15081 char * kwnames[] = {
15082 (char *) "self",(char *) "selection", NULL
15083 };
15084
15085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15087 if (!SWIG_IsOK(res1)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15089 }
15090 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15091 ecode2 = SWIG_AsVal_int(obj1, &val2);
15092 if (!SWIG_IsOK(ecode2)) {
15093 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15094 }
15095 arg2 = static_cast< int >(val2);
15096 {
15097 PyThreadState* __tstate = wxPyBeginAllowThreads();
15098 (arg1)->SetSelection(arg2);
15099 wxPyEndAllowThreads(__tstate);
15100 if (PyErr_Occurred()) SWIG_fail;
15101 }
15102 resultobj = SWIG_Py_Void();
15103 return resultobj;
15104 fail:
15105 return NULL;
15106 }
15107
15108
15109 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15110 PyObject *resultobj = 0;
15111 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15112 size_t arg2 ;
15113 bool arg3 = (bool) true ;
15114 bool result;
15115 void *argp1 = 0 ;
15116 int res1 = 0 ;
15117 size_t val2 ;
15118 int ecode2 = 0 ;
15119 bool val3 ;
15120 int ecode3 = 0 ;
15121 PyObject * obj0 = 0 ;
15122 PyObject * obj1 = 0 ;
15123 PyObject * obj2 = 0 ;
15124 char * kwnames[] = {
15125 (char *) "self",(char *) "item",(char *) "select", NULL
15126 };
15127
15128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15130 if (!SWIG_IsOK(res1)) {
15131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15132 }
15133 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15134 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15135 if (!SWIG_IsOK(ecode2)) {
15136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15137 }
15138 arg2 = static_cast< size_t >(val2);
15139 if (obj2) {
15140 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15141 if (!SWIG_IsOK(ecode3)) {
15142 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15143 }
15144 arg3 = static_cast< bool >(val3);
15145 }
15146 {
15147 PyThreadState* __tstate = wxPyBeginAllowThreads();
15148 result = (bool)(arg1)->Select(arg2,arg3);
15149 wxPyEndAllowThreads(__tstate);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
15152 {
15153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15154 }
15155 return resultobj;
15156 fail:
15157 return NULL;
15158 }
15159
15160
15161 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15162 PyObject *resultobj = 0;
15163 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15164 size_t arg2 ;
15165 size_t arg3 ;
15166 bool result;
15167 void *argp1 = 0 ;
15168 int res1 = 0 ;
15169 size_t val2 ;
15170 int ecode2 = 0 ;
15171 size_t val3 ;
15172 int ecode3 = 0 ;
15173 PyObject * obj0 = 0 ;
15174 PyObject * obj1 = 0 ;
15175 PyObject * obj2 = 0 ;
15176 char * kwnames[] = {
15177 (char *) "self",(char *) "from",(char *) "to", NULL
15178 };
15179
15180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15182 if (!SWIG_IsOK(res1)) {
15183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15184 }
15185 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15186 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15187 if (!SWIG_IsOK(ecode2)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15189 }
15190 arg2 = static_cast< size_t >(val2);
15191 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15192 if (!SWIG_IsOK(ecode3)) {
15193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15194 }
15195 arg3 = static_cast< size_t >(val3);
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 result = (bool)(arg1)->SelectRange(arg2,arg3);
15199 wxPyEndAllowThreads(__tstate);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
15202 {
15203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15204 }
15205 return resultobj;
15206 fail:
15207 return NULL;
15208 }
15209
15210
15211 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15212 PyObject *resultobj = 0;
15213 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15214 size_t arg2 ;
15215 void *argp1 = 0 ;
15216 int res1 = 0 ;
15217 size_t val2 ;
15218 int ecode2 = 0 ;
15219 PyObject * obj0 = 0 ;
15220 PyObject * obj1 = 0 ;
15221 char * kwnames[] = {
15222 (char *) "self",(char *) "item", NULL
15223 };
15224
15225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15227 if (!SWIG_IsOK(res1)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15229 }
15230 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15231 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15232 if (!SWIG_IsOK(ecode2)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15234 }
15235 arg2 = static_cast< size_t >(val2);
15236 {
15237 PyThreadState* __tstate = wxPyBeginAllowThreads();
15238 (arg1)->Toggle(arg2);
15239 wxPyEndAllowThreads(__tstate);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 }
15242 resultobj = SWIG_Py_Void();
15243 return resultobj;
15244 fail:
15245 return NULL;
15246 }
15247
15248
15249 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15250 PyObject *resultobj = 0;
15251 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15252 bool result;
15253 void *argp1 = 0 ;
15254 int res1 = 0 ;
15255 PyObject *swig_obj[1] ;
15256
15257 if (!args) SWIG_fail;
15258 swig_obj[0] = args;
15259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15260 if (!SWIG_IsOK(res1)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15262 }
15263 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15264 {
15265 PyThreadState* __tstate = wxPyBeginAllowThreads();
15266 result = (bool)(arg1)->SelectAll();
15267 wxPyEndAllowThreads(__tstate);
15268 if (PyErr_Occurred()) SWIG_fail;
15269 }
15270 {
15271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15272 }
15273 return resultobj;
15274 fail:
15275 return NULL;
15276 }
15277
15278
15279 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15280 PyObject *resultobj = 0;
15281 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15282 bool result;
15283 void *argp1 = 0 ;
15284 int res1 = 0 ;
15285 PyObject *swig_obj[1] ;
15286
15287 if (!args) SWIG_fail;
15288 swig_obj[0] = args;
15289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15290 if (!SWIG_IsOK(res1)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15292 }
15293 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15294 {
15295 PyThreadState* __tstate = wxPyBeginAllowThreads();
15296 result = (bool)(arg1)->DeselectAll();
15297 wxPyEndAllowThreads(__tstate);
15298 if (PyErr_Occurred()) SWIG_fail;
15299 }
15300 {
15301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15302 }
15303 return resultobj;
15304 fail:
15305 return NULL;
15306 }
15307
15308
15309 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15310 PyObject *resultobj = 0;
15311 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15312 wxPoint *arg2 = 0 ;
15313 void *argp1 = 0 ;
15314 int res1 = 0 ;
15315 wxPoint temp2 ;
15316 PyObject * obj0 = 0 ;
15317 PyObject * obj1 = 0 ;
15318 char * kwnames[] = {
15319 (char *) "self",(char *) "pt", NULL
15320 };
15321
15322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15324 if (!SWIG_IsOK(res1)) {
15325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15326 }
15327 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15328 {
15329 arg2 = &temp2;
15330 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15331 }
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 (arg1)->SetMargins((wxPoint const &)*arg2);
15335 wxPyEndAllowThreads(__tstate);
15336 if (PyErr_Occurred()) SWIG_fail;
15337 }
15338 resultobj = SWIG_Py_Void();
15339 return resultobj;
15340 fail:
15341 return NULL;
15342 }
15343
15344
15345 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15346 PyObject *resultobj = 0;
15347 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15348 int arg2 ;
15349 int arg3 ;
15350 void *argp1 = 0 ;
15351 int res1 = 0 ;
15352 int val2 ;
15353 int ecode2 = 0 ;
15354 int val3 ;
15355 int ecode3 = 0 ;
15356 PyObject * obj0 = 0 ;
15357 PyObject * obj1 = 0 ;
15358 PyObject * obj2 = 0 ;
15359 char * kwnames[] = {
15360 (char *) "self",(char *) "x",(char *) "y", NULL
15361 };
15362
15363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15365 if (!SWIG_IsOK(res1)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15367 }
15368 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15369 ecode2 = SWIG_AsVal_int(obj1, &val2);
15370 if (!SWIG_IsOK(ecode2)) {
15371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15372 }
15373 arg2 = static_cast< int >(val2);
15374 ecode3 = SWIG_AsVal_int(obj2, &val3);
15375 if (!SWIG_IsOK(ecode3)) {
15376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15377 }
15378 arg3 = static_cast< int >(val3);
15379 {
15380 PyThreadState* __tstate = wxPyBeginAllowThreads();
15381 (arg1)->SetMargins(arg2,arg3);
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 resultobj = SWIG_Py_Void();
15386 return resultobj;
15387 fail:
15388 return NULL;
15389 }
15390
15391
15392 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15393 PyObject *resultobj = 0;
15394 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15395 wxColour *arg2 = 0 ;
15396 void *argp1 = 0 ;
15397 int res1 = 0 ;
15398 wxColour temp2 ;
15399 PyObject * obj0 = 0 ;
15400 PyObject * obj1 = 0 ;
15401 char * kwnames[] = {
15402 (char *) "self",(char *) "col", NULL
15403 };
15404
15405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15407 if (!SWIG_IsOK(res1)) {
15408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15409 }
15410 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15411 {
15412 arg2 = &temp2;
15413 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15414 }
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15418 wxPyEndAllowThreads(__tstate);
15419 if (PyErr_Occurred()) SWIG_fail;
15420 }
15421 resultobj = SWIG_Py_Void();
15422 return resultobj;
15423 fail:
15424 return NULL;
15425 }
15426
15427
15428 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15429 PyObject *resultobj = 0;
15430 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15431 wxDC *arg2 = 0 ;
15432 wxRect *arg3 = 0 ;
15433 size_t arg4 ;
15434 void *argp1 = 0 ;
15435 int res1 = 0 ;
15436 void *argp2 = 0 ;
15437 int res2 = 0 ;
15438 wxRect temp3 ;
15439 size_t val4 ;
15440 int ecode4 = 0 ;
15441 PyObject * obj0 = 0 ;
15442 PyObject * obj1 = 0 ;
15443 PyObject * obj2 = 0 ;
15444 PyObject * obj3 = 0 ;
15445 char * kwnames[] = {
15446 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15447 };
15448
15449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15451 if (!SWIG_IsOK(res1)) {
15452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15453 }
15454 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15455 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15456 if (!SWIG_IsOK(res2)) {
15457 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15458 }
15459 if (!argp2) {
15460 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15461 }
15462 arg2 = reinterpret_cast< wxDC * >(argp2);
15463 {
15464 arg3 = &temp3;
15465 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15466 }
15467 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15468 if (!SWIG_IsOK(ecode4)) {
15469 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15470 }
15471 arg4 = static_cast< size_t >(val4);
15472 {
15473 PyThreadState* __tstate = wxPyBeginAllowThreads();
15474 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 resultobj = SWIG_Py_Void();
15479 return resultobj;
15480 fail:
15481 return NULL;
15482 }
15483
15484
15485 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15486 PyObject *resultobj = 0;
15487 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15488 wxDC *arg2 = 0 ;
15489 wxRect *arg3 = 0 ;
15490 size_t arg4 ;
15491 void *argp1 = 0 ;
15492 int res1 = 0 ;
15493 void *argp2 = 0 ;
15494 int res2 = 0 ;
15495 wxRect temp3 ;
15496 size_t val4 ;
15497 int ecode4 = 0 ;
15498 PyObject * obj0 = 0 ;
15499 PyObject * obj1 = 0 ;
15500 PyObject * obj2 = 0 ;
15501 PyObject * obj3 = 0 ;
15502 char * kwnames[] = {
15503 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15504 };
15505
15506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15508 if (!SWIG_IsOK(res1)) {
15509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15510 }
15511 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15512 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15513 if (!SWIG_IsOK(res2)) {
15514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15515 }
15516 if (!argp2) {
15517 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15518 }
15519 arg2 = reinterpret_cast< wxDC * >(argp2);
15520 {
15521 arg3 = &temp3;
15522 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15523 }
15524 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15525 if (!SWIG_IsOK(ecode4)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15527 }
15528 arg4 = static_cast< size_t >(val4);
15529 {
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15532 wxPyEndAllowThreads(__tstate);
15533 if (PyErr_Occurred()) SWIG_fail;
15534 }
15535 resultobj = SWIG_Py_Void();
15536 return resultobj;
15537 fail:
15538 return NULL;
15539 }
15540
15541
15542 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15543 PyObject *obj;
15544 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15546 return SWIG_Py_Void();
15547 }
15548
15549 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15550 return SWIG_Python_InitShadowInstance(args);
15551 }
15552
15553 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj = 0;
15555 wxWindow *arg1 = (wxWindow *) 0 ;
15556 int arg2 = (int) wxID_ANY ;
15557 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15558 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15559 wxSize const &arg4_defvalue = wxDefaultSize ;
15560 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15561 long arg5 = (long) 0 ;
15562 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15563 wxString *arg6 = (wxString *) &arg6_defvalue ;
15564 wxPyHtmlListBox *result = 0 ;
15565 void *argp1 = 0 ;
15566 int res1 = 0 ;
15567 int val2 ;
15568 int ecode2 = 0 ;
15569 wxPoint temp3 ;
15570 wxSize temp4 ;
15571 long val5 ;
15572 int ecode5 = 0 ;
15573 bool temp6 = false ;
15574 PyObject * obj0 = 0 ;
15575 PyObject * obj1 = 0 ;
15576 PyObject * obj2 = 0 ;
15577 PyObject * obj3 = 0 ;
15578 PyObject * obj4 = 0 ;
15579 PyObject * obj5 = 0 ;
15580 char * kwnames[] = {
15581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15582 };
15583
15584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15586 if (!SWIG_IsOK(res1)) {
15587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15588 }
15589 arg1 = reinterpret_cast< wxWindow * >(argp1);
15590 if (obj1) {
15591 ecode2 = SWIG_AsVal_int(obj1, &val2);
15592 if (!SWIG_IsOK(ecode2)) {
15593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15594 }
15595 arg2 = static_cast< int >(val2);
15596 }
15597 if (obj2) {
15598 {
15599 arg3 = &temp3;
15600 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15601 }
15602 }
15603 if (obj3) {
15604 {
15605 arg4 = &temp4;
15606 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15607 }
15608 }
15609 if (obj4) {
15610 ecode5 = SWIG_AsVal_long(obj4, &val5);
15611 if (!SWIG_IsOK(ecode5)) {
15612 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15613 }
15614 arg5 = static_cast< long >(val5);
15615 }
15616 if (obj5) {
15617 {
15618 arg6 = wxString_in_helper(obj5);
15619 if (arg6 == NULL) SWIG_fail;
15620 temp6 = true;
15621 }
15622 }
15623 {
15624 if (!wxPyCheckForApp()) SWIG_fail;
15625 PyThreadState* __tstate = wxPyBeginAllowThreads();
15626 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15631 {
15632 if (temp6)
15633 delete arg6;
15634 }
15635 return resultobj;
15636 fail:
15637 {
15638 if (temp6)
15639 delete arg6;
15640 }
15641 return NULL;
15642 }
15643
15644
15645 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15646 PyObject *resultobj = 0;
15647 wxPyHtmlListBox *result = 0 ;
15648
15649 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15650 {
15651 if (!wxPyCheckForApp()) SWIG_fail;
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15654 wxPyEndAllowThreads(__tstate);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 }
15657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15658 return resultobj;
15659 fail:
15660 return NULL;
15661 }
15662
15663
15664 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15665 PyObject *resultobj = 0;
15666 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15667 PyObject *arg2 = (PyObject *) 0 ;
15668 PyObject *arg3 = (PyObject *) 0 ;
15669 void *argp1 = 0 ;
15670 int res1 = 0 ;
15671 PyObject * obj0 = 0 ;
15672 PyObject * obj1 = 0 ;
15673 PyObject * obj2 = 0 ;
15674 char * kwnames[] = {
15675 (char *) "self",(char *) "self",(char *) "_class", NULL
15676 };
15677
15678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15680 if (!SWIG_IsOK(res1)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15682 }
15683 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15684 arg2 = obj1;
15685 arg3 = obj2;
15686 {
15687 PyThreadState* __tstate = wxPyBeginAllowThreads();
15688 (arg1)->_setCallbackInfo(arg2,arg3);
15689 wxPyEndAllowThreads(__tstate);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 }
15692 resultobj = SWIG_Py_Void();
15693 return resultobj;
15694 fail:
15695 return NULL;
15696 }
15697
15698
15699 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj = 0;
15701 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15702 wxWindow *arg2 = (wxWindow *) 0 ;
15703 int arg3 = (int) wxID_ANY ;
15704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15706 wxSize const &arg5_defvalue = wxDefaultSize ;
15707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15708 long arg6 = (long) 0 ;
15709 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15710 wxString *arg7 = (wxString *) &arg7_defvalue ;
15711 bool result;
15712 void *argp1 = 0 ;
15713 int res1 = 0 ;
15714 void *argp2 = 0 ;
15715 int res2 = 0 ;
15716 int val3 ;
15717 int ecode3 = 0 ;
15718 wxPoint temp4 ;
15719 wxSize temp5 ;
15720 long val6 ;
15721 int ecode6 = 0 ;
15722 bool temp7 = false ;
15723 PyObject * obj0 = 0 ;
15724 PyObject * obj1 = 0 ;
15725 PyObject * obj2 = 0 ;
15726 PyObject * obj3 = 0 ;
15727 PyObject * obj4 = 0 ;
15728 PyObject * obj5 = 0 ;
15729 PyObject * obj6 = 0 ;
15730 char * kwnames[] = {
15731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15732 };
15733
15734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15736 if (!SWIG_IsOK(res1)) {
15737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15738 }
15739 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15740 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15741 if (!SWIG_IsOK(res2)) {
15742 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15743 }
15744 arg2 = reinterpret_cast< wxWindow * >(argp2);
15745 if (obj2) {
15746 ecode3 = SWIG_AsVal_int(obj2, &val3);
15747 if (!SWIG_IsOK(ecode3)) {
15748 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15749 }
15750 arg3 = static_cast< int >(val3);
15751 }
15752 if (obj3) {
15753 {
15754 arg4 = &temp4;
15755 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15756 }
15757 }
15758 if (obj4) {
15759 {
15760 arg5 = &temp5;
15761 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15762 }
15763 }
15764 if (obj5) {
15765 ecode6 = SWIG_AsVal_long(obj5, &val6);
15766 if (!SWIG_IsOK(ecode6)) {
15767 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15768 }
15769 arg6 = static_cast< long >(val6);
15770 }
15771 if (obj6) {
15772 {
15773 arg7 = wxString_in_helper(obj6);
15774 if (arg7 == NULL) SWIG_fail;
15775 temp7 = true;
15776 }
15777 }
15778 {
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 {
15785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15786 }
15787 {
15788 if (temp7)
15789 delete arg7;
15790 }
15791 return resultobj;
15792 fail:
15793 {
15794 if (temp7)
15795 delete arg7;
15796 }
15797 return NULL;
15798 }
15799
15800
15801 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15802 PyObject *resultobj = 0;
15803 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15804 size_t arg2 ;
15805 void *argp1 = 0 ;
15806 int res1 = 0 ;
15807 size_t val2 ;
15808 int ecode2 = 0 ;
15809 PyObject * obj0 = 0 ;
15810 PyObject * obj1 = 0 ;
15811 char * kwnames[] = {
15812 (char *) "self",(char *) "count", NULL
15813 };
15814
15815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15817 if (!SWIG_IsOK(res1)) {
15818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15819 }
15820 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15821 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15822 if (!SWIG_IsOK(ecode2)) {
15823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15824 }
15825 arg2 = static_cast< size_t >(val2);
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 (arg1)->SetItemCount(arg2);
15829 wxPyEndAllowThreads(__tstate);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 }
15832 resultobj = SWIG_Py_Void();
15833 return resultobj;
15834 fail:
15835 return NULL;
15836 }
15837
15838
15839 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15840 PyObject *resultobj = 0;
15841 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15842 wxFileSystem *result = 0 ;
15843 void *argp1 = 0 ;
15844 int res1 = 0 ;
15845 PyObject *swig_obj[1] ;
15846
15847 if (!args) SWIG_fail;
15848 swig_obj[0] = args;
15849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15850 if (!SWIG_IsOK(res1)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15852 }
15853 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15854 {
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 {
15857 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15858 result = (wxFileSystem *) &_result_ref;
15859 }
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15864 return resultobj;
15865 fail:
15866 return NULL;
15867 }
15868
15869
15870 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15871 PyObject *resultobj = 0;
15872 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15873 size_t arg2 ;
15874 wxHtmlLinkInfo *arg3 = 0 ;
15875 void *argp1 = 0 ;
15876 int res1 = 0 ;
15877 size_t val2 ;
15878 int ecode2 = 0 ;
15879 void *argp3 = 0 ;
15880 int res3 = 0 ;
15881 PyObject * obj0 = 0 ;
15882 PyObject * obj1 = 0 ;
15883 PyObject * obj2 = 0 ;
15884 char * kwnames[] = {
15885 (char *) "self",(char *) "n",(char *) "link", NULL
15886 };
15887
15888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15890 if (!SWIG_IsOK(res1)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15892 }
15893 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15894 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15895 if (!SWIG_IsOK(ecode2)) {
15896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15897 }
15898 arg2 = static_cast< size_t >(val2);
15899 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15900 if (!SWIG_IsOK(res3)) {
15901 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15902 }
15903 if (!argp3) {
15904 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15905 }
15906 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15907 {
15908 PyThreadState* __tstate = wxPyBeginAllowThreads();
15909 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
15913 resultobj = SWIG_Py_Void();
15914 return resultobj;
15915 fail:
15916 return NULL;
15917 }
15918
15919
15920 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15921 PyObject *obj;
15922 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15923 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15924 return SWIG_Py_Void();
15925 }
15926
15927 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15928 return SWIG_Python_InitShadowInstance(args);
15929 }
15930
15931 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15932 PyObject *resultobj = 0;
15933 wxPyTaskBarIcon *result = 0 ;
15934
15935 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15936 {
15937 if (!wxPyCheckForApp()) SWIG_fail;
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15940 wxPyEndAllowThreads(__tstate);
15941 if (PyErr_Occurred()) SWIG_fail;
15942 }
15943 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15944 return resultobj;
15945 fail:
15946 return NULL;
15947 }
15948
15949
15950 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15951 PyObject *resultobj = 0;
15952 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15953 void *argp1 = 0 ;
15954 int res1 = 0 ;
15955 PyObject *swig_obj[1] ;
15956
15957 if (!args) SWIG_fail;
15958 swig_obj[0] = args;
15959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15960 if (!SWIG_IsOK(res1)) {
15961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15962 }
15963 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 delete arg1;
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 resultobj = SWIG_Py_Void();
15972 return resultobj;
15973 fail:
15974 return NULL;
15975 }
15976
15977
15978 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15979 PyObject *resultobj = 0;
15980 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15981 PyObject *arg2 = (PyObject *) 0 ;
15982 PyObject *arg3 = (PyObject *) 0 ;
15983 int arg4 ;
15984 void *argp1 = 0 ;
15985 int res1 = 0 ;
15986 int val4 ;
15987 int ecode4 = 0 ;
15988 PyObject * obj0 = 0 ;
15989 PyObject * obj1 = 0 ;
15990 PyObject * obj2 = 0 ;
15991 PyObject * obj3 = 0 ;
15992 char * kwnames[] = {
15993 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15994 };
15995
15996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15998 if (!SWIG_IsOK(res1)) {
15999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16000 }
16001 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16002 arg2 = obj1;
16003 arg3 = obj2;
16004 ecode4 = SWIG_AsVal_int(obj3, &val4);
16005 if (!SWIG_IsOK(ecode4)) {
16006 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16007 }
16008 arg4 = static_cast< int >(val4);
16009 {
16010 PyThreadState* __tstate = wxPyBeginAllowThreads();
16011 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16012 wxPyEndAllowThreads(__tstate);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 }
16015 resultobj = SWIG_Py_Void();
16016 return resultobj;
16017 fail:
16018 return NULL;
16019 }
16020
16021
16022 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16023 PyObject *resultobj = 0;
16024 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16025 void *argp1 = 0 ;
16026 int res1 = 0 ;
16027 PyObject *swig_obj[1] ;
16028
16029 if (!args) SWIG_fail;
16030 swig_obj[0] = args;
16031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16032 if (!SWIG_IsOK(res1)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16034 }
16035 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16036 {
16037 PyThreadState* __tstate = wxPyBeginAllowThreads();
16038 wxPyTaskBarIcon_Destroy(arg1);
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 resultobj = SWIG_Py_Void();
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16050 PyObject *resultobj = 0;
16051 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16052 bool result;
16053 void *argp1 = 0 ;
16054 int res1 = 0 ;
16055 PyObject *swig_obj[1] ;
16056
16057 if (!args) SWIG_fail;
16058 swig_obj[0] = args;
16059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16060 if (!SWIG_IsOK(res1)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16062 }
16063 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 {
16071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16072 }
16073 return resultobj;
16074 fail:
16075 return NULL;
16076 }
16077
16078
16079 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16080 PyObject *resultobj = 0;
16081 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16082 bool result;
16083 void *argp1 = 0 ;
16084 int res1 = 0 ;
16085 PyObject *swig_obj[1] ;
16086
16087 if (!args) SWIG_fail;
16088 swig_obj[0] = args;
16089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16090 if (!SWIG_IsOK(res1)) {
16091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16092 }
16093 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 {
16101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16102 }
16103 return resultobj;
16104 fail:
16105 return NULL;
16106 }
16107
16108
16109 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16110 PyObject *resultobj = 0;
16111 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16112 wxIcon *arg2 = 0 ;
16113 wxString const &arg3_defvalue = wxPyEmptyString ;
16114 wxString *arg3 = (wxString *) &arg3_defvalue ;
16115 bool result;
16116 void *argp1 = 0 ;
16117 int res1 = 0 ;
16118 void *argp2 = 0 ;
16119 int res2 = 0 ;
16120 bool temp3 = false ;
16121 PyObject * obj0 = 0 ;
16122 PyObject * obj1 = 0 ;
16123 PyObject * obj2 = 0 ;
16124 char * kwnames[] = {
16125 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16126 };
16127
16128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16130 if (!SWIG_IsOK(res1)) {
16131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16132 }
16133 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16134 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16135 if (!SWIG_IsOK(res2)) {
16136 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16137 }
16138 if (!argp2) {
16139 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16140 }
16141 arg2 = reinterpret_cast< wxIcon * >(argp2);
16142 if (obj2) {
16143 {
16144 arg3 = wxString_in_helper(obj2);
16145 if (arg3 == NULL) SWIG_fail;
16146 temp3 = true;
16147 }
16148 }
16149 {
16150 PyThreadState* __tstate = wxPyBeginAllowThreads();
16151 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16152 wxPyEndAllowThreads(__tstate);
16153 if (PyErr_Occurred()) SWIG_fail;
16154 }
16155 {
16156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16157 }
16158 {
16159 if (temp3)
16160 delete arg3;
16161 }
16162 return resultobj;
16163 fail:
16164 {
16165 if (temp3)
16166 delete arg3;
16167 }
16168 return NULL;
16169 }
16170
16171
16172 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16173 PyObject *resultobj = 0;
16174 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16175 bool result;
16176 void *argp1 = 0 ;
16177 int res1 = 0 ;
16178 PyObject *swig_obj[1] ;
16179
16180 if (!args) SWIG_fail;
16181 swig_obj[0] = args;
16182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16183 if (!SWIG_IsOK(res1)) {
16184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16185 }
16186 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16187 {
16188 PyThreadState* __tstate = wxPyBeginAllowThreads();
16189 result = (bool)(arg1)->RemoveIcon();
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 {
16194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16195 }
16196 return resultobj;
16197 fail:
16198 return NULL;
16199 }
16200
16201
16202 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16203 PyObject *resultobj = 0;
16204 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16205 wxMenu *arg2 = (wxMenu *) 0 ;
16206 bool result;
16207 void *argp1 = 0 ;
16208 int res1 = 0 ;
16209 void *argp2 = 0 ;
16210 int res2 = 0 ;
16211 PyObject * obj0 = 0 ;
16212 PyObject * obj1 = 0 ;
16213 char * kwnames[] = {
16214 (char *) "self",(char *) "menu", NULL
16215 };
16216
16217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16219 if (!SWIG_IsOK(res1)) {
16220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16221 }
16222 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16223 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16224 if (!SWIG_IsOK(res2)) {
16225 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16226 }
16227 arg2 = reinterpret_cast< wxMenu * >(argp2);
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 result = (bool)(arg1)->PopupMenu(arg2);
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 {
16235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16236 }
16237 return resultobj;
16238 fail:
16239 return NULL;
16240 }
16241
16242
16243 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16244 PyObject *obj;
16245 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16246 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16247 return SWIG_Py_Void();
16248 }
16249
16250 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16251 return SWIG_Python_InitShadowInstance(args);
16252 }
16253
16254 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj = 0;
16256 wxEventType arg1 ;
16257 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16258 wxTaskBarIconEvent *result = 0 ;
16259 int val1 ;
16260 int ecode1 = 0 ;
16261 void *argp2 = 0 ;
16262 int res2 = 0 ;
16263 PyObject * obj0 = 0 ;
16264 PyObject * obj1 = 0 ;
16265 char * kwnames[] = {
16266 (char *) "evtType",(char *) "tbIcon", NULL
16267 };
16268
16269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16270 ecode1 = SWIG_AsVal_int(obj0, &val1);
16271 if (!SWIG_IsOK(ecode1)) {
16272 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16273 }
16274 arg1 = static_cast< wxEventType >(val1);
16275 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16276 if (!SWIG_IsOK(res2)) {
16277 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16278 }
16279 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16280 {
16281 PyThreadState* __tstate = wxPyBeginAllowThreads();
16282 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16287 return resultobj;
16288 fail:
16289 return NULL;
16290 }
16291
16292
16293 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16294 PyObject *obj;
16295 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16296 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16297 return SWIG_Py_Void();
16298 }
16299
16300 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16301 return SWIG_Python_InitShadowInstance(args);
16302 }
16303
16304 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16305 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16306 return 1;
16307 }
16308
16309
16310 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16311 PyObject *pyobj = 0;
16312
16313 {
16314 #if wxUSE_UNICODE
16315 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16316 #else
16317 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16318 #endif
16319 }
16320 return pyobj;
16321 }
16322
16323
16324 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16325 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16326 return 1;
16327 }
16328
16329
16330 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16331 PyObject *pyobj = 0;
16332
16333 {
16334 #if wxUSE_UNICODE
16335 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16336 #else
16337 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16338 #endif
16339 }
16340 return pyobj;
16341 }
16342
16343
16344 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16345 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16346 return 1;
16347 }
16348
16349
16350 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16351 PyObject *pyobj = 0;
16352
16353 {
16354 #if wxUSE_UNICODE
16355 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16356 #else
16357 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16358 #endif
16359 }
16360 return pyobj;
16361 }
16362
16363
16364 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16365 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16366 return 1;
16367 }
16368
16369
16370 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16371 PyObject *pyobj = 0;
16372
16373 {
16374 #if wxUSE_UNICODE
16375 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16376 #else
16377 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16378 #endif
16379 }
16380 return pyobj;
16381 }
16382
16383
16384 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16385 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16386 return 1;
16387 }
16388
16389
16390 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16391 PyObject *pyobj = 0;
16392
16393 {
16394 #if wxUSE_UNICODE
16395 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16396 #else
16397 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16398 #endif
16399 }
16400 return pyobj;
16401 }
16402
16403
16404 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16405 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16406 return 1;
16407 }
16408
16409
16410 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16411 PyObject *pyobj = 0;
16412
16413 {
16414 #if wxUSE_UNICODE
16415 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16416 #else
16417 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16418 #endif
16419 }
16420 return pyobj;
16421 }
16422
16423
16424 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16425 PyObject *resultobj = 0;
16426 wxColourData *result = 0 ;
16427
16428 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16429 {
16430 PyThreadState* __tstate = wxPyBeginAllowThreads();
16431 result = (wxColourData *)new wxColourData();
16432 wxPyEndAllowThreads(__tstate);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
16435 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16436 return resultobj;
16437 fail:
16438 return NULL;
16439 }
16440
16441
16442 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16443 PyObject *resultobj = 0;
16444 wxColourData *arg1 = (wxColourData *) 0 ;
16445 void *argp1 = 0 ;
16446 int res1 = 0 ;
16447 PyObject *swig_obj[1] ;
16448
16449 if (!args) SWIG_fail;
16450 swig_obj[0] = args;
16451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16452 if (!SWIG_IsOK(res1)) {
16453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16454 }
16455 arg1 = reinterpret_cast< wxColourData * >(argp1);
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 delete arg1;
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 resultobj = SWIG_Py_Void();
16464 return resultobj;
16465 fail:
16466 return NULL;
16467 }
16468
16469
16470 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16471 PyObject *resultobj = 0;
16472 wxColourData *arg1 = (wxColourData *) 0 ;
16473 bool result;
16474 void *argp1 = 0 ;
16475 int res1 = 0 ;
16476 PyObject *swig_obj[1] ;
16477
16478 if (!args) SWIG_fail;
16479 swig_obj[0] = args;
16480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16481 if (!SWIG_IsOK(res1)) {
16482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16483 }
16484 arg1 = reinterpret_cast< wxColourData * >(argp1);
16485 {
16486 PyThreadState* __tstate = wxPyBeginAllowThreads();
16487 result = (bool)(arg1)->GetChooseFull();
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 {
16492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16493 }
16494 return resultobj;
16495 fail:
16496 return NULL;
16497 }
16498
16499
16500 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16501 PyObject *resultobj = 0;
16502 wxColourData *arg1 = (wxColourData *) 0 ;
16503 wxColour result;
16504 void *argp1 = 0 ;
16505 int res1 = 0 ;
16506 PyObject *swig_obj[1] ;
16507
16508 if (!args) SWIG_fail;
16509 swig_obj[0] = args;
16510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16511 if (!SWIG_IsOK(res1)) {
16512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16513 }
16514 arg1 = reinterpret_cast< wxColourData * >(argp1);
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 result = (arg1)->GetColour();
16518 wxPyEndAllowThreads(__tstate);
16519 if (PyErr_Occurred()) SWIG_fail;
16520 }
16521 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16522 return resultobj;
16523 fail:
16524 return NULL;
16525 }
16526
16527
16528 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16529 PyObject *resultobj = 0;
16530 wxColourData *arg1 = (wxColourData *) 0 ;
16531 int arg2 ;
16532 wxColour result;
16533 void *argp1 = 0 ;
16534 int res1 = 0 ;
16535 int val2 ;
16536 int ecode2 = 0 ;
16537 PyObject * obj0 = 0 ;
16538 PyObject * obj1 = 0 ;
16539 char * kwnames[] = {
16540 (char *) "self",(char *) "i", NULL
16541 };
16542
16543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16545 if (!SWIG_IsOK(res1)) {
16546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16547 }
16548 arg1 = reinterpret_cast< wxColourData * >(argp1);
16549 ecode2 = SWIG_AsVal_int(obj1, &val2);
16550 if (!SWIG_IsOK(ecode2)) {
16551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16552 }
16553 arg2 = static_cast< int >(val2);
16554 {
16555 PyThreadState* __tstate = wxPyBeginAllowThreads();
16556 result = (arg1)->GetCustomColour(arg2);
16557 wxPyEndAllowThreads(__tstate);
16558 if (PyErr_Occurred()) SWIG_fail;
16559 }
16560 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16561 return resultobj;
16562 fail:
16563 return NULL;
16564 }
16565
16566
16567 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16568 PyObject *resultobj = 0;
16569 wxColourData *arg1 = (wxColourData *) 0 ;
16570 int arg2 ;
16571 void *argp1 = 0 ;
16572 int res1 = 0 ;
16573 int val2 ;
16574 int ecode2 = 0 ;
16575 PyObject * obj0 = 0 ;
16576 PyObject * obj1 = 0 ;
16577 char * kwnames[] = {
16578 (char *) "self",(char *) "flag", NULL
16579 };
16580
16581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16583 if (!SWIG_IsOK(res1)) {
16584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16585 }
16586 arg1 = reinterpret_cast< wxColourData * >(argp1);
16587 ecode2 = SWIG_AsVal_int(obj1, &val2);
16588 if (!SWIG_IsOK(ecode2)) {
16589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16590 }
16591 arg2 = static_cast< int >(val2);
16592 {
16593 PyThreadState* __tstate = wxPyBeginAllowThreads();
16594 (arg1)->SetChooseFull(arg2);
16595 wxPyEndAllowThreads(__tstate);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
16598 resultobj = SWIG_Py_Void();
16599 return resultobj;
16600 fail:
16601 return NULL;
16602 }
16603
16604
16605 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16606 PyObject *resultobj = 0;
16607 wxColourData *arg1 = (wxColourData *) 0 ;
16608 wxColour *arg2 = 0 ;
16609 void *argp1 = 0 ;
16610 int res1 = 0 ;
16611 wxColour temp2 ;
16612 PyObject * obj0 = 0 ;
16613 PyObject * obj1 = 0 ;
16614 char * kwnames[] = {
16615 (char *) "self",(char *) "colour", NULL
16616 };
16617
16618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16620 if (!SWIG_IsOK(res1)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16622 }
16623 arg1 = reinterpret_cast< wxColourData * >(argp1);
16624 {
16625 arg2 = &temp2;
16626 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16627 }
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 (arg1)->SetColour((wxColour const &)*arg2);
16631 wxPyEndAllowThreads(__tstate);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 }
16634 resultobj = SWIG_Py_Void();
16635 return resultobj;
16636 fail:
16637 return NULL;
16638 }
16639
16640
16641 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16642 PyObject *resultobj = 0;
16643 wxColourData *arg1 = (wxColourData *) 0 ;
16644 int arg2 ;
16645 wxColour *arg3 = 0 ;
16646 void *argp1 = 0 ;
16647 int res1 = 0 ;
16648 int val2 ;
16649 int ecode2 = 0 ;
16650 wxColour temp3 ;
16651 PyObject * obj0 = 0 ;
16652 PyObject * obj1 = 0 ;
16653 PyObject * obj2 = 0 ;
16654 char * kwnames[] = {
16655 (char *) "self",(char *) "i",(char *) "colour", NULL
16656 };
16657
16658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16660 if (!SWIG_IsOK(res1)) {
16661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16662 }
16663 arg1 = reinterpret_cast< wxColourData * >(argp1);
16664 ecode2 = SWIG_AsVal_int(obj1, &val2);
16665 if (!SWIG_IsOK(ecode2)) {
16666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16667 }
16668 arg2 = static_cast< int >(val2);
16669 {
16670 arg3 = &temp3;
16671 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16672 }
16673 {
16674 PyThreadState* __tstate = wxPyBeginAllowThreads();
16675 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16676 wxPyEndAllowThreads(__tstate);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 resultobj = SWIG_Py_Void();
16680 return resultobj;
16681 fail:
16682 return NULL;
16683 }
16684
16685
16686 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16687 PyObject *obj;
16688 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16689 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16690 return SWIG_Py_Void();
16691 }
16692
16693 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16694 return SWIG_Python_InitShadowInstance(args);
16695 }
16696
16697 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16698 PyObject *resultobj = 0;
16699 wxWindow *arg1 = (wxWindow *) 0 ;
16700 wxColourData *arg2 = (wxColourData *) NULL ;
16701 wxColourDialog *result = 0 ;
16702 void *argp1 = 0 ;
16703 int res1 = 0 ;
16704 void *argp2 = 0 ;
16705 int res2 = 0 ;
16706 PyObject * obj0 = 0 ;
16707 PyObject * obj1 = 0 ;
16708 char * kwnames[] = {
16709 (char *) "parent",(char *) "data", NULL
16710 };
16711
16712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16714 if (!SWIG_IsOK(res1)) {
16715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16716 }
16717 arg1 = reinterpret_cast< wxWindow * >(argp1);
16718 if (obj1) {
16719 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16720 if (!SWIG_IsOK(res2)) {
16721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16722 }
16723 arg2 = reinterpret_cast< wxColourData * >(argp2);
16724 }
16725 {
16726 if (!wxPyCheckForApp()) SWIG_fail;
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16729 wxPyEndAllowThreads(__tstate);
16730 if (PyErr_Occurred()) SWIG_fail;
16731 }
16732 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16733 return resultobj;
16734 fail:
16735 return NULL;
16736 }
16737
16738
16739 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16740 PyObject *resultobj = 0;
16741 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16742 wxColourData *result = 0 ;
16743 void *argp1 = 0 ;
16744 int res1 = 0 ;
16745 PyObject *swig_obj[1] ;
16746
16747 if (!args) SWIG_fail;
16748 swig_obj[0] = args;
16749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16750 if (!SWIG_IsOK(res1)) {
16751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16752 }
16753 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16754 {
16755 PyThreadState* __tstate = wxPyBeginAllowThreads();
16756 {
16757 wxColourData &_result_ref = (arg1)->GetColourData();
16758 result = (wxColourData *) &_result_ref;
16759 }
16760 wxPyEndAllowThreads(__tstate);
16761 if (PyErr_Occurred()) SWIG_fail;
16762 }
16763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16764 return resultobj;
16765 fail:
16766 return NULL;
16767 }
16768
16769
16770 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16771 PyObject *obj;
16772 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16773 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16774 return SWIG_Py_Void();
16775 }
16776
16777 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16778 return SWIG_Python_InitShadowInstance(args);
16779 }
16780
16781 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16782 PyObject *resultobj = 0;
16783 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16784 wxColour const &arg2_defvalue = wxNullColour ;
16785 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16786 wxString const &arg3_defvalue = wxPyEmptyString ;
16787 wxString *arg3 = (wxString *) &arg3_defvalue ;
16788 wxColour result;
16789 void *argp1 = 0 ;
16790 int res1 = 0 ;
16791 wxColour temp2 ;
16792 bool temp3 = false ;
16793 PyObject * obj0 = 0 ;
16794 PyObject * obj1 = 0 ;
16795 PyObject * obj2 = 0 ;
16796 char * kwnames[] = {
16797 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16798 };
16799
16800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16801 if (obj0) {
16802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16803 if (!SWIG_IsOK(res1)) {
16804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16805 }
16806 arg1 = reinterpret_cast< wxWindow * >(argp1);
16807 }
16808 if (obj1) {
16809 {
16810 arg2 = &temp2;
16811 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16812 }
16813 }
16814 if (obj2) {
16815 {
16816 arg3 = wxString_in_helper(obj2);
16817 if (arg3 == NULL) SWIG_fail;
16818 temp3 = true;
16819 }
16820 }
16821 {
16822 PyThreadState* __tstate = wxPyBeginAllowThreads();
16823 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16828 {
16829 if (temp3)
16830 delete arg3;
16831 }
16832 return resultobj;
16833 fail:
16834 {
16835 if (temp3)
16836 delete arg3;
16837 }
16838 return NULL;
16839 }
16840
16841
16842 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16843 PyObject *resultobj = 0;
16844 wxWindow *arg1 = (wxWindow *) 0 ;
16845 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16846 wxString *arg2 = (wxString *) &arg2_defvalue ;
16847 wxString const &arg3_defvalue = wxPyEmptyString ;
16848 wxString *arg3 = (wxString *) &arg3_defvalue ;
16849 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16850 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16851 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16852 wxSize const &arg6_defvalue = wxDefaultSize ;
16853 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16854 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16855 wxString *arg7 = (wxString *) &arg7_defvalue ;
16856 wxDirDialog *result = 0 ;
16857 void *argp1 = 0 ;
16858 int res1 = 0 ;
16859 bool temp2 = false ;
16860 bool temp3 = false ;
16861 long val4 ;
16862 int ecode4 = 0 ;
16863 wxPoint temp5 ;
16864 wxSize temp6 ;
16865 bool temp7 = false ;
16866 PyObject * obj0 = 0 ;
16867 PyObject * obj1 = 0 ;
16868 PyObject * obj2 = 0 ;
16869 PyObject * obj3 = 0 ;
16870 PyObject * obj4 = 0 ;
16871 PyObject * obj5 = 0 ;
16872 PyObject * obj6 = 0 ;
16873 char * kwnames[] = {
16874 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16875 };
16876
16877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16879 if (!SWIG_IsOK(res1)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16881 }
16882 arg1 = reinterpret_cast< wxWindow * >(argp1);
16883 if (obj1) {
16884 {
16885 arg2 = wxString_in_helper(obj1);
16886 if (arg2 == NULL) SWIG_fail;
16887 temp2 = true;
16888 }
16889 }
16890 if (obj2) {
16891 {
16892 arg3 = wxString_in_helper(obj2);
16893 if (arg3 == NULL) SWIG_fail;
16894 temp3 = true;
16895 }
16896 }
16897 if (obj3) {
16898 ecode4 = SWIG_AsVal_long(obj3, &val4);
16899 if (!SWIG_IsOK(ecode4)) {
16900 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16901 }
16902 arg4 = static_cast< long >(val4);
16903 }
16904 if (obj4) {
16905 {
16906 arg5 = &temp5;
16907 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16908 }
16909 }
16910 if (obj5) {
16911 {
16912 arg6 = &temp6;
16913 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16914 }
16915 }
16916 if (obj6) {
16917 {
16918 arg7 = wxString_in_helper(obj6);
16919 if (arg7 == NULL) SWIG_fail;
16920 temp7 = true;
16921 }
16922 }
16923 {
16924 if (!wxPyCheckForApp()) SWIG_fail;
16925 PyThreadState* __tstate = wxPyBeginAllowThreads();
16926 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16927 wxPyEndAllowThreads(__tstate);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16931 {
16932 if (temp2)
16933 delete arg2;
16934 }
16935 {
16936 if (temp3)
16937 delete arg3;
16938 }
16939 {
16940 if (temp7)
16941 delete arg7;
16942 }
16943 return resultobj;
16944 fail:
16945 {
16946 if (temp2)
16947 delete arg2;
16948 }
16949 {
16950 if (temp3)
16951 delete arg3;
16952 }
16953 {
16954 if (temp7)
16955 delete arg7;
16956 }
16957 return NULL;
16958 }
16959
16960
16961 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16962 PyObject *resultobj = 0;
16963 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16964 wxString result;
16965 void *argp1 = 0 ;
16966 int res1 = 0 ;
16967 PyObject *swig_obj[1] ;
16968
16969 if (!args) SWIG_fail;
16970 swig_obj[0] = args;
16971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16972 if (!SWIG_IsOK(res1)) {
16973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16974 }
16975 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16976 {
16977 PyThreadState* __tstate = wxPyBeginAllowThreads();
16978 result = (arg1)->GetPath();
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 {
16983 #if wxUSE_UNICODE
16984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16985 #else
16986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16987 #endif
16988 }
16989 return resultobj;
16990 fail:
16991 return NULL;
16992 }
16993
16994
16995 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16996 PyObject *resultobj = 0;
16997 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16998 wxString result;
16999 void *argp1 = 0 ;
17000 int res1 = 0 ;
17001 PyObject *swig_obj[1] ;
17002
17003 if (!args) SWIG_fail;
17004 swig_obj[0] = args;
17005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17006 if (!SWIG_IsOK(res1)) {
17007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17008 }
17009 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17010 {
17011 PyThreadState* __tstate = wxPyBeginAllowThreads();
17012 result = (arg1)->GetMessage();
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 {
17017 #if wxUSE_UNICODE
17018 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17019 #else
17020 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17021 #endif
17022 }
17023 return resultobj;
17024 fail:
17025 return NULL;
17026 }
17027
17028
17029 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17030 PyObject *resultobj = 0;
17031 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17032 wxString *arg2 = 0 ;
17033 void *argp1 = 0 ;
17034 int res1 = 0 ;
17035 bool temp2 = false ;
17036 PyObject * obj0 = 0 ;
17037 PyObject * obj1 = 0 ;
17038 char * kwnames[] = {
17039 (char *) "self",(char *) "message", NULL
17040 };
17041
17042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17044 if (!SWIG_IsOK(res1)) {
17045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17046 }
17047 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17048 {
17049 arg2 = wxString_in_helper(obj1);
17050 if (arg2 == NULL) SWIG_fail;
17051 temp2 = true;
17052 }
17053 {
17054 PyThreadState* __tstate = wxPyBeginAllowThreads();
17055 (arg1)->SetMessage((wxString const &)*arg2);
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 resultobj = SWIG_Py_Void();
17060 {
17061 if (temp2)
17062 delete arg2;
17063 }
17064 return resultobj;
17065 fail:
17066 {
17067 if (temp2)
17068 delete arg2;
17069 }
17070 return NULL;
17071 }
17072
17073
17074 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17075 PyObject *resultobj = 0;
17076 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17077 wxString *arg2 = 0 ;
17078 void *argp1 = 0 ;
17079 int res1 = 0 ;
17080 bool temp2 = false ;
17081 PyObject * obj0 = 0 ;
17082 PyObject * obj1 = 0 ;
17083 char * kwnames[] = {
17084 (char *) "self",(char *) "path", NULL
17085 };
17086
17087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17089 if (!SWIG_IsOK(res1)) {
17090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17091 }
17092 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17093 {
17094 arg2 = wxString_in_helper(obj1);
17095 if (arg2 == NULL) SWIG_fail;
17096 temp2 = true;
17097 }
17098 {
17099 PyThreadState* __tstate = wxPyBeginAllowThreads();
17100 (arg1)->SetPath((wxString const &)*arg2);
17101 wxPyEndAllowThreads(__tstate);
17102 if (PyErr_Occurred()) SWIG_fail;
17103 }
17104 resultobj = SWIG_Py_Void();
17105 {
17106 if (temp2)
17107 delete arg2;
17108 }
17109 return resultobj;
17110 fail:
17111 {
17112 if (temp2)
17113 delete arg2;
17114 }
17115 return NULL;
17116 }
17117
17118
17119 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17120 PyObject *obj;
17121 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17122 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17123 return SWIG_Py_Void();
17124 }
17125
17126 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17127 return SWIG_Python_InitShadowInstance(args);
17128 }
17129
17130 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj = 0;
17132 wxWindow *arg1 = (wxWindow *) 0 ;
17133 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17134 wxString *arg2 = (wxString *) &arg2_defvalue ;
17135 wxString const &arg3_defvalue = wxPyEmptyString ;
17136 wxString *arg3 = (wxString *) &arg3_defvalue ;
17137 wxString const &arg4_defvalue = wxPyEmptyString ;
17138 wxString *arg4 = (wxString *) &arg4_defvalue ;
17139 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17140 wxString *arg5 = (wxString *) &arg5_defvalue ;
17141 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17142 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17143 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17144 wxFileDialog *result = 0 ;
17145 void *argp1 = 0 ;
17146 int res1 = 0 ;
17147 bool temp2 = false ;
17148 bool temp3 = false ;
17149 bool temp4 = false ;
17150 bool temp5 = false ;
17151 long val6 ;
17152 int ecode6 = 0 ;
17153 wxPoint temp7 ;
17154 PyObject * obj0 = 0 ;
17155 PyObject * obj1 = 0 ;
17156 PyObject * obj2 = 0 ;
17157 PyObject * obj3 = 0 ;
17158 PyObject * obj4 = 0 ;
17159 PyObject * obj5 = 0 ;
17160 PyObject * obj6 = 0 ;
17161 char * kwnames[] = {
17162 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17163 };
17164
17165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17167 if (!SWIG_IsOK(res1)) {
17168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17169 }
17170 arg1 = reinterpret_cast< wxWindow * >(argp1);
17171 if (obj1) {
17172 {
17173 arg2 = wxString_in_helper(obj1);
17174 if (arg2 == NULL) SWIG_fail;
17175 temp2 = true;
17176 }
17177 }
17178 if (obj2) {
17179 {
17180 arg3 = wxString_in_helper(obj2);
17181 if (arg3 == NULL) SWIG_fail;
17182 temp3 = true;
17183 }
17184 }
17185 if (obj3) {
17186 {
17187 arg4 = wxString_in_helper(obj3);
17188 if (arg4 == NULL) SWIG_fail;
17189 temp4 = true;
17190 }
17191 }
17192 if (obj4) {
17193 {
17194 arg5 = wxString_in_helper(obj4);
17195 if (arg5 == NULL) SWIG_fail;
17196 temp5 = true;
17197 }
17198 }
17199 if (obj5) {
17200 ecode6 = SWIG_AsVal_long(obj5, &val6);
17201 if (!SWIG_IsOK(ecode6)) {
17202 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17203 }
17204 arg6 = static_cast< long >(val6);
17205 }
17206 if (obj6) {
17207 {
17208 arg7 = &temp7;
17209 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17210 }
17211 }
17212 {
17213 if (!wxPyCheckForApp()) SWIG_fail;
17214 PyThreadState* __tstate = wxPyBeginAllowThreads();
17215 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17220 {
17221 if (temp2)
17222 delete arg2;
17223 }
17224 {
17225 if (temp3)
17226 delete arg3;
17227 }
17228 {
17229 if (temp4)
17230 delete arg4;
17231 }
17232 {
17233 if (temp5)
17234 delete arg5;
17235 }
17236 return resultobj;
17237 fail:
17238 {
17239 if (temp2)
17240 delete arg2;
17241 }
17242 {
17243 if (temp3)
17244 delete arg3;
17245 }
17246 {
17247 if (temp4)
17248 delete arg4;
17249 }
17250 {
17251 if (temp5)
17252 delete arg5;
17253 }
17254 return NULL;
17255 }
17256
17257
17258 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17259 PyObject *resultobj = 0;
17260 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17261 wxString *arg2 = 0 ;
17262 void *argp1 = 0 ;
17263 int res1 = 0 ;
17264 bool temp2 = false ;
17265 PyObject * obj0 = 0 ;
17266 PyObject * obj1 = 0 ;
17267 char * kwnames[] = {
17268 (char *) "self",(char *) "message", NULL
17269 };
17270
17271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17273 if (!SWIG_IsOK(res1)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17275 }
17276 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17277 {
17278 arg2 = wxString_in_helper(obj1);
17279 if (arg2 == NULL) SWIG_fail;
17280 temp2 = true;
17281 }
17282 {
17283 PyThreadState* __tstate = wxPyBeginAllowThreads();
17284 (arg1)->SetMessage((wxString const &)*arg2);
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 resultobj = SWIG_Py_Void();
17289 {
17290 if (temp2)
17291 delete arg2;
17292 }
17293 return resultobj;
17294 fail:
17295 {
17296 if (temp2)
17297 delete arg2;
17298 }
17299 return NULL;
17300 }
17301
17302
17303 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17304 PyObject *resultobj = 0;
17305 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17306 wxString *arg2 = 0 ;
17307 void *argp1 = 0 ;
17308 int res1 = 0 ;
17309 bool temp2 = false ;
17310 PyObject * obj0 = 0 ;
17311 PyObject * obj1 = 0 ;
17312 char * kwnames[] = {
17313 (char *) "self",(char *) "path", NULL
17314 };
17315
17316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17318 if (!SWIG_IsOK(res1)) {
17319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17320 }
17321 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17322 {
17323 arg2 = wxString_in_helper(obj1);
17324 if (arg2 == NULL) SWIG_fail;
17325 temp2 = true;
17326 }
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 (arg1)->SetPath((wxString const &)*arg2);
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 resultobj = SWIG_Py_Void();
17334 {
17335 if (temp2)
17336 delete arg2;
17337 }
17338 return resultobj;
17339 fail:
17340 {
17341 if (temp2)
17342 delete arg2;
17343 }
17344 return NULL;
17345 }
17346
17347
17348 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17349 PyObject *resultobj = 0;
17350 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17351 wxString *arg2 = 0 ;
17352 void *argp1 = 0 ;
17353 int res1 = 0 ;
17354 bool temp2 = false ;
17355 PyObject * obj0 = 0 ;
17356 PyObject * obj1 = 0 ;
17357 char * kwnames[] = {
17358 (char *) "self",(char *) "dir", NULL
17359 };
17360
17361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17363 if (!SWIG_IsOK(res1)) {
17364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17365 }
17366 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17367 {
17368 arg2 = wxString_in_helper(obj1);
17369 if (arg2 == NULL) SWIG_fail;
17370 temp2 = true;
17371 }
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 (arg1)->SetDirectory((wxString const &)*arg2);
17375 wxPyEndAllowThreads(__tstate);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 resultobj = SWIG_Py_Void();
17379 {
17380 if (temp2)
17381 delete arg2;
17382 }
17383 return resultobj;
17384 fail:
17385 {
17386 if (temp2)
17387 delete arg2;
17388 }
17389 return NULL;
17390 }
17391
17392
17393 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17394 PyObject *resultobj = 0;
17395 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17396 wxString *arg2 = 0 ;
17397 void *argp1 = 0 ;
17398 int res1 = 0 ;
17399 bool temp2 = false ;
17400 PyObject * obj0 = 0 ;
17401 PyObject * obj1 = 0 ;
17402 char * kwnames[] = {
17403 (char *) "self",(char *) "name", NULL
17404 };
17405
17406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17408 if (!SWIG_IsOK(res1)) {
17409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17410 }
17411 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17412 {
17413 arg2 = wxString_in_helper(obj1);
17414 if (arg2 == NULL) SWIG_fail;
17415 temp2 = true;
17416 }
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 (arg1)->SetFilename((wxString const &)*arg2);
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 resultobj = SWIG_Py_Void();
17424 {
17425 if (temp2)
17426 delete arg2;
17427 }
17428 return resultobj;
17429 fail:
17430 {
17431 if (temp2)
17432 delete arg2;
17433 }
17434 return NULL;
17435 }
17436
17437
17438 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17439 PyObject *resultobj = 0;
17440 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17441 wxString *arg2 = 0 ;
17442 void *argp1 = 0 ;
17443 int res1 = 0 ;
17444 bool temp2 = false ;
17445 PyObject * obj0 = 0 ;
17446 PyObject * obj1 = 0 ;
17447 char * kwnames[] = {
17448 (char *) "self",(char *) "wildCard", NULL
17449 };
17450
17451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17453 if (!SWIG_IsOK(res1)) {
17454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17455 }
17456 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17457 {
17458 arg2 = wxString_in_helper(obj1);
17459 if (arg2 == NULL) SWIG_fail;
17460 temp2 = true;
17461 }
17462 {
17463 PyThreadState* __tstate = wxPyBeginAllowThreads();
17464 (arg1)->SetWildcard((wxString const &)*arg2);
17465 wxPyEndAllowThreads(__tstate);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 }
17468 resultobj = SWIG_Py_Void();
17469 {
17470 if (temp2)
17471 delete arg2;
17472 }
17473 return resultobj;
17474 fail:
17475 {
17476 if (temp2)
17477 delete arg2;
17478 }
17479 return NULL;
17480 }
17481
17482
17483 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17484 PyObject *resultobj = 0;
17485 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17486 int arg2 ;
17487 void *argp1 = 0 ;
17488 int res1 = 0 ;
17489 int val2 ;
17490 int ecode2 = 0 ;
17491 PyObject * obj0 = 0 ;
17492 PyObject * obj1 = 0 ;
17493 char * kwnames[] = {
17494 (char *) "self",(char *) "filterIndex", NULL
17495 };
17496
17497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17499 if (!SWIG_IsOK(res1)) {
17500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17501 }
17502 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17503 ecode2 = SWIG_AsVal_int(obj1, &val2);
17504 if (!SWIG_IsOK(ecode2)) {
17505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17506 }
17507 arg2 = static_cast< int >(val2);
17508 {
17509 PyThreadState* __tstate = wxPyBeginAllowThreads();
17510 (arg1)->SetFilterIndex(arg2);
17511 wxPyEndAllowThreads(__tstate);
17512 if (PyErr_Occurred()) SWIG_fail;
17513 }
17514 resultobj = SWIG_Py_Void();
17515 return resultobj;
17516 fail:
17517 return NULL;
17518 }
17519
17520
17521 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17522 PyObject *resultobj = 0;
17523 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17524 wxString result;
17525 void *argp1 = 0 ;
17526 int res1 = 0 ;
17527 PyObject *swig_obj[1] ;
17528
17529 if (!args) SWIG_fail;
17530 swig_obj[0] = args;
17531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17532 if (!SWIG_IsOK(res1)) {
17533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17534 }
17535 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17536 {
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 result = ((wxFileDialog const *)arg1)->GetMessage();
17539 wxPyEndAllowThreads(__tstate);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 }
17542 {
17543 #if wxUSE_UNICODE
17544 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17545 #else
17546 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17547 #endif
17548 }
17549 return resultobj;
17550 fail:
17551 return NULL;
17552 }
17553
17554
17555 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17556 PyObject *resultobj = 0;
17557 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17558 wxString result;
17559 void *argp1 = 0 ;
17560 int res1 = 0 ;
17561 PyObject *swig_obj[1] ;
17562
17563 if (!args) SWIG_fail;
17564 swig_obj[0] = args;
17565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17566 if (!SWIG_IsOK(res1)) {
17567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17568 }
17569 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 result = ((wxFileDialog const *)arg1)->GetPath();
17573 wxPyEndAllowThreads(__tstate);
17574 if (PyErr_Occurred()) SWIG_fail;
17575 }
17576 {
17577 #if wxUSE_UNICODE
17578 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17579 #else
17580 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17581 #endif
17582 }
17583 return resultobj;
17584 fail:
17585 return NULL;
17586 }
17587
17588
17589 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17590 PyObject *resultobj = 0;
17591 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17592 wxString result;
17593 void *argp1 = 0 ;
17594 int res1 = 0 ;
17595 PyObject *swig_obj[1] ;
17596
17597 if (!args) SWIG_fail;
17598 swig_obj[0] = args;
17599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17600 if (!SWIG_IsOK(res1)) {
17601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17602 }
17603 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 result = ((wxFileDialog const *)arg1)->GetDirectory();
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 {
17611 #if wxUSE_UNICODE
17612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17613 #else
17614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17615 #endif
17616 }
17617 return resultobj;
17618 fail:
17619 return NULL;
17620 }
17621
17622
17623 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17624 PyObject *resultobj = 0;
17625 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17626 wxString result;
17627 void *argp1 = 0 ;
17628 int res1 = 0 ;
17629 PyObject *swig_obj[1] ;
17630
17631 if (!args) SWIG_fail;
17632 swig_obj[0] = args;
17633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17634 if (!SWIG_IsOK(res1)) {
17635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17636 }
17637 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17638 {
17639 PyThreadState* __tstate = wxPyBeginAllowThreads();
17640 result = ((wxFileDialog const *)arg1)->GetFilename();
17641 wxPyEndAllowThreads(__tstate);
17642 if (PyErr_Occurred()) SWIG_fail;
17643 }
17644 {
17645 #if wxUSE_UNICODE
17646 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17647 #else
17648 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17649 #endif
17650 }
17651 return resultobj;
17652 fail:
17653 return NULL;
17654 }
17655
17656
17657 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17658 PyObject *resultobj = 0;
17659 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17660 wxString result;
17661 void *argp1 = 0 ;
17662 int res1 = 0 ;
17663 PyObject *swig_obj[1] ;
17664
17665 if (!args) SWIG_fail;
17666 swig_obj[0] = args;
17667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17668 if (!SWIG_IsOK(res1)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17670 }
17671 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 result = ((wxFileDialog const *)arg1)->GetWildcard();
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 {
17679 #if wxUSE_UNICODE
17680 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17681 #else
17682 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17683 #endif
17684 }
17685 return resultobj;
17686 fail:
17687 return NULL;
17688 }
17689
17690
17691 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17692 PyObject *resultobj = 0;
17693 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17694 int result;
17695 void *argp1 = 0 ;
17696 int res1 = 0 ;
17697 PyObject *swig_obj[1] ;
17698
17699 if (!args) SWIG_fail;
17700 swig_obj[0] = args;
17701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17702 if (!SWIG_IsOK(res1)) {
17703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17704 }
17705 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17706 {
17707 PyThreadState* __tstate = wxPyBeginAllowThreads();
17708 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17709 wxPyEndAllowThreads(__tstate);
17710 if (PyErr_Occurred()) SWIG_fail;
17711 }
17712 resultobj = SWIG_From_int(static_cast< int >(result));
17713 return resultobj;
17714 fail:
17715 return NULL;
17716 }
17717
17718
17719 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17720 PyObject *resultobj = 0;
17721 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17722 PyObject *result = 0 ;
17723 void *argp1 = 0 ;
17724 int res1 = 0 ;
17725 PyObject *swig_obj[1] ;
17726
17727 if (!args) SWIG_fail;
17728 swig_obj[0] = args;
17729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17730 if (!SWIG_IsOK(res1)) {
17731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17732 }
17733 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17734 {
17735 PyThreadState* __tstate = wxPyBeginAllowThreads();
17736 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17737 wxPyEndAllowThreads(__tstate);
17738 if (PyErr_Occurred()) SWIG_fail;
17739 }
17740 resultobj = result;
17741 return resultobj;
17742 fail:
17743 return NULL;
17744 }
17745
17746
17747 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17748 PyObject *resultobj = 0;
17749 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17750 PyObject *result = 0 ;
17751 void *argp1 = 0 ;
17752 int res1 = 0 ;
17753 PyObject *swig_obj[1] ;
17754
17755 if (!args) SWIG_fail;
17756 swig_obj[0] = args;
17757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17758 if (!SWIG_IsOK(res1)) {
17759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17760 }
17761 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17762 {
17763 PyThreadState* __tstate = wxPyBeginAllowThreads();
17764 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17765 wxPyEndAllowThreads(__tstate);
17766 if (PyErr_Occurred()) SWIG_fail;
17767 }
17768 resultobj = result;
17769 return resultobj;
17770 fail:
17771 return NULL;
17772 }
17773
17774
17775 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17776 PyObject *obj;
17777 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17778 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17779 return SWIG_Py_Void();
17780 }
17781
17782 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17783 return SWIG_Python_InitShadowInstance(args);
17784 }
17785
17786 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj = 0;
17788 wxWindow *arg1 = (wxWindow *) 0 ;
17789 wxString *arg2 = 0 ;
17790 wxString *arg3 = 0 ;
17791 int arg4 = (int) 0 ;
17792 wxString *arg5 = (wxString *) NULL ;
17793 long arg6 = (long) wxCHOICEDLG_STYLE ;
17794 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17795 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17796 wxMultiChoiceDialog *result = 0 ;
17797 void *argp1 = 0 ;
17798 int res1 = 0 ;
17799 bool temp2 = false ;
17800 bool temp3 = false ;
17801 long val6 ;
17802 int ecode6 = 0 ;
17803 wxPoint temp7 ;
17804 PyObject * obj0 = 0 ;
17805 PyObject * obj1 = 0 ;
17806 PyObject * obj2 = 0 ;
17807 PyObject * obj3 = 0 ;
17808 PyObject * obj4 = 0 ;
17809 PyObject * obj5 = 0 ;
17810 char * kwnames[] = {
17811 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17812 };
17813
17814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17816 if (!SWIG_IsOK(res1)) {
17817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17818 }
17819 arg1 = reinterpret_cast< wxWindow * >(argp1);
17820 {
17821 arg2 = wxString_in_helper(obj1);
17822 if (arg2 == NULL) SWIG_fail;
17823 temp2 = true;
17824 }
17825 {
17826 arg3 = wxString_in_helper(obj2);
17827 if (arg3 == NULL) SWIG_fail;
17828 temp3 = true;
17829 }
17830 if (obj3) {
17831 {
17832 arg4 = PyList_Size(obj3);
17833 arg5 = wxString_LIST_helper(obj3);
17834 if (arg5 == NULL) SWIG_fail;
17835 }
17836 }
17837 if (obj4) {
17838 ecode6 = SWIG_AsVal_long(obj4, &val6);
17839 if (!SWIG_IsOK(ecode6)) {
17840 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17841 }
17842 arg6 = static_cast< long >(val6);
17843 }
17844 if (obj5) {
17845 {
17846 arg7 = &temp7;
17847 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17848 }
17849 }
17850 {
17851 if (!wxPyCheckForApp()) SWIG_fail;
17852 PyThreadState* __tstate = wxPyBeginAllowThreads();
17853 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17858 {
17859 if (temp2)
17860 delete arg2;
17861 }
17862 {
17863 if (temp3)
17864 delete arg3;
17865 }
17866 {
17867 if (arg5) delete [] arg5;
17868 }
17869 return resultobj;
17870 fail:
17871 {
17872 if (temp2)
17873 delete arg2;
17874 }
17875 {
17876 if (temp3)
17877 delete arg3;
17878 }
17879 {
17880 if (arg5) delete [] arg5;
17881 }
17882 return NULL;
17883 }
17884
17885
17886 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17887 PyObject *resultobj = 0;
17888 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17889 wxArrayInt *arg2 = 0 ;
17890 void *argp1 = 0 ;
17891 int res1 = 0 ;
17892 bool temp2 = false ;
17893 PyObject * obj0 = 0 ;
17894 PyObject * obj1 = 0 ;
17895 char * kwnames[] = {
17896 (char *) "self",(char *) "selections", NULL
17897 };
17898
17899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17901 if (!SWIG_IsOK(res1)) {
17902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17903 }
17904 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17905 {
17906 if (! PySequence_Check(obj1)) {
17907 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17908 SWIG_fail;
17909 }
17910 arg2 = new wxArrayInt;
17911 temp2 = true;
17912 int i, len=PySequence_Length(obj1);
17913 for (i=0; i<len; i++) {
17914 PyObject* item = PySequence_GetItem(obj1, i);
17915 PyObject* number = PyNumber_Int(item);
17916 arg2->Add(PyInt_AS_LONG(number));
17917 Py_DECREF(item);
17918 Py_DECREF(number);
17919 }
17920 }
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17924 wxPyEndAllowThreads(__tstate);
17925 if (PyErr_Occurred()) SWIG_fail;
17926 }
17927 resultobj = SWIG_Py_Void();
17928 {
17929 if (temp2) delete arg2;
17930 }
17931 return resultobj;
17932 fail:
17933 {
17934 if (temp2) delete arg2;
17935 }
17936 return NULL;
17937 }
17938
17939
17940 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17941 PyObject *resultobj = 0;
17942 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17943 PyObject *result = 0 ;
17944 void *argp1 = 0 ;
17945 int res1 = 0 ;
17946 PyObject *swig_obj[1] ;
17947
17948 if (!args) SWIG_fail;
17949 swig_obj[0] = args;
17950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17951 if (!SWIG_IsOK(res1)) {
17952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17953 }
17954 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17955 {
17956 PyThreadState* __tstate = wxPyBeginAllowThreads();
17957 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 resultobj = result;
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17969 PyObject *obj;
17970 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17971 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17972 return SWIG_Py_Void();
17973 }
17974
17975 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17976 return SWIG_Python_InitShadowInstance(args);
17977 }
17978
17979 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17980 PyObject *resultobj = 0;
17981 wxWindow *arg1 = (wxWindow *) 0 ;
17982 wxString *arg2 = 0 ;
17983 wxString *arg3 = 0 ;
17984 int arg4 ;
17985 wxString *arg5 = (wxString *) 0 ;
17986 long arg6 = (long) wxCHOICEDLG_STYLE ;
17987 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17988 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17989 wxSingleChoiceDialog *result = 0 ;
17990 void *argp1 = 0 ;
17991 int res1 = 0 ;
17992 bool temp2 = false ;
17993 bool temp3 = false ;
17994 long val6 ;
17995 int ecode6 = 0 ;
17996 wxPoint temp7 ;
17997 PyObject * obj0 = 0 ;
17998 PyObject * obj1 = 0 ;
17999 PyObject * obj2 = 0 ;
18000 PyObject * obj3 = 0 ;
18001 PyObject * obj4 = 0 ;
18002 PyObject * obj5 = 0 ;
18003 char * kwnames[] = {
18004 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18005 };
18006
18007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18009 if (!SWIG_IsOK(res1)) {
18010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18011 }
18012 arg1 = reinterpret_cast< wxWindow * >(argp1);
18013 {
18014 arg2 = wxString_in_helper(obj1);
18015 if (arg2 == NULL) SWIG_fail;
18016 temp2 = true;
18017 }
18018 {
18019 arg3 = wxString_in_helper(obj2);
18020 if (arg3 == NULL) SWIG_fail;
18021 temp3 = true;
18022 }
18023 {
18024 arg4 = PyList_Size(obj3);
18025 arg5 = wxString_LIST_helper(obj3);
18026 if (arg5 == NULL) SWIG_fail;
18027 }
18028 if (obj4) {
18029 ecode6 = SWIG_AsVal_long(obj4, &val6);
18030 if (!SWIG_IsOK(ecode6)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18032 }
18033 arg6 = static_cast< long >(val6);
18034 }
18035 if (obj5) {
18036 {
18037 arg7 = &temp7;
18038 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18039 }
18040 }
18041 {
18042 if (!wxPyCheckForApp()) SWIG_fail;
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18045 wxPyEndAllowThreads(__tstate);
18046 if (PyErr_Occurred()) SWIG_fail;
18047 }
18048 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18049 {
18050 if (temp2)
18051 delete arg2;
18052 }
18053 {
18054 if (temp3)
18055 delete arg3;
18056 }
18057 {
18058 if (arg5) delete [] arg5;
18059 }
18060 return resultobj;
18061 fail:
18062 {
18063 if (temp2)
18064 delete arg2;
18065 }
18066 {
18067 if (temp3)
18068 delete arg3;
18069 }
18070 {
18071 if (arg5) delete [] arg5;
18072 }
18073 return NULL;
18074 }
18075
18076
18077 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18078 PyObject *resultobj = 0;
18079 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18080 int result;
18081 void *argp1 = 0 ;
18082 int res1 = 0 ;
18083 PyObject *swig_obj[1] ;
18084
18085 if (!args) SWIG_fail;
18086 swig_obj[0] = args;
18087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18088 if (!SWIG_IsOK(res1)) {
18089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18090 }
18091 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18092 {
18093 PyThreadState* __tstate = wxPyBeginAllowThreads();
18094 result = (int)(arg1)->GetSelection();
18095 wxPyEndAllowThreads(__tstate);
18096 if (PyErr_Occurred()) SWIG_fail;
18097 }
18098 resultobj = SWIG_From_int(static_cast< int >(result));
18099 return resultobj;
18100 fail:
18101 return NULL;
18102 }
18103
18104
18105 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18106 PyObject *resultobj = 0;
18107 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18108 wxString result;
18109 void *argp1 = 0 ;
18110 int res1 = 0 ;
18111 PyObject *swig_obj[1] ;
18112
18113 if (!args) SWIG_fail;
18114 swig_obj[0] = args;
18115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18116 if (!SWIG_IsOK(res1)) {
18117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18118 }
18119 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 result = (arg1)->GetStringSelection();
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 {
18127 #if wxUSE_UNICODE
18128 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18129 #else
18130 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18131 #endif
18132 }
18133 return resultobj;
18134 fail:
18135 return NULL;
18136 }
18137
18138
18139 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18140 PyObject *resultobj = 0;
18141 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18142 int arg2 ;
18143 void *argp1 = 0 ;
18144 int res1 = 0 ;
18145 int val2 ;
18146 int ecode2 = 0 ;
18147 PyObject * obj0 = 0 ;
18148 PyObject * obj1 = 0 ;
18149 char * kwnames[] = {
18150 (char *) "self",(char *) "sel", NULL
18151 };
18152
18153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18155 if (!SWIG_IsOK(res1)) {
18156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18157 }
18158 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18159 ecode2 = SWIG_AsVal_int(obj1, &val2);
18160 if (!SWIG_IsOK(ecode2)) {
18161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18162 }
18163 arg2 = static_cast< int >(val2);
18164 {
18165 PyThreadState* __tstate = wxPyBeginAllowThreads();
18166 (arg1)->SetSelection(arg2);
18167 wxPyEndAllowThreads(__tstate);
18168 if (PyErr_Occurred()) SWIG_fail;
18169 }
18170 resultobj = SWIG_Py_Void();
18171 return resultobj;
18172 fail:
18173 return NULL;
18174 }
18175
18176
18177 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18178 PyObject *obj;
18179 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18180 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18181 return SWIG_Py_Void();
18182 }
18183
18184 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18185 return SWIG_Python_InitShadowInstance(args);
18186 }
18187
18188 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18189 PyObject *resultobj = 0;
18190 wxWindow *arg1 = (wxWindow *) 0 ;
18191 wxString *arg2 = 0 ;
18192 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18193 wxString *arg3 = (wxString *) &arg3_defvalue ;
18194 wxString const &arg4_defvalue = wxPyEmptyString ;
18195 wxString *arg4 = (wxString *) &arg4_defvalue ;
18196 long arg5 = (long) wxTextEntryDialogStyle ;
18197 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18198 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18199 wxTextEntryDialog *result = 0 ;
18200 void *argp1 = 0 ;
18201 int res1 = 0 ;
18202 bool temp2 = false ;
18203 bool temp3 = false ;
18204 bool temp4 = false ;
18205 long val5 ;
18206 int ecode5 = 0 ;
18207 wxPoint temp6 ;
18208 PyObject * obj0 = 0 ;
18209 PyObject * obj1 = 0 ;
18210 PyObject * obj2 = 0 ;
18211 PyObject * obj3 = 0 ;
18212 PyObject * obj4 = 0 ;
18213 PyObject * obj5 = 0 ;
18214 char * kwnames[] = {
18215 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18216 };
18217
18218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18220 if (!SWIG_IsOK(res1)) {
18221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18222 }
18223 arg1 = reinterpret_cast< wxWindow * >(argp1);
18224 {
18225 arg2 = wxString_in_helper(obj1);
18226 if (arg2 == NULL) SWIG_fail;
18227 temp2 = true;
18228 }
18229 if (obj2) {
18230 {
18231 arg3 = wxString_in_helper(obj2);
18232 if (arg3 == NULL) SWIG_fail;
18233 temp3 = true;
18234 }
18235 }
18236 if (obj3) {
18237 {
18238 arg4 = wxString_in_helper(obj3);
18239 if (arg4 == NULL) SWIG_fail;
18240 temp4 = true;
18241 }
18242 }
18243 if (obj4) {
18244 ecode5 = SWIG_AsVal_long(obj4, &val5);
18245 if (!SWIG_IsOK(ecode5)) {
18246 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18247 }
18248 arg5 = static_cast< long >(val5);
18249 }
18250 if (obj5) {
18251 {
18252 arg6 = &temp6;
18253 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18254 }
18255 }
18256 {
18257 if (!wxPyCheckForApp()) SWIG_fail;
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18260 wxPyEndAllowThreads(__tstate);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 }
18263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18264 {
18265 if (temp2)
18266 delete arg2;
18267 }
18268 {
18269 if (temp3)
18270 delete arg3;
18271 }
18272 {
18273 if (temp4)
18274 delete arg4;
18275 }
18276 return resultobj;
18277 fail:
18278 {
18279 if (temp2)
18280 delete arg2;
18281 }
18282 {
18283 if (temp3)
18284 delete arg3;
18285 }
18286 {
18287 if (temp4)
18288 delete arg4;
18289 }
18290 return NULL;
18291 }
18292
18293
18294 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18295 PyObject *resultobj = 0;
18296 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18297 wxString result;
18298 void *argp1 = 0 ;
18299 int res1 = 0 ;
18300 PyObject *swig_obj[1] ;
18301
18302 if (!args) SWIG_fail;
18303 swig_obj[0] = args;
18304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18305 if (!SWIG_IsOK(res1)) {
18306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18307 }
18308 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18309 {
18310 PyThreadState* __tstate = wxPyBeginAllowThreads();
18311 result = (arg1)->GetValue();
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 {
18316 #if wxUSE_UNICODE
18317 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18318 #else
18319 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18320 #endif
18321 }
18322 return resultobj;
18323 fail:
18324 return NULL;
18325 }
18326
18327
18328 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18329 PyObject *resultobj = 0;
18330 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18331 wxString *arg2 = 0 ;
18332 void *argp1 = 0 ;
18333 int res1 = 0 ;
18334 bool temp2 = false ;
18335 PyObject * obj0 = 0 ;
18336 PyObject * obj1 = 0 ;
18337 char * kwnames[] = {
18338 (char *) "self",(char *) "value", NULL
18339 };
18340
18341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18343 if (!SWIG_IsOK(res1)) {
18344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18345 }
18346 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18347 {
18348 arg2 = wxString_in_helper(obj1);
18349 if (arg2 == NULL) SWIG_fail;
18350 temp2 = true;
18351 }
18352 {
18353 PyThreadState* __tstate = wxPyBeginAllowThreads();
18354 (arg1)->SetValue((wxString const &)*arg2);
18355 wxPyEndAllowThreads(__tstate);
18356 if (PyErr_Occurred()) SWIG_fail;
18357 }
18358 resultobj = SWIG_Py_Void();
18359 {
18360 if (temp2)
18361 delete arg2;
18362 }
18363 return resultobj;
18364 fail:
18365 {
18366 if (temp2)
18367 delete arg2;
18368 }
18369 return NULL;
18370 }
18371
18372
18373 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18374 PyObject *obj;
18375 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18376 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18377 return SWIG_Py_Void();
18378 }
18379
18380 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18381 return SWIG_Python_InitShadowInstance(args);
18382 }
18383
18384 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18385 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18386 return 1;
18387 }
18388
18389
18390 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18391 PyObject *pyobj = 0;
18392
18393 {
18394 #if wxUSE_UNICODE
18395 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18396 #else
18397 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18398 #endif
18399 }
18400 return pyobj;
18401 }
18402
18403
18404 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18405 PyObject *resultobj = 0;
18406 wxWindow *arg1 = (wxWindow *) 0 ;
18407 wxString *arg2 = 0 ;
18408 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18409 wxString *arg3 = (wxString *) &arg3_defvalue ;
18410 wxString const &arg4_defvalue = wxPyEmptyString ;
18411 wxString *arg4 = (wxString *) &arg4_defvalue ;
18412 long arg5 = (long) wxTextEntryDialogStyle ;
18413 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18414 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18415 wxPasswordEntryDialog *result = 0 ;
18416 void *argp1 = 0 ;
18417 int res1 = 0 ;
18418 bool temp2 = false ;
18419 bool temp3 = false ;
18420 bool temp4 = false ;
18421 long val5 ;
18422 int ecode5 = 0 ;
18423 wxPoint temp6 ;
18424 PyObject * obj0 = 0 ;
18425 PyObject * obj1 = 0 ;
18426 PyObject * obj2 = 0 ;
18427 PyObject * obj3 = 0 ;
18428 PyObject * obj4 = 0 ;
18429 PyObject * obj5 = 0 ;
18430 char * kwnames[] = {
18431 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18432 };
18433
18434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18436 if (!SWIG_IsOK(res1)) {
18437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18438 }
18439 arg1 = reinterpret_cast< wxWindow * >(argp1);
18440 {
18441 arg2 = wxString_in_helper(obj1);
18442 if (arg2 == NULL) SWIG_fail;
18443 temp2 = true;
18444 }
18445 if (obj2) {
18446 {
18447 arg3 = wxString_in_helper(obj2);
18448 if (arg3 == NULL) SWIG_fail;
18449 temp3 = true;
18450 }
18451 }
18452 if (obj3) {
18453 {
18454 arg4 = wxString_in_helper(obj3);
18455 if (arg4 == NULL) SWIG_fail;
18456 temp4 = true;
18457 }
18458 }
18459 if (obj4) {
18460 ecode5 = SWIG_AsVal_long(obj4, &val5);
18461 if (!SWIG_IsOK(ecode5)) {
18462 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18463 }
18464 arg5 = static_cast< long >(val5);
18465 }
18466 if (obj5) {
18467 {
18468 arg6 = &temp6;
18469 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18470 }
18471 }
18472 {
18473 PyThreadState* __tstate = wxPyBeginAllowThreads();
18474 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18479 {
18480 if (temp2)
18481 delete arg2;
18482 }
18483 {
18484 if (temp3)
18485 delete arg3;
18486 }
18487 {
18488 if (temp4)
18489 delete arg4;
18490 }
18491 return resultobj;
18492 fail:
18493 {
18494 if (temp2)
18495 delete arg2;
18496 }
18497 {
18498 if (temp3)
18499 delete arg3;
18500 }
18501 {
18502 if (temp4)
18503 delete arg4;
18504 }
18505 return NULL;
18506 }
18507
18508
18509 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18510 PyObject *obj;
18511 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18512 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18513 return SWIG_Py_Void();
18514 }
18515
18516 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18517 return SWIG_Python_InitShadowInstance(args);
18518 }
18519
18520 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj = 0;
18522 wxWindow *arg1 = (wxWindow *) 0 ;
18523 wxString *arg2 = 0 ;
18524 wxString *arg3 = 0 ;
18525 wxString *arg4 = 0 ;
18526 long arg5 ;
18527 long arg6 ;
18528 long arg7 ;
18529 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18530 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18531 wxNumberEntryDialog *result = 0 ;
18532 void *argp1 = 0 ;
18533 int res1 = 0 ;
18534 bool temp2 = false ;
18535 bool temp3 = false ;
18536 bool temp4 = false ;
18537 long val5 ;
18538 int ecode5 = 0 ;
18539 long val6 ;
18540 int ecode6 = 0 ;
18541 long val7 ;
18542 int ecode7 = 0 ;
18543 wxPoint temp8 ;
18544 PyObject * obj0 = 0 ;
18545 PyObject * obj1 = 0 ;
18546 PyObject * obj2 = 0 ;
18547 PyObject * obj3 = 0 ;
18548 PyObject * obj4 = 0 ;
18549 PyObject * obj5 = 0 ;
18550 PyObject * obj6 = 0 ;
18551 PyObject * obj7 = 0 ;
18552 char * kwnames[] = {
18553 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18554 };
18555
18556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18558 if (!SWIG_IsOK(res1)) {
18559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18560 }
18561 arg1 = reinterpret_cast< wxWindow * >(argp1);
18562 {
18563 arg2 = wxString_in_helper(obj1);
18564 if (arg2 == NULL) SWIG_fail;
18565 temp2 = true;
18566 }
18567 {
18568 arg3 = wxString_in_helper(obj2);
18569 if (arg3 == NULL) SWIG_fail;
18570 temp3 = true;
18571 }
18572 {
18573 arg4 = wxString_in_helper(obj3);
18574 if (arg4 == NULL) SWIG_fail;
18575 temp4 = true;
18576 }
18577 ecode5 = SWIG_AsVal_long(obj4, &val5);
18578 if (!SWIG_IsOK(ecode5)) {
18579 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18580 }
18581 arg5 = static_cast< long >(val5);
18582 ecode6 = SWIG_AsVal_long(obj5, &val6);
18583 if (!SWIG_IsOK(ecode6)) {
18584 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18585 }
18586 arg6 = static_cast< long >(val6);
18587 ecode7 = SWIG_AsVal_long(obj6, &val7);
18588 if (!SWIG_IsOK(ecode7)) {
18589 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18590 }
18591 arg7 = static_cast< long >(val7);
18592 if (obj7) {
18593 {
18594 arg8 = &temp8;
18595 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18596 }
18597 }
18598 {
18599 if (!wxPyCheckForApp()) SWIG_fail;
18600 PyThreadState* __tstate = wxPyBeginAllowThreads();
18601 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18602 wxPyEndAllowThreads(__tstate);
18603 if (PyErr_Occurred()) SWIG_fail;
18604 }
18605 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18606 {
18607 if (temp2)
18608 delete arg2;
18609 }
18610 {
18611 if (temp3)
18612 delete arg3;
18613 }
18614 {
18615 if (temp4)
18616 delete arg4;
18617 }
18618 return resultobj;
18619 fail:
18620 {
18621 if (temp2)
18622 delete arg2;
18623 }
18624 {
18625 if (temp3)
18626 delete arg3;
18627 }
18628 {
18629 if (temp4)
18630 delete arg4;
18631 }
18632 return NULL;
18633 }
18634
18635
18636 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18637 PyObject *resultobj = 0;
18638 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18639 long result;
18640 void *argp1 = 0 ;
18641 int res1 = 0 ;
18642 PyObject *swig_obj[1] ;
18643
18644 if (!args) SWIG_fail;
18645 swig_obj[0] = args;
18646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18647 if (!SWIG_IsOK(res1)) {
18648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18649 }
18650 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18651 {
18652 PyThreadState* __tstate = wxPyBeginAllowThreads();
18653 result = (long)(arg1)->GetValue();
18654 wxPyEndAllowThreads(__tstate);
18655 if (PyErr_Occurred()) SWIG_fail;
18656 }
18657 resultobj = SWIG_From_long(static_cast< long >(result));
18658 return resultobj;
18659 fail:
18660 return NULL;
18661 }
18662
18663
18664 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18665 PyObject *obj;
18666 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18667 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18668 return SWIG_Py_Void();
18669 }
18670
18671 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18672 return SWIG_Python_InitShadowInstance(args);
18673 }
18674
18675 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18676 PyObject *resultobj = 0;
18677 wxFontData *result = 0 ;
18678
18679 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 result = (wxFontData *)new wxFontData();
18683 wxPyEndAllowThreads(__tstate);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 }
18686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18687 return resultobj;
18688 fail:
18689 return NULL;
18690 }
18691
18692
18693 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18694 PyObject *resultobj = 0;
18695 wxFontData *arg1 = (wxFontData *) 0 ;
18696 void *argp1 = 0 ;
18697 int res1 = 0 ;
18698 PyObject *swig_obj[1] ;
18699
18700 if (!args) SWIG_fail;
18701 swig_obj[0] = args;
18702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18703 if (!SWIG_IsOK(res1)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18705 }
18706 arg1 = reinterpret_cast< wxFontData * >(argp1);
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 delete arg1;
18710
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 resultobj = SWIG_Py_Void();
18715 return resultobj;
18716 fail:
18717 return NULL;
18718 }
18719
18720
18721 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18722 PyObject *resultobj = 0;
18723 wxFontData *arg1 = (wxFontData *) 0 ;
18724 bool arg2 ;
18725 void *argp1 = 0 ;
18726 int res1 = 0 ;
18727 bool val2 ;
18728 int ecode2 = 0 ;
18729 PyObject * obj0 = 0 ;
18730 PyObject * obj1 = 0 ;
18731 char * kwnames[] = {
18732 (char *) "self",(char *) "enable", NULL
18733 };
18734
18735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18737 if (!SWIG_IsOK(res1)) {
18738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18739 }
18740 arg1 = reinterpret_cast< wxFontData * >(argp1);
18741 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18742 if (!SWIG_IsOK(ecode2)) {
18743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18744 }
18745 arg2 = static_cast< bool >(val2);
18746 {
18747 PyThreadState* __tstate = wxPyBeginAllowThreads();
18748 (arg1)->EnableEffects(arg2);
18749 wxPyEndAllowThreads(__tstate);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 }
18752 resultobj = SWIG_Py_Void();
18753 return resultobj;
18754 fail:
18755 return NULL;
18756 }
18757
18758
18759 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18760 PyObject *resultobj = 0;
18761 wxFontData *arg1 = (wxFontData *) 0 ;
18762 bool result;
18763 void *argp1 = 0 ;
18764 int res1 = 0 ;
18765 PyObject *swig_obj[1] ;
18766
18767 if (!args) SWIG_fail;
18768 swig_obj[0] = args;
18769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18770 if (!SWIG_IsOK(res1)) {
18771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18772 }
18773 arg1 = reinterpret_cast< wxFontData * >(argp1);
18774 {
18775 PyThreadState* __tstate = wxPyBeginAllowThreads();
18776 result = (bool)(arg1)->GetAllowSymbols();
18777 wxPyEndAllowThreads(__tstate);
18778 if (PyErr_Occurred()) SWIG_fail;
18779 }
18780 {
18781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18782 }
18783 return resultobj;
18784 fail:
18785 return NULL;
18786 }
18787
18788
18789 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18790 PyObject *resultobj = 0;
18791 wxFontData *arg1 = (wxFontData *) 0 ;
18792 wxColour result;
18793 void *argp1 = 0 ;
18794 int res1 = 0 ;
18795 PyObject *swig_obj[1] ;
18796
18797 if (!args) SWIG_fail;
18798 swig_obj[0] = args;
18799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18800 if (!SWIG_IsOK(res1)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18802 }
18803 arg1 = reinterpret_cast< wxFontData * >(argp1);
18804 {
18805 PyThreadState* __tstate = wxPyBeginAllowThreads();
18806 result = (arg1)->GetColour();
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18811 return resultobj;
18812 fail:
18813 return NULL;
18814 }
18815
18816
18817 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18818 PyObject *resultobj = 0;
18819 wxFontData *arg1 = (wxFontData *) 0 ;
18820 wxFont result;
18821 void *argp1 = 0 ;
18822 int res1 = 0 ;
18823 PyObject *swig_obj[1] ;
18824
18825 if (!args) SWIG_fail;
18826 swig_obj[0] = args;
18827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18828 if (!SWIG_IsOK(res1)) {
18829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18830 }
18831 arg1 = reinterpret_cast< wxFontData * >(argp1);
18832 {
18833 PyThreadState* __tstate = wxPyBeginAllowThreads();
18834 result = (arg1)->GetChosenFont();
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18839 return resultobj;
18840 fail:
18841 return NULL;
18842 }
18843
18844
18845 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18846 PyObject *resultobj = 0;
18847 wxFontData *arg1 = (wxFontData *) 0 ;
18848 bool result;
18849 void *argp1 = 0 ;
18850 int res1 = 0 ;
18851 PyObject *swig_obj[1] ;
18852
18853 if (!args) SWIG_fail;
18854 swig_obj[0] = args;
18855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18856 if (!SWIG_IsOK(res1)) {
18857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18858 }
18859 arg1 = reinterpret_cast< wxFontData * >(argp1);
18860 {
18861 PyThreadState* __tstate = wxPyBeginAllowThreads();
18862 result = (bool)(arg1)->GetEnableEffects();
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 {
18867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18868 }
18869 return resultobj;
18870 fail:
18871 return NULL;
18872 }
18873
18874
18875 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18876 PyObject *resultobj = 0;
18877 wxFontData *arg1 = (wxFontData *) 0 ;
18878 wxFont result;
18879 void *argp1 = 0 ;
18880 int res1 = 0 ;
18881 PyObject *swig_obj[1] ;
18882
18883 if (!args) SWIG_fail;
18884 swig_obj[0] = args;
18885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18886 if (!SWIG_IsOK(res1)) {
18887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18888 }
18889 arg1 = reinterpret_cast< wxFontData * >(argp1);
18890 {
18891 PyThreadState* __tstate = wxPyBeginAllowThreads();
18892 result = (arg1)->GetInitialFont();
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18897 return resultobj;
18898 fail:
18899 return NULL;
18900 }
18901
18902
18903 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18904 PyObject *resultobj = 0;
18905 wxFontData *arg1 = (wxFontData *) 0 ;
18906 bool result;
18907 void *argp1 = 0 ;
18908 int res1 = 0 ;
18909 PyObject *swig_obj[1] ;
18910
18911 if (!args) SWIG_fail;
18912 swig_obj[0] = args;
18913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18914 if (!SWIG_IsOK(res1)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18916 }
18917 arg1 = reinterpret_cast< wxFontData * >(argp1);
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 result = (bool)(arg1)->GetShowHelp();
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 {
18925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18926 }
18927 return resultobj;
18928 fail:
18929 return NULL;
18930 }
18931
18932
18933 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18934 PyObject *resultobj = 0;
18935 wxFontData *arg1 = (wxFontData *) 0 ;
18936 bool arg2 ;
18937 void *argp1 = 0 ;
18938 int res1 = 0 ;
18939 bool val2 ;
18940 int ecode2 = 0 ;
18941 PyObject * obj0 = 0 ;
18942 PyObject * obj1 = 0 ;
18943 char * kwnames[] = {
18944 (char *) "self",(char *) "allowSymbols", NULL
18945 };
18946
18947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18949 if (!SWIG_IsOK(res1)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18951 }
18952 arg1 = reinterpret_cast< wxFontData * >(argp1);
18953 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18954 if (!SWIG_IsOK(ecode2)) {
18955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18956 }
18957 arg2 = static_cast< bool >(val2);
18958 {
18959 PyThreadState* __tstate = wxPyBeginAllowThreads();
18960 (arg1)->SetAllowSymbols(arg2);
18961 wxPyEndAllowThreads(__tstate);
18962 if (PyErr_Occurred()) SWIG_fail;
18963 }
18964 resultobj = SWIG_Py_Void();
18965 return resultobj;
18966 fail:
18967 return NULL;
18968 }
18969
18970
18971 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj = 0;
18973 wxFontData *arg1 = (wxFontData *) 0 ;
18974 wxFont *arg2 = 0 ;
18975 void *argp1 = 0 ;
18976 int res1 = 0 ;
18977 void *argp2 = 0 ;
18978 int res2 = 0 ;
18979 PyObject * obj0 = 0 ;
18980 PyObject * obj1 = 0 ;
18981 char * kwnames[] = {
18982 (char *) "self",(char *) "font", NULL
18983 };
18984
18985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18987 if (!SWIG_IsOK(res1)) {
18988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18989 }
18990 arg1 = reinterpret_cast< wxFontData * >(argp1);
18991 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18992 if (!SWIG_IsOK(res2)) {
18993 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18994 }
18995 if (!argp2) {
18996 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18997 }
18998 arg2 = reinterpret_cast< wxFont * >(argp2);
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 (arg1)->SetChosenFont((wxFont const &)*arg2);
19002 wxPyEndAllowThreads(__tstate);
19003 if (PyErr_Occurred()) SWIG_fail;
19004 }
19005 resultobj = SWIG_Py_Void();
19006 return resultobj;
19007 fail:
19008 return NULL;
19009 }
19010
19011
19012 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19013 PyObject *resultobj = 0;
19014 wxFontData *arg1 = (wxFontData *) 0 ;
19015 wxColour *arg2 = 0 ;
19016 void *argp1 = 0 ;
19017 int res1 = 0 ;
19018 wxColour temp2 ;
19019 PyObject * obj0 = 0 ;
19020 PyObject * obj1 = 0 ;
19021 char * kwnames[] = {
19022 (char *) "self",(char *) "colour", NULL
19023 };
19024
19025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19027 if (!SWIG_IsOK(res1)) {
19028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19029 }
19030 arg1 = reinterpret_cast< wxFontData * >(argp1);
19031 {
19032 arg2 = &temp2;
19033 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19034 }
19035 {
19036 PyThreadState* __tstate = wxPyBeginAllowThreads();
19037 (arg1)->SetColour((wxColour const &)*arg2);
19038 wxPyEndAllowThreads(__tstate);
19039 if (PyErr_Occurred()) SWIG_fail;
19040 }
19041 resultobj = SWIG_Py_Void();
19042 return resultobj;
19043 fail:
19044 return NULL;
19045 }
19046
19047
19048 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19049 PyObject *resultobj = 0;
19050 wxFontData *arg1 = (wxFontData *) 0 ;
19051 wxFont *arg2 = 0 ;
19052 void *argp1 = 0 ;
19053 int res1 = 0 ;
19054 void *argp2 = 0 ;
19055 int res2 = 0 ;
19056 PyObject * obj0 = 0 ;
19057 PyObject * obj1 = 0 ;
19058 char * kwnames[] = {
19059 (char *) "self",(char *) "font", NULL
19060 };
19061
19062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19064 if (!SWIG_IsOK(res1)) {
19065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19066 }
19067 arg1 = reinterpret_cast< wxFontData * >(argp1);
19068 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19069 if (!SWIG_IsOK(res2)) {
19070 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19071 }
19072 if (!argp2) {
19073 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19074 }
19075 arg2 = reinterpret_cast< wxFont * >(argp2);
19076 {
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 (arg1)->SetInitialFont((wxFont const &)*arg2);
19079 wxPyEndAllowThreads(__tstate);
19080 if (PyErr_Occurred()) SWIG_fail;
19081 }
19082 resultobj = SWIG_Py_Void();
19083 return resultobj;
19084 fail:
19085 return NULL;
19086 }
19087
19088
19089 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19090 PyObject *resultobj = 0;
19091 wxFontData *arg1 = (wxFontData *) 0 ;
19092 int arg2 ;
19093 int arg3 ;
19094 void *argp1 = 0 ;
19095 int res1 = 0 ;
19096 int val2 ;
19097 int ecode2 = 0 ;
19098 int val3 ;
19099 int ecode3 = 0 ;
19100 PyObject * obj0 = 0 ;
19101 PyObject * obj1 = 0 ;
19102 PyObject * obj2 = 0 ;
19103 char * kwnames[] = {
19104 (char *) "self",(char *) "min",(char *) "max", NULL
19105 };
19106
19107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19109 if (!SWIG_IsOK(res1)) {
19110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19111 }
19112 arg1 = reinterpret_cast< wxFontData * >(argp1);
19113 ecode2 = SWIG_AsVal_int(obj1, &val2);
19114 if (!SWIG_IsOK(ecode2)) {
19115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19116 }
19117 arg2 = static_cast< int >(val2);
19118 ecode3 = SWIG_AsVal_int(obj2, &val3);
19119 if (!SWIG_IsOK(ecode3)) {
19120 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19121 }
19122 arg3 = static_cast< int >(val3);
19123 {
19124 PyThreadState* __tstate = wxPyBeginAllowThreads();
19125 (arg1)->SetRange(arg2,arg3);
19126 wxPyEndAllowThreads(__tstate);
19127 if (PyErr_Occurred()) SWIG_fail;
19128 }
19129 resultobj = SWIG_Py_Void();
19130 return resultobj;
19131 fail:
19132 return NULL;
19133 }
19134
19135
19136 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19137 PyObject *resultobj = 0;
19138 wxFontData *arg1 = (wxFontData *) 0 ;
19139 bool arg2 ;
19140 void *argp1 = 0 ;
19141 int res1 = 0 ;
19142 bool val2 ;
19143 int ecode2 = 0 ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 char * kwnames[] = {
19147 (char *) "self",(char *) "showHelp", NULL
19148 };
19149
19150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19152 if (!SWIG_IsOK(res1)) {
19153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19154 }
19155 arg1 = reinterpret_cast< wxFontData * >(argp1);
19156 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19157 if (!SWIG_IsOK(ecode2)) {
19158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19159 }
19160 arg2 = static_cast< bool >(val2);
19161 {
19162 PyThreadState* __tstate = wxPyBeginAllowThreads();
19163 (arg1)->SetShowHelp(arg2);
19164 wxPyEndAllowThreads(__tstate);
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
19167 resultobj = SWIG_Py_Void();
19168 return resultobj;
19169 fail:
19170 return NULL;
19171 }
19172
19173
19174 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19175 PyObject *obj;
19176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19177 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19178 return SWIG_Py_Void();
19179 }
19180
19181 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19182 return SWIG_Python_InitShadowInstance(args);
19183 }
19184
19185 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19186 PyObject *resultobj = 0;
19187 wxWindow *arg1 = (wxWindow *) 0 ;
19188 wxFontData *arg2 = 0 ;
19189 wxFontDialog *result = 0 ;
19190 void *argp1 = 0 ;
19191 int res1 = 0 ;
19192 void *argp2 = 0 ;
19193 int res2 = 0 ;
19194 PyObject * obj0 = 0 ;
19195 PyObject * obj1 = 0 ;
19196 char * kwnames[] = {
19197 (char *) "parent",(char *) "data", NULL
19198 };
19199
19200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19202 if (!SWIG_IsOK(res1)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19204 }
19205 arg1 = reinterpret_cast< wxWindow * >(argp1);
19206 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19207 if (!SWIG_IsOK(res2)) {
19208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19209 }
19210 if (!argp2) {
19211 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19212 }
19213 arg2 = reinterpret_cast< wxFontData * >(argp2);
19214 {
19215 if (!wxPyCheckForApp()) SWIG_fail;
19216 PyThreadState* __tstate = wxPyBeginAllowThreads();
19217 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19222 return resultobj;
19223 fail:
19224 return NULL;
19225 }
19226
19227
19228 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19229 PyObject *resultobj = 0;
19230 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19231 wxFontData *result = 0 ;
19232 void *argp1 = 0 ;
19233 int res1 = 0 ;
19234 PyObject *swig_obj[1] ;
19235
19236 if (!args) SWIG_fail;
19237 swig_obj[0] = args;
19238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19239 if (!SWIG_IsOK(res1)) {
19240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19241 }
19242 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 {
19246 wxFontData &_result_ref = (arg1)->GetFontData();
19247 result = (wxFontData *) &_result_ref;
19248 }
19249 wxPyEndAllowThreads(__tstate);
19250 if (PyErr_Occurred()) SWIG_fail;
19251 }
19252 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19253 return resultobj;
19254 fail:
19255 return NULL;
19256 }
19257
19258
19259 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19260 PyObject *obj;
19261 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19262 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19263 return SWIG_Py_Void();
19264 }
19265
19266 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19267 return SWIG_Python_InitShadowInstance(args);
19268 }
19269
19270 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj = 0;
19272 wxWindow *arg1 = (wxWindow *) NULL ;
19273 wxFont const &arg2_defvalue = wxNullFont ;
19274 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19275 wxString const &arg3_defvalue = wxPyEmptyString ;
19276 wxString *arg3 = (wxString *) &arg3_defvalue ;
19277 wxFont result;
19278 void *argp1 = 0 ;
19279 int res1 = 0 ;
19280 void *argp2 = 0 ;
19281 int res2 = 0 ;
19282 bool temp3 = false ;
19283 PyObject * obj0 = 0 ;
19284 PyObject * obj1 = 0 ;
19285 PyObject * obj2 = 0 ;
19286 char * kwnames[] = {
19287 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19288 };
19289
19290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19291 if (obj0) {
19292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19293 if (!SWIG_IsOK(res1)) {
19294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19295 }
19296 arg1 = reinterpret_cast< wxWindow * >(argp1);
19297 }
19298 if (obj1) {
19299 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19300 if (!SWIG_IsOK(res2)) {
19301 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19302 }
19303 if (!argp2) {
19304 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19305 }
19306 arg2 = reinterpret_cast< wxFont * >(argp2);
19307 }
19308 if (obj2) {
19309 {
19310 arg3 = wxString_in_helper(obj2);
19311 if (arg3 == NULL) SWIG_fail;
19312 temp3 = true;
19313 }
19314 }
19315 {
19316 PyThreadState* __tstate = wxPyBeginAllowThreads();
19317 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19322 {
19323 if (temp3)
19324 delete arg3;
19325 }
19326 return resultobj;
19327 fail:
19328 {
19329 if (temp3)
19330 delete arg3;
19331 }
19332 return NULL;
19333 }
19334
19335
19336 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19337 PyObject *resultobj = 0;
19338 wxWindow *arg1 = (wxWindow *) 0 ;
19339 wxString *arg2 = 0 ;
19340 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19341 wxString *arg3 = (wxString *) &arg3_defvalue ;
19342 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19343 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19344 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19345 wxMessageDialog *result = 0 ;
19346 void *argp1 = 0 ;
19347 int res1 = 0 ;
19348 bool temp2 = false ;
19349 bool temp3 = false ;
19350 long val4 ;
19351 int ecode4 = 0 ;
19352 wxPoint temp5 ;
19353 PyObject * obj0 = 0 ;
19354 PyObject * obj1 = 0 ;
19355 PyObject * obj2 = 0 ;
19356 PyObject * obj3 = 0 ;
19357 PyObject * obj4 = 0 ;
19358 char * kwnames[] = {
19359 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19360 };
19361
19362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19364 if (!SWIG_IsOK(res1)) {
19365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19366 }
19367 arg1 = reinterpret_cast< wxWindow * >(argp1);
19368 {
19369 arg2 = wxString_in_helper(obj1);
19370 if (arg2 == NULL) SWIG_fail;
19371 temp2 = true;
19372 }
19373 if (obj2) {
19374 {
19375 arg3 = wxString_in_helper(obj2);
19376 if (arg3 == NULL) SWIG_fail;
19377 temp3 = true;
19378 }
19379 }
19380 if (obj3) {
19381 ecode4 = SWIG_AsVal_long(obj3, &val4);
19382 if (!SWIG_IsOK(ecode4)) {
19383 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19384 }
19385 arg4 = static_cast< long >(val4);
19386 }
19387 if (obj4) {
19388 {
19389 arg5 = &temp5;
19390 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19391 }
19392 }
19393 {
19394 if (!wxPyCheckForApp()) SWIG_fail;
19395 PyThreadState* __tstate = wxPyBeginAllowThreads();
19396 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19397 wxPyEndAllowThreads(__tstate);
19398 if (PyErr_Occurred()) SWIG_fail;
19399 }
19400 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19401 {
19402 if (temp2)
19403 delete arg2;
19404 }
19405 {
19406 if (temp3)
19407 delete arg3;
19408 }
19409 return resultobj;
19410 fail:
19411 {
19412 if (temp2)
19413 delete arg2;
19414 }
19415 {
19416 if (temp3)
19417 delete arg3;
19418 }
19419 return NULL;
19420 }
19421
19422
19423 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19424 PyObject *obj;
19425 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19426 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19427 return SWIG_Py_Void();
19428 }
19429
19430 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19431 return SWIG_Python_InitShadowInstance(args);
19432 }
19433
19434 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19435 PyObject *resultobj = 0;
19436 wxString *arg1 = 0 ;
19437 wxString *arg2 = 0 ;
19438 int arg3 = (int) 100 ;
19439 wxWindow *arg4 = (wxWindow *) NULL ;
19440 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19441 wxProgressDialog *result = 0 ;
19442 bool temp1 = false ;
19443 bool temp2 = false ;
19444 int val3 ;
19445 int ecode3 = 0 ;
19446 void *argp4 = 0 ;
19447 int res4 = 0 ;
19448 int val5 ;
19449 int ecode5 = 0 ;
19450 PyObject * obj0 = 0 ;
19451 PyObject * obj1 = 0 ;
19452 PyObject * obj2 = 0 ;
19453 PyObject * obj3 = 0 ;
19454 PyObject * obj4 = 0 ;
19455 char * kwnames[] = {
19456 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19457 };
19458
19459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19460 {
19461 arg1 = wxString_in_helper(obj0);
19462 if (arg1 == NULL) SWIG_fail;
19463 temp1 = true;
19464 }
19465 {
19466 arg2 = wxString_in_helper(obj1);
19467 if (arg2 == NULL) SWIG_fail;
19468 temp2 = true;
19469 }
19470 if (obj2) {
19471 ecode3 = SWIG_AsVal_int(obj2, &val3);
19472 if (!SWIG_IsOK(ecode3)) {
19473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19474 }
19475 arg3 = static_cast< int >(val3);
19476 }
19477 if (obj3) {
19478 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19479 if (!SWIG_IsOK(res4)) {
19480 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19481 }
19482 arg4 = reinterpret_cast< wxWindow * >(argp4);
19483 }
19484 if (obj4) {
19485 ecode5 = SWIG_AsVal_int(obj4, &val5);
19486 if (!SWIG_IsOK(ecode5)) {
19487 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19488 }
19489 arg5 = static_cast< int >(val5);
19490 }
19491 {
19492 if (!wxPyCheckForApp()) SWIG_fail;
19493 PyThreadState* __tstate = wxPyBeginAllowThreads();
19494 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19495 wxPyEndAllowThreads(__tstate);
19496 if (PyErr_Occurred()) SWIG_fail;
19497 }
19498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19499 {
19500 if (temp1)
19501 delete arg1;
19502 }
19503 {
19504 if (temp2)
19505 delete arg2;
19506 }
19507 return resultobj;
19508 fail:
19509 {
19510 if (temp1)
19511 delete arg1;
19512 }
19513 {
19514 if (temp2)
19515 delete arg2;
19516 }
19517 return NULL;
19518 }
19519
19520
19521 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19522 PyObject *resultobj = 0;
19523 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19524 int arg2 ;
19525 wxString const &arg3_defvalue = wxPyEmptyString ;
19526 wxString *arg3 = (wxString *) &arg3_defvalue ;
19527 bool *arg4 = (bool *) 0 ;
19528 bool result;
19529 void *argp1 = 0 ;
19530 int res1 = 0 ;
19531 int val2 ;
19532 int ecode2 = 0 ;
19533 bool temp3 = false ;
19534 bool temp4 ;
19535 int res4 = SWIG_TMPOBJ ;
19536 PyObject * obj0 = 0 ;
19537 PyObject * obj1 = 0 ;
19538 PyObject * obj2 = 0 ;
19539 char * kwnames[] = {
19540 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19541 };
19542
19543 arg4 = &temp4;
19544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19546 if (!SWIG_IsOK(res1)) {
19547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19548 }
19549 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19550 ecode2 = SWIG_AsVal_int(obj1, &val2);
19551 if (!SWIG_IsOK(ecode2)) {
19552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19553 }
19554 arg2 = static_cast< int >(val2);
19555 if (obj2) {
19556 {
19557 arg3 = wxString_in_helper(obj2);
19558 if (arg3 == NULL) SWIG_fail;
19559 temp3 = true;
19560 }
19561 }
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 {
19569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19570 }
19571 if (SWIG_IsTmpObj(res4)) {
19572 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19573 } else {
19574 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19575 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19576 }
19577 {
19578 if (temp3)
19579 delete arg3;
19580 }
19581 return resultobj;
19582 fail:
19583 {
19584 if (temp3)
19585 delete arg3;
19586 }
19587 return NULL;
19588 }
19589
19590
19591 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19592 PyObject *resultobj = 0;
19593 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19594 wxString const &arg2_defvalue = wxPyEmptyString ;
19595 wxString *arg2 = (wxString *) &arg2_defvalue ;
19596 bool *arg3 = (bool *) 0 ;
19597 bool result;
19598 void *argp1 = 0 ;
19599 int res1 = 0 ;
19600 bool temp2 = false ;
19601 bool temp3 ;
19602 int res3 = SWIG_TMPOBJ ;
19603 PyObject * obj0 = 0 ;
19604 PyObject * obj1 = 0 ;
19605 char * kwnames[] = {
19606 (char *) "self",(char *) "newmsg", NULL
19607 };
19608
19609 arg3 = &temp3;
19610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19612 if (!SWIG_IsOK(res1)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19614 }
19615 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19616 if (obj1) {
19617 {
19618 arg2 = wxString_in_helper(obj1);
19619 if (arg2 == NULL) SWIG_fail;
19620 temp2 = true;
19621 }
19622 }
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 {
19630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19631 }
19632 if (SWIG_IsTmpObj(res3)) {
19633 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19634 } else {
19635 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19636 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19637 }
19638 {
19639 if (temp2)
19640 delete arg2;
19641 }
19642 return resultobj;
19643 fail:
19644 {
19645 if (temp2)
19646 delete arg2;
19647 }
19648 return NULL;
19649 }
19650
19651
19652 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19653 PyObject *resultobj = 0;
19654 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19655 void *argp1 = 0 ;
19656 int res1 = 0 ;
19657 PyObject *swig_obj[1] ;
19658
19659 if (!args) SWIG_fail;
19660 swig_obj[0] = args;
19661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19662 if (!SWIG_IsOK(res1)) {
19663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19664 }
19665 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19666 {
19667 PyThreadState* __tstate = wxPyBeginAllowThreads();
19668 (arg1)->Resume();
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 resultobj = SWIG_Py_Void();
19673 return resultobj;
19674 fail:
19675 return NULL;
19676 }
19677
19678
19679 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19680 PyObject *obj;
19681 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19682 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19683 return SWIG_Py_Void();
19684 }
19685
19686 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19687 return SWIG_Python_InitShadowInstance(args);
19688 }
19689
19690 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj = 0;
19692 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19693 int arg2 = (int) 0 ;
19694 wxFindDialogEvent *result = 0 ;
19695 int val1 ;
19696 int ecode1 = 0 ;
19697 int val2 ;
19698 int ecode2 = 0 ;
19699 PyObject * obj0 = 0 ;
19700 PyObject * obj1 = 0 ;
19701 char * kwnames[] = {
19702 (char *) "commandType",(char *) "id", NULL
19703 };
19704
19705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19706 if (obj0) {
19707 ecode1 = SWIG_AsVal_int(obj0, &val1);
19708 if (!SWIG_IsOK(ecode1)) {
19709 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19710 }
19711 arg1 = static_cast< wxEventType >(val1);
19712 }
19713 if (obj1) {
19714 ecode2 = SWIG_AsVal_int(obj1, &val2);
19715 if (!SWIG_IsOK(ecode2)) {
19716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19717 }
19718 arg2 = static_cast< int >(val2);
19719 }
19720 {
19721 PyThreadState* __tstate = wxPyBeginAllowThreads();
19722 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19723 wxPyEndAllowThreads(__tstate);
19724 if (PyErr_Occurred()) SWIG_fail;
19725 }
19726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19727 return resultobj;
19728 fail:
19729 return NULL;
19730 }
19731
19732
19733 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19734 PyObject *resultobj = 0;
19735 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19736 int result;
19737 void *argp1 = 0 ;
19738 int res1 = 0 ;
19739 PyObject *swig_obj[1] ;
19740
19741 if (!args) SWIG_fail;
19742 swig_obj[0] = args;
19743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19744 if (!SWIG_IsOK(res1)) {
19745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19746 }
19747 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19748 {
19749 PyThreadState* __tstate = wxPyBeginAllowThreads();
19750 result = (int)(arg1)->GetFlags();
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 resultobj = SWIG_From_int(static_cast< int >(result));
19755 return resultobj;
19756 fail:
19757 return NULL;
19758 }
19759
19760
19761 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19762 PyObject *resultobj = 0;
19763 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19764 wxString *result = 0 ;
19765 void *argp1 = 0 ;
19766 int res1 = 0 ;
19767 PyObject *swig_obj[1] ;
19768
19769 if (!args) SWIG_fail;
19770 swig_obj[0] = args;
19771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19772 if (!SWIG_IsOK(res1)) {
19773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19774 }
19775 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 {
19779 wxString const &_result_ref = (arg1)->GetFindString();
19780 result = (wxString *) &_result_ref;
19781 }
19782 wxPyEndAllowThreads(__tstate);
19783 if (PyErr_Occurred()) SWIG_fail;
19784 }
19785 {
19786 #if wxUSE_UNICODE
19787 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19788 #else
19789 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19790 #endif
19791 }
19792 return resultobj;
19793 fail:
19794 return NULL;
19795 }
19796
19797
19798 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19799 PyObject *resultobj = 0;
19800 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19801 wxString *result = 0 ;
19802 void *argp1 = 0 ;
19803 int res1 = 0 ;
19804 PyObject *swig_obj[1] ;
19805
19806 if (!args) SWIG_fail;
19807 swig_obj[0] = args;
19808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19809 if (!SWIG_IsOK(res1)) {
19810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19811 }
19812 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 {
19816 wxString const &_result_ref = (arg1)->GetReplaceString();
19817 result = (wxString *) &_result_ref;
19818 }
19819 wxPyEndAllowThreads(__tstate);
19820 if (PyErr_Occurred()) SWIG_fail;
19821 }
19822 {
19823 #if wxUSE_UNICODE
19824 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19825 #else
19826 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19827 #endif
19828 }
19829 return resultobj;
19830 fail:
19831 return NULL;
19832 }
19833
19834
19835 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19836 PyObject *resultobj = 0;
19837 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19838 wxFindReplaceDialog *result = 0 ;
19839 void *argp1 = 0 ;
19840 int res1 = 0 ;
19841 PyObject *swig_obj[1] ;
19842
19843 if (!args) SWIG_fail;
19844 swig_obj[0] = args;
19845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19846 if (!SWIG_IsOK(res1)) {
19847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19848 }
19849 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19857 return resultobj;
19858 fail:
19859 return NULL;
19860 }
19861
19862
19863 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19864 PyObject *resultobj = 0;
19865 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19866 int arg2 ;
19867 void *argp1 = 0 ;
19868 int res1 = 0 ;
19869 int val2 ;
19870 int ecode2 = 0 ;
19871 PyObject * obj0 = 0 ;
19872 PyObject * obj1 = 0 ;
19873 char * kwnames[] = {
19874 (char *) "self",(char *) "flags", NULL
19875 };
19876
19877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19879 if (!SWIG_IsOK(res1)) {
19880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19881 }
19882 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19883 ecode2 = SWIG_AsVal_int(obj1, &val2);
19884 if (!SWIG_IsOK(ecode2)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19886 }
19887 arg2 = static_cast< int >(val2);
19888 {
19889 PyThreadState* __tstate = wxPyBeginAllowThreads();
19890 (arg1)->SetFlags(arg2);
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 resultobj = SWIG_Py_Void();
19895 return resultobj;
19896 fail:
19897 return NULL;
19898 }
19899
19900
19901 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19902 PyObject *resultobj = 0;
19903 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19904 wxString *arg2 = 0 ;
19905 void *argp1 = 0 ;
19906 int res1 = 0 ;
19907 bool temp2 = false ;
19908 PyObject * obj0 = 0 ;
19909 PyObject * obj1 = 0 ;
19910 char * kwnames[] = {
19911 (char *) "self",(char *) "str", NULL
19912 };
19913
19914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19916 if (!SWIG_IsOK(res1)) {
19917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19918 }
19919 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19920 {
19921 arg2 = wxString_in_helper(obj1);
19922 if (arg2 == NULL) SWIG_fail;
19923 temp2 = true;
19924 }
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 (arg1)->SetFindString((wxString const &)*arg2);
19928 wxPyEndAllowThreads(__tstate);
19929 if (PyErr_Occurred()) SWIG_fail;
19930 }
19931 resultobj = SWIG_Py_Void();
19932 {
19933 if (temp2)
19934 delete arg2;
19935 }
19936 return resultobj;
19937 fail:
19938 {
19939 if (temp2)
19940 delete arg2;
19941 }
19942 return NULL;
19943 }
19944
19945
19946 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19947 PyObject *resultobj = 0;
19948 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19949 wxString *arg2 = 0 ;
19950 void *argp1 = 0 ;
19951 int res1 = 0 ;
19952 bool temp2 = false ;
19953 PyObject * obj0 = 0 ;
19954 PyObject * obj1 = 0 ;
19955 char * kwnames[] = {
19956 (char *) "self",(char *) "str", NULL
19957 };
19958
19959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19961 if (!SWIG_IsOK(res1)) {
19962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19963 }
19964 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19965 {
19966 arg2 = wxString_in_helper(obj1);
19967 if (arg2 == NULL) SWIG_fail;
19968 temp2 = true;
19969 }
19970 {
19971 PyThreadState* __tstate = wxPyBeginAllowThreads();
19972 (arg1)->SetReplaceString((wxString const &)*arg2);
19973 wxPyEndAllowThreads(__tstate);
19974 if (PyErr_Occurred()) SWIG_fail;
19975 }
19976 resultobj = SWIG_Py_Void();
19977 {
19978 if (temp2)
19979 delete arg2;
19980 }
19981 return resultobj;
19982 fail:
19983 {
19984 if (temp2)
19985 delete arg2;
19986 }
19987 return NULL;
19988 }
19989
19990
19991 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19992 PyObject *obj;
19993 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19994 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19995 return SWIG_Py_Void();
19996 }
19997
19998 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19999 return SWIG_Python_InitShadowInstance(args);
20000 }
20001
20002 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20003 PyObject *resultobj = 0;
20004 int arg1 = (int) 0 ;
20005 wxFindReplaceData *result = 0 ;
20006 int val1 ;
20007 int ecode1 = 0 ;
20008 PyObject * obj0 = 0 ;
20009 char * kwnames[] = {
20010 (char *) "flags", NULL
20011 };
20012
20013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20014 if (obj0) {
20015 ecode1 = SWIG_AsVal_int(obj0, &val1);
20016 if (!SWIG_IsOK(ecode1)) {
20017 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20018 }
20019 arg1 = static_cast< int >(val1);
20020 }
20021 {
20022 PyThreadState* __tstate = wxPyBeginAllowThreads();
20023 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20028 return resultobj;
20029 fail:
20030 return NULL;
20031 }
20032
20033
20034 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20035 PyObject *resultobj = 0;
20036 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20037 void *argp1 = 0 ;
20038 int res1 = 0 ;
20039 PyObject *swig_obj[1] ;
20040
20041 if (!args) SWIG_fail;
20042 swig_obj[0] = args;
20043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20044 if (!SWIG_IsOK(res1)) {
20045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20046 }
20047 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20048 {
20049 PyThreadState* __tstate = wxPyBeginAllowThreads();
20050 delete arg1;
20051
20052 wxPyEndAllowThreads(__tstate);
20053 if (PyErr_Occurred()) SWIG_fail;
20054 }
20055 resultobj = SWIG_Py_Void();
20056 return resultobj;
20057 fail:
20058 return NULL;
20059 }
20060
20061
20062 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20063 PyObject *resultobj = 0;
20064 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20065 wxString *result = 0 ;
20066 void *argp1 = 0 ;
20067 int res1 = 0 ;
20068 PyObject *swig_obj[1] ;
20069
20070 if (!args) SWIG_fail;
20071 swig_obj[0] = args;
20072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20073 if (!SWIG_IsOK(res1)) {
20074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20075 }
20076 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
20079 {
20080 wxString const &_result_ref = (arg1)->GetFindString();
20081 result = (wxString *) &_result_ref;
20082 }
20083 wxPyEndAllowThreads(__tstate);
20084 if (PyErr_Occurred()) SWIG_fail;
20085 }
20086 {
20087 #if wxUSE_UNICODE
20088 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20089 #else
20090 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20091 #endif
20092 }
20093 return resultobj;
20094 fail:
20095 return NULL;
20096 }
20097
20098
20099 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20100 PyObject *resultobj = 0;
20101 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20102 wxString *result = 0 ;
20103 void *argp1 = 0 ;
20104 int res1 = 0 ;
20105 PyObject *swig_obj[1] ;
20106
20107 if (!args) SWIG_fail;
20108 swig_obj[0] = args;
20109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20110 if (!SWIG_IsOK(res1)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20112 }
20113 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20114 {
20115 PyThreadState* __tstate = wxPyBeginAllowThreads();
20116 {
20117 wxString const &_result_ref = (arg1)->GetReplaceString();
20118 result = (wxString *) &_result_ref;
20119 }
20120 wxPyEndAllowThreads(__tstate);
20121 if (PyErr_Occurred()) SWIG_fail;
20122 }
20123 {
20124 #if wxUSE_UNICODE
20125 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20126 #else
20127 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20128 #endif
20129 }
20130 return resultobj;
20131 fail:
20132 return NULL;
20133 }
20134
20135
20136 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20137 PyObject *resultobj = 0;
20138 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20139 int result;
20140 void *argp1 = 0 ;
20141 int res1 = 0 ;
20142 PyObject *swig_obj[1] ;
20143
20144 if (!args) SWIG_fail;
20145 swig_obj[0] = args;
20146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20147 if (!SWIG_IsOK(res1)) {
20148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20149 }
20150 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20151 {
20152 PyThreadState* __tstate = wxPyBeginAllowThreads();
20153 result = (int)(arg1)->GetFlags();
20154 wxPyEndAllowThreads(__tstate);
20155 if (PyErr_Occurred()) SWIG_fail;
20156 }
20157 resultobj = SWIG_From_int(static_cast< int >(result));
20158 return resultobj;
20159 fail:
20160 return NULL;
20161 }
20162
20163
20164 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20165 PyObject *resultobj = 0;
20166 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20167 int arg2 ;
20168 void *argp1 = 0 ;
20169 int res1 = 0 ;
20170 int val2 ;
20171 int ecode2 = 0 ;
20172 PyObject * obj0 = 0 ;
20173 PyObject * obj1 = 0 ;
20174 char * kwnames[] = {
20175 (char *) "self",(char *) "flags", NULL
20176 };
20177
20178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20180 if (!SWIG_IsOK(res1)) {
20181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20182 }
20183 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20184 ecode2 = SWIG_AsVal_int(obj1, &val2);
20185 if (!SWIG_IsOK(ecode2)) {
20186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20187 }
20188 arg2 = static_cast< int >(val2);
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 (arg1)->SetFlags(arg2);
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 resultobj = SWIG_Py_Void();
20196 return resultobj;
20197 fail:
20198 return NULL;
20199 }
20200
20201
20202 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20203 PyObject *resultobj = 0;
20204 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20205 wxString *arg2 = 0 ;
20206 void *argp1 = 0 ;
20207 int res1 = 0 ;
20208 bool temp2 = false ;
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj1 = 0 ;
20211 char * kwnames[] = {
20212 (char *) "self",(char *) "str", NULL
20213 };
20214
20215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20217 if (!SWIG_IsOK(res1)) {
20218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20219 }
20220 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20221 {
20222 arg2 = wxString_in_helper(obj1);
20223 if (arg2 == NULL) SWIG_fail;
20224 temp2 = true;
20225 }
20226 {
20227 PyThreadState* __tstate = wxPyBeginAllowThreads();
20228 (arg1)->SetFindString((wxString const &)*arg2);
20229 wxPyEndAllowThreads(__tstate);
20230 if (PyErr_Occurred()) SWIG_fail;
20231 }
20232 resultobj = SWIG_Py_Void();
20233 {
20234 if (temp2)
20235 delete arg2;
20236 }
20237 return resultobj;
20238 fail:
20239 {
20240 if (temp2)
20241 delete arg2;
20242 }
20243 return NULL;
20244 }
20245
20246
20247 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20248 PyObject *resultobj = 0;
20249 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20250 wxString *arg2 = 0 ;
20251 void *argp1 = 0 ;
20252 int res1 = 0 ;
20253 bool temp2 = false ;
20254 PyObject * obj0 = 0 ;
20255 PyObject * obj1 = 0 ;
20256 char * kwnames[] = {
20257 (char *) "self",(char *) "str", NULL
20258 };
20259
20260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20262 if (!SWIG_IsOK(res1)) {
20263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20264 }
20265 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20266 {
20267 arg2 = wxString_in_helper(obj1);
20268 if (arg2 == NULL) SWIG_fail;
20269 temp2 = true;
20270 }
20271 {
20272 PyThreadState* __tstate = wxPyBeginAllowThreads();
20273 (arg1)->SetReplaceString((wxString const &)*arg2);
20274 wxPyEndAllowThreads(__tstate);
20275 if (PyErr_Occurred()) SWIG_fail;
20276 }
20277 resultobj = SWIG_Py_Void();
20278 {
20279 if (temp2)
20280 delete arg2;
20281 }
20282 return resultobj;
20283 fail:
20284 {
20285 if (temp2)
20286 delete arg2;
20287 }
20288 return NULL;
20289 }
20290
20291
20292 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20293 PyObject *obj;
20294 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20295 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20296 return SWIG_Py_Void();
20297 }
20298
20299 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20300 return SWIG_Python_InitShadowInstance(args);
20301 }
20302
20303 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20304 PyObject *resultobj = 0;
20305 wxWindow *arg1 = (wxWindow *) 0 ;
20306 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20307 wxString *arg3 = 0 ;
20308 int arg4 = (int) 0 ;
20309 wxFindReplaceDialog *result = 0 ;
20310 void *argp1 = 0 ;
20311 int res1 = 0 ;
20312 void *argp2 = 0 ;
20313 int res2 = 0 ;
20314 bool temp3 = false ;
20315 int val4 ;
20316 int ecode4 = 0 ;
20317 PyObject * obj0 = 0 ;
20318 PyObject * obj1 = 0 ;
20319 PyObject * obj2 = 0 ;
20320 PyObject * obj3 = 0 ;
20321 char * kwnames[] = {
20322 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20323 };
20324
20325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20327 if (!SWIG_IsOK(res1)) {
20328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20329 }
20330 arg1 = reinterpret_cast< wxWindow * >(argp1);
20331 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20332 if (!SWIG_IsOK(res2)) {
20333 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20334 }
20335 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20336 {
20337 arg3 = wxString_in_helper(obj2);
20338 if (arg3 == NULL) SWIG_fail;
20339 temp3 = true;
20340 }
20341 if (obj3) {
20342 ecode4 = SWIG_AsVal_int(obj3, &val4);
20343 if (!SWIG_IsOK(ecode4)) {
20344 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20345 }
20346 arg4 = static_cast< int >(val4);
20347 }
20348 {
20349 if (!wxPyCheckForApp()) SWIG_fail;
20350 PyThreadState* __tstate = wxPyBeginAllowThreads();
20351 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20356 {
20357 if (temp3)
20358 delete arg3;
20359 }
20360 return resultobj;
20361 fail:
20362 {
20363 if (temp3)
20364 delete arg3;
20365 }
20366 return NULL;
20367 }
20368
20369
20370 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20371 PyObject *resultobj = 0;
20372 wxFindReplaceDialog *result = 0 ;
20373
20374 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20375 {
20376 if (!wxPyCheckForApp()) SWIG_fail;
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20379 wxPyEndAllowThreads(__tstate);
20380 if (PyErr_Occurred()) SWIG_fail;
20381 }
20382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20383 return resultobj;
20384 fail:
20385 return NULL;
20386 }
20387
20388
20389 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20390 PyObject *resultobj = 0;
20391 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20392 wxWindow *arg2 = (wxWindow *) 0 ;
20393 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20394 wxString *arg4 = 0 ;
20395 int arg5 = (int) 0 ;
20396 bool result;
20397 void *argp1 = 0 ;
20398 int res1 = 0 ;
20399 void *argp2 = 0 ;
20400 int res2 = 0 ;
20401 void *argp3 = 0 ;
20402 int res3 = 0 ;
20403 bool temp4 = false ;
20404 int val5 ;
20405 int ecode5 = 0 ;
20406 PyObject * obj0 = 0 ;
20407 PyObject * obj1 = 0 ;
20408 PyObject * obj2 = 0 ;
20409 PyObject * obj3 = 0 ;
20410 PyObject * obj4 = 0 ;
20411 char * kwnames[] = {
20412 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20413 };
20414
20415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20417 if (!SWIG_IsOK(res1)) {
20418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20419 }
20420 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20421 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20422 if (!SWIG_IsOK(res2)) {
20423 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20424 }
20425 arg2 = reinterpret_cast< wxWindow * >(argp2);
20426 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20427 if (!SWIG_IsOK(res3)) {
20428 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20429 }
20430 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20431 {
20432 arg4 = wxString_in_helper(obj3);
20433 if (arg4 == NULL) SWIG_fail;
20434 temp4 = true;
20435 }
20436 if (obj4) {
20437 ecode5 = SWIG_AsVal_int(obj4, &val5);
20438 if (!SWIG_IsOK(ecode5)) {
20439 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20440 }
20441 arg5 = static_cast< int >(val5);
20442 }
20443 {
20444 PyThreadState* __tstate = wxPyBeginAllowThreads();
20445 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20446 wxPyEndAllowThreads(__tstate);
20447 if (PyErr_Occurred()) SWIG_fail;
20448 }
20449 {
20450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20451 }
20452 {
20453 if (temp4)
20454 delete arg4;
20455 }
20456 return resultobj;
20457 fail:
20458 {
20459 if (temp4)
20460 delete arg4;
20461 }
20462 return NULL;
20463 }
20464
20465
20466 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20467 PyObject *resultobj = 0;
20468 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20469 wxFindReplaceData *result = 0 ;
20470 void *argp1 = 0 ;
20471 int res1 = 0 ;
20472 PyObject *swig_obj[1] ;
20473
20474 if (!args) SWIG_fail;
20475 swig_obj[0] = args;
20476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20477 if (!SWIG_IsOK(res1)) {
20478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20479 }
20480 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 result = (wxFindReplaceData *)(arg1)->GetData();
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20488 return resultobj;
20489 fail:
20490 return NULL;
20491 }
20492
20493
20494 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20495 PyObject *resultobj = 0;
20496 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20497 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20498 void *argp1 = 0 ;
20499 int res1 = 0 ;
20500 void *argp2 = 0 ;
20501 int res2 = 0 ;
20502 PyObject * obj0 = 0 ;
20503 PyObject * obj1 = 0 ;
20504 char * kwnames[] = {
20505 (char *) "self",(char *) "data", NULL
20506 };
20507
20508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20510 if (!SWIG_IsOK(res1)) {
20511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20512 }
20513 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20514 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20515 if (!SWIG_IsOK(res2)) {
20516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20517 }
20518 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20519 {
20520 PyThreadState* __tstate = wxPyBeginAllowThreads();
20521 (arg1)->SetData(arg2);
20522 wxPyEndAllowThreads(__tstate);
20523 if (PyErr_Occurred()) SWIG_fail;
20524 }
20525 resultobj = SWIG_Py_Void();
20526 return resultobj;
20527 fail:
20528 return NULL;
20529 }
20530
20531
20532 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20533 PyObject *obj;
20534 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20535 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20536 return SWIG_Py_Void();
20537 }
20538
20539 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20540 return SWIG_Python_InitShadowInstance(args);
20541 }
20542
20543 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20544 PyObject *resultobj = 0;
20545 wxWindow *arg1 = (wxWindow *) 0 ;
20546 int arg2 = (int) (int)-1 ;
20547 wxString const &arg3_defvalue = wxPyEmptyString ;
20548 wxString *arg3 = (wxString *) &arg3_defvalue ;
20549 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20550 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20551 wxSize const &arg5_defvalue = wxDefaultSize ;
20552 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20553 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20554 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20555 wxString *arg7 = (wxString *) &arg7_defvalue ;
20556 wxMDIParentFrame *result = 0 ;
20557 void *argp1 = 0 ;
20558 int res1 = 0 ;
20559 int val2 ;
20560 int ecode2 = 0 ;
20561 bool temp3 = false ;
20562 wxPoint temp4 ;
20563 wxSize temp5 ;
20564 long val6 ;
20565 int ecode6 = 0 ;
20566 bool temp7 = false ;
20567 PyObject * obj0 = 0 ;
20568 PyObject * obj1 = 0 ;
20569 PyObject * obj2 = 0 ;
20570 PyObject * obj3 = 0 ;
20571 PyObject * obj4 = 0 ;
20572 PyObject * obj5 = 0 ;
20573 PyObject * obj6 = 0 ;
20574 char * kwnames[] = {
20575 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20576 };
20577
20578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20580 if (!SWIG_IsOK(res1)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20582 }
20583 arg1 = reinterpret_cast< wxWindow * >(argp1);
20584 if (obj1) {
20585 ecode2 = SWIG_AsVal_int(obj1, &val2);
20586 if (!SWIG_IsOK(ecode2)) {
20587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20588 }
20589 arg2 = static_cast< int >(val2);
20590 }
20591 if (obj2) {
20592 {
20593 arg3 = wxString_in_helper(obj2);
20594 if (arg3 == NULL) SWIG_fail;
20595 temp3 = true;
20596 }
20597 }
20598 if (obj3) {
20599 {
20600 arg4 = &temp4;
20601 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20602 }
20603 }
20604 if (obj4) {
20605 {
20606 arg5 = &temp5;
20607 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20608 }
20609 }
20610 if (obj5) {
20611 ecode6 = SWIG_AsVal_long(obj5, &val6);
20612 if (!SWIG_IsOK(ecode6)) {
20613 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20614 }
20615 arg6 = static_cast< long >(val6);
20616 }
20617 if (obj6) {
20618 {
20619 arg7 = wxString_in_helper(obj6);
20620 if (arg7 == NULL) SWIG_fail;
20621 temp7 = true;
20622 }
20623 }
20624 {
20625 if (!wxPyCheckForApp()) SWIG_fail;
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20632 {
20633 if (temp3)
20634 delete arg3;
20635 }
20636 {
20637 if (temp7)
20638 delete arg7;
20639 }
20640 return resultobj;
20641 fail:
20642 {
20643 if (temp3)
20644 delete arg3;
20645 }
20646 {
20647 if (temp7)
20648 delete arg7;
20649 }
20650 return NULL;
20651 }
20652
20653
20654 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20655 PyObject *resultobj = 0;
20656 wxMDIParentFrame *result = 0 ;
20657
20658 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20659 {
20660 if (!wxPyCheckForApp()) SWIG_fail;
20661 PyThreadState* __tstate = wxPyBeginAllowThreads();
20662 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20663 wxPyEndAllowThreads(__tstate);
20664 if (PyErr_Occurred()) SWIG_fail;
20665 }
20666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20667 return resultobj;
20668 fail:
20669 return NULL;
20670 }
20671
20672
20673 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20674 PyObject *resultobj = 0;
20675 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20676 wxWindow *arg2 = (wxWindow *) 0 ;
20677 int arg3 = (int) (int)-1 ;
20678 wxString const &arg4_defvalue = wxPyEmptyString ;
20679 wxString *arg4 = (wxString *) &arg4_defvalue ;
20680 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20681 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20682 wxSize const &arg6_defvalue = wxDefaultSize ;
20683 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20684 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20685 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20686 wxString *arg8 = (wxString *) &arg8_defvalue ;
20687 bool result;
20688 void *argp1 = 0 ;
20689 int res1 = 0 ;
20690 void *argp2 = 0 ;
20691 int res2 = 0 ;
20692 int val3 ;
20693 int ecode3 = 0 ;
20694 bool temp4 = false ;
20695 wxPoint temp5 ;
20696 wxSize temp6 ;
20697 long val7 ;
20698 int ecode7 = 0 ;
20699 bool temp8 = false ;
20700 PyObject * obj0 = 0 ;
20701 PyObject * obj1 = 0 ;
20702 PyObject * obj2 = 0 ;
20703 PyObject * obj3 = 0 ;
20704 PyObject * obj4 = 0 ;
20705 PyObject * obj5 = 0 ;
20706 PyObject * obj6 = 0 ;
20707 PyObject * obj7 = 0 ;
20708 char * kwnames[] = {
20709 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20710 };
20711
20712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20714 if (!SWIG_IsOK(res1)) {
20715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20716 }
20717 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20718 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20719 if (!SWIG_IsOK(res2)) {
20720 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20721 }
20722 arg2 = reinterpret_cast< wxWindow * >(argp2);
20723 if (obj2) {
20724 ecode3 = SWIG_AsVal_int(obj2, &val3);
20725 if (!SWIG_IsOK(ecode3)) {
20726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20727 }
20728 arg3 = static_cast< int >(val3);
20729 }
20730 if (obj3) {
20731 {
20732 arg4 = wxString_in_helper(obj3);
20733 if (arg4 == NULL) SWIG_fail;
20734 temp4 = true;
20735 }
20736 }
20737 if (obj4) {
20738 {
20739 arg5 = &temp5;
20740 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20741 }
20742 }
20743 if (obj5) {
20744 {
20745 arg6 = &temp6;
20746 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20747 }
20748 }
20749 if (obj6) {
20750 ecode7 = SWIG_AsVal_long(obj6, &val7);
20751 if (!SWIG_IsOK(ecode7)) {
20752 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20753 }
20754 arg7 = static_cast< long >(val7);
20755 }
20756 if (obj7) {
20757 {
20758 arg8 = wxString_in_helper(obj7);
20759 if (arg8 == NULL) SWIG_fail;
20760 temp8 = true;
20761 }
20762 }
20763 {
20764 PyThreadState* __tstate = wxPyBeginAllowThreads();
20765 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20766 wxPyEndAllowThreads(__tstate);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 }
20769 {
20770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20771 }
20772 {
20773 if (temp4)
20774 delete arg4;
20775 }
20776 {
20777 if (temp8)
20778 delete arg8;
20779 }
20780 return resultobj;
20781 fail:
20782 {
20783 if (temp4)
20784 delete arg4;
20785 }
20786 {
20787 if (temp8)
20788 delete arg8;
20789 }
20790 return NULL;
20791 }
20792
20793
20794 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20795 PyObject *resultobj = 0;
20796 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20797 void *argp1 = 0 ;
20798 int res1 = 0 ;
20799 PyObject *swig_obj[1] ;
20800
20801 if (!args) SWIG_fail;
20802 swig_obj[0] = args;
20803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20804 if (!SWIG_IsOK(res1)) {
20805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20806 }
20807 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20808 {
20809 PyThreadState* __tstate = wxPyBeginAllowThreads();
20810 (arg1)->ActivateNext();
20811 wxPyEndAllowThreads(__tstate);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 resultobj = SWIG_Py_Void();
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20822 PyObject *resultobj = 0;
20823 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20824 void *argp1 = 0 ;
20825 int res1 = 0 ;
20826 PyObject *swig_obj[1] ;
20827
20828 if (!args) SWIG_fail;
20829 swig_obj[0] = args;
20830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20831 if (!SWIG_IsOK(res1)) {
20832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20833 }
20834 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 (arg1)->ActivatePrevious();
20838 wxPyEndAllowThreads(__tstate);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 }
20841 resultobj = SWIG_Py_Void();
20842 return resultobj;
20843 fail:
20844 return NULL;
20845 }
20846
20847
20848 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20849 PyObject *resultobj = 0;
20850 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20851 void *argp1 = 0 ;
20852 int res1 = 0 ;
20853 PyObject *swig_obj[1] ;
20854
20855 if (!args) SWIG_fail;
20856 swig_obj[0] = args;
20857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20858 if (!SWIG_IsOK(res1)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20860 }
20861 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20862 {
20863 PyThreadState* __tstate = wxPyBeginAllowThreads();
20864 (arg1)->ArrangeIcons();
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 resultobj = SWIG_Py_Void();
20869 return resultobj;
20870 fail:
20871 return NULL;
20872 }
20873
20874
20875 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20876 PyObject *resultobj = 0;
20877 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20878 void *argp1 = 0 ;
20879 int res1 = 0 ;
20880 PyObject *swig_obj[1] ;
20881
20882 if (!args) SWIG_fail;
20883 swig_obj[0] = args;
20884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20885 if (!SWIG_IsOK(res1)) {
20886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20887 }
20888 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
20891 (arg1)->Cascade();
20892 wxPyEndAllowThreads(__tstate);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 }
20895 resultobj = SWIG_Py_Void();
20896 return resultobj;
20897 fail:
20898 return NULL;
20899 }
20900
20901
20902 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20903 PyObject *resultobj = 0;
20904 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20905 wxMDIChildFrame *result = 0 ;
20906 void *argp1 = 0 ;
20907 int res1 = 0 ;
20908 PyObject *swig_obj[1] ;
20909
20910 if (!args) SWIG_fail;
20911 swig_obj[0] = args;
20912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20913 if (!SWIG_IsOK(res1)) {
20914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20915 }
20916 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20917 {
20918 PyThreadState* __tstate = wxPyBeginAllowThreads();
20919 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20920 wxPyEndAllowThreads(__tstate);
20921 if (PyErr_Occurred()) SWIG_fail;
20922 }
20923 {
20924 resultobj = wxPyMake_wxObject(result, (bool)0);
20925 }
20926 return resultobj;
20927 fail:
20928 return NULL;
20929 }
20930
20931
20932 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20933 PyObject *resultobj = 0;
20934 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20935 wxMDIClientWindow *result = 0 ;
20936 void *argp1 = 0 ;
20937 int res1 = 0 ;
20938 PyObject *swig_obj[1] ;
20939
20940 if (!args) SWIG_fail;
20941 swig_obj[0] = args;
20942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20943 if (!SWIG_IsOK(res1)) {
20944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20945 }
20946 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20947 {
20948 PyThreadState* __tstate = wxPyBeginAllowThreads();
20949 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20950 wxPyEndAllowThreads(__tstate);
20951 if (PyErr_Occurred()) SWIG_fail;
20952 }
20953 {
20954 resultobj = wxPyMake_wxObject(result, (bool)0);
20955 }
20956 return resultobj;
20957 fail:
20958 return NULL;
20959 }
20960
20961
20962 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20963 PyObject *resultobj = 0;
20964 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20965 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20966 void *argp1 = 0 ;
20967 int res1 = 0 ;
20968 int val2 ;
20969 int ecode2 = 0 ;
20970 PyObject * obj0 = 0 ;
20971 PyObject * obj1 = 0 ;
20972 char * kwnames[] = {
20973 (char *) "self",(char *) "orient", NULL
20974 };
20975
20976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20978 if (!SWIG_IsOK(res1)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20980 }
20981 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20982 if (obj1) {
20983 ecode2 = SWIG_AsVal_int(obj1, &val2);
20984 if (!SWIG_IsOK(ecode2)) {
20985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20986 }
20987 arg2 = static_cast< wxOrientation >(val2);
20988 }
20989 {
20990 PyThreadState* __tstate = wxPyBeginAllowThreads();
20991 (arg1)->Tile(arg2);
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 resultobj = SWIG_Py_Void();
20996 return resultobj;
20997 fail:
20998 return NULL;
20999 }
21000
21001
21002 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21003 PyObject *obj;
21004 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21005 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21006 return SWIG_Py_Void();
21007 }
21008
21009 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21010 return SWIG_Python_InitShadowInstance(args);
21011 }
21012
21013 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21014 PyObject *resultobj = 0;
21015 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21016 int arg2 = (int) (int)-1 ;
21017 wxString const &arg3_defvalue = wxPyEmptyString ;
21018 wxString *arg3 = (wxString *) &arg3_defvalue ;
21019 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21020 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21021 wxSize const &arg5_defvalue = wxDefaultSize ;
21022 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21023 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21024 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21025 wxString *arg7 = (wxString *) &arg7_defvalue ;
21026 wxMDIChildFrame *result = 0 ;
21027 void *argp1 = 0 ;
21028 int res1 = 0 ;
21029 int val2 ;
21030 int ecode2 = 0 ;
21031 bool temp3 = false ;
21032 wxPoint temp4 ;
21033 wxSize temp5 ;
21034 long val6 ;
21035 int ecode6 = 0 ;
21036 bool temp7 = false ;
21037 PyObject * obj0 = 0 ;
21038 PyObject * obj1 = 0 ;
21039 PyObject * obj2 = 0 ;
21040 PyObject * obj3 = 0 ;
21041 PyObject * obj4 = 0 ;
21042 PyObject * obj5 = 0 ;
21043 PyObject * obj6 = 0 ;
21044 char * kwnames[] = {
21045 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21046 };
21047
21048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21050 if (!SWIG_IsOK(res1)) {
21051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21052 }
21053 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21054 if (obj1) {
21055 ecode2 = SWIG_AsVal_int(obj1, &val2);
21056 if (!SWIG_IsOK(ecode2)) {
21057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21058 }
21059 arg2 = static_cast< int >(val2);
21060 }
21061 if (obj2) {
21062 {
21063 arg3 = wxString_in_helper(obj2);
21064 if (arg3 == NULL) SWIG_fail;
21065 temp3 = true;
21066 }
21067 }
21068 if (obj3) {
21069 {
21070 arg4 = &temp4;
21071 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21072 }
21073 }
21074 if (obj4) {
21075 {
21076 arg5 = &temp5;
21077 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21078 }
21079 }
21080 if (obj5) {
21081 ecode6 = SWIG_AsVal_long(obj5, &val6);
21082 if (!SWIG_IsOK(ecode6)) {
21083 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21084 }
21085 arg6 = static_cast< long >(val6);
21086 }
21087 if (obj6) {
21088 {
21089 arg7 = wxString_in_helper(obj6);
21090 if (arg7 == NULL) SWIG_fail;
21091 temp7 = true;
21092 }
21093 }
21094 {
21095 if (!wxPyCheckForApp()) SWIG_fail;
21096 PyThreadState* __tstate = wxPyBeginAllowThreads();
21097 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
21101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21102 {
21103 if (temp3)
21104 delete arg3;
21105 }
21106 {
21107 if (temp7)
21108 delete arg7;
21109 }
21110 return resultobj;
21111 fail:
21112 {
21113 if (temp3)
21114 delete arg3;
21115 }
21116 {
21117 if (temp7)
21118 delete arg7;
21119 }
21120 return NULL;
21121 }
21122
21123
21124 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21125 PyObject *resultobj = 0;
21126 wxMDIChildFrame *result = 0 ;
21127
21128 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21129 {
21130 if (!wxPyCheckForApp()) SWIG_fail;
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21133 wxPyEndAllowThreads(__tstate);
21134 if (PyErr_Occurred()) SWIG_fail;
21135 }
21136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21137 return resultobj;
21138 fail:
21139 return NULL;
21140 }
21141
21142
21143 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21144 PyObject *resultobj = 0;
21145 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21146 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21147 int arg3 = (int) (int)-1 ;
21148 wxString const &arg4_defvalue = wxPyEmptyString ;
21149 wxString *arg4 = (wxString *) &arg4_defvalue ;
21150 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21151 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21152 wxSize const &arg6_defvalue = wxDefaultSize ;
21153 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21154 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21155 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21156 wxString *arg8 = (wxString *) &arg8_defvalue ;
21157 bool result;
21158 void *argp1 = 0 ;
21159 int res1 = 0 ;
21160 void *argp2 = 0 ;
21161 int res2 = 0 ;
21162 int val3 ;
21163 int ecode3 = 0 ;
21164 bool temp4 = false ;
21165 wxPoint temp5 ;
21166 wxSize temp6 ;
21167 long val7 ;
21168 int ecode7 = 0 ;
21169 bool temp8 = false ;
21170 PyObject * obj0 = 0 ;
21171 PyObject * obj1 = 0 ;
21172 PyObject * obj2 = 0 ;
21173 PyObject * obj3 = 0 ;
21174 PyObject * obj4 = 0 ;
21175 PyObject * obj5 = 0 ;
21176 PyObject * obj6 = 0 ;
21177 PyObject * obj7 = 0 ;
21178 char * kwnames[] = {
21179 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21180 };
21181
21182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21184 if (!SWIG_IsOK(res1)) {
21185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21186 }
21187 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21188 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21189 if (!SWIG_IsOK(res2)) {
21190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21191 }
21192 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21193 if (obj2) {
21194 ecode3 = SWIG_AsVal_int(obj2, &val3);
21195 if (!SWIG_IsOK(ecode3)) {
21196 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21197 }
21198 arg3 = static_cast< int >(val3);
21199 }
21200 if (obj3) {
21201 {
21202 arg4 = wxString_in_helper(obj3);
21203 if (arg4 == NULL) SWIG_fail;
21204 temp4 = true;
21205 }
21206 }
21207 if (obj4) {
21208 {
21209 arg5 = &temp5;
21210 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21211 }
21212 }
21213 if (obj5) {
21214 {
21215 arg6 = &temp6;
21216 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21217 }
21218 }
21219 if (obj6) {
21220 ecode7 = SWIG_AsVal_long(obj6, &val7);
21221 if (!SWIG_IsOK(ecode7)) {
21222 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21223 }
21224 arg7 = static_cast< long >(val7);
21225 }
21226 if (obj7) {
21227 {
21228 arg8 = wxString_in_helper(obj7);
21229 if (arg8 == NULL) SWIG_fail;
21230 temp8 = true;
21231 }
21232 }
21233 {
21234 PyThreadState* __tstate = wxPyBeginAllowThreads();
21235 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21236 wxPyEndAllowThreads(__tstate);
21237 if (PyErr_Occurred()) SWIG_fail;
21238 }
21239 {
21240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21241 }
21242 {
21243 if (temp4)
21244 delete arg4;
21245 }
21246 {
21247 if (temp8)
21248 delete arg8;
21249 }
21250 return resultobj;
21251 fail:
21252 {
21253 if (temp4)
21254 delete arg4;
21255 }
21256 {
21257 if (temp8)
21258 delete arg8;
21259 }
21260 return NULL;
21261 }
21262
21263
21264 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21265 PyObject *resultobj = 0;
21266 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21267 void *argp1 = 0 ;
21268 int res1 = 0 ;
21269 PyObject *swig_obj[1] ;
21270
21271 if (!args) SWIG_fail;
21272 swig_obj[0] = args;
21273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21274 if (!SWIG_IsOK(res1)) {
21275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21276 }
21277 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21278 {
21279 PyThreadState* __tstate = wxPyBeginAllowThreads();
21280 (arg1)->Activate();
21281 wxPyEndAllowThreads(__tstate);
21282 if (PyErr_Occurred()) SWIG_fail;
21283 }
21284 resultobj = SWIG_Py_Void();
21285 return resultobj;
21286 fail:
21287 return NULL;
21288 }
21289
21290
21291 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21292 PyObject *obj;
21293 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21294 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21295 return SWIG_Py_Void();
21296 }
21297
21298 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21299 return SWIG_Python_InitShadowInstance(args);
21300 }
21301
21302 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21303 PyObject *resultobj = 0;
21304 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21305 long arg2 = (long) 0 ;
21306 wxMDIClientWindow *result = 0 ;
21307 void *argp1 = 0 ;
21308 int res1 = 0 ;
21309 long val2 ;
21310 int ecode2 = 0 ;
21311 PyObject * obj0 = 0 ;
21312 PyObject * obj1 = 0 ;
21313 char * kwnames[] = {
21314 (char *) "parent",(char *) "style", NULL
21315 };
21316
21317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21319 if (!SWIG_IsOK(res1)) {
21320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21321 }
21322 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21323 if (obj1) {
21324 ecode2 = SWIG_AsVal_long(obj1, &val2);
21325 if (!SWIG_IsOK(ecode2)) {
21326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21327 }
21328 arg2 = static_cast< long >(val2);
21329 }
21330 {
21331 if (!wxPyCheckForApp()) SWIG_fail;
21332 PyThreadState* __tstate = wxPyBeginAllowThreads();
21333 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21334 wxPyEndAllowThreads(__tstate);
21335 if (PyErr_Occurred()) SWIG_fail;
21336 }
21337 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21338 return resultobj;
21339 fail:
21340 return NULL;
21341 }
21342
21343
21344 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21345 PyObject *resultobj = 0;
21346 wxMDIClientWindow *result = 0 ;
21347
21348 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21349 {
21350 if (!wxPyCheckForApp()) SWIG_fail;
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21353 wxPyEndAllowThreads(__tstate);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 }
21356 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21357 return resultobj;
21358 fail:
21359 return NULL;
21360 }
21361
21362
21363 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj = 0;
21365 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21366 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21367 long arg3 = (long) 0 ;
21368 bool result;
21369 void *argp1 = 0 ;
21370 int res1 = 0 ;
21371 void *argp2 = 0 ;
21372 int res2 = 0 ;
21373 long val3 ;
21374 int ecode3 = 0 ;
21375 PyObject * obj0 = 0 ;
21376 PyObject * obj1 = 0 ;
21377 PyObject * obj2 = 0 ;
21378 char * kwnames[] = {
21379 (char *) "self",(char *) "parent",(char *) "style", NULL
21380 };
21381
21382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21384 if (!SWIG_IsOK(res1)) {
21385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21386 }
21387 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21388 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21389 if (!SWIG_IsOK(res2)) {
21390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21391 }
21392 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21393 if (obj2) {
21394 ecode3 = SWIG_AsVal_long(obj2, &val3);
21395 if (!SWIG_IsOK(ecode3)) {
21396 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21397 }
21398 arg3 = static_cast< long >(val3);
21399 }
21400 {
21401 PyThreadState* __tstate = wxPyBeginAllowThreads();
21402 result = (bool)(arg1)->Create(arg2,arg3);
21403 wxPyEndAllowThreads(__tstate);
21404 if (PyErr_Occurred()) SWIG_fail;
21405 }
21406 {
21407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21408 }
21409 return resultobj;
21410 fail:
21411 return NULL;
21412 }
21413
21414
21415 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21416 PyObject *obj;
21417 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21418 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21419 return SWIG_Py_Void();
21420 }
21421
21422 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21423 return SWIG_Python_InitShadowInstance(args);
21424 }
21425
21426 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21427 PyObject *resultobj = 0;
21428 wxWindow *arg1 = (wxWindow *) 0 ;
21429 int arg2 = (int) (int)-1 ;
21430 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21431 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21432 wxSize const &arg4_defvalue = wxDefaultSize ;
21433 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21434 long arg5 = (long) 0 ;
21435 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21436 wxString *arg6 = (wxString *) &arg6_defvalue ;
21437 wxPyWindow *result = 0 ;
21438 void *argp1 = 0 ;
21439 int res1 = 0 ;
21440 int val2 ;
21441 int ecode2 = 0 ;
21442 wxPoint temp3 ;
21443 wxSize temp4 ;
21444 long val5 ;
21445 int ecode5 = 0 ;
21446 bool temp6 = false ;
21447 PyObject * obj0 = 0 ;
21448 PyObject * obj1 = 0 ;
21449 PyObject * obj2 = 0 ;
21450 PyObject * obj3 = 0 ;
21451 PyObject * obj4 = 0 ;
21452 PyObject * obj5 = 0 ;
21453 char * kwnames[] = {
21454 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21455 };
21456
21457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21459 if (!SWIG_IsOK(res1)) {
21460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21461 }
21462 arg1 = reinterpret_cast< wxWindow * >(argp1);
21463 if (obj1) {
21464 ecode2 = SWIG_AsVal_int(obj1, &val2);
21465 if (!SWIG_IsOK(ecode2)) {
21466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21467 }
21468 arg2 = static_cast< int >(val2);
21469 }
21470 if (obj2) {
21471 {
21472 arg3 = &temp3;
21473 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21474 }
21475 }
21476 if (obj3) {
21477 {
21478 arg4 = &temp4;
21479 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21480 }
21481 }
21482 if (obj4) {
21483 ecode5 = SWIG_AsVal_long(obj4, &val5);
21484 if (!SWIG_IsOK(ecode5)) {
21485 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21486 }
21487 arg5 = static_cast< long >(val5);
21488 }
21489 if (obj5) {
21490 {
21491 arg6 = wxString_in_helper(obj5);
21492 if (arg6 == NULL) SWIG_fail;
21493 temp6 = true;
21494 }
21495 }
21496 {
21497 if (!wxPyCheckForApp()) SWIG_fail;
21498 PyThreadState* __tstate = wxPyBeginAllowThreads();
21499 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21500 wxPyEndAllowThreads(__tstate);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
21503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21504 {
21505 if (temp6)
21506 delete arg6;
21507 }
21508 return resultobj;
21509 fail:
21510 {
21511 if (temp6)
21512 delete arg6;
21513 }
21514 return NULL;
21515 }
21516
21517
21518 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21519 PyObject *resultobj = 0;
21520 wxPyWindow *result = 0 ;
21521
21522 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21523 {
21524 if (!wxPyCheckForApp()) SWIG_fail;
21525 PyThreadState* __tstate = wxPyBeginAllowThreads();
21526 result = (wxPyWindow *)new wxPyWindow();
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21531 return resultobj;
21532 fail:
21533 return NULL;
21534 }
21535
21536
21537 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj = 0;
21539 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21540 PyObject *arg2 = (PyObject *) 0 ;
21541 PyObject *arg3 = (PyObject *) 0 ;
21542 void *argp1 = 0 ;
21543 int res1 = 0 ;
21544 PyObject * obj0 = 0 ;
21545 PyObject * obj1 = 0 ;
21546 PyObject * obj2 = 0 ;
21547 char * kwnames[] = {
21548 (char *) "self",(char *) "self",(char *) "_class", NULL
21549 };
21550
21551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21553 if (!SWIG_IsOK(res1)) {
21554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21555 }
21556 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21557 arg2 = obj1;
21558 arg3 = obj2;
21559 {
21560 PyThreadState* __tstate = wxPyBeginAllowThreads();
21561 (arg1)->_setCallbackInfo(arg2,arg3);
21562 wxPyEndAllowThreads(__tstate);
21563 if (PyErr_Occurred()) SWIG_fail;
21564 }
21565 resultobj = SWIG_Py_Void();
21566 return resultobj;
21567 fail:
21568 return NULL;
21569 }
21570
21571
21572 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21573 PyObject *resultobj = 0;
21574 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21575 wxDC *arg2 = (wxDC *) 0 ;
21576 bool result;
21577 void *argp1 = 0 ;
21578 int res1 = 0 ;
21579 void *argp2 = 0 ;
21580 int res2 = 0 ;
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
21583 char * kwnames[] = {
21584 (char *) "self",(char *) "dc", NULL
21585 };
21586
21587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21589 if (!SWIG_IsOK(res1)) {
21590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21591 }
21592 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21593 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21594 if (!SWIG_IsOK(res2)) {
21595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21596 }
21597 arg2 = reinterpret_cast< wxDC * >(argp2);
21598 {
21599 PyThreadState* __tstate = wxPyBeginAllowThreads();
21600 result = (bool)(arg1)->DoEraseBackground(arg2);
21601 wxPyEndAllowThreads(__tstate);
21602 if (PyErr_Occurred()) SWIG_fail;
21603 }
21604 {
21605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21606 }
21607 return resultobj;
21608 fail:
21609 return NULL;
21610 }
21611
21612
21613 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj = 0;
21615 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21616 int arg2 ;
21617 int arg3 ;
21618 int arg4 ;
21619 int arg5 ;
21620 void *argp1 = 0 ;
21621 int res1 = 0 ;
21622 int val2 ;
21623 int ecode2 = 0 ;
21624 int val3 ;
21625 int ecode3 = 0 ;
21626 int val4 ;
21627 int ecode4 = 0 ;
21628 int val5 ;
21629 int ecode5 = 0 ;
21630 PyObject * obj0 = 0 ;
21631 PyObject * obj1 = 0 ;
21632 PyObject * obj2 = 0 ;
21633 PyObject * obj3 = 0 ;
21634 PyObject * obj4 = 0 ;
21635 char * kwnames[] = {
21636 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21637 };
21638
21639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21641 if (!SWIG_IsOK(res1)) {
21642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21643 }
21644 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21645 ecode2 = SWIG_AsVal_int(obj1, &val2);
21646 if (!SWIG_IsOK(ecode2)) {
21647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21648 }
21649 arg2 = static_cast< int >(val2);
21650 ecode3 = SWIG_AsVal_int(obj2, &val3);
21651 if (!SWIG_IsOK(ecode3)) {
21652 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21653 }
21654 arg3 = static_cast< int >(val3);
21655 ecode4 = SWIG_AsVal_int(obj3, &val4);
21656 if (!SWIG_IsOK(ecode4)) {
21657 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21658 }
21659 arg4 = static_cast< int >(val4);
21660 ecode5 = SWIG_AsVal_int(obj4, &val5);
21661 if (!SWIG_IsOK(ecode5)) {
21662 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21663 }
21664 arg5 = static_cast< int >(val5);
21665 {
21666 PyThreadState* __tstate = wxPyBeginAllowThreads();
21667 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21668 wxPyEndAllowThreads(__tstate);
21669 if (PyErr_Occurred()) SWIG_fail;
21670 }
21671 resultobj = SWIG_Py_Void();
21672 return resultobj;
21673 fail:
21674 return NULL;
21675 }
21676
21677
21678 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21679 PyObject *resultobj = 0;
21680 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21681 int arg2 ;
21682 int arg3 ;
21683 int arg4 ;
21684 int arg5 ;
21685 int arg6 = (int) wxSIZE_AUTO ;
21686 void *argp1 = 0 ;
21687 int res1 = 0 ;
21688 int val2 ;
21689 int ecode2 = 0 ;
21690 int val3 ;
21691 int ecode3 = 0 ;
21692 int val4 ;
21693 int ecode4 = 0 ;
21694 int val5 ;
21695 int ecode5 = 0 ;
21696 int val6 ;
21697 int ecode6 = 0 ;
21698 PyObject * obj0 = 0 ;
21699 PyObject * obj1 = 0 ;
21700 PyObject * obj2 = 0 ;
21701 PyObject * obj3 = 0 ;
21702 PyObject * obj4 = 0 ;
21703 PyObject * obj5 = 0 ;
21704 char * kwnames[] = {
21705 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21706 };
21707
21708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21710 if (!SWIG_IsOK(res1)) {
21711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21712 }
21713 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21714 ecode2 = SWIG_AsVal_int(obj1, &val2);
21715 if (!SWIG_IsOK(ecode2)) {
21716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21717 }
21718 arg2 = static_cast< int >(val2);
21719 ecode3 = SWIG_AsVal_int(obj2, &val3);
21720 if (!SWIG_IsOK(ecode3)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21722 }
21723 arg3 = static_cast< int >(val3);
21724 ecode4 = SWIG_AsVal_int(obj3, &val4);
21725 if (!SWIG_IsOK(ecode4)) {
21726 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21727 }
21728 arg4 = static_cast< int >(val4);
21729 ecode5 = SWIG_AsVal_int(obj4, &val5);
21730 if (!SWIG_IsOK(ecode5)) {
21731 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21732 }
21733 arg5 = static_cast< int >(val5);
21734 if (obj5) {
21735 ecode6 = SWIG_AsVal_int(obj5, &val6);
21736 if (!SWIG_IsOK(ecode6)) {
21737 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21738 }
21739 arg6 = static_cast< int >(val6);
21740 }
21741 {
21742 PyThreadState* __tstate = wxPyBeginAllowThreads();
21743 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21744 wxPyEndAllowThreads(__tstate);
21745 if (PyErr_Occurred()) SWIG_fail;
21746 }
21747 resultobj = SWIG_Py_Void();
21748 return resultobj;
21749 fail:
21750 return NULL;
21751 }
21752
21753
21754 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21755 PyObject *resultobj = 0;
21756 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21757 int arg2 ;
21758 int arg3 ;
21759 void *argp1 = 0 ;
21760 int res1 = 0 ;
21761 int val2 ;
21762 int ecode2 = 0 ;
21763 int val3 ;
21764 int ecode3 = 0 ;
21765 PyObject * obj0 = 0 ;
21766 PyObject * obj1 = 0 ;
21767 PyObject * obj2 = 0 ;
21768 char * kwnames[] = {
21769 (char *) "self",(char *) "width",(char *) "height", NULL
21770 };
21771
21772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21774 if (!SWIG_IsOK(res1)) {
21775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21776 }
21777 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21778 ecode2 = SWIG_AsVal_int(obj1, &val2);
21779 if (!SWIG_IsOK(ecode2)) {
21780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21781 }
21782 arg2 = static_cast< int >(val2);
21783 ecode3 = SWIG_AsVal_int(obj2, &val3);
21784 if (!SWIG_IsOK(ecode3)) {
21785 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21786 }
21787 arg3 = static_cast< int >(val3);
21788 {
21789 PyThreadState* __tstate = wxPyBeginAllowThreads();
21790 (arg1)->DoSetClientSize(arg2,arg3);
21791 wxPyEndAllowThreads(__tstate);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
21794 resultobj = SWIG_Py_Void();
21795 return resultobj;
21796 fail:
21797 return NULL;
21798 }
21799
21800
21801 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21802 PyObject *resultobj = 0;
21803 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21804 int arg2 ;
21805 int arg3 ;
21806 void *argp1 = 0 ;
21807 int res1 = 0 ;
21808 int val2 ;
21809 int ecode2 = 0 ;
21810 int val3 ;
21811 int ecode3 = 0 ;
21812 PyObject * obj0 = 0 ;
21813 PyObject * obj1 = 0 ;
21814 PyObject * obj2 = 0 ;
21815 char * kwnames[] = {
21816 (char *) "self",(char *) "x",(char *) "y", NULL
21817 };
21818
21819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21821 if (!SWIG_IsOK(res1)) {
21822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21823 }
21824 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21825 ecode2 = SWIG_AsVal_int(obj1, &val2);
21826 if (!SWIG_IsOK(ecode2)) {
21827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21828 }
21829 arg2 = static_cast< int >(val2);
21830 ecode3 = SWIG_AsVal_int(obj2, &val3);
21831 if (!SWIG_IsOK(ecode3)) {
21832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21833 }
21834 arg3 = static_cast< int >(val3);
21835 {
21836 PyThreadState* __tstate = wxPyBeginAllowThreads();
21837 (arg1)->DoSetVirtualSize(arg2,arg3);
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 resultobj = SWIG_Py_Void();
21842 return resultobj;
21843 fail:
21844 return NULL;
21845 }
21846
21847
21848 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21849 PyObject *resultobj = 0;
21850 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21851 int *arg2 = (int *) 0 ;
21852 int *arg3 = (int *) 0 ;
21853 void *argp1 = 0 ;
21854 int res1 = 0 ;
21855 int temp2 ;
21856 int res2 = SWIG_TMPOBJ ;
21857 int temp3 ;
21858 int res3 = SWIG_TMPOBJ ;
21859 PyObject *swig_obj[1] ;
21860
21861 arg2 = &temp2;
21862 arg3 = &temp3;
21863 if (!args) SWIG_fail;
21864 swig_obj[0] = args;
21865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21866 if (!SWIG_IsOK(res1)) {
21867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21868 }
21869 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 resultobj = SWIG_Py_Void();
21877 if (SWIG_IsTmpObj(res2)) {
21878 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21879 } else {
21880 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21881 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21882 }
21883 if (SWIG_IsTmpObj(res3)) {
21884 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21885 } else {
21886 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21887 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21888 }
21889 return resultobj;
21890 fail:
21891 return NULL;
21892 }
21893
21894
21895 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21896 PyObject *resultobj = 0;
21897 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21898 int *arg2 = (int *) 0 ;
21899 int *arg3 = (int *) 0 ;
21900 void *argp1 = 0 ;
21901 int res1 = 0 ;
21902 int temp2 ;
21903 int res2 = SWIG_TMPOBJ ;
21904 int temp3 ;
21905 int res3 = SWIG_TMPOBJ ;
21906 PyObject *swig_obj[1] ;
21907
21908 arg2 = &temp2;
21909 arg3 = &temp3;
21910 if (!args) SWIG_fail;
21911 swig_obj[0] = args;
21912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21913 if (!SWIG_IsOK(res1)) {
21914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21915 }
21916 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21917 {
21918 PyThreadState* __tstate = wxPyBeginAllowThreads();
21919 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21920 wxPyEndAllowThreads(__tstate);
21921 if (PyErr_Occurred()) SWIG_fail;
21922 }
21923 resultobj = SWIG_Py_Void();
21924 if (SWIG_IsTmpObj(res2)) {
21925 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21926 } else {
21927 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21928 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21929 }
21930 if (SWIG_IsTmpObj(res3)) {
21931 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21932 } else {
21933 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21934 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21935 }
21936 return resultobj;
21937 fail:
21938 return NULL;
21939 }
21940
21941
21942 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21943 PyObject *resultobj = 0;
21944 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21945 int *arg2 = (int *) 0 ;
21946 int *arg3 = (int *) 0 ;
21947 void *argp1 = 0 ;
21948 int res1 = 0 ;
21949 int temp2 ;
21950 int res2 = SWIG_TMPOBJ ;
21951 int temp3 ;
21952 int res3 = SWIG_TMPOBJ ;
21953 PyObject *swig_obj[1] ;
21954
21955 arg2 = &temp2;
21956 arg3 = &temp3;
21957 if (!args) SWIG_fail;
21958 swig_obj[0] = args;
21959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21960 if (!SWIG_IsOK(res1)) {
21961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21962 }
21963 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21964 {
21965 PyThreadState* __tstate = wxPyBeginAllowThreads();
21966 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21967 wxPyEndAllowThreads(__tstate);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
21970 resultobj = SWIG_Py_Void();
21971 if (SWIG_IsTmpObj(res2)) {
21972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21973 } else {
21974 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21976 }
21977 if (SWIG_IsTmpObj(res3)) {
21978 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21979 } else {
21980 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21981 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21982 }
21983 return resultobj;
21984 fail:
21985 return NULL;
21986 }
21987
21988
21989 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21990 PyObject *resultobj = 0;
21991 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21992 wxSize result;
21993 void *argp1 = 0 ;
21994 int res1 = 0 ;
21995 PyObject *swig_obj[1] ;
21996
21997 if (!args) SWIG_fail;
21998 swig_obj[0] = args;
21999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22000 if (!SWIG_IsOK(res1)) {
22001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22002 }
22003 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22004 {
22005 PyThreadState* __tstate = wxPyBeginAllowThreads();
22006 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22007 wxPyEndAllowThreads(__tstate);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 }
22010 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22011 return resultobj;
22012 fail:
22013 return NULL;
22014 }
22015
22016
22017 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22018 PyObject *resultobj = 0;
22019 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22020 wxSize result;
22021 void *argp1 = 0 ;
22022 int res1 = 0 ;
22023 PyObject *swig_obj[1] ;
22024
22025 if (!args) SWIG_fail;
22026 swig_obj[0] = args;
22027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22028 if (!SWIG_IsOK(res1)) {
22029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22030 }
22031 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22032 {
22033 PyThreadState* __tstate = wxPyBeginAllowThreads();
22034 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22035 wxPyEndAllowThreads(__tstate);
22036 if (PyErr_Occurred()) SWIG_fail;
22037 }
22038 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22039 return resultobj;
22040 fail:
22041 return NULL;
22042 }
22043
22044
22045 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22046 PyObject *resultobj = 0;
22047 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22048 SwigValueWrapper<wxVisualAttributes > result;
22049 void *argp1 = 0 ;
22050 int res1 = 0 ;
22051 PyObject *swig_obj[1] ;
22052
22053 if (!args) SWIG_fail;
22054 swig_obj[0] = args;
22055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22056 if (!SWIG_IsOK(res1)) {
22057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22058 }
22059 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22060 {
22061 PyThreadState* __tstate = wxPyBeginAllowThreads();
22062 result = (arg1)->GetDefaultAttributes();
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22067 return resultobj;
22068 fail:
22069 return NULL;
22070 }
22071
22072
22073 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22074 PyObject *resultobj = 0;
22075 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22076 void *argp1 = 0 ;
22077 int res1 = 0 ;
22078 PyObject *swig_obj[1] ;
22079
22080 if (!args) SWIG_fail;
22081 swig_obj[0] = args;
22082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22083 if (!SWIG_IsOK(res1)) {
22084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22085 }
22086 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22087 {
22088 PyThreadState* __tstate = wxPyBeginAllowThreads();
22089 (arg1)->OnInternalIdle();
22090 wxPyEndAllowThreads(__tstate);
22091 if (PyErr_Occurred()) SWIG_fail;
22092 }
22093 resultobj = SWIG_Py_Void();
22094 return resultobj;
22095 fail:
22096 return NULL;
22097 }
22098
22099
22100 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22101 PyObject *obj;
22102 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22103 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22104 return SWIG_Py_Void();
22105 }
22106
22107 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22108 return SWIG_Python_InitShadowInstance(args);
22109 }
22110
22111 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22112 PyObject *resultobj = 0;
22113 wxWindow *arg1 = (wxWindow *) 0 ;
22114 int arg2 = (int) (int)-1 ;
22115 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22116 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22117 wxSize const &arg4_defvalue = wxDefaultSize ;
22118 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22119 long arg5 = (long) 0 ;
22120 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22121 wxString *arg6 = (wxString *) &arg6_defvalue ;
22122 wxPyPanel *result = 0 ;
22123 void *argp1 = 0 ;
22124 int res1 = 0 ;
22125 int val2 ;
22126 int ecode2 = 0 ;
22127 wxPoint temp3 ;
22128 wxSize temp4 ;
22129 long val5 ;
22130 int ecode5 = 0 ;
22131 bool temp6 = false ;
22132 PyObject * obj0 = 0 ;
22133 PyObject * obj1 = 0 ;
22134 PyObject * obj2 = 0 ;
22135 PyObject * obj3 = 0 ;
22136 PyObject * obj4 = 0 ;
22137 PyObject * obj5 = 0 ;
22138 char * kwnames[] = {
22139 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22140 };
22141
22142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22144 if (!SWIG_IsOK(res1)) {
22145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22146 }
22147 arg1 = reinterpret_cast< wxWindow * >(argp1);
22148 if (obj1) {
22149 ecode2 = SWIG_AsVal_int(obj1, &val2);
22150 if (!SWIG_IsOK(ecode2)) {
22151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22152 }
22153 arg2 = static_cast< int >(val2);
22154 }
22155 if (obj2) {
22156 {
22157 arg3 = &temp3;
22158 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22159 }
22160 }
22161 if (obj3) {
22162 {
22163 arg4 = &temp4;
22164 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22165 }
22166 }
22167 if (obj4) {
22168 ecode5 = SWIG_AsVal_long(obj4, &val5);
22169 if (!SWIG_IsOK(ecode5)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22171 }
22172 arg5 = static_cast< long >(val5);
22173 }
22174 if (obj5) {
22175 {
22176 arg6 = wxString_in_helper(obj5);
22177 if (arg6 == NULL) SWIG_fail;
22178 temp6 = true;
22179 }
22180 }
22181 {
22182 if (!wxPyCheckForApp()) SWIG_fail;
22183 PyThreadState* __tstate = wxPyBeginAllowThreads();
22184 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22185 wxPyEndAllowThreads(__tstate);
22186 if (PyErr_Occurred()) SWIG_fail;
22187 }
22188 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22189 {
22190 if (temp6)
22191 delete arg6;
22192 }
22193 return resultobj;
22194 fail:
22195 {
22196 if (temp6)
22197 delete arg6;
22198 }
22199 return NULL;
22200 }
22201
22202
22203 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22204 PyObject *resultobj = 0;
22205 wxPyPanel *result = 0 ;
22206
22207 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22208 {
22209 if (!wxPyCheckForApp()) SWIG_fail;
22210 PyThreadState* __tstate = wxPyBeginAllowThreads();
22211 result = (wxPyPanel *)new wxPyPanel();
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22216 return resultobj;
22217 fail:
22218 return NULL;
22219 }
22220
22221
22222 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22223 PyObject *resultobj = 0;
22224 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22225 PyObject *arg2 = (PyObject *) 0 ;
22226 PyObject *arg3 = (PyObject *) 0 ;
22227 void *argp1 = 0 ;
22228 int res1 = 0 ;
22229 PyObject * obj0 = 0 ;
22230 PyObject * obj1 = 0 ;
22231 PyObject * obj2 = 0 ;
22232 char * kwnames[] = {
22233 (char *) "self",(char *) "self",(char *) "_class", NULL
22234 };
22235
22236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22238 if (!SWIG_IsOK(res1)) {
22239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22240 }
22241 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22242 arg2 = obj1;
22243 arg3 = obj2;
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 (arg1)->_setCallbackInfo(arg2,arg3);
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 resultobj = SWIG_Py_Void();
22251 return resultobj;
22252 fail:
22253 return NULL;
22254 }
22255
22256
22257 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22258 PyObject *resultobj = 0;
22259 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22260 wxDC *arg2 = (wxDC *) 0 ;
22261 bool result;
22262 void *argp1 = 0 ;
22263 int res1 = 0 ;
22264 void *argp2 = 0 ;
22265 int res2 = 0 ;
22266 PyObject * obj0 = 0 ;
22267 PyObject * obj1 = 0 ;
22268 char * kwnames[] = {
22269 (char *) "self",(char *) "dc", NULL
22270 };
22271
22272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22274 if (!SWIG_IsOK(res1)) {
22275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22276 }
22277 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22278 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22279 if (!SWIG_IsOK(res2)) {
22280 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22281 }
22282 arg2 = reinterpret_cast< wxDC * >(argp2);
22283 {
22284 PyThreadState* __tstate = wxPyBeginAllowThreads();
22285 result = (bool)(arg1)->DoEraseBackground(arg2);
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
22289 {
22290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22291 }
22292 return resultobj;
22293 fail:
22294 return NULL;
22295 }
22296
22297
22298 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22299 PyObject *resultobj = 0;
22300 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22301 int arg2 ;
22302 int arg3 ;
22303 int arg4 ;
22304 int arg5 ;
22305 void *argp1 = 0 ;
22306 int res1 = 0 ;
22307 int val2 ;
22308 int ecode2 = 0 ;
22309 int val3 ;
22310 int ecode3 = 0 ;
22311 int val4 ;
22312 int ecode4 = 0 ;
22313 int val5 ;
22314 int ecode5 = 0 ;
22315 PyObject * obj0 = 0 ;
22316 PyObject * obj1 = 0 ;
22317 PyObject * obj2 = 0 ;
22318 PyObject * obj3 = 0 ;
22319 PyObject * obj4 = 0 ;
22320 char * kwnames[] = {
22321 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22322 };
22323
22324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22326 if (!SWIG_IsOK(res1)) {
22327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22328 }
22329 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22330 ecode2 = SWIG_AsVal_int(obj1, &val2);
22331 if (!SWIG_IsOK(ecode2)) {
22332 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22333 }
22334 arg2 = static_cast< int >(val2);
22335 ecode3 = SWIG_AsVal_int(obj2, &val3);
22336 if (!SWIG_IsOK(ecode3)) {
22337 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22338 }
22339 arg3 = static_cast< int >(val3);
22340 ecode4 = SWIG_AsVal_int(obj3, &val4);
22341 if (!SWIG_IsOK(ecode4)) {
22342 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22343 }
22344 arg4 = static_cast< int >(val4);
22345 ecode5 = SWIG_AsVal_int(obj4, &val5);
22346 if (!SWIG_IsOK(ecode5)) {
22347 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22348 }
22349 arg5 = static_cast< int >(val5);
22350 {
22351 PyThreadState* __tstate = wxPyBeginAllowThreads();
22352 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22353 wxPyEndAllowThreads(__tstate);
22354 if (PyErr_Occurred()) SWIG_fail;
22355 }
22356 resultobj = SWIG_Py_Void();
22357 return resultobj;
22358 fail:
22359 return NULL;
22360 }
22361
22362
22363 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22364 PyObject *resultobj = 0;
22365 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22366 int arg2 ;
22367 int arg3 ;
22368 int arg4 ;
22369 int arg5 ;
22370 int arg6 = (int) wxSIZE_AUTO ;
22371 void *argp1 = 0 ;
22372 int res1 = 0 ;
22373 int val2 ;
22374 int ecode2 = 0 ;
22375 int val3 ;
22376 int ecode3 = 0 ;
22377 int val4 ;
22378 int ecode4 = 0 ;
22379 int val5 ;
22380 int ecode5 = 0 ;
22381 int val6 ;
22382 int ecode6 = 0 ;
22383 PyObject * obj0 = 0 ;
22384 PyObject * obj1 = 0 ;
22385 PyObject * obj2 = 0 ;
22386 PyObject * obj3 = 0 ;
22387 PyObject * obj4 = 0 ;
22388 PyObject * obj5 = 0 ;
22389 char * kwnames[] = {
22390 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22391 };
22392
22393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22395 if (!SWIG_IsOK(res1)) {
22396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22397 }
22398 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22399 ecode2 = SWIG_AsVal_int(obj1, &val2);
22400 if (!SWIG_IsOK(ecode2)) {
22401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22402 }
22403 arg2 = static_cast< int >(val2);
22404 ecode3 = SWIG_AsVal_int(obj2, &val3);
22405 if (!SWIG_IsOK(ecode3)) {
22406 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22407 }
22408 arg3 = static_cast< int >(val3);
22409 ecode4 = SWIG_AsVal_int(obj3, &val4);
22410 if (!SWIG_IsOK(ecode4)) {
22411 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22412 }
22413 arg4 = static_cast< int >(val4);
22414 ecode5 = SWIG_AsVal_int(obj4, &val5);
22415 if (!SWIG_IsOK(ecode5)) {
22416 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22417 }
22418 arg5 = static_cast< int >(val5);
22419 if (obj5) {
22420 ecode6 = SWIG_AsVal_int(obj5, &val6);
22421 if (!SWIG_IsOK(ecode6)) {
22422 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22423 }
22424 arg6 = static_cast< int >(val6);
22425 }
22426 {
22427 PyThreadState* __tstate = wxPyBeginAllowThreads();
22428 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22429 wxPyEndAllowThreads(__tstate);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 resultobj = SWIG_Py_Void();
22433 return resultobj;
22434 fail:
22435 return NULL;
22436 }
22437
22438
22439 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22440 PyObject *resultobj = 0;
22441 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22442 int arg2 ;
22443 int arg3 ;
22444 void *argp1 = 0 ;
22445 int res1 = 0 ;
22446 int val2 ;
22447 int ecode2 = 0 ;
22448 int val3 ;
22449 int ecode3 = 0 ;
22450 PyObject * obj0 = 0 ;
22451 PyObject * obj1 = 0 ;
22452 PyObject * obj2 = 0 ;
22453 char * kwnames[] = {
22454 (char *) "self",(char *) "width",(char *) "height", NULL
22455 };
22456
22457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22459 if (!SWIG_IsOK(res1)) {
22460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22461 }
22462 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22463 ecode2 = SWIG_AsVal_int(obj1, &val2);
22464 if (!SWIG_IsOK(ecode2)) {
22465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22466 }
22467 arg2 = static_cast< int >(val2);
22468 ecode3 = SWIG_AsVal_int(obj2, &val3);
22469 if (!SWIG_IsOK(ecode3)) {
22470 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22471 }
22472 arg3 = static_cast< int >(val3);
22473 {
22474 PyThreadState* __tstate = wxPyBeginAllowThreads();
22475 (arg1)->DoSetClientSize(arg2,arg3);
22476 wxPyEndAllowThreads(__tstate);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 }
22479 resultobj = SWIG_Py_Void();
22480 return resultobj;
22481 fail:
22482 return NULL;
22483 }
22484
22485
22486 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22487 PyObject *resultobj = 0;
22488 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22489 int arg2 ;
22490 int arg3 ;
22491 void *argp1 = 0 ;
22492 int res1 = 0 ;
22493 int val2 ;
22494 int ecode2 = 0 ;
22495 int val3 ;
22496 int ecode3 = 0 ;
22497 PyObject * obj0 = 0 ;
22498 PyObject * obj1 = 0 ;
22499 PyObject * obj2 = 0 ;
22500 char * kwnames[] = {
22501 (char *) "self",(char *) "x",(char *) "y", NULL
22502 };
22503
22504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22506 if (!SWIG_IsOK(res1)) {
22507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22508 }
22509 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22510 ecode2 = SWIG_AsVal_int(obj1, &val2);
22511 if (!SWIG_IsOK(ecode2)) {
22512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22513 }
22514 arg2 = static_cast< int >(val2);
22515 ecode3 = SWIG_AsVal_int(obj2, &val3);
22516 if (!SWIG_IsOK(ecode3)) {
22517 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22518 }
22519 arg3 = static_cast< int >(val3);
22520 {
22521 PyThreadState* __tstate = wxPyBeginAllowThreads();
22522 (arg1)->DoSetVirtualSize(arg2,arg3);
22523 wxPyEndAllowThreads(__tstate);
22524 if (PyErr_Occurred()) SWIG_fail;
22525 }
22526 resultobj = SWIG_Py_Void();
22527 return resultobj;
22528 fail:
22529 return NULL;
22530 }
22531
22532
22533 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22534 PyObject *resultobj = 0;
22535 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22536 int *arg2 = (int *) 0 ;
22537 int *arg3 = (int *) 0 ;
22538 void *argp1 = 0 ;
22539 int res1 = 0 ;
22540 int temp2 ;
22541 int res2 = SWIG_TMPOBJ ;
22542 int temp3 ;
22543 int res3 = SWIG_TMPOBJ ;
22544 PyObject *swig_obj[1] ;
22545
22546 arg2 = &temp2;
22547 arg3 = &temp3;
22548 if (!args) SWIG_fail;
22549 swig_obj[0] = args;
22550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22551 if (!SWIG_IsOK(res1)) {
22552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22553 }
22554 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22555 {
22556 PyThreadState* __tstate = wxPyBeginAllowThreads();
22557 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22558 wxPyEndAllowThreads(__tstate);
22559 if (PyErr_Occurred()) SWIG_fail;
22560 }
22561 resultobj = SWIG_Py_Void();
22562 if (SWIG_IsTmpObj(res2)) {
22563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22564 } else {
22565 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22566 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22567 }
22568 if (SWIG_IsTmpObj(res3)) {
22569 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22570 } else {
22571 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22572 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22573 }
22574 return resultobj;
22575 fail:
22576 return NULL;
22577 }
22578
22579
22580 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22581 PyObject *resultobj = 0;
22582 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22583 int *arg2 = (int *) 0 ;
22584 int *arg3 = (int *) 0 ;
22585 void *argp1 = 0 ;
22586 int res1 = 0 ;
22587 int temp2 ;
22588 int res2 = SWIG_TMPOBJ ;
22589 int temp3 ;
22590 int res3 = SWIG_TMPOBJ ;
22591 PyObject *swig_obj[1] ;
22592
22593 arg2 = &temp2;
22594 arg3 = &temp3;
22595 if (!args) SWIG_fail;
22596 swig_obj[0] = args;
22597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22598 if (!SWIG_IsOK(res1)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22600 }
22601 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22602 {
22603 PyThreadState* __tstate = wxPyBeginAllowThreads();
22604 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22605 wxPyEndAllowThreads(__tstate);
22606 if (PyErr_Occurred()) SWIG_fail;
22607 }
22608 resultobj = SWIG_Py_Void();
22609 if (SWIG_IsTmpObj(res2)) {
22610 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22611 } else {
22612 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22613 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22614 }
22615 if (SWIG_IsTmpObj(res3)) {
22616 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22617 } else {
22618 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22619 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22620 }
22621 return resultobj;
22622 fail:
22623 return NULL;
22624 }
22625
22626
22627 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22628 PyObject *resultobj = 0;
22629 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22630 int *arg2 = (int *) 0 ;
22631 int *arg3 = (int *) 0 ;
22632 void *argp1 = 0 ;
22633 int res1 = 0 ;
22634 int temp2 ;
22635 int res2 = SWIG_TMPOBJ ;
22636 int temp3 ;
22637 int res3 = SWIG_TMPOBJ ;
22638 PyObject *swig_obj[1] ;
22639
22640 arg2 = &temp2;
22641 arg3 = &temp3;
22642 if (!args) SWIG_fail;
22643 swig_obj[0] = args;
22644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22645 if (!SWIG_IsOK(res1)) {
22646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22647 }
22648 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 resultobj = SWIG_Py_Void();
22656 if (SWIG_IsTmpObj(res2)) {
22657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22658 } else {
22659 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22661 }
22662 if (SWIG_IsTmpObj(res3)) {
22663 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22664 } else {
22665 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22666 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22667 }
22668 return resultobj;
22669 fail:
22670 return NULL;
22671 }
22672
22673
22674 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22675 PyObject *resultobj = 0;
22676 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22677 wxSize result;
22678 void *argp1 = 0 ;
22679 int res1 = 0 ;
22680 PyObject *swig_obj[1] ;
22681
22682 if (!args) SWIG_fail;
22683 swig_obj[0] = args;
22684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22685 if (!SWIG_IsOK(res1)) {
22686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22687 }
22688 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22689 {
22690 PyThreadState* __tstate = wxPyBeginAllowThreads();
22691 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22692 wxPyEndAllowThreads(__tstate);
22693 if (PyErr_Occurred()) SWIG_fail;
22694 }
22695 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22696 return resultobj;
22697 fail:
22698 return NULL;
22699 }
22700
22701
22702 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22703 PyObject *resultobj = 0;
22704 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22705 wxSize result;
22706 void *argp1 = 0 ;
22707 int res1 = 0 ;
22708 PyObject *swig_obj[1] ;
22709
22710 if (!args) SWIG_fail;
22711 swig_obj[0] = args;
22712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22713 if (!SWIG_IsOK(res1)) {
22714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22715 }
22716 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22717 {
22718 PyThreadState* __tstate = wxPyBeginAllowThreads();
22719 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22720 wxPyEndAllowThreads(__tstate);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 }
22723 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22724 return resultobj;
22725 fail:
22726 return NULL;
22727 }
22728
22729
22730 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22731 PyObject *resultobj = 0;
22732 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22733 SwigValueWrapper<wxVisualAttributes > result;
22734 void *argp1 = 0 ;
22735 int res1 = 0 ;
22736 PyObject *swig_obj[1] ;
22737
22738 if (!args) SWIG_fail;
22739 swig_obj[0] = args;
22740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22741 if (!SWIG_IsOK(res1)) {
22742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22743 }
22744 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22745 {
22746 PyThreadState* __tstate = wxPyBeginAllowThreads();
22747 result = (arg1)->GetDefaultAttributes();
22748 wxPyEndAllowThreads(__tstate);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 }
22751 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22752 return resultobj;
22753 fail:
22754 return NULL;
22755 }
22756
22757
22758 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22759 PyObject *resultobj = 0;
22760 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22761 void *argp1 = 0 ;
22762 int res1 = 0 ;
22763 PyObject *swig_obj[1] ;
22764
22765 if (!args) SWIG_fail;
22766 swig_obj[0] = args;
22767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22768 if (!SWIG_IsOK(res1)) {
22769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22770 }
22771 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 (arg1)->OnInternalIdle();
22775 wxPyEndAllowThreads(__tstate);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 }
22778 resultobj = SWIG_Py_Void();
22779 return resultobj;
22780 fail:
22781 return NULL;
22782 }
22783
22784
22785 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22786 PyObject *obj;
22787 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22788 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22789 return SWIG_Py_Void();
22790 }
22791
22792 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22793 return SWIG_Python_InitShadowInstance(args);
22794 }
22795
22796 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22797 PyObject *resultobj = 0;
22798 wxWindow *arg1 = (wxWindow *) 0 ;
22799 int arg2 = (int) (int)-1 ;
22800 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22801 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22802 wxSize const &arg4_defvalue = wxDefaultSize ;
22803 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22804 long arg5 = (long) 0 ;
22805 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22806 wxString *arg6 = (wxString *) &arg6_defvalue ;
22807 wxPyScrolledWindow *result = 0 ;
22808 void *argp1 = 0 ;
22809 int res1 = 0 ;
22810 int val2 ;
22811 int ecode2 = 0 ;
22812 wxPoint temp3 ;
22813 wxSize temp4 ;
22814 long val5 ;
22815 int ecode5 = 0 ;
22816 bool temp6 = false ;
22817 PyObject * obj0 = 0 ;
22818 PyObject * obj1 = 0 ;
22819 PyObject * obj2 = 0 ;
22820 PyObject * obj3 = 0 ;
22821 PyObject * obj4 = 0 ;
22822 PyObject * obj5 = 0 ;
22823 char * kwnames[] = {
22824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22825 };
22826
22827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22829 if (!SWIG_IsOK(res1)) {
22830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22831 }
22832 arg1 = reinterpret_cast< wxWindow * >(argp1);
22833 if (obj1) {
22834 ecode2 = SWIG_AsVal_int(obj1, &val2);
22835 if (!SWIG_IsOK(ecode2)) {
22836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22837 }
22838 arg2 = static_cast< int >(val2);
22839 }
22840 if (obj2) {
22841 {
22842 arg3 = &temp3;
22843 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22844 }
22845 }
22846 if (obj3) {
22847 {
22848 arg4 = &temp4;
22849 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22850 }
22851 }
22852 if (obj4) {
22853 ecode5 = SWIG_AsVal_long(obj4, &val5);
22854 if (!SWIG_IsOK(ecode5)) {
22855 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22856 }
22857 arg5 = static_cast< long >(val5);
22858 }
22859 if (obj5) {
22860 {
22861 arg6 = wxString_in_helper(obj5);
22862 if (arg6 == NULL) SWIG_fail;
22863 temp6 = true;
22864 }
22865 }
22866 {
22867 if (!wxPyCheckForApp()) SWIG_fail;
22868 PyThreadState* __tstate = wxPyBeginAllowThreads();
22869 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22870 wxPyEndAllowThreads(__tstate);
22871 if (PyErr_Occurred()) SWIG_fail;
22872 }
22873 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22874 {
22875 if (temp6)
22876 delete arg6;
22877 }
22878 return resultobj;
22879 fail:
22880 {
22881 if (temp6)
22882 delete arg6;
22883 }
22884 return NULL;
22885 }
22886
22887
22888 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22889 PyObject *resultobj = 0;
22890 wxPyScrolledWindow *result = 0 ;
22891
22892 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22893 {
22894 if (!wxPyCheckForApp()) SWIG_fail;
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22901 return resultobj;
22902 fail:
22903 return NULL;
22904 }
22905
22906
22907 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22908 PyObject *resultobj = 0;
22909 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22910 PyObject *arg2 = (PyObject *) 0 ;
22911 PyObject *arg3 = (PyObject *) 0 ;
22912 void *argp1 = 0 ;
22913 int res1 = 0 ;
22914 PyObject * obj0 = 0 ;
22915 PyObject * obj1 = 0 ;
22916 PyObject * obj2 = 0 ;
22917 char * kwnames[] = {
22918 (char *) "self",(char *) "self",(char *) "_class", NULL
22919 };
22920
22921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22923 if (!SWIG_IsOK(res1)) {
22924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22925 }
22926 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22927 arg2 = obj1;
22928 arg3 = obj2;
22929 {
22930 PyThreadState* __tstate = wxPyBeginAllowThreads();
22931 (arg1)->_setCallbackInfo(arg2,arg3);
22932 wxPyEndAllowThreads(__tstate);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
22935 resultobj = SWIG_Py_Void();
22936 return resultobj;
22937 fail:
22938 return NULL;
22939 }
22940
22941
22942 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22943 PyObject *resultobj = 0;
22944 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22945 wxDC *arg2 = (wxDC *) 0 ;
22946 bool result;
22947 void *argp1 = 0 ;
22948 int res1 = 0 ;
22949 void *argp2 = 0 ;
22950 int res2 = 0 ;
22951 PyObject * obj0 = 0 ;
22952 PyObject * obj1 = 0 ;
22953 char * kwnames[] = {
22954 (char *) "self",(char *) "dc", NULL
22955 };
22956
22957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22959 if (!SWIG_IsOK(res1)) {
22960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22961 }
22962 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22963 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22964 if (!SWIG_IsOK(res2)) {
22965 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22966 }
22967 arg2 = reinterpret_cast< wxDC * >(argp2);
22968 {
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 result = (bool)(arg1)->DoEraseBackground(arg2);
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 {
22975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22976 }
22977 return resultobj;
22978 fail:
22979 return NULL;
22980 }
22981
22982
22983 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22984 PyObject *resultobj = 0;
22985 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22986 int arg2 ;
22987 int arg3 ;
22988 int arg4 ;
22989 int arg5 ;
22990 void *argp1 = 0 ;
22991 int res1 = 0 ;
22992 int val2 ;
22993 int ecode2 = 0 ;
22994 int val3 ;
22995 int ecode3 = 0 ;
22996 int val4 ;
22997 int ecode4 = 0 ;
22998 int val5 ;
22999 int ecode5 = 0 ;
23000 PyObject * obj0 = 0 ;
23001 PyObject * obj1 = 0 ;
23002 PyObject * obj2 = 0 ;
23003 PyObject * obj3 = 0 ;
23004 PyObject * obj4 = 0 ;
23005 char * kwnames[] = {
23006 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23007 };
23008
23009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23011 if (!SWIG_IsOK(res1)) {
23012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23013 }
23014 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23015 ecode2 = SWIG_AsVal_int(obj1, &val2);
23016 if (!SWIG_IsOK(ecode2)) {
23017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23018 }
23019 arg2 = static_cast< int >(val2);
23020 ecode3 = SWIG_AsVal_int(obj2, &val3);
23021 if (!SWIG_IsOK(ecode3)) {
23022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23023 }
23024 arg3 = static_cast< int >(val3);
23025 ecode4 = SWIG_AsVal_int(obj3, &val4);
23026 if (!SWIG_IsOK(ecode4)) {
23027 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23028 }
23029 arg4 = static_cast< int >(val4);
23030 ecode5 = SWIG_AsVal_int(obj4, &val5);
23031 if (!SWIG_IsOK(ecode5)) {
23032 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23033 }
23034 arg5 = static_cast< int >(val5);
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23038 wxPyEndAllowThreads(__tstate);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 }
23041 resultobj = SWIG_Py_Void();
23042 return resultobj;
23043 fail:
23044 return NULL;
23045 }
23046
23047
23048 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23049 PyObject *resultobj = 0;
23050 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23051 int arg2 ;
23052 int arg3 ;
23053 int arg4 ;
23054 int arg5 ;
23055 int arg6 = (int) wxSIZE_AUTO ;
23056 void *argp1 = 0 ;
23057 int res1 = 0 ;
23058 int val2 ;
23059 int ecode2 = 0 ;
23060 int val3 ;
23061 int ecode3 = 0 ;
23062 int val4 ;
23063 int ecode4 = 0 ;
23064 int val5 ;
23065 int ecode5 = 0 ;
23066 int val6 ;
23067 int ecode6 = 0 ;
23068 PyObject * obj0 = 0 ;
23069 PyObject * obj1 = 0 ;
23070 PyObject * obj2 = 0 ;
23071 PyObject * obj3 = 0 ;
23072 PyObject * obj4 = 0 ;
23073 PyObject * obj5 = 0 ;
23074 char * kwnames[] = {
23075 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23076 };
23077
23078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23080 if (!SWIG_IsOK(res1)) {
23081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23082 }
23083 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23084 ecode2 = SWIG_AsVal_int(obj1, &val2);
23085 if (!SWIG_IsOK(ecode2)) {
23086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23087 }
23088 arg2 = static_cast< int >(val2);
23089 ecode3 = SWIG_AsVal_int(obj2, &val3);
23090 if (!SWIG_IsOK(ecode3)) {
23091 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23092 }
23093 arg3 = static_cast< int >(val3);
23094 ecode4 = SWIG_AsVal_int(obj3, &val4);
23095 if (!SWIG_IsOK(ecode4)) {
23096 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23097 }
23098 arg4 = static_cast< int >(val4);
23099 ecode5 = SWIG_AsVal_int(obj4, &val5);
23100 if (!SWIG_IsOK(ecode5)) {
23101 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23102 }
23103 arg5 = static_cast< int >(val5);
23104 if (obj5) {
23105 ecode6 = SWIG_AsVal_int(obj5, &val6);
23106 if (!SWIG_IsOK(ecode6)) {
23107 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23108 }
23109 arg6 = static_cast< int >(val6);
23110 }
23111 {
23112 PyThreadState* __tstate = wxPyBeginAllowThreads();
23113 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23114 wxPyEndAllowThreads(__tstate);
23115 if (PyErr_Occurred()) SWIG_fail;
23116 }
23117 resultobj = SWIG_Py_Void();
23118 return resultobj;
23119 fail:
23120 return NULL;
23121 }
23122
23123
23124 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23125 PyObject *resultobj = 0;
23126 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23127 int arg2 ;
23128 int arg3 ;
23129 void *argp1 = 0 ;
23130 int res1 = 0 ;
23131 int val2 ;
23132 int ecode2 = 0 ;
23133 int val3 ;
23134 int ecode3 = 0 ;
23135 PyObject * obj0 = 0 ;
23136 PyObject * obj1 = 0 ;
23137 PyObject * obj2 = 0 ;
23138 char * kwnames[] = {
23139 (char *) "self",(char *) "width",(char *) "height", NULL
23140 };
23141
23142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23144 if (!SWIG_IsOK(res1)) {
23145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23146 }
23147 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23148 ecode2 = SWIG_AsVal_int(obj1, &val2);
23149 if (!SWIG_IsOK(ecode2)) {
23150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23151 }
23152 arg2 = static_cast< int >(val2);
23153 ecode3 = SWIG_AsVal_int(obj2, &val3);
23154 if (!SWIG_IsOK(ecode3)) {
23155 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23156 }
23157 arg3 = static_cast< int >(val3);
23158 {
23159 PyThreadState* __tstate = wxPyBeginAllowThreads();
23160 (arg1)->DoSetClientSize(arg2,arg3);
23161 wxPyEndAllowThreads(__tstate);
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 resultobj = SWIG_Py_Void();
23165 return resultobj;
23166 fail:
23167 return NULL;
23168 }
23169
23170
23171 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23172 PyObject *resultobj = 0;
23173 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23174 int arg2 ;
23175 int arg3 ;
23176 void *argp1 = 0 ;
23177 int res1 = 0 ;
23178 int val2 ;
23179 int ecode2 = 0 ;
23180 int val3 ;
23181 int ecode3 = 0 ;
23182 PyObject * obj0 = 0 ;
23183 PyObject * obj1 = 0 ;
23184 PyObject * obj2 = 0 ;
23185 char * kwnames[] = {
23186 (char *) "self",(char *) "x",(char *) "y", NULL
23187 };
23188
23189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23191 if (!SWIG_IsOK(res1)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23193 }
23194 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23195 ecode2 = SWIG_AsVal_int(obj1, &val2);
23196 if (!SWIG_IsOK(ecode2)) {
23197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23198 }
23199 arg2 = static_cast< int >(val2);
23200 ecode3 = SWIG_AsVal_int(obj2, &val3);
23201 if (!SWIG_IsOK(ecode3)) {
23202 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23203 }
23204 arg3 = static_cast< int >(val3);
23205 {
23206 PyThreadState* __tstate = wxPyBeginAllowThreads();
23207 (arg1)->DoSetVirtualSize(arg2,arg3);
23208 wxPyEndAllowThreads(__tstate);
23209 if (PyErr_Occurred()) SWIG_fail;
23210 }
23211 resultobj = SWIG_Py_Void();
23212 return resultobj;
23213 fail:
23214 return NULL;
23215 }
23216
23217
23218 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23219 PyObject *resultobj = 0;
23220 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23221 int *arg2 = (int *) 0 ;
23222 int *arg3 = (int *) 0 ;
23223 void *argp1 = 0 ;
23224 int res1 = 0 ;
23225 int temp2 ;
23226 int res2 = SWIG_TMPOBJ ;
23227 int temp3 ;
23228 int res3 = SWIG_TMPOBJ ;
23229 PyObject *swig_obj[1] ;
23230
23231 arg2 = &temp2;
23232 arg3 = &temp3;
23233 if (!args) SWIG_fail;
23234 swig_obj[0] = args;
23235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23236 if (!SWIG_IsOK(res1)) {
23237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23238 }
23239 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23243 wxPyEndAllowThreads(__tstate);
23244 if (PyErr_Occurred()) SWIG_fail;
23245 }
23246 resultobj = SWIG_Py_Void();
23247 if (SWIG_IsTmpObj(res2)) {
23248 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23249 } else {
23250 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23251 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23252 }
23253 if (SWIG_IsTmpObj(res3)) {
23254 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23255 } else {
23256 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23257 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23258 }
23259 return resultobj;
23260 fail:
23261 return NULL;
23262 }
23263
23264
23265 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23266 PyObject *resultobj = 0;
23267 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23268 int *arg2 = (int *) 0 ;
23269 int *arg3 = (int *) 0 ;
23270 void *argp1 = 0 ;
23271 int res1 = 0 ;
23272 int temp2 ;
23273 int res2 = SWIG_TMPOBJ ;
23274 int temp3 ;
23275 int res3 = SWIG_TMPOBJ ;
23276 PyObject *swig_obj[1] ;
23277
23278 arg2 = &temp2;
23279 arg3 = &temp3;
23280 if (!args) SWIG_fail;
23281 swig_obj[0] = args;
23282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23283 if (!SWIG_IsOK(res1)) {
23284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23285 }
23286 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23287 {
23288 PyThreadState* __tstate = wxPyBeginAllowThreads();
23289 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23290 wxPyEndAllowThreads(__tstate);
23291 if (PyErr_Occurred()) SWIG_fail;
23292 }
23293 resultobj = SWIG_Py_Void();
23294 if (SWIG_IsTmpObj(res2)) {
23295 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23296 } else {
23297 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23298 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23299 }
23300 if (SWIG_IsTmpObj(res3)) {
23301 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23302 } else {
23303 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23304 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23305 }
23306 return resultobj;
23307 fail:
23308 return NULL;
23309 }
23310
23311
23312 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23313 PyObject *resultobj = 0;
23314 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23315 int *arg2 = (int *) 0 ;
23316 int *arg3 = (int *) 0 ;
23317 void *argp1 = 0 ;
23318 int res1 = 0 ;
23319 int temp2 ;
23320 int res2 = SWIG_TMPOBJ ;
23321 int temp3 ;
23322 int res3 = SWIG_TMPOBJ ;
23323 PyObject *swig_obj[1] ;
23324
23325 arg2 = &temp2;
23326 arg3 = &temp3;
23327 if (!args) SWIG_fail;
23328 swig_obj[0] = args;
23329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23330 if (!SWIG_IsOK(res1)) {
23331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23332 }
23333 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23334 {
23335 PyThreadState* __tstate = wxPyBeginAllowThreads();
23336 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 resultobj = SWIG_Py_Void();
23341 if (SWIG_IsTmpObj(res2)) {
23342 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23343 } else {
23344 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23345 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23346 }
23347 if (SWIG_IsTmpObj(res3)) {
23348 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23349 } else {
23350 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23351 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23352 }
23353 return resultobj;
23354 fail:
23355 return NULL;
23356 }
23357
23358
23359 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23360 PyObject *resultobj = 0;
23361 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23362 wxSize result;
23363 void *argp1 = 0 ;
23364 int res1 = 0 ;
23365 PyObject *swig_obj[1] ;
23366
23367 if (!args) SWIG_fail;
23368 swig_obj[0] = args;
23369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23370 if (!SWIG_IsOK(res1)) {
23371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23372 }
23373 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23374 {
23375 PyThreadState* __tstate = wxPyBeginAllowThreads();
23376 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23381 return resultobj;
23382 fail:
23383 return NULL;
23384 }
23385
23386
23387 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23388 PyObject *resultobj = 0;
23389 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23390 wxSize result;
23391 void *argp1 = 0 ;
23392 int res1 = 0 ;
23393 PyObject *swig_obj[1] ;
23394
23395 if (!args) SWIG_fail;
23396 swig_obj[0] = args;
23397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23398 if (!SWIG_IsOK(res1)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23400 }
23401 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23402 {
23403 PyThreadState* __tstate = wxPyBeginAllowThreads();
23404 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23405 wxPyEndAllowThreads(__tstate);
23406 if (PyErr_Occurred()) SWIG_fail;
23407 }
23408 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23409 return resultobj;
23410 fail:
23411 return NULL;
23412 }
23413
23414
23415 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23416 PyObject *resultobj = 0;
23417 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23418 SwigValueWrapper<wxVisualAttributes > result;
23419 void *argp1 = 0 ;
23420 int res1 = 0 ;
23421 PyObject *swig_obj[1] ;
23422
23423 if (!args) SWIG_fail;
23424 swig_obj[0] = args;
23425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23426 if (!SWIG_IsOK(res1)) {
23427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23428 }
23429 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 result = (arg1)->GetDefaultAttributes();
23433 wxPyEndAllowThreads(__tstate);
23434 if (PyErr_Occurred()) SWIG_fail;
23435 }
23436 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23437 return resultobj;
23438 fail:
23439 return NULL;
23440 }
23441
23442
23443 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23444 PyObject *resultobj = 0;
23445 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23446 void *argp1 = 0 ;
23447 int res1 = 0 ;
23448 PyObject *swig_obj[1] ;
23449
23450 if (!args) SWIG_fail;
23451 swig_obj[0] = args;
23452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23453 if (!SWIG_IsOK(res1)) {
23454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23455 }
23456 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 (arg1)->OnInternalIdle();
23460 wxPyEndAllowThreads(__tstate);
23461 if (PyErr_Occurred()) SWIG_fail;
23462 }
23463 resultobj = SWIG_Py_Void();
23464 return resultobj;
23465 fail:
23466 return NULL;
23467 }
23468
23469
23470 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23471 PyObject *obj;
23472 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23473 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23474 return SWIG_Py_Void();
23475 }
23476
23477 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23478 return SWIG_Python_InitShadowInstance(args);
23479 }
23480
23481 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23482 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23483 return 1;
23484 }
23485
23486
23487 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23488 PyObject *pyobj = 0;
23489
23490 {
23491 #if wxUSE_UNICODE
23492 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23493 #else
23494 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23495 #endif
23496 }
23497 return pyobj;
23498 }
23499
23500
23501 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23502 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23503 return 1;
23504 }
23505
23506
23507 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23508 PyObject *pyobj = 0;
23509
23510 {
23511 #if wxUSE_UNICODE
23512 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23513 #else
23514 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23515 #endif
23516 }
23517 return pyobj;
23518 }
23519
23520
23521 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23522 PyObject *resultobj = 0;
23523 wxPrintData *result = 0 ;
23524
23525 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 result = (wxPrintData *)new wxPrintData();
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
23532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23533 return resultobj;
23534 fail:
23535 return NULL;
23536 }
23537
23538
23539 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23540 PyObject *resultobj = 0;
23541 wxPrintData *arg1 = 0 ;
23542 wxPrintData *result = 0 ;
23543 void *argp1 = 0 ;
23544 int res1 = 0 ;
23545
23546 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23548 if (!SWIG_IsOK(res1)) {
23549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23550 }
23551 if (!argp1) {
23552 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23553 }
23554 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23555 {
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23562 return resultobj;
23563 fail:
23564 return NULL;
23565 }
23566
23567
23568 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23569 int argc;
23570 PyObject *argv[2];
23571
23572 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23573 --argc;
23574 if (argc == 0) {
23575 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23576 }
23577 if (argc == 1) {
23578 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23579 }
23580
23581 fail:
23582 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23583 return NULL;
23584 }
23585
23586
23587 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23588 PyObject *resultobj = 0;
23589 wxPrintData *arg1 = (wxPrintData *) 0 ;
23590 void *argp1 = 0 ;
23591 int res1 = 0 ;
23592 PyObject *swig_obj[1] ;
23593
23594 if (!args) SWIG_fail;
23595 swig_obj[0] = args;
23596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23597 if (!SWIG_IsOK(res1)) {
23598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23599 }
23600 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23601 {
23602 PyThreadState* __tstate = wxPyBeginAllowThreads();
23603 delete arg1;
23604
23605 wxPyEndAllowThreads(__tstate);
23606 if (PyErr_Occurred()) SWIG_fail;
23607 }
23608 resultobj = SWIG_Py_Void();
23609 return resultobj;
23610 fail:
23611 return NULL;
23612 }
23613
23614
23615 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23616 PyObject *resultobj = 0;
23617 wxPrintData *arg1 = (wxPrintData *) 0 ;
23618 int result;
23619 void *argp1 = 0 ;
23620 int res1 = 0 ;
23621 PyObject *swig_obj[1] ;
23622
23623 if (!args) SWIG_fail;
23624 swig_obj[0] = args;
23625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23626 if (!SWIG_IsOK(res1)) {
23627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23628 }
23629 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 result = (int)(arg1)->GetNoCopies();
23633 wxPyEndAllowThreads(__tstate);
23634 if (PyErr_Occurred()) SWIG_fail;
23635 }
23636 resultobj = SWIG_From_int(static_cast< int >(result));
23637 return resultobj;
23638 fail:
23639 return NULL;
23640 }
23641
23642
23643 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23644 PyObject *resultobj = 0;
23645 wxPrintData *arg1 = (wxPrintData *) 0 ;
23646 bool result;
23647 void *argp1 = 0 ;
23648 int res1 = 0 ;
23649 PyObject *swig_obj[1] ;
23650
23651 if (!args) SWIG_fail;
23652 swig_obj[0] = args;
23653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23654 if (!SWIG_IsOK(res1)) {
23655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23656 }
23657 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23658 {
23659 PyThreadState* __tstate = wxPyBeginAllowThreads();
23660 result = (bool)(arg1)->GetCollate();
23661 wxPyEndAllowThreads(__tstate);
23662 if (PyErr_Occurred()) SWIG_fail;
23663 }
23664 {
23665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23666 }
23667 return resultobj;
23668 fail:
23669 return NULL;
23670 }
23671
23672
23673 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23674 PyObject *resultobj = 0;
23675 wxPrintData *arg1 = (wxPrintData *) 0 ;
23676 int result;
23677 void *argp1 = 0 ;
23678 int res1 = 0 ;
23679 PyObject *swig_obj[1] ;
23680
23681 if (!args) SWIG_fail;
23682 swig_obj[0] = args;
23683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23684 if (!SWIG_IsOK(res1)) {
23685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23686 }
23687 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23688 {
23689 PyThreadState* __tstate = wxPyBeginAllowThreads();
23690 result = (int)(arg1)->GetOrientation();
23691 wxPyEndAllowThreads(__tstate);
23692 if (PyErr_Occurred()) SWIG_fail;
23693 }
23694 resultobj = SWIG_From_int(static_cast< int >(result));
23695 return resultobj;
23696 fail:
23697 return NULL;
23698 }
23699
23700
23701 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23702 PyObject *resultobj = 0;
23703 wxPrintData *arg1 = (wxPrintData *) 0 ;
23704 bool result;
23705 void *argp1 = 0 ;
23706 int res1 = 0 ;
23707 PyObject *swig_obj[1] ;
23708
23709 if (!args) SWIG_fail;
23710 swig_obj[0] = args;
23711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23712 if (!SWIG_IsOK(res1)) {
23713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23714 }
23715 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23716 {
23717 PyThreadState* __tstate = wxPyBeginAllowThreads();
23718 result = (bool)(arg1)->IsOk();
23719 wxPyEndAllowThreads(__tstate);
23720 if (PyErr_Occurred()) SWIG_fail;
23721 }
23722 {
23723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23724 }
23725 return resultobj;
23726 fail:
23727 return NULL;
23728 }
23729
23730
23731 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23732 PyObject *resultobj = 0;
23733 wxPrintData *arg1 = (wxPrintData *) 0 ;
23734 wxString *result = 0 ;
23735 void *argp1 = 0 ;
23736 int res1 = 0 ;
23737 PyObject *swig_obj[1] ;
23738
23739 if (!args) SWIG_fail;
23740 swig_obj[0] = args;
23741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23742 if (!SWIG_IsOK(res1)) {
23743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23744 }
23745 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23746 {
23747 PyThreadState* __tstate = wxPyBeginAllowThreads();
23748 {
23749 wxString const &_result_ref = (arg1)->GetPrinterName();
23750 result = (wxString *) &_result_ref;
23751 }
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 {
23756 #if wxUSE_UNICODE
23757 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23758 #else
23759 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23760 #endif
23761 }
23762 return resultobj;
23763 fail:
23764 return NULL;
23765 }
23766
23767
23768 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23769 PyObject *resultobj = 0;
23770 wxPrintData *arg1 = (wxPrintData *) 0 ;
23771 bool result;
23772 void *argp1 = 0 ;
23773 int res1 = 0 ;
23774 PyObject *swig_obj[1] ;
23775
23776 if (!args) SWIG_fail;
23777 swig_obj[0] = args;
23778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23779 if (!SWIG_IsOK(res1)) {
23780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23781 }
23782 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 result = (bool)(arg1)->GetColour();
23786 wxPyEndAllowThreads(__tstate);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 }
23789 {
23790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23791 }
23792 return resultobj;
23793 fail:
23794 return NULL;
23795 }
23796
23797
23798 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23799 PyObject *resultobj = 0;
23800 wxPrintData *arg1 = (wxPrintData *) 0 ;
23801 wxDuplexMode result;
23802 void *argp1 = 0 ;
23803 int res1 = 0 ;
23804 PyObject *swig_obj[1] ;
23805
23806 if (!args) SWIG_fail;
23807 swig_obj[0] = args;
23808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23809 if (!SWIG_IsOK(res1)) {
23810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23811 }
23812 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23813 {
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 result = (wxDuplexMode)(arg1)->GetDuplex();
23816 wxPyEndAllowThreads(__tstate);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 }
23819 resultobj = SWIG_From_int(static_cast< int >(result));
23820 return resultobj;
23821 fail:
23822 return NULL;
23823 }
23824
23825
23826 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23827 PyObject *resultobj = 0;
23828 wxPrintData *arg1 = (wxPrintData *) 0 ;
23829 wxPaperSize result;
23830 void *argp1 = 0 ;
23831 int res1 = 0 ;
23832 PyObject *swig_obj[1] ;
23833
23834 if (!args) SWIG_fail;
23835 swig_obj[0] = args;
23836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23837 if (!SWIG_IsOK(res1)) {
23838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23839 }
23840 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23841 {
23842 PyThreadState* __tstate = wxPyBeginAllowThreads();
23843 result = (wxPaperSize)(arg1)->GetPaperId();
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 resultobj = SWIG_From_int(static_cast< int >(result));
23848 return resultobj;
23849 fail:
23850 return NULL;
23851 }
23852
23853
23854 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23855 PyObject *resultobj = 0;
23856 wxPrintData *arg1 = (wxPrintData *) 0 ;
23857 wxSize *result = 0 ;
23858 void *argp1 = 0 ;
23859 int res1 = 0 ;
23860 PyObject *swig_obj[1] ;
23861
23862 if (!args) SWIG_fail;
23863 swig_obj[0] = args;
23864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23865 if (!SWIG_IsOK(res1)) {
23866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23867 }
23868 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 {
23872 wxSize const &_result_ref = (arg1)->GetPaperSize();
23873 result = (wxSize *) &_result_ref;
23874 }
23875 wxPyEndAllowThreads(__tstate);
23876 if (PyErr_Occurred()) SWIG_fail;
23877 }
23878 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23879 return resultobj;
23880 fail:
23881 return NULL;
23882 }
23883
23884
23885 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23886 PyObject *resultobj = 0;
23887 wxPrintData *arg1 = (wxPrintData *) 0 ;
23888 int result;
23889 void *argp1 = 0 ;
23890 int res1 = 0 ;
23891 PyObject *swig_obj[1] ;
23892
23893 if (!args) SWIG_fail;
23894 swig_obj[0] = args;
23895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23896 if (!SWIG_IsOK(res1)) {
23897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23898 }
23899 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23900 {
23901 PyThreadState* __tstate = wxPyBeginAllowThreads();
23902 result = (int)(arg1)->GetQuality();
23903 wxPyEndAllowThreads(__tstate);
23904 if (PyErr_Occurred()) SWIG_fail;
23905 }
23906 resultobj = SWIG_From_int(static_cast< int >(result));
23907 return resultobj;
23908 fail:
23909 return NULL;
23910 }
23911
23912
23913 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23914 PyObject *resultobj = 0;
23915 wxPrintData *arg1 = (wxPrintData *) 0 ;
23916 wxPrintBin result;
23917 void *argp1 = 0 ;
23918 int res1 = 0 ;
23919 PyObject *swig_obj[1] ;
23920
23921 if (!args) SWIG_fail;
23922 swig_obj[0] = args;
23923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23924 if (!SWIG_IsOK(res1)) {
23925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23926 }
23927 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23928 {
23929 PyThreadState* __tstate = wxPyBeginAllowThreads();
23930 result = (wxPrintBin)(arg1)->GetBin();
23931 wxPyEndAllowThreads(__tstate);
23932 if (PyErr_Occurred()) SWIG_fail;
23933 }
23934 resultobj = SWIG_From_int(static_cast< int >(result));
23935 return resultobj;
23936 fail:
23937 return NULL;
23938 }
23939
23940
23941 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23942 PyObject *resultobj = 0;
23943 wxPrintData *arg1 = (wxPrintData *) 0 ;
23944 wxPrintMode result;
23945 void *argp1 = 0 ;
23946 int res1 = 0 ;
23947 PyObject *swig_obj[1] ;
23948
23949 if (!args) SWIG_fail;
23950 swig_obj[0] = args;
23951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23952 if (!SWIG_IsOK(res1)) {
23953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23954 }
23955 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23956 {
23957 PyThreadState* __tstate = wxPyBeginAllowThreads();
23958 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23959 wxPyEndAllowThreads(__tstate);
23960 if (PyErr_Occurred()) SWIG_fail;
23961 }
23962 resultobj = SWIG_From_int(static_cast< int >(result));
23963 return resultobj;
23964 fail:
23965 return NULL;
23966 }
23967
23968
23969 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23970 PyObject *resultobj = 0;
23971 wxPrintData *arg1 = (wxPrintData *) 0 ;
23972 int result;
23973 void *argp1 = 0 ;
23974 int res1 = 0 ;
23975 PyObject *swig_obj[1] ;
23976
23977 if (!args) SWIG_fail;
23978 swig_obj[0] = args;
23979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23980 if (!SWIG_IsOK(res1)) {
23981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23982 }
23983 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23984 {
23985 PyThreadState* __tstate = wxPyBeginAllowThreads();
23986 result = (int)((wxPrintData const *)arg1)->GetMedia();
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 resultobj = SWIG_From_int(static_cast< int >(result));
23991 return resultobj;
23992 fail:
23993 return NULL;
23994 }
23995
23996
23997 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23998 PyObject *resultobj = 0;
23999 wxPrintData *arg1 = (wxPrintData *) 0 ;
24000 int arg2 ;
24001 void *argp1 = 0 ;
24002 int res1 = 0 ;
24003 int val2 ;
24004 int ecode2 = 0 ;
24005 PyObject * obj0 = 0 ;
24006 PyObject * obj1 = 0 ;
24007 char * kwnames[] = {
24008 (char *) "self",(char *) "v", NULL
24009 };
24010
24011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24013 if (!SWIG_IsOK(res1)) {
24014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24015 }
24016 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24017 ecode2 = SWIG_AsVal_int(obj1, &val2);
24018 if (!SWIG_IsOK(ecode2)) {
24019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24020 }
24021 arg2 = static_cast< int >(val2);
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 (arg1)->SetNoCopies(arg2);
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 resultobj = SWIG_Py_Void();
24029 return resultobj;
24030 fail:
24031 return NULL;
24032 }
24033
24034
24035 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj = 0;
24037 wxPrintData *arg1 = (wxPrintData *) 0 ;
24038 bool arg2 ;
24039 void *argp1 = 0 ;
24040 int res1 = 0 ;
24041 bool val2 ;
24042 int ecode2 = 0 ;
24043 PyObject * obj0 = 0 ;
24044 PyObject * obj1 = 0 ;
24045 char * kwnames[] = {
24046 (char *) "self",(char *) "flag", NULL
24047 };
24048
24049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24051 if (!SWIG_IsOK(res1)) {
24052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24053 }
24054 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24055 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24056 if (!SWIG_IsOK(ecode2)) {
24057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24058 }
24059 arg2 = static_cast< bool >(val2);
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 (arg1)->SetCollate(arg2);
24063 wxPyEndAllowThreads(__tstate);
24064 if (PyErr_Occurred()) SWIG_fail;
24065 }
24066 resultobj = SWIG_Py_Void();
24067 return resultobj;
24068 fail:
24069 return NULL;
24070 }
24071
24072
24073 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24074 PyObject *resultobj = 0;
24075 wxPrintData *arg1 = (wxPrintData *) 0 ;
24076 int arg2 ;
24077 void *argp1 = 0 ;
24078 int res1 = 0 ;
24079 int val2 ;
24080 int ecode2 = 0 ;
24081 PyObject * obj0 = 0 ;
24082 PyObject * obj1 = 0 ;
24083 char * kwnames[] = {
24084 (char *) "self",(char *) "orient", NULL
24085 };
24086
24087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24089 if (!SWIG_IsOK(res1)) {
24090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24091 }
24092 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24093 ecode2 = SWIG_AsVal_int(obj1, &val2);
24094 if (!SWIG_IsOK(ecode2)) {
24095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24096 }
24097 arg2 = static_cast< int >(val2);
24098 {
24099 PyThreadState* __tstate = wxPyBeginAllowThreads();
24100 (arg1)->SetOrientation(arg2);
24101 wxPyEndAllowThreads(__tstate);
24102 if (PyErr_Occurred()) SWIG_fail;
24103 }
24104 resultobj = SWIG_Py_Void();
24105 return resultobj;
24106 fail:
24107 return NULL;
24108 }
24109
24110
24111 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24112 PyObject *resultobj = 0;
24113 wxPrintData *arg1 = (wxPrintData *) 0 ;
24114 wxString *arg2 = 0 ;
24115 void *argp1 = 0 ;
24116 int res1 = 0 ;
24117 bool temp2 = false ;
24118 PyObject * obj0 = 0 ;
24119 PyObject * obj1 = 0 ;
24120 char * kwnames[] = {
24121 (char *) "self",(char *) "name", NULL
24122 };
24123
24124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24126 if (!SWIG_IsOK(res1)) {
24127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24128 }
24129 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24130 {
24131 arg2 = wxString_in_helper(obj1);
24132 if (arg2 == NULL) SWIG_fail;
24133 temp2 = true;
24134 }
24135 {
24136 PyThreadState* __tstate = wxPyBeginAllowThreads();
24137 (arg1)->SetPrinterName((wxString const &)*arg2);
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
24141 resultobj = SWIG_Py_Void();
24142 {
24143 if (temp2)
24144 delete arg2;
24145 }
24146 return resultobj;
24147 fail:
24148 {
24149 if (temp2)
24150 delete arg2;
24151 }
24152 return NULL;
24153 }
24154
24155
24156 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24157 PyObject *resultobj = 0;
24158 wxPrintData *arg1 = (wxPrintData *) 0 ;
24159 bool arg2 ;
24160 void *argp1 = 0 ;
24161 int res1 = 0 ;
24162 bool val2 ;
24163 int ecode2 = 0 ;
24164 PyObject * obj0 = 0 ;
24165 PyObject * obj1 = 0 ;
24166 char * kwnames[] = {
24167 (char *) "self",(char *) "colour", NULL
24168 };
24169
24170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24172 if (!SWIG_IsOK(res1)) {
24173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24174 }
24175 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24176 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24177 if (!SWIG_IsOK(ecode2)) {
24178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24179 }
24180 arg2 = static_cast< bool >(val2);
24181 {
24182 PyThreadState* __tstate = wxPyBeginAllowThreads();
24183 (arg1)->SetColour(arg2);
24184 wxPyEndAllowThreads(__tstate);
24185 if (PyErr_Occurred()) SWIG_fail;
24186 }
24187 resultobj = SWIG_Py_Void();
24188 return resultobj;
24189 fail:
24190 return NULL;
24191 }
24192
24193
24194 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24195 PyObject *resultobj = 0;
24196 wxPrintData *arg1 = (wxPrintData *) 0 ;
24197 wxDuplexMode arg2 ;
24198 void *argp1 = 0 ;
24199 int res1 = 0 ;
24200 int val2 ;
24201 int ecode2 = 0 ;
24202 PyObject * obj0 = 0 ;
24203 PyObject * obj1 = 0 ;
24204 char * kwnames[] = {
24205 (char *) "self",(char *) "duplex", NULL
24206 };
24207
24208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24210 if (!SWIG_IsOK(res1)) {
24211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24212 }
24213 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24214 ecode2 = SWIG_AsVal_int(obj1, &val2);
24215 if (!SWIG_IsOK(ecode2)) {
24216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24217 }
24218 arg2 = static_cast< wxDuplexMode >(val2);
24219 {
24220 PyThreadState* __tstate = wxPyBeginAllowThreads();
24221 (arg1)->SetDuplex(arg2);
24222 wxPyEndAllowThreads(__tstate);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 }
24225 resultobj = SWIG_Py_Void();
24226 return resultobj;
24227 fail:
24228 return NULL;
24229 }
24230
24231
24232 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24233 PyObject *resultobj = 0;
24234 wxPrintData *arg1 = (wxPrintData *) 0 ;
24235 wxPaperSize arg2 ;
24236 void *argp1 = 0 ;
24237 int res1 = 0 ;
24238 int val2 ;
24239 int ecode2 = 0 ;
24240 PyObject * obj0 = 0 ;
24241 PyObject * obj1 = 0 ;
24242 char * kwnames[] = {
24243 (char *) "self",(char *) "sizeId", NULL
24244 };
24245
24246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24248 if (!SWIG_IsOK(res1)) {
24249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24250 }
24251 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24252 ecode2 = SWIG_AsVal_int(obj1, &val2);
24253 if (!SWIG_IsOK(ecode2)) {
24254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24255 }
24256 arg2 = static_cast< wxPaperSize >(val2);
24257 {
24258 PyThreadState* __tstate = wxPyBeginAllowThreads();
24259 (arg1)->SetPaperId(arg2);
24260 wxPyEndAllowThreads(__tstate);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
24263 resultobj = SWIG_Py_Void();
24264 return resultobj;
24265 fail:
24266 return NULL;
24267 }
24268
24269
24270 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24271 PyObject *resultobj = 0;
24272 wxPrintData *arg1 = (wxPrintData *) 0 ;
24273 wxSize *arg2 = 0 ;
24274 void *argp1 = 0 ;
24275 int res1 = 0 ;
24276 wxSize temp2 ;
24277 PyObject * obj0 = 0 ;
24278 PyObject * obj1 = 0 ;
24279 char * kwnames[] = {
24280 (char *) "self",(char *) "sz", NULL
24281 };
24282
24283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24285 if (!SWIG_IsOK(res1)) {
24286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24287 }
24288 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24289 {
24290 arg2 = &temp2;
24291 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24292 }
24293 {
24294 PyThreadState* __tstate = wxPyBeginAllowThreads();
24295 (arg1)->SetPaperSize((wxSize const &)*arg2);
24296 wxPyEndAllowThreads(__tstate);
24297 if (PyErr_Occurred()) SWIG_fail;
24298 }
24299 resultobj = SWIG_Py_Void();
24300 return resultobj;
24301 fail:
24302 return NULL;
24303 }
24304
24305
24306 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24307 PyObject *resultobj = 0;
24308 wxPrintData *arg1 = (wxPrintData *) 0 ;
24309 int arg2 ;
24310 void *argp1 = 0 ;
24311 int res1 = 0 ;
24312 int val2 ;
24313 int ecode2 = 0 ;
24314 PyObject * obj0 = 0 ;
24315 PyObject * obj1 = 0 ;
24316 char * kwnames[] = {
24317 (char *) "self",(char *) "quality", NULL
24318 };
24319
24320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24322 if (!SWIG_IsOK(res1)) {
24323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24324 }
24325 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24326 ecode2 = SWIG_AsVal_int(obj1, &val2);
24327 if (!SWIG_IsOK(ecode2)) {
24328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24329 }
24330 arg2 = static_cast< int >(val2);
24331 {
24332 PyThreadState* __tstate = wxPyBeginAllowThreads();
24333 (arg1)->SetQuality(arg2);
24334 wxPyEndAllowThreads(__tstate);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
24337 resultobj = SWIG_Py_Void();
24338 return resultobj;
24339 fail:
24340 return NULL;
24341 }
24342
24343
24344 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24345 PyObject *resultobj = 0;
24346 wxPrintData *arg1 = (wxPrintData *) 0 ;
24347 wxPrintBin arg2 ;
24348 void *argp1 = 0 ;
24349 int res1 = 0 ;
24350 int val2 ;
24351 int ecode2 = 0 ;
24352 PyObject * obj0 = 0 ;
24353 PyObject * obj1 = 0 ;
24354 char * kwnames[] = {
24355 (char *) "self",(char *) "bin", NULL
24356 };
24357
24358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24360 if (!SWIG_IsOK(res1)) {
24361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24362 }
24363 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24364 ecode2 = SWIG_AsVal_int(obj1, &val2);
24365 if (!SWIG_IsOK(ecode2)) {
24366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24367 }
24368 arg2 = static_cast< wxPrintBin >(val2);
24369 {
24370 PyThreadState* __tstate = wxPyBeginAllowThreads();
24371 (arg1)->SetBin(arg2);
24372 wxPyEndAllowThreads(__tstate);
24373 if (PyErr_Occurred()) SWIG_fail;
24374 }
24375 resultobj = SWIG_Py_Void();
24376 return resultobj;
24377 fail:
24378 return NULL;
24379 }
24380
24381
24382 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24383 PyObject *resultobj = 0;
24384 wxPrintData *arg1 = (wxPrintData *) 0 ;
24385 wxPrintMode arg2 ;
24386 void *argp1 = 0 ;
24387 int res1 = 0 ;
24388 int val2 ;
24389 int ecode2 = 0 ;
24390 PyObject * obj0 = 0 ;
24391 PyObject * obj1 = 0 ;
24392 char * kwnames[] = {
24393 (char *) "self",(char *) "printMode", NULL
24394 };
24395
24396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24398 if (!SWIG_IsOK(res1)) {
24399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24400 }
24401 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24402 ecode2 = SWIG_AsVal_int(obj1, &val2);
24403 if (!SWIG_IsOK(ecode2)) {
24404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24405 }
24406 arg2 = static_cast< wxPrintMode >(val2);
24407 {
24408 PyThreadState* __tstate = wxPyBeginAllowThreads();
24409 (arg1)->SetPrintMode(arg2);
24410 wxPyEndAllowThreads(__tstate);
24411 if (PyErr_Occurred()) SWIG_fail;
24412 }
24413 resultobj = SWIG_Py_Void();
24414 return resultobj;
24415 fail:
24416 return NULL;
24417 }
24418
24419
24420 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24421 PyObject *resultobj = 0;
24422 wxPrintData *arg1 = (wxPrintData *) 0 ;
24423 int arg2 ;
24424 void *argp1 = 0 ;
24425 int res1 = 0 ;
24426 int val2 ;
24427 int ecode2 = 0 ;
24428 PyObject * obj0 = 0 ;
24429 PyObject * obj1 = 0 ;
24430 char * kwnames[] = {
24431 (char *) "self",(char *) "media", NULL
24432 };
24433
24434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24436 if (!SWIG_IsOK(res1)) {
24437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24438 }
24439 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24440 ecode2 = SWIG_AsVal_int(obj1, &val2);
24441 if (!SWIG_IsOK(ecode2)) {
24442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24443 }
24444 arg2 = static_cast< int >(val2);
24445 {
24446 PyThreadState* __tstate = wxPyBeginAllowThreads();
24447 (arg1)->SetMedia(arg2);
24448 wxPyEndAllowThreads(__tstate);
24449 if (PyErr_Occurred()) SWIG_fail;
24450 }
24451 resultobj = SWIG_Py_Void();
24452 return resultobj;
24453 fail:
24454 return NULL;
24455 }
24456
24457
24458 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24459 PyObject *resultobj = 0;
24460 wxPrintData *arg1 = (wxPrintData *) 0 ;
24461 wxString result;
24462 void *argp1 = 0 ;
24463 int res1 = 0 ;
24464 PyObject *swig_obj[1] ;
24465
24466 if (!args) SWIG_fail;
24467 swig_obj[0] = args;
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 '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24471 }
24472 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24473 {
24474 PyThreadState* __tstate = wxPyBeginAllowThreads();
24475 result = ((wxPrintData const *)arg1)->GetFilename();
24476 wxPyEndAllowThreads(__tstate);
24477 if (PyErr_Occurred()) SWIG_fail;
24478 }
24479 {
24480 #if wxUSE_UNICODE
24481 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24482 #else
24483 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24484 #endif
24485 }
24486 return resultobj;
24487 fail:
24488 return NULL;
24489 }
24490
24491
24492 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24493 PyObject *resultobj = 0;
24494 wxPrintData *arg1 = (wxPrintData *) 0 ;
24495 wxString *arg2 = 0 ;
24496 void *argp1 = 0 ;
24497 int res1 = 0 ;
24498 bool temp2 = false ;
24499 PyObject * obj0 = 0 ;
24500 PyObject * obj1 = 0 ;
24501 char * kwnames[] = {
24502 (char *) "self",(char *) "filename", NULL
24503 };
24504
24505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24507 if (!SWIG_IsOK(res1)) {
24508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24509 }
24510 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24511 {
24512 arg2 = wxString_in_helper(obj1);
24513 if (arg2 == NULL) SWIG_fail;
24514 temp2 = true;
24515 }
24516 {
24517 PyThreadState* __tstate = wxPyBeginAllowThreads();
24518 (arg1)->SetFilename((wxString const &)*arg2);
24519 wxPyEndAllowThreads(__tstate);
24520 if (PyErr_Occurred()) SWIG_fail;
24521 }
24522 resultobj = SWIG_Py_Void();
24523 {
24524 if (temp2)
24525 delete arg2;
24526 }
24527 return resultobj;
24528 fail:
24529 {
24530 if (temp2)
24531 delete arg2;
24532 }
24533 return NULL;
24534 }
24535
24536
24537 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24538 PyObject *resultobj = 0;
24539 wxPrintData *arg1 = (wxPrintData *) 0 ;
24540 PyObject *result = 0 ;
24541 void *argp1 = 0 ;
24542 int res1 = 0 ;
24543 PyObject *swig_obj[1] ;
24544
24545 if (!args) SWIG_fail;
24546 swig_obj[0] = args;
24547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24548 if (!SWIG_IsOK(res1)) {
24549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24550 }
24551 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24552 {
24553 PyThreadState* __tstate = wxPyBeginAllowThreads();
24554 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24555 wxPyEndAllowThreads(__tstate);
24556 if (PyErr_Occurred()) SWIG_fail;
24557 }
24558 resultobj = result;
24559 return resultobj;
24560 fail:
24561 return NULL;
24562 }
24563
24564
24565 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24566 PyObject *resultobj = 0;
24567 wxPrintData *arg1 = (wxPrintData *) 0 ;
24568 PyObject *arg2 = (PyObject *) 0 ;
24569 void *argp1 = 0 ;
24570 int res1 = 0 ;
24571 PyObject * obj0 = 0 ;
24572 PyObject * obj1 = 0 ;
24573 char * kwnames[] = {
24574 (char *) "self",(char *) "data", NULL
24575 };
24576
24577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24579 if (!SWIG_IsOK(res1)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24581 }
24582 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24583 arg2 = obj1;
24584 {
24585 PyThreadState* __tstate = wxPyBeginAllowThreads();
24586 wxPrintData_SetPrivData(arg1,arg2);
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 resultobj = SWIG_Py_Void();
24591 return resultobj;
24592 fail:
24593 return NULL;
24594 }
24595
24596
24597 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24598 PyObject *obj;
24599 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24600 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24601 return SWIG_Py_Void();
24602 }
24603
24604 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24605 return SWIG_Python_InitShadowInstance(args);
24606 }
24607
24608 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24609 PyObject *resultobj = 0;
24610 wxPageSetupDialogData *result = 0 ;
24611
24612 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24613 {
24614 PyThreadState* __tstate = wxPyBeginAllowThreads();
24615 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24616 wxPyEndAllowThreads(__tstate);
24617 if (PyErr_Occurred()) SWIG_fail;
24618 }
24619 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24620 return resultobj;
24621 fail:
24622 return NULL;
24623 }
24624
24625
24626 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24627 PyObject *resultobj = 0;
24628 wxPageSetupDialogData *arg1 = 0 ;
24629 wxPageSetupDialogData *result = 0 ;
24630 void *argp1 = 0 ;
24631 int res1 = 0 ;
24632
24633 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24635 if (!SWIG_IsOK(res1)) {
24636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24637 }
24638 if (!argp1) {
24639 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24640 }
24641 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24642 {
24643 PyThreadState* __tstate = wxPyBeginAllowThreads();
24644 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24645 wxPyEndAllowThreads(__tstate);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
24648 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24649 return resultobj;
24650 fail:
24651 return NULL;
24652 }
24653
24654
24655 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24656 PyObject *resultobj = 0;
24657 wxPrintData *arg1 = 0 ;
24658 wxPageSetupDialogData *result = 0 ;
24659 void *argp1 = 0 ;
24660 int res1 = 0 ;
24661
24662 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24664 if (!SWIG_IsOK(res1)) {
24665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24666 }
24667 if (!argp1) {
24668 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24669 }
24670 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24671 {
24672 PyThreadState* __tstate = wxPyBeginAllowThreads();
24673 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
24677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24678 return resultobj;
24679 fail:
24680 return NULL;
24681 }
24682
24683
24684 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24685 int argc;
24686 PyObject *argv[2];
24687
24688 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24689 --argc;
24690 if (argc == 0) {
24691 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24692 }
24693 if (argc == 1) {
24694 int _v = 0;
24695 {
24696 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24697 _v = SWIG_CheckState(res);
24698 }
24699 if (!_v) goto check_2;
24700 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24701 }
24702 check_2:
24703
24704 if (argc == 1) {
24705 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24706 }
24707
24708 fail:
24709 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24710 return NULL;
24711 }
24712
24713
24714 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24715 PyObject *resultobj = 0;
24716 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24717 void *argp1 = 0 ;
24718 int res1 = 0 ;
24719 PyObject *swig_obj[1] ;
24720
24721 if (!args) SWIG_fail;
24722 swig_obj[0] = args;
24723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24724 if (!SWIG_IsOK(res1)) {
24725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24726 }
24727 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 delete arg1;
24731
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 resultobj = SWIG_Py_Void();
24736 return resultobj;
24737 fail:
24738 return NULL;
24739 }
24740
24741
24742 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24743 PyObject *resultobj = 0;
24744 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24745 bool arg2 ;
24746 void *argp1 = 0 ;
24747 int res1 = 0 ;
24748 bool val2 ;
24749 int ecode2 = 0 ;
24750 PyObject * obj0 = 0 ;
24751 PyObject * obj1 = 0 ;
24752 char * kwnames[] = {
24753 (char *) "self",(char *) "flag", NULL
24754 };
24755
24756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24758 if (!SWIG_IsOK(res1)) {
24759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24760 }
24761 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24762 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24763 if (!SWIG_IsOK(ecode2)) {
24764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24765 }
24766 arg2 = static_cast< bool >(val2);
24767 {
24768 PyThreadState* __tstate = wxPyBeginAllowThreads();
24769 (arg1)->EnableHelp(arg2);
24770 wxPyEndAllowThreads(__tstate);
24771 if (PyErr_Occurred()) SWIG_fail;
24772 }
24773 resultobj = SWIG_Py_Void();
24774 return resultobj;
24775 fail:
24776 return NULL;
24777 }
24778
24779
24780 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24781 PyObject *resultobj = 0;
24782 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24783 bool arg2 ;
24784 void *argp1 = 0 ;
24785 int res1 = 0 ;
24786 bool val2 ;
24787 int ecode2 = 0 ;
24788 PyObject * obj0 = 0 ;
24789 PyObject * obj1 = 0 ;
24790 char * kwnames[] = {
24791 (char *) "self",(char *) "flag", NULL
24792 };
24793
24794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24796 if (!SWIG_IsOK(res1)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24798 }
24799 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24800 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24801 if (!SWIG_IsOK(ecode2)) {
24802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24803 }
24804 arg2 = static_cast< bool >(val2);
24805 {
24806 PyThreadState* __tstate = wxPyBeginAllowThreads();
24807 (arg1)->EnableMargins(arg2);
24808 wxPyEndAllowThreads(__tstate);
24809 if (PyErr_Occurred()) SWIG_fail;
24810 }
24811 resultobj = SWIG_Py_Void();
24812 return resultobj;
24813 fail:
24814 return NULL;
24815 }
24816
24817
24818 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24819 PyObject *resultobj = 0;
24820 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24821 bool arg2 ;
24822 void *argp1 = 0 ;
24823 int res1 = 0 ;
24824 bool val2 ;
24825 int ecode2 = 0 ;
24826 PyObject * obj0 = 0 ;
24827 PyObject * obj1 = 0 ;
24828 char * kwnames[] = {
24829 (char *) "self",(char *) "flag", NULL
24830 };
24831
24832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24834 if (!SWIG_IsOK(res1)) {
24835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24836 }
24837 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24838 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24839 if (!SWIG_IsOK(ecode2)) {
24840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24841 }
24842 arg2 = static_cast< bool >(val2);
24843 {
24844 PyThreadState* __tstate = wxPyBeginAllowThreads();
24845 (arg1)->EnableOrientation(arg2);
24846 wxPyEndAllowThreads(__tstate);
24847 if (PyErr_Occurred()) SWIG_fail;
24848 }
24849 resultobj = SWIG_Py_Void();
24850 return resultobj;
24851 fail:
24852 return NULL;
24853 }
24854
24855
24856 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24857 PyObject *resultobj = 0;
24858 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24859 bool arg2 ;
24860 void *argp1 = 0 ;
24861 int res1 = 0 ;
24862 bool val2 ;
24863 int ecode2 = 0 ;
24864 PyObject * obj0 = 0 ;
24865 PyObject * obj1 = 0 ;
24866 char * kwnames[] = {
24867 (char *) "self",(char *) "flag", NULL
24868 };
24869
24870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24872 if (!SWIG_IsOK(res1)) {
24873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24874 }
24875 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24876 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24877 if (!SWIG_IsOK(ecode2)) {
24878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24879 }
24880 arg2 = static_cast< bool >(val2);
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 (arg1)->EnablePaper(arg2);
24884 wxPyEndAllowThreads(__tstate);
24885 if (PyErr_Occurred()) SWIG_fail;
24886 }
24887 resultobj = SWIG_Py_Void();
24888 return resultobj;
24889 fail:
24890 return NULL;
24891 }
24892
24893
24894 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24895 PyObject *resultobj = 0;
24896 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24897 bool arg2 ;
24898 void *argp1 = 0 ;
24899 int res1 = 0 ;
24900 bool val2 ;
24901 int ecode2 = 0 ;
24902 PyObject * obj0 = 0 ;
24903 PyObject * obj1 = 0 ;
24904 char * kwnames[] = {
24905 (char *) "self",(char *) "flag", NULL
24906 };
24907
24908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24910 if (!SWIG_IsOK(res1)) {
24911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24912 }
24913 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24914 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24915 if (!SWIG_IsOK(ecode2)) {
24916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24917 }
24918 arg2 = static_cast< bool >(val2);
24919 {
24920 PyThreadState* __tstate = wxPyBeginAllowThreads();
24921 (arg1)->EnablePrinter(arg2);
24922 wxPyEndAllowThreads(__tstate);
24923 if (PyErr_Occurred()) SWIG_fail;
24924 }
24925 resultobj = SWIG_Py_Void();
24926 return resultobj;
24927 fail:
24928 return NULL;
24929 }
24930
24931
24932 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24933 PyObject *resultobj = 0;
24934 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24935 bool result;
24936 void *argp1 = 0 ;
24937 int res1 = 0 ;
24938 PyObject *swig_obj[1] ;
24939
24940 if (!args) SWIG_fail;
24941 swig_obj[0] = args;
24942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24943 if (!SWIG_IsOK(res1)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24945 }
24946 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24947 {
24948 PyThreadState* __tstate = wxPyBeginAllowThreads();
24949 result = (bool)(arg1)->GetDefaultMinMargins();
24950 wxPyEndAllowThreads(__tstate);
24951 if (PyErr_Occurred()) SWIG_fail;
24952 }
24953 {
24954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24955 }
24956 return resultobj;
24957 fail:
24958 return NULL;
24959 }
24960
24961
24962 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24963 PyObject *resultobj = 0;
24964 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24965 bool result;
24966 void *argp1 = 0 ;
24967 int res1 = 0 ;
24968 PyObject *swig_obj[1] ;
24969
24970 if (!args) SWIG_fail;
24971 swig_obj[0] = args;
24972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24973 if (!SWIG_IsOK(res1)) {
24974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24975 }
24976 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24977 {
24978 PyThreadState* __tstate = wxPyBeginAllowThreads();
24979 result = (bool)(arg1)->GetEnableMargins();
24980 wxPyEndAllowThreads(__tstate);
24981 if (PyErr_Occurred()) SWIG_fail;
24982 }
24983 {
24984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24985 }
24986 return resultobj;
24987 fail:
24988 return NULL;
24989 }
24990
24991
24992 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24993 PyObject *resultobj = 0;
24994 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24995 bool result;
24996 void *argp1 = 0 ;
24997 int res1 = 0 ;
24998 PyObject *swig_obj[1] ;
24999
25000 if (!args) SWIG_fail;
25001 swig_obj[0] = args;
25002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25003 if (!SWIG_IsOK(res1)) {
25004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25005 }
25006 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25007 {
25008 PyThreadState* __tstate = wxPyBeginAllowThreads();
25009 result = (bool)(arg1)->GetEnableOrientation();
25010 wxPyEndAllowThreads(__tstate);
25011 if (PyErr_Occurred()) SWIG_fail;
25012 }
25013 {
25014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25015 }
25016 return resultobj;
25017 fail:
25018 return NULL;
25019 }
25020
25021
25022 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25023 PyObject *resultobj = 0;
25024 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25025 bool result;
25026 void *argp1 = 0 ;
25027 int res1 = 0 ;
25028 PyObject *swig_obj[1] ;
25029
25030 if (!args) SWIG_fail;
25031 swig_obj[0] = args;
25032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25033 if (!SWIG_IsOK(res1)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25035 }
25036 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25037 {
25038 PyThreadState* __tstate = wxPyBeginAllowThreads();
25039 result = (bool)(arg1)->GetEnablePaper();
25040 wxPyEndAllowThreads(__tstate);
25041 if (PyErr_Occurred()) SWIG_fail;
25042 }
25043 {
25044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25045 }
25046 return resultobj;
25047 fail:
25048 return NULL;
25049 }
25050
25051
25052 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25053 PyObject *resultobj = 0;
25054 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25055 bool result;
25056 void *argp1 = 0 ;
25057 int res1 = 0 ;
25058 PyObject *swig_obj[1] ;
25059
25060 if (!args) SWIG_fail;
25061 swig_obj[0] = args;
25062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25063 if (!SWIG_IsOK(res1)) {
25064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25065 }
25066 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25067 {
25068 PyThreadState* __tstate = wxPyBeginAllowThreads();
25069 result = (bool)(arg1)->GetEnablePrinter();
25070 wxPyEndAllowThreads(__tstate);
25071 if (PyErr_Occurred()) SWIG_fail;
25072 }
25073 {
25074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25075 }
25076 return resultobj;
25077 fail:
25078 return NULL;
25079 }
25080
25081
25082 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25083 PyObject *resultobj = 0;
25084 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25085 bool result;
25086 void *argp1 = 0 ;
25087 int res1 = 0 ;
25088 PyObject *swig_obj[1] ;
25089
25090 if (!args) SWIG_fail;
25091 swig_obj[0] = args;
25092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25093 if (!SWIG_IsOK(res1)) {
25094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25095 }
25096 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25097 {
25098 PyThreadState* __tstate = wxPyBeginAllowThreads();
25099 result = (bool)(arg1)->GetEnableHelp();
25100 wxPyEndAllowThreads(__tstate);
25101 if (PyErr_Occurred()) SWIG_fail;
25102 }
25103 {
25104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25105 }
25106 return resultobj;
25107 fail:
25108 return NULL;
25109 }
25110
25111
25112 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25113 PyObject *resultobj = 0;
25114 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25115 bool result;
25116 void *argp1 = 0 ;
25117 int res1 = 0 ;
25118 PyObject *swig_obj[1] ;
25119
25120 if (!args) SWIG_fail;
25121 swig_obj[0] = args;
25122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25123 if (!SWIG_IsOK(res1)) {
25124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25125 }
25126 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25127 {
25128 PyThreadState* __tstate = wxPyBeginAllowThreads();
25129 result = (bool)(arg1)->GetDefaultInfo();
25130 wxPyEndAllowThreads(__tstate);
25131 if (PyErr_Occurred()) SWIG_fail;
25132 }
25133 {
25134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25135 }
25136 return resultobj;
25137 fail:
25138 return NULL;
25139 }
25140
25141
25142 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25143 PyObject *resultobj = 0;
25144 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25145 wxPoint result;
25146 void *argp1 = 0 ;
25147 int res1 = 0 ;
25148 PyObject *swig_obj[1] ;
25149
25150 if (!args) SWIG_fail;
25151 swig_obj[0] = args;
25152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25153 if (!SWIG_IsOK(res1)) {
25154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25155 }
25156 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25157 {
25158 PyThreadState* __tstate = wxPyBeginAllowThreads();
25159 result = (arg1)->GetMarginTopLeft();
25160 wxPyEndAllowThreads(__tstate);
25161 if (PyErr_Occurred()) SWIG_fail;
25162 }
25163 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25164 return resultobj;
25165 fail:
25166 return NULL;
25167 }
25168
25169
25170 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25171 PyObject *resultobj = 0;
25172 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25173 wxPoint result;
25174 void *argp1 = 0 ;
25175 int res1 = 0 ;
25176 PyObject *swig_obj[1] ;
25177
25178 if (!args) SWIG_fail;
25179 swig_obj[0] = args;
25180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25181 if (!SWIG_IsOK(res1)) {
25182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25183 }
25184 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25185 {
25186 PyThreadState* __tstate = wxPyBeginAllowThreads();
25187 result = (arg1)->GetMarginBottomRight();
25188 wxPyEndAllowThreads(__tstate);
25189 if (PyErr_Occurred()) SWIG_fail;
25190 }
25191 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25192 return resultobj;
25193 fail:
25194 return NULL;
25195 }
25196
25197
25198 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25199 PyObject *resultobj = 0;
25200 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25201 wxPoint result;
25202 void *argp1 = 0 ;
25203 int res1 = 0 ;
25204 PyObject *swig_obj[1] ;
25205
25206 if (!args) SWIG_fail;
25207 swig_obj[0] = args;
25208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25209 if (!SWIG_IsOK(res1)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25211 }
25212 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25213 {
25214 PyThreadState* __tstate = wxPyBeginAllowThreads();
25215 result = (arg1)->GetMinMarginTopLeft();
25216 wxPyEndAllowThreads(__tstate);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25220 return resultobj;
25221 fail:
25222 return NULL;
25223 }
25224
25225
25226 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25227 PyObject *resultobj = 0;
25228 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25229 wxPoint result;
25230 void *argp1 = 0 ;
25231 int res1 = 0 ;
25232 PyObject *swig_obj[1] ;
25233
25234 if (!args) SWIG_fail;
25235 swig_obj[0] = args;
25236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25237 if (!SWIG_IsOK(res1)) {
25238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25239 }
25240 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25241 {
25242 PyThreadState* __tstate = wxPyBeginAllowThreads();
25243 result = (arg1)->GetMinMarginBottomRight();
25244 wxPyEndAllowThreads(__tstate);
25245 if (PyErr_Occurred()) SWIG_fail;
25246 }
25247 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25248 return resultobj;
25249 fail:
25250 return NULL;
25251 }
25252
25253
25254 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25255 PyObject *resultobj = 0;
25256 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25257 wxPaperSize result;
25258 void *argp1 = 0 ;
25259 int res1 = 0 ;
25260 PyObject *swig_obj[1] ;
25261
25262 if (!args) SWIG_fail;
25263 swig_obj[0] = args;
25264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25265 if (!SWIG_IsOK(res1)) {
25266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25267 }
25268 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25269 {
25270 PyThreadState* __tstate = wxPyBeginAllowThreads();
25271 result = (wxPaperSize)(arg1)->GetPaperId();
25272 wxPyEndAllowThreads(__tstate);
25273 if (PyErr_Occurred()) SWIG_fail;
25274 }
25275 resultobj = SWIG_From_int(static_cast< int >(result));
25276 return resultobj;
25277 fail:
25278 return NULL;
25279 }
25280
25281
25282 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25283 PyObject *resultobj = 0;
25284 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25285 wxSize result;
25286 void *argp1 = 0 ;
25287 int res1 = 0 ;
25288 PyObject *swig_obj[1] ;
25289
25290 if (!args) SWIG_fail;
25291 swig_obj[0] = args;
25292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25293 if (!SWIG_IsOK(res1)) {
25294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25295 }
25296 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25297 {
25298 PyThreadState* __tstate = wxPyBeginAllowThreads();
25299 result = (arg1)->GetPaperSize();
25300 wxPyEndAllowThreads(__tstate);
25301 if (PyErr_Occurred()) SWIG_fail;
25302 }
25303 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25304 return resultobj;
25305 fail:
25306 return NULL;
25307 }
25308
25309
25310 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25311 PyObject *resultobj = 0;
25312 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25313 wxPrintData *result = 0 ;
25314 void *argp1 = 0 ;
25315 int res1 = 0 ;
25316 PyObject *swig_obj[1] ;
25317
25318 if (!args) SWIG_fail;
25319 swig_obj[0] = args;
25320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25321 if (!SWIG_IsOK(res1)) {
25322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25323 }
25324 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25325 {
25326 PyThreadState* __tstate = wxPyBeginAllowThreads();
25327 {
25328 wxPrintData &_result_ref = (arg1)->GetPrintData();
25329 result = (wxPrintData *) &_result_ref;
25330 }
25331 wxPyEndAllowThreads(__tstate);
25332 if (PyErr_Occurred()) SWIG_fail;
25333 }
25334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25335 return resultobj;
25336 fail:
25337 return NULL;
25338 }
25339
25340
25341 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25342 PyObject *resultobj = 0;
25343 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25344 bool result;
25345 void *argp1 = 0 ;
25346 int res1 = 0 ;
25347 PyObject *swig_obj[1] ;
25348
25349 if (!args) SWIG_fail;
25350 swig_obj[0] = args;
25351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25352 if (!SWIG_IsOK(res1)) {
25353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25354 }
25355 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25356 {
25357 PyThreadState* __tstate = wxPyBeginAllowThreads();
25358 result = (bool)(arg1)->IsOk();
25359 wxPyEndAllowThreads(__tstate);
25360 if (PyErr_Occurred()) SWIG_fail;
25361 }
25362 {
25363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25364 }
25365 return resultobj;
25366 fail:
25367 return NULL;
25368 }
25369
25370
25371 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25372 PyObject *resultobj = 0;
25373 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25374 bool arg2 ;
25375 void *argp1 = 0 ;
25376 int res1 = 0 ;
25377 bool val2 ;
25378 int ecode2 = 0 ;
25379 PyObject * obj0 = 0 ;
25380 PyObject * obj1 = 0 ;
25381 char * kwnames[] = {
25382 (char *) "self",(char *) "flag", NULL
25383 };
25384
25385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25387 if (!SWIG_IsOK(res1)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25389 }
25390 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25391 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25392 if (!SWIG_IsOK(ecode2)) {
25393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25394 }
25395 arg2 = static_cast< bool >(val2);
25396 {
25397 PyThreadState* __tstate = wxPyBeginAllowThreads();
25398 (arg1)->SetDefaultInfo(arg2);
25399 wxPyEndAllowThreads(__tstate);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 }
25402 resultobj = SWIG_Py_Void();
25403 return resultobj;
25404 fail:
25405 return NULL;
25406 }
25407
25408
25409 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25410 PyObject *resultobj = 0;
25411 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25412 bool arg2 ;
25413 void *argp1 = 0 ;
25414 int res1 = 0 ;
25415 bool val2 ;
25416 int ecode2 = 0 ;
25417 PyObject * obj0 = 0 ;
25418 PyObject * obj1 = 0 ;
25419 char * kwnames[] = {
25420 (char *) "self",(char *) "flag", NULL
25421 };
25422
25423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25425 if (!SWIG_IsOK(res1)) {
25426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25427 }
25428 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25429 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25430 if (!SWIG_IsOK(ecode2)) {
25431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25432 }
25433 arg2 = static_cast< bool >(val2);
25434 {
25435 PyThreadState* __tstate = wxPyBeginAllowThreads();
25436 (arg1)->SetDefaultMinMargins(arg2);
25437 wxPyEndAllowThreads(__tstate);
25438 if (PyErr_Occurred()) SWIG_fail;
25439 }
25440 resultobj = SWIG_Py_Void();
25441 return resultobj;
25442 fail:
25443 return NULL;
25444 }
25445
25446
25447 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25448 PyObject *resultobj = 0;
25449 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25450 wxPoint *arg2 = 0 ;
25451 void *argp1 = 0 ;
25452 int res1 = 0 ;
25453 wxPoint temp2 ;
25454 PyObject * obj0 = 0 ;
25455 PyObject * obj1 = 0 ;
25456 char * kwnames[] = {
25457 (char *) "self",(char *) "pt", NULL
25458 };
25459
25460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25462 if (!SWIG_IsOK(res1)) {
25463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25464 }
25465 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25466 {
25467 arg2 = &temp2;
25468 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25469 }
25470 {
25471 PyThreadState* __tstate = wxPyBeginAllowThreads();
25472 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25473 wxPyEndAllowThreads(__tstate);
25474 if (PyErr_Occurred()) SWIG_fail;
25475 }
25476 resultobj = SWIG_Py_Void();
25477 return resultobj;
25478 fail:
25479 return NULL;
25480 }
25481
25482
25483 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25484 PyObject *resultobj = 0;
25485 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25486 wxPoint *arg2 = 0 ;
25487 void *argp1 = 0 ;
25488 int res1 = 0 ;
25489 wxPoint temp2 ;
25490 PyObject * obj0 = 0 ;
25491 PyObject * obj1 = 0 ;
25492 char * kwnames[] = {
25493 (char *) "self",(char *) "pt", NULL
25494 };
25495
25496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25498 if (!SWIG_IsOK(res1)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25500 }
25501 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25502 {
25503 arg2 = &temp2;
25504 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25505 }
25506 {
25507 PyThreadState* __tstate = wxPyBeginAllowThreads();
25508 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25509 wxPyEndAllowThreads(__tstate);
25510 if (PyErr_Occurred()) SWIG_fail;
25511 }
25512 resultobj = SWIG_Py_Void();
25513 return resultobj;
25514 fail:
25515 return NULL;
25516 }
25517
25518
25519 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25520 PyObject *resultobj = 0;
25521 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25522 wxPoint *arg2 = 0 ;
25523 void *argp1 = 0 ;
25524 int res1 = 0 ;
25525 wxPoint temp2 ;
25526 PyObject * obj0 = 0 ;
25527 PyObject * obj1 = 0 ;
25528 char * kwnames[] = {
25529 (char *) "self",(char *) "pt", NULL
25530 };
25531
25532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25534 if (!SWIG_IsOK(res1)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25536 }
25537 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25538 {
25539 arg2 = &temp2;
25540 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25541 }
25542 {
25543 PyThreadState* __tstate = wxPyBeginAllowThreads();
25544 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25545 wxPyEndAllowThreads(__tstate);
25546 if (PyErr_Occurred()) SWIG_fail;
25547 }
25548 resultobj = SWIG_Py_Void();
25549 return resultobj;
25550 fail:
25551 return NULL;
25552 }
25553
25554
25555 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25556 PyObject *resultobj = 0;
25557 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25558 wxPoint *arg2 = 0 ;
25559 void *argp1 = 0 ;
25560 int res1 = 0 ;
25561 wxPoint temp2 ;
25562 PyObject * obj0 = 0 ;
25563 PyObject * obj1 = 0 ;
25564 char * kwnames[] = {
25565 (char *) "self",(char *) "pt", NULL
25566 };
25567
25568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25570 if (!SWIG_IsOK(res1)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25572 }
25573 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25574 {
25575 arg2 = &temp2;
25576 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25577 }
25578 {
25579 PyThreadState* __tstate = wxPyBeginAllowThreads();
25580 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25581 wxPyEndAllowThreads(__tstate);
25582 if (PyErr_Occurred()) SWIG_fail;
25583 }
25584 resultobj = SWIG_Py_Void();
25585 return resultobj;
25586 fail:
25587 return NULL;
25588 }
25589
25590
25591 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25592 PyObject *resultobj = 0;
25593 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25594 wxPaperSize arg2 ;
25595 void *argp1 = 0 ;
25596 int res1 = 0 ;
25597 int val2 ;
25598 int ecode2 = 0 ;
25599 PyObject * obj0 = 0 ;
25600 PyObject * obj1 = 0 ;
25601 char * kwnames[] = {
25602 (char *) "self",(char *) "id", NULL
25603 };
25604
25605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25607 if (!SWIG_IsOK(res1)) {
25608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25609 }
25610 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25611 ecode2 = SWIG_AsVal_int(obj1, &val2);
25612 if (!SWIG_IsOK(ecode2)) {
25613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25614 }
25615 arg2 = static_cast< wxPaperSize >(val2);
25616 {
25617 PyThreadState* __tstate = wxPyBeginAllowThreads();
25618 (arg1)->SetPaperId(arg2);
25619 wxPyEndAllowThreads(__tstate);
25620 if (PyErr_Occurred()) SWIG_fail;
25621 }
25622 resultobj = SWIG_Py_Void();
25623 return resultobj;
25624 fail:
25625 return NULL;
25626 }
25627
25628
25629 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25630 PyObject *resultobj = 0;
25631 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25632 wxSize *arg2 = 0 ;
25633 void *argp1 = 0 ;
25634 int res1 = 0 ;
25635 wxSize temp2 ;
25636 PyObject * obj0 = 0 ;
25637 PyObject * obj1 = 0 ;
25638 char * kwnames[] = {
25639 (char *) "self",(char *) "size", NULL
25640 };
25641
25642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25644 if (!SWIG_IsOK(res1)) {
25645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25646 }
25647 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25648 {
25649 arg2 = &temp2;
25650 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25651 }
25652 {
25653 PyThreadState* __tstate = wxPyBeginAllowThreads();
25654 (arg1)->SetPaperSize((wxSize const &)*arg2);
25655 wxPyEndAllowThreads(__tstate);
25656 if (PyErr_Occurred()) SWIG_fail;
25657 }
25658 resultobj = SWIG_Py_Void();
25659 return resultobj;
25660 fail:
25661 return NULL;
25662 }
25663
25664
25665 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25666 PyObject *resultobj = 0;
25667 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25668 wxPrintData *arg2 = 0 ;
25669 void *argp1 = 0 ;
25670 int res1 = 0 ;
25671 void *argp2 = 0 ;
25672 int res2 = 0 ;
25673 PyObject * obj0 = 0 ;
25674 PyObject * obj1 = 0 ;
25675 char * kwnames[] = {
25676 (char *) "self",(char *) "printData", NULL
25677 };
25678
25679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25681 if (!SWIG_IsOK(res1)) {
25682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25683 }
25684 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25685 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25686 if (!SWIG_IsOK(res2)) {
25687 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25688 }
25689 if (!argp2) {
25690 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25691 }
25692 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25693 {
25694 PyThreadState* __tstate = wxPyBeginAllowThreads();
25695 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25696 wxPyEndAllowThreads(__tstate);
25697 if (PyErr_Occurred()) SWIG_fail;
25698 }
25699 resultobj = SWIG_Py_Void();
25700 return resultobj;
25701 fail:
25702 return NULL;
25703 }
25704
25705
25706 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25707 PyObject *resultobj = 0;
25708 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25709 void *argp1 = 0 ;
25710 int res1 = 0 ;
25711 PyObject *swig_obj[1] ;
25712
25713 if (!args) SWIG_fail;
25714 swig_obj[0] = args;
25715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25716 if (!SWIG_IsOK(res1)) {
25717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25718 }
25719 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25720 {
25721 PyThreadState* __tstate = wxPyBeginAllowThreads();
25722 (arg1)->CalculateIdFromPaperSize();
25723 wxPyEndAllowThreads(__tstate);
25724 if (PyErr_Occurred()) SWIG_fail;
25725 }
25726 resultobj = SWIG_Py_Void();
25727 return resultobj;
25728 fail:
25729 return NULL;
25730 }
25731
25732
25733 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25734 PyObject *resultobj = 0;
25735 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25736 void *argp1 = 0 ;
25737 int res1 = 0 ;
25738 PyObject *swig_obj[1] ;
25739
25740 if (!args) SWIG_fail;
25741 swig_obj[0] = args;
25742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25743 if (!SWIG_IsOK(res1)) {
25744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25745 }
25746 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25747 {
25748 PyThreadState* __tstate = wxPyBeginAllowThreads();
25749 (arg1)->CalculatePaperSizeFromId();
25750 wxPyEndAllowThreads(__tstate);
25751 if (PyErr_Occurred()) SWIG_fail;
25752 }
25753 resultobj = SWIG_Py_Void();
25754 return resultobj;
25755 fail:
25756 return NULL;
25757 }
25758
25759
25760 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25761 PyObject *obj;
25762 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25763 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25764 return SWIG_Py_Void();
25765 }
25766
25767 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25768 return SWIG_Python_InitShadowInstance(args);
25769 }
25770
25771 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25772 PyObject *resultobj = 0;
25773 wxWindow *arg1 = (wxWindow *) 0 ;
25774 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25775 wxPageSetupDialog *result = 0 ;
25776 void *argp1 = 0 ;
25777 int res1 = 0 ;
25778 void *argp2 = 0 ;
25779 int res2 = 0 ;
25780 PyObject * obj0 = 0 ;
25781 PyObject * obj1 = 0 ;
25782 char * kwnames[] = {
25783 (char *) "parent",(char *) "data", NULL
25784 };
25785
25786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25788 if (!SWIG_IsOK(res1)) {
25789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25790 }
25791 arg1 = reinterpret_cast< wxWindow * >(argp1);
25792 if (obj1) {
25793 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25794 if (!SWIG_IsOK(res2)) {
25795 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25796 }
25797 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25798 }
25799 {
25800 if (!wxPyCheckForApp()) SWIG_fail;
25801 PyThreadState* __tstate = wxPyBeginAllowThreads();
25802 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25803 wxPyEndAllowThreads(__tstate);
25804 if (PyErr_Occurred()) SWIG_fail;
25805 }
25806 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25807 return resultobj;
25808 fail:
25809 return NULL;
25810 }
25811
25812
25813 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25814 PyObject *resultobj = 0;
25815 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25816 void *argp1 = 0 ;
25817 int res1 = 0 ;
25818 PyObject *swig_obj[1] ;
25819
25820 if (!args) SWIG_fail;
25821 swig_obj[0] = args;
25822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25823 if (!SWIG_IsOK(res1)) {
25824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25825 }
25826 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25827 {
25828 PyThreadState* __tstate = wxPyBeginAllowThreads();
25829 delete arg1;
25830
25831 wxPyEndAllowThreads(__tstate);
25832 if (PyErr_Occurred()) SWIG_fail;
25833 }
25834 resultobj = SWIG_Py_Void();
25835 return resultobj;
25836 fail:
25837 return NULL;
25838 }
25839
25840
25841 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25842 PyObject *resultobj = 0;
25843 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25844 wxPageSetupDialogData *result = 0 ;
25845 void *argp1 = 0 ;
25846 int res1 = 0 ;
25847 PyObject *swig_obj[1] ;
25848
25849 if (!args) SWIG_fail;
25850 swig_obj[0] = args;
25851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25852 if (!SWIG_IsOK(res1)) {
25853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25854 }
25855 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25856 {
25857 PyThreadState* __tstate = wxPyBeginAllowThreads();
25858 {
25859 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25860 result = (wxPageSetupDialogData *) &_result_ref;
25861 }
25862 wxPyEndAllowThreads(__tstate);
25863 if (PyErr_Occurred()) SWIG_fail;
25864 }
25865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25866 return resultobj;
25867 fail:
25868 return NULL;
25869 }
25870
25871
25872 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25873 PyObject *resultobj = 0;
25874 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25875 wxPageSetupDialogData *result = 0 ;
25876 void *argp1 = 0 ;
25877 int res1 = 0 ;
25878 PyObject *swig_obj[1] ;
25879
25880 if (!args) SWIG_fail;
25881 swig_obj[0] = args;
25882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25883 if (!SWIG_IsOK(res1)) {
25884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25885 }
25886 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25887 {
25888 PyThreadState* __tstate = wxPyBeginAllowThreads();
25889 {
25890 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25891 result = (wxPageSetupDialogData *) &_result_ref;
25892 }
25893 wxPyEndAllowThreads(__tstate);
25894 if (PyErr_Occurred()) SWIG_fail;
25895 }
25896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25897 return resultobj;
25898 fail:
25899 return NULL;
25900 }
25901
25902
25903 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25904 PyObject *resultobj = 0;
25905 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25906 int result;
25907 void *argp1 = 0 ;
25908 int res1 = 0 ;
25909 PyObject *swig_obj[1] ;
25910
25911 if (!args) SWIG_fail;
25912 swig_obj[0] = args;
25913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25914 if (!SWIG_IsOK(res1)) {
25915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25916 }
25917 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25918 {
25919 PyThreadState* __tstate = wxPyBeginAllowThreads();
25920 result = (int)(arg1)->ShowModal();
25921 wxPyEndAllowThreads(__tstate);
25922 if (PyErr_Occurred()) SWIG_fail;
25923 }
25924 resultobj = SWIG_From_int(static_cast< int >(result));
25925 return resultobj;
25926 fail:
25927 return NULL;
25928 }
25929
25930
25931 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25932 PyObject *obj;
25933 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25934 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25935 return SWIG_Py_Void();
25936 }
25937
25938 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25939 return SWIG_Python_InitShadowInstance(args);
25940 }
25941
25942 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25943 PyObject *resultobj = 0;
25944 wxPrintDialogData *result = 0 ;
25945
25946 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25947 {
25948 PyThreadState* __tstate = wxPyBeginAllowThreads();
25949 result = (wxPrintDialogData *)new wxPrintDialogData();
25950 wxPyEndAllowThreads(__tstate);
25951 if (PyErr_Occurred()) SWIG_fail;
25952 }
25953 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25954 return resultobj;
25955 fail:
25956 return NULL;
25957 }
25958
25959
25960 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25961 PyObject *resultobj = 0;
25962 wxPrintData *arg1 = 0 ;
25963 wxPrintDialogData *result = 0 ;
25964 void *argp1 = 0 ;
25965 int res1 = 0 ;
25966
25967 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25969 if (!SWIG_IsOK(res1)) {
25970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25971 }
25972 if (!argp1) {
25973 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25974 }
25975 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25976 {
25977 PyThreadState* __tstate = wxPyBeginAllowThreads();
25978 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25979 wxPyEndAllowThreads(__tstate);
25980 if (PyErr_Occurred()) SWIG_fail;
25981 }
25982 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25983 return resultobj;
25984 fail:
25985 return NULL;
25986 }
25987
25988
25989 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25990 PyObject *resultobj = 0;
25991 wxPrintDialogData *arg1 = 0 ;
25992 wxPrintDialogData *result = 0 ;
25993 void *argp1 = 0 ;
25994 int res1 = 0 ;
25995
25996 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25998 if (!SWIG_IsOK(res1)) {
25999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26000 }
26001 if (!argp1) {
26002 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26003 }
26004 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26005 {
26006 PyThreadState* __tstate = wxPyBeginAllowThreads();
26007 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26008 wxPyEndAllowThreads(__tstate);
26009 if (PyErr_Occurred()) SWIG_fail;
26010 }
26011 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26012 return resultobj;
26013 fail:
26014 return NULL;
26015 }
26016
26017
26018 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26019 int argc;
26020 PyObject *argv[2];
26021
26022 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26023 --argc;
26024 if (argc == 0) {
26025 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26026 }
26027 if (argc == 1) {
26028 int _v = 0;
26029 {
26030 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26031 _v = SWIG_CheckState(res);
26032 }
26033 if (!_v) goto check_2;
26034 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26035 }
26036 check_2:
26037
26038 if (argc == 1) {
26039 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26040 }
26041
26042 fail:
26043 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26044 return NULL;
26045 }
26046
26047
26048 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26049 PyObject *resultobj = 0;
26050 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26051 void *argp1 = 0 ;
26052 int res1 = 0 ;
26053 PyObject *swig_obj[1] ;
26054
26055 if (!args) SWIG_fail;
26056 swig_obj[0] = args;
26057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26058 if (!SWIG_IsOK(res1)) {
26059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26060 }
26061 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26062 {
26063 PyThreadState* __tstate = wxPyBeginAllowThreads();
26064 delete arg1;
26065
26066 wxPyEndAllowThreads(__tstate);
26067 if (PyErr_Occurred()) SWIG_fail;
26068 }
26069 resultobj = SWIG_Py_Void();
26070 return resultobj;
26071 fail:
26072 return NULL;
26073 }
26074
26075
26076 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26077 PyObject *resultobj = 0;
26078 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26079 int result;
26080 void *argp1 = 0 ;
26081 int res1 = 0 ;
26082 PyObject *swig_obj[1] ;
26083
26084 if (!args) SWIG_fail;
26085 swig_obj[0] = args;
26086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26087 if (!SWIG_IsOK(res1)) {
26088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26089 }
26090 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26091 {
26092 PyThreadState* __tstate = wxPyBeginAllowThreads();
26093 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26094 wxPyEndAllowThreads(__tstate);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 }
26097 resultobj = SWIG_From_int(static_cast< int >(result));
26098 return resultobj;
26099 fail:
26100 return NULL;
26101 }
26102
26103
26104 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26105 PyObject *resultobj = 0;
26106 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26107 int result;
26108 void *argp1 = 0 ;
26109 int res1 = 0 ;
26110 PyObject *swig_obj[1] ;
26111
26112 if (!args) SWIG_fail;
26113 swig_obj[0] = args;
26114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26115 if (!SWIG_IsOK(res1)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26117 }
26118 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26119 {
26120 PyThreadState* __tstate = wxPyBeginAllowThreads();
26121 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26122 wxPyEndAllowThreads(__tstate);
26123 if (PyErr_Occurred()) SWIG_fail;
26124 }
26125 resultobj = SWIG_From_int(static_cast< int >(result));
26126 return resultobj;
26127 fail:
26128 return NULL;
26129 }
26130
26131
26132 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26133 PyObject *resultobj = 0;
26134 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26135 int result;
26136 void *argp1 = 0 ;
26137 int res1 = 0 ;
26138 PyObject *swig_obj[1] ;
26139
26140 if (!args) SWIG_fail;
26141 swig_obj[0] = args;
26142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26143 if (!SWIG_IsOK(res1)) {
26144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26145 }
26146 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26147 {
26148 PyThreadState* __tstate = wxPyBeginAllowThreads();
26149 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26150 wxPyEndAllowThreads(__tstate);
26151 if (PyErr_Occurred()) SWIG_fail;
26152 }
26153 resultobj = SWIG_From_int(static_cast< int >(result));
26154 return resultobj;
26155 fail:
26156 return NULL;
26157 }
26158
26159
26160 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26161 PyObject *resultobj = 0;
26162 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26163 int result;
26164 void *argp1 = 0 ;
26165 int res1 = 0 ;
26166 PyObject *swig_obj[1] ;
26167
26168 if (!args) SWIG_fail;
26169 swig_obj[0] = args;
26170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26171 if (!SWIG_IsOK(res1)) {
26172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26173 }
26174 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26175 {
26176 PyThreadState* __tstate = wxPyBeginAllowThreads();
26177 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26178 wxPyEndAllowThreads(__tstate);
26179 if (PyErr_Occurred()) SWIG_fail;
26180 }
26181 resultobj = SWIG_From_int(static_cast< int >(result));
26182 return resultobj;
26183 fail:
26184 return NULL;
26185 }
26186
26187
26188 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26189 PyObject *resultobj = 0;
26190 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26191 int result;
26192 void *argp1 = 0 ;
26193 int res1 = 0 ;
26194 PyObject *swig_obj[1] ;
26195
26196 if (!args) SWIG_fail;
26197 swig_obj[0] = args;
26198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26199 if (!SWIG_IsOK(res1)) {
26200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26201 }
26202 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26203 {
26204 PyThreadState* __tstate = wxPyBeginAllowThreads();
26205 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26206 wxPyEndAllowThreads(__tstate);
26207 if (PyErr_Occurred()) SWIG_fail;
26208 }
26209 resultobj = SWIG_From_int(static_cast< int >(result));
26210 return resultobj;
26211 fail:
26212 return NULL;
26213 }
26214
26215
26216 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26217 PyObject *resultobj = 0;
26218 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26219 bool result;
26220 void *argp1 = 0 ;
26221 int res1 = 0 ;
26222 PyObject *swig_obj[1] ;
26223
26224 if (!args) SWIG_fail;
26225 swig_obj[0] = args;
26226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26227 if (!SWIG_IsOK(res1)) {
26228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26229 }
26230 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26231 {
26232 PyThreadState* __tstate = wxPyBeginAllowThreads();
26233 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26234 wxPyEndAllowThreads(__tstate);
26235 if (PyErr_Occurred()) SWIG_fail;
26236 }
26237 {
26238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26239 }
26240 return resultobj;
26241 fail:
26242 return NULL;
26243 }
26244
26245
26246 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26247 PyObject *resultobj = 0;
26248 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26249 bool result;
26250 void *argp1 = 0 ;
26251 int res1 = 0 ;
26252 PyObject *swig_obj[1] ;
26253
26254 if (!args) SWIG_fail;
26255 swig_obj[0] = args;
26256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26257 if (!SWIG_IsOK(res1)) {
26258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26259 }
26260 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26261 {
26262 PyThreadState* __tstate = wxPyBeginAllowThreads();
26263 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26264 wxPyEndAllowThreads(__tstate);
26265 if (PyErr_Occurred()) SWIG_fail;
26266 }
26267 {
26268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26269 }
26270 return resultobj;
26271 fail:
26272 return NULL;
26273 }
26274
26275
26276 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26277 PyObject *resultobj = 0;
26278 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26279 bool result;
26280 void *argp1 = 0 ;
26281 int res1 = 0 ;
26282 PyObject *swig_obj[1] ;
26283
26284 if (!args) SWIG_fail;
26285 swig_obj[0] = args;
26286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26287 if (!SWIG_IsOK(res1)) {
26288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26289 }
26290 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26291 {
26292 PyThreadState* __tstate = wxPyBeginAllowThreads();
26293 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26294 wxPyEndAllowThreads(__tstate);
26295 if (PyErr_Occurred()) SWIG_fail;
26296 }
26297 {
26298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26299 }
26300 return resultobj;
26301 fail:
26302 return NULL;
26303 }
26304
26305
26306 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26307 PyObject *resultobj = 0;
26308 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26309 bool result;
26310 void *argp1 = 0 ;
26311 int res1 = 0 ;
26312 PyObject *swig_obj[1] ;
26313
26314 if (!args) SWIG_fail;
26315 swig_obj[0] = args;
26316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26317 if (!SWIG_IsOK(res1)) {
26318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26319 }
26320 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26321 {
26322 PyThreadState* __tstate = wxPyBeginAllowThreads();
26323 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26324 wxPyEndAllowThreads(__tstate);
26325 if (PyErr_Occurred()) SWIG_fail;
26326 }
26327 {
26328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26329 }
26330 return resultobj;
26331 fail:
26332 return NULL;
26333 }
26334
26335
26336 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26337 PyObject *resultobj = 0;
26338 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26339 int arg2 ;
26340 void *argp1 = 0 ;
26341 int res1 = 0 ;
26342 int val2 ;
26343 int ecode2 = 0 ;
26344 PyObject * obj0 = 0 ;
26345 PyObject * obj1 = 0 ;
26346 char * kwnames[] = {
26347 (char *) "self",(char *) "v", NULL
26348 };
26349
26350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26352 if (!SWIG_IsOK(res1)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26354 }
26355 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26356 ecode2 = SWIG_AsVal_int(obj1, &val2);
26357 if (!SWIG_IsOK(ecode2)) {
26358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26359 }
26360 arg2 = static_cast< int >(val2);
26361 {
26362 PyThreadState* __tstate = wxPyBeginAllowThreads();
26363 (arg1)->SetFromPage(arg2);
26364 wxPyEndAllowThreads(__tstate);
26365 if (PyErr_Occurred()) SWIG_fail;
26366 }
26367 resultobj = SWIG_Py_Void();
26368 return resultobj;
26369 fail:
26370 return NULL;
26371 }
26372
26373
26374 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26375 PyObject *resultobj = 0;
26376 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26377 int arg2 ;
26378 void *argp1 = 0 ;
26379 int res1 = 0 ;
26380 int val2 ;
26381 int ecode2 = 0 ;
26382 PyObject * obj0 = 0 ;
26383 PyObject * obj1 = 0 ;
26384 char * kwnames[] = {
26385 (char *) "self",(char *) "v", NULL
26386 };
26387
26388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26390 if (!SWIG_IsOK(res1)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26392 }
26393 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26394 ecode2 = SWIG_AsVal_int(obj1, &val2);
26395 if (!SWIG_IsOK(ecode2)) {
26396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26397 }
26398 arg2 = static_cast< int >(val2);
26399 {
26400 PyThreadState* __tstate = wxPyBeginAllowThreads();
26401 (arg1)->SetToPage(arg2);
26402 wxPyEndAllowThreads(__tstate);
26403 if (PyErr_Occurred()) SWIG_fail;
26404 }
26405 resultobj = SWIG_Py_Void();
26406 return resultobj;
26407 fail:
26408 return NULL;
26409 }
26410
26411
26412 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26413 PyObject *resultobj = 0;
26414 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26415 int arg2 ;
26416 void *argp1 = 0 ;
26417 int res1 = 0 ;
26418 int val2 ;
26419 int ecode2 = 0 ;
26420 PyObject * obj0 = 0 ;
26421 PyObject * obj1 = 0 ;
26422 char * kwnames[] = {
26423 (char *) "self",(char *) "v", NULL
26424 };
26425
26426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26428 if (!SWIG_IsOK(res1)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26430 }
26431 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26432 ecode2 = SWIG_AsVal_int(obj1, &val2);
26433 if (!SWIG_IsOK(ecode2)) {
26434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26435 }
26436 arg2 = static_cast< int >(val2);
26437 {
26438 PyThreadState* __tstate = wxPyBeginAllowThreads();
26439 (arg1)->SetMinPage(arg2);
26440 wxPyEndAllowThreads(__tstate);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 }
26443 resultobj = SWIG_Py_Void();
26444 return resultobj;
26445 fail:
26446 return NULL;
26447 }
26448
26449
26450 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26451 PyObject *resultobj = 0;
26452 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26453 int arg2 ;
26454 void *argp1 = 0 ;
26455 int res1 = 0 ;
26456 int val2 ;
26457 int ecode2 = 0 ;
26458 PyObject * obj0 = 0 ;
26459 PyObject * obj1 = 0 ;
26460 char * kwnames[] = {
26461 (char *) "self",(char *) "v", NULL
26462 };
26463
26464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26466 if (!SWIG_IsOK(res1)) {
26467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26468 }
26469 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26470 ecode2 = SWIG_AsVal_int(obj1, &val2);
26471 if (!SWIG_IsOK(ecode2)) {
26472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26473 }
26474 arg2 = static_cast< int >(val2);
26475 {
26476 PyThreadState* __tstate = wxPyBeginAllowThreads();
26477 (arg1)->SetMaxPage(arg2);
26478 wxPyEndAllowThreads(__tstate);
26479 if (PyErr_Occurred()) SWIG_fail;
26480 }
26481 resultobj = SWIG_Py_Void();
26482 return resultobj;
26483 fail:
26484 return NULL;
26485 }
26486
26487
26488 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26489 PyObject *resultobj = 0;
26490 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26491 int arg2 ;
26492 void *argp1 = 0 ;
26493 int res1 = 0 ;
26494 int val2 ;
26495 int ecode2 = 0 ;
26496 PyObject * obj0 = 0 ;
26497 PyObject * obj1 = 0 ;
26498 char * kwnames[] = {
26499 (char *) "self",(char *) "v", NULL
26500 };
26501
26502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26504 if (!SWIG_IsOK(res1)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26506 }
26507 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26508 ecode2 = SWIG_AsVal_int(obj1, &val2);
26509 if (!SWIG_IsOK(ecode2)) {
26510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26511 }
26512 arg2 = static_cast< int >(val2);
26513 {
26514 PyThreadState* __tstate = wxPyBeginAllowThreads();
26515 (arg1)->SetNoCopies(arg2);
26516 wxPyEndAllowThreads(__tstate);
26517 if (PyErr_Occurred()) SWIG_fail;
26518 }
26519 resultobj = SWIG_Py_Void();
26520 return resultobj;
26521 fail:
26522 return NULL;
26523 }
26524
26525
26526 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26527 PyObject *resultobj = 0;
26528 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26529 bool arg2 ;
26530 void *argp1 = 0 ;
26531 int res1 = 0 ;
26532 bool val2 ;
26533 int ecode2 = 0 ;
26534 PyObject * obj0 = 0 ;
26535 PyObject * obj1 = 0 ;
26536 char * kwnames[] = {
26537 (char *) "self",(char *) "flag", NULL
26538 };
26539
26540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26542 if (!SWIG_IsOK(res1)) {
26543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26544 }
26545 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26546 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26547 if (!SWIG_IsOK(ecode2)) {
26548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26549 }
26550 arg2 = static_cast< bool >(val2);
26551 {
26552 PyThreadState* __tstate = wxPyBeginAllowThreads();
26553 (arg1)->SetAllPages(arg2);
26554 wxPyEndAllowThreads(__tstate);
26555 if (PyErr_Occurred()) SWIG_fail;
26556 }
26557 resultobj = SWIG_Py_Void();
26558 return resultobj;
26559 fail:
26560 return NULL;
26561 }
26562
26563
26564 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26565 PyObject *resultobj = 0;
26566 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26567 bool arg2 ;
26568 void *argp1 = 0 ;
26569 int res1 = 0 ;
26570 bool val2 ;
26571 int ecode2 = 0 ;
26572 PyObject * obj0 = 0 ;
26573 PyObject * obj1 = 0 ;
26574 char * kwnames[] = {
26575 (char *) "self",(char *) "flag", NULL
26576 };
26577
26578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26580 if (!SWIG_IsOK(res1)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26582 }
26583 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26584 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26585 if (!SWIG_IsOK(ecode2)) {
26586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26587 }
26588 arg2 = static_cast< bool >(val2);
26589 {
26590 PyThreadState* __tstate = wxPyBeginAllowThreads();
26591 (arg1)->SetSelection(arg2);
26592 wxPyEndAllowThreads(__tstate);
26593 if (PyErr_Occurred()) SWIG_fail;
26594 }
26595 resultobj = SWIG_Py_Void();
26596 return resultobj;
26597 fail:
26598 return NULL;
26599 }
26600
26601
26602 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26603 PyObject *resultobj = 0;
26604 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26605 bool arg2 ;
26606 void *argp1 = 0 ;
26607 int res1 = 0 ;
26608 bool val2 ;
26609 int ecode2 = 0 ;
26610 PyObject * obj0 = 0 ;
26611 PyObject * obj1 = 0 ;
26612 char * kwnames[] = {
26613 (char *) "self",(char *) "flag", NULL
26614 };
26615
26616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26618 if (!SWIG_IsOK(res1)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26620 }
26621 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26622 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26623 if (!SWIG_IsOK(ecode2)) {
26624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26625 }
26626 arg2 = static_cast< bool >(val2);
26627 {
26628 PyThreadState* __tstate = wxPyBeginAllowThreads();
26629 (arg1)->SetCollate(arg2);
26630 wxPyEndAllowThreads(__tstate);
26631 if (PyErr_Occurred()) SWIG_fail;
26632 }
26633 resultobj = SWIG_Py_Void();
26634 return resultobj;
26635 fail:
26636 return NULL;
26637 }
26638
26639
26640 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26641 PyObject *resultobj = 0;
26642 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26643 bool arg2 ;
26644 void *argp1 = 0 ;
26645 int res1 = 0 ;
26646 bool val2 ;
26647 int ecode2 = 0 ;
26648 PyObject * obj0 = 0 ;
26649 PyObject * obj1 = 0 ;
26650 char * kwnames[] = {
26651 (char *) "self",(char *) "flag", NULL
26652 };
26653
26654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26656 if (!SWIG_IsOK(res1)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26658 }
26659 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26660 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26661 if (!SWIG_IsOK(ecode2)) {
26662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26663 }
26664 arg2 = static_cast< bool >(val2);
26665 {
26666 PyThreadState* __tstate = wxPyBeginAllowThreads();
26667 (arg1)->SetPrintToFile(arg2);
26668 wxPyEndAllowThreads(__tstate);
26669 if (PyErr_Occurred()) SWIG_fail;
26670 }
26671 resultobj = SWIG_Py_Void();
26672 return resultobj;
26673 fail:
26674 return NULL;
26675 }
26676
26677
26678 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26679 PyObject *resultobj = 0;
26680 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26681 bool arg2 ;
26682 void *argp1 = 0 ;
26683 int res1 = 0 ;
26684 bool val2 ;
26685 int ecode2 = 0 ;
26686 PyObject * obj0 = 0 ;
26687 PyObject * obj1 = 0 ;
26688 char * kwnames[] = {
26689 (char *) "self",(char *) "flag", NULL
26690 };
26691
26692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26694 if (!SWIG_IsOK(res1)) {
26695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26696 }
26697 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26698 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26699 if (!SWIG_IsOK(ecode2)) {
26700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26701 }
26702 arg2 = static_cast< bool >(val2);
26703 {
26704 PyThreadState* __tstate = wxPyBeginAllowThreads();
26705 (arg1)->EnablePrintToFile(arg2);
26706 wxPyEndAllowThreads(__tstate);
26707 if (PyErr_Occurred()) SWIG_fail;
26708 }
26709 resultobj = SWIG_Py_Void();
26710 return resultobj;
26711 fail:
26712 return NULL;
26713 }
26714
26715
26716 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26717 PyObject *resultobj = 0;
26718 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26719 bool arg2 ;
26720 void *argp1 = 0 ;
26721 int res1 = 0 ;
26722 bool val2 ;
26723 int ecode2 = 0 ;
26724 PyObject * obj0 = 0 ;
26725 PyObject * obj1 = 0 ;
26726 char * kwnames[] = {
26727 (char *) "self",(char *) "flag", NULL
26728 };
26729
26730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26732 if (!SWIG_IsOK(res1)) {
26733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26734 }
26735 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26736 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26737 if (!SWIG_IsOK(ecode2)) {
26738 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26739 }
26740 arg2 = static_cast< bool >(val2);
26741 {
26742 PyThreadState* __tstate = wxPyBeginAllowThreads();
26743 (arg1)->EnableSelection(arg2);
26744 wxPyEndAllowThreads(__tstate);
26745 if (PyErr_Occurred()) SWIG_fail;
26746 }
26747 resultobj = SWIG_Py_Void();
26748 return resultobj;
26749 fail:
26750 return NULL;
26751 }
26752
26753
26754 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26755 PyObject *resultobj = 0;
26756 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26757 bool arg2 ;
26758 void *argp1 = 0 ;
26759 int res1 = 0 ;
26760 bool val2 ;
26761 int ecode2 = 0 ;
26762 PyObject * obj0 = 0 ;
26763 PyObject * obj1 = 0 ;
26764 char * kwnames[] = {
26765 (char *) "self",(char *) "flag", NULL
26766 };
26767
26768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26770 if (!SWIG_IsOK(res1)) {
26771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26772 }
26773 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26774 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26775 if (!SWIG_IsOK(ecode2)) {
26776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26777 }
26778 arg2 = static_cast< bool >(val2);
26779 {
26780 PyThreadState* __tstate = wxPyBeginAllowThreads();
26781 (arg1)->EnablePageNumbers(arg2);
26782 wxPyEndAllowThreads(__tstate);
26783 if (PyErr_Occurred()) SWIG_fail;
26784 }
26785 resultobj = SWIG_Py_Void();
26786 return resultobj;
26787 fail:
26788 return NULL;
26789 }
26790
26791
26792 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26793 PyObject *resultobj = 0;
26794 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26795 bool arg2 ;
26796 void *argp1 = 0 ;
26797 int res1 = 0 ;
26798 bool val2 ;
26799 int ecode2 = 0 ;
26800 PyObject * obj0 = 0 ;
26801 PyObject * obj1 = 0 ;
26802 char * kwnames[] = {
26803 (char *) "self",(char *) "flag", NULL
26804 };
26805
26806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26808 if (!SWIG_IsOK(res1)) {
26809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26810 }
26811 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26812 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26813 if (!SWIG_IsOK(ecode2)) {
26814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26815 }
26816 arg2 = static_cast< bool >(val2);
26817 {
26818 PyThreadState* __tstate = wxPyBeginAllowThreads();
26819 (arg1)->EnableHelp(arg2);
26820 wxPyEndAllowThreads(__tstate);
26821 if (PyErr_Occurred()) SWIG_fail;
26822 }
26823 resultobj = SWIG_Py_Void();
26824 return resultobj;
26825 fail:
26826 return NULL;
26827 }
26828
26829
26830 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26831 PyObject *resultobj = 0;
26832 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26833 bool result;
26834 void *argp1 = 0 ;
26835 int res1 = 0 ;
26836 PyObject *swig_obj[1] ;
26837
26838 if (!args) SWIG_fail;
26839 swig_obj[0] = args;
26840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26841 if (!SWIG_IsOK(res1)) {
26842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26843 }
26844 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26845 {
26846 PyThreadState* __tstate = wxPyBeginAllowThreads();
26847 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26848 wxPyEndAllowThreads(__tstate);
26849 if (PyErr_Occurred()) SWIG_fail;
26850 }
26851 {
26852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26853 }
26854 return resultobj;
26855 fail:
26856 return NULL;
26857 }
26858
26859
26860 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26861 PyObject *resultobj = 0;
26862 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26863 bool result;
26864 void *argp1 = 0 ;
26865 int res1 = 0 ;
26866 PyObject *swig_obj[1] ;
26867
26868 if (!args) SWIG_fail;
26869 swig_obj[0] = args;
26870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26871 if (!SWIG_IsOK(res1)) {
26872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26873 }
26874 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26875 {
26876 PyThreadState* __tstate = wxPyBeginAllowThreads();
26877 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26878 wxPyEndAllowThreads(__tstate);
26879 if (PyErr_Occurred()) SWIG_fail;
26880 }
26881 {
26882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26883 }
26884 return resultobj;
26885 fail:
26886 return NULL;
26887 }
26888
26889
26890 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26891 PyObject *resultobj = 0;
26892 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26893 bool result;
26894 void *argp1 = 0 ;
26895 int res1 = 0 ;
26896 PyObject *swig_obj[1] ;
26897
26898 if (!args) SWIG_fail;
26899 swig_obj[0] = args;
26900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26901 if (!SWIG_IsOK(res1)) {
26902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26903 }
26904 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26905 {
26906 PyThreadState* __tstate = wxPyBeginAllowThreads();
26907 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26908 wxPyEndAllowThreads(__tstate);
26909 if (PyErr_Occurred()) SWIG_fail;
26910 }
26911 {
26912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26913 }
26914 return resultobj;
26915 fail:
26916 return NULL;
26917 }
26918
26919
26920 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26921 PyObject *resultobj = 0;
26922 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26923 bool result;
26924 void *argp1 = 0 ;
26925 int res1 = 0 ;
26926 PyObject *swig_obj[1] ;
26927
26928 if (!args) SWIG_fail;
26929 swig_obj[0] = args;
26930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26931 if (!SWIG_IsOK(res1)) {
26932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26933 }
26934 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26935 {
26936 PyThreadState* __tstate = wxPyBeginAllowThreads();
26937 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26938 wxPyEndAllowThreads(__tstate);
26939 if (PyErr_Occurred()) SWIG_fail;
26940 }
26941 {
26942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26943 }
26944 return resultobj;
26945 fail:
26946 return NULL;
26947 }
26948
26949
26950 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26951 PyObject *resultobj = 0;
26952 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26953 bool result;
26954 void *argp1 = 0 ;
26955 int res1 = 0 ;
26956 PyObject *swig_obj[1] ;
26957
26958 if (!args) SWIG_fail;
26959 swig_obj[0] = args;
26960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26961 if (!SWIG_IsOK(res1)) {
26962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26963 }
26964 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26965 {
26966 PyThreadState* __tstate = wxPyBeginAllowThreads();
26967 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
26968 wxPyEndAllowThreads(__tstate);
26969 if (PyErr_Occurred()) SWIG_fail;
26970 }
26971 {
26972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26973 }
26974 return resultobj;
26975 fail:
26976 return NULL;
26977 }
26978
26979
26980 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26981 PyObject *resultobj = 0;
26982 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26983 wxPrintData *result = 0 ;
26984 void *argp1 = 0 ;
26985 int res1 = 0 ;
26986 PyObject *swig_obj[1] ;
26987
26988 if (!args) SWIG_fail;
26989 swig_obj[0] = args;
26990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26991 if (!SWIG_IsOK(res1)) {
26992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26993 }
26994 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26995 {
26996 PyThreadState* __tstate = wxPyBeginAllowThreads();
26997 {
26998 wxPrintData &_result_ref = (arg1)->GetPrintData();
26999 result = (wxPrintData *) &_result_ref;
27000 }
27001 wxPyEndAllowThreads(__tstate);
27002 if (PyErr_Occurred()) SWIG_fail;
27003 }
27004 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27005 return resultobj;
27006 fail:
27007 return NULL;
27008 }
27009
27010
27011 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27012 PyObject *resultobj = 0;
27013 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27014 wxPrintData *arg2 = 0 ;
27015 void *argp1 = 0 ;
27016 int res1 = 0 ;
27017 void *argp2 = 0 ;
27018 int res2 = 0 ;
27019 PyObject * obj0 = 0 ;
27020 PyObject * obj1 = 0 ;
27021 char * kwnames[] = {
27022 (char *) "self",(char *) "printData", NULL
27023 };
27024
27025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27027 if (!SWIG_IsOK(res1)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27029 }
27030 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27031 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27032 if (!SWIG_IsOK(res2)) {
27033 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27034 }
27035 if (!argp2) {
27036 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27037 }
27038 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27039 {
27040 PyThreadState* __tstate = wxPyBeginAllowThreads();
27041 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27042 wxPyEndAllowThreads(__tstate);
27043 if (PyErr_Occurred()) SWIG_fail;
27044 }
27045 resultobj = SWIG_Py_Void();
27046 return resultobj;
27047 fail:
27048 return NULL;
27049 }
27050
27051
27052 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27053 PyObject *obj;
27054 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27055 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27056 return SWIG_Py_Void();
27057 }
27058
27059 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27060 return SWIG_Python_InitShadowInstance(args);
27061 }
27062
27063 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27064 PyObject *resultobj = 0;
27065 wxWindow *arg1 = (wxWindow *) 0 ;
27066 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27067 wxPrintDialog *result = 0 ;
27068 void *argp1 = 0 ;
27069 int res1 = 0 ;
27070 void *argp2 = 0 ;
27071 int res2 = 0 ;
27072 PyObject * obj0 = 0 ;
27073 PyObject * obj1 = 0 ;
27074 char * kwnames[] = {
27075 (char *) "parent",(char *) "data", NULL
27076 };
27077
27078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27080 if (!SWIG_IsOK(res1)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27082 }
27083 arg1 = reinterpret_cast< wxWindow * >(argp1);
27084 if (obj1) {
27085 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27086 if (!SWIG_IsOK(res2)) {
27087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27088 }
27089 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27090 }
27091 {
27092 if (!wxPyCheckForApp()) SWIG_fail;
27093 PyThreadState* __tstate = wxPyBeginAllowThreads();
27094 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27095 wxPyEndAllowThreads(__tstate);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 }
27098 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27099 return resultobj;
27100 fail:
27101 return NULL;
27102 }
27103
27104
27105 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27106 PyObject *resultobj = 0;
27107 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27108 void *argp1 = 0 ;
27109 int res1 = 0 ;
27110 PyObject *swig_obj[1] ;
27111
27112 if (!args) SWIG_fail;
27113 swig_obj[0] = args;
27114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27115 if (!SWIG_IsOK(res1)) {
27116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27117 }
27118 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27119 {
27120 PyThreadState* __tstate = wxPyBeginAllowThreads();
27121 delete arg1;
27122
27123 wxPyEndAllowThreads(__tstate);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 }
27126 resultobj = SWIG_Py_Void();
27127 return resultobj;
27128 fail:
27129 return NULL;
27130 }
27131
27132
27133 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27134 PyObject *resultobj = 0;
27135 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27136 int result;
27137 void *argp1 = 0 ;
27138 int res1 = 0 ;
27139 PyObject *swig_obj[1] ;
27140
27141 if (!args) SWIG_fail;
27142 swig_obj[0] = args;
27143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27144 if (!SWIG_IsOK(res1)) {
27145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27146 }
27147 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27148 {
27149 PyThreadState* __tstate = wxPyBeginAllowThreads();
27150 result = (int)(arg1)->ShowModal();
27151 wxPyEndAllowThreads(__tstate);
27152 if (PyErr_Occurred()) SWIG_fail;
27153 }
27154 resultobj = SWIG_From_int(static_cast< int >(result));
27155 return resultobj;
27156 fail:
27157 return NULL;
27158 }
27159
27160
27161 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27162 PyObject *resultobj = 0;
27163 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27164 wxPrintDialogData *result = 0 ;
27165 void *argp1 = 0 ;
27166 int res1 = 0 ;
27167 PyObject *swig_obj[1] ;
27168
27169 if (!args) SWIG_fail;
27170 swig_obj[0] = args;
27171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27172 if (!SWIG_IsOK(res1)) {
27173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27174 }
27175 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27176 {
27177 PyThreadState* __tstate = wxPyBeginAllowThreads();
27178 {
27179 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27180 result = (wxPrintDialogData *) &_result_ref;
27181 }
27182 wxPyEndAllowThreads(__tstate);
27183 if (PyErr_Occurred()) SWIG_fail;
27184 }
27185 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27186 return resultobj;
27187 fail:
27188 return NULL;
27189 }
27190
27191
27192 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27193 PyObject *resultobj = 0;
27194 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27195 wxPrintData *result = 0 ;
27196 void *argp1 = 0 ;
27197 int res1 = 0 ;
27198 PyObject *swig_obj[1] ;
27199
27200 if (!args) SWIG_fail;
27201 swig_obj[0] = args;
27202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27203 if (!SWIG_IsOK(res1)) {
27204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27205 }
27206 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27207 {
27208 PyThreadState* __tstate = wxPyBeginAllowThreads();
27209 {
27210 wxPrintData &_result_ref = (arg1)->GetPrintData();
27211 result = (wxPrintData *) &_result_ref;
27212 }
27213 wxPyEndAllowThreads(__tstate);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 }
27216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27217 return resultobj;
27218 fail:
27219 return NULL;
27220 }
27221
27222
27223 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27224 PyObject *resultobj = 0;
27225 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27226 wxDC *result = 0 ;
27227 void *argp1 = 0 ;
27228 int res1 = 0 ;
27229 PyObject *swig_obj[1] ;
27230
27231 if (!args) SWIG_fail;
27232 swig_obj[0] = args;
27233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27234 if (!SWIG_IsOK(res1)) {
27235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27236 }
27237 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27238 {
27239 PyThreadState* __tstate = wxPyBeginAllowThreads();
27240 result = (wxDC *)(arg1)->GetPrintDC();
27241 wxPyEndAllowThreads(__tstate);
27242 if (PyErr_Occurred()) SWIG_fail;
27243 }
27244 {
27245 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27246 }
27247 return resultobj;
27248 fail:
27249 return NULL;
27250 }
27251
27252
27253 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27254 PyObject *obj;
27255 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27256 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27257 return SWIG_Py_Void();
27258 }
27259
27260 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27261 return SWIG_Python_InitShadowInstance(args);
27262 }
27263
27264 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27265 PyObject *resultobj = 0;
27266 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27267 wxPrinter *result = 0 ;
27268 void *argp1 = 0 ;
27269 int res1 = 0 ;
27270 PyObject * obj0 = 0 ;
27271 char * kwnames[] = {
27272 (char *) "data", NULL
27273 };
27274
27275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27276 if (obj0) {
27277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27278 if (!SWIG_IsOK(res1)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27280 }
27281 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27282 }
27283 {
27284 if (!wxPyCheckForApp()) SWIG_fail;
27285 PyThreadState* __tstate = wxPyBeginAllowThreads();
27286 result = (wxPrinter *)new wxPrinter(arg1);
27287 wxPyEndAllowThreads(__tstate);
27288 if (PyErr_Occurred()) SWIG_fail;
27289 }
27290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27291 return resultobj;
27292 fail:
27293 return NULL;
27294 }
27295
27296
27297 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27298 PyObject *resultobj = 0;
27299 wxPrinter *arg1 = (wxPrinter *) 0 ;
27300 void *argp1 = 0 ;
27301 int res1 = 0 ;
27302 PyObject *swig_obj[1] ;
27303
27304 if (!args) SWIG_fail;
27305 swig_obj[0] = args;
27306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27307 if (!SWIG_IsOK(res1)) {
27308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27309 }
27310 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27311 {
27312 PyThreadState* __tstate = wxPyBeginAllowThreads();
27313 delete arg1;
27314
27315 wxPyEndAllowThreads(__tstate);
27316 if (PyErr_Occurred()) SWIG_fail;
27317 }
27318 resultobj = SWIG_Py_Void();
27319 return resultobj;
27320 fail:
27321 return NULL;
27322 }
27323
27324
27325 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27326 PyObject *resultobj = 0;
27327 wxPrinter *arg1 = (wxPrinter *) 0 ;
27328 wxWindow *arg2 = (wxWindow *) 0 ;
27329 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27330 wxWindow *result = 0 ;
27331 void *argp1 = 0 ;
27332 int res1 = 0 ;
27333 void *argp2 = 0 ;
27334 int res2 = 0 ;
27335 void *argp3 = 0 ;
27336 int res3 = 0 ;
27337 PyObject * obj0 = 0 ;
27338 PyObject * obj1 = 0 ;
27339 PyObject * obj2 = 0 ;
27340 char * kwnames[] = {
27341 (char *) "self",(char *) "parent",(char *) "printout", NULL
27342 };
27343
27344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27346 if (!SWIG_IsOK(res1)) {
27347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27348 }
27349 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27350 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27351 if (!SWIG_IsOK(res2)) {
27352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27353 }
27354 arg2 = reinterpret_cast< wxWindow * >(argp2);
27355 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27356 if (!SWIG_IsOK(res3)) {
27357 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27358 }
27359 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27360 {
27361 PyThreadState* __tstate = wxPyBeginAllowThreads();
27362 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27363 wxPyEndAllowThreads(__tstate);
27364 if (PyErr_Occurred()) SWIG_fail;
27365 }
27366 {
27367 resultobj = wxPyMake_wxObject(result, 0);
27368 }
27369 return resultobj;
27370 fail:
27371 return NULL;
27372 }
27373
27374
27375 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27376 PyObject *resultobj = 0;
27377 wxPrinter *arg1 = (wxPrinter *) 0 ;
27378 wxWindow *arg2 = (wxWindow *) 0 ;
27379 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27380 wxString *arg4 = 0 ;
27381 void *argp1 = 0 ;
27382 int res1 = 0 ;
27383 void *argp2 = 0 ;
27384 int res2 = 0 ;
27385 void *argp3 = 0 ;
27386 int res3 = 0 ;
27387 bool temp4 = false ;
27388 PyObject * obj0 = 0 ;
27389 PyObject * obj1 = 0 ;
27390 PyObject * obj2 = 0 ;
27391 PyObject * obj3 = 0 ;
27392 char * kwnames[] = {
27393 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27394 };
27395
27396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27398 if (!SWIG_IsOK(res1)) {
27399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27400 }
27401 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27402 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27403 if (!SWIG_IsOK(res2)) {
27404 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27405 }
27406 arg2 = reinterpret_cast< wxWindow * >(argp2);
27407 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27408 if (!SWIG_IsOK(res3)) {
27409 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27410 }
27411 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27412 {
27413 arg4 = wxString_in_helper(obj3);
27414 if (arg4 == NULL) SWIG_fail;
27415 temp4 = true;
27416 }
27417 {
27418 PyThreadState* __tstate = wxPyBeginAllowThreads();
27419 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27420 wxPyEndAllowThreads(__tstate);
27421 if (PyErr_Occurred()) SWIG_fail;
27422 }
27423 resultobj = SWIG_Py_Void();
27424 {
27425 if (temp4)
27426 delete arg4;
27427 }
27428 return resultobj;
27429 fail:
27430 {
27431 if (temp4)
27432 delete arg4;
27433 }
27434 return NULL;
27435 }
27436
27437
27438 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27439 PyObject *resultobj = 0;
27440 wxPrinter *arg1 = (wxPrinter *) 0 ;
27441 wxWindow *arg2 = (wxWindow *) 0 ;
27442 bool result;
27443 void *argp1 = 0 ;
27444 int res1 = 0 ;
27445 void *argp2 = 0 ;
27446 int res2 = 0 ;
27447 PyObject * obj0 = 0 ;
27448 PyObject * obj1 = 0 ;
27449 char * kwnames[] = {
27450 (char *) "self",(char *) "parent", NULL
27451 };
27452
27453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27455 if (!SWIG_IsOK(res1)) {
27456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27457 }
27458 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27459 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27460 if (!SWIG_IsOK(res2)) {
27461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27462 }
27463 arg2 = reinterpret_cast< wxWindow * >(argp2);
27464 {
27465 PyThreadState* __tstate = wxPyBeginAllowThreads();
27466 result = (bool)(arg1)->Setup(arg2);
27467 wxPyEndAllowThreads(__tstate);
27468 if (PyErr_Occurred()) SWIG_fail;
27469 }
27470 {
27471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27472 }
27473 return resultobj;
27474 fail:
27475 return NULL;
27476 }
27477
27478
27479 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27480 PyObject *resultobj = 0;
27481 wxPrinter *arg1 = (wxPrinter *) 0 ;
27482 wxWindow *arg2 = (wxWindow *) 0 ;
27483 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27484 bool arg4 = (bool) true ;
27485 bool result;
27486 void *argp1 = 0 ;
27487 int res1 = 0 ;
27488 void *argp2 = 0 ;
27489 int res2 = 0 ;
27490 void *argp3 = 0 ;
27491 int res3 = 0 ;
27492 bool val4 ;
27493 int ecode4 = 0 ;
27494 PyObject * obj0 = 0 ;
27495 PyObject * obj1 = 0 ;
27496 PyObject * obj2 = 0 ;
27497 PyObject * obj3 = 0 ;
27498 char * kwnames[] = {
27499 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27500 };
27501
27502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27504 if (!SWIG_IsOK(res1)) {
27505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27506 }
27507 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27508 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27509 if (!SWIG_IsOK(res2)) {
27510 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27511 }
27512 arg2 = reinterpret_cast< wxWindow * >(argp2);
27513 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27514 if (!SWIG_IsOK(res3)) {
27515 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27516 }
27517 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27518 if (obj3) {
27519 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27520 if (!SWIG_IsOK(ecode4)) {
27521 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27522 }
27523 arg4 = static_cast< bool >(val4);
27524 }
27525 {
27526 PyThreadState* __tstate = wxPyBeginAllowThreads();
27527 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27528 wxPyEndAllowThreads(__tstate);
27529 if (PyErr_Occurred()) SWIG_fail;
27530 }
27531 {
27532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27533 }
27534 return resultobj;
27535 fail:
27536 return NULL;
27537 }
27538
27539
27540 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27541 PyObject *resultobj = 0;
27542 wxPrinter *arg1 = (wxPrinter *) 0 ;
27543 wxWindow *arg2 = (wxWindow *) 0 ;
27544 wxDC *result = 0 ;
27545 void *argp1 = 0 ;
27546 int res1 = 0 ;
27547 void *argp2 = 0 ;
27548 int res2 = 0 ;
27549 PyObject * obj0 = 0 ;
27550 PyObject * obj1 = 0 ;
27551 char * kwnames[] = {
27552 (char *) "self",(char *) "parent", NULL
27553 };
27554
27555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27557 if (!SWIG_IsOK(res1)) {
27558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27559 }
27560 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27561 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27562 if (!SWIG_IsOK(res2)) {
27563 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27564 }
27565 arg2 = reinterpret_cast< wxWindow * >(argp2);
27566 {
27567 PyThreadState* __tstate = wxPyBeginAllowThreads();
27568 result = (wxDC *)(arg1)->PrintDialog(arg2);
27569 wxPyEndAllowThreads(__tstate);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
27572 {
27573 resultobj = wxPyMake_wxObject(result, (bool)0);
27574 }
27575 return resultobj;
27576 fail:
27577 return NULL;
27578 }
27579
27580
27581 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27582 PyObject *resultobj = 0;
27583 wxPrinter *arg1 = (wxPrinter *) 0 ;
27584 wxPrintDialogData *result = 0 ;
27585 void *argp1 = 0 ;
27586 int res1 = 0 ;
27587 PyObject *swig_obj[1] ;
27588
27589 if (!args) SWIG_fail;
27590 swig_obj[0] = args;
27591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27592 if (!SWIG_IsOK(res1)) {
27593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27594 }
27595 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27596 {
27597 PyThreadState* __tstate = wxPyBeginAllowThreads();
27598 {
27599 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27600 result = (wxPrintDialogData *) &_result_ref;
27601 }
27602 wxPyEndAllowThreads(__tstate);
27603 if (PyErr_Occurred()) SWIG_fail;
27604 }
27605 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27606 return resultobj;
27607 fail:
27608 return NULL;
27609 }
27610
27611
27612 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27613 PyObject *resultobj = 0;
27614 wxPrinter *arg1 = (wxPrinter *) 0 ;
27615 bool result;
27616 void *argp1 = 0 ;
27617 int res1 = 0 ;
27618 PyObject *swig_obj[1] ;
27619
27620 if (!args) SWIG_fail;
27621 swig_obj[0] = args;
27622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27623 if (!SWIG_IsOK(res1)) {
27624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27625 }
27626 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27627 {
27628 PyThreadState* __tstate = wxPyBeginAllowThreads();
27629 result = (bool)(arg1)->GetAbort();
27630 wxPyEndAllowThreads(__tstate);
27631 if (PyErr_Occurred()) SWIG_fail;
27632 }
27633 {
27634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27635 }
27636 return resultobj;
27637 fail:
27638 return NULL;
27639 }
27640
27641
27642 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27643 PyObject *resultobj = 0;
27644 wxPrinterError result;
27645
27646 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27647 {
27648 PyThreadState* __tstate = wxPyBeginAllowThreads();
27649 result = (wxPrinterError)wxPrinter::GetLastError();
27650 wxPyEndAllowThreads(__tstate);
27651 if (PyErr_Occurred()) SWIG_fail;
27652 }
27653 resultobj = SWIG_From_int(static_cast< int >(result));
27654 return resultobj;
27655 fail:
27656 return NULL;
27657 }
27658
27659
27660 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27661 PyObject *obj;
27662 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27663 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27664 return SWIG_Py_Void();
27665 }
27666
27667 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27668 return SWIG_Python_InitShadowInstance(args);
27669 }
27670
27671 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27672 PyObject *resultobj = 0;
27673 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27674 wxString *arg1 = (wxString *) &arg1_defvalue ;
27675 wxPyPrintout *result = 0 ;
27676 bool temp1 = false ;
27677 PyObject * obj0 = 0 ;
27678 char * kwnames[] = {
27679 (char *) "title", NULL
27680 };
27681
27682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27683 if (obj0) {
27684 {
27685 arg1 = wxString_in_helper(obj0);
27686 if (arg1 == NULL) SWIG_fail;
27687 temp1 = true;
27688 }
27689 }
27690 {
27691 if (!wxPyCheckForApp()) SWIG_fail;
27692 PyThreadState* __tstate = wxPyBeginAllowThreads();
27693 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27694 wxPyEndAllowThreads(__tstate);
27695 if (PyErr_Occurred()) SWIG_fail;
27696 }
27697 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27698 {
27699 if (temp1)
27700 delete arg1;
27701 }
27702 return resultobj;
27703 fail:
27704 {
27705 if (temp1)
27706 delete arg1;
27707 }
27708 return NULL;
27709 }
27710
27711
27712 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27713 PyObject *resultobj = 0;
27714 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27715 void *argp1 = 0 ;
27716 int res1 = 0 ;
27717 PyObject *swig_obj[1] ;
27718
27719 if (!args) SWIG_fail;
27720 swig_obj[0] = args;
27721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27722 if (!SWIG_IsOK(res1)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27724 }
27725 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27726 {
27727 PyThreadState* __tstate = wxPyBeginAllowThreads();
27728 delete arg1;
27729
27730 wxPyEndAllowThreads(__tstate);
27731 if (PyErr_Occurred()) SWIG_fail;
27732 }
27733 resultobj = SWIG_Py_Void();
27734 return resultobj;
27735 fail:
27736 return NULL;
27737 }
27738
27739
27740 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27741 PyObject *resultobj = 0;
27742 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27743 PyObject *arg2 = (PyObject *) 0 ;
27744 PyObject *arg3 = (PyObject *) 0 ;
27745 void *argp1 = 0 ;
27746 int res1 = 0 ;
27747 PyObject * obj0 = 0 ;
27748 PyObject * obj1 = 0 ;
27749 PyObject * obj2 = 0 ;
27750 char * kwnames[] = {
27751 (char *) "self",(char *) "self",(char *) "_class", NULL
27752 };
27753
27754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27756 if (!SWIG_IsOK(res1)) {
27757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27758 }
27759 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27760 arg2 = obj1;
27761 arg3 = obj2;
27762 {
27763 PyThreadState* __tstate = wxPyBeginAllowThreads();
27764 (arg1)->_setCallbackInfo(arg2,arg3);
27765 wxPyEndAllowThreads(__tstate);
27766 if (PyErr_Occurred()) SWIG_fail;
27767 }
27768 resultobj = SWIG_Py_Void();
27769 return resultobj;
27770 fail:
27771 return NULL;
27772 }
27773
27774
27775 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27776 PyObject *resultobj = 0;
27777 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27778 wxString result;
27779 void *argp1 = 0 ;
27780 int res1 = 0 ;
27781 PyObject *swig_obj[1] ;
27782
27783 if (!args) SWIG_fail;
27784 swig_obj[0] = args;
27785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27786 if (!SWIG_IsOK(res1)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27788 }
27789 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27790 {
27791 PyThreadState* __tstate = wxPyBeginAllowThreads();
27792 result = ((wxPyPrintout const *)arg1)->GetTitle();
27793 wxPyEndAllowThreads(__tstate);
27794 if (PyErr_Occurred()) SWIG_fail;
27795 }
27796 {
27797 #if wxUSE_UNICODE
27798 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27799 #else
27800 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27801 #endif
27802 }
27803 return resultobj;
27804 fail:
27805 return NULL;
27806 }
27807
27808
27809 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27810 PyObject *resultobj = 0;
27811 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27812 wxDC *result = 0 ;
27813 void *argp1 = 0 ;
27814 int res1 = 0 ;
27815 PyObject *swig_obj[1] ;
27816
27817 if (!args) SWIG_fail;
27818 swig_obj[0] = args;
27819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27820 if (!SWIG_IsOK(res1)) {
27821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27822 }
27823 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27824 {
27825 PyThreadState* __tstate = wxPyBeginAllowThreads();
27826 result = (wxDC *)(arg1)->GetDC();
27827 wxPyEndAllowThreads(__tstate);
27828 if (PyErr_Occurred()) SWIG_fail;
27829 }
27830 {
27831 resultobj = wxPyMake_wxObject(result, (bool)0);
27832 }
27833 return resultobj;
27834 fail:
27835 return NULL;
27836 }
27837
27838
27839 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27840 PyObject *resultobj = 0;
27841 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27842 wxDC *arg2 = (wxDC *) 0 ;
27843 void *argp1 = 0 ;
27844 int res1 = 0 ;
27845 void *argp2 = 0 ;
27846 int res2 = 0 ;
27847 PyObject * obj0 = 0 ;
27848 PyObject * obj1 = 0 ;
27849 char * kwnames[] = {
27850 (char *) "self",(char *) "dc", NULL
27851 };
27852
27853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27855 if (!SWIG_IsOK(res1)) {
27856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27857 }
27858 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27859 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27860 if (!SWIG_IsOK(res2)) {
27861 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27862 }
27863 arg2 = reinterpret_cast< wxDC * >(argp2);
27864 {
27865 PyThreadState* __tstate = wxPyBeginAllowThreads();
27866 (arg1)->SetDC(arg2);
27867 wxPyEndAllowThreads(__tstate);
27868 if (PyErr_Occurred()) SWIG_fail;
27869 }
27870 resultobj = SWIG_Py_Void();
27871 return resultobj;
27872 fail:
27873 return NULL;
27874 }
27875
27876
27877 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27878 PyObject *resultobj = 0;
27879 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27880 wxSize *arg2 = 0 ;
27881 void *argp1 = 0 ;
27882 int res1 = 0 ;
27883 wxSize temp2 ;
27884 PyObject * obj0 = 0 ;
27885 PyObject * obj1 = 0 ;
27886 char * kwnames[] = {
27887 (char *) "self",(char *) "imageSize", NULL
27888 };
27889
27890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
27891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27892 if (!SWIG_IsOK(res1)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27894 }
27895 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27896 {
27897 arg2 = &temp2;
27898 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27899 }
27900 {
27901 PyThreadState* __tstate = wxPyBeginAllowThreads();
27902 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
27903 wxPyEndAllowThreads(__tstate);
27904 if (PyErr_Occurred()) SWIG_fail;
27905 }
27906 resultobj = SWIG_Py_Void();
27907 return resultobj;
27908 fail:
27909 return NULL;
27910 }
27911
27912
27913 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27914 PyObject *resultobj = 0;
27915 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27916 wxSize *arg2 = 0 ;
27917 void *argp1 = 0 ;
27918 int res1 = 0 ;
27919 wxSize temp2 ;
27920 PyObject * obj0 = 0 ;
27921 PyObject * obj1 = 0 ;
27922 char * kwnames[] = {
27923 (char *) "self",(char *) "imageSize", NULL
27924 };
27925
27926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
27927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27928 if (!SWIG_IsOK(res1)) {
27929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27930 }
27931 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27932 {
27933 arg2 = &temp2;
27934 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27935 }
27936 {
27937 PyThreadState* __tstate = wxPyBeginAllowThreads();
27938 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
27939 wxPyEndAllowThreads(__tstate);
27940 if (PyErr_Occurred()) SWIG_fail;
27941 }
27942 resultobj = SWIG_Py_Void();
27943 return resultobj;
27944 fail:
27945 return NULL;
27946 }
27947
27948
27949 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27950 PyObject *resultobj = 0;
27951 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27952 wxSize *arg2 = 0 ;
27953 wxPageSetupDialogData *arg3 = 0 ;
27954 void *argp1 = 0 ;
27955 int res1 = 0 ;
27956 wxSize temp2 ;
27957 void *argp3 = 0 ;
27958 int res3 = 0 ;
27959 PyObject * obj0 = 0 ;
27960 PyObject * obj1 = 0 ;
27961 PyObject * obj2 = 0 ;
27962 char * kwnames[] = {
27963 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
27964 };
27965
27966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27968 if (!SWIG_IsOK(res1)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27970 }
27971 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27972 {
27973 arg2 = &temp2;
27974 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27975 }
27976 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27977 if (!SWIG_IsOK(res3)) {
27978 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27979 }
27980 if (!argp3) {
27981 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27982 }
27983 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
27984 {
27985 PyThreadState* __tstate = wxPyBeginAllowThreads();
27986 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
27987 wxPyEndAllowThreads(__tstate);
27988 if (PyErr_Occurred()) SWIG_fail;
27989 }
27990 resultobj = SWIG_Py_Void();
27991 return resultobj;
27992 fail:
27993 return NULL;
27994 }
27995
27996
27997 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27998 PyObject *resultobj = 0;
27999 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28000 void *argp1 = 0 ;
28001 int res1 = 0 ;
28002 PyObject *swig_obj[1] ;
28003
28004 if (!args) SWIG_fail;
28005 swig_obj[0] = args;
28006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28007 if (!SWIG_IsOK(res1)) {
28008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28009 }
28010 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28011 {
28012 PyThreadState* __tstate = wxPyBeginAllowThreads();
28013 (arg1)->MapScreenSizeToPaper();
28014 wxPyEndAllowThreads(__tstate);
28015 if (PyErr_Occurred()) SWIG_fail;
28016 }
28017 resultobj = SWIG_Py_Void();
28018 return resultobj;
28019 fail:
28020 return NULL;
28021 }
28022
28023
28024 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28025 PyObject *resultobj = 0;
28026 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28027 void *argp1 = 0 ;
28028 int res1 = 0 ;
28029 PyObject *swig_obj[1] ;
28030
28031 if (!args) SWIG_fail;
28032 swig_obj[0] = args;
28033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28034 if (!SWIG_IsOK(res1)) {
28035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28036 }
28037 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28038 {
28039 PyThreadState* __tstate = wxPyBeginAllowThreads();
28040 (arg1)->MapScreenSizeToPage();
28041 wxPyEndAllowThreads(__tstate);
28042 if (PyErr_Occurred()) SWIG_fail;
28043 }
28044 resultobj = SWIG_Py_Void();
28045 return resultobj;
28046 fail:
28047 return NULL;
28048 }
28049
28050
28051 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28052 PyObject *resultobj = 0;
28053 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28054 wxPageSetupDialogData *arg2 = 0 ;
28055 void *argp1 = 0 ;
28056 int res1 = 0 ;
28057 void *argp2 = 0 ;
28058 int res2 = 0 ;
28059 PyObject * obj0 = 0 ;
28060 PyObject * obj1 = 0 ;
28061 char * kwnames[] = {
28062 (char *) "self",(char *) "pageSetupData", NULL
28063 };
28064
28065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28067 if (!SWIG_IsOK(res1)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28069 }
28070 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28071 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28072 if (!SWIG_IsOK(res2)) {
28073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28074 }
28075 if (!argp2) {
28076 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28077 }
28078 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28079 {
28080 PyThreadState* __tstate = wxPyBeginAllowThreads();
28081 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28082 wxPyEndAllowThreads(__tstate);
28083 if (PyErr_Occurred()) SWIG_fail;
28084 }
28085 resultobj = SWIG_Py_Void();
28086 return resultobj;
28087 fail:
28088 return NULL;
28089 }
28090
28091
28092 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28093 PyObject *resultobj = 0;
28094 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28095 void *argp1 = 0 ;
28096 int res1 = 0 ;
28097 PyObject *swig_obj[1] ;
28098
28099 if (!args) SWIG_fail;
28100 swig_obj[0] = args;
28101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28102 if (!SWIG_IsOK(res1)) {
28103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28104 }
28105 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28106 {
28107 PyThreadState* __tstate = wxPyBeginAllowThreads();
28108 (arg1)->MapScreenSizeToDevice();
28109 wxPyEndAllowThreads(__tstate);
28110 if (PyErr_Occurred()) SWIG_fail;
28111 }
28112 resultobj = SWIG_Py_Void();
28113 return resultobj;
28114 fail:
28115 return NULL;
28116 }
28117
28118
28119 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28120 PyObject *resultobj = 0;
28121 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28122 wxRect result;
28123 void *argp1 = 0 ;
28124 int res1 = 0 ;
28125 PyObject *swig_obj[1] ;
28126
28127 if (!args) SWIG_fail;
28128 swig_obj[0] = args;
28129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28130 if (!SWIG_IsOK(res1)) {
28131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28132 }
28133 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28134 {
28135 PyThreadState* __tstate = wxPyBeginAllowThreads();
28136 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28137 wxPyEndAllowThreads(__tstate);
28138 if (PyErr_Occurred()) SWIG_fail;
28139 }
28140 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28141 return resultobj;
28142 fail:
28143 return NULL;
28144 }
28145
28146
28147 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28148 PyObject *resultobj = 0;
28149 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28150 wxRect result;
28151 void *argp1 = 0 ;
28152 int res1 = 0 ;
28153 PyObject *swig_obj[1] ;
28154
28155 if (!args) SWIG_fail;
28156 swig_obj[0] = args;
28157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28158 if (!SWIG_IsOK(res1)) {
28159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28160 }
28161 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28162 {
28163 PyThreadState* __tstate = wxPyBeginAllowThreads();
28164 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28165 wxPyEndAllowThreads(__tstate);
28166 if (PyErr_Occurred()) SWIG_fail;
28167 }
28168 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28169 return resultobj;
28170 fail:
28171 return NULL;
28172 }
28173
28174
28175 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28176 PyObject *resultobj = 0;
28177 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28178 wxPageSetupDialogData *arg2 = 0 ;
28179 wxRect result;
28180 void *argp1 = 0 ;
28181 int res1 = 0 ;
28182 void *argp2 = 0 ;
28183 int res2 = 0 ;
28184 PyObject * obj0 = 0 ;
28185 PyObject * obj1 = 0 ;
28186 char * kwnames[] = {
28187 (char *) "self",(char *) "pageSetupData", NULL
28188 };
28189
28190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28192 if (!SWIG_IsOK(res1)) {
28193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28194 }
28195 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28196 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28197 if (!SWIG_IsOK(res2)) {
28198 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28199 }
28200 if (!argp2) {
28201 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28202 }
28203 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28204 {
28205 PyThreadState* __tstate = wxPyBeginAllowThreads();
28206 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28207 wxPyEndAllowThreads(__tstate);
28208 if (PyErr_Occurred()) SWIG_fail;
28209 }
28210 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28211 return resultobj;
28212 fail:
28213 return NULL;
28214 }
28215
28216
28217 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28218 PyObject *resultobj = 0;
28219 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28220 int arg2 ;
28221 int arg3 ;
28222 void *argp1 = 0 ;
28223 int res1 = 0 ;
28224 int val2 ;
28225 int ecode2 = 0 ;
28226 int val3 ;
28227 int ecode3 = 0 ;
28228 PyObject * obj0 = 0 ;
28229 PyObject * obj1 = 0 ;
28230 PyObject * obj2 = 0 ;
28231 char * kwnames[] = {
28232 (char *) "self",(char *) "x",(char *) "y", NULL
28233 };
28234
28235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28237 if (!SWIG_IsOK(res1)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28239 }
28240 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28241 ecode2 = SWIG_AsVal_int(obj1, &val2);
28242 if (!SWIG_IsOK(ecode2)) {
28243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28244 }
28245 arg2 = static_cast< int >(val2);
28246 ecode3 = SWIG_AsVal_int(obj2, &val3);
28247 if (!SWIG_IsOK(ecode3)) {
28248 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28249 }
28250 arg3 = static_cast< int >(val3);
28251 {
28252 PyThreadState* __tstate = wxPyBeginAllowThreads();
28253 (arg1)->SetLogicalOrigin(arg2,arg3);
28254 wxPyEndAllowThreads(__tstate);
28255 if (PyErr_Occurred()) SWIG_fail;
28256 }
28257 resultobj = SWIG_Py_Void();
28258 return resultobj;
28259 fail:
28260 return NULL;
28261 }
28262
28263
28264 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28265 PyObject *resultobj = 0;
28266 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28267 int arg2 ;
28268 int arg3 ;
28269 void *argp1 = 0 ;
28270 int res1 = 0 ;
28271 int val2 ;
28272 int ecode2 = 0 ;
28273 int val3 ;
28274 int ecode3 = 0 ;
28275 PyObject * obj0 = 0 ;
28276 PyObject * obj1 = 0 ;
28277 PyObject * obj2 = 0 ;
28278 char * kwnames[] = {
28279 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28280 };
28281
28282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28284 if (!SWIG_IsOK(res1)) {
28285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28286 }
28287 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28288 ecode2 = SWIG_AsVal_int(obj1, &val2);
28289 if (!SWIG_IsOK(ecode2)) {
28290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28291 }
28292 arg2 = static_cast< int >(val2);
28293 ecode3 = SWIG_AsVal_int(obj2, &val3);
28294 if (!SWIG_IsOK(ecode3)) {
28295 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28296 }
28297 arg3 = static_cast< int >(val3);
28298 {
28299 PyThreadState* __tstate = wxPyBeginAllowThreads();
28300 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28301 wxPyEndAllowThreads(__tstate);
28302 if (PyErr_Occurred()) SWIG_fail;
28303 }
28304 resultobj = SWIG_Py_Void();
28305 return resultobj;
28306 fail:
28307 return NULL;
28308 }
28309
28310
28311 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28312 PyObject *resultobj = 0;
28313 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28314 int arg2 ;
28315 int arg3 ;
28316 void *argp1 = 0 ;
28317 int res1 = 0 ;
28318 int val2 ;
28319 int ecode2 = 0 ;
28320 int val3 ;
28321 int ecode3 = 0 ;
28322 PyObject * obj0 = 0 ;
28323 PyObject * obj1 = 0 ;
28324 PyObject * obj2 = 0 ;
28325 char * kwnames[] = {
28326 (char *) "self",(char *) "w",(char *) "h", NULL
28327 };
28328
28329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28331 if (!SWIG_IsOK(res1)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28333 }
28334 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28335 ecode2 = SWIG_AsVal_int(obj1, &val2);
28336 if (!SWIG_IsOK(ecode2)) {
28337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28338 }
28339 arg2 = static_cast< int >(val2);
28340 ecode3 = SWIG_AsVal_int(obj2, &val3);
28341 if (!SWIG_IsOK(ecode3)) {
28342 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28343 }
28344 arg3 = static_cast< int >(val3);
28345 {
28346 PyThreadState* __tstate = wxPyBeginAllowThreads();
28347 (arg1)->SetPageSizePixels(arg2,arg3);
28348 wxPyEndAllowThreads(__tstate);
28349 if (PyErr_Occurred()) SWIG_fail;
28350 }
28351 resultobj = SWIG_Py_Void();
28352 return resultobj;
28353 fail:
28354 return NULL;
28355 }
28356
28357
28358 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28359 PyObject *resultobj = 0;
28360 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28361 int *arg2 = (int *) 0 ;
28362 int *arg3 = (int *) 0 ;
28363 void *argp1 = 0 ;
28364 int res1 = 0 ;
28365 int temp2 ;
28366 int res2 = SWIG_TMPOBJ ;
28367 int temp3 ;
28368 int res3 = SWIG_TMPOBJ ;
28369 PyObject *swig_obj[1] ;
28370
28371 arg2 = &temp2;
28372 arg3 = &temp3;
28373 if (!args) SWIG_fail;
28374 swig_obj[0] = args;
28375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28376 if (!SWIG_IsOK(res1)) {
28377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28378 }
28379 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28380 {
28381 PyThreadState* __tstate = wxPyBeginAllowThreads();
28382 (arg1)->GetPageSizePixels(arg2,arg3);
28383 wxPyEndAllowThreads(__tstate);
28384 if (PyErr_Occurred()) SWIG_fail;
28385 }
28386 resultobj = SWIG_Py_Void();
28387 if (SWIG_IsTmpObj(res2)) {
28388 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28389 } else {
28390 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28391 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28392 }
28393 if (SWIG_IsTmpObj(res3)) {
28394 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28395 } else {
28396 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28397 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28398 }
28399 return resultobj;
28400 fail:
28401 return NULL;
28402 }
28403
28404
28405 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28406 PyObject *resultobj = 0;
28407 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28408 int arg2 ;
28409 int arg3 ;
28410 void *argp1 = 0 ;
28411 int res1 = 0 ;
28412 int val2 ;
28413 int ecode2 = 0 ;
28414 int val3 ;
28415 int ecode3 = 0 ;
28416 PyObject * obj0 = 0 ;
28417 PyObject * obj1 = 0 ;
28418 PyObject * obj2 = 0 ;
28419 char * kwnames[] = {
28420 (char *) "self",(char *) "w",(char *) "h", NULL
28421 };
28422
28423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28425 if (!SWIG_IsOK(res1)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28427 }
28428 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28429 ecode2 = SWIG_AsVal_int(obj1, &val2);
28430 if (!SWIG_IsOK(ecode2)) {
28431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28432 }
28433 arg2 = static_cast< int >(val2);
28434 ecode3 = SWIG_AsVal_int(obj2, &val3);
28435 if (!SWIG_IsOK(ecode3)) {
28436 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28437 }
28438 arg3 = static_cast< int >(val3);
28439 {
28440 PyThreadState* __tstate = wxPyBeginAllowThreads();
28441 (arg1)->SetPageSizeMM(arg2,arg3);
28442 wxPyEndAllowThreads(__tstate);
28443 if (PyErr_Occurred()) SWIG_fail;
28444 }
28445 resultobj = SWIG_Py_Void();
28446 return resultobj;
28447 fail:
28448 return NULL;
28449 }
28450
28451
28452 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28453 PyObject *resultobj = 0;
28454 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28455 int *arg2 = (int *) 0 ;
28456 int *arg3 = (int *) 0 ;
28457 void *argp1 = 0 ;
28458 int res1 = 0 ;
28459 int temp2 ;
28460 int res2 = SWIG_TMPOBJ ;
28461 int temp3 ;
28462 int res3 = SWIG_TMPOBJ ;
28463 PyObject *swig_obj[1] ;
28464
28465 arg2 = &temp2;
28466 arg3 = &temp3;
28467 if (!args) SWIG_fail;
28468 swig_obj[0] = args;
28469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28470 if (!SWIG_IsOK(res1)) {
28471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28472 }
28473 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28474 {
28475 PyThreadState* __tstate = wxPyBeginAllowThreads();
28476 (arg1)->GetPageSizeMM(arg2,arg3);
28477 wxPyEndAllowThreads(__tstate);
28478 if (PyErr_Occurred()) SWIG_fail;
28479 }
28480 resultobj = SWIG_Py_Void();
28481 if (SWIG_IsTmpObj(res2)) {
28482 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28483 } else {
28484 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28485 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28486 }
28487 if (SWIG_IsTmpObj(res3)) {
28488 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28489 } else {
28490 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28491 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28492 }
28493 return resultobj;
28494 fail:
28495 return NULL;
28496 }
28497
28498
28499 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28500 PyObject *resultobj = 0;
28501 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28502 int arg2 ;
28503 int arg3 ;
28504 void *argp1 = 0 ;
28505 int res1 = 0 ;
28506 int val2 ;
28507 int ecode2 = 0 ;
28508 int val3 ;
28509 int ecode3 = 0 ;
28510 PyObject * obj0 = 0 ;
28511 PyObject * obj1 = 0 ;
28512 PyObject * obj2 = 0 ;
28513 char * kwnames[] = {
28514 (char *) "self",(char *) "x",(char *) "y", NULL
28515 };
28516
28517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28519 if (!SWIG_IsOK(res1)) {
28520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28521 }
28522 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28523 ecode2 = SWIG_AsVal_int(obj1, &val2);
28524 if (!SWIG_IsOK(ecode2)) {
28525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28526 }
28527 arg2 = static_cast< int >(val2);
28528 ecode3 = SWIG_AsVal_int(obj2, &val3);
28529 if (!SWIG_IsOK(ecode3)) {
28530 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28531 }
28532 arg3 = static_cast< int >(val3);
28533 {
28534 PyThreadState* __tstate = wxPyBeginAllowThreads();
28535 (arg1)->SetPPIScreen(arg2,arg3);
28536 wxPyEndAllowThreads(__tstate);
28537 if (PyErr_Occurred()) SWIG_fail;
28538 }
28539 resultobj = SWIG_Py_Void();
28540 return resultobj;
28541 fail:
28542 return NULL;
28543 }
28544
28545
28546 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28547 PyObject *resultobj = 0;
28548 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28549 int *arg2 = (int *) 0 ;
28550 int *arg3 = (int *) 0 ;
28551 void *argp1 = 0 ;
28552 int res1 = 0 ;
28553 int temp2 ;
28554 int res2 = SWIG_TMPOBJ ;
28555 int temp3 ;
28556 int res3 = SWIG_TMPOBJ ;
28557 PyObject *swig_obj[1] ;
28558
28559 arg2 = &temp2;
28560 arg3 = &temp3;
28561 if (!args) SWIG_fail;
28562 swig_obj[0] = args;
28563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28564 if (!SWIG_IsOK(res1)) {
28565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28566 }
28567 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28568 {
28569 PyThreadState* __tstate = wxPyBeginAllowThreads();
28570 (arg1)->GetPPIScreen(arg2,arg3);
28571 wxPyEndAllowThreads(__tstate);
28572 if (PyErr_Occurred()) SWIG_fail;
28573 }
28574 resultobj = SWIG_Py_Void();
28575 if (SWIG_IsTmpObj(res2)) {
28576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28577 } else {
28578 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28579 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28580 }
28581 if (SWIG_IsTmpObj(res3)) {
28582 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28583 } else {
28584 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28585 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28586 }
28587 return resultobj;
28588 fail:
28589 return NULL;
28590 }
28591
28592
28593 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28594 PyObject *resultobj = 0;
28595 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28596 int arg2 ;
28597 int arg3 ;
28598 void *argp1 = 0 ;
28599 int res1 = 0 ;
28600 int val2 ;
28601 int ecode2 = 0 ;
28602 int val3 ;
28603 int ecode3 = 0 ;
28604 PyObject * obj0 = 0 ;
28605 PyObject * obj1 = 0 ;
28606 PyObject * obj2 = 0 ;
28607 char * kwnames[] = {
28608 (char *) "self",(char *) "x",(char *) "y", NULL
28609 };
28610
28611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28613 if (!SWIG_IsOK(res1)) {
28614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28615 }
28616 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28617 ecode2 = SWIG_AsVal_int(obj1, &val2);
28618 if (!SWIG_IsOK(ecode2)) {
28619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28620 }
28621 arg2 = static_cast< int >(val2);
28622 ecode3 = SWIG_AsVal_int(obj2, &val3);
28623 if (!SWIG_IsOK(ecode3)) {
28624 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28625 }
28626 arg3 = static_cast< int >(val3);
28627 {
28628 PyThreadState* __tstate = wxPyBeginAllowThreads();
28629 (arg1)->SetPPIPrinter(arg2,arg3);
28630 wxPyEndAllowThreads(__tstate);
28631 if (PyErr_Occurred()) SWIG_fail;
28632 }
28633 resultobj = SWIG_Py_Void();
28634 return resultobj;
28635 fail:
28636 return NULL;
28637 }
28638
28639
28640 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28641 PyObject *resultobj = 0;
28642 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28643 int *arg2 = (int *) 0 ;
28644 int *arg3 = (int *) 0 ;
28645 void *argp1 = 0 ;
28646 int res1 = 0 ;
28647 int temp2 ;
28648 int res2 = SWIG_TMPOBJ ;
28649 int temp3 ;
28650 int res3 = SWIG_TMPOBJ ;
28651 PyObject *swig_obj[1] ;
28652
28653 arg2 = &temp2;
28654 arg3 = &temp3;
28655 if (!args) SWIG_fail;
28656 swig_obj[0] = args;
28657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28658 if (!SWIG_IsOK(res1)) {
28659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28660 }
28661 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28662 {
28663 PyThreadState* __tstate = wxPyBeginAllowThreads();
28664 (arg1)->GetPPIPrinter(arg2,arg3);
28665 wxPyEndAllowThreads(__tstate);
28666 if (PyErr_Occurred()) SWIG_fail;
28667 }
28668 resultobj = SWIG_Py_Void();
28669 if (SWIG_IsTmpObj(res2)) {
28670 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28671 } else {
28672 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28673 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28674 }
28675 if (SWIG_IsTmpObj(res3)) {
28676 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28677 } else {
28678 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28679 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28680 }
28681 return resultobj;
28682 fail:
28683 return NULL;
28684 }
28685
28686
28687 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28688 PyObject *resultobj = 0;
28689 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28690 wxRect *arg2 = 0 ;
28691 void *argp1 = 0 ;
28692 int res1 = 0 ;
28693 wxRect temp2 ;
28694 PyObject * obj0 = 0 ;
28695 PyObject * obj1 = 0 ;
28696 char * kwnames[] = {
28697 (char *) "self",(char *) "paperRectPixels", NULL
28698 };
28699
28700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28702 if (!SWIG_IsOK(res1)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28704 }
28705 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28706 {
28707 arg2 = &temp2;
28708 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28709 }
28710 {
28711 PyThreadState* __tstate = wxPyBeginAllowThreads();
28712 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28713 wxPyEndAllowThreads(__tstate);
28714 if (PyErr_Occurred()) SWIG_fail;
28715 }
28716 resultobj = SWIG_Py_Void();
28717 return resultobj;
28718 fail:
28719 return NULL;
28720 }
28721
28722
28723 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28724 PyObject *resultobj = 0;
28725 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28726 wxRect result;
28727 void *argp1 = 0 ;
28728 int res1 = 0 ;
28729 PyObject *swig_obj[1] ;
28730
28731 if (!args) SWIG_fail;
28732 swig_obj[0] = args;
28733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28734 if (!SWIG_IsOK(res1)) {
28735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28736 }
28737 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28738 {
28739 PyThreadState* __tstate = wxPyBeginAllowThreads();
28740 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
28741 wxPyEndAllowThreads(__tstate);
28742 if (PyErr_Occurred()) SWIG_fail;
28743 }
28744 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28745 return resultobj;
28746 fail:
28747 return NULL;
28748 }
28749
28750
28751 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28752 PyObject *resultobj = 0;
28753 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28754 bool result;
28755 void *argp1 = 0 ;
28756 int res1 = 0 ;
28757 PyObject *swig_obj[1] ;
28758
28759 if (!args) SWIG_fail;
28760 swig_obj[0] = args;
28761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28762 if (!SWIG_IsOK(res1)) {
28763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28764 }
28765 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28766 {
28767 PyThreadState* __tstate = wxPyBeginAllowThreads();
28768 result = (bool)(arg1)->IsPreview();
28769 wxPyEndAllowThreads(__tstate);
28770 if (PyErr_Occurred()) SWIG_fail;
28771 }
28772 {
28773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28774 }
28775 return resultobj;
28776 fail:
28777 return NULL;
28778 }
28779
28780
28781 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28782 PyObject *resultobj = 0;
28783 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28784 bool arg2 ;
28785 void *argp1 = 0 ;
28786 int res1 = 0 ;
28787 bool val2 ;
28788 int ecode2 = 0 ;
28789 PyObject * obj0 = 0 ;
28790 PyObject * obj1 = 0 ;
28791 char * kwnames[] = {
28792 (char *) "self",(char *) "p", NULL
28793 };
28794
28795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28797 if (!SWIG_IsOK(res1)) {
28798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28799 }
28800 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28801 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28802 if (!SWIG_IsOK(ecode2)) {
28803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28804 }
28805 arg2 = static_cast< bool >(val2);
28806 {
28807 PyThreadState* __tstate = wxPyBeginAllowThreads();
28808 (arg1)->SetIsPreview(arg2);
28809 wxPyEndAllowThreads(__tstate);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 }
28812 resultobj = SWIG_Py_Void();
28813 return resultobj;
28814 fail:
28815 return NULL;
28816 }
28817
28818
28819 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28820 PyObject *resultobj = 0;
28821 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28822 int arg2 ;
28823 int arg3 ;
28824 bool result;
28825 void *argp1 = 0 ;
28826 int res1 = 0 ;
28827 int val2 ;
28828 int ecode2 = 0 ;
28829 int val3 ;
28830 int ecode3 = 0 ;
28831 PyObject * obj0 = 0 ;
28832 PyObject * obj1 = 0 ;
28833 PyObject * obj2 = 0 ;
28834 char * kwnames[] = {
28835 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28836 };
28837
28838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28840 if (!SWIG_IsOK(res1)) {
28841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28842 }
28843 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28844 ecode2 = SWIG_AsVal_int(obj1, &val2);
28845 if (!SWIG_IsOK(ecode2)) {
28846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28847 }
28848 arg2 = static_cast< int >(val2);
28849 ecode3 = SWIG_AsVal_int(obj2, &val3);
28850 if (!SWIG_IsOK(ecode3)) {
28851 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28852 }
28853 arg3 = static_cast< int >(val3);
28854 {
28855 PyThreadState* __tstate = wxPyBeginAllowThreads();
28856 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28857 wxPyEndAllowThreads(__tstate);
28858 if (PyErr_Occurred()) SWIG_fail;
28859 }
28860 {
28861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28862 }
28863 return resultobj;
28864 fail:
28865 return NULL;
28866 }
28867
28868
28869 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28870 PyObject *resultobj = 0;
28871 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28872 void *argp1 = 0 ;
28873 int res1 = 0 ;
28874 PyObject *swig_obj[1] ;
28875
28876 if (!args) SWIG_fail;
28877 swig_obj[0] = args;
28878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28879 if (!SWIG_IsOK(res1)) {
28880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28881 }
28882 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28883 {
28884 PyThreadState* __tstate = wxPyBeginAllowThreads();
28885 (arg1)->OnEndDocument();
28886 wxPyEndAllowThreads(__tstate);
28887 if (PyErr_Occurred()) SWIG_fail;
28888 }
28889 resultobj = SWIG_Py_Void();
28890 return resultobj;
28891 fail:
28892 return NULL;
28893 }
28894
28895
28896 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28897 PyObject *resultobj = 0;
28898 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28899 void *argp1 = 0 ;
28900 int res1 = 0 ;
28901 PyObject *swig_obj[1] ;
28902
28903 if (!args) SWIG_fail;
28904 swig_obj[0] = args;
28905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28906 if (!SWIG_IsOK(res1)) {
28907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28908 }
28909 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28910 {
28911 PyThreadState* __tstate = wxPyBeginAllowThreads();
28912 (arg1)->OnBeginPrinting();
28913 wxPyEndAllowThreads(__tstate);
28914 if (PyErr_Occurred()) SWIG_fail;
28915 }
28916 resultobj = SWIG_Py_Void();
28917 return resultobj;
28918 fail:
28919 return NULL;
28920 }
28921
28922
28923 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28924 PyObject *resultobj = 0;
28925 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28926 void *argp1 = 0 ;
28927 int res1 = 0 ;
28928 PyObject *swig_obj[1] ;
28929
28930 if (!args) SWIG_fail;
28931 swig_obj[0] = args;
28932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28933 if (!SWIG_IsOK(res1)) {
28934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28935 }
28936 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28937 {
28938 PyThreadState* __tstate = wxPyBeginAllowThreads();
28939 (arg1)->OnEndPrinting();
28940 wxPyEndAllowThreads(__tstate);
28941 if (PyErr_Occurred()) SWIG_fail;
28942 }
28943 resultobj = SWIG_Py_Void();
28944 return resultobj;
28945 fail:
28946 return NULL;
28947 }
28948
28949
28950 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28951 PyObject *resultobj = 0;
28952 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28953 void *argp1 = 0 ;
28954 int res1 = 0 ;
28955 PyObject *swig_obj[1] ;
28956
28957 if (!args) SWIG_fail;
28958 swig_obj[0] = args;
28959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28960 if (!SWIG_IsOK(res1)) {
28961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28962 }
28963 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28964 {
28965 PyThreadState* __tstate = wxPyBeginAllowThreads();
28966 (arg1)->OnPreparePrinting();
28967 wxPyEndAllowThreads(__tstate);
28968 if (PyErr_Occurred()) SWIG_fail;
28969 }
28970 resultobj = SWIG_Py_Void();
28971 return resultobj;
28972 fail:
28973 return NULL;
28974 }
28975
28976
28977 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28978 PyObject *resultobj = 0;
28979 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28980 int arg2 ;
28981 bool result;
28982 void *argp1 = 0 ;
28983 int res1 = 0 ;
28984 int val2 ;
28985 int ecode2 = 0 ;
28986 PyObject * obj0 = 0 ;
28987 PyObject * obj1 = 0 ;
28988 char * kwnames[] = {
28989 (char *) "self",(char *) "page", NULL
28990 };
28991
28992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28994 if (!SWIG_IsOK(res1)) {
28995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28996 }
28997 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28998 ecode2 = SWIG_AsVal_int(obj1, &val2);
28999 if (!SWIG_IsOK(ecode2)) {
29000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29001 }
29002 arg2 = static_cast< int >(val2);
29003 {
29004 PyThreadState* __tstate = wxPyBeginAllowThreads();
29005 result = (bool)(arg1)->HasPage(arg2);
29006 wxPyEndAllowThreads(__tstate);
29007 if (PyErr_Occurred()) SWIG_fail;
29008 }
29009 {
29010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29011 }
29012 return resultobj;
29013 fail:
29014 return NULL;
29015 }
29016
29017
29018 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29019 PyObject *resultobj = 0;
29020 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29021 int *arg2 = (int *) 0 ;
29022 int *arg3 = (int *) 0 ;
29023 int *arg4 = (int *) 0 ;
29024 int *arg5 = (int *) 0 ;
29025 void *argp1 = 0 ;
29026 int res1 = 0 ;
29027 int temp2 ;
29028 int res2 = SWIG_TMPOBJ ;
29029 int temp3 ;
29030 int res3 = SWIG_TMPOBJ ;
29031 int temp4 ;
29032 int res4 = SWIG_TMPOBJ ;
29033 int temp5 ;
29034 int res5 = SWIG_TMPOBJ ;
29035 PyObject *swig_obj[1] ;
29036
29037 arg2 = &temp2;
29038 arg3 = &temp3;
29039 arg4 = &temp4;
29040 arg5 = &temp5;
29041 if (!args) SWIG_fail;
29042 swig_obj[0] = args;
29043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29044 if (!SWIG_IsOK(res1)) {
29045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29046 }
29047 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29048 {
29049 PyThreadState* __tstate = wxPyBeginAllowThreads();
29050 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29051 wxPyEndAllowThreads(__tstate);
29052 if (PyErr_Occurred()) SWIG_fail;
29053 }
29054 resultobj = SWIG_Py_Void();
29055 if (SWIG_IsTmpObj(res2)) {
29056 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29057 } else {
29058 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29059 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29060 }
29061 if (SWIG_IsTmpObj(res3)) {
29062 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29063 } else {
29064 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29065 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29066 }
29067 if (SWIG_IsTmpObj(res4)) {
29068 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29069 } else {
29070 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29071 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29072 }
29073 if (SWIG_IsTmpObj(res5)) {
29074 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29075 } else {
29076 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29077 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29078 }
29079 return resultobj;
29080 fail:
29081 return NULL;
29082 }
29083
29084
29085 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29086 PyObject *obj;
29087 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29088 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29089 return SWIG_Py_Void();
29090 }
29091
29092 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29093 return SWIG_Python_InitShadowInstance(args);
29094 }
29095
29096 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29097 PyObject *resultobj = 0;
29098 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29099 wxWindow *arg2 = (wxWindow *) 0 ;
29100 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29101 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29102 wxSize const &arg4_defvalue = wxDefaultSize ;
29103 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29104 long arg5 = (long) 0 ;
29105 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29106 wxString *arg6 = (wxString *) &arg6_defvalue ;
29107 wxPreviewCanvas *result = 0 ;
29108 void *argp1 = 0 ;
29109 int res1 = 0 ;
29110 void *argp2 = 0 ;
29111 int res2 = 0 ;
29112 wxPoint temp3 ;
29113 wxSize temp4 ;
29114 long val5 ;
29115 int ecode5 = 0 ;
29116 bool temp6 = false ;
29117 PyObject * obj0 = 0 ;
29118 PyObject * obj1 = 0 ;
29119 PyObject * obj2 = 0 ;
29120 PyObject * obj3 = 0 ;
29121 PyObject * obj4 = 0 ;
29122 PyObject * obj5 = 0 ;
29123 char * kwnames[] = {
29124 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29125 };
29126
29127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29129 if (!SWIG_IsOK(res1)) {
29130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29131 }
29132 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29133 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29134 if (!SWIG_IsOK(res2)) {
29135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29136 }
29137 arg2 = reinterpret_cast< wxWindow * >(argp2);
29138 if (obj2) {
29139 {
29140 arg3 = &temp3;
29141 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29142 }
29143 }
29144 if (obj3) {
29145 {
29146 arg4 = &temp4;
29147 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29148 }
29149 }
29150 if (obj4) {
29151 ecode5 = SWIG_AsVal_long(obj4, &val5);
29152 if (!SWIG_IsOK(ecode5)) {
29153 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29154 }
29155 arg5 = static_cast< long >(val5);
29156 }
29157 if (obj5) {
29158 {
29159 arg6 = wxString_in_helper(obj5);
29160 if (arg6 == NULL) SWIG_fail;
29161 temp6 = true;
29162 }
29163 }
29164 {
29165 if (!wxPyCheckForApp()) SWIG_fail;
29166 PyThreadState* __tstate = wxPyBeginAllowThreads();
29167 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29168 wxPyEndAllowThreads(__tstate);
29169 if (PyErr_Occurred()) SWIG_fail;
29170 }
29171 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29172 {
29173 if (temp6)
29174 delete arg6;
29175 }
29176 return resultobj;
29177 fail:
29178 {
29179 if (temp6)
29180 delete arg6;
29181 }
29182 return NULL;
29183 }
29184
29185
29186 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29187 PyObject *obj;
29188 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29189 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29190 return SWIG_Py_Void();
29191 }
29192
29193 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29194 return SWIG_Python_InitShadowInstance(args);
29195 }
29196
29197 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29198 PyObject *resultobj = 0;
29199 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29200 wxFrame *arg2 = (wxFrame *) 0 ;
29201 wxString *arg3 = 0 ;
29202 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29203 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29204 wxSize const &arg5_defvalue = wxDefaultSize ;
29205 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29206 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29207 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29208 wxString *arg7 = (wxString *) &arg7_defvalue ;
29209 wxPreviewFrame *result = 0 ;
29210 int res1 = 0 ;
29211 void *argp2 = 0 ;
29212 int res2 = 0 ;
29213 bool temp3 = false ;
29214 wxPoint temp4 ;
29215 wxSize temp5 ;
29216 long val6 ;
29217 int ecode6 = 0 ;
29218 bool temp7 = false ;
29219 PyObject * obj0 = 0 ;
29220 PyObject * obj1 = 0 ;
29221 PyObject * obj2 = 0 ;
29222 PyObject * obj3 = 0 ;
29223 PyObject * obj4 = 0 ;
29224 PyObject * obj5 = 0 ;
29225 PyObject * obj6 = 0 ;
29226 char * kwnames[] = {
29227 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29228 };
29229
29230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29231 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29232 if (!SWIG_IsOK(res1)) {
29233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29234 }
29235 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29236 if (!SWIG_IsOK(res2)) {
29237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29238 }
29239 arg2 = reinterpret_cast< wxFrame * >(argp2);
29240 {
29241 arg3 = wxString_in_helper(obj2);
29242 if (arg3 == NULL) SWIG_fail;
29243 temp3 = true;
29244 }
29245 if (obj3) {
29246 {
29247 arg4 = &temp4;
29248 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29249 }
29250 }
29251 if (obj4) {
29252 {
29253 arg5 = &temp5;
29254 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29255 }
29256 }
29257 if (obj5) {
29258 ecode6 = SWIG_AsVal_long(obj5, &val6);
29259 if (!SWIG_IsOK(ecode6)) {
29260 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29261 }
29262 arg6 = static_cast< long >(val6);
29263 }
29264 if (obj6) {
29265 {
29266 arg7 = wxString_in_helper(obj6);
29267 if (arg7 == NULL) SWIG_fail;
29268 temp7 = true;
29269 }
29270 }
29271 {
29272 if (!wxPyCheckForApp()) SWIG_fail;
29273 PyThreadState* __tstate = wxPyBeginAllowThreads();
29274 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29275 wxPyEndAllowThreads(__tstate);
29276 if (PyErr_Occurred()) SWIG_fail;
29277 }
29278 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29279 {
29280 if (temp3)
29281 delete arg3;
29282 }
29283 {
29284 if (temp7)
29285 delete arg7;
29286 }
29287 return resultobj;
29288 fail:
29289 {
29290 if (temp3)
29291 delete arg3;
29292 }
29293 {
29294 if (temp7)
29295 delete arg7;
29296 }
29297 return NULL;
29298 }
29299
29300
29301 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29302 PyObject *resultobj = 0;
29303 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29304 void *argp1 = 0 ;
29305 int res1 = 0 ;
29306 PyObject *swig_obj[1] ;
29307
29308 if (!args) SWIG_fail;
29309 swig_obj[0] = args;
29310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29311 if (!SWIG_IsOK(res1)) {
29312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29313 }
29314 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29315 {
29316 PyThreadState* __tstate = wxPyBeginAllowThreads();
29317 (arg1)->Initialize();
29318 wxPyEndAllowThreads(__tstate);
29319 if (PyErr_Occurred()) SWIG_fail;
29320 }
29321 resultobj = SWIG_Py_Void();
29322 return resultobj;
29323 fail:
29324 return NULL;
29325 }
29326
29327
29328 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29329 PyObject *resultobj = 0;
29330 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29331 void *argp1 = 0 ;
29332 int res1 = 0 ;
29333 PyObject *swig_obj[1] ;
29334
29335 if (!args) SWIG_fail;
29336 swig_obj[0] = args;
29337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29338 if (!SWIG_IsOK(res1)) {
29339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29340 }
29341 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29342 {
29343 PyThreadState* __tstate = wxPyBeginAllowThreads();
29344 (arg1)->CreateControlBar();
29345 wxPyEndAllowThreads(__tstate);
29346 if (PyErr_Occurred()) SWIG_fail;
29347 }
29348 resultobj = SWIG_Py_Void();
29349 return resultobj;
29350 fail:
29351 return NULL;
29352 }
29353
29354
29355 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29356 PyObject *resultobj = 0;
29357 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29358 void *argp1 = 0 ;
29359 int res1 = 0 ;
29360 PyObject *swig_obj[1] ;
29361
29362 if (!args) SWIG_fail;
29363 swig_obj[0] = args;
29364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29365 if (!SWIG_IsOK(res1)) {
29366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29367 }
29368 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29369 {
29370 PyThreadState* __tstate = wxPyBeginAllowThreads();
29371 (arg1)->CreateCanvas();
29372 wxPyEndAllowThreads(__tstate);
29373 if (PyErr_Occurred()) SWIG_fail;
29374 }
29375 resultobj = SWIG_Py_Void();
29376 return resultobj;
29377 fail:
29378 return NULL;
29379 }
29380
29381
29382 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29383 PyObject *resultobj = 0;
29384 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29385 wxPreviewControlBar *result = 0 ;
29386 void *argp1 = 0 ;
29387 int res1 = 0 ;
29388 PyObject *swig_obj[1] ;
29389
29390 if (!args) SWIG_fail;
29391 swig_obj[0] = args;
29392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29393 if (!SWIG_IsOK(res1)) {
29394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29395 }
29396 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29397 {
29398 PyThreadState* __tstate = wxPyBeginAllowThreads();
29399 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29400 wxPyEndAllowThreads(__tstate);
29401 if (PyErr_Occurred()) SWIG_fail;
29402 }
29403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29404 return resultobj;
29405 fail:
29406 return NULL;
29407 }
29408
29409
29410 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29411 PyObject *obj;
29412 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29413 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29414 return SWIG_Py_Void();
29415 }
29416
29417 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29418 return SWIG_Python_InitShadowInstance(args);
29419 }
29420
29421 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29422 PyObject *resultobj = 0;
29423 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29424 long arg2 ;
29425 wxWindow *arg3 = (wxWindow *) 0 ;
29426 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29427 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29428 wxSize const &arg5_defvalue = wxDefaultSize ;
29429 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29430 long arg6 = (long) wxTAB_TRAVERSAL ;
29431 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29432 wxString *arg7 = (wxString *) &arg7_defvalue ;
29433 wxPreviewControlBar *result = 0 ;
29434 void *argp1 = 0 ;
29435 int res1 = 0 ;
29436 long val2 ;
29437 int ecode2 = 0 ;
29438 void *argp3 = 0 ;
29439 int res3 = 0 ;
29440 wxPoint temp4 ;
29441 wxSize temp5 ;
29442 long val6 ;
29443 int ecode6 = 0 ;
29444 bool temp7 = false ;
29445 PyObject * obj0 = 0 ;
29446 PyObject * obj1 = 0 ;
29447 PyObject * obj2 = 0 ;
29448 PyObject * obj3 = 0 ;
29449 PyObject * obj4 = 0 ;
29450 PyObject * obj5 = 0 ;
29451 PyObject * obj6 = 0 ;
29452 char * kwnames[] = {
29453 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29454 };
29455
29456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29458 if (!SWIG_IsOK(res1)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29460 }
29461 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29462 ecode2 = SWIG_AsVal_long(obj1, &val2);
29463 if (!SWIG_IsOK(ecode2)) {
29464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29465 }
29466 arg2 = static_cast< long >(val2);
29467 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29468 if (!SWIG_IsOK(res3)) {
29469 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29470 }
29471 arg3 = reinterpret_cast< wxWindow * >(argp3);
29472 if (obj3) {
29473 {
29474 arg4 = &temp4;
29475 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29476 }
29477 }
29478 if (obj4) {
29479 {
29480 arg5 = &temp5;
29481 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29482 }
29483 }
29484 if (obj5) {
29485 ecode6 = SWIG_AsVal_long(obj5, &val6);
29486 if (!SWIG_IsOK(ecode6)) {
29487 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29488 }
29489 arg6 = static_cast< long >(val6);
29490 }
29491 if (obj6) {
29492 {
29493 arg7 = wxString_in_helper(obj6);
29494 if (arg7 == NULL) SWIG_fail;
29495 temp7 = true;
29496 }
29497 }
29498 {
29499 if (!wxPyCheckForApp()) SWIG_fail;
29500 PyThreadState* __tstate = wxPyBeginAllowThreads();
29501 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29502 wxPyEndAllowThreads(__tstate);
29503 if (PyErr_Occurred()) SWIG_fail;
29504 }
29505 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29506 {
29507 if (temp7)
29508 delete arg7;
29509 }
29510 return resultobj;
29511 fail:
29512 {
29513 if (temp7)
29514 delete arg7;
29515 }
29516 return NULL;
29517 }
29518
29519
29520 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29521 PyObject *resultobj = 0;
29522 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29523 int result;
29524 void *argp1 = 0 ;
29525 int res1 = 0 ;
29526 PyObject *swig_obj[1] ;
29527
29528 if (!args) SWIG_fail;
29529 swig_obj[0] = args;
29530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29531 if (!SWIG_IsOK(res1)) {
29532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29533 }
29534 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29535 {
29536 PyThreadState* __tstate = wxPyBeginAllowThreads();
29537 result = (int)(arg1)->GetZoomControl();
29538 wxPyEndAllowThreads(__tstate);
29539 if (PyErr_Occurred()) SWIG_fail;
29540 }
29541 resultobj = SWIG_From_int(static_cast< int >(result));
29542 return resultobj;
29543 fail:
29544 return NULL;
29545 }
29546
29547
29548 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29549 PyObject *resultobj = 0;
29550 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29551 int arg2 ;
29552 void *argp1 = 0 ;
29553 int res1 = 0 ;
29554 int val2 ;
29555 int ecode2 = 0 ;
29556 PyObject * obj0 = 0 ;
29557 PyObject * obj1 = 0 ;
29558 char * kwnames[] = {
29559 (char *) "self",(char *) "zoom", NULL
29560 };
29561
29562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29564 if (!SWIG_IsOK(res1)) {
29565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29566 }
29567 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29568 ecode2 = SWIG_AsVal_int(obj1, &val2);
29569 if (!SWIG_IsOK(ecode2)) {
29570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29571 }
29572 arg2 = static_cast< int >(val2);
29573 {
29574 PyThreadState* __tstate = wxPyBeginAllowThreads();
29575 (arg1)->SetZoomControl(arg2);
29576 wxPyEndAllowThreads(__tstate);
29577 if (PyErr_Occurred()) SWIG_fail;
29578 }
29579 resultobj = SWIG_Py_Void();
29580 return resultobj;
29581 fail:
29582 return NULL;
29583 }
29584
29585
29586 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29587 PyObject *resultobj = 0;
29588 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29589 wxPrintPreview *result = 0 ;
29590 void *argp1 = 0 ;
29591 int res1 = 0 ;
29592 PyObject *swig_obj[1] ;
29593
29594 if (!args) SWIG_fail;
29595 swig_obj[0] = args;
29596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29597 if (!SWIG_IsOK(res1)) {
29598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29599 }
29600 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29601 {
29602 PyThreadState* __tstate = wxPyBeginAllowThreads();
29603 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29604 wxPyEndAllowThreads(__tstate);
29605 if (PyErr_Occurred()) SWIG_fail;
29606 }
29607 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29608 return resultobj;
29609 fail:
29610 return NULL;
29611 }
29612
29613
29614 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29615 PyObject *resultobj = 0;
29616 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29617 void *argp1 = 0 ;
29618 int res1 = 0 ;
29619 PyObject *swig_obj[1] ;
29620
29621 if (!args) SWIG_fail;
29622 swig_obj[0] = args;
29623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29624 if (!SWIG_IsOK(res1)) {
29625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29626 }
29627 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29628 {
29629 PyThreadState* __tstate = wxPyBeginAllowThreads();
29630 (arg1)->OnNext();
29631 wxPyEndAllowThreads(__tstate);
29632 if (PyErr_Occurred()) SWIG_fail;
29633 }
29634 resultobj = SWIG_Py_Void();
29635 return resultobj;
29636 fail:
29637 return NULL;
29638 }
29639
29640
29641 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29642 PyObject *resultobj = 0;
29643 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29644 void *argp1 = 0 ;
29645 int res1 = 0 ;
29646 PyObject *swig_obj[1] ;
29647
29648 if (!args) SWIG_fail;
29649 swig_obj[0] = args;
29650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29651 if (!SWIG_IsOK(res1)) {
29652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29653 }
29654 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29655 {
29656 PyThreadState* __tstate = wxPyBeginAllowThreads();
29657 (arg1)->OnPrevious();
29658 wxPyEndAllowThreads(__tstate);
29659 if (PyErr_Occurred()) SWIG_fail;
29660 }
29661 resultobj = SWIG_Py_Void();
29662 return resultobj;
29663 fail:
29664 return NULL;
29665 }
29666
29667
29668 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29669 PyObject *resultobj = 0;
29670 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29671 void *argp1 = 0 ;
29672 int res1 = 0 ;
29673 PyObject *swig_obj[1] ;
29674
29675 if (!args) SWIG_fail;
29676 swig_obj[0] = args;
29677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29678 if (!SWIG_IsOK(res1)) {
29679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29680 }
29681 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29682 {
29683 PyThreadState* __tstate = wxPyBeginAllowThreads();
29684 (arg1)->OnFirst();
29685 wxPyEndAllowThreads(__tstate);
29686 if (PyErr_Occurred()) SWIG_fail;
29687 }
29688 resultobj = SWIG_Py_Void();
29689 return resultobj;
29690 fail:
29691 return NULL;
29692 }
29693
29694
29695 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29696 PyObject *resultobj = 0;
29697 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29698 void *argp1 = 0 ;
29699 int res1 = 0 ;
29700 PyObject *swig_obj[1] ;
29701
29702 if (!args) SWIG_fail;
29703 swig_obj[0] = args;
29704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29705 if (!SWIG_IsOK(res1)) {
29706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29707 }
29708 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29709 {
29710 PyThreadState* __tstate = wxPyBeginAllowThreads();
29711 (arg1)->OnLast();
29712 wxPyEndAllowThreads(__tstate);
29713 if (PyErr_Occurred()) SWIG_fail;
29714 }
29715 resultobj = SWIG_Py_Void();
29716 return resultobj;
29717 fail:
29718 return NULL;
29719 }
29720
29721
29722 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29723 PyObject *resultobj = 0;
29724 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29725 void *argp1 = 0 ;
29726 int res1 = 0 ;
29727 PyObject *swig_obj[1] ;
29728
29729 if (!args) SWIG_fail;
29730 swig_obj[0] = args;
29731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29732 if (!SWIG_IsOK(res1)) {
29733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29734 }
29735 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29736 {
29737 PyThreadState* __tstate = wxPyBeginAllowThreads();
29738 (arg1)->OnGoto();
29739 wxPyEndAllowThreads(__tstate);
29740 if (PyErr_Occurred()) SWIG_fail;
29741 }
29742 resultobj = SWIG_Py_Void();
29743 return resultobj;
29744 fail:
29745 return NULL;
29746 }
29747
29748
29749 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29750 PyObject *obj;
29751 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29752 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29753 return SWIG_Py_Void();
29754 }
29755
29756 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29757 return SWIG_Python_InitShadowInstance(args);
29758 }
29759
29760 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29761 PyObject *resultobj = 0;
29762 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29763 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29764 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29765 wxPrintPreview *result = 0 ;
29766 int res1 = 0 ;
29767 int res2 = 0 ;
29768 void *argp3 = 0 ;
29769 int res3 = 0 ;
29770
29771 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29772 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29773 if (!SWIG_IsOK(res1)) {
29774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29775 }
29776 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29777 if (!SWIG_IsOK(res2)) {
29778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29779 }
29780 if (swig_obj[2]) {
29781 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29782 if (!SWIG_IsOK(res3)) {
29783 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29784 }
29785 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29786 }
29787 {
29788 if (!wxPyCheckForApp()) SWIG_fail;
29789 PyThreadState* __tstate = wxPyBeginAllowThreads();
29790 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29791 wxPyEndAllowThreads(__tstate);
29792 if (PyErr_Occurred()) SWIG_fail;
29793 }
29794 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29795 return resultobj;
29796 fail:
29797 return NULL;
29798 }
29799
29800
29801 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29802 PyObject *resultobj = 0;
29803 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29804 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29805 wxPrintData *arg3 = (wxPrintData *) 0 ;
29806 wxPrintPreview *result = 0 ;
29807 int res1 = 0 ;
29808 int res2 = 0 ;
29809 void *argp3 = 0 ;
29810 int res3 = 0 ;
29811
29812 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29813 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29814 if (!SWIG_IsOK(res1)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29816 }
29817 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29818 if (!SWIG_IsOK(res2)) {
29819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29820 }
29821 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29822 if (!SWIG_IsOK(res3)) {
29823 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29824 }
29825 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29826 {
29827 if (!wxPyCheckForApp()) SWIG_fail;
29828 PyThreadState* __tstate = wxPyBeginAllowThreads();
29829 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29830 wxPyEndAllowThreads(__tstate);
29831 if (PyErr_Occurred()) SWIG_fail;
29832 }
29833 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29834 return resultobj;
29835 fail:
29836 return NULL;
29837 }
29838
29839
29840 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29841 int argc;
29842 PyObject *argv[4];
29843
29844 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29845 --argc;
29846 if ((argc >= 2) && (argc <= 3)) {
29847 int _v = 0;
29848 if (argc > 2) {
29849 {
29850 void *vptr = 0;
29851 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29852 _v = SWIG_CheckState(res);
29853 }
29854 if (!_v) goto check_1;
29855 }
29856 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29857 }
29858 check_1:
29859
29860 if (argc == 3) {
29861 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29862 }
29863
29864 fail:
29865 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29866 return NULL;
29867 }
29868
29869
29870 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29871 PyObject *resultobj = 0;
29872 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29873 void *argp1 = 0 ;
29874 int res1 = 0 ;
29875 PyObject *swig_obj[1] ;
29876
29877 if (!args) SWIG_fail;
29878 swig_obj[0] = args;
29879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29880 if (!SWIG_IsOK(res1)) {
29881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29882 }
29883 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29884 {
29885 PyThreadState* __tstate = wxPyBeginAllowThreads();
29886 delete arg1;
29887
29888 wxPyEndAllowThreads(__tstate);
29889 if (PyErr_Occurred()) SWIG_fail;
29890 }
29891 resultobj = SWIG_Py_Void();
29892 return resultobj;
29893 fail:
29894 return NULL;
29895 }
29896
29897
29898 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29899 PyObject *resultobj = 0;
29900 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29901 int arg2 ;
29902 bool result;
29903 void *argp1 = 0 ;
29904 int res1 = 0 ;
29905 int val2 ;
29906 int ecode2 = 0 ;
29907 PyObject * obj0 = 0 ;
29908 PyObject * obj1 = 0 ;
29909 char * kwnames[] = {
29910 (char *) "self",(char *) "pageNum", NULL
29911 };
29912
29913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29915 if (!SWIG_IsOK(res1)) {
29916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29917 }
29918 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29919 ecode2 = SWIG_AsVal_int(obj1, &val2);
29920 if (!SWIG_IsOK(ecode2)) {
29921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29922 }
29923 arg2 = static_cast< int >(val2);
29924 {
29925 PyThreadState* __tstate = wxPyBeginAllowThreads();
29926 result = (bool)(arg1)->SetCurrentPage(arg2);
29927 wxPyEndAllowThreads(__tstate);
29928 if (PyErr_Occurred()) SWIG_fail;
29929 }
29930 {
29931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29932 }
29933 return resultobj;
29934 fail:
29935 return NULL;
29936 }
29937
29938
29939 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29940 PyObject *resultobj = 0;
29941 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29942 int result;
29943 void *argp1 = 0 ;
29944 int res1 = 0 ;
29945 PyObject *swig_obj[1] ;
29946
29947 if (!args) SWIG_fail;
29948 swig_obj[0] = args;
29949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29950 if (!SWIG_IsOK(res1)) {
29951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29952 }
29953 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29954 {
29955 PyThreadState* __tstate = wxPyBeginAllowThreads();
29956 result = (int)(arg1)->GetCurrentPage();
29957 wxPyEndAllowThreads(__tstate);
29958 if (PyErr_Occurred()) SWIG_fail;
29959 }
29960 resultobj = SWIG_From_int(static_cast< int >(result));
29961 return resultobj;
29962 fail:
29963 return NULL;
29964 }
29965
29966
29967 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29968 PyObject *resultobj = 0;
29969 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29970 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29971 void *argp1 = 0 ;
29972 int res1 = 0 ;
29973 int res2 = 0 ;
29974 PyObject * obj0 = 0 ;
29975 PyObject * obj1 = 0 ;
29976 char * kwnames[] = {
29977 (char *) "self",(char *) "printout", NULL
29978 };
29979
29980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29982 if (!SWIG_IsOK(res1)) {
29983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29984 }
29985 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29986 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29987 if (!SWIG_IsOK(res2)) {
29988 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29989 }
29990 {
29991 PyThreadState* __tstate = wxPyBeginAllowThreads();
29992 (arg1)->SetPrintout(arg2);
29993 wxPyEndAllowThreads(__tstate);
29994 if (PyErr_Occurred()) SWIG_fail;
29995 }
29996 resultobj = SWIG_Py_Void();
29997 return resultobj;
29998 fail:
29999 return NULL;
30000 }
30001
30002
30003 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30004 PyObject *resultobj = 0;
30005 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30006 wxPyPrintout *result = 0 ;
30007 void *argp1 = 0 ;
30008 int res1 = 0 ;
30009 PyObject *swig_obj[1] ;
30010
30011 if (!args) SWIG_fail;
30012 swig_obj[0] = args;
30013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30014 if (!SWIG_IsOK(res1)) {
30015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30016 }
30017 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30018 {
30019 PyThreadState* __tstate = wxPyBeginAllowThreads();
30020 result = (wxPyPrintout *)(arg1)->GetPrintout();
30021 wxPyEndAllowThreads(__tstate);
30022 if (PyErr_Occurred()) SWIG_fail;
30023 }
30024 {
30025 resultobj = wxPyMake_wxObject(result, 0);
30026 }
30027 return resultobj;
30028 fail:
30029 return NULL;
30030 }
30031
30032
30033 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30034 PyObject *resultobj = 0;
30035 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30036 wxPyPrintout *result = 0 ;
30037 void *argp1 = 0 ;
30038 int res1 = 0 ;
30039 PyObject *swig_obj[1] ;
30040
30041 if (!args) SWIG_fail;
30042 swig_obj[0] = args;
30043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30044 if (!SWIG_IsOK(res1)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30046 }
30047 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30048 {
30049 PyThreadState* __tstate = wxPyBeginAllowThreads();
30050 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30051 wxPyEndAllowThreads(__tstate);
30052 if (PyErr_Occurred()) SWIG_fail;
30053 }
30054 {
30055 resultobj = wxPyMake_wxObject(result, 0);
30056 }
30057 return resultobj;
30058 fail:
30059 return NULL;
30060 }
30061
30062
30063 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30064 PyObject *resultobj = 0;
30065 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30066 wxFrame *arg2 = (wxFrame *) 0 ;
30067 void *argp1 = 0 ;
30068 int res1 = 0 ;
30069 void *argp2 = 0 ;
30070 int res2 = 0 ;
30071 PyObject * obj0 = 0 ;
30072 PyObject * obj1 = 0 ;
30073 char * kwnames[] = {
30074 (char *) "self",(char *) "frame", NULL
30075 };
30076
30077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30079 if (!SWIG_IsOK(res1)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30081 }
30082 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30083 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30084 if (!SWIG_IsOK(res2)) {
30085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30086 }
30087 arg2 = reinterpret_cast< wxFrame * >(argp2);
30088 {
30089 PyThreadState* __tstate = wxPyBeginAllowThreads();
30090 (arg1)->SetFrame(arg2);
30091 wxPyEndAllowThreads(__tstate);
30092 if (PyErr_Occurred()) SWIG_fail;
30093 }
30094 resultobj = SWIG_Py_Void();
30095 return resultobj;
30096 fail:
30097 return NULL;
30098 }
30099
30100
30101 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30102 PyObject *resultobj = 0;
30103 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30104 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30105 void *argp1 = 0 ;
30106 int res1 = 0 ;
30107 void *argp2 = 0 ;
30108 int res2 = 0 ;
30109 PyObject * obj0 = 0 ;
30110 PyObject * obj1 = 0 ;
30111 char * kwnames[] = {
30112 (char *) "self",(char *) "canvas", NULL
30113 };
30114
30115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30117 if (!SWIG_IsOK(res1)) {
30118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30119 }
30120 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30121 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30122 if (!SWIG_IsOK(res2)) {
30123 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30124 }
30125 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30126 {
30127 PyThreadState* __tstate = wxPyBeginAllowThreads();
30128 (arg1)->SetCanvas(arg2);
30129 wxPyEndAllowThreads(__tstate);
30130 if (PyErr_Occurred()) SWIG_fail;
30131 }
30132 resultobj = SWIG_Py_Void();
30133 return resultobj;
30134 fail:
30135 return NULL;
30136 }
30137
30138
30139 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30140 PyObject *resultobj = 0;
30141 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30142 wxFrame *result = 0 ;
30143 void *argp1 = 0 ;
30144 int res1 = 0 ;
30145 PyObject *swig_obj[1] ;
30146
30147 if (!args) SWIG_fail;
30148 swig_obj[0] = args;
30149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30150 if (!SWIG_IsOK(res1)) {
30151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30152 }
30153 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30154 {
30155 PyThreadState* __tstate = wxPyBeginAllowThreads();
30156 result = (wxFrame *)(arg1)->GetFrame();
30157 wxPyEndAllowThreads(__tstate);
30158 if (PyErr_Occurred()) SWIG_fail;
30159 }
30160 {
30161 resultobj = wxPyMake_wxObject(result, 0);
30162 }
30163 return resultobj;
30164 fail:
30165 return NULL;
30166 }
30167
30168
30169 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30170 PyObject *resultobj = 0;
30171 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30172 wxPreviewCanvas *result = 0 ;
30173 void *argp1 = 0 ;
30174 int res1 = 0 ;
30175 PyObject *swig_obj[1] ;
30176
30177 if (!args) SWIG_fail;
30178 swig_obj[0] = args;
30179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30180 if (!SWIG_IsOK(res1)) {
30181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30182 }
30183 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30184 {
30185 PyThreadState* __tstate = wxPyBeginAllowThreads();
30186 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30187 wxPyEndAllowThreads(__tstate);
30188 if (PyErr_Occurred()) SWIG_fail;
30189 }
30190 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30191 return resultobj;
30192 fail:
30193 return NULL;
30194 }
30195
30196
30197 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30198 PyObject *resultobj = 0;
30199 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30200 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30201 wxDC *arg3 = 0 ;
30202 bool result;
30203 void *argp1 = 0 ;
30204 int res1 = 0 ;
30205 void *argp2 = 0 ;
30206 int res2 = 0 ;
30207 void *argp3 = 0 ;
30208 int res3 = 0 ;
30209 PyObject * obj0 = 0 ;
30210 PyObject * obj1 = 0 ;
30211 PyObject * obj2 = 0 ;
30212 char * kwnames[] = {
30213 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30214 };
30215
30216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30218 if (!SWIG_IsOK(res1)) {
30219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30220 }
30221 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30222 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30223 if (!SWIG_IsOK(res2)) {
30224 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30225 }
30226 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30227 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30228 if (!SWIG_IsOK(res3)) {
30229 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30230 }
30231 if (!argp3) {
30232 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30233 }
30234 arg3 = reinterpret_cast< wxDC * >(argp3);
30235 {
30236 PyThreadState* __tstate = wxPyBeginAllowThreads();
30237 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30238 wxPyEndAllowThreads(__tstate);
30239 if (PyErr_Occurred()) SWIG_fail;
30240 }
30241 {
30242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30243 }
30244 return resultobj;
30245 fail:
30246 return NULL;
30247 }
30248
30249
30250 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30251 PyObject *resultobj = 0;
30252 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30253 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30254 wxDC *arg3 = 0 ;
30255 bool result;
30256 void *argp1 = 0 ;
30257 int res1 = 0 ;
30258 void *argp2 = 0 ;
30259 int res2 = 0 ;
30260 void *argp3 = 0 ;
30261 int res3 = 0 ;
30262 PyObject * obj0 = 0 ;
30263 PyObject * obj1 = 0 ;
30264 PyObject * obj2 = 0 ;
30265 char * kwnames[] = {
30266 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30267 };
30268
30269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30271 if (!SWIG_IsOK(res1)) {
30272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30273 }
30274 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30275 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30276 if (!SWIG_IsOK(res2)) {
30277 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30278 }
30279 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30280 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30281 if (!SWIG_IsOK(res3)) {
30282 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30283 }
30284 if (!argp3) {
30285 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30286 }
30287 arg3 = reinterpret_cast< wxDC * >(argp3);
30288 {
30289 PyThreadState* __tstate = wxPyBeginAllowThreads();
30290 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30291 wxPyEndAllowThreads(__tstate);
30292 if (PyErr_Occurred()) SWIG_fail;
30293 }
30294 {
30295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30296 }
30297 return resultobj;
30298 fail:
30299 return NULL;
30300 }
30301
30302
30303 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30304 PyObject *resultobj = 0;
30305 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30306 int arg2 ;
30307 bool result;
30308 void *argp1 = 0 ;
30309 int res1 = 0 ;
30310 int val2 ;
30311 int ecode2 = 0 ;
30312 PyObject * obj0 = 0 ;
30313 PyObject * obj1 = 0 ;
30314 char * kwnames[] = {
30315 (char *) "self",(char *) "pageNum", NULL
30316 };
30317
30318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30320 if (!SWIG_IsOK(res1)) {
30321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30322 }
30323 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30324 ecode2 = SWIG_AsVal_int(obj1, &val2);
30325 if (!SWIG_IsOK(ecode2)) {
30326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30327 }
30328 arg2 = static_cast< int >(val2);
30329 {
30330 PyThreadState* __tstate = wxPyBeginAllowThreads();
30331 result = (bool)(arg1)->RenderPage(arg2);
30332 wxPyEndAllowThreads(__tstate);
30333 if (PyErr_Occurred()) SWIG_fail;
30334 }
30335 {
30336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30337 }
30338 return resultobj;
30339 fail:
30340 return NULL;
30341 }
30342
30343
30344 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30345 PyObject *resultobj = 0;
30346 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30347 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30348 void *argp1 = 0 ;
30349 int res1 = 0 ;
30350 void *argp2 = 0 ;
30351 int res2 = 0 ;
30352 PyObject * obj0 = 0 ;
30353 PyObject * obj1 = 0 ;
30354 char * kwnames[] = {
30355 (char *) "self",(char *) "canvas", NULL
30356 };
30357
30358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30360 if (!SWIG_IsOK(res1)) {
30361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30362 }
30363 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30364 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30365 if (!SWIG_IsOK(res2)) {
30366 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30367 }
30368 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30369 {
30370 PyThreadState* __tstate = wxPyBeginAllowThreads();
30371 (arg1)->AdjustScrollbars(arg2);
30372 wxPyEndAllowThreads(__tstate);
30373 if (PyErr_Occurred()) SWIG_fail;
30374 }
30375 resultobj = SWIG_Py_Void();
30376 return resultobj;
30377 fail:
30378 return NULL;
30379 }
30380
30381
30382 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30383 PyObject *resultobj = 0;
30384 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30385 wxPrintDialogData *result = 0 ;
30386 void *argp1 = 0 ;
30387 int res1 = 0 ;
30388 PyObject *swig_obj[1] ;
30389
30390 if (!args) SWIG_fail;
30391 swig_obj[0] = args;
30392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30393 if (!SWIG_IsOK(res1)) {
30394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30395 }
30396 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30397 {
30398 PyThreadState* __tstate = wxPyBeginAllowThreads();
30399 {
30400 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30401 result = (wxPrintDialogData *) &_result_ref;
30402 }
30403 wxPyEndAllowThreads(__tstate);
30404 if (PyErr_Occurred()) SWIG_fail;
30405 }
30406 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30407 return resultobj;
30408 fail:
30409 return NULL;
30410 }
30411
30412
30413 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30414 PyObject *resultobj = 0;
30415 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30416 int arg2 ;
30417 void *argp1 = 0 ;
30418 int res1 = 0 ;
30419 int val2 ;
30420 int ecode2 = 0 ;
30421 PyObject * obj0 = 0 ;
30422 PyObject * obj1 = 0 ;
30423 char * kwnames[] = {
30424 (char *) "self",(char *) "percent", NULL
30425 };
30426
30427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30429 if (!SWIG_IsOK(res1)) {
30430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30431 }
30432 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30433 ecode2 = SWIG_AsVal_int(obj1, &val2);
30434 if (!SWIG_IsOK(ecode2)) {
30435 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30436 }
30437 arg2 = static_cast< int >(val2);
30438 {
30439 PyThreadState* __tstate = wxPyBeginAllowThreads();
30440 (arg1)->SetZoom(arg2);
30441 wxPyEndAllowThreads(__tstate);
30442 if (PyErr_Occurred()) SWIG_fail;
30443 }
30444 resultobj = SWIG_Py_Void();
30445 return resultobj;
30446 fail:
30447 return NULL;
30448 }
30449
30450
30451 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30452 PyObject *resultobj = 0;
30453 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30454 int result;
30455 void *argp1 = 0 ;
30456 int res1 = 0 ;
30457 PyObject *swig_obj[1] ;
30458
30459 if (!args) SWIG_fail;
30460 swig_obj[0] = args;
30461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30462 if (!SWIG_IsOK(res1)) {
30463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30464 }
30465 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30466 {
30467 PyThreadState* __tstate = wxPyBeginAllowThreads();
30468 result = (int)(arg1)->GetZoom();
30469 wxPyEndAllowThreads(__tstate);
30470 if (PyErr_Occurred()) SWIG_fail;
30471 }
30472 resultobj = SWIG_From_int(static_cast< int >(result));
30473 return resultobj;
30474 fail:
30475 return NULL;
30476 }
30477
30478
30479 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30480 PyObject *resultobj = 0;
30481 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30482 int result;
30483 void *argp1 = 0 ;
30484 int res1 = 0 ;
30485 PyObject *swig_obj[1] ;
30486
30487 if (!args) SWIG_fail;
30488 swig_obj[0] = args;
30489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30490 if (!SWIG_IsOK(res1)) {
30491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30492 }
30493 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30494 {
30495 PyThreadState* __tstate = wxPyBeginAllowThreads();
30496 result = (int)(arg1)->GetMaxPage();
30497 wxPyEndAllowThreads(__tstate);
30498 if (PyErr_Occurred()) SWIG_fail;
30499 }
30500 resultobj = SWIG_From_int(static_cast< int >(result));
30501 return resultobj;
30502 fail:
30503 return NULL;
30504 }
30505
30506
30507 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30508 PyObject *resultobj = 0;
30509 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30510 int result;
30511 void *argp1 = 0 ;
30512 int res1 = 0 ;
30513 PyObject *swig_obj[1] ;
30514
30515 if (!args) SWIG_fail;
30516 swig_obj[0] = args;
30517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30518 if (!SWIG_IsOK(res1)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30520 }
30521 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30522 {
30523 PyThreadState* __tstate = wxPyBeginAllowThreads();
30524 result = (int)(arg1)->GetMinPage();
30525 wxPyEndAllowThreads(__tstate);
30526 if (PyErr_Occurred()) SWIG_fail;
30527 }
30528 resultobj = SWIG_From_int(static_cast< int >(result));
30529 return resultobj;
30530 fail:
30531 return NULL;
30532 }
30533
30534
30535 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30536 PyObject *resultobj = 0;
30537 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30538 bool result;
30539 void *argp1 = 0 ;
30540 int res1 = 0 ;
30541 PyObject *swig_obj[1] ;
30542
30543 if (!args) SWIG_fail;
30544 swig_obj[0] = args;
30545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30546 if (!SWIG_IsOK(res1)) {
30547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30548 }
30549 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30550 {
30551 PyThreadState* __tstate = wxPyBeginAllowThreads();
30552 result = (bool)(arg1)->IsOk();
30553 wxPyEndAllowThreads(__tstate);
30554 if (PyErr_Occurred()) SWIG_fail;
30555 }
30556 {
30557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30558 }
30559 return resultobj;
30560 fail:
30561 return NULL;
30562 }
30563
30564
30565 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30566 PyObject *resultobj = 0;
30567 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30568 bool arg2 ;
30569 void *argp1 = 0 ;
30570 int res1 = 0 ;
30571 bool val2 ;
30572 int ecode2 = 0 ;
30573 PyObject * obj0 = 0 ;
30574 PyObject * obj1 = 0 ;
30575 char * kwnames[] = {
30576 (char *) "self",(char *) "ok", NULL
30577 };
30578
30579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30581 if (!SWIG_IsOK(res1)) {
30582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30583 }
30584 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30585 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30586 if (!SWIG_IsOK(ecode2)) {
30587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30588 }
30589 arg2 = static_cast< bool >(val2);
30590 {
30591 PyThreadState* __tstate = wxPyBeginAllowThreads();
30592 (arg1)->SetOk(arg2);
30593 wxPyEndAllowThreads(__tstate);
30594 if (PyErr_Occurred()) SWIG_fail;
30595 }
30596 resultobj = SWIG_Py_Void();
30597 return resultobj;
30598 fail:
30599 return NULL;
30600 }
30601
30602
30603 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30604 PyObject *resultobj = 0;
30605 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30606 bool arg2 ;
30607 bool result;
30608 void *argp1 = 0 ;
30609 int res1 = 0 ;
30610 bool val2 ;
30611 int ecode2 = 0 ;
30612 PyObject * obj0 = 0 ;
30613 PyObject * obj1 = 0 ;
30614 char * kwnames[] = {
30615 (char *) "self",(char *) "interactive", NULL
30616 };
30617
30618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30620 if (!SWIG_IsOK(res1)) {
30621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30622 }
30623 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30624 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30625 if (!SWIG_IsOK(ecode2)) {
30626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30627 }
30628 arg2 = static_cast< bool >(val2);
30629 {
30630 PyThreadState* __tstate = wxPyBeginAllowThreads();
30631 result = (bool)(arg1)->Print(arg2);
30632 wxPyEndAllowThreads(__tstate);
30633 if (PyErr_Occurred()) SWIG_fail;
30634 }
30635 {
30636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30637 }
30638 return resultobj;
30639 fail:
30640 return NULL;
30641 }
30642
30643
30644 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30645 PyObject *resultobj = 0;
30646 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30647 void *argp1 = 0 ;
30648 int res1 = 0 ;
30649 PyObject *swig_obj[1] ;
30650
30651 if (!args) SWIG_fail;
30652 swig_obj[0] = args;
30653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30654 if (!SWIG_IsOK(res1)) {
30655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30656 }
30657 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30658 {
30659 PyThreadState* __tstate = wxPyBeginAllowThreads();
30660 (arg1)->DetermineScaling();
30661 wxPyEndAllowThreads(__tstate);
30662 if (PyErr_Occurred()) SWIG_fail;
30663 }
30664 resultobj = SWIG_Py_Void();
30665 return resultobj;
30666 fail:
30667 return NULL;
30668 }
30669
30670
30671 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30672 PyObject *obj;
30673 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30674 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30675 return SWIG_Py_Void();
30676 }
30677
30678 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30679 return SWIG_Python_InitShadowInstance(args);
30680 }
30681
30682 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30683 PyObject *resultobj = 0;
30684 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30685 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30686 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30687 wxPyPrintPreview *result = 0 ;
30688 int res1 = 0 ;
30689 int res2 = 0 ;
30690 void *argp3 = 0 ;
30691 int res3 = 0 ;
30692
30693 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30694 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30695 if (!SWIG_IsOK(res1)) {
30696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30697 }
30698 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30699 if (!SWIG_IsOK(res2)) {
30700 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30701 }
30702 if (swig_obj[2]) {
30703 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30704 if (!SWIG_IsOK(res3)) {
30705 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30706 }
30707 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30708 }
30709 {
30710 if (!wxPyCheckForApp()) SWIG_fail;
30711 PyThreadState* __tstate = wxPyBeginAllowThreads();
30712 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30713 wxPyEndAllowThreads(__tstate);
30714 if (PyErr_Occurred()) SWIG_fail;
30715 }
30716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30717 return resultobj;
30718 fail:
30719 return NULL;
30720 }
30721
30722
30723 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30724 PyObject *resultobj = 0;
30725 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30726 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30727 wxPrintData *arg3 = (wxPrintData *) 0 ;
30728 wxPyPrintPreview *result = 0 ;
30729 int res1 = 0 ;
30730 int res2 = 0 ;
30731 void *argp3 = 0 ;
30732 int res3 = 0 ;
30733
30734 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30735 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30736 if (!SWIG_IsOK(res1)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30738 }
30739 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30740 if (!SWIG_IsOK(res2)) {
30741 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30742 }
30743 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30744 if (!SWIG_IsOK(res3)) {
30745 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30746 }
30747 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30748 {
30749 if (!wxPyCheckForApp()) SWIG_fail;
30750 PyThreadState* __tstate = wxPyBeginAllowThreads();
30751 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30752 wxPyEndAllowThreads(__tstate);
30753 if (PyErr_Occurred()) SWIG_fail;
30754 }
30755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30756 return resultobj;
30757 fail:
30758 return NULL;
30759 }
30760
30761
30762 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30763 int argc;
30764 PyObject *argv[4];
30765
30766 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30767 --argc;
30768 if ((argc >= 2) && (argc <= 3)) {
30769 int _v = 0;
30770 if (argc > 2) {
30771 {
30772 void *vptr = 0;
30773 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30774 _v = SWIG_CheckState(res);
30775 }
30776 if (!_v) goto check_1;
30777 }
30778 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30779 }
30780 check_1:
30781
30782 if (argc == 3) {
30783 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30784 }
30785
30786 fail:
30787 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30788 return NULL;
30789 }
30790
30791
30792 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30793 PyObject *resultobj = 0;
30794 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30795 PyObject *arg2 = (PyObject *) 0 ;
30796 PyObject *arg3 = (PyObject *) 0 ;
30797 void *argp1 = 0 ;
30798 int res1 = 0 ;
30799 PyObject * obj0 = 0 ;
30800 PyObject * obj1 = 0 ;
30801 PyObject * obj2 = 0 ;
30802 char * kwnames[] = {
30803 (char *) "self",(char *) "self",(char *) "_class", NULL
30804 };
30805
30806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30808 if (!SWIG_IsOK(res1)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30810 }
30811 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30812 arg2 = obj1;
30813 arg3 = obj2;
30814 {
30815 PyThreadState* __tstate = wxPyBeginAllowThreads();
30816 (arg1)->_setCallbackInfo(arg2,arg3);
30817 wxPyEndAllowThreads(__tstate);
30818 if (PyErr_Occurred()) SWIG_fail;
30819 }
30820 resultobj = SWIG_Py_Void();
30821 return resultobj;
30822 fail:
30823 return NULL;
30824 }
30825
30826
30827 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30828 PyObject *obj;
30829 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30830 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30831 return SWIG_Py_Void();
30832 }
30833
30834 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30835 return SWIG_Python_InitShadowInstance(args);
30836 }
30837
30838 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30839 PyObject *resultobj = 0;
30840 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30841 wxFrame *arg2 = (wxFrame *) 0 ;
30842 wxString *arg3 = 0 ;
30843 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30844 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30845 wxSize const &arg5_defvalue = wxDefaultSize ;
30846 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30847 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30848 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30849 wxString *arg7 = (wxString *) &arg7_defvalue ;
30850 wxPyPreviewFrame *result = 0 ;
30851 void *argp1 = 0 ;
30852 int res1 = 0 ;
30853 void *argp2 = 0 ;
30854 int res2 = 0 ;
30855 bool temp3 = false ;
30856 wxPoint temp4 ;
30857 wxSize temp5 ;
30858 long val6 ;
30859 int ecode6 = 0 ;
30860 bool temp7 = false ;
30861 PyObject * obj0 = 0 ;
30862 PyObject * obj1 = 0 ;
30863 PyObject * obj2 = 0 ;
30864 PyObject * obj3 = 0 ;
30865 PyObject * obj4 = 0 ;
30866 PyObject * obj5 = 0 ;
30867 PyObject * obj6 = 0 ;
30868 char * kwnames[] = {
30869 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30870 };
30871
30872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30874 if (!SWIG_IsOK(res1)) {
30875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30876 }
30877 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30878 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30879 if (!SWIG_IsOK(res2)) {
30880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30881 }
30882 arg2 = reinterpret_cast< wxFrame * >(argp2);
30883 {
30884 arg3 = wxString_in_helper(obj2);
30885 if (arg3 == NULL) SWIG_fail;
30886 temp3 = true;
30887 }
30888 if (obj3) {
30889 {
30890 arg4 = &temp4;
30891 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30892 }
30893 }
30894 if (obj4) {
30895 {
30896 arg5 = &temp5;
30897 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30898 }
30899 }
30900 if (obj5) {
30901 ecode6 = SWIG_AsVal_long(obj5, &val6);
30902 if (!SWIG_IsOK(ecode6)) {
30903 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30904 }
30905 arg6 = static_cast< long >(val6);
30906 }
30907 if (obj6) {
30908 {
30909 arg7 = wxString_in_helper(obj6);
30910 if (arg7 == NULL) SWIG_fail;
30911 temp7 = true;
30912 }
30913 }
30914 {
30915 if (!wxPyCheckForApp()) SWIG_fail;
30916 PyThreadState* __tstate = wxPyBeginAllowThreads();
30917 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30918 wxPyEndAllowThreads(__tstate);
30919 if (PyErr_Occurred()) SWIG_fail;
30920 }
30921 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30922 {
30923 if (temp3)
30924 delete arg3;
30925 }
30926 {
30927 if (temp7)
30928 delete arg7;
30929 }
30930 return resultobj;
30931 fail:
30932 {
30933 if (temp3)
30934 delete arg3;
30935 }
30936 {
30937 if (temp7)
30938 delete arg7;
30939 }
30940 return NULL;
30941 }
30942
30943
30944 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30945 PyObject *resultobj = 0;
30946 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30947 PyObject *arg2 = (PyObject *) 0 ;
30948 PyObject *arg3 = (PyObject *) 0 ;
30949 void *argp1 = 0 ;
30950 int res1 = 0 ;
30951 PyObject * obj0 = 0 ;
30952 PyObject * obj1 = 0 ;
30953 PyObject * obj2 = 0 ;
30954 char * kwnames[] = {
30955 (char *) "self",(char *) "self",(char *) "_class", NULL
30956 };
30957
30958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30960 if (!SWIG_IsOK(res1)) {
30961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30962 }
30963 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30964 arg2 = obj1;
30965 arg3 = obj2;
30966 {
30967 PyThreadState* __tstate = wxPyBeginAllowThreads();
30968 (arg1)->_setCallbackInfo(arg2,arg3);
30969 wxPyEndAllowThreads(__tstate);
30970 if (PyErr_Occurred()) SWIG_fail;
30971 }
30972 resultobj = SWIG_Py_Void();
30973 return resultobj;
30974 fail:
30975 return NULL;
30976 }
30977
30978
30979 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30980 PyObject *resultobj = 0;
30981 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30982 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30983 void *argp1 = 0 ;
30984 int res1 = 0 ;
30985 void *argp2 = 0 ;
30986 int res2 = 0 ;
30987 PyObject * obj0 = 0 ;
30988 PyObject * obj1 = 0 ;
30989 char * kwnames[] = {
30990 (char *) "self",(char *) "canvas", NULL
30991 };
30992
30993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30995 if (!SWIG_IsOK(res1)) {
30996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30997 }
30998 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30999 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31000 if (!SWIG_IsOK(res2)) {
31001 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31002 }
31003 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31004 {
31005 PyThreadState* __tstate = wxPyBeginAllowThreads();
31006 (arg1)->SetPreviewCanvas(arg2);
31007 wxPyEndAllowThreads(__tstate);
31008 if (PyErr_Occurred()) SWIG_fail;
31009 }
31010 resultobj = SWIG_Py_Void();
31011 return resultobj;
31012 fail:
31013 return NULL;
31014 }
31015
31016
31017 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31018 PyObject *resultobj = 0;
31019 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31020 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31021 void *argp1 = 0 ;
31022 int res1 = 0 ;
31023 void *argp2 = 0 ;
31024 int res2 = 0 ;
31025 PyObject * obj0 = 0 ;
31026 PyObject * obj1 = 0 ;
31027 char * kwnames[] = {
31028 (char *) "self",(char *) "bar", NULL
31029 };
31030
31031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31033 if (!SWIG_IsOK(res1)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31035 }
31036 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31037 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31038 if (!SWIG_IsOK(res2)) {
31039 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31040 }
31041 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31042 {
31043 PyThreadState* __tstate = wxPyBeginAllowThreads();
31044 (arg1)->SetControlBar(arg2);
31045 wxPyEndAllowThreads(__tstate);
31046 if (PyErr_Occurred()) SWIG_fail;
31047 }
31048 resultobj = SWIG_Py_Void();
31049 return resultobj;
31050 fail:
31051 return NULL;
31052 }
31053
31054
31055 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31056 PyObject *resultobj = 0;
31057 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31058 void *argp1 = 0 ;
31059 int res1 = 0 ;
31060 PyObject *swig_obj[1] ;
31061
31062 if (!args) SWIG_fail;
31063 swig_obj[0] = args;
31064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31065 if (!SWIG_IsOK(res1)) {
31066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31067 }
31068 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31069 {
31070 PyThreadState* __tstate = wxPyBeginAllowThreads();
31071 (arg1)->Initialize();
31072 wxPyEndAllowThreads(__tstate);
31073 if (PyErr_Occurred()) SWIG_fail;
31074 }
31075 resultobj = SWIG_Py_Void();
31076 return resultobj;
31077 fail:
31078 return NULL;
31079 }
31080
31081
31082 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31083 PyObject *resultobj = 0;
31084 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31085 void *argp1 = 0 ;
31086 int res1 = 0 ;
31087 PyObject *swig_obj[1] ;
31088
31089 if (!args) SWIG_fail;
31090 swig_obj[0] = args;
31091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31092 if (!SWIG_IsOK(res1)) {
31093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31094 }
31095 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31096 {
31097 PyThreadState* __tstate = wxPyBeginAllowThreads();
31098 (arg1)->CreateCanvas();
31099 wxPyEndAllowThreads(__tstate);
31100 if (PyErr_Occurred()) SWIG_fail;
31101 }
31102 resultobj = SWIG_Py_Void();
31103 return resultobj;
31104 fail:
31105 return NULL;
31106 }
31107
31108
31109 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31110 PyObject *resultobj = 0;
31111 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31112 void *argp1 = 0 ;
31113 int res1 = 0 ;
31114 PyObject *swig_obj[1] ;
31115
31116 if (!args) SWIG_fail;
31117 swig_obj[0] = args;
31118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31119 if (!SWIG_IsOK(res1)) {
31120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31121 }
31122 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31123 {
31124 PyThreadState* __tstate = wxPyBeginAllowThreads();
31125 (arg1)->CreateControlBar();
31126 wxPyEndAllowThreads(__tstate);
31127 if (PyErr_Occurred()) SWIG_fail;
31128 }
31129 resultobj = SWIG_Py_Void();
31130 return resultobj;
31131 fail:
31132 return NULL;
31133 }
31134
31135
31136 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31137 PyObject *obj;
31138 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31139 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31140 return SWIG_Py_Void();
31141 }
31142
31143 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31144 return SWIG_Python_InitShadowInstance(args);
31145 }
31146
31147 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31148 PyObject *resultobj = 0;
31149 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31150 long arg2 ;
31151 wxWindow *arg3 = (wxWindow *) 0 ;
31152 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31153 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31154 wxSize const &arg5_defvalue = wxDefaultSize ;
31155 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31156 long arg6 = (long) 0 ;
31157 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31158 wxString *arg7 = (wxString *) &arg7_defvalue ;
31159 wxPyPreviewControlBar *result = 0 ;
31160 void *argp1 = 0 ;
31161 int res1 = 0 ;
31162 long val2 ;
31163 int ecode2 = 0 ;
31164 void *argp3 = 0 ;
31165 int res3 = 0 ;
31166 wxPoint temp4 ;
31167 wxSize temp5 ;
31168 long val6 ;
31169 int ecode6 = 0 ;
31170 bool temp7 = false ;
31171 PyObject * obj0 = 0 ;
31172 PyObject * obj1 = 0 ;
31173 PyObject * obj2 = 0 ;
31174 PyObject * obj3 = 0 ;
31175 PyObject * obj4 = 0 ;
31176 PyObject * obj5 = 0 ;
31177 PyObject * obj6 = 0 ;
31178 char * kwnames[] = {
31179 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31180 };
31181
31182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31184 if (!SWIG_IsOK(res1)) {
31185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31186 }
31187 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31188 ecode2 = SWIG_AsVal_long(obj1, &val2);
31189 if (!SWIG_IsOK(ecode2)) {
31190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31191 }
31192 arg2 = static_cast< long >(val2);
31193 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31194 if (!SWIG_IsOK(res3)) {
31195 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31196 }
31197 arg3 = reinterpret_cast< wxWindow * >(argp3);
31198 if (obj3) {
31199 {
31200 arg4 = &temp4;
31201 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31202 }
31203 }
31204 if (obj4) {
31205 {
31206 arg5 = &temp5;
31207 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31208 }
31209 }
31210 if (obj5) {
31211 ecode6 = SWIG_AsVal_long(obj5, &val6);
31212 if (!SWIG_IsOK(ecode6)) {
31213 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31214 }
31215 arg6 = static_cast< long >(val6);
31216 }
31217 if (obj6) {
31218 {
31219 arg7 = wxString_in_helper(obj6);
31220 if (arg7 == NULL) SWIG_fail;
31221 temp7 = true;
31222 }
31223 }
31224 {
31225 if (!wxPyCheckForApp()) SWIG_fail;
31226 PyThreadState* __tstate = wxPyBeginAllowThreads();
31227 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31228 wxPyEndAllowThreads(__tstate);
31229 if (PyErr_Occurred()) SWIG_fail;
31230 }
31231 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31232 {
31233 if (temp7)
31234 delete arg7;
31235 }
31236 return resultobj;
31237 fail:
31238 {
31239 if (temp7)
31240 delete arg7;
31241 }
31242 return NULL;
31243 }
31244
31245
31246 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31247 PyObject *resultobj = 0;
31248 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31249 PyObject *arg2 = (PyObject *) 0 ;
31250 PyObject *arg3 = (PyObject *) 0 ;
31251 void *argp1 = 0 ;
31252 int res1 = 0 ;
31253 PyObject * obj0 = 0 ;
31254 PyObject * obj1 = 0 ;
31255 PyObject * obj2 = 0 ;
31256 char * kwnames[] = {
31257 (char *) "self",(char *) "self",(char *) "_class", NULL
31258 };
31259
31260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31262 if (!SWIG_IsOK(res1)) {
31263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31264 }
31265 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31266 arg2 = obj1;
31267 arg3 = obj2;
31268 {
31269 PyThreadState* __tstate = wxPyBeginAllowThreads();
31270 (arg1)->_setCallbackInfo(arg2,arg3);
31271 wxPyEndAllowThreads(__tstate);
31272 if (PyErr_Occurred()) SWIG_fail;
31273 }
31274 resultobj = SWIG_Py_Void();
31275 return resultobj;
31276 fail:
31277 return NULL;
31278 }
31279
31280
31281 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31282 PyObject *resultobj = 0;
31283 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31284 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31285 void *argp1 = 0 ;
31286 int res1 = 0 ;
31287 void *argp2 = 0 ;
31288 int res2 = 0 ;
31289 PyObject * obj0 = 0 ;
31290 PyObject * obj1 = 0 ;
31291 char * kwnames[] = {
31292 (char *) "self",(char *) "preview", NULL
31293 };
31294
31295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31297 if (!SWIG_IsOK(res1)) {
31298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31299 }
31300 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31301 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31302 if (!SWIG_IsOK(res2)) {
31303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31304 }
31305 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
31306 {
31307 PyThreadState* __tstate = wxPyBeginAllowThreads();
31308 (arg1)->SetPrintPreview(arg2);
31309 wxPyEndAllowThreads(__tstate);
31310 if (PyErr_Occurred()) SWIG_fail;
31311 }
31312 resultobj = SWIG_Py_Void();
31313 return resultobj;
31314 fail:
31315 return NULL;
31316 }
31317
31318
31319 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31320 PyObject *resultobj = 0;
31321 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31322 void *argp1 = 0 ;
31323 int res1 = 0 ;
31324 PyObject *swig_obj[1] ;
31325
31326 if (!args) SWIG_fail;
31327 swig_obj[0] = args;
31328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31329 if (!SWIG_IsOK(res1)) {
31330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31331 }
31332 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31333 {
31334 PyThreadState* __tstate = wxPyBeginAllowThreads();
31335 (arg1)->CreateButtons();
31336 wxPyEndAllowThreads(__tstate);
31337 if (PyErr_Occurred()) SWIG_fail;
31338 }
31339 resultobj = SWIG_Py_Void();
31340 return resultobj;
31341 fail:
31342 return NULL;
31343 }
31344
31345
31346 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31347 PyObject *resultobj = 0;
31348 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31349 int arg2 ;
31350 void *argp1 = 0 ;
31351 int res1 = 0 ;
31352 int val2 ;
31353 int ecode2 = 0 ;
31354 PyObject * obj0 = 0 ;
31355 PyObject * obj1 = 0 ;
31356 char * kwnames[] = {
31357 (char *) "self",(char *) "zoom", NULL
31358 };
31359
31360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31362 if (!SWIG_IsOK(res1)) {
31363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31364 }
31365 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31366 ecode2 = SWIG_AsVal_int(obj1, &val2);
31367 if (!SWIG_IsOK(ecode2)) {
31368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31369 }
31370 arg2 = static_cast< int >(val2);
31371 {
31372 PyThreadState* __tstate = wxPyBeginAllowThreads();
31373 (arg1)->SetZoomControl(arg2);
31374 wxPyEndAllowThreads(__tstate);
31375 if (PyErr_Occurred()) SWIG_fail;
31376 }
31377 resultobj = SWIG_Py_Void();
31378 return resultobj;
31379 fail:
31380 return NULL;
31381 }
31382
31383
31384 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31385 PyObject *obj;
31386 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31387 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31388 return SWIG_Py_Void();
31389 }
31390
31391 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31392 return SWIG_Python_InitShadowInstance(args);
31393 }
31394
31395 static PyMethodDef SwigMethods[] = {
31396 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31397 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31398 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31399 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31400 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31402 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31403 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31404 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31405 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31407 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31409 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31410 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31412 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31413 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31414 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31415 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31416 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31417 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31418 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31419 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31420 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31422 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31423 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31424 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31426 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31427 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31428 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31429 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31431 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31432 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31433 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31434 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31436 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31438 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31439 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31440 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31441 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31442 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31443 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31444 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31446 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31447 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31448 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31449 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31450 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31451 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31452 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31454 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31455 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31456 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31458 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31460 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31461 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31467 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31468 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31469 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31470 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31472 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31473 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31474 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31475 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31476 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31477 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31478 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31479 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31480 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31481 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31482 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31483 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31484 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31485 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31487 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31488 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31489 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31490 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31491 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31492 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31493 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31494 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31495 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31496 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31497 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31499 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31500 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31501 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31502 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31503 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31504 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31505 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31506 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31507 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31508 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31509 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31510 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31511 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31512 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31513 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31514 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31515 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31516 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31517 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31522 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31523 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31524 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31525 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31526 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31527 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31528 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31529 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31531 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31532 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31533 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31534 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31535 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31536 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31537 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31540 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31541 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31542 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31543 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31546 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31547 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31548 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31549 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31550 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31551 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31552 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31553 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31555 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31557 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31559 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31560 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31561 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31563 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31564 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31565 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31566 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31567 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31568 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31569 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31570 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31571 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31572 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31573 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31575 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31577 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31578 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31579 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31580 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31581 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31582 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31583 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31584 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31585 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31586 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31587 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31588 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31589 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31590 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31591 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31592 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31595 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31597 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31599 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31600 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31601 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31602 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31604 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31605 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31606 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31607 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31608 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31609 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31610 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31611 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31612 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31613 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31614 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31617 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31618 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31619 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31620 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31621 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31622 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31623 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31624 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31625 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31626 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31628 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31629 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31630 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31631 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31632 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31633 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31637 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31638 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31639 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31640 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31641 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31642 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31643 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31644 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31645 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31646 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31647 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31648 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31649 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31650 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31651 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31653 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31654 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31655 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31656 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31658 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31659 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31666 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31667 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31668 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31669 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31670 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31672 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31673 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31674 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31675 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31676 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31677 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31679 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31680 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31682 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31683 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31684 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31685 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31687 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31688 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31689 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31690 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31691 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31692 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31693 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31695 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31697 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31698 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31699 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31705 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31706 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31708 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31709 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31711 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31712 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31713 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31714 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31715 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31716 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31717 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31718 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31719 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31720 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31721 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31722 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31723 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31724 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31725 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31726 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31727 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31728 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31729 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31730 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31731 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31732 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31733 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31738 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31739 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31741 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31742 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31743 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31744 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31745 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31746 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31747 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31748 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31750 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31751 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31752 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31755 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31756 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31757 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31758 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31759 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31760 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31761 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31762 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31763 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31764 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31765 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31766 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31767 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31768 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31769 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31770 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31771 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31772 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31773 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31774 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31775 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31776 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31777 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31778 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31779 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31780 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31781 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31782 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31783 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31784 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31785 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31786 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31787 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31788 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31789 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31790 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31791 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31792 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31793 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31794 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31795 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31796 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31797 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31798 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31799 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31800 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31801 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31803 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31805 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31807 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31808 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31809 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31810 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31811 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31812 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31815 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31816 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31820 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31821 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31822 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31823 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31824 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31825 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31826 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31827 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31828 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31831 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31832 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31833 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31834 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31835 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31836 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31837 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31841 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31842 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31844 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31846 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31848 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31849 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31851 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31852 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31853 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31854 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31855 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31856 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31857 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31858 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31859 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31860 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31861 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31862 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31863 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31864 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31865 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31866 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31867 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31869 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31871 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31872 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31873 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31874 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31878 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31881 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31882 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31883 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31884 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31885 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31886 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31887 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31888 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31889 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31891 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31893 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31894 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31895 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31896 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31897 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31898 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31899 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31900 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31901 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31902 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31903 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31904 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31905 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31906 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31907 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31908 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31912 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31913 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31914 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31915 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31916 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31917 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31918 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31919 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31920 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31921 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31922 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31923 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31924 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31925 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31926 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31927 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31928 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
31929 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31930 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31931 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31932 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31933 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31934 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31935 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31936 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31937 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
31938 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31941 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31942 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31951 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31953 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31955 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31956 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31957 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31958 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31959 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31962 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31964 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31965 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31966 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31967 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31968 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31969 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31970 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31971 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31972 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31973 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31974 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31975 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31976 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31977 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
31978 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31985 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31988 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31989 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31990 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31991 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31993 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31994 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31995 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31996 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31997 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31998 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31999 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32000 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32001 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32002 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32003 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32004 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32005 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32006 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32007 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32008 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32009 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32012 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32017 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32019 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32020 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32023 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32024 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32025 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32026 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32027 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32028 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32030 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32031 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32032 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32033 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32034 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32035 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32036 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32037 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32038 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32039 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32041 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32045 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32046 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32047 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32048 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32049 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32050 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32051 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32052 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32053 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32055 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32056 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32061 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32062 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32063 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32064 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32065 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32066 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32067 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32068 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32069 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32070 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32071 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32072 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32073 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32075 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32077 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32079 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32080 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32081 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32083 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32084 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32085 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32086 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32087 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32088 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32089 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32090 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32092 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32093 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32095 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32096 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32097 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32098 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32099 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32100 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32101 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32102 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32104 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32105 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32106 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32107 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32108 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32109 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32110 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32111 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32112 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32113 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32115 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32117 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32118 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32121 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32122 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32125 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32126 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32127 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32128 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32129 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32130 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32131 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32132 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32133 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32134 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32135 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32136 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32137 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32138 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32139 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32140 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32141 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32142 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32143 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32144 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32145 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32146 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32147 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32148 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32149 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32150 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32151 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32154 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32155 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32156 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32157 { NULL, NULL, 0, NULL }
32158 };
32159
32160
32161 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32162
32163 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32164 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32165 }
32166 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32167 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32168 }
32169 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32170 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32171 }
32172 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32173 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32174 }
32175 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32176 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32177 }
32178 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32179 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32180 }
32181 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32182 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32183 }
32184 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32185 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32186 }
32187 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32188 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32189 }
32190 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32191 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32192 }
32193 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32194 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32195 }
32196 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32197 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32198 }
32199 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32200 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32201 }
32202 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32203 return (void *)((wxEvent *) ((wxPyEvent *) x));
32204 }
32205 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32206 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32207 }
32208 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32209 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32210 }
32211 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32212 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32213 }
32214 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32215 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32216 }
32217 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32218 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32219 }
32220 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32221 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32222 }
32223 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32224 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32225 }
32226 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32227 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32228 }
32229 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32230 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32231 }
32232 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32233 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32234 }
32235 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32236 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32237 }
32238 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32239 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32240 }
32241 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32242 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32243 }
32244 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32245 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32246 }
32247 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32248 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32249 }
32250 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32251 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32252 }
32253 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32254 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32255 }
32256 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32257 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32258 }
32259 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32260 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32261 }
32262 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32263 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32264 }
32265 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32266 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32267 }
32268 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32269 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32270 }
32271 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32272 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32273 }
32274 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32275 return (void *)((wxEvent *) ((wxShowEvent *) x));
32276 }
32277 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32278 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32279 }
32280 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32281 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32282 }
32283 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32284 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32285 }
32286 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32287 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32288 }
32289 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32290 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32291 }
32292 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32293 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32294 }
32295 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32296 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32297 }
32298 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32299 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32300 }
32301 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32302 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32303 }
32304 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32305 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32306 }
32307 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32308 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32309 }
32310 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32311 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32312 }
32313 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32314 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32315 }
32316 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32317 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32318 }
32319 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32320 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32321 }
32322 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32323 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32324 }
32325 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32326 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32327 }
32328 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32329 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32330 }
32331 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32332 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32333 }
32334 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32335 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32336 }
32337 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32338 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32339 }
32340 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32341 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32342 }
32343 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32344 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32345 }
32346 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32347 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32348 }
32349 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32350 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32351 }
32352 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32353 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32354 }
32355 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32356 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32357 }
32358 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32359 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32360 }
32361 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32362 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32363 }
32364 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32365 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32366 }
32367 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32368 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32369 }
32370 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32371 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32372 }
32373 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32374 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32375 }
32376 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32377 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32378 }
32379 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32380 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32381 }
32382 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32383 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32384 }
32385 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32386 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32387 }
32388 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32389 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32390 }
32391 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32392 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32393 }
32394 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32395 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32396 }
32397 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32398 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32399 }
32400 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32401 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32402 }
32403 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32404 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32405 }
32406 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32407 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32408 }
32409 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32410 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32411 }
32412 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32413 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32414 }
32415 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32416 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32417 }
32418 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32419 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32420 }
32421 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32422 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32423 }
32424 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32425 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32426 }
32427 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32428 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32429 }
32430 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32431 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32432 }
32433 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32434 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32435 }
32436 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32437 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32438 }
32439 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32440 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32441 }
32442 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32443 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32444 }
32445 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32446 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32447 }
32448 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32449 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32450 }
32451 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32452 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32453 }
32454 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32455 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32456 }
32457 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32458 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32459 }
32460 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32461 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32462 }
32463 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32464 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32465 }
32466 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32467 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32468 }
32469 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32470 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32471 }
32472 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32473 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32474 }
32475 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32476 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32477 }
32478 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32479 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32480 }
32481 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32482 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32483 }
32484 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32486 }
32487 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32489 }
32490 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32491 return (void *)((wxObject *) ((wxSizerItem *) x));
32492 }
32493 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32494 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32495 }
32496 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32498 }
32499 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32500 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32501 }
32502 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32503 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32504 }
32505 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32506 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32507 }
32508 static void *_p_wxSizerTo_p_wxObject(void *x) {
32509 return (void *)((wxObject *) ((wxSizer *) x));
32510 }
32511 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32512 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32513 }
32514 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32516 }
32517 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32519 }
32520 static void *_p_wxEventTo_p_wxObject(void *x) {
32521 return (void *)((wxObject *) ((wxEvent *) x));
32522 }
32523 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32524 return (void *)((wxObject *) ((wxFontData *) x));
32525 }
32526 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32527 return (void *)((wxObject *) ((wxPrintData *) x));
32528 }
32529 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32530 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32531 }
32532 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32533 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32534 }
32535 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32536 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32537 }
32538 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32539 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32540 }
32541 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32542 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32543 }
32544 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32545 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32546 }
32547 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32549 }
32550 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32551 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32552 }
32553 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32554 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32555 }
32556 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32557 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32558 }
32559 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32560 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32561 }
32562 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32563 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32564 }
32565 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32566 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32567 }
32568 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32570 }
32571 static void *_p_wxControlTo_p_wxObject(void *x) {
32572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32573 }
32574 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32575 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32576 }
32577 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32578 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32579 }
32580 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32581 return (void *)((wxObject *) ((wxFSFile *) x));
32582 }
32583 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32584 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32585 }
32586 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32587 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32588 }
32589 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32591 }
32592 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32593 return (void *)((wxObject *) ((wxColourData *) x));
32594 }
32595 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32596 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32597 }
32598 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32599 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32600 }
32601 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32603 }
32604 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32606 }
32607 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32609 }
32610 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32612 }
32613 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32615 }
32616 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32618 }
32619 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32621 }
32622 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32624 }
32625 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32627 }
32628 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32630 }
32631 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32633 }
32634 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32635 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32636 }
32637 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32638 return (void *)((wxObject *) ((wxPrinter *) x));
32639 }
32640 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32641 return (void *)((wxObject *) ((wxMenuItem *) x));
32642 }
32643 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32644 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32645 }
32646 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32647 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32648 }
32649 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32650 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32651 }
32652 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32653 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32654 }
32655 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32656 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32657 }
32658 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32659 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32660 }
32661 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32662 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32663 }
32664 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32665 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32666 }
32667 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32668 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32669 }
32670 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32671 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32672 }
32673 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32674 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32675 }
32676 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32677 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32678 }
32679 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32680 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32681 }
32682 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32683 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32684 }
32685 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32686 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32687 }
32688 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32689 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32690 }
32691 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32692 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32693 }
32694 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32695 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32696 }
32697 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32698 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32699 }
32700 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32701 return (void *)((wxObject *) ((wxImageHandler *) x));
32702 }
32703 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32704 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32705 }
32706 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32707 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32708 }
32709 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
32710 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
32711 }
32712 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32713 return (void *)((wxObject *) ((wxEvtHandler *) x));
32714 }
32715 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32716 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32717 }
32718 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32719 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32720 }
32721 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32723 }
32724 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32726 }
32727 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32728 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32729 }
32730 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32731 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32732 }
32733 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32735 }
32736 static void *_p_wxImageTo_p_wxObject(void *x) {
32737 return (void *)((wxObject *) ((wxImage *) x));
32738 }
32739 static void *_p_wxFrameTo_p_wxObject(void *x) {
32740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32741 }
32742 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32743 return (void *)((wxObject *) ((wxPyPrintout *) x));
32744 }
32745 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32746 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32747 }
32748 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32749 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32750 }
32751 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32753 }
32754 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32756 }
32757 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32758 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32759 }
32760 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32761 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32762 }
32763 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32764 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32765 }
32766 static void *_p_wxWindowTo_p_wxObject(void *x) {
32767 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32768 }
32769 static void *_p_wxMenuTo_p_wxObject(void *x) {
32770 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32771 }
32772 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32774 }
32775 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32777 }
32778 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32780 }
32781 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32783 }
32784 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32786 }
32787 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32789 }
32790 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32792 }
32793 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32795 }
32796 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32798 }
32799 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32801 }
32802 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32804 }
32805 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32807 }
32808 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32810 }
32811 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32812 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32813 }
32814 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32815 return (void *)((wxObject *) ((wxPrintPreview *) x));
32816 }
32817 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32818 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32819 }
32820 static void *_p_wxPanelTo_p_wxObject(void *x) {
32821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32822 }
32823 static void *_p_wxDialogTo_p_wxObject(void *x) {
32824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32825 }
32826 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32828 }
32829 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32831 }
32832 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32834 }
32835 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32836 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32837 }
32838 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32839 return (void *)((wxObject *) ((wxPrintDialog *) x));
32840 }
32841 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32842 return (void *)((wxObject *) ((wxFileSystem *) x));
32843 }
32844 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32846 }
32847 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32848 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32849 }
32850 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32851 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32852 }
32853 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32854 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32855 }
32856 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32857 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32858 }
32859 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32860 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32861 }
32862 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32863 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32864 }
32865 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32866 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32867 }
32868 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32870 }
32871 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32873 }
32874 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32875 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32876 }
32877 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32878 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32879 }
32880 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32881 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32882 }
32883 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32885 }
32886 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32887 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32888 }
32889 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32890 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32891 }
32892 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32893 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32894 }
32895 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32896 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32897 }
32898 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32899 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32900 }
32901 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32902 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32903 }
32904 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32905 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32906 }
32907 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32908 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32909 }
32910 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32911 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32912 }
32913 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32914 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32915 }
32916 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32917 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32918 }
32919 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32920 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32921 }
32922 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32923 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32924 }
32925 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32926 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32927 }
32928 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32929 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32930 }
32931 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32932 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32933 }
32934 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32935 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32936 }
32937 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32938 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32939 }
32940 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32941 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32942 }
32943 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32944 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32945 }
32946 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32947 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32948 }
32949 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32950 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32951 }
32952 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32953 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32954 }
32955 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32956 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32957 }
32958 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32959 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32960 }
32961 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32962 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32963 }
32964 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32965 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32966 }
32967 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32968 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32969 }
32970 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32971 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32972 }
32973 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32974 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32975 }
32976 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32977 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32978 }
32979 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32980 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32981 }
32982 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32983 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32984 }
32985 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32986 return (void *)((wxWindow *) ((wxMenuBar *) x));
32987 }
32988 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32989 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32990 }
32991 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32992 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32993 }
32994 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32995 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32996 }
32997 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32998 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32999 }
33000 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33001 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33002 }
33003 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33004 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33005 }
33006 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33007 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33008 }
33009 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33010 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33011 }
33012 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33013 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33014 }
33015 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33016 return (void *)((wxWindow *) ((wxPanel *) x));
33017 }
33018 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33019 return (void *)((wxWindow *) ((wxStatusBar *) x));
33020 }
33021 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33022 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33023 }
33024 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33025 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33026 }
33027 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33028 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33029 }
33030 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33031 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33032 }
33033 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33034 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33035 }
33036 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33037 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33038 }
33039 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33040 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33041 }
33042 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33043 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33044 }
33045 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33046 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33047 }
33048 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33049 return (void *)((wxWindow *) ((wxSashWindow *) x));
33050 }
33051 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33052 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33053 }
33054 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33055 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33056 }
33057 static void *_p_wxControlTo_p_wxWindow(void *x) {
33058 return (void *)((wxWindow *) ((wxControl *) x));
33059 }
33060 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33061 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33062 }
33063 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33064 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33065 }
33066 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33067 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33068 }
33069 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33070 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33071 }
33072 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33073 return (void *)((wxWindow *) ((wxPyWindow *) x));
33074 }
33075 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33076 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33077 }
33078 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33079 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33080 }
33081 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33082 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33083 }
33084 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33085 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33086 }
33087 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33088 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33089 }
33090 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33091 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33092 }
33093 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33094 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33095 }
33096 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33097 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33098 }
33099 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33100 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33101 }
33102 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33103 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33104 }
33105 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33106 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33107 }
33108 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33109 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33110 }
33111 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33112 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33113 }
33114 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33115 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33116 }
33117 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33118 return (void *)((wxDialog *) ((wxColourDialog *) x));
33119 }
33120 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33121 return (void *)((wxDialog *) ((wxDirDialog *) x));
33122 }
33123 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33124 return (void *)((wxDialog *) ((wxFontDialog *) x));
33125 }
33126 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33127 return (void *)((wxDialog *) ((wxFileDialog *) x));
33128 }
33129 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33130 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33131 }
33132 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33133 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33134 }
33135 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33136 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33137 }
33138 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33139 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33140 }
33141 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33142 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33143 }
33144 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33145 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33146 }
33147 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33148 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33149 }
33150 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33151 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33152 }
33153 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33154 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33155 }
33156 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33157 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33158 }
33159 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33160 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33161 }
33162 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33163 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33164 }
33165 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33166 return (void *)((wxPanel *) ((wxPyPanel *) x));
33167 }
33168 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33169 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33170 }
33171 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33172 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33173 }
33174 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33175 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33176 }
33177 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33178 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33179 }
33180 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33181 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33182 }
33183 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33184 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33185 }
33186 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33187 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33188 }
33189 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33190 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33191 }
33192 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33193 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33194 }
33195 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33196 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33197 }
33198 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33199 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33200 }
33201 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33202 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33203 }
33204 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33205 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33206 }
33207 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33208 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33209 }
33210 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33211 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33212 }
33213 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33214 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33215 }
33216 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33217 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33218 }
33219 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33220 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33221 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};
33222 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33223 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33224 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33225 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33226 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33227 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33228 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33229 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33230 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33231 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33232 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33233 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33234 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33235 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33236 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33237 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33238 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33239 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33240 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33241 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33242 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33243 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33244 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33245 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33246 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33247 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33248 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33249 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33250 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33251 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33252 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33253 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33254 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33255 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33256 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33257 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33258 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33259 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33260 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33261 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33262 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33263 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33264 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33265 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33266 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33267 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33268 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33269 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33270 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33271 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33272 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33273 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33274 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
33275 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33276 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33277 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33278 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33279 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33280 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33281 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33282 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33283 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33284 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33285 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33286 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33287 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33288 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33289 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33290 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33291 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33292 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33293 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33294 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33295 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33296 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33297 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33298 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33299 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33300 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33301 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33302 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33303 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33304 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33305 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33306 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33307 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33308 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33309 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33310 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33311 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33312 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33313 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33314 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33315 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33316 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33317 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33318 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33319 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33320 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33321 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33322 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33323 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33324 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33325 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33326 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33327 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33328 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33329 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33330 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33331 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33332 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33333 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33334 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33335 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33336 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33337 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33338 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33339 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33340 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33341 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33342 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33343 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33344 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33345 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33346 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33347 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33348 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33349 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33350 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33351 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33352 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33353 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33354 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33355 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33356 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33357 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33358 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33359 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33360 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33361 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33362 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33363 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33364 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33365 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33366 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33367 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33368 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33369 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33370 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33371 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33372 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33373 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33374 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33375 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33376 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33377 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33378 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33379 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33380 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33381 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33382 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33383 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33384 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33385
33386 static swig_type_info *swig_type_initial[] = {
33387 &_swigt__p_bool,
33388 &_swigt__p_char,
33389 &_swigt__p_form_ops_t,
33390 &_swigt__p_int,
33391 &_swigt__p_unsigned_char,
33392 &_swigt__p_unsigned_int,
33393 &_swigt__p_unsigned_long,
33394 &_swigt__p_wxANIHandler,
33395 &_swigt__p_wxAcceleratorTable,
33396 &_swigt__p_wxActivateEvent,
33397 &_swigt__p_wxArrayInt,
33398 &_swigt__p_wxBMPHandler,
33399 &_swigt__p_wxBitmap,
33400 &_swigt__p_wxBoxSizer,
33401 &_swigt__p_wxCURHandler,
33402 &_swigt__p_wxCalculateLayoutEvent,
33403 &_swigt__p_wxChildFocusEvent,
33404 &_swigt__p_wxClipboardTextEvent,
33405 &_swigt__p_wxCloseEvent,
33406 &_swigt__p_wxColour,
33407 &_swigt__p_wxColourData,
33408 &_swigt__p_wxColourDialog,
33409 &_swigt__p_wxCommandEvent,
33410 &_swigt__p_wxContextMenuEvent,
33411 &_swigt__p_wxControl,
33412 &_swigt__p_wxControlWithItems,
33413 &_swigt__p_wxDC,
33414 &_swigt__p_wxDateEvent,
33415 &_swigt__p_wxDialog,
33416 &_swigt__p_wxDirDialog,
33417 &_swigt__p_wxDisplayChangedEvent,
33418 &_swigt__p_wxDropFilesEvent,
33419 &_swigt__p_wxDuplexMode,
33420 &_swigt__p_wxEraseEvent,
33421 &_swigt__p_wxEvent,
33422 &_swigt__p_wxEvtHandler,
33423 &_swigt__p_wxFSFile,
33424 &_swigt__p_wxFileDialog,
33425 &_swigt__p_wxFileSystem,
33426 &_swigt__p_wxFindDialogEvent,
33427 &_swigt__p_wxFindReplaceData,
33428 &_swigt__p_wxFindReplaceDialog,
33429 &_swigt__p_wxFlexGridSizer,
33430 &_swigt__p_wxFocusEvent,
33431 &_swigt__p_wxFont,
33432 &_swigt__p_wxFontData,
33433 &_swigt__p_wxFontDialog,
33434 &_swigt__p_wxFrame,
33435 &_swigt__p_wxGBSizerItem,
33436 &_swigt__p_wxGIFHandler,
33437 &_swigt__p_wxGridBagSizer,
33438 &_swigt__p_wxGridSizer,
33439 &_swigt__p_wxHtmlLinkInfo,
33440 &_swigt__p_wxICOHandler,
33441 &_swigt__p_wxIcon,
33442 &_swigt__p_wxIconBundle,
33443 &_swigt__p_wxIconizeEvent,
33444 &_swigt__p_wxIdleEvent,
33445 &_swigt__p_wxImage,
33446 &_swigt__p_wxImageHandler,
33447 &_swigt__p_wxIndividualLayoutConstraint,
33448 &_swigt__p_wxInitDialogEvent,
33449 &_swigt__p_wxJPEGHandler,
33450 &_swigt__p_wxKeyEvent,
33451 &_swigt__p_wxLayoutAlgorithm,
33452 &_swigt__p_wxLayoutConstraints,
33453 &_swigt__p_wxMDIChildFrame,
33454 &_swigt__p_wxMDIClientWindow,
33455 &_swigt__p_wxMDIParentFrame,
33456 &_swigt__p_wxMaximizeEvent,
33457 &_swigt__p_wxMenu,
33458 &_swigt__p_wxMenuBar,
33459 &_swigt__p_wxMenuEvent,
33460 &_swigt__p_wxMenuItem,
33461 &_swigt__p_wxMessageDialog,
33462 &_swigt__p_wxMiniFrame,
33463 &_swigt__p_wxMouseCaptureChangedEvent,
33464 &_swigt__p_wxMouseCaptureLostEvent,
33465 &_swigt__p_wxMouseEvent,
33466 &_swigt__p_wxMoveEvent,
33467 &_swigt__p_wxMultiChoiceDialog,
33468 &_swigt__p_wxNavigationKeyEvent,
33469 &_swigt__p_wxNcPaintEvent,
33470 &_swigt__p_wxNotifyEvent,
33471 &_swigt__p_wxNumberEntryDialog,
33472 &_swigt__p_wxObject,
33473 &_swigt__p_wxPCXHandler,
33474 &_swigt__p_wxPNGHandler,
33475 &_swigt__p_wxPNMHandler,
33476 &_swigt__p_wxPageSetupDialog,
33477 &_swigt__p_wxPageSetupDialogData,
33478 &_swigt__p_wxPaintEvent,
33479 &_swigt__p_wxPaletteChangedEvent,
33480 &_swigt__p_wxPanel,
33481 &_swigt__p_wxPaperSize,
33482 &_swigt__p_wxPasswordEntryDialog,
33483 &_swigt__p_wxPoint,
33484 &_swigt__p_wxPopupWindow,
33485 &_swigt__p_wxPreviewCanvas,
33486 &_swigt__p_wxPreviewControlBar,
33487 &_swigt__p_wxPreviewFrame,
33488 &_swigt__p_wxPrintData,
33489 &_swigt__p_wxPrintDialog,
33490 &_swigt__p_wxPrintDialogData,
33491 &_swigt__p_wxPrintPreview,
33492 &_swigt__p_wxPrinter,
33493 &_swigt__p_wxProgressDialog,
33494 &_swigt__p_wxPyApp,
33495 &_swigt__p_wxPyCommandEvent,
33496 &_swigt__p_wxPyEvent,
33497 &_swigt__p_wxPyHtmlListBox,
33498 &_swigt__p_wxPyImageHandler,
33499 &_swigt__p_wxPyPanel,
33500 &_swigt__p_wxPyPopupTransientWindow,
33501 &_swigt__p_wxPyPreviewControlBar,
33502 &_swigt__p_wxPyPreviewFrame,
33503 &_swigt__p_wxPyPrintPreview,
33504 &_swigt__p_wxPyPrintout,
33505 &_swigt__p_wxPyScrolledWindow,
33506 &_swigt__p_wxPySizer,
33507 &_swigt__p_wxPyTaskBarIcon,
33508 &_swigt__p_wxPyVListBox,
33509 &_swigt__p_wxPyVScrolledWindow,
33510 &_swigt__p_wxPyValidator,
33511 &_swigt__p_wxPyWindow,
33512 &_swigt__p_wxQueryLayoutInfoEvent,
33513 &_swigt__p_wxQueryNewPaletteEvent,
33514 &_swigt__p_wxRect,
33515 &_swigt__p_wxRegion,
33516 &_swigt__p_wxSashEvent,
33517 &_swigt__p_wxSashLayoutWindow,
33518 &_swigt__p_wxSashWindow,
33519 &_swigt__p_wxScrollEvent,
33520 &_swigt__p_wxScrollWinEvent,
33521 &_swigt__p_wxScrolledWindow,
33522 &_swigt__p_wxSetCursorEvent,
33523 &_swigt__p_wxShowEvent,
33524 &_swigt__p_wxSingleChoiceDialog,
33525 &_swigt__p_wxSize,
33526 &_swigt__p_wxSizeEvent,
33527 &_swigt__p_wxSizer,
33528 &_swigt__p_wxSizerItem,
33529 &_swigt__p_wxSplashScreen,
33530 &_swigt__p_wxSplashScreenWindow,
33531 &_swigt__p_wxSplitterEvent,
33532 &_swigt__p_wxSplitterWindow,
33533 &_swigt__p_wxStaticBoxSizer,
33534 &_swigt__p_wxStatusBar,
33535 &_swigt__p_wxStdDialogButtonSizer,
33536 &_swigt__p_wxString,
33537 &_swigt__p_wxSysColourChangedEvent,
33538 &_swigt__p_wxTGAHandler,
33539 &_swigt__p_wxTIFFHandler,
33540 &_swigt__p_wxTaskBarIcon,
33541 &_swigt__p_wxTaskBarIconEvent,
33542 &_swigt__p_wxTextEntryDialog,
33543 &_swigt__p_wxTipWindow,
33544 &_swigt__p_wxToolBar,
33545 &_swigt__p_wxTopLevelWindow,
33546 &_swigt__p_wxUpdateUIEvent,
33547 &_swigt__p_wxValidator,
33548 &_swigt__p_wxVisualAttributes,
33549 &_swigt__p_wxWindow,
33550 &_swigt__p_wxWindowCreateEvent,
33551 &_swigt__p_wxWindowDestroyEvent,
33552 &_swigt__p_wxXPMHandler,
33553 };
33554
33555 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33556 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33557 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33558 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33559 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33560 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33561 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33562 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33563 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33564 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33565 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33566 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33567 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33568 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33569 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33570 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33571 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33572 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33573 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33574 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33575 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33576 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33577 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}};
33578 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33579 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}};
33580 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33581 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33582 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33583 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33584 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33585 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33586 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33587 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33588 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33589 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33590 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33591 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33592 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33593 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33594 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33595 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33596 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33597 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33598 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33599 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33600 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33601 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33602 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33603 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33604 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33605 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33606 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33607 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33608 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
33609 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33610 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33611 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33612 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33613 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33614 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
33615 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33616 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33617 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33618 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33619 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33620 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33621 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33622 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33623 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
33624 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33625 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33626 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33627 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33628 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33629 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33630 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33631 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33632 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33633 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33634 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33635 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33636 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}};
33637 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33638 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33639 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33640 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33641 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33642 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33643 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33644 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33645 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33646 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33647 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33648 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33649 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33650 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33651 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33652 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33653 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33654 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33655 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33656 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33657 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33658 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33659 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33660 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33661 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33662 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33663 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33664 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
33665 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33666 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33667 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_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_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33668 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33669 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33670 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}};
33671 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33672 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33673 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33674 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
33675 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33676 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}};
33677 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}};
33678 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33679 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33680 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33681 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}};
33682 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33683 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33684 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33685 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33686 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
33687 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33688 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33690 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33691 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33692 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33693 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}};
33694 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}};
33695 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33698 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33699 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33700 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33701 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}};
33702 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33703 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}};
33704 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33705 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33706 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33707 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33710 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33711 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33712 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33713 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33714 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33715 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}};
33716 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33717 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33718 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
33719 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33720 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33721
33722 static swig_cast_info *swig_cast_initial[] = {
33723 _swigc__p_bool,
33724 _swigc__p_char,
33725 _swigc__p_form_ops_t,
33726 _swigc__p_int,
33727 _swigc__p_unsigned_char,
33728 _swigc__p_unsigned_int,
33729 _swigc__p_unsigned_long,
33730 _swigc__p_wxANIHandler,
33731 _swigc__p_wxAcceleratorTable,
33732 _swigc__p_wxActivateEvent,
33733 _swigc__p_wxArrayInt,
33734 _swigc__p_wxBMPHandler,
33735 _swigc__p_wxBitmap,
33736 _swigc__p_wxBoxSizer,
33737 _swigc__p_wxCURHandler,
33738 _swigc__p_wxCalculateLayoutEvent,
33739 _swigc__p_wxChildFocusEvent,
33740 _swigc__p_wxClipboardTextEvent,
33741 _swigc__p_wxCloseEvent,
33742 _swigc__p_wxColour,
33743 _swigc__p_wxColourData,
33744 _swigc__p_wxColourDialog,
33745 _swigc__p_wxCommandEvent,
33746 _swigc__p_wxContextMenuEvent,
33747 _swigc__p_wxControl,
33748 _swigc__p_wxControlWithItems,
33749 _swigc__p_wxDC,
33750 _swigc__p_wxDateEvent,
33751 _swigc__p_wxDialog,
33752 _swigc__p_wxDirDialog,
33753 _swigc__p_wxDisplayChangedEvent,
33754 _swigc__p_wxDropFilesEvent,
33755 _swigc__p_wxDuplexMode,
33756 _swigc__p_wxEraseEvent,
33757 _swigc__p_wxEvent,
33758 _swigc__p_wxEvtHandler,
33759 _swigc__p_wxFSFile,
33760 _swigc__p_wxFileDialog,
33761 _swigc__p_wxFileSystem,
33762 _swigc__p_wxFindDialogEvent,
33763 _swigc__p_wxFindReplaceData,
33764 _swigc__p_wxFindReplaceDialog,
33765 _swigc__p_wxFlexGridSizer,
33766 _swigc__p_wxFocusEvent,
33767 _swigc__p_wxFont,
33768 _swigc__p_wxFontData,
33769 _swigc__p_wxFontDialog,
33770 _swigc__p_wxFrame,
33771 _swigc__p_wxGBSizerItem,
33772 _swigc__p_wxGIFHandler,
33773 _swigc__p_wxGridBagSizer,
33774 _swigc__p_wxGridSizer,
33775 _swigc__p_wxHtmlLinkInfo,
33776 _swigc__p_wxICOHandler,
33777 _swigc__p_wxIcon,
33778 _swigc__p_wxIconBundle,
33779 _swigc__p_wxIconizeEvent,
33780 _swigc__p_wxIdleEvent,
33781 _swigc__p_wxImage,
33782 _swigc__p_wxImageHandler,
33783 _swigc__p_wxIndividualLayoutConstraint,
33784 _swigc__p_wxInitDialogEvent,
33785 _swigc__p_wxJPEGHandler,
33786 _swigc__p_wxKeyEvent,
33787 _swigc__p_wxLayoutAlgorithm,
33788 _swigc__p_wxLayoutConstraints,
33789 _swigc__p_wxMDIChildFrame,
33790 _swigc__p_wxMDIClientWindow,
33791 _swigc__p_wxMDIParentFrame,
33792 _swigc__p_wxMaximizeEvent,
33793 _swigc__p_wxMenu,
33794 _swigc__p_wxMenuBar,
33795 _swigc__p_wxMenuEvent,
33796 _swigc__p_wxMenuItem,
33797 _swigc__p_wxMessageDialog,
33798 _swigc__p_wxMiniFrame,
33799 _swigc__p_wxMouseCaptureChangedEvent,
33800 _swigc__p_wxMouseCaptureLostEvent,
33801 _swigc__p_wxMouseEvent,
33802 _swigc__p_wxMoveEvent,
33803 _swigc__p_wxMultiChoiceDialog,
33804 _swigc__p_wxNavigationKeyEvent,
33805 _swigc__p_wxNcPaintEvent,
33806 _swigc__p_wxNotifyEvent,
33807 _swigc__p_wxNumberEntryDialog,
33808 _swigc__p_wxObject,
33809 _swigc__p_wxPCXHandler,
33810 _swigc__p_wxPNGHandler,
33811 _swigc__p_wxPNMHandler,
33812 _swigc__p_wxPageSetupDialog,
33813 _swigc__p_wxPageSetupDialogData,
33814 _swigc__p_wxPaintEvent,
33815 _swigc__p_wxPaletteChangedEvent,
33816 _swigc__p_wxPanel,
33817 _swigc__p_wxPaperSize,
33818 _swigc__p_wxPasswordEntryDialog,
33819 _swigc__p_wxPoint,
33820 _swigc__p_wxPopupWindow,
33821 _swigc__p_wxPreviewCanvas,
33822 _swigc__p_wxPreviewControlBar,
33823 _swigc__p_wxPreviewFrame,
33824 _swigc__p_wxPrintData,
33825 _swigc__p_wxPrintDialog,
33826 _swigc__p_wxPrintDialogData,
33827 _swigc__p_wxPrintPreview,
33828 _swigc__p_wxPrinter,
33829 _swigc__p_wxProgressDialog,
33830 _swigc__p_wxPyApp,
33831 _swigc__p_wxPyCommandEvent,
33832 _swigc__p_wxPyEvent,
33833 _swigc__p_wxPyHtmlListBox,
33834 _swigc__p_wxPyImageHandler,
33835 _swigc__p_wxPyPanel,
33836 _swigc__p_wxPyPopupTransientWindow,
33837 _swigc__p_wxPyPreviewControlBar,
33838 _swigc__p_wxPyPreviewFrame,
33839 _swigc__p_wxPyPrintPreview,
33840 _swigc__p_wxPyPrintout,
33841 _swigc__p_wxPyScrolledWindow,
33842 _swigc__p_wxPySizer,
33843 _swigc__p_wxPyTaskBarIcon,
33844 _swigc__p_wxPyVListBox,
33845 _swigc__p_wxPyVScrolledWindow,
33846 _swigc__p_wxPyValidator,
33847 _swigc__p_wxPyWindow,
33848 _swigc__p_wxQueryLayoutInfoEvent,
33849 _swigc__p_wxQueryNewPaletteEvent,
33850 _swigc__p_wxRect,
33851 _swigc__p_wxRegion,
33852 _swigc__p_wxSashEvent,
33853 _swigc__p_wxSashLayoutWindow,
33854 _swigc__p_wxSashWindow,
33855 _swigc__p_wxScrollEvent,
33856 _swigc__p_wxScrollWinEvent,
33857 _swigc__p_wxScrolledWindow,
33858 _swigc__p_wxSetCursorEvent,
33859 _swigc__p_wxShowEvent,
33860 _swigc__p_wxSingleChoiceDialog,
33861 _swigc__p_wxSize,
33862 _swigc__p_wxSizeEvent,
33863 _swigc__p_wxSizer,
33864 _swigc__p_wxSizerItem,
33865 _swigc__p_wxSplashScreen,
33866 _swigc__p_wxSplashScreenWindow,
33867 _swigc__p_wxSplitterEvent,
33868 _swigc__p_wxSplitterWindow,
33869 _swigc__p_wxStaticBoxSizer,
33870 _swigc__p_wxStatusBar,
33871 _swigc__p_wxStdDialogButtonSizer,
33872 _swigc__p_wxString,
33873 _swigc__p_wxSysColourChangedEvent,
33874 _swigc__p_wxTGAHandler,
33875 _swigc__p_wxTIFFHandler,
33876 _swigc__p_wxTaskBarIcon,
33877 _swigc__p_wxTaskBarIconEvent,
33878 _swigc__p_wxTextEntryDialog,
33879 _swigc__p_wxTipWindow,
33880 _swigc__p_wxToolBar,
33881 _swigc__p_wxTopLevelWindow,
33882 _swigc__p_wxUpdateUIEvent,
33883 _swigc__p_wxValidator,
33884 _swigc__p_wxVisualAttributes,
33885 _swigc__p_wxWindow,
33886 _swigc__p_wxWindowCreateEvent,
33887 _swigc__p_wxWindowDestroyEvent,
33888 _swigc__p_wxXPMHandler,
33889 };
33890
33891
33892 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33893
33894 static swig_const_info swig_const_table[] = {
33895 {0, 0, 0, 0.0, 0, 0}};
33896
33897 #ifdef __cplusplus
33898 }
33899 #endif
33900 /* -----------------------------------------------------------------------------
33901 * Type initialization:
33902 * This problem is tough by the requirement that no dynamic
33903 * memory is used. Also, since swig_type_info structures store pointers to
33904 * swig_cast_info structures and swig_cast_info structures store pointers back
33905 * to swig_type_info structures, we need some lookup code at initialization.
33906 * The idea is that swig generates all the structures that are needed.
33907 * The runtime then collects these partially filled structures.
33908 * The SWIG_InitializeModule function takes these initial arrays out of
33909 * swig_module, and does all the lookup, filling in the swig_module.types
33910 * array with the correct data and linking the correct swig_cast_info
33911 * structures together.
33912 *
33913 * The generated swig_type_info structures are assigned staticly to an initial
33914 * array. We just loop though that array, and handle each type individually.
33915 * First we lookup if this type has been already loaded, and if so, use the
33916 * loaded structure instead of the generated one. Then we have to fill in the
33917 * cast linked list. The cast data is initially stored in something like a
33918 * two-dimensional array. Each row corresponds to a type (there are the same
33919 * number of rows as there are in the swig_type_initial array). Each entry in
33920 * a column is one of the swig_cast_info structures for that type.
33921 * The cast_initial array is actually an array of arrays, because each row has
33922 * a variable number of columns. So to actually build the cast linked list,
33923 * we find the array of casts associated with the type, and loop through it
33924 * adding the casts to the list. The one last trick we need to do is making
33925 * sure the type pointer in the swig_cast_info struct is correct.
33926 *
33927 * First off, we lookup the cast->type name to see if it is already loaded.
33928 * There are three cases to handle:
33929 * 1) If the cast->type has already been loaded AND the type we are adding
33930 * casting info to has not been loaded (it is in this module), THEN we
33931 * replace the cast->type pointer with the type pointer that has already
33932 * been loaded.
33933 * 2) If BOTH types (the one we are adding casting info to, and the
33934 * cast->type) are loaded, THEN the cast info has already been loaded by
33935 * the previous module so we just ignore it.
33936 * 3) Finally, if cast->type has not already been loaded, then we add that
33937 * swig_cast_info to the linked list (because the cast->type) pointer will
33938 * be correct.
33939 * ----------------------------------------------------------------------------- */
33940
33941 #ifdef __cplusplus
33942 extern "C" {
33943 #if 0
33944 } /* c-mode */
33945 #endif
33946 #endif
33947
33948 #if 0
33949 #define SWIGRUNTIME_DEBUG
33950 #endif
33951
33952 SWIGRUNTIME void
33953 SWIG_InitializeModule(void *clientdata) {
33954 size_t i;
33955 swig_module_info *module_head;
33956 static int init_run = 0;
33957
33958 clientdata = clientdata;
33959
33960 if (init_run) return;
33961 init_run = 1;
33962
33963 /* Initialize the swig_module */
33964 swig_module.type_initial = swig_type_initial;
33965 swig_module.cast_initial = swig_cast_initial;
33966
33967 /* Try and load any already created modules */
33968 module_head = SWIG_GetModule(clientdata);
33969 if (module_head) {
33970 swig_module.next = module_head->next;
33971 module_head->next = &swig_module;
33972 } else {
33973 /* This is the first module loaded */
33974 swig_module.next = &swig_module;
33975 SWIG_SetModule(clientdata, &swig_module);
33976 }
33977
33978 /* Now work on filling in swig_module.types */
33979 #ifdef SWIGRUNTIME_DEBUG
33980 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33981 #endif
33982 for (i = 0; i < swig_module.size; ++i) {
33983 swig_type_info *type = 0;
33984 swig_type_info *ret;
33985 swig_cast_info *cast;
33986
33987 #ifdef SWIGRUNTIME_DEBUG
33988 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33989 #endif
33990
33991 /* if there is another module already loaded */
33992 if (swig_module.next != &swig_module) {
33993 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33994 }
33995 if (type) {
33996 /* Overwrite clientdata field */
33997 #ifdef SWIGRUNTIME_DEBUG
33998 printf("SWIG_InitializeModule: found type %s\n", type->name);
33999 #endif
34000 if (swig_module.type_initial[i]->clientdata) {
34001 type->clientdata = swig_module.type_initial[i]->clientdata;
34002 #ifdef SWIGRUNTIME_DEBUG
34003 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34004 #endif
34005 }
34006 } else {
34007 type = swig_module.type_initial[i];
34008 }
34009
34010 /* Insert casting types */
34011 cast = swig_module.cast_initial[i];
34012 while (cast->type) {
34013 /* Don't need to add information already in the list */
34014 ret = 0;
34015 #ifdef SWIGRUNTIME_DEBUG
34016 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34017 #endif
34018 if (swig_module.next != &swig_module) {
34019 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34020 #ifdef SWIGRUNTIME_DEBUG
34021 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34022 #endif
34023 }
34024 if (ret) {
34025 if (type == swig_module.type_initial[i]) {
34026 #ifdef SWIGRUNTIME_DEBUG
34027 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34028 #endif
34029 cast->type = ret;
34030 ret = 0;
34031 } else {
34032 /* Check for casting already in the list */
34033 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34034 #ifdef SWIGRUNTIME_DEBUG
34035 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34036 #endif
34037 if (!ocast) ret = 0;
34038 }
34039 }
34040
34041 if (!ret) {
34042 #ifdef SWIGRUNTIME_DEBUG
34043 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34044 #endif
34045 if (type->cast) {
34046 type->cast->prev = cast;
34047 cast->next = type->cast;
34048 }
34049 type->cast = cast;
34050 }
34051 cast++;
34052 }
34053 /* Set entry in modules->types array equal to the type */
34054 swig_module.types[i] = type;
34055 }
34056 swig_module.types[i] = 0;
34057
34058 #ifdef SWIGRUNTIME_DEBUG
34059 printf("**** SWIG_InitializeModule: Cast List ******\n");
34060 for (i = 0; i < swig_module.size; ++i) {
34061 int j = 0;
34062 swig_cast_info *cast = swig_module.cast_initial[i];
34063 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34064 while (cast->type) {
34065 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34066 cast++;
34067 ++j;
34068 }
34069 printf("---- Total casts: %d\n",j);
34070 }
34071 printf("**** SWIG_InitializeModule: Cast List ******\n");
34072 #endif
34073 }
34074
34075 /* This function will propagate the clientdata field of type to
34076 * any new swig_type_info structures that have been added into the list
34077 * of equivalent types. It is like calling
34078 * SWIG_TypeClientData(type, clientdata) a second time.
34079 */
34080 SWIGRUNTIME void
34081 SWIG_PropagateClientData(void) {
34082 size_t i;
34083 swig_cast_info *equiv;
34084 static int init_run = 0;
34085
34086 if (init_run) return;
34087 init_run = 1;
34088
34089 for (i = 0; i < swig_module.size; i++) {
34090 if (swig_module.types[i]->clientdata) {
34091 equiv = swig_module.types[i]->cast;
34092 while (equiv) {
34093 if (!equiv->converter) {
34094 if (equiv->type && !equiv->type->clientdata)
34095 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34096 }
34097 equiv = equiv->next;
34098 }
34099 }
34100 }
34101 }
34102
34103 #ifdef __cplusplus
34104 #if 0
34105 {
34106 /* c-mode */
34107 #endif
34108 }
34109 #endif
34110
34111
34112
34113 #ifdef __cplusplus
34114 extern "C" {
34115 #endif
34116
34117 /* Python-specific SWIG API */
34118 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34119 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34120 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34121
34122 /* -----------------------------------------------------------------------------
34123 * global variable support code.
34124 * ----------------------------------------------------------------------------- */
34125
34126 typedef struct swig_globalvar {
34127 char *name; /* Name of global variable */
34128 PyObject *(*get_attr)(void); /* Return the current value */
34129 int (*set_attr)(PyObject *); /* Set the value */
34130 struct swig_globalvar *next;
34131 } swig_globalvar;
34132
34133 typedef struct swig_varlinkobject {
34134 PyObject_HEAD
34135 swig_globalvar *vars;
34136 } swig_varlinkobject;
34137
34138 SWIGINTERN PyObject *
34139 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34140 return PyString_FromString("<Swig global variables>");
34141 }
34142
34143 SWIGINTERN PyObject *
34144 swig_varlink_str(swig_varlinkobject *v) {
34145 PyObject *str = PyString_FromString("(");
34146 swig_globalvar *var;
34147 for (var = v->vars; var; var=var->next) {
34148 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34149 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34150 }
34151 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34152 return str;
34153 }
34154
34155 SWIGINTERN int
34156 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34157 PyObject *str = swig_varlink_str(v);
34158 fprintf(fp,"Swig global variables ");
34159 fprintf(fp,"%s\n", PyString_AsString(str));
34160 Py_DECREF(str);
34161 return 0;
34162 }
34163
34164 SWIGINTERN void
34165 swig_varlink_dealloc(swig_varlinkobject *v) {
34166 swig_globalvar *var = v->vars;
34167 while (var) {
34168 swig_globalvar *n = var->next;
34169 free(var->name);
34170 free(var);
34171 var = n;
34172 }
34173 }
34174
34175 SWIGINTERN PyObject *
34176 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34177 PyObject *res = NULL;
34178 swig_globalvar *var = v->vars;
34179 while (var) {
34180 if (strcmp(var->name,n) == 0) {
34181 res = (*var->get_attr)();
34182 break;
34183 }
34184 var = var->next;
34185 }
34186 if (res == NULL && !PyErr_Occurred()) {
34187 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34188 }
34189 return res;
34190 }
34191
34192 SWIGINTERN int
34193 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34194 int res = 1;
34195 swig_globalvar *var = v->vars;
34196 while (var) {
34197 if (strcmp(var->name,n) == 0) {
34198 res = (*var->set_attr)(p);
34199 break;
34200 }
34201 var = var->next;
34202 }
34203 if (res == 1 && !PyErr_Occurred()) {
34204 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34205 }
34206 return res;
34207 }
34208
34209 SWIGINTERN PyTypeObject*
34210 swig_varlink_type(void) {
34211 static char varlink__doc__[] = "Swig var link object";
34212 static PyTypeObject varlink_type;
34213 static int type_init = 0;
34214 if (!type_init) {
34215 const PyTypeObject tmp
34216 = {
34217 PyObject_HEAD_INIT(NULL)
34218 0, /* Number of items in variable part (ob_size) */
34219 (char *)"swigvarlink", /* Type name (tp_name) */
34220 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34221 0, /* Itemsize (tp_itemsize) */
34222 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34223 (printfunc) swig_varlink_print, /* Print (tp_print) */
34224 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34225 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34226 0, /* tp_compare */
34227 (reprfunc) swig_varlink_repr, /* tp_repr */
34228 0, /* tp_as_number */
34229 0, /* tp_as_sequence */
34230 0, /* tp_as_mapping */
34231 0, /* tp_hash */
34232 0, /* tp_call */
34233 (reprfunc)swig_varlink_str, /* tp_str */
34234 0, /* tp_getattro */
34235 0, /* tp_setattro */
34236 0, /* tp_as_buffer */
34237 0, /* tp_flags */
34238 varlink__doc__, /* tp_doc */
34239 0, /* tp_traverse */
34240 0, /* tp_clear */
34241 0, /* tp_richcompare */
34242 0, /* tp_weaklistoffset */
34243 #if PY_VERSION_HEX >= 0x02020000
34244 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34245 #endif
34246 #if PY_VERSION_HEX >= 0x02030000
34247 0, /* tp_del */
34248 #endif
34249 #ifdef COUNT_ALLOCS
34250 0,0,0,0 /* tp_alloc -> tp_next */
34251 #endif
34252 };
34253 varlink_type = tmp;
34254 varlink_type.ob_type = &PyType_Type;
34255 type_init = 1;
34256 }
34257 return &varlink_type;
34258 }
34259
34260 /* Create a variable linking object for use later */
34261 SWIGINTERN PyObject *
34262 SWIG_Python_newvarlink(void) {
34263 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34264 if (result) {
34265 result->vars = 0;
34266 }
34267 return ((PyObject*) result);
34268 }
34269
34270 SWIGINTERN void
34271 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34272 swig_varlinkobject *v = (swig_varlinkobject *) p;
34273 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34274 if (gv) {
34275 size_t size = strlen(name)+1;
34276 gv->name = (char *)malloc(size);
34277 if (gv->name) {
34278 strncpy(gv->name,name,size);
34279 gv->get_attr = get_attr;
34280 gv->set_attr = set_attr;
34281 gv->next = v->vars;
34282 }
34283 }
34284 v->vars = gv;
34285 }
34286
34287 SWIGINTERN PyObject *
34288 SWIG_globals() {
34289 static PyObject *_SWIG_globals = 0;
34290 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34291 return _SWIG_globals;
34292 }
34293
34294 /* -----------------------------------------------------------------------------
34295 * constants/methods manipulation
34296 * ----------------------------------------------------------------------------- */
34297
34298 /* Install Constants */
34299 SWIGINTERN void
34300 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34301 PyObject *obj = 0;
34302 size_t i;
34303 for (i = 0; constants[i].type; ++i) {
34304 switch(constants[i].type) {
34305 case SWIG_PY_POINTER:
34306 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34307 break;
34308 case SWIG_PY_BINARY:
34309 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34310 break;
34311 default:
34312 obj = 0;
34313 break;
34314 }
34315 if (obj) {
34316 PyDict_SetItemString(d, constants[i].name, obj);
34317 Py_DECREF(obj);
34318 }
34319 }
34320 }
34321
34322 /* -----------------------------------------------------------------------------*/
34323 /* Fix SwigMethods to carry the callback ptrs when needed */
34324 /* -----------------------------------------------------------------------------*/
34325
34326 SWIGINTERN void
34327 SWIG_Python_FixMethods(PyMethodDef *methods,
34328 swig_const_info *const_table,
34329 swig_type_info **types,
34330 swig_type_info **types_initial) {
34331 size_t i;
34332 for (i = 0; methods[i].ml_name; ++i) {
34333 const char *c = methods[i].ml_doc;
34334 if (c && (c = strstr(c, "swig_ptr: "))) {
34335 int j;
34336 swig_const_info *ci = 0;
34337 const char *name = c + 10;
34338 for (j = 0; const_table[j].type; ++j) {
34339 if (strncmp(const_table[j].name, name,
34340 strlen(const_table[j].name)) == 0) {
34341 ci = &(const_table[j]);
34342 break;
34343 }
34344 }
34345 if (ci) {
34346 size_t shift = (ci->ptype) - types;
34347 swig_type_info *ty = types_initial[shift];
34348 size_t ldoc = (c - methods[i].ml_doc);
34349 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34350 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34351 if (ndoc) {
34352 char *buff = ndoc;
34353 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34354 if (ptr) {
34355 strncpy(buff, methods[i].ml_doc, ldoc);
34356 buff += ldoc;
34357 strncpy(buff, "swig_ptr: ", 10);
34358 buff += 10;
34359 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34360 methods[i].ml_doc = ndoc;
34361 }
34362 }
34363 }
34364 }
34365 }
34366 }
34367
34368 #ifdef __cplusplus
34369 }
34370 #endif
34371
34372 /* -----------------------------------------------------------------------------*
34373 * Partial Init method
34374 * -----------------------------------------------------------------------------*/
34375
34376 #ifdef __cplusplus
34377 extern "C"
34378 #endif
34379 SWIGEXPORT void SWIG_init(void) {
34380 PyObject *m, *d;
34381
34382 /* Fix SwigMethods to carry the callback ptrs when needed */
34383 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34384
34385 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34386 d = PyModule_GetDict(m);
34387
34388 SWIG_InitializeModule(0);
34389 SWIG_InstallConstants(d,swig_const_table);
34390
34391
34392 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34393 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34394 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34395 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34396 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34397 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34398 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34399 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34400 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34401 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34402 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34403 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34404 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34405 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34406 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34407 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34408 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34409 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34410 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34411 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34412 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34413 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34414 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34415 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34416 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34417 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34418 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34419 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34420 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34421 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34422 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34423 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34424 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34425 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34426 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34427 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34428 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34429 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34430 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34431 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34432 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34433 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34434 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34435 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34436 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34437 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34438 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
34439 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34440 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34441 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34442 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34443 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34444 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34445 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34446 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34447 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34448 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34449 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34450 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34451 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34452 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34453 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34454 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34455 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34456 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34457 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34458 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34459 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34460 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34461 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34462 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34463 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34464 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34465 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34466 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34467 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34468 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34469 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34470 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34471 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34472 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34473 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34474 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34475 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34476 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34477 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34478 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34479 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34480 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34481 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34482 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34483 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34484 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34485 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34486 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34487 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34488 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34489 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34490 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34491 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34492 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34493 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34494 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34495 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34496 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34497 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34498
34499 // Map renamed classes back to their common name for OOR
34500 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34501 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34502 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34503
34504 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34505 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34506 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34507 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34508 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34509 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34510 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34511 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34512 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34513 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34514 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34515 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34516 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34517 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34518 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34519 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34520 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34521 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34522 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34523 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34524 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34525 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34526 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34527 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34528 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34529 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34530 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34531 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34532 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34533 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34534 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34535 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34536 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34537 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34538 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34539 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34540 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34541 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34542 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34543 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34544 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34545 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34546 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34547 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34548 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34549 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34550 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34551 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34552 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34553 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34554 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34555 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34556 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34557 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34558 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34559 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34560 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34561 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34562 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34563 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34564 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34565 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34566 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34567 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34568 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34569 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34570 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34571 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34572 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34573 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34574 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34575 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34576 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34577 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34578 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34579 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34580 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34581 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34582 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34583 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34584 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34585 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34586 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34587 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34588 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34589 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34590 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34591 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34592 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34593 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34594 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34595 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34596 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34597 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34598 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34599 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34600 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34601 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34602 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34603 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34604 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34605 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34606 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34607 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34608
34609 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34610
34611 }
34612