]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
Added the PseudoDC class from Paul Lanier. It provides a way to
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxObject swig_types[83]
2550 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2551 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2555 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2556 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPanel swig_types[91]
2558 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2559 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2560 #define SWIGTYPE_p_wxPoint swig_types[94]
2561 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2562 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2565 #define SWIGTYPE_p_wxPrintData swig_types[99]
2566 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2569 #define SWIGTYPE_p_wxPrinter swig_types[103]
2570 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2571 #define SWIGTYPE_p_wxPyApp swig_types[105]
2572 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2573 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2575 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2577 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2578 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2580 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2582 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPySizer swig_types[117]
2584 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2585 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2586 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2588 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2589 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2590 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2591 #define SWIGTYPE_p_wxRect swig_types[125]
2592 #define SWIGTYPE_p_wxRegion swig_types[126]
2593 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2594 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2595 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2596 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2597 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2599 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2600 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2602 #define SWIGTYPE_p_wxSize swig_types[136]
2603 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSizer swig_types[138]
2605 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2606 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2608 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxString swig_types[147]
2614 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2615 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2616 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2618 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2619 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2620 #define SWIGTYPE_p_wxToolBar swig_types[154]
2621 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2622 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2623 #define SWIGTYPE_p_wxValidator swig_types[157]
2624 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2625 #define SWIGTYPE_p_wxWindow swig_types[159]
2626 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2627 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2628 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2629 static swig_type_info *swig_types[164];
2630 static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
2631 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2632 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2633
2634 /* -------- TYPES TABLE (END) -------- */
2635
2636 #if (PY_VERSION_HEX <= 0x02000000)
2637 # if !defined(SWIG_PYTHON_CLASSIC)
2638 # error "This python version requires to use swig with the '-classic' option"
2639 # endif
2640 #endif
2641 #if (PY_VERSION_HEX <= 0x02020000)
2642 # error "This python version requires to use swig with the '-nomodern' option"
2643 #endif
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodernargs' option"
2646 #endif
2647 #ifndef METH_O
2648 # error "This python version requires to use swig with the '-nofastunpack' option"
2649 #endif
2650
2651 /*-----------------------------------------------
2652 @(target):= _windows_.so
2653 ------------------------------------------------*/
2654 #define SWIG_init init_windows_
2655
2656 #define SWIG_name "_windows_"
2657
2658 #define SWIGVERSION 0x010329
2659
2660
2661 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2662 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2663
2664
2665 #include <stdexcept>
2666
2667
2668 namespace swig {
2669 class PyObject_ptr {
2670 protected:
2671 PyObject *_obj;
2672
2673 public:
2674 PyObject_ptr() :_obj(0)
2675 {
2676 }
2677
2678 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2679 {
2680 Py_XINCREF(_obj);
2681 }
2682
2683 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2684 {
2685 if (initial_ref) Py_XINCREF(_obj);
2686 }
2687
2688 PyObject_ptr & operator=(const PyObject_ptr& item)
2689 {
2690 Py_XINCREF(item._obj);
2691 Py_XDECREF(_obj);
2692 _obj = item._obj;
2693 return *this;
2694 }
2695
2696 ~PyObject_ptr()
2697 {
2698 Py_XDECREF(_obj);
2699 }
2700
2701 operator PyObject *() const
2702 {
2703 return _obj;
2704 }
2705
2706 PyObject *operator->() const
2707 {
2708 return _obj;
2709 }
2710 };
2711 }
2712
2713
2714 namespace swig {
2715 struct PyObject_var : PyObject_ptr {
2716 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2717
2718 PyObject_var & operator = (PyObject* obj)
2719 {
2720 Py_XDECREF(_obj);
2721 _obj = obj;
2722 return *this;
2723 }
2724 };
2725 }
2726
2727
2728 #include "wx/wxPython/wxPython.h"
2729 #include "wx/wxPython/pyclasses.h"
2730
2731
2732 static const wxString wxPyEmptyString(wxEmptyString);
2733 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2734
2735
2736
2737 #include <limits.h>
2738 #ifndef LLONG_MIN
2739 # define LLONG_MIN LONG_LONG_MIN
2740 #endif
2741 #ifndef LLONG_MAX
2742 # define LLONG_MAX LONG_LONG_MAX
2743 #endif
2744 #ifndef ULLONG_MAX
2745 # define ULLONG_MAX ULONG_LONG_MAX
2746 #endif
2747
2748
2749 SWIGINTERN int
2750 SWIG_AsVal_long (PyObject* obj, long* val)
2751 {
2752 if (PyNumber_Check(obj)) {
2753 if (val) *val = PyInt_AsLong(obj);
2754 return SWIG_OK;
2755 }
2756 return SWIG_TypeError;
2757 }
2758
2759
2760 SWIGINTERN int
2761 SWIG_AsVal_int (PyObject * obj, int *val)
2762 {
2763 long v;
2764 int res = SWIG_AsVal_long (obj, &v);
2765 if (SWIG_IsOK(res)) {
2766 if ((v < INT_MIN || v > INT_MAX)) {
2767 return SWIG_OverflowError;
2768 } else {
2769 if (val) *val = static_cast< int >(v);
2770 }
2771 }
2772 return res;
2773 }
2774
2775
2776 SWIGINTERN int
2777 SWIG_AsVal_bool (PyObject *obj, bool *val)
2778 {
2779 if (obj == Py_True) {
2780 if (val) *val = true;
2781 return SWIG_OK;
2782 } else if (obj == Py_False) {
2783 if (val) *val = false;
2784 return SWIG_OK;
2785 } else {
2786 long v = 0;
2787 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2788 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2789 return res;
2790 }
2791 }
2792
2793
2794 #define SWIG_From_long PyInt_FromLong
2795
2796
2797 SWIGINTERNINLINE PyObject *
2798 SWIG_From_int (int value)
2799 {
2800 return SWIG_From_long (value);
2801 }
2802
2803
2804 SWIGINTERN int
2805 SWIG_AsVal_double (PyObject *obj, double* val)
2806 {
2807 if (PyNumber_Check(obj)) {
2808 if (val) *val = PyFloat_AsDouble(obj);
2809 return SWIG_OK;
2810 }
2811 return SWIG_TypeError;
2812 }
2813
2814
2815 #define SWIG_From_double PyFloat_FromDouble
2816
2817 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2818 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2819 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2820 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2821 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2822 int style = self->GetExtraStyle();
2823 if ( on )
2824 style |= wxFRAME_EX_METAL;
2825 else
2826 style &= ~wxFRAME_EX_METAL;
2827 self->SetExtraStyle(style);
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 wxPopupWindow : public wxWindow {
2844 public:
2845 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2846 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2847 };
2848
2849 class wxPyPopupTransientWindow : public wxPopupWindow
2850 {
2851 public:
2852 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2853 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2854 };
2855
2856
2857 #include <wx/tipwin.h>
2858
2859 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2860 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2861 }
2862
2863 #include <wx/tipwin.h>
2864
2865
2866 #include <wx/vscroll.h>
2867
2868
2869 class wxPyVScrolledWindow : public wxVScrolledWindow
2870 {
2871 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2872 public:
2873 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2874
2875 wxPyVScrolledWindow(wxWindow *parent,
2876 wxWindowID id = wxID_ANY,
2877 const wxPoint& pos = wxDefaultPosition,
2878 const wxSize& size = wxDefaultSize,
2879 long style = 0,
2880 const wxString& name = wxPyPanelNameStr)
2881 : wxVScrolledWindow(parent, id, pos, size, style, name)
2882 {}
2883
2884 // Overridable virtuals
2885
2886 // this function must be overridden in the derived class and it should
2887 // return the height of the given line in pixels
2888 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2889
2890
2891 // this function doesn't have to be overridden but it may be useful to do
2892 // it if calculating the lines heights is a relatively expensive operation
2893 // as it gives the user code a possibility to calculate several of them at
2894 // once
2895 //
2896 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2897 // shouldn't rely on the latter being called for all lines in the interval
2898 // specified here. It is also possible that OnGetLineHeight() will be
2899 // called for the lines outside of this interval, so this is really just a
2900 // hint, not a promise.
2901 //
2902 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2903 // usual
2904 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2905
2906
2907 // when the number of lines changes, we try to estimate the total height
2908 // of all lines which is a rather expensive operation in terms of lines
2909 // access, so if the user code may estimate the average height
2910 // better/faster than we do, it should override this function to implement
2911 // its own logic
2912 //
2913 // this function should return the best guess for the total height it may
2914 // make
2915 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2916
2917
2918 // Also expose some other interesting protected methods
2919
2920
2921 // find the index of the line we need to show at the top of the window such
2922 // that the last (fully or partially) visible line is the given one
2923 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2924 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2925
2926 // get the total height of the lines between lineMin (inclusive) and
2927 // lineMax (exclusive)
2928 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2929 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2930
2931 // update the thumb size shown by the scrollbar
2932 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2933
2934 // remove the scrollbar completely because we don't need it
2935 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2936
2937 PYPRIVATE;
2938 };
2939
2940 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2941
2942 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2943 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2944 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2945
2946
2947 SWIGINTERN int
2948 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2949 {
2950 long v = 0;
2951 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2952 return SWIG_TypeError;
2953 }
2954 else if (val)
2955 *val = (unsigned long)v;
2956 return SWIG_OK;
2957 }
2958
2959
2960 SWIGINTERNINLINE int
2961 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2962 {
2963 unsigned long v;
2964 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2965 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2966 return res;
2967 }
2968
2969
2970 SWIGINTERNINLINE PyObject*
2971 SWIG_From_unsigned_SS_long (unsigned long value)
2972 {
2973 return (value > LONG_MAX) ?
2974 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2975 }
2976
2977
2978 SWIGINTERNINLINE PyObject *
2979 SWIG_From_size_t (size_t value)
2980 {
2981 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2982 }
2983
2984
2985 #include <wx/vlbox.h>
2986
2987 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2988
2989 class wxPyVListBox : public wxVListBox
2990 {
2991 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2992 public:
2993 wxPyVListBox() : wxVListBox() {}
2994
2995 wxPyVListBox(wxWindow *parent,
2996 wxWindowID id = wxID_ANY,
2997 const wxPoint& pos = wxDefaultPosition,
2998 const wxSize& size = wxDefaultSize,
2999 long style = 0,
3000 const wxString& name = wxPyVListBoxNameStr)
3001 : wxVListBox(parent, id, pos, size, style, name)
3002 {}
3003
3004 // Overridable virtuals
3005
3006 // the derived class must implement this function to actually draw the item
3007 // with the given index on the provided DC
3008 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3009 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3010
3011
3012 // the derived class must implement this method to return the height of the
3013 // specified item
3014 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3015 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3016
3017
3018 // this method may be used to draw separators between the lines; note that
3019 // the rectangle may be modified, typically to deflate it a bit before
3020 // passing to OnDrawItem()
3021 //
3022 // the base class version doesn't do anything
3023 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3024 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3025
3026
3027 // this method is used to draw the items background and, maybe, a border
3028 // around it
3029 //
3030 // the base class version implements a reasonable default behaviour which
3031 // consists in drawing the selected item with the standard background
3032 // colour and drawing a border around the item if it is either selected or
3033 // current
3034 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3035 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3036
3037
3038 PYPRIVATE;
3039 };
3040
3041 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3042
3043 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3044 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3045 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3046 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3047
3048
3049 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3050 unsigned long cookie = 0;
3051 int selected = self->GetFirstSelected(cookie);
3052 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3053 PyObject* tup = PyTuple_New(2);
3054 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3055 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3056 wxPyEndBlockThreads(blocked);
3057 return tup;
3058 }
3059 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3060 int selected = self->GetNextSelected(cookie);
3061 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3062 PyObject* tup = PyTuple_New(2);
3063 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3064 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3065 wxPyEndBlockThreads(blocked);
3066 return tup;
3067 }
3068
3069 #include <wx/htmllbox.h>
3070
3071
3072 class wxPyHtmlListBox : public wxHtmlListBox
3073 {
3074 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3075 public:
3076 wxPyHtmlListBox() : wxHtmlListBox() {}
3077
3078 wxPyHtmlListBox(wxWindow *parent,
3079 wxWindowID id = wxID_ANY,
3080 const wxPoint& pos = wxDefaultPosition,
3081 const wxSize& size = wxDefaultSize,
3082 long style = 0,
3083 const wxString& name = wxPyVListBoxNameStr)
3084 : wxHtmlListBox(parent, id, pos, size, style, name)
3085 {}
3086
3087 // Overridable virtuals
3088
3089 // this method must be implemented in the derived class and should return
3090 // the body (i.e. without <html>) of the HTML for the given item
3091 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3092
3093 // this function may be overridden to decorate HTML returned by OnGetItem()
3094 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3095
3096 // These are from wxVListBox
3097 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3098 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3099
3100 // TODO:
3101 // // this method allows to customize the selection appearance: it may be used
3102 // // to specify the colour of the text which normally has the given colour
3103 // // colFg when it is inside the selection
3104 // //
3105 // // by default, the original colour is not used at all and all text has the
3106 // // same (default for this system) colour inside selection
3107 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3108
3109 // // this is the same as GetSelectedTextColour() but allows to customize the
3110 // // background colour -- this is even more rarely used as you can change it
3111 // // globally using SetSelectionBackground()
3112 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3113
3114
3115 // This method may be overriden to handle clicking on a link in
3116 // the listbox. By default, clicking links is ignored.
3117 virtual void OnLinkClicked(size_t n,
3118 const wxHtmlLinkInfo& link);
3119
3120 PYPRIVATE;
3121 };
3122
3123
3124 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3125
3126 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3127 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3128 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3129 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3130
3131
3132 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3133 const wxHtmlLinkInfo& link) {
3134 bool found;
3135 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3136 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3137 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3138 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3139 Py_DECREF(obj);
3140 }
3141 wxPyEndBlockThreads(blocked);
3142 if (! found)
3143 wxPyHtmlListBox::OnLinkClicked(n, link);
3144 }
3145
3146
3147
3148
3149
3150 #ifndef wxHAS_TASK_BAR_ICON
3151 // implement dummy classes for platforms that don't have it
3152
3153 class wxTaskBarIcon : public wxEvtHandler
3154 {
3155 public:
3156 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3157 };
3158
3159
3160 class wxTaskBarIconEvent : public wxEvent
3161 {
3162 public:
3163 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3164 { wxPyRaiseNotImplemented(); }
3165 virtual wxEvent* Clone() const { return NULL; }
3166 bool IsOk() const { return false; }
3167 bool IsIconInstalled() const { return false; }
3168 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3169 bool RemoveIcon() { return false; }
3170 bool PopupMenu(wxMenu *menu) { return false; }
3171 };
3172
3173 enum {
3174 wxEVT_TASKBAR_MOVE = 0,
3175 wxEVT_TASKBAR_LEFT_DOWN = 0,
3176 wxEVT_TASKBAR_LEFT_UP = 0,
3177 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3178 wxEVT_TASKBAR_RIGHT_UP = 0,
3179 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3180 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3181 };
3182
3183
3184 #else
3185 // Otherwise make a class that can virtualize CreatePopupMenu
3186 class wxPyTaskBarIcon : public wxTaskBarIcon
3187 {
3188 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3189 public:
3190 wxPyTaskBarIcon() : wxTaskBarIcon()
3191 {}
3192
3193 wxMenu* CreatePopupMenu() {
3194 wxMenu *rval = NULL;
3195 bool found;
3196 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3197 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3198 PyObject* ro;
3199 wxMenu* ptr;
3200 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3201 if (ro) {
3202 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3203 rval = ptr;
3204 Py_DECREF(ro);
3205 }
3206 }
3207 wxPyEndBlockThreads(blocked);
3208 if (! found)
3209 rval = wxTaskBarIcon::CreatePopupMenu();
3210 return rval;
3211 }
3212
3213 PYPRIVATE;
3214 };
3215
3216 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3217
3218 #endif
3219
3220 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3221 self->RemoveIcon();
3222 delete self;
3223 }
3224 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3225 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3226 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3227 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3228 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3229 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3230
3231 // for compatibility only
3232 #define wxHIDE_READONLY 0
3233
3234 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3235 wxArrayString arr;
3236 self->GetFilenames(arr);
3237 return wxArrayString2PyList_helper(arr);
3238 }
3239 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3240 wxArrayString arr;
3241 self->GetPaths(arr);
3242 return wxArrayString2PyList_helper(arr);
3243 }
3244 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3245 return wxArrayInt2PyList_helper(self->GetSelections());
3246 }
3247 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){
3248 return new wxSingleChoiceDialog(parent, message, caption,
3249 choices, choices_array, NULL, style, pos);
3250 }
3251 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3252
3253 SWIGINTERNINLINE PyObject*
3254 SWIG_From_bool (bool value)
3255 {
3256 return PyBool_FromLong(value ? 1 : 0);
3257 }
3258
3259
3260 #include <wx/mdi.h>
3261
3262 // C++ version of Python aware wxWindow
3263 class wxPyWindow : public wxWindow
3264 {
3265 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3266 public:
3267 wxPyWindow() : wxWindow() {}
3268 wxPyWindow(wxWindow* parent, const wxWindowID id,
3269 const wxPoint& pos = wxDefaultPosition,
3270 const wxSize& size = wxDefaultSize,
3271 long style = 0,
3272 const wxString& name = wxPyPanelNameStr)
3273 : wxWindow(parent, id, pos, size, style, name) {}
3274
3275 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3276
3277 bool DoEraseBackground(wxDC* dc) {
3278 #ifdef __WXMSW__
3279 return wxWindow::DoEraseBackground(dc->GetHDC());
3280 #else
3281 dc->SetBackground(wxBrush(GetBackgroundColour()));
3282 dc->Clear();
3283 return true;
3284 #endif
3285 }
3286
3287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3288 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3291
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3295
3296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3298
3299 DEC_PYCALLBACK__(InitDialog);
3300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3302 DEC_PYCALLBACK_BOOL_(Validate);
3303
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3306 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3307
3308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3310
3311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3313
3314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3315
3316 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3317
3318 PYPRIVATE;
3319 };
3320
3321 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3322
3323 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3324 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3327
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3331
3332 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3334
3335 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3336 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3339
3340 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3342 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3343
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3346
3347 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3348 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3349
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3351
3352 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3353
3354 // C++ version of Python aware wxPanel
3355 class wxPyPanel : public wxPanel
3356 {
3357 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3358 public:
3359 wxPyPanel() : wxPanel() {}
3360 wxPyPanel(wxWindow* parent, const wxWindowID id,
3361 const wxPoint& pos = wxDefaultPosition,
3362 const wxSize& size = wxDefaultSize,
3363 long style = 0,
3364 const wxString& name = wxPyPanelNameStr)
3365 : wxPanel(parent, id, pos, size, style, name) {}
3366
3367 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3368 bool DoEraseBackground(wxDC* dc) {
3369 #ifdef __WXMSW__
3370 return wxWindow::DoEraseBackground(dc->GetHDC());
3371 #else
3372 dc->SetBackground(wxBrush(GetBackgroundColour()));
3373 dc->Clear();
3374 return true;
3375 #endif
3376 }
3377
3378
3379 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3380 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3383
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3387
3388 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3389 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3390
3391 DEC_PYCALLBACK__(InitDialog);
3392 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3393 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3394 DEC_PYCALLBACK_BOOL_(Validate);
3395
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3398 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3399
3400 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3402
3403 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3404 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3405
3406 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3407
3408 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3409
3410 PYPRIVATE;
3411 };
3412
3413 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3414
3415 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3416 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3419
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3423
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3426
3427 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3428 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3431
3432 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3435
3436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3438
3439 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3440 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3441
3442 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3443
3444 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3445
3446 // C++ version of Python aware wxScrolledWindow
3447 class wxPyScrolledWindow : public wxScrolledWindow
3448 {
3449 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3450 public:
3451 wxPyScrolledWindow() : wxScrolledWindow() {}
3452 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3453 const wxPoint& pos = wxDefaultPosition,
3454 const wxSize& size = wxDefaultSize,
3455 long style = 0,
3456 const wxString& name = wxPyPanelNameStr)
3457 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3458
3459 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3460 bool DoEraseBackground(wxDC* dc) {
3461 #ifdef __WXMSW__
3462 return wxWindow::DoEraseBackground(dc->GetHDC());
3463 #else
3464 dc->SetBackground(wxBrush(GetBackgroundColour()));
3465 dc->Clear();
3466 return true;
3467 #endif
3468 }
3469
3470 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3471 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3474
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3478
3479 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3480 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3481
3482 DEC_PYCALLBACK__(InitDialog);
3483 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3484 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3485 DEC_PYCALLBACK_BOOL_(Validate);
3486
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3489 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3490
3491 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3492 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3493
3494 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3495 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3496
3497 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3498
3499 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3500
3501 PYPRIVATE;
3502 };
3503
3504 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3505
3506 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3507 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3510
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3514
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3517
3518 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3522
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3526
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3529
3530 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3531 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3532
3533 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3534
3535 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3536
3537
3538 #include "wx/wxPython/printfw.h"
3539
3540
3541 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3542 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3543 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3544 PyObject* data;
3545 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3546 data = PyString_FromStringAndSize(self->GetPrivData(),
3547 self->GetPrivDataLen());
3548 wxPyEndBlockThreads(blocked);
3549 return data;
3550 }
3551 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3552 if (! PyString_Check(data)) {
3553 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3554 "Expected string object"));
3555 return /* NULL */ ;
3556 }
3557
3558 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3559 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3560 wxPyEndBlockThreads(blocked);
3561 }
3562
3563
3564 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3565
3566 // Since this one would be tough and ugly to do with the Macros...
3567 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3568 bool hadErr = false;
3569 bool found;
3570
3571 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3572 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3573 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3574 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3575 PyObject* val;
3576
3577 val = PyTuple_GetItem(result, 0);
3578 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3579 else hadErr = true;
3580
3581 val = PyTuple_GetItem(result, 1);
3582 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3583 else hadErr = true;
3584
3585 val = PyTuple_GetItem(result, 2);
3586 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3587 else hadErr = true;
3588
3589 val = PyTuple_GetItem(result, 3);
3590 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3591 else hadErr = true;
3592 }
3593 else
3594 hadErr = true;
3595
3596 if (hadErr) {
3597 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3598 PyErr_Print();
3599 }
3600 Py_DECREF(result);
3601 }
3602 wxPyEndBlockThreads(blocked);
3603 if (! found)
3604 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3605 }
3606
3607
3608
3609 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3610 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3611 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3614 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3615 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3616
3617
3618
3619
3620
3621 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3622 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3623
3624
3625 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3626 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3627 bool rval=false; \
3628 bool found; \
3629 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3630 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3631 PyObject* win = wxPyMake_wxObject(a,false); \
3632 PyObject* dc = wxPyMake_wxObject(&b,false); \
3633 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3634 Py_DECREF(win); \
3635 Py_DECREF(dc); \
3636 } \
3637 wxPyEndBlockThreads(blocked); \
3638 if (! found) \
3639 rval = PCLASS::CBNAME(a, b); \
3640 return rval; \
3641 }
3642
3643
3644
3645
3646 class wxPyPrintPreview : public wxPrintPreview
3647 {
3648 DECLARE_CLASS(wxPyPrintPreview)
3649 public:
3650 wxPyPrintPreview(wxPyPrintout* printout,
3651 wxPyPrintout* printoutForPrinting,
3652 wxPrintDialogData* data=NULL)
3653 : wxPrintPreview(printout, printoutForPrinting, data)
3654 {}
3655 wxPyPrintPreview(wxPyPrintout* printout,
3656 wxPyPrintout* printoutForPrinting,
3657 wxPrintData* data)
3658 : wxPrintPreview(printout, printoutForPrinting, data)
3659 {}
3660
3661 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3664 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3665 DEC_PYCALLBACK_VOID_INT(SetZoom);
3666 DEC_PYCALLBACK_BOOL_BOOL(Print);
3667 DEC_PYCALLBACK_VOID_(DetermineScaling);
3668
3669 PYPRIVATE;
3670 };
3671
3672 // Stupid renamed classes... Fix this in 2.5...
3673 #if defined(__WXMSW__)
3674 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3675 #elif defined(__WXMAC__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3677 #else
3678 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3679 #endif
3680
3681 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3685 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3686 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3687 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3688
3689
3690 class wxPyPreviewFrame : public wxPreviewFrame
3691 {
3692 DECLARE_CLASS(wxPyPreviewFrame)
3693 public:
3694 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3695 const wxString& title,
3696 const wxPoint& pos = wxDefaultPosition,
3697 const wxSize& size = wxDefaultSize,
3698 long style = wxDEFAULT_FRAME_STYLE,
3699 const wxString& name = wxPyFrameNameStr)
3700 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3701 {}
3702
3703 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3704 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3705
3706 DEC_PYCALLBACK_VOID_(Initialize);
3707 DEC_PYCALLBACK_VOID_(CreateCanvas);
3708 DEC_PYCALLBACK_VOID_(CreateControlBar);
3709
3710 PYPRIVATE;
3711 };
3712
3713 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3714
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3718
3719
3720 class wxPyPreviewControlBar : public wxPreviewControlBar
3721 {
3722 DECLARE_CLASS(wxPyPreviewControlBar)
3723 public:
3724 wxPyPreviewControlBar(wxPrintPreview *preview,
3725 long buttons,
3726 wxWindow *parent,
3727 const wxPoint& pos = wxDefaultPosition,
3728 const wxSize& size = wxDefaultSize,
3729 long style = 0,
3730 const wxString& name = wxPyPanelNameStr)
3731 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3732 {}
3733
3734 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3735
3736 DEC_PYCALLBACK_VOID_(CreateButtons);
3737 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3738
3739 PYPRIVATE;
3740 };
3741
3742 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3743 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3744 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3745
3746 #ifdef __cplusplus
3747 extern "C" {
3748 #endif
3749 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj = 0;
3751 wxWindow *arg1 = (wxWindow *) 0 ;
3752 int arg2 = (int) (int)-1 ;
3753 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3754 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3755 wxSize const &arg4_defvalue = wxDefaultSize ;
3756 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3757 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3758 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3759 wxString *arg6 = (wxString *) &arg6_defvalue ;
3760 wxPanel *result = 0 ;
3761 void *argp1 = 0 ;
3762 int res1 = 0 ;
3763 int val2 ;
3764 int ecode2 = 0 ;
3765 wxPoint temp3 ;
3766 wxSize temp4 ;
3767 long val5 ;
3768 int ecode5 = 0 ;
3769 bool temp6 = false ;
3770 PyObject * obj0 = 0 ;
3771 PyObject * obj1 = 0 ;
3772 PyObject * obj2 = 0 ;
3773 PyObject * obj3 = 0 ;
3774 PyObject * obj4 = 0 ;
3775 PyObject * obj5 = 0 ;
3776 char * kwnames[] = {
3777 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3778 };
3779
3780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3782 if (!SWIG_IsOK(res1)) {
3783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3784 }
3785 arg1 = reinterpret_cast< wxWindow * >(argp1);
3786 if (obj1) {
3787 ecode2 = SWIG_AsVal_int(obj1, &val2);
3788 if (!SWIG_IsOK(ecode2)) {
3789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3790 }
3791 arg2 = static_cast< int >(val2);
3792 }
3793 if (obj2) {
3794 {
3795 arg3 = &temp3;
3796 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3797 }
3798 }
3799 if (obj3) {
3800 {
3801 arg4 = &temp4;
3802 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3803 }
3804 }
3805 if (obj4) {
3806 ecode5 = SWIG_AsVal_long(obj4, &val5);
3807 if (!SWIG_IsOK(ecode5)) {
3808 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3809 }
3810 arg5 = static_cast< long >(val5);
3811 }
3812 if (obj5) {
3813 {
3814 arg6 = wxString_in_helper(obj5);
3815 if (arg6 == NULL) SWIG_fail;
3816 temp6 = true;
3817 }
3818 }
3819 {
3820 if (!wxPyCheckForApp()) SWIG_fail;
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3827 {
3828 if (temp6)
3829 delete arg6;
3830 }
3831 return resultobj;
3832 fail:
3833 {
3834 if (temp6)
3835 delete arg6;
3836 }
3837 return NULL;
3838 }
3839
3840
3841 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3842 PyObject *resultobj = 0;
3843 wxPanel *result = 0 ;
3844
3845 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3846 {
3847 if (!wxPyCheckForApp()) SWIG_fail;
3848 PyThreadState* __tstate = wxPyBeginAllowThreads();
3849 result = (wxPanel *)new wxPanel();
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
3853 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3854 return resultobj;
3855 fail:
3856 return NULL;
3857 }
3858
3859
3860 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3861 PyObject *resultobj = 0;
3862 wxPanel *arg1 = (wxPanel *) 0 ;
3863 wxWindow *arg2 = (wxWindow *) 0 ;
3864 int arg3 = (int) (int)-1 ;
3865 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3866 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3867 wxSize const &arg5_defvalue = wxDefaultSize ;
3868 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3869 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3870 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3871 wxString *arg7 = (wxString *) &arg7_defvalue ;
3872 bool result;
3873 void *argp1 = 0 ;
3874 int res1 = 0 ;
3875 void *argp2 = 0 ;
3876 int res2 = 0 ;
3877 int val3 ;
3878 int ecode3 = 0 ;
3879 wxPoint temp4 ;
3880 wxSize temp5 ;
3881 long val6 ;
3882 int ecode6 = 0 ;
3883 bool temp7 = false ;
3884 PyObject * obj0 = 0 ;
3885 PyObject * obj1 = 0 ;
3886 PyObject * obj2 = 0 ;
3887 PyObject * obj3 = 0 ;
3888 PyObject * obj4 = 0 ;
3889 PyObject * obj5 = 0 ;
3890 PyObject * obj6 = 0 ;
3891 char * kwnames[] = {
3892 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3893 };
3894
3895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3897 if (!SWIG_IsOK(res1)) {
3898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3899 }
3900 arg1 = reinterpret_cast< wxPanel * >(argp1);
3901 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3902 if (!SWIG_IsOK(res2)) {
3903 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3904 }
3905 arg2 = reinterpret_cast< wxWindow * >(argp2);
3906 if (obj2) {
3907 ecode3 = SWIG_AsVal_int(obj2, &val3);
3908 if (!SWIG_IsOK(ecode3)) {
3909 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3910 }
3911 arg3 = static_cast< int >(val3);
3912 }
3913 if (obj3) {
3914 {
3915 arg4 = &temp4;
3916 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3917 }
3918 }
3919 if (obj4) {
3920 {
3921 arg5 = &temp5;
3922 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3923 }
3924 }
3925 if (obj5) {
3926 ecode6 = SWIG_AsVal_long(obj5, &val6);
3927 if (!SWIG_IsOK(ecode6)) {
3928 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3929 }
3930 arg6 = static_cast< long >(val6);
3931 }
3932 if (obj6) {
3933 {
3934 arg7 = wxString_in_helper(obj6);
3935 if (arg7 == NULL) SWIG_fail;
3936 temp7 = true;
3937 }
3938 }
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
3945 {
3946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3947 }
3948 {
3949 if (temp7)
3950 delete arg7;
3951 }
3952 return resultobj;
3953 fail:
3954 {
3955 if (temp7)
3956 delete arg7;
3957 }
3958 return NULL;
3959 }
3960
3961
3962 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3963 PyObject *resultobj = 0;
3964 wxPanel *arg1 = (wxPanel *) 0 ;
3965 void *argp1 = 0 ;
3966 int res1 = 0 ;
3967 PyObject *swig_obj[1] ;
3968
3969 if (!args) SWIG_fail;
3970 swig_obj[0] = args;
3971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3972 if (!SWIG_IsOK(res1)) {
3973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3974 }
3975 arg1 = reinterpret_cast< wxPanel * >(argp1);
3976 {
3977 PyThreadState* __tstate = wxPyBeginAllowThreads();
3978 (arg1)->SetFocusIgnoringChildren();
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 resultobj = SWIG_Py_Void();
3983 return resultobj;
3984 fail:
3985 return NULL;
3986 }
3987
3988
3989 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3990 PyObject *resultobj = 0;
3991 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3992 SwigValueWrapper<wxVisualAttributes > result;
3993 int val1 ;
3994 int ecode1 = 0 ;
3995 PyObject * obj0 = 0 ;
3996 char * kwnames[] = {
3997 (char *) "variant", NULL
3998 };
3999
4000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4001 if (obj0) {
4002 ecode1 = SWIG_AsVal_int(obj0, &val1);
4003 if (!SWIG_IsOK(ecode1)) {
4004 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4005 }
4006 arg1 = static_cast< wxWindowVariant >(val1);
4007 }
4008 {
4009 if (!wxPyCheckForApp()) SWIG_fail;
4010 PyThreadState* __tstate = wxPyBeginAllowThreads();
4011 result = wxPanel::GetClassDefaultAttributes(arg1);
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4016 return resultobj;
4017 fail:
4018 return NULL;
4019 }
4020
4021
4022 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4023 PyObject *obj;
4024 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4025 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4026 return SWIG_Py_Void();
4027 }
4028
4029 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4030 return SWIG_Python_InitShadowInstance(args);
4031 }
4032
4033 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4034 PyObject *resultobj = 0;
4035 wxWindow *arg1 = (wxWindow *) 0 ;
4036 int arg2 = (int) (int)-1 ;
4037 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4038 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4039 wxSize const &arg4_defvalue = wxDefaultSize ;
4040 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4041 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4042 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4043 wxString *arg6 = (wxString *) &arg6_defvalue ;
4044 wxScrolledWindow *result = 0 ;
4045 void *argp1 = 0 ;
4046 int res1 = 0 ;
4047 int val2 ;
4048 int ecode2 = 0 ;
4049 wxPoint temp3 ;
4050 wxSize temp4 ;
4051 long val5 ;
4052 int ecode5 = 0 ;
4053 bool temp6 = false ;
4054 PyObject * obj0 = 0 ;
4055 PyObject * obj1 = 0 ;
4056 PyObject * obj2 = 0 ;
4057 PyObject * obj3 = 0 ;
4058 PyObject * obj4 = 0 ;
4059 PyObject * obj5 = 0 ;
4060 char * kwnames[] = {
4061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4062 };
4063
4064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4066 if (!SWIG_IsOK(res1)) {
4067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4068 }
4069 arg1 = reinterpret_cast< wxWindow * >(argp1);
4070 if (obj1) {
4071 ecode2 = SWIG_AsVal_int(obj1, &val2);
4072 if (!SWIG_IsOK(ecode2)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4074 }
4075 arg2 = static_cast< int >(val2);
4076 }
4077 if (obj2) {
4078 {
4079 arg3 = &temp3;
4080 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4081 }
4082 }
4083 if (obj3) {
4084 {
4085 arg4 = &temp4;
4086 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4087 }
4088 }
4089 if (obj4) {
4090 ecode5 = SWIG_AsVal_long(obj4, &val5);
4091 if (!SWIG_IsOK(ecode5)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4093 }
4094 arg5 = static_cast< long >(val5);
4095 }
4096 if (obj5) {
4097 {
4098 arg6 = wxString_in_helper(obj5);
4099 if (arg6 == NULL) SWIG_fail;
4100 temp6 = true;
4101 }
4102 }
4103 {
4104 if (!wxPyCheckForApp()) SWIG_fail;
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4111 {
4112 if (temp6)
4113 delete arg6;
4114 }
4115 return resultobj;
4116 fail:
4117 {
4118 if (temp6)
4119 delete arg6;
4120 }
4121 return NULL;
4122 }
4123
4124
4125 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4126 PyObject *resultobj = 0;
4127 wxScrolledWindow *result = 0 ;
4128
4129 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4130 {
4131 if (!wxPyCheckForApp()) SWIG_fail;
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
4133 result = (wxScrolledWindow *)new wxScrolledWindow();
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4138 return resultobj;
4139 fail:
4140 return NULL;
4141 }
4142
4143
4144 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4145 PyObject *resultobj = 0;
4146 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4147 wxWindow *arg2 = (wxWindow *) 0 ;
4148 int arg3 = (int) (int)-1 ;
4149 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4150 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4151 wxSize const &arg5_defvalue = wxDefaultSize ;
4152 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4153 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4154 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4155 wxString *arg7 = (wxString *) &arg7_defvalue ;
4156 bool result;
4157 void *argp1 = 0 ;
4158 int res1 = 0 ;
4159 void *argp2 = 0 ;
4160 int res2 = 0 ;
4161 int val3 ;
4162 int ecode3 = 0 ;
4163 wxPoint temp4 ;
4164 wxSize temp5 ;
4165 long val6 ;
4166 int ecode6 = 0 ;
4167 bool temp7 = false ;
4168 PyObject * obj0 = 0 ;
4169 PyObject * obj1 = 0 ;
4170 PyObject * obj2 = 0 ;
4171 PyObject * obj3 = 0 ;
4172 PyObject * obj4 = 0 ;
4173 PyObject * obj5 = 0 ;
4174 PyObject * obj6 = 0 ;
4175 char * kwnames[] = {
4176 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4177 };
4178
4179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4181 if (!SWIG_IsOK(res1)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4183 }
4184 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4186 if (!SWIG_IsOK(res2)) {
4187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4188 }
4189 arg2 = reinterpret_cast< wxWindow * >(argp2);
4190 if (obj2) {
4191 ecode3 = SWIG_AsVal_int(obj2, &val3);
4192 if (!SWIG_IsOK(ecode3)) {
4193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4194 }
4195 arg3 = static_cast< int >(val3);
4196 }
4197 if (obj3) {
4198 {
4199 arg4 = &temp4;
4200 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4201 }
4202 }
4203 if (obj4) {
4204 {
4205 arg5 = &temp5;
4206 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4207 }
4208 }
4209 if (obj5) {
4210 ecode6 = SWIG_AsVal_long(obj5, &val6);
4211 if (!SWIG_IsOK(ecode6)) {
4212 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4213 }
4214 arg6 = static_cast< long >(val6);
4215 }
4216 if (obj6) {
4217 {
4218 arg7 = wxString_in_helper(obj6);
4219 if (arg7 == NULL) SWIG_fail;
4220 temp7 = true;
4221 }
4222 }
4223 {
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 {
4230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4231 }
4232 {
4233 if (temp7)
4234 delete arg7;
4235 }
4236 return resultobj;
4237 fail:
4238 {
4239 if (temp7)
4240 delete arg7;
4241 }
4242 return NULL;
4243 }
4244
4245
4246 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj = 0;
4248 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4249 int arg2 ;
4250 int arg3 ;
4251 int arg4 ;
4252 int arg5 ;
4253 int arg6 = (int) 0 ;
4254 int arg7 = (int) 0 ;
4255 bool arg8 = (bool) false ;
4256 void *argp1 = 0 ;
4257 int res1 = 0 ;
4258 int val2 ;
4259 int ecode2 = 0 ;
4260 int val3 ;
4261 int ecode3 = 0 ;
4262 int val4 ;
4263 int ecode4 = 0 ;
4264 int val5 ;
4265 int ecode5 = 0 ;
4266 int val6 ;
4267 int ecode6 = 0 ;
4268 int val7 ;
4269 int ecode7 = 0 ;
4270 bool val8 ;
4271 int ecode8 = 0 ;
4272 PyObject * obj0 = 0 ;
4273 PyObject * obj1 = 0 ;
4274 PyObject * obj2 = 0 ;
4275 PyObject * obj3 = 0 ;
4276 PyObject * obj4 = 0 ;
4277 PyObject * obj5 = 0 ;
4278 PyObject * obj6 = 0 ;
4279 PyObject * obj7 = 0 ;
4280 char * kwnames[] = {
4281 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4282 };
4283
4284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4286 if (!SWIG_IsOK(res1)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4288 }
4289 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4290 ecode2 = SWIG_AsVal_int(obj1, &val2);
4291 if (!SWIG_IsOK(ecode2)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4293 }
4294 arg2 = static_cast< int >(val2);
4295 ecode3 = SWIG_AsVal_int(obj2, &val3);
4296 if (!SWIG_IsOK(ecode3)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4298 }
4299 arg3 = static_cast< int >(val3);
4300 ecode4 = SWIG_AsVal_int(obj3, &val4);
4301 if (!SWIG_IsOK(ecode4)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4303 }
4304 arg4 = static_cast< int >(val4);
4305 ecode5 = SWIG_AsVal_int(obj4, &val5);
4306 if (!SWIG_IsOK(ecode5)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4308 }
4309 arg5 = static_cast< int >(val5);
4310 if (obj5) {
4311 ecode6 = SWIG_AsVal_int(obj5, &val6);
4312 if (!SWIG_IsOK(ecode6)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4314 }
4315 arg6 = static_cast< int >(val6);
4316 }
4317 if (obj6) {
4318 ecode7 = SWIG_AsVal_int(obj6, &val7);
4319 if (!SWIG_IsOK(ecode7)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4321 }
4322 arg7 = static_cast< int >(val7);
4323 }
4324 if (obj7) {
4325 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4326 if (!SWIG_IsOK(ecode8)) {
4327 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4328 }
4329 arg8 = static_cast< bool >(val8);
4330 }
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4334 wxPyEndAllowThreads(__tstate);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 resultobj = SWIG_Py_Void();
4338 return resultobj;
4339 fail:
4340 return NULL;
4341 }
4342
4343
4344 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4345 PyObject *resultobj = 0;
4346 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4347 int arg2 ;
4348 int arg3 ;
4349 void *argp1 = 0 ;
4350 int res1 = 0 ;
4351 int val2 ;
4352 int ecode2 = 0 ;
4353 int val3 ;
4354 int ecode3 = 0 ;
4355 PyObject * obj0 = 0 ;
4356 PyObject * obj1 = 0 ;
4357 PyObject * obj2 = 0 ;
4358 char * kwnames[] = {
4359 (char *) "self",(char *) "x",(char *) "y", NULL
4360 };
4361
4362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4364 if (!SWIG_IsOK(res1)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4366 }
4367 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4368 ecode2 = SWIG_AsVal_int(obj1, &val2);
4369 if (!SWIG_IsOK(ecode2)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4371 }
4372 arg2 = static_cast< int >(val2);
4373 ecode3 = SWIG_AsVal_int(obj2, &val3);
4374 if (!SWIG_IsOK(ecode3)) {
4375 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4376 }
4377 arg3 = static_cast< int >(val3);
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 (arg1)->Scroll(arg2,arg3);
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) SWIG_fail;
4383 }
4384 resultobj = SWIG_Py_Void();
4385 return resultobj;
4386 fail:
4387 return NULL;
4388 }
4389
4390
4391 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4392 PyObject *resultobj = 0;
4393 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4394 int arg2 ;
4395 int result;
4396 void *argp1 = 0 ;
4397 int res1 = 0 ;
4398 int val2 ;
4399 int ecode2 = 0 ;
4400 PyObject * obj0 = 0 ;
4401 PyObject * obj1 = 0 ;
4402 char * kwnames[] = {
4403 (char *) "self",(char *) "orient", NULL
4404 };
4405
4406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4408 if (!SWIG_IsOK(res1)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4410 }
4411 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4412 ecode2 = SWIG_AsVal_int(obj1, &val2);
4413 if (!SWIG_IsOK(ecode2)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4415 }
4416 arg2 = static_cast< int >(val2);
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4420 wxPyEndAllowThreads(__tstate);
4421 if (PyErr_Occurred()) SWIG_fail;
4422 }
4423 resultobj = SWIG_From_int(static_cast< int >(result));
4424 return resultobj;
4425 fail:
4426 return NULL;
4427 }
4428
4429
4430 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4431 PyObject *resultobj = 0;
4432 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4433 int arg2 ;
4434 int arg3 ;
4435 void *argp1 = 0 ;
4436 int res1 = 0 ;
4437 int val2 ;
4438 int ecode2 = 0 ;
4439 int val3 ;
4440 int ecode3 = 0 ;
4441 PyObject * obj0 = 0 ;
4442 PyObject * obj1 = 0 ;
4443 PyObject * obj2 = 0 ;
4444 char * kwnames[] = {
4445 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4446 };
4447
4448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4450 if (!SWIG_IsOK(res1)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4452 }
4453 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4454 ecode2 = SWIG_AsVal_int(obj1, &val2);
4455 if (!SWIG_IsOK(ecode2)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4457 }
4458 arg2 = static_cast< int >(val2);
4459 ecode3 = SWIG_AsVal_int(obj2, &val3);
4460 if (!SWIG_IsOK(ecode3)) {
4461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4462 }
4463 arg3 = static_cast< int >(val3);
4464 {
4465 PyThreadState* __tstate = wxPyBeginAllowThreads();
4466 (arg1)->SetScrollPageSize(arg2,arg3);
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 resultobj = SWIG_Py_Void();
4471 return resultobj;
4472 fail:
4473 return NULL;
4474 }
4475
4476
4477 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4478 PyObject *resultobj = 0;
4479 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4480 int arg2 ;
4481 int arg3 ;
4482 void *argp1 = 0 ;
4483 int res1 = 0 ;
4484 int val2 ;
4485 int ecode2 = 0 ;
4486 int val3 ;
4487 int ecode3 = 0 ;
4488 PyObject * obj0 = 0 ;
4489 PyObject * obj1 = 0 ;
4490 PyObject * obj2 = 0 ;
4491 char * kwnames[] = {
4492 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4493 };
4494
4495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4497 if (!SWIG_IsOK(res1)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4499 }
4500 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4501 ecode2 = SWIG_AsVal_int(obj1, &val2);
4502 if (!SWIG_IsOK(ecode2)) {
4503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4504 }
4505 arg2 = static_cast< int >(val2);
4506 ecode3 = SWIG_AsVal_int(obj2, &val3);
4507 if (!SWIG_IsOK(ecode3)) {
4508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4509 }
4510 arg3 = static_cast< int >(val3);
4511 {
4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
4513 (arg1)->SetScrollRate(arg2,arg3);
4514 wxPyEndAllowThreads(__tstate);
4515 if (PyErr_Occurred()) SWIG_fail;
4516 }
4517 resultobj = SWIG_Py_Void();
4518 return resultobj;
4519 fail:
4520 return NULL;
4521 }
4522
4523
4524 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4525 PyObject *resultobj = 0;
4526 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4527 int *arg2 = (int *) 0 ;
4528 int *arg3 = (int *) 0 ;
4529 void *argp1 = 0 ;
4530 int res1 = 0 ;
4531 int temp2 ;
4532 int res2 = SWIG_TMPOBJ ;
4533 int temp3 ;
4534 int res3 = SWIG_TMPOBJ ;
4535 PyObject *swig_obj[1] ;
4536
4537 arg2 = &temp2;
4538 arg3 = &temp3;
4539 if (!args) SWIG_fail;
4540 swig_obj[0] = args;
4541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4542 if (!SWIG_IsOK(res1)) {
4543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4544 }
4545 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4546 {
4547 PyThreadState* __tstate = wxPyBeginAllowThreads();
4548 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 resultobj = SWIG_Py_Void();
4553 if (SWIG_IsTmpObj(res2)) {
4554 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4555 } else {
4556 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4557 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4558 }
4559 if (SWIG_IsTmpObj(res3)) {
4560 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4561 } else {
4562 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4564 }
4565 return resultobj;
4566 fail:
4567 return NULL;
4568 }
4569
4570
4571 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4572 PyObject *resultobj = 0;
4573 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4574 bool arg2 ;
4575 bool arg3 ;
4576 void *argp1 = 0 ;
4577 int res1 = 0 ;
4578 bool val2 ;
4579 int ecode2 = 0 ;
4580 bool val3 ;
4581 int ecode3 = 0 ;
4582 PyObject * obj0 = 0 ;
4583 PyObject * obj1 = 0 ;
4584 PyObject * obj2 = 0 ;
4585 char * kwnames[] = {
4586 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4587 };
4588
4589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4591 if (!SWIG_IsOK(res1)) {
4592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4593 }
4594 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4595 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4596 if (!SWIG_IsOK(ecode2)) {
4597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4598 }
4599 arg2 = static_cast< bool >(val2);
4600 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4601 if (!SWIG_IsOK(ecode3)) {
4602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4603 }
4604 arg3 = static_cast< bool >(val3);
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 (arg1)->EnableScrolling(arg2,arg3);
4608 wxPyEndAllowThreads(__tstate);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 }
4611 resultobj = SWIG_Py_Void();
4612 return resultobj;
4613 fail:
4614 return NULL;
4615 }
4616
4617
4618 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4619 PyObject *resultobj = 0;
4620 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4621 int *arg2 = (int *) 0 ;
4622 int *arg3 = (int *) 0 ;
4623 void *argp1 = 0 ;
4624 int res1 = 0 ;
4625 int temp2 ;
4626 int res2 = SWIG_TMPOBJ ;
4627 int temp3 ;
4628 int res3 = SWIG_TMPOBJ ;
4629 PyObject *swig_obj[1] ;
4630
4631 arg2 = &temp2;
4632 arg3 = &temp3;
4633 if (!args) SWIG_fail;
4634 swig_obj[0] = args;
4635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4636 if (!SWIG_IsOK(res1)) {
4637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4638 }
4639 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
4646 resultobj = SWIG_Py_Void();
4647 if (SWIG_IsTmpObj(res2)) {
4648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4649 } else {
4650 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4652 }
4653 if (SWIG_IsTmpObj(res3)) {
4654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4655 } else {
4656 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4658 }
4659 return resultobj;
4660 fail:
4661 return NULL;
4662 }
4663
4664
4665 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj = 0;
4667 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4668 double arg2 ;
4669 double arg3 ;
4670 void *argp1 = 0 ;
4671 int res1 = 0 ;
4672 double val2 ;
4673 int ecode2 = 0 ;
4674 double val3 ;
4675 int ecode3 = 0 ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 PyObject * obj2 = 0 ;
4679 char * kwnames[] = {
4680 (char *) "self",(char *) "xs",(char *) "ys", NULL
4681 };
4682
4683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4685 if (!SWIG_IsOK(res1)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4687 }
4688 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4689 ecode2 = SWIG_AsVal_double(obj1, &val2);
4690 if (!SWIG_IsOK(ecode2)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4692 }
4693 arg2 = static_cast< double >(val2);
4694 ecode3 = SWIG_AsVal_double(obj2, &val3);
4695 if (!SWIG_IsOK(ecode3)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4697 }
4698 arg3 = static_cast< double >(val3);
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 (arg1)->SetScale(arg2,arg3);
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 resultobj = SWIG_Py_Void();
4706 return resultobj;
4707 fail:
4708 return NULL;
4709 }
4710
4711
4712 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4713 PyObject *resultobj = 0;
4714 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4715 double result;
4716 void *argp1 = 0 ;
4717 int res1 = 0 ;
4718 PyObject *swig_obj[1] ;
4719
4720 if (!args) SWIG_fail;
4721 swig_obj[0] = args;
4722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4723 if (!SWIG_IsOK(res1)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4725 }
4726 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 }
4733 resultobj = SWIG_From_double(static_cast< double >(result));
4734 return resultobj;
4735 fail:
4736 return NULL;
4737 }
4738
4739
4740 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4741 PyObject *resultobj = 0;
4742 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4743 double result;
4744 void *argp1 = 0 ;
4745 int res1 = 0 ;
4746 PyObject *swig_obj[1] ;
4747
4748 if (!args) SWIG_fail;
4749 swig_obj[0] = args;
4750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4751 if (!SWIG_IsOK(res1)) {
4752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4753 }
4754 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
4761 resultobj = SWIG_From_double(static_cast< double >(result));
4762 return resultobj;
4763 fail:
4764 return NULL;
4765 }
4766
4767
4768 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4769 PyObject *resultobj = 0;
4770 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4771 wxPoint *arg2 = 0 ;
4772 wxPoint result;
4773 void *argp1 = 0 ;
4774 int res1 = 0 ;
4775 wxPoint temp2 ;
4776
4777 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4779 if (!SWIG_IsOK(res1)) {
4780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4781 }
4782 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4783 {
4784 arg2 = &temp2;
4785 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4786 }
4787 {
4788 PyThreadState* __tstate = wxPyBeginAllowThreads();
4789 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4794 return resultobj;
4795 fail:
4796 return NULL;
4797 }
4798
4799
4800 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4801 PyObject *resultobj = 0;
4802 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4803 int arg2 ;
4804 int arg3 ;
4805 int *arg4 = (int *) 0 ;
4806 int *arg5 = (int *) 0 ;
4807 void *argp1 = 0 ;
4808 int res1 = 0 ;
4809 int val2 ;
4810 int ecode2 = 0 ;
4811 int val3 ;
4812 int ecode3 = 0 ;
4813 int temp4 ;
4814 int res4 = SWIG_TMPOBJ ;
4815 int temp5 ;
4816 int res5 = SWIG_TMPOBJ ;
4817
4818 arg4 = &temp4;
4819 arg5 = &temp5;
4820 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4822 if (!SWIG_IsOK(res1)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4824 }
4825 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4826 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4827 if (!SWIG_IsOK(ecode2)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4829 }
4830 arg2 = static_cast< int >(val2);
4831 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4832 if (!SWIG_IsOK(ecode3)) {
4833 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4834 }
4835 arg3 = static_cast< int >(val3);
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 resultobj = SWIG_Py_Void();
4843 if (SWIG_IsTmpObj(res4)) {
4844 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4845 } else {
4846 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4847 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4848 }
4849 if (SWIG_IsTmpObj(res5)) {
4850 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4851 } else {
4852 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4854 }
4855 return resultobj;
4856 fail:
4857 return NULL;
4858 }
4859
4860
4861 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4862 int argc;
4863 PyObject *argv[4];
4864
4865 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4866 --argc;
4867 if (argc == 2) {
4868 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4869 }
4870 if (argc == 3) {
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4872 }
4873
4874 fail:
4875 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4876 return NULL;
4877 }
4878
4879
4880 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4881 PyObject *resultobj = 0;
4882 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4883 wxPoint *arg2 = 0 ;
4884 wxPoint result;
4885 void *argp1 = 0 ;
4886 int res1 = 0 ;
4887 wxPoint temp2 ;
4888
4889 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4891 if (!SWIG_IsOK(res1)) {
4892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4893 }
4894 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4895 {
4896 arg2 = &temp2;
4897 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4898 }
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4906 return resultobj;
4907 fail:
4908 return NULL;
4909 }
4910
4911
4912 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4913 PyObject *resultobj = 0;
4914 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4915 int arg2 ;
4916 int arg3 ;
4917 int *arg4 = (int *) 0 ;
4918 int *arg5 = (int *) 0 ;
4919 void *argp1 = 0 ;
4920 int res1 = 0 ;
4921 int val2 ;
4922 int ecode2 = 0 ;
4923 int val3 ;
4924 int ecode3 = 0 ;
4925 int temp4 ;
4926 int res4 = SWIG_TMPOBJ ;
4927 int temp5 ;
4928 int res5 = SWIG_TMPOBJ ;
4929
4930 arg4 = &temp4;
4931 arg5 = &temp5;
4932 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4934 if (!SWIG_IsOK(res1)) {
4935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4936 }
4937 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4938 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4939 if (!SWIG_IsOK(ecode2)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4941 }
4942 arg2 = static_cast< int >(val2);
4943 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4944 if (!SWIG_IsOK(ecode3)) {
4945 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4946 }
4947 arg3 = static_cast< int >(val3);
4948 {
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 resultobj = SWIG_Py_Void();
4955 if (SWIG_IsTmpObj(res4)) {
4956 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4957 } else {
4958 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4959 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4960 }
4961 if (SWIG_IsTmpObj(res5)) {
4962 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4963 } else {
4964 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4965 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4966 }
4967 return resultobj;
4968 fail:
4969 return NULL;
4970 }
4971
4972
4973 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4974 int argc;
4975 PyObject *argv[4];
4976
4977 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4978 --argc;
4979 if (argc == 2) {
4980 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4981 }
4982 if (argc == 3) {
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4984 }
4985
4986 fail:
4987 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4988 return NULL;
4989 }
4990
4991
4992 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4993 PyObject *resultobj = 0;
4994 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4995 void *argp1 = 0 ;
4996 int res1 = 0 ;
4997 PyObject *swig_obj[1] ;
4998
4999 if (!args) SWIG_fail;
5000 swig_obj[0] = args;
5001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5002 if (!SWIG_IsOK(res1)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5004 }
5005 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 (arg1)->AdjustScrollbars();
5009 wxPyEndAllowThreads(__tstate);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
5012 resultobj = SWIG_Py_Void();
5013 return resultobj;
5014 fail:
5015 return NULL;
5016 }
5017
5018
5019 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5020 PyObject *resultobj = 0;
5021 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5022 wxScrollWinEvent *arg2 = 0 ;
5023 int result;
5024 void *argp1 = 0 ;
5025 int res1 = 0 ;
5026 void *argp2 = 0 ;
5027 int res2 = 0 ;
5028 PyObject * obj0 = 0 ;
5029 PyObject * obj1 = 0 ;
5030 char * kwnames[] = {
5031 (char *) "self",(char *) "event", NULL
5032 };
5033
5034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5036 if (!SWIG_IsOK(res1)) {
5037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5038 }
5039 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5040 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5041 if (!SWIG_IsOK(res2)) {
5042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5043 }
5044 if (!argp2) {
5045 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 }
5047 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
5050 result = (int)(arg1)->CalcScrollInc(*arg2);
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 resultobj = SWIG_From_int(static_cast< int >(result));
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj = 0;
5063 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5064 wxWindow *arg2 = (wxWindow *) 0 ;
5065 void *argp1 = 0 ;
5066 int res1 = 0 ;
5067 void *argp2 = 0 ;
5068 int res2 = 0 ;
5069 PyObject * obj0 = 0 ;
5070 PyObject * obj1 = 0 ;
5071 char * kwnames[] = {
5072 (char *) "self",(char *) "target", NULL
5073 };
5074
5075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5077 if (!SWIG_IsOK(res1)) {
5078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5079 }
5080 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5081 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5082 if (!SWIG_IsOK(res2)) {
5083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5084 }
5085 arg2 = reinterpret_cast< wxWindow * >(argp2);
5086 {
5087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5088 (arg1)->SetTargetWindow(arg2);
5089 wxPyEndAllowThreads(__tstate);
5090 if (PyErr_Occurred()) SWIG_fail;
5091 }
5092 resultobj = SWIG_Py_Void();
5093 return resultobj;
5094 fail:
5095 return NULL;
5096 }
5097
5098
5099 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5100 PyObject *resultobj = 0;
5101 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5102 wxWindow *result = 0 ;
5103 void *argp1 = 0 ;
5104 int res1 = 0 ;
5105 PyObject *swig_obj[1] ;
5106
5107 if (!args) SWIG_fail;
5108 swig_obj[0] = args;
5109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5110 if (!SWIG_IsOK(res1)) {
5111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5112 }
5113 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 {
5121 resultobj = wxPyMake_wxObject(result, 0);
5122 }
5123 return resultobj;
5124 fail:
5125 return NULL;
5126 }
5127
5128
5129 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5130 PyObject *resultobj = 0;
5131 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5132 wxRect *arg2 = 0 ;
5133 void *argp1 = 0 ;
5134 int res1 = 0 ;
5135 wxRect temp2 ;
5136 PyObject * obj0 = 0 ;
5137 PyObject * obj1 = 0 ;
5138 char * kwnames[] = {
5139 (char *) "self",(char *) "rect", NULL
5140 };
5141
5142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5144 if (!SWIG_IsOK(res1)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5146 }
5147 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5148 {
5149 arg2 = &temp2;
5150 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5151 }
5152 {
5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
5154 (arg1)->SetTargetRect((wxRect const &)*arg2);
5155 wxPyEndAllowThreads(__tstate);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 resultobj = SWIG_Py_Void();
5159 return resultobj;
5160 fail:
5161 return NULL;
5162 }
5163
5164
5165 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5166 PyObject *resultobj = 0;
5167 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5168 wxRect result;
5169 void *argp1 = 0 ;
5170 int res1 = 0 ;
5171 PyObject *swig_obj[1] ;
5172
5173 if (!args) SWIG_fail;
5174 swig_obj[0] = args;
5175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5176 if (!SWIG_IsOK(res1)) {
5177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5178 }
5179 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5180 {
5181 PyThreadState* __tstate = wxPyBeginAllowThreads();
5182 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5187 return resultobj;
5188 fail:
5189 return NULL;
5190 }
5191
5192
5193 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5194 PyObject *resultobj = 0;
5195 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5196 wxDC *arg2 = 0 ;
5197 void *argp1 = 0 ;
5198 int res1 = 0 ;
5199 void *argp2 = 0 ;
5200 int res2 = 0 ;
5201 PyObject * obj0 = 0 ;
5202 PyObject * obj1 = 0 ;
5203 char * kwnames[] = {
5204 (char *) "self",(char *) "dc", NULL
5205 };
5206
5207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5209 if (!SWIG_IsOK(res1)) {
5210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5211 }
5212 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5213 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5214 if (!SWIG_IsOK(res2)) {
5215 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5216 }
5217 if (!argp2) {
5218 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 }
5220 arg2 = reinterpret_cast< wxDC * >(argp2);
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 (arg1)->DoPrepareDC(*arg2);
5224 wxPyEndAllowThreads(__tstate);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
5227 resultobj = SWIG_Py_Void();
5228 return resultobj;
5229 fail:
5230 return NULL;
5231 }
5232
5233
5234 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5235 PyObject *resultobj = 0;
5236 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5237 SwigValueWrapper<wxVisualAttributes > result;
5238 int val1 ;
5239 int ecode1 = 0 ;
5240 PyObject * obj0 = 0 ;
5241 char * kwnames[] = {
5242 (char *) "variant", NULL
5243 };
5244
5245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5246 if (obj0) {
5247 ecode1 = SWIG_AsVal_int(obj0, &val1);
5248 if (!SWIG_IsOK(ecode1)) {
5249 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5250 }
5251 arg1 = static_cast< wxWindowVariant >(val1);
5252 }
5253 {
5254 if (!wxPyCheckForApp()) SWIG_fail;
5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
5256 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5261 return resultobj;
5262 fail:
5263 return NULL;
5264 }
5265
5266
5267 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5268 PyObject *obj;
5269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5270 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5271 return SWIG_Py_Void();
5272 }
5273
5274 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5275 return SWIG_Python_InitShadowInstance(args);
5276 }
5277
5278 SWIGINTERN int FrameNameStr_set(PyObject *) {
5279 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5280 return 1;
5281 }
5282
5283
5284 SWIGINTERN PyObject *FrameNameStr_get(void) {
5285 PyObject *pyobj = 0;
5286
5287 {
5288 #if wxUSE_UNICODE
5289 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5290 #else
5291 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5292 #endif
5293 }
5294 return pyobj;
5295 }
5296
5297
5298 SWIGINTERN int DialogNameStr_set(PyObject *) {
5299 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5300 return 1;
5301 }
5302
5303
5304 SWIGINTERN PyObject *DialogNameStr_get(void) {
5305 PyObject *pyobj = 0;
5306
5307 {
5308 #if wxUSE_UNICODE
5309 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5310 #else
5311 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5312 #endif
5313 }
5314 return pyobj;
5315 }
5316
5317
5318 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5319 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5320 return 1;
5321 }
5322
5323
5324 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5325 PyObject *pyobj = 0;
5326
5327 {
5328 #if wxUSE_UNICODE
5329 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5330 #else
5331 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5332 #endif
5333 }
5334 return pyobj;
5335 }
5336
5337
5338 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5339 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5340 return 1;
5341 }
5342
5343
5344 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5345 PyObject *pyobj = 0;
5346
5347 {
5348 #if wxUSE_UNICODE
5349 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5350 #else
5351 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5352 #endif
5353 }
5354 return pyobj;
5355 }
5356
5357
5358 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5359 PyObject *resultobj = 0;
5360 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5361 bool arg2 = (bool) true ;
5362 void *argp1 = 0 ;
5363 int res1 = 0 ;
5364 bool val2 ;
5365 int ecode2 = 0 ;
5366 PyObject * obj0 = 0 ;
5367 PyObject * obj1 = 0 ;
5368 char * kwnames[] = {
5369 (char *) "self",(char *) "maximize", NULL
5370 };
5371
5372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5374 if (!SWIG_IsOK(res1)) {
5375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5376 }
5377 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5378 if (obj1) {
5379 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5380 if (!SWIG_IsOK(ecode2)) {
5381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5382 }
5383 arg2 = static_cast< bool >(val2);
5384 }
5385 {
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 (arg1)->Maximize(arg2);
5388 wxPyEndAllowThreads(__tstate);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 }
5391 resultobj = SWIG_Py_Void();
5392 return resultobj;
5393 fail:
5394 return NULL;
5395 }
5396
5397
5398 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5399 PyObject *resultobj = 0;
5400 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5401 void *argp1 = 0 ;
5402 int res1 = 0 ;
5403 PyObject *swig_obj[1] ;
5404
5405 if (!args) SWIG_fail;
5406 swig_obj[0] = args;
5407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5408 if (!SWIG_IsOK(res1)) {
5409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5410 }
5411 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 (arg1)->Restore();
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 resultobj = SWIG_Py_Void();
5419 return resultobj;
5420 fail:
5421 return NULL;
5422 }
5423
5424
5425 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj = 0;
5427 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5428 bool arg2 = (bool) true ;
5429 void *argp1 = 0 ;
5430 int res1 = 0 ;
5431 bool val2 ;
5432 int ecode2 = 0 ;
5433 PyObject * obj0 = 0 ;
5434 PyObject * obj1 = 0 ;
5435 char * kwnames[] = {
5436 (char *) "self",(char *) "iconize", NULL
5437 };
5438
5439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5441 if (!SWIG_IsOK(res1)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5443 }
5444 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5445 if (obj1) {
5446 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5447 if (!SWIG_IsOK(ecode2)) {
5448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5449 }
5450 arg2 = static_cast< bool >(val2);
5451 }
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 (arg1)->Iconize(arg2);
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 resultobj = SWIG_Py_Void();
5459 return resultobj;
5460 fail:
5461 return NULL;
5462 }
5463
5464
5465 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5466 PyObject *resultobj = 0;
5467 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5468 bool result;
5469 void *argp1 = 0 ;
5470 int res1 = 0 ;
5471 PyObject *swig_obj[1] ;
5472
5473 if (!args) SWIG_fail;
5474 swig_obj[0] = args;
5475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5476 if (!SWIG_IsOK(res1)) {
5477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5478 }
5479 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5480 {
5481 PyThreadState* __tstate = wxPyBeginAllowThreads();
5482 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 {
5487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5488 }
5489 return resultobj;
5490 fail:
5491 return NULL;
5492 }
5493
5494
5495 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5496 PyObject *resultobj = 0;
5497 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5498 bool result;
5499 void *argp1 = 0 ;
5500 int res1 = 0 ;
5501 PyObject *swig_obj[1] ;
5502
5503 if (!args) SWIG_fail;
5504 swig_obj[0] = args;
5505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5506 if (!SWIG_IsOK(res1)) {
5507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5508 }
5509 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 {
5517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5518 }
5519 return resultobj;
5520 fail:
5521 return NULL;
5522 }
5523
5524
5525 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5526 PyObject *resultobj = 0;
5527 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5528 bool result;
5529 void *argp1 = 0 ;
5530 int res1 = 0 ;
5531 PyObject *swig_obj[1] ;
5532
5533 if (!args) SWIG_fail;
5534 swig_obj[0] = args;
5535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5536 if (!SWIG_IsOK(res1)) {
5537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5538 }
5539 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 {
5547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5548 }
5549 return resultobj;
5550 fail:
5551 return NULL;
5552 }
5553
5554
5555 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5556 PyObject *resultobj = 0;
5557 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5558 wxIcon result;
5559 void *argp1 = 0 ;
5560 int res1 = 0 ;
5561 PyObject *swig_obj[1] ;
5562
5563 if (!args) SWIG_fail;
5564 swig_obj[0] = args;
5565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5566 if (!SWIG_IsOK(res1)) {
5567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5568 }
5569 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5573 wxPyEndAllowThreads(__tstate);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 }
5576 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5577 return resultobj;
5578 fail:
5579 return NULL;
5580 }
5581
5582
5583 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5584 PyObject *resultobj = 0;
5585 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5586 wxIcon *arg2 = 0 ;
5587 void *argp1 = 0 ;
5588 int res1 = 0 ;
5589 void *argp2 = 0 ;
5590 int res2 = 0 ;
5591 PyObject * obj0 = 0 ;
5592 PyObject * obj1 = 0 ;
5593 char * kwnames[] = {
5594 (char *) "self",(char *) "icon", NULL
5595 };
5596
5597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5599 if (!SWIG_IsOK(res1)) {
5600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5601 }
5602 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5603 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5604 if (!SWIG_IsOK(res2)) {
5605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5606 }
5607 if (!argp2) {
5608 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 }
5610 arg2 = reinterpret_cast< wxIcon * >(argp2);
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 (arg1)->SetIcon((wxIcon const &)*arg2);
5614 wxPyEndAllowThreads(__tstate);
5615 if (PyErr_Occurred()) SWIG_fail;
5616 }
5617 resultobj = SWIG_Py_Void();
5618 return resultobj;
5619 fail:
5620 return NULL;
5621 }
5622
5623
5624 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5625 PyObject *resultobj = 0;
5626 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5627 wxIconBundle *arg2 = 0 ;
5628 void *argp1 = 0 ;
5629 int res1 = 0 ;
5630 void *argp2 = 0 ;
5631 int res2 = 0 ;
5632 PyObject * obj0 = 0 ;
5633 PyObject * obj1 = 0 ;
5634 char * kwnames[] = {
5635 (char *) "self",(char *) "icons", NULL
5636 };
5637
5638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5640 if (!SWIG_IsOK(res1)) {
5641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5642 }
5643 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5644 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5645 if (!SWIG_IsOK(res2)) {
5646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5647 }
5648 if (!argp2) {
5649 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 }
5651 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5655 wxPyEndAllowThreads(__tstate);
5656 if (PyErr_Occurred()) SWIG_fail;
5657 }
5658 resultobj = SWIG_Py_Void();
5659 return resultobj;
5660 fail:
5661 return NULL;
5662 }
5663
5664
5665 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5666 PyObject *resultobj = 0;
5667 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5668 bool arg2 ;
5669 long arg3 = (long) wxFULLSCREEN_ALL ;
5670 bool result;
5671 void *argp1 = 0 ;
5672 int res1 = 0 ;
5673 bool val2 ;
5674 int ecode2 = 0 ;
5675 long val3 ;
5676 int ecode3 = 0 ;
5677 PyObject * obj0 = 0 ;
5678 PyObject * obj1 = 0 ;
5679 PyObject * obj2 = 0 ;
5680 char * kwnames[] = {
5681 (char *) "self",(char *) "show",(char *) "style", NULL
5682 };
5683
5684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5686 if (!SWIG_IsOK(res1)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5688 }
5689 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5690 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5691 if (!SWIG_IsOK(ecode2)) {
5692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5693 }
5694 arg2 = static_cast< bool >(val2);
5695 if (obj2) {
5696 ecode3 = SWIG_AsVal_long(obj2, &val3);
5697 if (!SWIG_IsOK(ecode3)) {
5698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5699 }
5700 arg3 = static_cast< long >(val3);
5701 }
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 {
5709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5710 }
5711 return resultobj;
5712 fail:
5713 return NULL;
5714 }
5715
5716
5717 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5718 PyObject *resultobj = 0;
5719 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5720 bool result;
5721 void *argp1 = 0 ;
5722 int res1 = 0 ;
5723 PyObject *swig_obj[1] ;
5724
5725 if (!args) SWIG_fail;
5726 swig_obj[0] = args;
5727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5728 if (!SWIG_IsOK(res1)) {
5729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5730 }
5731 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 {
5739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5740 }
5741 return resultobj;
5742 fail:
5743 return NULL;
5744 }
5745
5746
5747 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj = 0;
5749 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5750 wxString *arg2 = 0 ;
5751 void *argp1 = 0 ;
5752 int res1 = 0 ;
5753 bool temp2 = false ;
5754 PyObject * obj0 = 0 ;
5755 PyObject * obj1 = 0 ;
5756 char * kwnames[] = {
5757 (char *) "self",(char *) "title", NULL
5758 };
5759
5760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5762 if (!SWIG_IsOK(res1)) {
5763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5764 }
5765 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5766 {
5767 arg2 = wxString_in_helper(obj1);
5768 if (arg2 == NULL) SWIG_fail;
5769 temp2 = true;
5770 }
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 (arg1)->SetTitle((wxString const &)*arg2);
5774 wxPyEndAllowThreads(__tstate);
5775 if (PyErr_Occurred()) SWIG_fail;
5776 }
5777 resultobj = SWIG_Py_Void();
5778 {
5779 if (temp2)
5780 delete arg2;
5781 }
5782 return resultobj;
5783 fail:
5784 {
5785 if (temp2)
5786 delete arg2;
5787 }
5788 return NULL;
5789 }
5790
5791
5792 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5793 PyObject *resultobj = 0;
5794 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5795 wxString result;
5796 void *argp1 = 0 ;
5797 int res1 = 0 ;
5798 PyObject *swig_obj[1] ;
5799
5800 if (!args) SWIG_fail;
5801 swig_obj[0] = args;
5802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5803 if (!SWIG_IsOK(res1)) {
5804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5805 }
5806 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5810 wxPyEndAllowThreads(__tstate);
5811 if (PyErr_Occurred()) SWIG_fail;
5812 }
5813 {
5814 #if wxUSE_UNICODE
5815 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5816 #else
5817 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5818 #endif
5819 }
5820 return resultobj;
5821 fail:
5822 return NULL;
5823 }
5824
5825
5826 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5827 PyObject *resultobj = 0;
5828 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5829 wxRegion *arg2 = 0 ;
5830 bool result;
5831 void *argp1 = 0 ;
5832 int res1 = 0 ;
5833 void *argp2 = 0 ;
5834 int res2 = 0 ;
5835 PyObject * obj0 = 0 ;
5836 PyObject * obj1 = 0 ;
5837 char * kwnames[] = {
5838 (char *) "self",(char *) "region", NULL
5839 };
5840
5841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5843 if (!SWIG_IsOK(res1)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5845 }
5846 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5847 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5848 if (!SWIG_IsOK(res2)) {
5849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5850 }
5851 if (!argp2) {
5852 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5853 }
5854 arg2 = reinterpret_cast< wxRegion * >(argp2);
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 {
5862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5863 }
5864 return resultobj;
5865 fail:
5866 return NULL;
5867 }
5868
5869
5870 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5871 PyObject *resultobj = 0;
5872 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5873 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5874 void *argp1 = 0 ;
5875 int res1 = 0 ;
5876 int val2 ;
5877 int ecode2 = 0 ;
5878 PyObject * obj0 = 0 ;
5879 PyObject * obj1 = 0 ;
5880 char * kwnames[] = {
5881 (char *) "self",(char *) "flags", NULL
5882 };
5883
5884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5886 if (!SWIG_IsOK(res1)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5888 }
5889 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5890 if (obj1) {
5891 ecode2 = SWIG_AsVal_int(obj1, &val2);
5892 if (!SWIG_IsOK(ecode2)) {
5893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5894 }
5895 arg2 = static_cast< int >(val2);
5896 }
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 (arg1)->RequestUserAttention(arg2);
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 resultobj = SWIG_Py_Void();
5904 return resultobj;
5905 fail:
5906 return NULL;
5907 }
5908
5909
5910 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5911 PyObject *resultobj = 0;
5912 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5913 bool result;
5914 void *argp1 = 0 ;
5915 int res1 = 0 ;
5916 PyObject *swig_obj[1] ;
5917
5918 if (!args) SWIG_fail;
5919 swig_obj[0] = args;
5920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5921 if (!SWIG_IsOK(res1)) {
5922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5923 }
5924 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5925 {
5926 PyThreadState* __tstate = wxPyBeginAllowThreads();
5927 result = (bool)(arg1)->IsActive();
5928 wxPyEndAllowThreads(__tstate);
5929 if (PyErr_Occurred()) SWIG_fail;
5930 }
5931 {
5932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5933 }
5934 return resultobj;
5935 fail:
5936 return NULL;
5937 }
5938
5939
5940 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5941 PyObject *resultobj = 0;
5942 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5943 bool arg2 ;
5944 void *argp1 = 0 ;
5945 int res1 = 0 ;
5946 bool val2 ;
5947 int ecode2 = 0 ;
5948 PyObject * obj0 = 0 ;
5949 PyObject * obj1 = 0 ;
5950 char * kwnames[] = {
5951 (char *) "self",(char *) "on", NULL
5952 };
5953
5954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5956 if (!SWIG_IsOK(res1)) {
5957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5958 }
5959 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5960 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5961 if (!SWIG_IsOK(ecode2)) {
5962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5963 }
5964 arg2 = static_cast< bool >(val2);
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 resultobj = SWIG_Py_Void();
5972 return resultobj;
5973 fail:
5974 return NULL;
5975 }
5976
5977
5978 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5979 PyObject *resultobj = 0;
5980 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5981 bool result;
5982 void *argp1 = 0 ;
5983 int res1 = 0 ;
5984 PyObject *swig_obj[1] ;
5985
5986 if (!args) SWIG_fail;
5987 swig_obj[0] = args;
5988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5989 if (!SWIG_IsOK(res1)) {
5990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5991 }
5992 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 {
6000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6001 }
6002 return resultobj;
6003 fail:
6004 return NULL;
6005 }
6006
6007
6008 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6009 PyObject *resultobj = 0;
6010 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6011 int arg2 = (int) wxBOTH ;
6012 void *argp1 = 0 ;
6013 int res1 = 0 ;
6014 int val2 ;
6015 int ecode2 = 0 ;
6016 PyObject * obj0 = 0 ;
6017 PyObject * obj1 = 0 ;
6018 char * kwnames[] = {
6019 (char *) "self",(char *) "dir", NULL
6020 };
6021
6022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6024 if (!SWIG_IsOK(res1)) {
6025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6026 }
6027 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6028 if (obj1) {
6029 ecode2 = SWIG_AsVal_int(obj1, &val2);
6030 if (!SWIG_IsOK(ecode2)) {
6031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6032 }
6033 arg2 = static_cast< int >(val2);
6034 }
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 (arg1)->CenterOnScreen(arg2);
6038 wxPyEndAllowThreads(__tstate);
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
6041 resultobj = SWIG_Py_Void();
6042 return resultobj;
6043 fail:
6044 return NULL;
6045 }
6046
6047
6048 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6049 PyObject *obj;
6050 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6051 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6052 return SWIG_Py_Void();
6053 }
6054
6055 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6056 PyObject *resultobj = 0;
6057 wxWindow *arg1 = (wxWindow *) 0 ;
6058 int arg2 = (int) (int)-1 ;
6059 wxString const &arg3_defvalue = wxPyEmptyString ;
6060 wxString *arg3 = (wxString *) &arg3_defvalue ;
6061 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6062 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6063 wxSize const &arg5_defvalue = wxDefaultSize ;
6064 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6065 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6066 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6067 wxString *arg7 = (wxString *) &arg7_defvalue ;
6068 wxFrame *result = 0 ;
6069 void *argp1 = 0 ;
6070 int res1 = 0 ;
6071 int val2 ;
6072 int ecode2 = 0 ;
6073 bool temp3 = false ;
6074 wxPoint temp4 ;
6075 wxSize temp5 ;
6076 long val6 ;
6077 int ecode6 = 0 ;
6078 bool temp7 = false ;
6079 PyObject * obj0 = 0 ;
6080 PyObject * obj1 = 0 ;
6081 PyObject * obj2 = 0 ;
6082 PyObject * obj3 = 0 ;
6083 PyObject * obj4 = 0 ;
6084 PyObject * obj5 = 0 ;
6085 PyObject * obj6 = 0 ;
6086 char * kwnames[] = {
6087 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6088 };
6089
6090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6092 if (!SWIG_IsOK(res1)) {
6093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6094 }
6095 arg1 = reinterpret_cast< wxWindow * >(argp1);
6096 if (obj1) {
6097 ecode2 = SWIG_AsVal_int(obj1, &val2);
6098 if (!SWIG_IsOK(ecode2)) {
6099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6100 }
6101 arg2 = static_cast< int >(val2);
6102 }
6103 if (obj2) {
6104 {
6105 arg3 = wxString_in_helper(obj2);
6106 if (arg3 == NULL) SWIG_fail;
6107 temp3 = true;
6108 }
6109 }
6110 if (obj3) {
6111 {
6112 arg4 = &temp4;
6113 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6114 }
6115 }
6116 if (obj4) {
6117 {
6118 arg5 = &temp5;
6119 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6120 }
6121 }
6122 if (obj5) {
6123 ecode6 = SWIG_AsVal_long(obj5, &val6);
6124 if (!SWIG_IsOK(ecode6)) {
6125 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6126 }
6127 arg6 = static_cast< long >(val6);
6128 }
6129 if (obj6) {
6130 {
6131 arg7 = wxString_in_helper(obj6);
6132 if (arg7 == NULL) SWIG_fail;
6133 temp7 = true;
6134 }
6135 }
6136 {
6137 if (!wxPyCheckForApp()) SWIG_fail;
6138 PyThreadState* __tstate = wxPyBeginAllowThreads();
6139 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6144 {
6145 if (temp3)
6146 delete arg3;
6147 }
6148 {
6149 if (temp7)
6150 delete arg7;
6151 }
6152 return resultobj;
6153 fail:
6154 {
6155 if (temp3)
6156 delete arg3;
6157 }
6158 {
6159 if (temp7)
6160 delete arg7;
6161 }
6162 return NULL;
6163 }
6164
6165
6166 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6167 PyObject *resultobj = 0;
6168 wxFrame *result = 0 ;
6169
6170 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6171 {
6172 if (!wxPyCheckForApp()) SWIG_fail;
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 result = (wxFrame *)new wxFrame();
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6179 return resultobj;
6180 fail:
6181 return NULL;
6182 }
6183
6184
6185 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj = 0;
6187 wxFrame *arg1 = (wxFrame *) 0 ;
6188 wxWindow *arg2 = (wxWindow *) 0 ;
6189 int arg3 = (int) (int)-1 ;
6190 wxString const &arg4_defvalue = wxPyEmptyString ;
6191 wxString *arg4 = (wxString *) &arg4_defvalue ;
6192 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6193 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6194 wxSize const &arg6_defvalue = wxDefaultSize ;
6195 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6196 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6197 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6198 wxString *arg8 = (wxString *) &arg8_defvalue ;
6199 bool result;
6200 void *argp1 = 0 ;
6201 int res1 = 0 ;
6202 void *argp2 = 0 ;
6203 int res2 = 0 ;
6204 int val3 ;
6205 int ecode3 = 0 ;
6206 bool temp4 = false ;
6207 wxPoint temp5 ;
6208 wxSize temp6 ;
6209 long val7 ;
6210 int ecode7 = 0 ;
6211 bool temp8 = false ;
6212 PyObject * obj0 = 0 ;
6213 PyObject * obj1 = 0 ;
6214 PyObject * obj2 = 0 ;
6215 PyObject * obj3 = 0 ;
6216 PyObject * obj4 = 0 ;
6217 PyObject * obj5 = 0 ;
6218 PyObject * obj6 = 0 ;
6219 PyObject * obj7 = 0 ;
6220 char * kwnames[] = {
6221 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6222 };
6223
6224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6226 if (!SWIG_IsOK(res1)) {
6227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6228 }
6229 arg1 = reinterpret_cast< wxFrame * >(argp1);
6230 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6231 if (!SWIG_IsOK(res2)) {
6232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6233 }
6234 arg2 = reinterpret_cast< wxWindow * >(argp2);
6235 if (obj2) {
6236 ecode3 = SWIG_AsVal_int(obj2, &val3);
6237 if (!SWIG_IsOK(ecode3)) {
6238 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6239 }
6240 arg3 = static_cast< int >(val3);
6241 }
6242 if (obj3) {
6243 {
6244 arg4 = wxString_in_helper(obj3);
6245 if (arg4 == NULL) SWIG_fail;
6246 temp4 = true;
6247 }
6248 }
6249 if (obj4) {
6250 {
6251 arg5 = &temp5;
6252 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6253 }
6254 }
6255 if (obj5) {
6256 {
6257 arg6 = &temp6;
6258 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6259 }
6260 }
6261 if (obj6) {
6262 ecode7 = SWIG_AsVal_long(obj6, &val7);
6263 if (!SWIG_IsOK(ecode7)) {
6264 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6265 }
6266 arg7 = static_cast< long >(val7);
6267 }
6268 if (obj7) {
6269 {
6270 arg8 = wxString_in_helper(obj7);
6271 if (arg8 == NULL) SWIG_fail;
6272 temp8 = true;
6273 }
6274 }
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6278 wxPyEndAllowThreads(__tstate);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 {
6282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6283 }
6284 {
6285 if (temp4)
6286 delete arg4;
6287 }
6288 {
6289 if (temp8)
6290 delete arg8;
6291 }
6292 return resultobj;
6293 fail:
6294 {
6295 if (temp4)
6296 delete arg4;
6297 }
6298 {
6299 if (temp8)
6300 delete arg8;
6301 }
6302 return NULL;
6303 }
6304
6305
6306 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6307 PyObject *resultobj = 0;
6308 wxFrame *arg1 = (wxFrame *) 0 ;
6309 void *argp1 = 0 ;
6310 int res1 = 0 ;
6311 PyObject *swig_obj[1] ;
6312
6313 if (!args) SWIG_fail;
6314 swig_obj[0] = args;
6315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6316 if (!SWIG_IsOK(res1)) {
6317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6318 }
6319 arg1 = reinterpret_cast< wxFrame * >(argp1);
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 (arg1)->SendSizeEvent();
6323 wxPyEndAllowThreads(__tstate);
6324 if (PyErr_Occurred()) SWIG_fail;
6325 }
6326 resultobj = SWIG_Py_Void();
6327 return resultobj;
6328 fail:
6329 return NULL;
6330 }
6331
6332
6333 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6334 PyObject *resultobj = 0;
6335 wxFrame *arg1 = (wxFrame *) 0 ;
6336 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6337 void *argp1 = 0 ;
6338 int res1 = 0 ;
6339 void *argp2 = 0 ;
6340 int res2 = 0 ;
6341 PyObject * obj0 = 0 ;
6342 PyObject * obj1 = 0 ;
6343 char * kwnames[] = {
6344 (char *) "self",(char *) "menubar", NULL
6345 };
6346
6347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6349 if (!SWIG_IsOK(res1)) {
6350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6351 }
6352 arg1 = reinterpret_cast< wxFrame * >(argp1);
6353 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6354 if (!SWIG_IsOK(res2)) {
6355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6356 }
6357 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 (arg1)->SetMenuBar(arg2);
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 resultobj = SWIG_Py_Void();
6365 return resultobj;
6366 fail:
6367 return NULL;
6368 }
6369
6370
6371 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6372 PyObject *resultobj = 0;
6373 wxFrame *arg1 = (wxFrame *) 0 ;
6374 wxMenuBar *result = 0 ;
6375 void *argp1 = 0 ;
6376 int res1 = 0 ;
6377 PyObject *swig_obj[1] ;
6378
6379 if (!args) SWIG_fail;
6380 swig_obj[0] = args;
6381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6382 if (!SWIG_IsOK(res1)) {
6383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6384 }
6385 arg1 = reinterpret_cast< wxFrame * >(argp1);
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 {
6393 resultobj = wxPyMake_wxObject(result, 0);
6394 }
6395 return resultobj;
6396 fail:
6397 return NULL;
6398 }
6399
6400
6401 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj = 0;
6403 wxFrame *arg1 = (wxFrame *) 0 ;
6404 int arg2 ;
6405 bool result;
6406 void *argp1 = 0 ;
6407 int res1 = 0 ;
6408 int val2 ;
6409 int ecode2 = 0 ;
6410 PyObject * obj0 = 0 ;
6411 PyObject * obj1 = 0 ;
6412 char * kwnames[] = {
6413 (char *) "self",(char *) "winid", NULL
6414 };
6415
6416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6418 if (!SWIG_IsOK(res1)) {
6419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6420 }
6421 arg1 = reinterpret_cast< wxFrame * >(argp1);
6422 ecode2 = SWIG_AsVal_int(obj1, &val2);
6423 if (!SWIG_IsOK(ecode2)) {
6424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6425 }
6426 arg2 = static_cast< int >(val2);
6427 {
6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6429 result = (bool)(arg1)->ProcessCommand(arg2);
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 {
6434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6435 }
6436 return resultobj;
6437 fail:
6438 return NULL;
6439 }
6440
6441
6442 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6443 PyObject *resultobj = 0;
6444 wxFrame *arg1 = (wxFrame *) 0 ;
6445 int arg2 = (int) 1 ;
6446 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6447 int arg4 = (int) 0 ;
6448 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6449 wxString *arg5 = (wxString *) &arg5_defvalue ;
6450 wxStatusBar *result = 0 ;
6451 void *argp1 = 0 ;
6452 int res1 = 0 ;
6453 int val2 ;
6454 int ecode2 = 0 ;
6455 long val3 ;
6456 int ecode3 = 0 ;
6457 int val4 ;
6458 int ecode4 = 0 ;
6459 bool temp5 = false ;
6460 PyObject * obj0 = 0 ;
6461 PyObject * obj1 = 0 ;
6462 PyObject * obj2 = 0 ;
6463 PyObject * obj3 = 0 ;
6464 PyObject * obj4 = 0 ;
6465 char * kwnames[] = {
6466 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6467 };
6468
6469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6471 if (!SWIG_IsOK(res1)) {
6472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6473 }
6474 arg1 = reinterpret_cast< wxFrame * >(argp1);
6475 if (obj1) {
6476 ecode2 = SWIG_AsVal_int(obj1, &val2);
6477 if (!SWIG_IsOK(ecode2)) {
6478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6479 }
6480 arg2 = static_cast< int >(val2);
6481 }
6482 if (obj2) {
6483 ecode3 = SWIG_AsVal_long(obj2, &val3);
6484 if (!SWIG_IsOK(ecode3)) {
6485 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6486 }
6487 arg3 = static_cast< long >(val3);
6488 }
6489 if (obj3) {
6490 ecode4 = SWIG_AsVal_int(obj3, &val4);
6491 if (!SWIG_IsOK(ecode4)) {
6492 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6493 }
6494 arg4 = static_cast< int >(val4);
6495 }
6496 if (obj4) {
6497 {
6498 arg5 = wxString_in_helper(obj4);
6499 if (arg5 == NULL) SWIG_fail;
6500 temp5 = true;
6501 }
6502 }
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 {
6510 resultobj = wxPyMake_wxObject(result, (bool)0);
6511 }
6512 {
6513 if (temp5)
6514 delete arg5;
6515 }
6516 return resultobj;
6517 fail:
6518 {
6519 if (temp5)
6520 delete arg5;
6521 }
6522 return NULL;
6523 }
6524
6525
6526 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6527 PyObject *resultobj = 0;
6528 wxFrame *arg1 = (wxFrame *) 0 ;
6529 wxStatusBar *result = 0 ;
6530 void *argp1 = 0 ;
6531 int res1 = 0 ;
6532 PyObject *swig_obj[1] ;
6533
6534 if (!args) SWIG_fail;
6535 swig_obj[0] = args;
6536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6537 if (!SWIG_IsOK(res1)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6539 }
6540 arg1 = reinterpret_cast< wxFrame * >(argp1);
6541 {
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 {
6548 resultobj = wxPyMake_wxObject(result, (bool)0);
6549 }
6550 return resultobj;
6551 fail:
6552 return NULL;
6553 }
6554
6555
6556 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6557 PyObject *resultobj = 0;
6558 wxFrame *arg1 = (wxFrame *) 0 ;
6559 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6560 void *argp1 = 0 ;
6561 int res1 = 0 ;
6562 void *argp2 = 0 ;
6563 int res2 = 0 ;
6564 PyObject * obj0 = 0 ;
6565 PyObject * obj1 = 0 ;
6566 char * kwnames[] = {
6567 (char *) "self",(char *) "statBar", NULL
6568 };
6569
6570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6572 if (!SWIG_IsOK(res1)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6574 }
6575 arg1 = reinterpret_cast< wxFrame * >(argp1);
6576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6577 if (!SWIG_IsOK(res2)) {
6578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6579 }
6580 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6581 {
6582 PyThreadState* __tstate = wxPyBeginAllowThreads();
6583 (arg1)->SetStatusBar(arg2);
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 resultobj = SWIG_Py_Void();
6588 return resultobj;
6589 fail:
6590 return NULL;
6591 }
6592
6593
6594 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6595 PyObject *resultobj = 0;
6596 wxFrame *arg1 = (wxFrame *) 0 ;
6597 wxString *arg2 = 0 ;
6598 int arg3 = (int) 0 ;
6599 void *argp1 = 0 ;
6600 int res1 = 0 ;
6601 bool temp2 = false ;
6602 int val3 ;
6603 int ecode3 = 0 ;
6604 PyObject * obj0 = 0 ;
6605 PyObject * obj1 = 0 ;
6606 PyObject * obj2 = 0 ;
6607 char * kwnames[] = {
6608 (char *) "self",(char *) "text",(char *) "number", NULL
6609 };
6610
6611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6613 if (!SWIG_IsOK(res1)) {
6614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6615 }
6616 arg1 = reinterpret_cast< wxFrame * >(argp1);
6617 {
6618 arg2 = wxString_in_helper(obj1);
6619 if (arg2 == NULL) SWIG_fail;
6620 temp2 = true;
6621 }
6622 if (obj2) {
6623 ecode3 = SWIG_AsVal_int(obj2, &val3);
6624 if (!SWIG_IsOK(ecode3)) {
6625 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6626 }
6627 arg3 = static_cast< int >(val3);
6628 }
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 resultobj = SWIG_Py_Void();
6636 {
6637 if (temp2)
6638 delete arg2;
6639 }
6640 return resultobj;
6641 fail:
6642 {
6643 if (temp2)
6644 delete arg2;
6645 }
6646 return NULL;
6647 }
6648
6649
6650 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6651 PyObject *resultobj = 0;
6652 wxFrame *arg1 = (wxFrame *) 0 ;
6653 int arg2 ;
6654 int *arg3 = (int *) 0 ;
6655 void *argp1 = 0 ;
6656 int res1 = 0 ;
6657 PyObject * obj0 = 0 ;
6658 PyObject * obj1 = 0 ;
6659 char * kwnames[] = {
6660 (char *) "self",(char *) "widths", NULL
6661 };
6662
6663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6665 if (!SWIG_IsOK(res1)) {
6666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6667 }
6668 arg1 = reinterpret_cast< wxFrame * >(argp1);
6669 {
6670 arg2 = PyList_Size(obj1);
6671 arg3 = int_LIST_helper(obj1);
6672 if (arg3 == NULL) SWIG_fail;
6673 }
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 resultobj = SWIG_Py_Void();
6681 {
6682 if (arg3) delete [] arg3;
6683 }
6684 return resultobj;
6685 fail:
6686 {
6687 if (arg3) delete [] arg3;
6688 }
6689 return NULL;
6690 }
6691
6692
6693 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj = 0;
6695 wxFrame *arg1 = (wxFrame *) 0 ;
6696 wxString *arg2 = 0 ;
6697 int arg3 = (int) 0 ;
6698 void *argp1 = 0 ;
6699 int res1 = 0 ;
6700 bool temp2 = false ;
6701 int val3 ;
6702 int ecode3 = 0 ;
6703 PyObject * obj0 = 0 ;
6704 PyObject * obj1 = 0 ;
6705 PyObject * obj2 = 0 ;
6706 char * kwnames[] = {
6707 (char *) "self",(char *) "text",(char *) "number", NULL
6708 };
6709
6710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6712 if (!SWIG_IsOK(res1)) {
6713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6714 }
6715 arg1 = reinterpret_cast< wxFrame * >(argp1);
6716 {
6717 arg2 = wxString_in_helper(obj1);
6718 if (arg2 == NULL) SWIG_fail;
6719 temp2 = true;
6720 }
6721 if (obj2) {
6722 ecode3 = SWIG_AsVal_int(obj2, &val3);
6723 if (!SWIG_IsOK(ecode3)) {
6724 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6725 }
6726 arg3 = static_cast< int >(val3);
6727 }
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6731 wxPyEndAllowThreads(__tstate);
6732 if (PyErr_Occurred()) SWIG_fail;
6733 }
6734 resultobj = SWIG_Py_Void();
6735 {
6736 if (temp2)
6737 delete arg2;
6738 }
6739 return resultobj;
6740 fail:
6741 {
6742 if (temp2)
6743 delete arg2;
6744 }
6745 return NULL;
6746 }
6747
6748
6749 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6750 PyObject *resultobj = 0;
6751 wxFrame *arg1 = (wxFrame *) 0 ;
6752 int arg2 = (int) 0 ;
6753 void *argp1 = 0 ;
6754 int res1 = 0 ;
6755 int val2 ;
6756 int ecode2 = 0 ;
6757 PyObject * obj0 = 0 ;
6758 PyObject * obj1 = 0 ;
6759 char * kwnames[] = {
6760 (char *) "self",(char *) "number", NULL
6761 };
6762
6763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6765 if (!SWIG_IsOK(res1)) {
6766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6767 }
6768 arg1 = reinterpret_cast< wxFrame * >(argp1);
6769 if (obj1) {
6770 ecode2 = SWIG_AsVal_int(obj1, &val2);
6771 if (!SWIG_IsOK(ecode2)) {
6772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6773 }
6774 arg2 = static_cast< int >(val2);
6775 }
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 (arg1)->PopStatusText(arg2);
6779 wxPyEndAllowThreads(__tstate);
6780 if (PyErr_Occurred()) SWIG_fail;
6781 }
6782 resultobj = SWIG_Py_Void();
6783 return resultobj;
6784 fail:
6785 return NULL;
6786 }
6787
6788
6789 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6790 PyObject *resultobj = 0;
6791 wxFrame *arg1 = (wxFrame *) 0 ;
6792 int arg2 ;
6793 void *argp1 = 0 ;
6794 int res1 = 0 ;
6795 int val2 ;
6796 int ecode2 = 0 ;
6797 PyObject * obj0 = 0 ;
6798 PyObject * obj1 = 0 ;
6799 char * kwnames[] = {
6800 (char *) "self",(char *) "n", NULL
6801 };
6802
6803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6805 if (!SWIG_IsOK(res1)) {
6806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6807 }
6808 arg1 = reinterpret_cast< wxFrame * >(argp1);
6809 ecode2 = SWIG_AsVal_int(obj1, &val2);
6810 if (!SWIG_IsOK(ecode2)) {
6811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6812 }
6813 arg2 = static_cast< int >(val2);
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 (arg1)->SetStatusBarPane(arg2);
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = SWIG_Py_Void();
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6828 PyObject *resultobj = 0;
6829 wxFrame *arg1 = (wxFrame *) 0 ;
6830 int result;
6831 void *argp1 = 0 ;
6832 int res1 = 0 ;
6833 PyObject *swig_obj[1] ;
6834
6835 if (!args) SWIG_fail;
6836 swig_obj[0] = args;
6837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6838 if (!SWIG_IsOK(res1)) {
6839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6840 }
6841 arg1 = reinterpret_cast< wxFrame * >(argp1);
6842 {
6843 PyThreadState* __tstate = wxPyBeginAllowThreads();
6844 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 resultobj = SWIG_From_int(static_cast< int >(result));
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj = 0;
6857 wxFrame *arg1 = (wxFrame *) 0 ;
6858 long arg2 = (long) -1 ;
6859 int arg3 = (int) -1 ;
6860 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6861 wxString *arg4 = (wxString *) &arg4_defvalue ;
6862 wxToolBar *result = 0 ;
6863 void *argp1 = 0 ;
6864 int res1 = 0 ;
6865 long val2 ;
6866 int ecode2 = 0 ;
6867 int val3 ;
6868 int ecode3 = 0 ;
6869 bool temp4 = false ;
6870 PyObject * obj0 = 0 ;
6871 PyObject * obj1 = 0 ;
6872 PyObject * obj2 = 0 ;
6873 PyObject * obj3 = 0 ;
6874 char * kwnames[] = {
6875 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6876 };
6877
6878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6880 if (!SWIG_IsOK(res1)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6882 }
6883 arg1 = reinterpret_cast< wxFrame * >(argp1);
6884 if (obj1) {
6885 ecode2 = SWIG_AsVal_long(obj1, &val2);
6886 if (!SWIG_IsOK(ecode2)) {
6887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6888 }
6889 arg2 = static_cast< long >(val2);
6890 }
6891 if (obj2) {
6892 ecode3 = SWIG_AsVal_int(obj2, &val3);
6893 if (!SWIG_IsOK(ecode3)) {
6894 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6895 }
6896 arg3 = static_cast< int >(val3);
6897 }
6898 if (obj3) {
6899 {
6900 arg4 = wxString_in_helper(obj3);
6901 if (arg4 == NULL) SWIG_fail;
6902 temp4 = true;
6903 }
6904 }
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 {
6912 resultobj = wxPyMake_wxObject(result, (bool)0);
6913 }
6914 {
6915 if (temp4)
6916 delete arg4;
6917 }
6918 return resultobj;
6919 fail:
6920 {
6921 if (temp4)
6922 delete arg4;
6923 }
6924 return NULL;
6925 }
6926
6927
6928 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6929 PyObject *resultobj = 0;
6930 wxFrame *arg1 = (wxFrame *) 0 ;
6931 wxToolBar *result = 0 ;
6932 void *argp1 = 0 ;
6933 int res1 = 0 ;
6934 PyObject *swig_obj[1] ;
6935
6936 if (!args) SWIG_fail;
6937 swig_obj[0] = args;
6938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6939 if (!SWIG_IsOK(res1)) {
6940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6941 }
6942 arg1 = reinterpret_cast< wxFrame * >(argp1);
6943 {
6944 PyThreadState* __tstate = wxPyBeginAllowThreads();
6945 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6946 wxPyEndAllowThreads(__tstate);
6947 if (PyErr_Occurred()) SWIG_fail;
6948 }
6949 {
6950 resultobj = wxPyMake_wxObject(result, (bool)0);
6951 }
6952 return resultobj;
6953 fail:
6954 return NULL;
6955 }
6956
6957
6958 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6959 PyObject *resultobj = 0;
6960 wxFrame *arg1 = (wxFrame *) 0 ;
6961 wxToolBar *arg2 = (wxToolBar *) 0 ;
6962 void *argp1 = 0 ;
6963 int res1 = 0 ;
6964 void *argp2 = 0 ;
6965 int res2 = 0 ;
6966 PyObject * obj0 = 0 ;
6967 PyObject * obj1 = 0 ;
6968 char * kwnames[] = {
6969 (char *) "self",(char *) "toolbar", NULL
6970 };
6971
6972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6974 if (!SWIG_IsOK(res1)) {
6975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6976 }
6977 arg1 = reinterpret_cast< wxFrame * >(argp1);
6978 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6979 if (!SWIG_IsOK(res2)) {
6980 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6981 }
6982 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 (arg1)->SetToolBar(arg2);
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 resultobj = SWIG_Py_Void();
6990 return resultobj;
6991 fail:
6992 return NULL;
6993 }
6994
6995
6996 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6997 PyObject *resultobj = 0;
6998 wxFrame *arg1 = (wxFrame *) 0 ;
6999 wxString *arg2 = 0 ;
7000 bool arg3 ;
7001 void *argp1 = 0 ;
7002 int res1 = 0 ;
7003 bool temp2 = false ;
7004 bool val3 ;
7005 int ecode3 = 0 ;
7006 PyObject * obj0 = 0 ;
7007 PyObject * obj1 = 0 ;
7008 PyObject * obj2 = 0 ;
7009 char * kwnames[] = {
7010 (char *) "self",(char *) "text",(char *) "show", NULL
7011 };
7012
7013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7015 if (!SWIG_IsOK(res1)) {
7016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7017 }
7018 arg1 = reinterpret_cast< wxFrame * >(argp1);
7019 {
7020 arg2 = wxString_in_helper(obj1);
7021 if (arg2 == NULL) SWIG_fail;
7022 temp2 = true;
7023 }
7024 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7025 if (!SWIG_IsOK(ecode3)) {
7026 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7027 }
7028 arg3 = static_cast< bool >(val3);
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 resultobj = SWIG_Py_Void();
7036 {
7037 if (temp2)
7038 delete arg2;
7039 }
7040 return resultobj;
7041 fail:
7042 {
7043 if (temp2)
7044 delete arg2;
7045 }
7046 return NULL;
7047 }
7048
7049
7050 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7051 PyObject *resultobj = 0;
7052 wxFrame *arg1 = (wxFrame *) 0 ;
7053 wxMenu *arg2 = (wxMenu *) NULL ;
7054 void *argp1 = 0 ;
7055 int res1 = 0 ;
7056 void *argp2 = 0 ;
7057 int res2 = 0 ;
7058 PyObject * obj0 = 0 ;
7059 PyObject * obj1 = 0 ;
7060 char * kwnames[] = {
7061 (char *) "self",(char *) "menu", NULL
7062 };
7063
7064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7066 if (!SWIG_IsOK(res1)) {
7067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7068 }
7069 arg1 = reinterpret_cast< wxFrame * >(argp1);
7070 if (obj1) {
7071 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7072 if (!SWIG_IsOK(res2)) {
7073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7074 }
7075 arg2 = reinterpret_cast< wxMenu * >(argp2);
7076 }
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 (arg1)->DoMenuUpdates(arg2);
7080 wxPyEndAllowThreads(__tstate);
7081 if (PyErr_Occurred()) SWIG_fail;
7082 }
7083 resultobj = SWIG_Py_Void();
7084 return resultobj;
7085 fail:
7086 return NULL;
7087 }
7088
7089
7090 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj = 0;
7092 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7093 SwigValueWrapper<wxVisualAttributes > result;
7094 int val1 ;
7095 int ecode1 = 0 ;
7096 PyObject * obj0 = 0 ;
7097 char * kwnames[] = {
7098 (char *) "variant", NULL
7099 };
7100
7101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7102 if (obj0) {
7103 ecode1 = SWIG_AsVal_int(obj0, &val1);
7104 if (!SWIG_IsOK(ecode1)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7106 }
7107 arg1 = static_cast< wxWindowVariant >(val1);
7108 }
7109 {
7110 if (!wxPyCheckForApp()) SWIG_fail;
7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7112 result = wxFrame::GetClassDefaultAttributes(arg1);
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7117 return resultobj;
7118 fail:
7119 return NULL;
7120 }
7121
7122
7123 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7124 PyObject *obj;
7125 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7126 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7127 return SWIG_Py_Void();
7128 }
7129
7130 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7131 return SWIG_Python_InitShadowInstance(args);
7132 }
7133
7134 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7135 PyObject *resultobj = 0;
7136 wxWindow *arg1 = (wxWindow *) 0 ;
7137 int arg2 = (int) (int)-1 ;
7138 wxString const &arg3_defvalue = wxPyEmptyString ;
7139 wxString *arg3 = (wxString *) &arg3_defvalue ;
7140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7142 wxSize const &arg5_defvalue = wxDefaultSize ;
7143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7144 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7145 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7146 wxString *arg7 = (wxString *) &arg7_defvalue ;
7147 wxDialog *result = 0 ;
7148 void *argp1 = 0 ;
7149 int res1 = 0 ;
7150 int val2 ;
7151 int ecode2 = 0 ;
7152 bool temp3 = false ;
7153 wxPoint temp4 ;
7154 wxSize temp5 ;
7155 long val6 ;
7156 int ecode6 = 0 ;
7157 bool temp7 = false ;
7158 PyObject * obj0 = 0 ;
7159 PyObject * obj1 = 0 ;
7160 PyObject * obj2 = 0 ;
7161 PyObject * obj3 = 0 ;
7162 PyObject * obj4 = 0 ;
7163 PyObject * obj5 = 0 ;
7164 PyObject * obj6 = 0 ;
7165 char * kwnames[] = {
7166 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7167 };
7168
7169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7171 if (!SWIG_IsOK(res1)) {
7172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7173 }
7174 arg1 = reinterpret_cast< wxWindow * >(argp1);
7175 if (obj1) {
7176 ecode2 = SWIG_AsVal_int(obj1, &val2);
7177 if (!SWIG_IsOK(ecode2)) {
7178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7179 }
7180 arg2 = static_cast< int >(val2);
7181 }
7182 if (obj2) {
7183 {
7184 arg3 = wxString_in_helper(obj2);
7185 if (arg3 == NULL) SWIG_fail;
7186 temp3 = true;
7187 }
7188 }
7189 if (obj3) {
7190 {
7191 arg4 = &temp4;
7192 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7193 }
7194 }
7195 if (obj4) {
7196 {
7197 arg5 = &temp5;
7198 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7199 }
7200 }
7201 if (obj5) {
7202 ecode6 = SWIG_AsVal_long(obj5, &val6);
7203 if (!SWIG_IsOK(ecode6)) {
7204 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7205 }
7206 arg6 = static_cast< long >(val6);
7207 }
7208 if (obj6) {
7209 {
7210 arg7 = wxString_in_helper(obj6);
7211 if (arg7 == NULL) SWIG_fail;
7212 temp7 = true;
7213 }
7214 }
7215 {
7216 if (!wxPyCheckForApp()) SWIG_fail;
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7223 {
7224 if (temp3)
7225 delete arg3;
7226 }
7227 {
7228 if (temp7)
7229 delete arg7;
7230 }
7231 return resultobj;
7232 fail:
7233 {
7234 if (temp3)
7235 delete arg3;
7236 }
7237 {
7238 if (temp7)
7239 delete arg7;
7240 }
7241 return NULL;
7242 }
7243
7244
7245 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7246 PyObject *resultobj = 0;
7247 wxDialog *result = 0 ;
7248
7249 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7250 {
7251 if (!wxPyCheckForApp()) SWIG_fail;
7252 PyThreadState* __tstate = wxPyBeginAllowThreads();
7253 result = (wxDialog *)new wxDialog();
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7258 return resultobj;
7259 fail:
7260 return NULL;
7261 }
7262
7263
7264 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj = 0;
7266 wxDialog *arg1 = (wxDialog *) 0 ;
7267 wxWindow *arg2 = (wxWindow *) 0 ;
7268 int arg3 = (int) (int)-1 ;
7269 wxString const &arg4_defvalue = wxPyEmptyString ;
7270 wxString *arg4 = (wxString *) &arg4_defvalue ;
7271 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7272 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7273 wxSize const &arg6_defvalue = wxDefaultSize ;
7274 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7275 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7276 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7277 wxString *arg8 = (wxString *) &arg8_defvalue ;
7278 bool result;
7279 void *argp1 = 0 ;
7280 int res1 = 0 ;
7281 void *argp2 = 0 ;
7282 int res2 = 0 ;
7283 int val3 ;
7284 int ecode3 = 0 ;
7285 bool temp4 = false ;
7286 wxPoint temp5 ;
7287 wxSize temp6 ;
7288 long val7 ;
7289 int ecode7 = 0 ;
7290 bool temp8 = false ;
7291 PyObject * obj0 = 0 ;
7292 PyObject * obj1 = 0 ;
7293 PyObject * obj2 = 0 ;
7294 PyObject * obj3 = 0 ;
7295 PyObject * obj4 = 0 ;
7296 PyObject * obj5 = 0 ;
7297 PyObject * obj6 = 0 ;
7298 PyObject * obj7 = 0 ;
7299 char * kwnames[] = {
7300 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7301 };
7302
7303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7305 if (!SWIG_IsOK(res1)) {
7306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7307 }
7308 arg1 = reinterpret_cast< wxDialog * >(argp1);
7309 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7310 if (!SWIG_IsOK(res2)) {
7311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7312 }
7313 arg2 = reinterpret_cast< wxWindow * >(argp2);
7314 if (obj2) {
7315 ecode3 = SWIG_AsVal_int(obj2, &val3);
7316 if (!SWIG_IsOK(ecode3)) {
7317 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7318 }
7319 arg3 = static_cast< int >(val3);
7320 }
7321 if (obj3) {
7322 {
7323 arg4 = wxString_in_helper(obj3);
7324 if (arg4 == NULL) SWIG_fail;
7325 temp4 = true;
7326 }
7327 }
7328 if (obj4) {
7329 {
7330 arg5 = &temp5;
7331 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7332 }
7333 }
7334 if (obj5) {
7335 {
7336 arg6 = &temp6;
7337 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7338 }
7339 }
7340 if (obj6) {
7341 ecode7 = SWIG_AsVal_long(obj6, &val7);
7342 if (!SWIG_IsOK(ecode7)) {
7343 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7344 }
7345 arg7 = static_cast< long >(val7);
7346 }
7347 if (obj7) {
7348 {
7349 arg8 = wxString_in_helper(obj7);
7350 if (arg8 == NULL) SWIG_fail;
7351 temp8 = true;
7352 }
7353 }
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 {
7361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7362 }
7363 {
7364 if (temp4)
7365 delete arg4;
7366 }
7367 {
7368 if (temp8)
7369 delete arg8;
7370 }
7371 return resultobj;
7372 fail:
7373 {
7374 if (temp4)
7375 delete arg4;
7376 }
7377 {
7378 if (temp8)
7379 delete arg8;
7380 }
7381 return NULL;
7382 }
7383
7384
7385 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj = 0;
7387 wxDialog *arg1 = (wxDialog *) 0 ;
7388 int arg2 ;
7389 void *argp1 = 0 ;
7390 int res1 = 0 ;
7391 int val2 ;
7392 int ecode2 = 0 ;
7393 PyObject * obj0 = 0 ;
7394 PyObject * obj1 = 0 ;
7395 char * kwnames[] = {
7396 (char *) "self",(char *) "returnCode", NULL
7397 };
7398
7399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7401 if (!SWIG_IsOK(res1)) {
7402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7403 }
7404 arg1 = reinterpret_cast< wxDialog * >(argp1);
7405 ecode2 = SWIG_AsVal_int(obj1, &val2);
7406 if (!SWIG_IsOK(ecode2)) {
7407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7408 }
7409 arg2 = static_cast< int >(val2);
7410 {
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 (arg1)->SetReturnCode(arg2);
7413 wxPyEndAllowThreads(__tstate);
7414 if (PyErr_Occurred()) SWIG_fail;
7415 }
7416 resultobj = SWIG_Py_Void();
7417 return resultobj;
7418 fail:
7419 return NULL;
7420 }
7421
7422
7423 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7424 PyObject *resultobj = 0;
7425 wxDialog *arg1 = (wxDialog *) 0 ;
7426 int result;
7427 void *argp1 = 0 ;
7428 int res1 = 0 ;
7429 PyObject *swig_obj[1] ;
7430
7431 if (!args) SWIG_fail;
7432 swig_obj[0] = args;
7433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7434 if (!SWIG_IsOK(res1)) {
7435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7436 }
7437 arg1 = reinterpret_cast< wxDialog * >(argp1);
7438 {
7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
7440 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 resultobj = SWIG_From_int(static_cast< int >(result));
7445 return resultobj;
7446 fail:
7447 return NULL;
7448 }
7449
7450
7451 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7452 PyObject *resultobj = 0;
7453 wxDialog *arg1 = (wxDialog *) 0 ;
7454 int arg2 ;
7455 void *argp1 = 0 ;
7456 int res1 = 0 ;
7457 int val2 ;
7458 int ecode2 = 0 ;
7459 PyObject * obj0 = 0 ;
7460 PyObject * obj1 = 0 ;
7461 char * kwnames[] = {
7462 (char *) "self",(char *) "affirmativeId", NULL
7463 };
7464
7465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7467 if (!SWIG_IsOK(res1)) {
7468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7469 }
7470 arg1 = reinterpret_cast< wxDialog * >(argp1);
7471 ecode2 = SWIG_AsVal_int(obj1, &val2);
7472 if (!SWIG_IsOK(ecode2)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7474 }
7475 arg2 = static_cast< int >(val2);
7476 {
7477 PyThreadState* __tstate = wxPyBeginAllowThreads();
7478 (arg1)->SetAffirmativeId(arg2);
7479 wxPyEndAllowThreads(__tstate);
7480 if (PyErr_Occurred()) SWIG_fail;
7481 }
7482 resultobj = SWIG_Py_Void();
7483 return resultobj;
7484 fail:
7485 return NULL;
7486 }
7487
7488
7489 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7490 PyObject *resultobj = 0;
7491 wxDialog *arg1 = (wxDialog *) 0 ;
7492 int result;
7493 void *argp1 = 0 ;
7494 int res1 = 0 ;
7495 PyObject *swig_obj[1] ;
7496
7497 if (!args) SWIG_fail;
7498 swig_obj[0] = args;
7499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7500 if (!SWIG_IsOK(res1)) {
7501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7502 }
7503 arg1 = reinterpret_cast< wxDialog * >(argp1);
7504 {
7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7506 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 resultobj = SWIG_From_int(static_cast< int >(result));
7511 return resultobj;
7512 fail:
7513 return NULL;
7514 }
7515
7516
7517 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7518 PyObject *resultobj = 0;
7519 wxDialog *arg1 = (wxDialog *) 0 ;
7520 int arg2 ;
7521 void *argp1 = 0 ;
7522 int res1 = 0 ;
7523 int val2 ;
7524 int ecode2 = 0 ;
7525 PyObject * obj0 = 0 ;
7526 PyObject * obj1 = 0 ;
7527 char * kwnames[] = {
7528 (char *) "self",(char *) "escapeId", NULL
7529 };
7530
7531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7533 if (!SWIG_IsOK(res1)) {
7534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7535 }
7536 arg1 = reinterpret_cast< wxDialog * >(argp1);
7537 ecode2 = SWIG_AsVal_int(obj1, &val2);
7538 if (!SWIG_IsOK(ecode2)) {
7539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7540 }
7541 arg2 = static_cast< int >(val2);
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 (arg1)->SetEscapeId(arg2);
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 resultobj = SWIG_Py_Void();
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7556 PyObject *resultobj = 0;
7557 wxDialog *arg1 = (wxDialog *) 0 ;
7558 int result;
7559 void *argp1 = 0 ;
7560 int res1 = 0 ;
7561 PyObject *swig_obj[1] ;
7562
7563 if (!args) SWIG_fail;
7564 swig_obj[0] = args;
7565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7566 if (!SWIG_IsOK(res1)) {
7567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7568 }
7569 arg1 = reinterpret_cast< wxDialog * >(argp1);
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7573 wxPyEndAllowThreads(__tstate);
7574 if (PyErr_Occurred()) SWIG_fail;
7575 }
7576 resultobj = SWIG_From_int(static_cast< int >(result));
7577 return resultobj;
7578 fail:
7579 return NULL;
7580 }
7581
7582
7583 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7584 PyObject *resultobj = 0;
7585 wxDialog *arg1 = (wxDialog *) 0 ;
7586 wxString *arg2 = 0 ;
7587 wxSizer *result = 0 ;
7588 void *argp1 = 0 ;
7589 int res1 = 0 ;
7590 bool temp2 = false ;
7591 PyObject * obj0 = 0 ;
7592 PyObject * obj1 = 0 ;
7593 char * kwnames[] = {
7594 (char *) "self",(char *) "message", NULL
7595 };
7596
7597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7599 if (!SWIG_IsOK(res1)) {
7600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7601 }
7602 arg1 = reinterpret_cast< wxDialog * >(argp1);
7603 {
7604 arg2 = wxString_in_helper(obj1);
7605 if (arg2 == NULL) SWIG_fail;
7606 temp2 = true;
7607 }
7608 {
7609 PyThreadState* __tstate = wxPyBeginAllowThreads();
7610 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 {
7615 resultobj = wxPyMake_wxObject(result, (bool)0);
7616 }
7617 {
7618 if (temp2)
7619 delete arg2;
7620 }
7621 return resultobj;
7622 fail:
7623 {
7624 if (temp2)
7625 delete arg2;
7626 }
7627 return NULL;
7628 }
7629
7630
7631 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7632 PyObject *resultobj = 0;
7633 wxDialog *arg1 = (wxDialog *) 0 ;
7634 long arg2 ;
7635 bool arg3 = (bool) false ;
7636 int arg4 = (int) 0 ;
7637 wxSizer *result = 0 ;
7638 void *argp1 = 0 ;
7639 int res1 = 0 ;
7640 long val2 ;
7641 int ecode2 = 0 ;
7642 bool val3 ;
7643 int ecode3 = 0 ;
7644 int val4 ;
7645 int ecode4 = 0 ;
7646 PyObject * obj0 = 0 ;
7647 PyObject * obj1 = 0 ;
7648 PyObject * obj2 = 0 ;
7649 PyObject * obj3 = 0 ;
7650 char * kwnames[] = {
7651 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7652 };
7653
7654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7656 if (!SWIG_IsOK(res1)) {
7657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7658 }
7659 arg1 = reinterpret_cast< wxDialog * >(argp1);
7660 ecode2 = SWIG_AsVal_long(obj1, &val2);
7661 if (!SWIG_IsOK(ecode2)) {
7662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7663 }
7664 arg2 = static_cast< long >(val2);
7665 if (obj2) {
7666 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7667 if (!SWIG_IsOK(ecode3)) {
7668 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7669 }
7670 arg3 = static_cast< bool >(val3);
7671 }
7672 if (obj3) {
7673 ecode4 = SWIG_AsVal_int(obj3, &val4);
7674 if (!SWIG_IsOK(ecode4)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7676 }
7677 arg4 = static_cast< int >(val4);
7678 }
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 {
7686 resultobj = wxPyMake_wxObject(result, (bool)0);
7687 }
7688 return resultobj;
7689 fail:
7690 return NULL;
7691 }
7692
7693
7694 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7695 PyObject *resultobj = 0;
7696 wxDialog *arg1 = (wxDialog *) 0 ;
7697 long arg2 ;
7698 wxStdDialogButtonSizer *result = 0 ;
7699 void *argp1 = 0 ;
7700 int res1 = 0 ;
7701 long val2 ;
7702 int ecode2 = 0 ;
7703 PyObject * obj0 = 0 ;
7704 PyObject * obj1 = 0 ;
7705 char * kwnames[] = {
7706 (char *) "self",(char *) "flags", NULL
7707 };
7708
7709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7711 if (!SWIG_IsOK(res1)) {
7712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7713 }
7714 arg1 = reinterpret_cast< wxDialog * >(argp1);
7715 ecode2 = SWIG_AsVal_long(obj1, &val2);
7716 if (!SWIG_IsOK(ecode2)) {
7717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7718 }
7719 arg2 = static_cast< long >(val2);
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7727 return resultobj;
7728 fail:
7729 return NULL;
7730 }
7731
7732
7733 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7734 PyObject *resultobj = 0;
7735 wxDialog *arg1 = (wxDialog *) 0 ;
7736 bool result;
7737 void *argp1 = 0 ;
7738 int res1 = 0 ;
7739 PyObject *swig_obj[1] ;
7740
7741 if (!args) SWIG_fail;
7742 swig_obj[0] = args;
7743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7744 if (!SWIG_IsOK(res1)) {
7745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7746 }
7747 arg1 = reinterpret_cast< wxDialog * >(argp1);
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 result = (bool)((wxDialog const *)arg1)->IsModal();
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 {
7755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7756 }
7757 return resultobj;
7758 fail:
7759 return NULL;
7760 }
7761
7762
7763 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7764 PyObject *resultobj = 0;
7765 wxDialog *arg1 = (wxDialog *) 0 ;
7766 int result;
7767 void *argp1 = 0 ;
7768 int res1 = 0 ;
7769 PyObject *swig_obj[1] ;
7770
7771 if (!args) SWIG_fail;
7772 swig_obj[0] = args;
7773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7774 if (!SWIG_IsOK(res1)) {
7775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7776 }
7777 arg1 = reinterpret_cast< wxDialog * >(argp1);
7778 {
7779 PyThreadState* __tstate = wxPyBeginAllowThreads();
7780 result = (int)(arg1)->ShowModal();
7781 wxPyEndAllowThreads(__tstate);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 resultobj = SWIG_From_int(static_cast< int >(result));
7785 return resultobj;
7786 fail:
7787 return NULL;
7788 }
7789
7790
7791 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj = 0;
7793 wxDialog *arg1 = (wxDialog *) 0 ;
7794 int arg2 ;
7795 void *argp1 = 0 ;
7796 int res1 = 0 ;
7797 int val2 ;
7798 int ecode2 = 0 ;
7799 PyObject * obj0 = 0 ;
7800 PyObject * obj1 = 0 ;
7801 char * kwnames[] = {
7802 (char *) "self",(char *) "retCode", NULL
7803 };
7804
7805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",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_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7809 }
7810 arg1 = reinterpret_cast< wxDialog * >(argp1);
7811 ecode2 = SWIG_AsVal_int(obj1, &val2);
7812 if (!SWIG_IsOK(ecode2)) {
7813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7814 }
7815 arg2 = static_cast< int >(val2);
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 (arg1)->EndModal(arg2);
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 resultobj = SWIG_Py_Void();
7823 return resultobj;
7824 fail:
7825 return NULL;
7826 }
7827
7828
7829 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7830 PyObject *resultobj = 0;
7831 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7832 SwigValueWrapper<wxVisualAttributes > result;
7833 int val1 ;
7834 int ecode1 = 0 ;
7835 PyObject * obj0 = 0 ;
7836 char * kwnames[] = {
7837 (char *) "variant", NULL
7838 };
7839
7840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7841 if (obj0) {
7842 ecode1 = SWIG_AsVal_int(obj0, &val1);
7843 if (!SWIG_IsOK(ecode1)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7845 }
7846 arg1 = static_cast< wxWindowVariant >(val1);
7847 }
7848 {
7849 if (!wxPyCheckForApp()) SWIG_fail;
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 result = wxDialog::GetClassDefaultAttributes(arg1);
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7856 return resultobj;
7857 fail:
7858 return NULL;
7859 }
7860
7861
7862 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7863 PyObject *obj;
7864 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7865 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7866 return SWIG_Py_Void();
7867 }
7868
7869 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7870 return SWIG_Python_InitShadowInstance(args);
7871 }
7872
7873 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7874 PyObject *resultobj = 0;
7875 wxWindow *arg1 = (wxWindow *) 0 ;
7876 int arg2 = (int) (int)-1 ;
7877 wxString const &arg3_defvalue = wxPyEmptyString ;
7878 wxString *arg3 = (wxString *) &arg3_defvalue ;
7879 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7880 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7881 wxSize const &arg5_defvalue = wxDefaultSize ;
7882 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7883 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7884 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7885 wxString *arg7 = (wxString *) &arg7_defvalue ;
7886 wxMiniFrame *result = 0 ;
7887 void *argp1 = 0 ;
7888 int res1 = 0 ;
7889 int val2 ;
7890 int ecode2 = 0 ;
7891 bool temp3 = false ;
7892 wxPoint temp4 ;
7893 wxSize temp5 ;
7894 long val6 ;
7895 int ecode6 = 0 ;
7896 bool temp7 = false ;
7897 PyObject * obj0 = 0 ;
7898 PyObject * obj1 = 0 ;
7899 PyObject * obj2 = 0 ;
7900 PyObject * obj3 = 0 ;
7901 PyObject * obj4 = 0 ;
7902 PyObject * obj5 = 0 ;
7903 PyObject * obj6 = 0 ;
7904 char * kwnames[] = {
7905 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7906 };
7907
7908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7910 if (!SWIG_IsOK(res1)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7912 }
7913 arg1 = reinterpret_cast< wxWindow * >(argp1);
7914 if (obj1) {
7915 ecode2 = SWIG_AsVal_int(obj1, &val2);
7916 if (!SWIG_IsOK(ecode2)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7918 }
7919 arg2 = static_cast< int >(val2);
7920 }
7921 if (obj2) {
7922 {
7923 arg3 = wxString_in_helper(obj2);
7924 if (arg3 == NULL) SWIG_fail;
7925 temp3 = true;
7926 }
7927 }
7928 if (obj3) {
7929 {
7930 arg4 = &temp4;
7931 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7932 }
7933 }
7934 if (obj4) {
7935 {
7936 arg5 = &temp5;
7937 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7938 }
7939 }
7940 if (obj5) {
7941 ecode6 = SWIG_AsVal_long(obj5, &val6);
7942 if (!SWIG_IsOK(ecode6)) {
7943 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7944 }
7945 arg6 = static_cast< long >(val6);
7946 }
7947 if (obj6) {
7948 {
7949 arg7 = wxString_in_helper(obj6);
7950 if (arg7 == NULL) SWIG_fail;
7951 temp7 = true;
7952 }
7953 }
7954 {
7955 if (!wxPyCheckForApp()) SWIG_fail;
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
7961 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7962 {
7963 if (temp3)
7964 delete arg3;
7965 }
7966 {
7967 if (temp7)
7968 delete arg7;
7969 }
7970 return resultobj;
7971 fail:
7972 {
7973 if (temp3)
7974 delete arg3;
7975 }
7976 {
7977 if (temp7)
7978 delete arg7;
7979 }
7980 return NULL;
7981 }
7982
7983
7984 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7985 PyObject *resultobj = 0;
7986 wxMiniFrame *result = 0 ;
7987
7988 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7989 {
7990 if (!wxPyCheckForApp()) SWIG_fail;
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 result = (wxMiniFrame *)new wxMiniFrame();
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7997 return resultobj;
7998 fail:
7999 return NULL;
8000 }
8001
8002
8003 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8004 PyObject *resultobj = 0;
8005 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8006 wxWindow *arg2 = (wxWindow *) 0 ;
8007 int arg3 = (int) (int)-1 ;
8008 wxString const &arg4_defvalue = wxPyEmptyString ;
8009 wxString *arg4 = (wxString *) &arg4_defvalue ;
8010 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8011 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8012 wxSize const &arg6_defvalue = wxDefaultSize ;
8013 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8014 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8015 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8016 wxString *arg8 = (wxString *) &arg8_defvalue ;
8017 bool result;
8018 void *argp1 = 0 ;
8019 int res1 = 0 ;
8020 void *argp2 = 0 ;
8021 int res2 = 0 ;
8022 int val3 ;
8023 int ecode3 = 0 ;
8024 bool temp4 = false ;
8025 wxPoint temp5 ;
8026 wxSize temp6 ;
8027 long val7 ;
8028 int ecode7 = 0 ;
8029 bool temp8 = false ;
8030 PyObject * obj0 = 0 ;
8031 PyObject * obj1 = 0 ;
8032 PyObject * obj2 = 0 ;
8033 PyObject * obj3 = 0 ;
8034 PyObject * obj4 = 0 ;
8035 PyObject * obj5 = 0 ;
8036 PyObject * obj6 = 0 ;
8037 PyObject * obj7 = 0 ;
8038 char * kwnames[] = {
8039 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8040 };
8041
8042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8044 if (!SWIG_IsOK(res1)) {
8045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8046 }
8047 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8048 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8049 if (!SWIG_IsOK(res2)) {
8050 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8051 }
8052 arg2 = reinterpret_cast< wxWindow * >(argp2);
8053 if (obj2) {
8054 ecode3 = SWIG_AsVal_int(obj2, &val3);
8055 if (!SWIG_IsOK(ecode3)) {
8056 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8057 }
8058 arg3 = static_cast< int >(val3);
8059 }
8060 if (obj3) {
8061 {
8062 arg4 = wxString_in_helper(obj3);
8063 if (arg4 == NULL) SWIG_fail;
8064 temp4 = true;
8065 }
8066 }
8067 if (obj4) {
8068 {
8069 arg5 = &temp5;
8070 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8071 }
8072 }
8073 if (obj5) {
8074 {
8075 arg6 = &temp6;
8076 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8077 }
8078 }
8079 if (obj6) {
8080 ecode7 = SWIG_AsVal_long(obj6, &val7);
8081 if (!SWIG_IsOK(ecode7)) {
8082 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8083 }
8084 arg7 = static_cast< long >(val7);
8085 }
8086 if (obj7) {
8087 {
8088 arg8 = wxString_in_helper(obj7);
8089 if (arg8 == NULL) SWIG_fail;
8090 temp8 = true;
8091 }
8092 }
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 {
8100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8101 }
8102 {
8103 if (temp4)
8104 delete arg4;
8105 }
8106 {
8107 if (temp8)
8108 delete arg8;
8109 }
8110 return resultobj;
8111 fail:
8112 {
8113 if (temp4)
8114 delete arg4;
8115 }
8116 {
8117 if (temp8)
8118 delete arg8;
8119 }
8120 return NULL;
8121 }
8122
8123
8124 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8125 PyObject *obj;
8126 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8127 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8128 return SWIG_Py_Void();
8129 }
8130
8131 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8132 return SWIG_Python_InitShadowInstance(args);
8133 }
8134
8135 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj = 0;
8137 wxBitmap *arg1 = 0 ;
8138 wxWindow *arg2 = (wxWindow *) 0 ;
8139 int arg3 ;
8140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8142 wxSize const &arg5_defvalue = wxDefaultSize ;
8143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8144 long arg6 = (long) wxNO_BORDER ;
8145 wxSplashScreenWindow *result = 0 ;
8146 void *argp1 = 0 ;
8147 int res1 = 0 ;
8148 void *argp2 = 0 ;
8149 int res2 = 0 ;
8150 int val3 ;
8151 int ecode3 = 0 ;
8152 wxPoint temp4 ;
8153 wxSize temp5 ;
8154 long val6 ;
8155 int ecode6 = 0 ;
8156 PyObject * obj0 = 0 ;
8157 PyObject * obj1 = 0 ;
8158 PyObject * obj2 = 0 ;
8159 PyObject * obj3 = 0 ;
8160 PyObject * obj4 = 0 ;
8161 PyObject * obj5 = 0 ;
8162 char * kwnames[] = {
8163 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8164 };
8165
8166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8167 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8168 if (!SWIG_IsOK(res1)) {
8169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8170 }
8171 if (!argp1) {
8172 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8173 }
8174 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8175 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8176 if (!SWIG_IsOK(res2)) {
8177 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8178 }
8179 arg2 = reinterpret_cast< wxWindow * >(argp2);
8180 ecode3 = SWIG_AsVal_int(obj2, &val3);
8181 if (!SWIG_IsOK(ecode3)) {
8182 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8183 }
8184 arg3 = static_cast< int >(val3);
8185 if (obj3) {
8186 {
8187 arg4 = &temp4;
8188 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8189 }
8190 }
8191 if (obj4) {
8192 {
8193 arg5 = &temp5;
8194 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8195 }
8196 }
8197 if (obj5) {
8198 ecode6 = SWIG_AsVal_long(obj5, &val6);
8199 if (!SWIG_IsOK(ecode6)) {
8200 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8201 }
8202 arg6 = static_cast< long >(val6);
8203 }
8204 {
8205 if (!wxPyCheckForApp()) SWIG_fail;
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8208 wxPyEndAllowThreads(__tstate);
8209 if (PyErr_Occurred()) SWIG_fail;
8210 }
8211 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8212 return resultobj;
8213 fail:
8214 return NULL;
8215 }
8216
8217
8218 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8219 PyObject *resultobj = 0;
8220 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8221 wxBitmap *arg2 = 0 ;
8222 void *argp1 = 0 ;
8223 int res1 = 0 ;
8224 void *argp2 = 0 ;
8225 int res2 = 0 ;
8226 PyObject * obj0 = 0 ;
8227 PyObject * obj1 = 0 ;
8228 char * kwnames[] = {
8229 (char *) "self",(char *) "bitmap", NULL
8230 };
8231
8232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8234 if (!SWIG_IsOK(res1)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8236 }
8237 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8238 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8239 if (!SWIG_IsOK(res2)) {
8240 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8241 }
8242 if (!argp2) {
8243 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8244 }
8245 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8246 {
8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
8248 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8249 wxPyEndAllowThreads(__tstate);
8250 if (PyErr_Occurred()) SWIG_fail;
8251 }
8252 resultobj = SWIG_Py_Void();
8253 return resultobj;
8254 fail:
8255 return NULL;
8256 }
8257
8258
8259 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8260 PyObject *resultobj = 0;
8261 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8262 wxBitmap *result = 0 ;
8263 void *argp1 = 0 ;
8264 int res1 = 0 ;
8265 PyObject *swig_obj[1] ;
8266
8267 if (!args) SWIG_fail;
8268 swig_obj[0] = args;
8269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8270 if (!SWIG_IsOK(res1)) {
8271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8272 }
8273 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8274 {
8275 PyThreadState* __tstate = wxPyBeginAllowThreads();
8276 {
8277 wxBitmap &_result_ref = (arg1)->GetBitmap();
8278 result = (wxBitmap *) &_result_ref;
8279 }
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 {
8284 wxBitmap* resultptr = new wxBitmap(*result);
8285 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8286 }
8287 return resultobj;
8288 fail:
8289 return NULL;
8290 }
8291
8292
8293 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8294 PyObject *obj;
8295 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8296 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8297 return SWIG_Py_Void();
8298 }
8299
8300 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8301 return SWIG_Python_InitShadowInstance(args);
8302 }
8303
8304 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8305 PyObject *resultobj = 0;
8306 wxBitmap *arg1 = 0 ;
8307 long arg2 ;
8308 int arg3 ;
8309 wxWindow *arg4 = (wxWindow *) 0 ;
8310 int arg5 = (int) -1 ;
8311 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8312 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8313 wxSize const &arg7_defvalue = wxDefaultSize ;
8314 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8315 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8316 wxSplashScreen *result = 0 ;
8317 void *argp1 = 0 ;
8318 int res1 = 0 ;
8319 long val2 ;
8320 int ecode2 = 0 ;
8321 int val3 ;
8322 int ecode3 = 0 ;
8323 void *argp4 = 0 ;
8324 int res4 = 0 ;
8325 int val5 ;
8326 int ecode5 = 0 ;
8327 wxPoint temp6 ;
8328 wxSize temp7 ;
8329 long val8 ;
8330 int ecode8 = 0 ;
8331 PyObject * obj0 = 0 ;
8332 PyObject * obj1 = 0 ;
8333 PyObject * obj2 = 0 ;
8334 PyObject * obj3 = 0 ;
8335 PyObject * obj4 = 0 ;
8336 PyObject * obj5 = 0 ;
8337 PyObject * obj6 = 0 ;
8338 PyObject * obj7 = 0 ;
8339 char * kwnames[] = {
8340 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8341 };
8342
8343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8344 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8345 if (!SWIG_IsOK(res1)) {
8346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8347 }
8348 if (!argp1) {
8349 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8350 }
8351 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8352 ecode2 = SWIG_AsVal_long(obj1, &val2);
8353 if (!SWIG_IsOK(ecode2)) {
8354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8355 }
8356 arg2 = static_cast< long >(val2);
8357 ecode3 = SWIG_AsVal_int(obj2, &val3);
8358 if (!SWIG_IsOK(ecode3)) {
8359 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8360 }
8361 arg3 = static_cast< int >(val3);
8362 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8363 if (!SWIG_IsOK(res4)) {
8364 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8365 }
8366 arg4 = reinterpret_cast< wxWindow * >(argp4);
8367 if (obj4) {
8368 ecode5 = SWIG_AsVal_int(obj4, &val5);
8369 if (!SWIG_IsOK(ecode5)) {
8370 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8371 }
8372 arg5 = static_cast< int >(val5);
8373 }
8374 if (obj5) {
8375 {
8376 arg6 = &temp6;
8377 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8378 }
8379 }
8380 if (obj6) {
8381 {
8382 arg7 = &temp7;
8383 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8384 }
8385 }
8386 if (obj7) {
8387 ecode8 = SWIG_AsVal_long(obj7, &val8);
8388 if (!SWIG_IsOK(ecode8)) {
8389 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8390 }
8391 arg8 = static_cast< long >(val8);
8392 }
8393 {
8394 if (!wxPyCheckForApp()) SWIG_fail;
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
8396 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8401 return resultobj;
8402 fail:
8403 return NULL;
8404 }
8405
8406
8407 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8408 PyObject *resultobj = 0;
8409 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8410 long result;
8411 void *argp1 = 0 ;
8412 int res1 = 0 ;
8413 PyObject *swig_obj[1] ;
8414
8415 if (!args) SWIG_fail;
8416 swig_obj[0] = args;
8417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8418 if (!SWIG_IsOK(res1)) {
8419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8420 }
8421 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 resultobj = SWIG_From_long(static_cast< long >(result));
8429 return resultobj;
8430 fail:
8431 return NULL;
8432 }
8433
8434
8435 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8436 PyObject *resultobj = 0;
8437 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8438 wxSplashScreenWindow *result = 0 ;
8439 void *argp1 = 0 ;
8440 int res1 = 0 ;
8441 PyObject *swig_obj[1] ;
8442
8443 if (!args) SWIG_fail;
8444 swig_obj[0] = args;
8445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8446 if (!SWIG_IsOK(res1)) {
8447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8448 }
8449 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8450 {
8451 PyThreadState* __tstate = wxPyBeginAllowThreads();
8452 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8453 wxPyEndAllowThreads(__tstate);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 }
8456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8457 return resultobj;
8458 fail:
8459 return NULL;
8460 }
8461
8462
8463 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8464 PyObject *resultobj = 0;
8465 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8466 int result;
8467 void *argp1 = 0 ;
8468 int res1 = 0 ;
8469 PyObject *swig_obj[1] ;
8470
8471 if (!args) SWIG_fail;
8472 swig_obj[0] = args;
8473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8474 if (!SWIG_IsOK(res1)) {
8475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8476 }
8477 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8478 {
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8481 wxPyEndAllowThreads(__tstate);
8482 if (PyErr_Occurred()) SWIG_fail;
8483 }
8484 resultobj = SWIG_From_int(static_cast< int >(result));
8485 return resultobj;
8486 fail:
8487 return NULL;
8488 }
8489
8490
8491 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8492 PyObject *obj;
8493 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8494 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8495 return SWIG_Py_Void();
8496 }
8497
8498 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8499 return SWIG_Python_InitShadowInstance(args);
8500 }
8501
8502 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8503 PyObject *resultobj = 0;
8504 wxWindow *arg1 = (wxWindow *) 0 ;
8505 int arg2 = (int) -1 ;
8506 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8507 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8508 wxString *arg4 = (wxString *) &arg4_defvalue ;
8509 wxStatusBar *result = 0 ;
8510 void *argp1 = 0 ;
8511 int res1 = 0 ;
8512 int val2 ;
8513 int ecode2 = 0 ;
8514 long val3 ;
8515 int ecode3 = 0 ;
8516 bool temp4 = false ;
8517 PyObject * obj0 = 0 ;
8518 PyObject * obj1 = 0 ;
8519 PyObject * obj2 = 0 ;
8520 PyObject * obj3 = 0 ;
8521 char * kwnames[] = {
8522 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8523 };
8524
8525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8527 if (!SWIG_IsOK(res1)) {
8528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8529 }
8530 arg1 = reinterpret_cast< wxWindow * >(argp1);
8531 if (obj1) {
8532 ecode2 = SWIG_AsVal_int(obj1, &val2);
8533 if (!SWIG_IsOK(ecode2)) {
8534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8535 }
8536 arg2 = static_cast< int >(val2);
8537 }
8538 if (obj2) {
8539 ecode3 = SWIG_AsVal_long(obj2, &val3);
8540 if (!SWIG_IsOK(ecode3)) {
8541 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8542 }
8543 arg3 = static_cast< long >(val3);
8544 }
8545 if (obj3) {
8546 {
8547 arg4 = wxString_in_helper(obj3);
8548 if (arg4 == NULL) SWIG_fail;
8549 temp4 = true;
8550 }
8551 }
8552 {
8553 if (!wxPyCheckForApp()) SWIG_fail;
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8556 wxPyEndAllowThreads(__tstate);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
8559 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8560 {
8561 if (temp4)
8562 delete arg4;
8563 }
8564 return resultobj;
8565 fail:
8566 {
8567 if (temp4)
8568 delete arg4;
8569 }
8570 return NULL;
8571 }
8572
8573
8574 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8575 PyObject *resultobj = 0;
8576 wxStatusBar *result = 0 ;
8577
8578 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8579 {
8580 if (!wxPyCheckForApp()) SWIG_fail;
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 result = (wxStatusBar *)new wxStatusBar();
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8587 return resultobj;
8588 fail:
8589 return NULL;
8590 }
8591
8592
8593 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8594 PyObject *resultobj = 0;
8595 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8596 wxWindow *arg2 = (wxWindow *) 0 ;
8597 int arg3 = (int) -1 ;
8598 long arg4 = (long) wxST_SIZEGRIP ;
8599 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8600 wxString *arg5 = (wxString *) &arg5_defvalue ;
8601 bool result;
8602 void *argp1 = 0 ;
8603 int res1 = 0 ;
8604 void *argp2 = 0 ;
8605 int res2 = 0 ;
8606 int val3 ;
8607 int ecode3 = 0 ;
8608 long val4 ;
8609 int ecode4 = 0 ;
8610 bool temp5 = false ;
8611 PyObject * obj0 = 0 ;
8612 PyObject * obj1 = 0 ;
8613 PyObject * obj2 = 0 ;
8614 PyObject * obj3 = 0 ;
8615 PyObject * obj4 = 0 ;
8616 char * kwnames[] = {
8617 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8618 };
8619
8620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8622 if (!SWIG_IsOK(res1)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8624 }
8625 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8626 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8627 if (!SWIG_IsOK(res2)) {
8628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8629 }
8630 arg2 = reinterpret_cast< wxWindow * >(argp2);
8631 if (obj2) {
8632 ecode3 = SWIG_AsVal_int(obj2, &val3);
8633 if (!SWIG_IsOK(ecode3)) {
8634 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8635 }
8636 arg3 = static_cast< int >(val3);
8637 }
8638 if (obj3) {
8639 ecode4 = SWIG_AsVal_long(obj3, &val4);
8640 if (!SWIG_IsOK(ecode4)) {
8641 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8642 }
8643 arg4 = static_cast< long >(val4);
8644 }
8645 if (obj4) {
8646 {
8647 arg5 = wxString_in_helper(obj4);
8648 if (arg5 == NULL) SWIG_fail;
8649 temp5 = true;
8650 }
8651 }
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 {
8659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8660 }
8661 {
8662 if (temp5)
8663 delete arg5;
8664 }
8665 return resultobj;
8666 fail:
8667 {
8668 if (temp5)
8669 delete arg5;
8670 }
8671 return NULL;
8672 }
8673
8674
8675 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj = 0;
8677 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8678 int arg2 = (int) 1 ;
8679 void *argp1 = 0 ;
8680 int res1 = 0 ;
8681 int val2 ;
8682 int ecode2 = 0 ;
8683 PyObject * obj0 = 0 ;
8684 PyObject * obj1 = 0 ;
8685 char * kwnames[] = {
8686 (char *) "self",(char *) "number", NULL
8687 };
8688
8689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8691 if (!SWIG_IsOK(res1)) {
8692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8693 }
8694 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8695 if (obj1) {
8696 ecode2 = SWIG_AsVal_int(obj1, &val2);
8697 if (!SWIG_IsOK(ecode2)) {
8698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8699 }
8700 arg2 = static_cast< int >(val2);
8701 }
8702 {
8703 PyThreadState* __tstate = wxPyBeginAllowThreads();
8704 (arg1)->SetFieldsCount(arg2);
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 resultobj = SWIG_Py_Void();
8709 return resultobj;
8710 fail:
8711 return NULL;
8712 }
8713
8714
8715 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8716 PyObject *resultobj = 0;
8717 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8718 int result;
8719 void *argp1 = 0 ;
8720 int res1 = 0 ;
8721 PyObject *swig_obj[1] ;
8722
8723 if (!args) SWIG_fail;
8724 swig_obj[0] = args;
8725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8726 if (!SWIG_IsOK(res1)) {
8727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8728 }
8729 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8730 {
8731 PyThreadState* __tstate = wxPyBeginAllowThreads();
8732 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 resultobj = SWIG_From_int(static_cast< int >(result));
8737 return resultobj;
8738 fail:
8739 return NULL;
8740 }
8741
8742
8743 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8744 PyObject *resultobj = 0;
8745 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8746 wxString *arg2 = 0 ;
8747 int arg3 = (int) 0 ;
8748 void *argp1 = 0 ;
8749 int res1 = 0 ;
8750 bool temp2 = false ;
8751 int val3 ;
8752 int ecode3 = 0 ;
8753 PyObject * obj0 = 0 ;
8754 PyObject * obj1 = 0 ;
8755 PyObject * obj2 = 0 ;
8756 char * kwnames[] = {
8757 (char *) "self",(char *) "text",(char *) "number", NULL
8758 };
8759
8760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8762 if (!SWIG_IsOK(res1)) {
8763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8764 }
8765 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8766 {
8767 arg2 = wxString_in_helper(obj1);
8768 if (arg2 == NULL) SWIG_fail;
8769 temp2 = true;
8770 }
8771 if (obj2) {
8772 ecode3 = SWIG_AsVal_int(obj2, &val3);
8773 if (!SWIG_IsOK(ecode3)) {
8774 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8775 }
8776 arg3 = static_cast< int >(val3);
8777 }
8778 {
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8781 wxPyEndAllowThreads(__tstate);
8782 if (PyErr_Occurred()) SWIG_fail;
8783 }
8784 resultobj = SWIG_Py_Void();
8785 {
8786 if (temp2)
8787 delete arg2;
8788 }
8789 return resultobj;
8790 fail:
8791 {
8792 if (temp2)
8793 delete arg2;
8794 }
8795 return NULL;
8796 }
8797
8798
8799 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8800 PyObject *resultobj = 0;
8801 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8802 int arg2 = (int) 0 ;
8803 wxString result;
8804 void *argp1 = 0 ;
8805 int res1 = 0 ;
8806 int val2 ;
8807 int ecode2 = 0 ;
8808 PyObject * obj0 = 0 ;
8809 PyObject * obj1 = 0 ;
8810 char * kwnames[] = {
8811 (char *) "self",(char *) "number", NULL
8812 };
8813
8814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8816 if (!SWIG_IsOK(res1)) {
8817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8818 }
8819 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8820 if (obj1) {
8821 ecode2 = SWIG_AsVal_int(obj1, &val2);
8822 if (!SWIG_IsOK(ecode2)) {
8823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8824 }
8825 arg2 = static_cast< int >(val2);
8826 }
8827 {
8828 PyThreadState* __tstate = wxPyBeginAllowThreads();
8829 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 {
8834 #if wxUSE_UNICODE
8835 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8836 #else
8837 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8838 #endif
8839 }
8840 return resultobj;
8841 fail:
8842 return NULL;
8843 }
8844
8845
8846 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8847 PyObject *resultobj = 0;
8848 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8849 wxString *arg2 = 0 ;
8850 int arg3 = (int) 0 ;
8851 void *argp1 = 0 ;
8852 int res1 = 0 ;
8853 bool temp2 = false ;
8854 int val3 ;
8855 int ecode3 = 0 ;
8856 PyObject * obj0 = 0 ;
8857 PyObject * obj1 = 0 ;
8858 PyObject * obj2 = 0 ;
8859 char * kwnames[] = {
8860 (char *) "self",(char *) "text",(char *) "number", NULL
8861 };
8862
8863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8865 if (!SWIG_IsOK(res1)) {
8866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8867 }
8868 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8869 {
8870 arg2 = wxString_in_helper(obj1);
8871 if (arg2 == NULL) SWIG_fail;
8872 temp2 = true;
8873 }
8874 if (obj2) {
8875 ecode3 = SWIG_AsVal_int(obj2, &val3);
8876 if (!SWIG_IsOK(ecode3)) {
8877 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8878 }
8879 arg3 = static_cast< int >(val3);
8880 }
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8884 wxPyEndAllowThreads(__tstate);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 }
8887 resultobj = SWIG_Py_Void();
8888 {
8889 if (temp2)
8890 delete arg2;
8891 }
8892 return resultobj;
8893 fail:
8894 {
8895 if (temp2)
8896 delete arg2;
8897 }
8898 return NULL;
8899 }
8900
8901
8902 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8903 PyObject *resultobj = 0;
8904 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8905 int arg2 = (int) 0 ;
8906 void *argp1 = 0 ;
8907 int res1 = 0 ;
8908 int val2 ;
8909 int ecode2 = 0 ;
8910 PyObject * obj0 = 0 ;
8911 PyObject * obj1 = 0 ;
8912 char * kwnames[] = {
8913 (char *) "self",(char *) "number", NULL
8914 };
8915
8916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8918 if (!SWIG_IsOK(res1)) {
8919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8920 }
8921 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8922 if (obj1) {
8923 ecode2 = SWIG_AsVal_int(obj1, &val2);
8924 if (!SWIG_IsOK(ecode2)) {
8925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8926 }
8927 arg2 = static_cast< int >(val2);
8928 }
8929 {
8930 PyThreadState* __tstate = wxPyBeginAllowThreads();
8931 (arg1)->PopStatusText(arg2);
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 resultobj = SWIG_Py_Void();
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj = 0;
8944 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8945 int arg2 ;
8946 int *arg3 = (int *) 0 ;
8947 void *argp1 = 0 ;
8948 int res1 = 0 ;
8949 PyObject * obj0 = 0 ;
8950 PyObject * obj1 = 0 ;
8951 char * kwnames[] = {
8952 (char *) "self",(char *) "widths", NULL
8953 };
8954
8955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8957 if (!SWIG_IsOK(res1)) {
8958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8959 }
8960 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8961 {
8962 arg2 = PyList_Size(obj1);
8963 arg3 = int_LIST_helper(obj1);
8964 if (arg3 == NULL) SWIG_fail;
8965 }
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
8968 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 resultobj = SWIG_Py_Void();
8973 {
8974 if (arg3) delete [] arg3;
8975 }
8976 return resultobj;
8977 fail:
8978 {
8979 if (arg3) delete [] arg3;
8980 }
8981 return NULL;
8982 }
8983
8984
8985 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8986 PyObject *resultobj = 0;
8987 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8988 int arg2 ;
8989 int *arg3 = (int *) 0 ;
8990 void *argp1 = 0 ;
8991 int res1 = 0 ;
8992 PyObject * obj0 = 0 ;
8993 PyObject * obj1 = 0 ;
8994 char * kwnames[] = {
8995 (char *) "self",(char *) "styles", NULL
8996 };
8997
8998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9000 if (!SWIG_IsOK(res1)) {
9001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9002 }
9003 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9004 {
9005 arg2 = PyList_Size(obj1);
9006 arg3 = int_LIST_helper(obj1);
9007 if (arg3 == NULL) SWIG_fail;
9008 }
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 resultobj = SWIG_Py_Void();
9016 {
9017 if (arg3) delete [] arg3;
9018 }
9019 return resultobj;
9020 fail:
9021 {
9022 if (arg3) delete [] arg3;
9023 }
9024 return NULL;
9025 }
9026
9027
9028 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9029 PyObject *resultobj = 0;
9030 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9031 int arg2 ;
9032 wxRect result;
9033 void *argp1 = 0 ;
9034 int res1 = 0 ;
9035 int val2 ;
9036 int ecode2 = 0 ;
9037 PyObject * obj0 = 0 ;
9038 PyObject * obj1 = 0 ;
9039 char * kwnames[] = {
9040 (char *) "self",(char *) "i", NULL
9041 };
9042
9043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9045 if (!SWIG_IsOK(res1)) {
9046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9047 }
9048 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9049 ecode2 = SWIG_AsVal_int(obj1, &val2);
9050 if (!SWIG_IsOK(ecode2)) {
9051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9052 }
9053 arg2 = static_cast< int >(val2);
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 result = wxStatusBar_GetFieldRect(arg1,arg2);
9057 wxPyEndAllowThreads(__tstate);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 }
9060 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9061 return resultobj;
9062 fail:
9063 return NULL;
9064 }
9065
9066
9067 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9068 PyObject *resultobj = 0;
9069 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9070 int arg2 ;
9071 void *argp1 = 0 ;
9072 int res1 = 0 ;
9073 int val2 ;
9074 int ecode2 = 0 ;
9075 PyObject * obj0 = 0 ;
9076 PyObject * obj1 = 0 ;
9077 char * kwnames[] = {
9078 (char *) "self",(char *) "height", NULL
9079 };
9080
9081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9083 if (!SWIG_IsOK(res1)) {
9084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9085 }
9086 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9087 ecode2 = SWIG_AsVal_int(obj1, &val2);
9088 if (!SWIG_IsOK(ecode2)) {
9089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9090 }
9091 arg2 = static_cast< int >(val2);
9092 {
9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
9094 (arg1)->SetMinHeight(arg2);
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 resultobj = SWIG_Py_Void();
9099 return resultobj;
9100 fail:
9101 return NULL;
9102 }
9103
9104
9105 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9106 PyObject *resultobj = 0;
9107 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9108 int result;
9109 void *argp1 = 0 ;
9110 int res1 = 0 ;
9111 PyObject *swig_obj[1] ;
9112
9113 if (!args) SWIG_fail;
9114 swig_obj[0] = args;
9115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9116 if (!SWIG_IsOK(res1)) {
9117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9118 }
9119 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9123 wxPyEndAllowThreads(__tstate);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 }
9126 resultobj = SWIG_From_int(static_cast< int >(result));
9127 return resultobj;
9128 fail:
9129 return NULL;
9130 }
9131
9132
9133 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9134 PyObject *resultobj = 0;
9135 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9136 int result;
9137 void *argp1 = 0 ;
9138 int res1 = 0 ;
9139 PyObject *swig_obj[1] ;
9140
9141 if (!args) SWIG_fail;
9142 swig_obj[0] = args;
9143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9144 if (!SWIG_IsOK(res1)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9146 }
9147 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9151 wxPyEndAllowThreads(__tstate);
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 resultobj = SWIG_From_int(static_cast< int >(result));
9155 return resultobj;
9156 fail:
9157 return NULL;
9158 }
9159
9160
9161 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9162 PyObject *resultobj = 0;
9163 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9164 SwigValueWrapper<wxVisualAttributes > result;
9165 int val1 ;
9166 int ecode1 = 0 ;
9167 PyObject * obj0 = 0 ;
9168 char * kwnames[] = {
9169 (char *) "variant", NULL
9170 };
9171
9172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9173 if (obj0) {
9174 ecode1 = SWIG_AsVal_int(obj0, &val1);
9175 if (!SWIG_IsOK(ecode1)) {
9176 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9177 }
9178 arg1 = static_cast< wxWindowVariant >(val1);
9179 }
9180 {
9181 if (!wxPyCheckForApp()) SWIG_fail;
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9188 return resultobj;
9189 fail:
9190 return NULL;
9191 }
9192
9193
9194 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9195 PyObject *obj;
9196 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9197 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9198 return SWIG_Py_Void();
9199 }
9200
9201 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9202 return SWIG_Python_InitShadowInstance(args);
9203 }
9204
9205 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9206 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9207 return 1;
9208 }
9209
9210
9211 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9212 PyObject *pyobj = 0;
9213
9214 {
9215 #if wxUSE_UNICODE
9216 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9217 #else
9218 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9219 #endif
9220 }
9221 return pyobj;
9222 }
9223
9224
9225 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj = 0;
9227 wxWindow *arg1 = (wxWindow *) 0 ;
9228 int arg2 = (int) -1 ;
9229 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9230 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9231 wxSize const &arg4_defvalue = wxDefaultSize ;
9232 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9233 long arg5 = (long) wxSP_3D ;
9234 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9235 wxString *arg6 = (wxString *) &arg6_defvalue ;
9236 wxSplitterWindow *result = 0 ;
9237 void *argp1 = 0 ;
9238 int res1 = 0 ;
9239 int val2 ;
9240 int ecode2 = 0 ;
9241 wxPoint temp3 ;
9242 wxSize temp4 ;
9243 long val5 ;
9244 int ecode5 = 0 ;
9245 bool temp6 = false ;
9246 PyObject * obj0 = 0 ;
9247 PyObject * obj1 = 0 ;
9248 PyObject * obj2 = 0 ;
9249 PyObject * obj3 = 0 ;
9250 PyObject * obj4 = 0 ;
9251 PyObject * obj5 = 0 ;
9252 char * kwnames[] = {
9253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9254 };
9255
9256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9258 if (!SWIG_IsOK(res1)) {
9259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9260 }
9261 arg1 = reinterpret_cast< wxWindow * >(argp1);
9262 if (obj1) {
9263 ecode2 = SWIG_AsVal_int(obj1, &val2);
9264 if (!SWIG_IsOK(ecode2)) {
9265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9266 }
9267 arg2 = static_cast< int >(val2);
9268 }
9269 if (obj2) {
9270 {
9271 arg3 = &temp3;
9272 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9273 }
9274 }
9275 if (obj3) {
9276 {
9277 arg4 = &temp4;
9278 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9279 }
9280 }
9281 if (obj4) {
9282 ecode5 = SWIG_AsVal_long(obj4, &val5);
9283 if (!SWIG_IsOK(ecode5)) {
9284 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9285 }
9286 arg5 = static_cast< long >(val5);
9287 }
9288 if (obj5) {
9289 {
9290 arg6 = wxString_in_helper(obj5);
9291 if (arg6 == NULL) SWIG_fail;
9292 temp6 = true;
9293 }
9294 }
9295 {
9296 if (!wxPyCheckForApp()) SWIG_fail;
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9303 {
9304 if (temp6)
9305 delete arg6;
9306 }
9307 return resultobj;
9308 fail:
9309 {
9310 if (temp6)
9311 delete arg6;
9312 }
9313 return NULL;
9314 }
9315
9316
9317 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9318 PyObject *resultobj = 0;
9319 wxSplitterWindow *result = 0 ;
9320
9321 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9322 {
9323 if (!wxPyCheckForApp()) SWIG_fail;
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 result = (wxSplitterWindow *)new wxSplitterWindow();
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9330 return resultobj;
9331 fail:
9332 return NULL;
9333 }
9334
9335
9336 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj = 0;
9338 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9339 wxWindow *arg2 = (wxWindow *) 0 ;
9340 int arg3 = (int) -1 ;
9341 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9342 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9343 wxSize const &arg5_defvalue = wxDefaultSize ;
9344 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9345 long arg6 = (long) wxSP_3D ;
9346 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9347 wxString *arg7 = (wxString *) &arg7_defvalue ;
9348 bool result;
9349 void *argp1 = 0 ;
9350 int res1 = 0 ;
9351 void *argp2 = 0 ;
9352 int res2 = 0 ;
9353 int val3 ;
9354 int ecode3 = 0 ;
9355 wxPoint temp4 ;
9356 wxSize temp5 ;
9357 long val6 ;
9358 int ecode6 = 0 ;
9359 bool temp7 = false ;
9360 PyObject * obj0 = 0 ;
9361 PyObject * obj1 = 0 ;
9362 PyObject * obj2 = 0 ;
9363 PyObject * obj3 = 0 ;
9364 PyObject * obj4 = 0 ;
9365 PyObject * obj5 = 0 ;
9366 PyObject * obj6 = 0 ;
9367 char * kwnames[] = {
9368 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9369 };
9370
9371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9373 if (!SWIG_IsOK(res1)) {
9374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9375 }
9376 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9377 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9378 if (!SWIG_IsOK(res2)) {
9379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9380 }
9381 arg2 = reinterpret_cast< wxWindow * >(argp2);
9382 if (obj2) {
9383 ecode3 = SWIG_AsVal_int(obj2, &val3);
9384 if (!SWIG_IsOK(ecode3)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9386 }
9387 arg3 = static_cast< int >(val3);
9388 }
9389 if (obj3) {
9390 {
9391 arg4 = &temp4;
9392 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9393 }
9394 }
9395 if (obj4) {
9396 {
9397 arg5 = &temp5;
9398 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9399 }
9400 }
9401 if (obj5) {
9402 ecode6 = SWIG_AsVal_long(obj5, &val6);
9403 if (!SWIG_IsOK(ecode6)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9405 }
9406 arg6 = static_cast< long >(val6);
9407 }
9408 if (obj6) {
9409 {
9410 arg7 = wxString_in_helper(obj6);
9411 if (arg7 == NULL) SWIG_fail;
9412 temp7 = true;
9413 }
9414 }
9415 {
9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9417 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9418 wxPyEndAllowThreads(__tstate);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 }
9421 {
9422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9423 }
9424 {
9425 if (temp7)
9426 delete arg7;
9427 }
9428 return resultobj;
9429 fail:
9430 {
9431 if (temp7)
9432 delete arg7;
9433 }
9434 return NULL;
9435 }
9436
9437
9438 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9439 PyObject *resultobj = 0;
9440 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9441 wxWindow *result = 0 ;
9442 void *argp1 = 0 ;
9443 int res1 = 0 ;
9444 PyObject *swig_obj[1] ;
9445
9446 if (!args) SWIG_fail;
9447 swig_obj[0] = args;
9448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9449 if (!SWIG_IsOK(res1)) {
9450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9451 }
9452 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 {
9460 resultobj = wxPyMake_wxObject(result, 0);
9461 }
9462 return resultobj;
9463 fail:
9464 return NULL;
9465 }
9466
9467
9468 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9469 PyObject *resultobj = 0;
9470 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9471 wxWindow *result = 0 ;
9472 void *argp1 = 0 ;
9473 int res1 = 0 ;
9474 PyObject *swig_obj[1] ;
9475
9476 if (!args) SWIG_fail;
9477 swig_obj[0] = args;
9478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9479 if (!SWIG_IsOK(res1)) {
9480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9481 }
9482 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 {
9490 resultobj = wxPyMake_wxObject(result, 0);
9491 }
9492 return resultobj;
9493 fail:
9494 return NULL;
9495 }
9496
9497
9498 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj = 0;
9500 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9501 int arg2 ;
9502 void *argp1 = 0 ;
9503 int res1 = 0 ;
9504 int val2 ;
9505 int ecode2 = 0 ;
9506 PyObject * obj0 = 0 ;
9507 PyObject * obj1 = 0 ;
9508 char * kwnames[] = {
9509 (char *) "self",(char *) "mode", NULL
9510 };
9511
9512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9514 if (!SWIG_IsOK(res1)) {
9515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9516 }
9517 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9518 ecode2 = SWIG_AsVal_int(obj1, &val2);
9519 if (!SWIG_IsOK(ecode2)) {
9520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9521 }
9522 arg2 = static_cast< int >(val2);
9523 {
9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
9525 (arg1)->SetSplitMode(arg2);
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 resultobj = SWIG_Py_Void();
9530 return resultobj;
9531 fail:
9532 return NULL;
9533 }
9534
9535
9536 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9537 PyObject *resultobj = 0;
9538 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9539 wxSplitMode result;
9540 void *argp1 = 0 ;
9541 int res1 = 0 ;
9542 PyObject *swig_obj[1] ;
9543
9544 if (!args) SWIG_fail;
9545 swig_obj[0] = args;
9546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9547 if (!SWIG_IsOK(res1)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9549 }
9550 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 resultobj = SWIG_From_int(static_cast< int >(result));
9558 return resultobj;
9559 fail:
9560 return NULL;
9561 }
9562
9563
9564 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9565 PyObject *resultobj = 0;
9566 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9567 wxWindow *arg2 = (wxWindow *) 0 ;
9568 void *argp1 = 0 ;
9569 int res1 = 0 ;
9570 void *argp2 = 0 ;
9571 int res2 = 0 ;
9572 PyObject * obj0 = 0 ;
9573 PyObject * obj1 = 0 ;
9574 char * kwnames[] = {
9575 (char *) "self",(char *) "window", NULL
9576 };
9577
9578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9580 if (!SWIG_IsOK(res1)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9582 }
9583 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9584 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9585 if (!SWIG_IsOK(res2)) {
9586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9587 }
9588 arg2 = reinterpret_cast< wxWindow * >(argp2);
9589 {
9590 PyThreadState* __tstate = wxPyBeginAllowThreads();
9591 (arg1)->Initialize(arg2);
9592 wxPyEndAllowThreads(__tstate);
9593 if (PyErr_Occurred()) SWIG_fail;
9594 }
9595 resultobj = SWIG_Py_Void();
9596 return resultobj;
9597 fail:
9598 return NULL;
9599 }
9600
9601
9602 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9603 PyObject *resultobj = 0;
9604 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9605 wxWindow *arg2 = (wxWindow *) 0 ;
9606 wxWindow *arg3 = (wxWindow *) 0 ;
9607 int arg4 = (int) 0 ;
9608 bool result;
9609 void *argp1 = 0 ;
9610 int res1 = 0 ;
9611 void *argp2 = 0 ;
9612 int res2 = 0 ;
9613 void *argp3 = 0 ;
9614 int res3 = 0 ;
9615 int val4 ;
9616 int ecode4 = 0 ;
9617 PyObject * obj0 = 0 ;
9618 PyObject * obj1 = 0 ;
9619 PyObject * obj2 = 0 ;
9620 PyObject * obj3 = 0 ;
9621 char * kwnames[] = {
9622 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9623 };
9624
9625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9627 if (!SWIG_IsOK(res1)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9629 }
9630 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9631 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9632 if (!SWIG_IsOK(res2)) {
9633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9634 }
9635 arg2 = reinterpret_cast< wxWindow * >(argp2);
9636 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9637 if (!SWIG_IsOK(res3)) {
9638 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9639 }
9640 arg3 = reinterpret_cast< wxWindow * >(argp3);
9641 if (obj3) {
9642 ecode4 = SWIG_AsVal_int(obj3, &val4);
9643 if (!SWIG_IsOK(ecode4)) {
9644 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9645 }
9646 arg4 = static_cast< int >(val4);
9647 }
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 {
9655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9656 }
9657 return resultobj;
9658 fail:
9659 return NULL;
9660 }
9661
9662
9663 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9664 PyObject *resultobj = 0;
9665 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9666 wxWindow *arg2 = (wxWindow *) 0 ;
9667 wxWindow *arg3 = (wxWindow *) 0 ;
9668 int arg4 = (int) 0 ;
9669 bool result;
9670 void *argp1 = 0 ;
9671 int res1 = 0 ;
9672 void *argp2 = 0 ;
9673 int res2 = 0 ;
9674 void *argp3 = 0 ;
9675 int res3 = 0 ;
9676 int val4 ;
9677 int ecode4 = 0 ;
9678 PyObject * obj0 = 0 ;
9679 PyObject * obj1 = 0 ;
9680 PyObject * obj2 = 0 ;
9681 PyObject * obj3 = 0 ;
9682 char * kwnames[] = {
9683 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9684 };
9685
9686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9688 if (!SWIG_IsOK(res1)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9690 }
9691 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9692 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9693 if (!SWIG_IsOK(res2)) {
9694 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9695 }
9696 arg2 = reinterpret_cast< wxWindow * >(argp2);
9697 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9698 if (!SWIG_IsOK(res3)) {
9699 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9700 }
9701 arg3 = reinterpret_cast< wxWindow * >(argp3);
9702 if (obj3) {
9703 ecode4 = SWIG_AsVal_int(obj3, &val4);
9704 if (!SWIG_IsOK(ecode4)) {
9705 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9706 }
9707 arg4 = static_cast< int >(val4);
9708 }
9709 {
9710 PyThreadState* __tstate = wxPyBeginAllowThreads();
9711 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 {
9716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9717 }
9718 return resultobj;
9719 fail:
9720 return NULL;
9721 }
9722
9723
9724 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9725 PyObject *resultobj = 0;
9726 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9727 wxWindow *arg2 = (wxWindow *) NULL ;
9728 bool result;
9729 void *argp1 = 0 ;
9730 int res1 = 0 ;
9731 void *argp2 = 0 ;
9732 int res2 = 0 ;
9733 PyObject * obj0 = 0 ;
9734 PyObject * obj1 = 0 ;
9735 char * kwnames[] = {
9736 (char *) "self",(char *) "toRemove", NULL
9737 };
9738
9739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9741 if (!SWIG_IsOK(res1)) {
9742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9743 }
9744 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9745 if (obj1) {
9746 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9747 if (!SWIG_IsOK(res2)) {
9748 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9749 }
9750 arg2 = reinterpret_cast< wxWindow * >(argp2);
9751 }
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = (bool)(arg1)->Unsplit(arg2);
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 {
9759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9760 }
9761 return resultobj;
9762 fail:
9763 return NULL;
9764 }
9765
9766
9767 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9768 PyObject *resultobj = 0;
9769 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9770 wxWindow *arg2 = (wxWindow *) 0 ;
9771 wxWindow *arg3 = (wxWindow *) 0 ;
9772 bool result;
9773 void *argp1 = 0 ;
9774 int res1 = 0 ;
9775 void *argp2 = 0 ;
9776 int res2 = 0 ;
9777 void *argp3 = 0 ;
9778 int res3 = 0 ;
9779 PyObject * obj0 = 0 ;
9780 PyObject * obj1 = 0 ;
9781 PyObject * obj2 = 0 ;
9782 char * kwnames[] = {
9783 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9784 };
9785
9786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9788 if (!SWIG_IsOK(res1)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9790 }
9791 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9792 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9793 if (!SWIG_IsOK(res2)) {
9794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9795 }
9796 arg2 = reinterpret_cast< wxWindow * >(argp2);
9797 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9798 if (!SWIG_IsOK(res3)) {
9799 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9800 }
9801 arg3 = reinterpret_cast< wxWindow * >(argp3);
9802 {
9803 PyThreadState* __tstate = wxPyBeginAllowThreads();
9804 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
9808 {
9809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9810 }
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9818 PyObject *resultobj = 0;
9819 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9820 void *argp1 = 0 ;
9821 int res1 = 0 ;
9822 PyObject *swig_obj[1] ;
9823
9824 if (!args) SWIG_fail;
9825 swig_obj[0] = args;
9826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9827 if (!SWIG_IsOK(res1)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9829 }
9830 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 (arg1)->UpdateSize();
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = SWIG_Py_Void();
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9845 PyObject *resultobj = 0;
9846 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9847 bool result;
9848 void *argp1 = 0 ;
9849 int res1 = 0 ;
9850 PyObject *swig_obj[1] ;
9851
9852 if (!args) SWIG_fail;
9853 swig_obj[0] = args;
9854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9855 if (!SWIG_IsOK(res1)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9857 }
9858 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 {
9866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9867 }
9868 return resultobj;
9869 fail:
9870 return NULL;
9871 }
9872
9873
9874 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9875 PyObject *resultobj = 0;
9876 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9877 int arg2 ;
9878 void *argp1 = 0 ;
9879 int res1 = 0 ;
9880 int val2 ;
9881 int ecode2 = 0 ;
9882 PyObject * obj0 = 0 ;
9883 PyObject * obj1 = 0 ;
9884 char * kwnames[] = {
9885 (char *) "self",(char *) "width", NULL
9886 };
9887
9888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9890 if (!SWIG_IsOK(res1)) {
9891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9892 }
9893 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9894 ecode2 = SWIG_AsVal_int(obj1, &val2);
9895 if (!SWIG_IsOK(ecode2)) {
9896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9897 }
9898 arg2 = static_cast< int >(val2);
9899 {
9900 PyThreadState* __tstate = wxPyBeginAllowThreads();
9901 (arg1)->SetSashSize(arg2);
9902 wxPyEndAllowThreads(__tstate);
9903 if (PyErr_Occurred()) SWIG_fail;
9904 }
9905 resultobj = SWIG_Py_Void();
9906 return resultobj;
9907 fail:
9908 return NULL;
9909 }
9910
9911
9912 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9913 PyObject *resultobj = 0;
9914 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9915 int arg2 ;
9916 void *argp1 = 0 ;
9917 int res1 = 0 ;
9918 int val2 ;
9919 int ecode2 = 0 ;
9920 PyObject * obj0 = 0 ;
9921 PyObject * obj1 = 0 ;
9922 char * kwnames[] = {
9923 (char *) "self",(char *) "width", NULL
9924 };
9925
9926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9928 if (!SWIG_IsOK(res1)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9930 }
9931 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9932 ecode2 = SWIG_AsVal_int(obj1, &val2);
9933 if (!SWIG_IsOK(ecode2)) {
9934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9935 }
9936 arg2 = static_cast< int >(val2);
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 (arg1)->SetBorderSize(arg2);
9940 wxPyEndAllowThreads(__tstate);
9941 if (PyErr_Occurred()) SWIG_fail;
9942 }
9943 resultobj = SWIG_Py_Void();
9944 return resultobj;
9945 fail:
9946 return NULL;
9947 }
9948
9949
9950 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9951 PyObject *resultobj = 0;
9952 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9953 int result;
9954 void *argp1 = 0 ;
9955 int res1 = 0 ;
9956 PyObject *swig_obj[1] ;
9957
9958 if (!args) SWIG_fail;
9959 swig_obj[0] = args;
9960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9961 if (!SWIG_IsOK(res1)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9963 }
9964 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = SWIG_From_int(static_cast< int >(result));
9972 return resultobj;
9973 fail:
9974 return NULL;
9975 }
9976
9977
9978 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9979 PyObject *resultobj = 0;
9980 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9981 int result;
9982 void *argp1 = 0 ;
9983 int res1 = 0 ;
9984 PyObject *swig_obj[1] ;
9985
9986 if (!args) SWIG_fail;
9987 swig_obj[0] = args;
9988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9989 if (!SWIG_IsOK(res1)) {
9990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9991 }
9992 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 resultobj = SWIG_From_int(static_cast< int >(result));
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj = 0;
10008 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10009 int arg2 ;
10010 bool arg3 = (bool) true ;
10011 void *argp1 = 0 ;
10012 int res1 = 0 ;
10013 int val2 ;
10014 int ecode2 = 0 ;
10015 bool val3 ;
10016 int ecode3 = 0 ;
10017 PyObject * obj0 = 0 ;
10018 PyObject * obj1 = 0 ;
10019 PyObject * obj2 = 0 ;
10020 char * kwnames[] = {
10021 (char *) "self",(char *) "position",(char *) "redraw", NULL
10022 };
10023
10024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10026 if (!SWIG_IsOK(res1)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10028 }
10029 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10030 ecode2 = SWIG_AsVal_int(obj1, &val2);
10031 if (!SWIG_IsOK(ecode2)) {
10032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10033 }
10034 arg2 = static_cast< int >(val2);
10035 if (obj2) {
10036 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10037 if (!SWIG_IsOK(ecode3)) {
10038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10039 }
10040 arg3 = static_cast< bool >(val3);
10041 }
10042 {
10043 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044 (arg1)->SetSashPosition(arg2,arg3);
10045 wxPyEndAllowThreads(__tstate);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 }
10048 resultobj = SWIG_Py_Void();
10049 return resultobj;
10050 fail:
10051 return NULL;
10052 }
10053
10054
10055 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10056 PyObject *resultobj = 0;
10057 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10058 int result;
10059 void *argp1 = 0 ;
10060 int res1 = 0 ;
10061 PyObject *swig_obj[1] ;
10062
10063 if (!args) SWIG_fail;
10064 swig_obj[0] = args;
10065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10066 if (!SWIG_IsOK(res1)) {
10067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10068 }
10069 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 resultobj = SWIG_From_int(static_cast< int >(result));
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj = 0;
10085 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10086 double arg2 ;
10087 void *argp1 = 0 ;
10088 int res1 = 0 ;
10089 double val2 ;
10090 int ecode2 = 0 ;
10091 PyObject * obj0 = 0 ;
10092 PyObject * obj1 = 0 ;
10093 char * kwnames[] = {
10094 (char *) "self",(char *) "gravity", NULL
10095 };
10096
10097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10099 if (!SWIG_IsOK(res1)) {
10100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10101 }
10102 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10103 ecode2 = SWIG_AsVal_double(obj1, &val2);
10104 if (!SWIG_IsOK(ecode2)) {
10105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10106 }
10107 arg2 = static_cast< double >(val2);
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 (arg1)->SetSashGravity(arg2);
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 resultobj = SWIG_Py_Void();
10115 return resultobj;
10116 fail:
10117 return NULL;
10118 }
10119
10120
10121 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10122 PyObject *resultobj = 0;
10123 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10124 double result;
10125 void *argp1 = 0 ;
10126 int res1 = 0 ;
10127 PyObject *swig_obj[1] ;
10128
10129 if (!args) SWIG_fail;
10130 swig_obj[0] = args;
10131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10132 if (!SWIG_IsOK(res1)) {
10133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10134 }
10135 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 resultobj = SWIG_From_double(static_cast< double >(result));
10143 return resultobj;
10144 fail:
10145 return NULL;
10146 }
10147
10148
10149 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj = 0;
10151 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10152 int arg2 ;
10153 void *argp1 = 0 ;
10154 int res1 = 0 ;
10155 int val2 ;
10156 int ecode2 = 0 ;
10157 PyObject * obj0 = 0 ;
10158 PyObject * obj1 = 0 ;
10159 char * kwnames[] = {
10160 (char *) "self",(char *) "min", NULL
10161 };
10162
10163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10165 if (!SWIG_IsOK(res1)) {
10166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10167 }
10168 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10169 ecode2 = SWIG_AsVal_int(obj1, &val2);
10170 if (!SWIG_IsOK(ecode2)) {
10171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10172 }
10173 arg2 = static_cast< int >(val2);
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 (arg1)->SetMinimumPaneSize(arg2);
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 resultobj = SWIG_Py_Void();
10181 return resultobj;
10182 fail:
10183 return NULL;
10184 }
10185
10186
10187 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10188 PyObject *resultobj = 0;
10189 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10190 int result;
10191 void *argp1 = 0 ;
10192 int res1 = 0 ;
10193 PyObject *swig_obj[1] ;
10194
10195 if (!args) SWIG_fail;
10196 swig_obj[0] = args;
10197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10198 if (!SWIG_IsOK(res1)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10200 }
10201 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 resultobj = SWIG_From_int(static_cast< int >(result));
10209 return resultobj;
10210 fail:
10211 return NULL;
10212 }
10213
10214
10215 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10216 PyObject *resultobj = 0;
10217 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10218 int arg2 ;
10219 int arg3 ;
10220 int arg4 = (int) 5 ;
10221 bool result;
10222 void *argp1 = 0 ;
10223 int res1 = 0 ;
10224 int val2 ;
10225 int ecode2 = 0 ;
10226 int val3 ;
10227 int ecode3 = 0 ;
10228 int val4 ;
10229 int ecode4 = 0 ;
10230 PyObject * obj0 = 0 ;
10231 PyObject * obj1 = 0 ;
10232 PyObject * obj2 = 0 ;
10233 PyObject * obj3 = 0 ;
10234 char * kwnames[] = {
10235 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10236 };
10237
10238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10240 if (!SWIG_IsOK(res1)) {
10241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10242 }
10243 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10244 ecode2 = SWIG_AsVal_int(obj1, &val2);
10245 if (!SWIG_IsOK(ecode2)) {
10246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10247 }
10248 arg2 = static_cast< int >(val2);
10249 ecode3 = SWIG_AsVal_int(obj2, &val3);
10250 if (!SWIG_IsOK(ecode3)) {
10251 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10252 }
10253 arg3 = static_cast< int >(val3);
10254 if (obj3) {
10255 ecode4 = SWIG_AsVal_int(obj3, &val4);
10256 if (!SWIG_IsOK(ecode4)) {
10257 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10258 }
10259 arg4 = static_cast< int >(val4);
10260 }
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10264 wxPyEndAllowThreads(__tstate);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
10267 {
10268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10269 }
10270 return resultobj;
10271 fail:
10272 return NULL;
10273 }
10274
10275
10276 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10277 PyObject *resultobj = 0;
10278 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10279 void *argp1 = 0 ;
10280 int res1 = 0 ;
10281 PyObject *swig_obj[1] ;
10282
10283 if (!args) SWIG_fail;
10284 swig_obj[0] = args;
10285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10286 if (!SWIG_IsOK(res1)) {
10287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10288 }
10289 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 (arg1)->SizeWindows();
10293 wxPyEndAllowThreads(__tstate);
10294 if (PyErr_Occurred()) SWIG_fail;
10295 }
10296 resultobj = SWIG_Py_Void();
10297 return resultobj;
10298 fail:
10299 return NULL;
10300 }
10301
10302
10303 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10304 PyObject *resultobj = 0;
10305 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10306 bool arg2 ;
10307 void *argp1 = 0 ;
10308 int res1 = 0 ;
10309 bool val2 ;
10310 int ecode2 = 0 ;
10311 PyObject * obj0 = 0 ;
10312 PyObject * obj1 = 0 ;
10313 char * kwnames[] = {
10314 (char *) "self",(char *) "needUpdating", NULL
10315 };
10316
10317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10319 if (!SWIG_IsOK(res1)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10321 }
10322 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10323 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10324 if (!SWIG_IsOK(ecode2)) {
10325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10326 }
10327 arg2 = static_cast< bool >(val2);
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 (arg1)->SetNeedUpdating(arg2);
10331 wxPyEndAllowThreads(__tstate);
10332 if (PyErr_Occurred()) SWIG_fail;
10333 }
10334 resultobj = SWIG_Py_Void();
10335 return resultobj;
10336 fail:
10337 return NULL;
10338 }
10339
10340
10341 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10342 PyObject *resultobj = 0;
10343 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10344 bool result;
10345 void *argp1 = 0 ;
10346 int res1 = 0 ;
10347 PyObject *swig_obj[1] ;
10348
10349 if (!args) SWIG_fail;
10350 swig_obj[0] = args;
10351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10352 if (!SWIG_IsOK(res1)) {
10353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10354 }
10355 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 {
10363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10364 }
10365 return resultobj;
10366 fail:
10367 return NULL;
10368 }
10369
10370
10371 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj = 0;
10373 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10374 SwigValueWrapper<wxVisualAttributes > result;
10375 int val1 ;
10376 int ecode1 = 0 ;
10377 PyObject * obj0 = 0 ;
10378 char * kwnames[] = {
10379 (char *) "variant", NULL
10380 };
10381
10382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10383 if (obj0) {
10384 ecode1 = SWIG_AsVal_int(obj0, &val1);
10385 if (!SWIG_IsOK(ecode1)) {
10386 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10387 }
10388 arg1 = static_cast< wxWindowVariant >(val1);
10389 }
10390 {
10391 if (!wxPyCheckForApp()) SWIG_fail;
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10398 return resultobj;
10399 fail:
10400 return NULL;
10401 }
10402
10403
10404 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10405 PyObject *obj;
10406 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10407 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10408 return SWIG_Py_Void();
10409 }
10410
10411 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10412 return SWIG_Python_InitShadowInstance(args);
10413 }
10414
10415 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10416 PyObject *resultobj = 0;
10417 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10418 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10419 wxSplitterEvent *result = 0 ;
10420 int val1 ;
10421 int ecode1 = 0 ;
10422 void *argp2 = 0 ;
10423 int res2 = 0 ;
10424 PyObject * obj0 = 0 ;
10425 PyObject * obj1 = 0 ;
10426 char * kwnames[] = {
10427 (char *) "type",(char *) "splitter", NULL
10428 };
10429
10430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10431 if (obj0) {
10432 ecode1 = SWIG_AsVal_int(obj0, &val1);
10433 if (!SWIG_IsOK(ecode1)) {
10434 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10435 }
10436 arg1 = static_cast< wxEventType >(val1);
10437 }
10438 if (obj1) {
10439 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10440 if (!SWIG_IsOK(res2)) {
10441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10442 }
10443 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10444 }
10445 {
10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
10447 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10452 return resultobj;
10453 fail:
10454 return NULL;
10455 }
10456
10457
10458 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj = 0;
10460 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10461 int arg2 ;
10462 void *argp1 = 0 ;
10463 int res1 = 0 ;
10464 int val2 ;
10465 int ecode2 = 0 ;
10466 PyObject * obj0 = 0 ;
10467 PyObject * obj1 = 0 ;
10468 char * kwnames[] = {
10469 (char *) "self",(char *) "pos", NULL
10470 };
10471
10472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10474 if (!SWIG_IsOK(res1)) {
10475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10476 }
10477 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10478 ecode2 = SWIG_AsVal_int(obj1, &val2);
10479 if (!SWIG_IsOK(ecode2)) {
10480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10481 }
10482 arg2 = static_cast< int >(val2);
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 (arg1)->SetSashPosition(arg2);
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 resultobj = SWIG_Py_Void();
10490 return resultobj;
10491 fail:
10492 return NULL;
10493 }
10494
10495
10496 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10497 PyObject *resultobj = 0;
10498 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10499 int result;
10500 void *argp1 = 0 ;
10501 int res1 = 0 ;
10502 PyObject *swig_obj[1] ;
10503
10504 if (!args) SWIG_fail;
10505 swig_obj[0] = args;
10506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10507 if (!SWIG_IsOK(res1)) {
10508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10509 }
10510 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 resultobj = SWIG_From_int(static_cast< int >(result));
10518 return resultobj;
10519 fail:
10520 return NULL;
10521 }
10522
10523
10524 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10525 PyObject *resultobj = 0;
10526 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10527 wxWindow *result = 0 ;
10528 void *argp1 = 0 ;
10529 int res1 = 0 ;
10530 PyObject *swig_obj[1] ;
10531
10532 if (!args) SWIG_fail;
10533 swig_obj[0] = args;
10534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10535 if (!SWIG_IsOK(res1)) {
10536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10537 }
10538 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10539 {
10540 PyThreadState* __tstate = wxPyBeginAllowThreads();
10541 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10542 wxPyEndAllowThreads(__tstate);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 }
10545 {
10546 resultobj = wxPyMake_wxObject(result, 0);
10547 }
10548 return resultobj;
10549 fail:
10550 return NULL;
10551 }
10552
10553
10554 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10555 PyObject *resultobj = 0;
10556 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10557 int result;
10558 void *argp1 = 0 ;
10559 int res1 = 0 ;
10560 PyObject *swig_obj[1] ;
10561
10562 if (!args) SWIG_fail;
10563 swig_obj[0] = args;
10564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10565 if (!SWIG_IsOK(res1)) {
10566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10567 }
10568 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10572 wxPyEndAllowThreads(__tstate);
10573 if (PyErr_Occurred()) SWIG_fail;
10574 }
10575 resultobj = SWIG_From_int(static_cast< int >(result));
10576 return resultobj;
10577 fail:
10578 return NULL;
10579 }
10580
10581
10582 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10583 PyObject *resultobj = 0;
10584 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10585 int result;
10586 void *argp1 = 0 ;
10587 int res1 = 0 ;
10588 PyObject *swig_obj[1] ;
10589
10590 if (!args) SWIG_fail;
10591 swig_obj[0] = args;
10592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10593 if (!SWIG_IsOK(res1)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10595 }
10596 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10597 {
10598 PyThreadState* __tstate = wxPyBeginAllowThreads();
10599 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10600 wxPyEndAllowThreads(__tstate);
10601 if (PyErr_Occurred()) SWIG_fail;
10602 }
10603 resultobj = SWIG_From_int(static_cast< int >(result));
10604 return resultobj;
10605 fail:
10606 return NULL;
10607 }
10608
10609
10610 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10611 PyObject *obj;
10612 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10613 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10614 return SWIG_Py_Void();
10615 }
10616
10617 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10618 return SWIG_Python_InitShadowInstance(args);
10619 }
10620
10621 SWIGINTERN int SashNameStr_set(PyObject *) {
10622 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10623 return 1;
10624 }
10625
10626
10627 SWIGINTERN PyObject *SashNameStr_get(void) {
10628 PyObject *pyobj = 0;
10629
10630 {
10631 #if wxUSE_UNICODE
10632 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10633 #else
10634 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10635 #endif
10636 }
10637 return pyobj;
10638 }
10639
10640
10641 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10642 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10643 return 1;
10644 }
10645
10646
10647 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10648 PyObject *pyobj = 0;
10649
10650 {
10651 #if wxUSE_UNICODE
10652 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10653 #else
10654 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10655 #endif
10656 }
10657 return pyobj;
10658 }
10659
10660
10661 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj = 0;
10663 wxWindow *arg1 = (wxWindow *) 0 ;
10664 int arg2 = (int) -1 ;
10665 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10666 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10667 wxSize const &arg4_defvalue = wxDefaultSize ;
10668 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10669 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10670 wxString const &arg6_defvalue = wxPySashNameStr ;
10671 wxString *arg6 = (wxString *) &arg6_defvalue ;
10672 wxSashWindow *result = 0 ;
10673 void *argp1 = 0 ;
10674 int res1 = 0 ;
10675 int val2 ;
10676 int ecode2 = 0 ;
10677 wxPoint temp3 ;
10678 wxSize temp4 ;
10679 long val5 ;
10680 int ecode5 = 0 ;
10681 bool temp6 = false ;
10682 PyObject * obj0 = 0 ;
10683 PyObject * obj1 = 0 ;
10684 PyObject * obj2 = 0 ;
10685 PyObject * obj3 = 0 ;
10686 PyObject * obj4 = 0 ;
10687 PyObject * obj5 = 0 ;
10688 char * kwnames[] = {
10689 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10690 };
10691
10692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10694 if (!SWIG_IsOK(res1)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10696 }
10697 arg1 = reinterpret_cast< wxWindow * >(argp1);
10698 if (obj1) {
10699 ecode2 = SWIG_AsVal_int(obj1, &val2);
10700 if (!SWIG_IsOK(ecode2)) {
10701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10702 }
10703 arg2 = static_cast< int >(val2);
10704 }
10705 if (obj2) {
10706 {
10707 arg3 = &temp3;
10708 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10709 }
10710 }
10711 if (obj3) {
10712 {
10713 arg4 = &temp4;
10714 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10715 }
10716 }
10717 if (obj4) {
10718 ecode5 = SWIG_AsVal_long(obj4, &val5);
10719 if (!SWIG_IsOK(ecode5)) {
10720 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10721 }
10722 arg5 = static_cast< long >(val5);
10723 }
10724 if (obj5) {
10725 {
10726 arg6 = wxString_in_helper(obj5);
10727 if (arg6 == NULL) SWIG_fail;
10728 temp6 = true;
10729 }
10730 }
10731 {
10732 if (!wxPyCheckForApp()) SWIG_fail;
10733 PyThreadState* __tstate = wxPyBeginAllowThreads();
10734 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10739 {
10740 if (temp6)
10741 delete arg6;
10742 }
10743 return resultobj;
10744 fail:
10745 {
10746 if (temp6)
10747 delete arg6;
10748 }
10749 return NULL;
10750 }
10751
10752
10753 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10754 PyObject *resultobj = 0;
10755 wxSashWindow *result = 0 ;
10756
10757 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10758 {
10759 if (!wxPyCheckForApp()) SWIG_fail;
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 result = (wxSashWindow *)new wxSashWindow();
10762 wxPyEndAllowThreads(__tstate);
10763 if (PyErr_Occurred()) SWIG_fail;
10764 }
10765 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10766 return resultobj;
10767 fail:
10768 return NULL;
10769 }
10770
10771
10772 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10773 PyObject *resultobj = 0;
10774 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10775 wxWindow *arg2 = (wxWindow *) 0 ;
10776 int arg3 = (int) -1 ;
10777 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10778 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10779 wxSize const &arg5_defvalue = wxDefaultSize ;
10780 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10781 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10782 wxString const &arg7_defvalue = wxPySashNameStr ;
10783 wxString *arg7 = (wxString *) &arg7_defvalue ;
10784 bool result;
10785 void *argp1 = 0 ;
10786 int res1 = 0 ;
10787 void *argp2 = 0 ;
10788 int res2 = 0 ;
10789 int val3 ;
10790 int ecode3 = 0 ;
10791 wxPoint temp4 ;
10792 wxSize temp5 ;
10793 long val6 ;
10794 int ecode6 = 0 ;
10795 bool temp7 = false ;
10796 PyObject * obj0 = 0 ;
10797 PyObject * obj1 = 0 ;
10798 PyObject * obj2 = 0 ;
10799 PyObject * obj3 = 0 ;
10800 PyObject * obj4 = 0 ;
10801 PyObject * obj5 = 0 ;
10802 PyObject * obj6 = 0 ;
10803 char * kwnames[] = {
10804 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10805 };
10806
10807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10809 if (!SWIG_IsOK(res1)) {
10810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10811 }
10812 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10813 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10814 if (!SWIG_IsOK(res2)) {
10815 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10816 }
10817 arg2 = reinterpret_cast< wxWindow * >(argp2);
10818 if (obj2) {
10819 ecode3 = SWIG_AsVal_int(obj2, &val3);
10820 if (!SWIG_IsOK(ecode3)) {
10821 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10822 }
10823 arg3 = static_cast< int >(val3);
10824 }
10825 if (obj3) {
10826 {
10827 arg4 = &temp4;
10828 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10829 }
10830 }
10831 if (obj4) {
10832 {
10833 arg5 = &temp5;
10834 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10835 }
10836 }
10837 if (obj5) {
10838 ecode6 = SWIG_AsVal_long(obj5, &val6);
10839 if (!SWIG_IsOK(ecode6)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10841 }
10842 arg6 = static_cast< long >(val6);
10843 }
10844 if (obj6) {
10845 {
10846 arg7 = wxString_in_helper(obj6);
10847 if (arg7 == NULL) SWIG_fail;
10848 temp7 = true;
10849 }
10850 }
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 {
10858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10859 }
10860 {
10861 if (temp7)
10862 delete arg7;
10863 }
10864 return resultobj;
10865 fail:
10866 {
10867 if (temp7)
10868 delete arg7;
10869 }
10870 return NULL;
10871 }
10872
10873
10874 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10875 PyObject *resultobj = 0;
10876 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10877 wxSashEdgePosition arg2 ;
10878 bool arg3 ;
10879 void *argp1 = 0 ;
10880 int res1 = 0 ;
10881 int val2 ;
10882 int ecode2 = 0 ;
10883 bool val3 ;
10884 int ecode3 = 0 ;
10885 PyObject * obj0 = 0 ;
10886 PyObject * obj1 = 0 ;
10887 PyObject * obj2 = 0 ;
10888 char * kwnames[] = {
10889 (char *) "self",(char *) "edge",(char *) "sash", NULL
10890 };
10891
10892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10894 if (!SWIG_IsOK(res1)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10896 }
10897 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10898 ecode2 = SWIG_AsVal_int(obj1, &val2);
10899 if (!SWIG_IsOK(ecode2)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10901 }
10902 arg2 = static_cast< wxSashEdgePosition >(val2);
10903 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10904 if (!SWIG_IsOK(ecode3)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10906 }
10907 arg3 = static_cast< bool >(val3);
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 (arg1)->SetSashVisible(arg2,arg3);
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 resultobj = SWIG_Py_Void();
10915 return resultobj;
10916 fail:
10917 return NULL;
10918 }
10919
10920
10921 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10922 PyObject *resultobj = 0;
10923 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10924 wxSashEdgePosition arg2 ;
10925 bool result;
10926 void *argp1 = 0 ;
10927 int res1 = 0 ;
10928 int val2 ;
10929 int ecode2 = 0 ;
10930 PyObject * obj0 = 0 ;
10931 PyObject * obj1 = 0 ;
10932 char * kwnames[] = {
10933 (char *) "self",(char *) "edge", NULL
10934 };
10935
10936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10938 if (!SWIG_IsOK(res1)) {
10939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10940 }
10941 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10942 ecode2 = SWIG_AsVal_int(obj1, &val2);
10943 if (!SWIG_IsOK(ecode2)) {
10944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10945 }
10946 arg2 = static_cast< wxSashEdgePosition >(val2);
10947 {
10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
10949 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 {
10954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10955 }
10956 return resultobj;
10957 fail:
10958 return NULL;
10959 }
10960
10961
10962 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10963 PyObject *resultobj = 0;
10964 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10965 wxSashEdgePosition arg2 ;
10966 bool arg3 ;
10967 void *argp1 = 0 ;
10968 int res1 = 0 ;
10969 int val2 ;
10970 int ecode2 = 0 ;
10971 bool val3 ;
10972 int ecode3 = 0 ;
10973 PyObject * obj0 = 0 ;
10974 PyObject * obj1 = 0 ;
10975 PyObject * obj2 = 0 ;
10976 char * kwnames[] = {
10977 (char *) "self",(char *) "edge",(char *) "border", NULL
10978 };
10979
10980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10982 if (!SWIG_IsOK(res1)) {
10983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10984 }
10985 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10986 ecode2 = SWIG_AsVal_int(obj1, &val2);
10987 if (!SWIG_IsOK(ecode2)) {
10988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10989 }
10990 arg2 = static_cast< wxSashEdgePosition >(val2);
10991 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10992 if (!SWIG_IsOK(ecode3)) {
10993 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10994 }
10995 arg3 = static_cast< bool >(val3);
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 (arg1)->SetSashBorder(arg2,arg3);
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 resultobj = SWIG_Py_Void();
11003 return resultobj;
11004 fail:
11005 return NULL;
11006 }
11007
11008
11009 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11010 PyObject *resultobj = 0;
11011 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11012 wxSashEdgePosition arg2 ;
11013 bool result;
11014 void *argp1 = 0 ;
11015 int res1 = 0 ;
11016 int val2 ;
11017 int ecode2 = 0 ;
11018 PyObject * obj0 = 0 ;
11019 PyObject * obj1 = 0 ;
11020 char * kwnames[] = {
11021 (char *) "self",(char *) "edge", NULL
11022 };
11023
11024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11026 if (!SWIG_IsOK(res1)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11028 }
11029 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11030 ecode2 = SWIG_AsVal_int(obj1, &val2);
11031 if (!SWIG_IsOK(ecode2)) {
11032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11033 }
11034 arg2 = static_cast< wxSashEdgePosition >(val2);
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11038 wxPyEndAllowThreads(__tstate);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 }
11041 {
11042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11043 }
11044 return resultobj;
11045 fail:
11046 return NULL;
11047 }
11048
11049
11050 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj = 0;
11052 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11053 wxSashEdgePosition arg2 ;
11054 int result;
11055 void *argp1 = 0 ;
11056 int res1 = 0 ;
11057 int val2 ;
11058 int ecode2 = 0 ;
11059 PyObject * obj0 = 0 ;
11060 PyObject * obj1 = 0 ;
11061 char * kwnames[] = {
11062 (char *) "self",(char *) "edge", NULL
11063 };
11064
11065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11067 if (!SWIG_IsOK(res1)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11069 }
11070 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11071 ecode2 = SWIG_AsVal_int(obj1, &val2);
11072 if (!SWIG_IsOK(ecode2)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11074 }
11075 arg2 = static_cast< wxSashEdgePosition >(val2);
11076 {
11077 PyThreadState* __tstate = wxPyBeginAllowThreads();
11078 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11079 wxPyEndAllowThreads(__tstate);
11080 if (PyErr_Occurred()) SWIG_fail;
11081 }
11082 resultobj = SWIG_From_int(static_cast< int >(result));
11083 return resultobj;
11084 fail:
11085 return NULL;
11086 }
11087
11088
11089 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11090 PyObject *resultobj = 0;
11091 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11092 int arg2 ;
11093 void *argp1 = 0 ;
11094 int res1 = 0 ;
11095 int val2 ;
11096 int ecode2 = 0 ;
11097 PyObject * obj0 = 0 ;
11098 PyObject * obj1 = 0 ;
11099 char * kwnames[] = {
11100 (char *) "self",(char *) "width", NULL
11101 };
11102
11103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11105 if (!SWIG_IsOK(res1)) {
11106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11107 }
11108 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11109 ecode2 = SWIG_AsVal_int(obj1, &val2);
11110 if (!SWIG_IsOK(ecode2)) {
11111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11112 }
11113 arg2 = static_cast< int >(val2);
11114 {
11115 PyThreadState* __tstate = wxPyBeginAllowThreads();
11116 (arg1)->SetDefaultBorderSize(arg2);
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 resultobj = SWIG_Py_Void();
11121 return resultobj;
11122 fail:
11123 return NULL;
11124 }
11125
11126
11127 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11128 PyObject *resultobj = 0;
11129 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11130 int result;
11131 void *argp1 = 0 ;
11132 int res1 = 0 ;
11133 PyObject *swig_obj[1] ;
11134
11135 if (!args) SWIG_fail;
11136 swig_obj[0] = args;
11137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11138 if (!SWIG_IsOK(res1)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11140 }
11141 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11142 {
11143 PyThreadState* __tstate = wxPyBeginAllowThreads();
11144 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11145 wxPyEndAllowThreads(__tstate);
11146 if (PyErr_Occurred()) SWIG_fail;
11147 }
11148 resultobj = SWIG_From_int(static_cast< int >(result));
11149 return resultobj;
11150 fail:
11151 return NULL;
11152 }
11153
11154
11155 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11156 PyObject *resultobj = 0;
11157 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11158 int arg2 ;
11159 void *argp1 = 0 ;
11160 int res1 = 0 ;
11161 int val2 ;
11162 int ecode2 = 0 ;
11163 PyObject * obj0 = 0 ;
11164 PyObject * obj1 = 0 ;
11165 char * kwnames[] = {
11166 (char *) "self",(char *) "width", NULL
11167 };
11168
11169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11171 if (!SWIG_IsOK(res1)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11173 }
11174 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11175 ecode2 = SWIG_AsVal_int(obj1, &val2);
11176 if (!SWIG_IsOK(ecode2)) {
11177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11178 }
11179 arg2 = static_cast< int >(val2);
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
11182 (arg1)->SetExtraBorderSize(arg2);
11183 wxPyEndAllowThreads(__tstate);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 resultobj = SWIG_Py_Void();
11187 return resultobj;
11188 fail:
11189 return NULL;
11190 }
11191
11192
11193 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11194 PyObject *resultobj = 0;
11195 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11196 int result;
11197 void *argp1 = 0 ;
11198 int res1 = 0 ;
11199 PyObject *swig_obj[1] ;
11200
11201 if (!args) SWIG_fail;
11202 swig_obj[0] = args;
11203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11204 if (!SWIG_IsOK(res1)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11206 }
11207 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11208 {
11209 PyThreadState* __tstate = wxPyBeginAllowThreads();
11210 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11211 wxPyEndAllowThreads(__tstate);
11212 if (PyErr_Occurred()) SWIG_fail;
11213 }
11214 resultobj = SWIG_From_int(static_cast< int >(result));
11215 return resultobj;
11216 fail:
11217 return NULL;
11218 }
11219
11220
11221 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11222 PyObject *resultobj = 0;
11223 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11224 int arg2 ;
11225 void *argp1 = 0 ;
11226 int res1 = 0 ;
11227 int val2 ;
11228 int ecode2 = 0 ;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 char * kwnames[] = {
11232 (char *) "self",(char *) "min", NULL
11233 };
11234
11235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11237 if (!SWIG_IsOK(res1)) {
11238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11239 }
11240 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11241 ecode2 = SWIG_AsVal_int(obj1, &val2);
11242 if (!SWIG_IsOK(ecode2)) {
11243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11244 }
11245 arg2 = static_cast< int >(val2);
11246 {
11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
11248 (arg1)->SetMinimumSizeX(arg2);
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 resultobj = SWIG_Py_Void();
11253 return resultobj;
11254 fail:
11255 return NULL;
11256 }
11257
11258
11259 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11260 PyObject *resultobj = 0;
11261 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11262 int arg2 ;
11263 void *argp1 = 0 ;
11264 int res1 = 0 ;
11265 int val2 ;
11266 int ecode2 = 0 ;
11267 PyObject * obj0 = 0 ;
11268 PyObject * obj1 = 0 ;
11269 char * kwnames[] = {
11270 (char *) "self",(char *) "min", NULL
11271 };
11272
11273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11275 if (!SWIG_IsOK(res1)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11277 }
11278 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11279 ecode2 = SWIG_AsVal_int(obj1, &val2);
11280 if (!SWIG_IsOK(ecode2)) {
11281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11282 }
11283 arg2 = static_cast< int >(val2);
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 (arg1)->SetMinimumSizeY(arg2);
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 resultobj = SWIG_Py_Void();
11291 return resultobj;
11292 fail:
11293 return NULL;
11294 }
11295
11296
11297 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11298 PyObject *resultobj = 0;
11299 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11300 int result;
11301 void *argp1 = 0 ;
11302 int res1 = 0 ;
11303 PyObject *swig_obj[1] ;
11304
11305 if (!args) SWIG_fail;
11306 swig_obj[0] = args;
11307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11308 if (!SWIG_IsOK(res1)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11310 }
11311 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 resultobj = SWIG_From_int(static_cast< int >(result));
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11326 PyObject *resultobj = 0;
11327 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11328 int result;
11329 void *argp1 = 0 ;
11330 int res1 = 0 ;
11331 PyObject *swig_obj[1] ;
11332
11333 if (!args) SWIG_fail;
11334 swig_obj[0] = args;
11335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11336 if (!SWIG_IsOK(res1)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11338 }
11339 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 resultobj = SWIG_From_int(static_cast< int >(result));
11347 return resultobj;
11348 fail:
11349 return NULL;
11350 }
11351
11352
11353 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11354 PyObject *resultobj = 0;
11355 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11356 int arg2 ;
11357 void *argp1 = 0 ;
11358 int res1 = 0 ;
11359 int val2 ;
11360 int ecode2 = 0 ;
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 char * kwnames[] = {
11364 (char *) "self",(char *) "max", NULL
11365 };
11366
11367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11369 if (!SWIG_IsOK(res1)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11371 }
11372 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11373 ecode2 = SWIG_AsVal_int(obj1, &val2);
11374 if (!SWIG_IsOK(ecode2)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11376 }
11377 arg2 = static_cast< int >(val2);
11378 {
11379 PyThreadState* __tstate = wxPyBeginAllowThreads();
11380 (arg1)->SetMaximumSizeX(arg2);
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 resultobj = SWIG_Py_Void();
11385 return resultobj;
11386 fail:
11387 return NULL;
11388 }
11389
11390
11391 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11392 PyObject *resultobj = 0;
11393 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11394 int arg2 ;
11395 void *argp1 = 0 ;
11396 int res1 = 0 ;
11397 int val2 ;
11398 int ecode2 = 0 ;
11399 PyObject * obj0 = 0 ;
11400 PyObject * obj1 = 0 ;
11401 char * kwnames[] = {
11402 (char *) "self",(char *) "max", NULL
11403 };
11404
11405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11407 if (!SWIG_IsOK(res1)) {
11408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11409 }
11410 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11411 ecode2 = SWIG_AsVal_int(obj1, &val2);
11412 if (!SWIG_IsOK(ecode2)) {
11413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11414 }
11415 arg2 = static_cast< int >(val2);
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 (arg1)->SetMaximumSizeY(arg2);
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 resultobj = SWIG_Py_Void();
11423 return resultobj;
11424 fail:
11425 return NULL;
11426 }
11427
11428
11429 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11430 PyObject *resultobj = 0;
11431 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11432 int result;
11433 void *argp1 = 0 ;
11434 int res1 = 0 ;
11435 PyObject *swig_obj[1] ;
11436
11437 if (!args) SWIG_fail;
11438 swig_obj[0] = args;
11439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11440 if (!SWIG_IsOK(res1)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11442 }
11443 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 resultobj = SWIG_From_int(static_cast< int >(result));
11451 return resultobj;
11452 fail:
11453 return NULL;
11454 }
11455
11456
11457 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11458 PyObject *resultobj = 0;
11459 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11460 int result;
11461 void *argp1 = 0 ;
11462 int res1 = 0 ;
11463 PyObject *swig_obj[1] ;
11464
11465 if (!args) SWIG_fail;
11466 swig_obj[0] = args;
11467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11468 if (!SWIG_IsOK(res1)) {
11469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11470 }
11471 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 resultobj = SWIG_From_int(static_cast< int >(result));
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj = 0;
11487 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11488 int arg2 ;
11489 int arg3 ;
11490 int arg4 = (int) 2 ;
11491 wxSashEdgePosition result;
11492 void *argp1 = 0 ;
11493 int res1 = 0 ;
11494 int val2 ;
11495 int ecode2 = 0 ;
11496 int val3 ;
11497 int ecode3 = 0 ;
11498 int val4 ;
11499 int ecode4 = 0 ;
11500 PyObject * obj0 = 0 ;
11501 PyObject * obj1 = 0 ;
11502 PyObject * obj2 = 0 ;
11503 PyObject * obj3 = 0 ;
11504 char * kwnames[] = {
11505 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11506 };
11507
11508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11510 if (!SWIG_IsOK(res1)) {
11511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11512 }
11513 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11514 ecode2 = SWIG_AsVal_int(obj1, &val2);
11515 if (!SWIG_IsOK(ecode2)) {
11516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11517 }
11518 arg2 = static_cast< int >(val2);
11519 ecode3 = SWIG_AsVal_int(obj2, &val3);
11520 if (!SWIG_IsOK(ecode3)) {
11521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11522 }
11523 arg3 = static_cast< int >(val3);
11524 if (obj3) {
11525 ecode4 = SWIG_AsVal_int(obj3, &val4);
11526 if (!SWIG_IsOK(ecode4)) {
11527 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11528 }
11529 arg4 = static_cast< int >(val4);
11530 }
11531 {
11532 PyThreadState* __tstate = wxPyBeginAllowThreads();
11533 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 resultobj = SWIG_From_int(static_cast< int >(result));
11538 return resultobj;
11539 fail:
11540 return NULL;
11541 }
11542
11543
11544 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11545 PyObject *resultobj = 0;
11546 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11547 void *argp1 = 0 ;
11548 int res1 = 0 ;
11549 PyObject *swig_obj[1] ;
11550
11551 if (!args) SWIG_fail;
11552 swig_obj[0] = args;
11553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11554 if (!SWIG_IsOK(res1)) {
11555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11556 }
11557 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 (arg1)->SizeWindows();
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 resultobj = SWIG_Py_Void();
11565 return resultobj;
11566 fail:
11567 return NULL;
11568 }
11569
11570
11571 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11572 PyObject *obj;
11573 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11574 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11575 return SWIG_Py_Void();
11576 }
11577
11578 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11579 return SWIG_Python_InitShadowInstance(args);
11580 }
11581
11582 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11583 PyObject *resultobj = 0;
11584 int arg1 = (int) 0 ;
11585 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11586 wxSashEvent *result = 0 ;
11587 int val1 ;
11588 int ecode1 = 0 ;
11589 int val2 ;
11590 int ecode2 = 0 ;
11591 PyObject * obj0 = 0 ;
11592 PyObject * obj1 = 0 ;
11593 char * kwnames[] = {
11594 (char *) "id",(char *) "edge", NULL
11595 };
11596
11597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11598 if (obj0) {
11599 ecode1 = SWIG_AsVal_int(obj0, &val1);
11600 if (!SWIG_IsOK(ecode1)) {
11601 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11602 }
11603 arg1 = static_cast< int >(val1);
11604 }
11605 if (obj1) {
11606 ecode2 = SWIG_AsVal_int(obj1, &val2);
11607 if (!SWIG_IsOK(ecode2)) {
11608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11609 }
11610 arg2 = static_cast< wxSashEdgePosition >(val2);
11611 }
11612 {
11613 PyThreadState* __tstate = wxPyBeginAllowThreads();
11614 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11619 return resultobj;
11620 fail:
11621 return NULL;
11622 }
11623
11624
11625 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11626 PyObject *resultobj = 0;
11627 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11628 wxSashEdgePosition arg2 ;
11629 void *argp1 = 0 ;
11630 int res1 = 0 ;
11631 int val2 ;
11632 int ecode2 = 0 ;
11633 PyObject * obj0 = 0 ;
11634 PyObject * obj1 = 0 ;
11635 char * kwnames[] = {
11636 (char *) "self",(char *) "edge", NULL
11637 };
11638
11639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11641 if (!SWIG_IsOK(res1)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11643 }
11644 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11645 ecode2 = SWIG_AsVal_int(obj1, &val2);
11646 if (!SWIG_IsOK(ecode2)) {
11647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11648 }
11649 arg2 = static_cast< wxSashEdgePosition >(val2);
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 (arg1)->SetEdge(arg2);
11653 wxPyEndAllowThreads(__tstate);
11654 if (PyErr_Occurred()) SWIG_fail;
11655 }
11656 resultobj = SWIG_Py_Void();
11657 return resultobj;
11658 fail:
11659 return NULL;
11660 }
11661
11662
11663 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11664 PyObject *resultobj = 0;
11665 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11666 wxSashEdgePosition result;
11667 void *argp1 = 0 ;
11668 int res1 = 0 ;
11669 PyObject *swig_obj[1] ;
11670
11671 if (!args) SWIG_fail;
11672 swig_obj[0] = args;
11673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11674 if (!SWIG_IsOK(res1)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11676 }
11677 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11678 {
11679 PyThreadState* __tstate = wxPyBeginAllowThreads();
11680 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 resultobj = SWIG_From_int(static_cast< int >(result));
11685 return resultobj;
11686 fail:
11687 return NULL;
11688 }
11689
11690
11691 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj = 0;
11693 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11694 wxRect *arg2 = 0 ;
11695 void *argp1 = 0 ;
11696 int res1 = 0 ;
11697 wxRect temp2 ;
11698 PyObject * obj0 = 0 ;
11699 PyObject * obj1 = 0 ;
11700 char * kwnames[] = {
11701 (char *) "self",(char *) "rect", NULL
11702 };
11703
11704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11706 if (!SWIG_IsOK(res1)) {
11707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11708 }
11709 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11710 {
11711 arg2 = &temp2;
11712 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11713 }
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 (arg1)->SetDragRect((wxRect const &)*arg2);
11717 wxPyEndAllowThreads(__tstate);
11718 if (PyErr_Occurred()) SWIG_fail;
11719 }
11720 resultobj = SWIG_Py_Void();
11721 return resultobj;
11722 fail:
11723 return NULL;
11724 }
11725
11726
11727 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11728 PyObject *resultobj = 0;
11729 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11730 wxRect result;
11731 void *argp1 = 0 ;
11732 int res1 = 0 ;
11733 PyObject *swig_obj[1] ;
11734
11735 if (!args) SWIG_fail;
11736 swig_obj[0] = args;
11737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11738 if (!SWIG_IsOK(res1)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11740 }
11741 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11742 {
11743 PyThreadState* __tstate = wxPyBeginAllowThreads();
11744 result = ((wxSashEvent const *)arg1)->GetDragRect();
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11749 return resultobj;
11750 fail:
11751 return NULL;
11752 }
11753
11754
11755 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11756 PyObject *resultobj = 0;
11757 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11758 wxSashDragStatus arg2 ;
11759 void *argp1 = 0 ;
11760 int res1 = 0 ;
11761 int val2 ;
11762 int ecode2 = 0 ;
11763 PyObject * obj0 = 0 ;
11764 PyObject * obj1 = 0 ;
11765 char * kwnames[] = {
11766 (char *) "self",(char *) "status", NULL
11767 };
11768
11769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11771 if (!SWIG_IsOK(res1)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11773 }
11774 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11775 ecode2 = SWIG_AsVal_int(obj1, &val2);
11776 if (!SWIG_IsOK(ecode2)) {
11777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11778 }
11779 arg2 = static_cast< wxSashDragStatus >(val2);
11780 {
11781 PyThreadState* __tstate = wxPyBeginAllowThreads();
11782 (arg1)->SetDragStatus(arg2);
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 resultobj = SWIG_Py_Void();
11787 return resultobj;
11788 fail:
11789 return NULL;
11790 }
11791
11792
11793 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11794 PyObject *resultobj = 0;
11795 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11796 wxSashDragStatus result;
11797 void *argp1 = 0 ;
11798 int res1 = 0 ;
11799 PyObject *swig_obj[1] ;
11800
11801 if (!args) SWIG_fail;
11802 swig_obj[0] = args;
11803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11804 if (!SWIG_IsOK(res1)) {
11805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11806 }
11807 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11808 {
11809 PyThreadState* __tstate = wxPyBeginAllowThreads();
11810 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 resultobj = SWIG_From_int(static_cast< int >(result));
11815 return resultobj;
11816 fail:
11817 return NULL;
11818 }
11819
11820
11821 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11822 PyObject *obj;
11823 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11824 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11825 return SWIG_Py_Void();
11826 }
11827
11828 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11829 return SWIG_Python_InitShadowInstance(args);
11830 }
11831
11832 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11833 PyObject *resultobj = 0;
11834 int arg1 = (int) 0 ;
11835 wxQueryLayoutInfoEvent *result = 0 ;
11836 int val1 ;
11837 int ecode1 = 0 ;
11838 PyObject * obj0 = 0 ;
11839 char * kwnames[] = {
11840 (char *) "id", NULL
11841 };
11842
11843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11844 if (obj0) {
11845 ecode1 = SWIG_AsVal_int(obj0, &val1);
11846 if (!SWIG_IsOK(ecode1)) {
11847 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11848 }
11849 arg1 = static_cast< int >(val1);
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11858 return resultobj;
11859 fail:
11860 return NULL;
11861 }
11862
11863
11864 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj = 0;
11866 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11867 int arg2 ;
11868 void *argp1 = 0 ;
11869 int res1 = 0 ;
11870 int val2 ;
11871 int ecode2 = 0 ;
11872 PyObject * obj0 = 0 ;
11873 PyObject * obj1 = 0 ;
11874 char * kwnames[] = {
11875 (char *) "self",(char *) "length", NULL
11876 };
11877
11878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11880 if (!SWIG_IsOK(res1)) {
11881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11882 }
11883 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11884 ecode2 = SWIG_AsVal_int(obj1, &val2);
11885 if (!SWIG_IsOK(ecode2)) {
11886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11887 }
11888 arg2 = static_cast< int >(val2);
11889 {
11890 PyThreadState* __tstate = wxPyBeginAllowThreads();
11891 (arg1)->SetRequestedLength(arg2);
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 resultobj = SWIG_Py_Void();
11896 return resultobj;
11897 fail:
11898 return NULL;
11899 }
11900
11901
11902 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11903 PyObject *resultobj = 0;
11904 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11905 int result;
11906 void *argp1 = 0 ;
11907 int res1 = 0 ;
11908 PyObject *swig_obj[1] ;
11909
11910 if (!args) SWIG_fail;
11911 swig_obj[0] = args;
11912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11913 if (!SWIG_IsOK(res1)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11915 }
11916 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11920 wxPyEndAllowThreads(__tstate);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 resultobj = SWIG_From_int(static_cast< int >(result));
11924 return resultobj;
11925 fail:
11926 return NULL;
11927 }
11928
11929
11930 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11931 PyObject *resultobj = 0;
11932 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11933 int arg2 ;
11934 void *argp1 = 0 ;
11935 int res1 = 0 ;
11936 int val2 ;
11937 int ecode2 = 0 ;
11938 PyObject * obj0 = 0 ;
11939 PyObject * obj1 = 0 ;
11940 char * kwnames[] = {
11941 (char *) "self",(char *) "flags", NULL
11942 };
11943
11944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11946 if (!SWIG_IsOK(res1)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11948 }
11949 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11950 ecode2 = SWIG_AsVal_int(obj1, &val2);
11951 if (!SWIG_IsOK(ecode2)) {
11952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11953 }
11954 arg2 = static_cast< int >(val2);
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 (arg1)->SetFlags(arg2);
11958 wxPyEndAllowThreads(__tstate);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 resultobj = SWIG_Py_Void();
11962 return resultobj;
11963 fail:
11964 return NULL;
11965 }
11966
11967
11968 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11969 PyObject *resultobj = 0;
11970 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11971 int result;
11972 void *argp1 = 0 ;
11973 int res1 = 0 ;
11974 PyObject *swig_obj[1] ;
11975
11976 if (!args) SWIG_fail;
11977 swig_obj[0] = args;
11978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11979 if (!SWIG_IsOK(res1)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11981 }
11982 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11983 {
11984 PyThreadState* __tstate = wxPyBeginAllowThreads();
11985 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 resultobj = SWIG_From_int(static_cast< int >(result));
11990 return resultobj;
11991 fail:
11992 return NULL;
11993 }
11994
11995
11996 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11997 PyObject *resultobj = 0;
11998 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11999 wxSize *arg2 = 0 ;
12000 void *argp1 = 0 ;
12001 int res1 = 0 ;
12002 wxSize temp2 ;
12003 PyObject * obj0 = 0 ;
12004 PyObject * obj1 = 0 ;
12005 char * kwnames[] = {
12006 (char *) "self",(char *) "size", NULL
12007 };
12008
12009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12011 if (!SWIG_IsOK(res1)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12013 }
12014 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12015 {
12016 arg2 = &temp2;
12017 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12018 }
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 (arg1)->SetSize((wxSize const &)*arg2);
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 resultobj = SWIG_Py_Void();
12026 return resultobj;
12027 fail:
12028 return NULL;
12029 }
12030
12031
12032 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12033 PyObject *resultobj = 0;
12034 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12035 wxSize result;
12036 void *argp1 = 0 ;
12037 int res1 = 0 ;
12038 PyObject *swig_obj[1] ;
12039
12040 if (!args) SWIG_fail;
12041 swig_obj[0] = args;
12042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12043 if (!SWIG_IsOK(res1)) {
12044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12045 }
12046 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12047 {
12048 PyThreadState* __tstate = wxPyBeginAllowThreads();
12049 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12054 return resultobj;
12055 fail:
12056 return NULL;
12057 }
12058
12059
12060 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj = 0;
12062 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12063 wxLayoutOrientation arg2 ;
12064 void *argp1 = 0 ;
12065 int res1 = 0 ;
12066 int val2 ;
12067 int ecode2 = 0 ;
12068 PyObject * obj0 = 0 ;
12069 PyObject * obj1 = 0 ;
12070 char * kwnames[] = {
12071 (char *) "self",(char *) "orient", NULL
12072 };
12073
12074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12076 if (!SWIG_IsOK(res1)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12078 }
12079 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12080 ecode2 = SWIG_AsVal_int(obj1, &val2);
12081 if (!SWIG_IsOK(ecode2)) {
12082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12083 }
12084 arg2 = static_cast< wxLayoutOrientation >(val2);
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
12087 (arg1)->SetOrientation(arg2);
12088 wxPyEndAllowThreads(__tstate);
12089 if (PyErr_Occurred()) SWIG_fail;
12090 }
12091 resultobj = SWIG_Py_Void();
12092 return resultobj;
12093 fail:
12094 return NULL;
12095 }
12096
12097
12098 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12099 PyObject *resultobj = 0;
12100 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12101 wxLayoutOrientation result;
12102 void *argp1 = 0 ;
12103 int res1 = 0 ;
12104 PyObject *swig_obj[1] ;
12105
12106 if (!args) SWIG_fail;
12107 swig_obj[0] = args;
12108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12109 if (!SWIG_IsOK(res1)) {
12110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12111 }
12112 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12113 {
12114 PyThreadState* __tstate = wxPyBeginAllowThreads();
12115 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12116 wxPyEndAllowThreads(__tstate);
12117 if (PyErr_Occurred()) SWIG_fail;
12118 }
12119 resultobj = SWIG_From_int(static_cast< int >(result));
12120 return resultobj;
12121 fail:
12122 return NULL;
12123 }
12124
12125
12126 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12127 PyObject *resultobj = 0;
12128 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12129 wxLayoutAlignment arg2 ;
12130 void *argp1 = 0 ;
12131 int res1 = 0 ;
12132 int val2 ;
12133 int ecode2 = 0 ;
12134 PyObject * obj0 = 0 ;
12135 PyObject * obj1 = 0 ;
12136 char * kwnames[] = {
12137 (char *) "self",(char *) "align", NULL
12138 };
12139
12140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12142 if (!SWIG_IsOK(res1)) {
12143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12144 }
12145 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12146 ecode2 = SWIG_AsVal_int(obj1, &val2);
12147 if (!SWIG_IsOK(ecode2)) {
12148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12149 }
12150 arg2 = static_cast< wxLayoutAlignment >(val2);
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 (arg1)->SetAlignment(arg2);
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 }
12157 resultobj = SWIG_Py_Void();
12158 return resultobj;
12159 fail:
12160 return NULL;
12161 }
12162
12163
12164 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12165 PyObject *resultobj = 0;
12166 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12167 wxLayoutAlignment result;
12168 void *argp1 = 0 ;
12169 int res1 = 0 ;
12170 PyObject *swig_obj[1] ;
12171
12172 if (!args) SWIG_fail;
12173 swig_obj[0] = args;
12174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12175 if (!SWIG_IsOK(res1)) {
12176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12177 }
12178 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12179 {
12180 PyThreadState* __tstate = wxPyBeginAllowThreads();
12181 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 resultobj = SWIG_From_int(static_cast< int >(result));
12186 return resultobj;
12187 fail:
12188 return NULL;
12189 }
12190
12191
12192 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12193 PyObject *obj;
12194 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12195 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12196 return SWIG_Py_Void();
12197 }
12198
12199 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12200 return SWIG_Python_InitShadowInstance(args);
12201 }
12202
12203 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj = 0;
12205 int arg1 = (int) 0 ;
12206 wxCalculateLayoutEvent *result = 0 ;
12207 int val1 ;
12208 int ecode1 = 0 ;
12209 PyObject * obj0 = 0 ;
12210 char * kwnames[] = {
12211 (char *) "id", NULL
12212 };
12213
12214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12215 if (obj0) {
12216 ecode1 = SWIG_AsVal_int(obj0, &val1);
12217 if (!SWIG_IsOK(ecode1)) {
12218 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12219 }
12220 arg1 = static_cast< int >(val1);
12221 }
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12229 return resultobj;
12230 fail:
12231 return NULL;
12232 }
12233
12234
12235 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12236 PyObject *resultobj = 0;
12237 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12238 int arg2 ;
12239 void *argp1 = 0 ;
12240 int res1 = 0 ;
12241 int val2 ;
12242 int ecode2 = 0 ;
12243 PyObject * obj0 = 0 ;
12244 PyObject * obj1 = 0 ;
12245 char * kwnames[] = {
12246 (char *) "self",(char *) "flags", NULL
12247 };
12248
12249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12251 if (!SWIG_IsOK(res1)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12253 }
12254 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12255 ecode2 = SWIG_AsVal_int(obj1, &val2);
12256 if (!SWIG_IsOK(ecode2)) {
12257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12258 }
12259 arg2 = static_cast< int >(val2);
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 (arg1)->SetFlags(arg2);
12263 wxPyEndAllowThreads(__tstate);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 }
12266 resultobj = SWIG_Py_Void();
12267 return resultobj;
12268 fail:
12269 return NULL;
12270 }
12271
12272
12273 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12274 PyObject *resultobj = 0;
12275 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12276 int result;
12277 void *argp1 = 0 ;
12278 int res1 = 0 ;
12279 PyObject *swig_obj[1] ;
12280
12281 if (!args) SWIG_fail;
12282 swig_obj[0] = args;
12283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12284 if (!SWIG_IsOK(res1)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12286 }
12287 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12288 {
12289 PyThreadState* __tstate = wxPyBeginAllowThreads();
12290 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12291 wxPyEndAllowThreads(__tstate);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
12294 resultobj = SWIG_From_int(static_cast< int >(result));
12295 return resultobj;
12296 fail:
12297 return NULL;
12298 }
12299
12300
12301 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12302 PyObject *resultobj = 0;
12303 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12304 wxRect *arg2 = 0 ;
12305 void *argp1 = 0 ;
12306 int res1 = 0 ;
12307 wxRect temp2 ;
12308 PyObject * obj0 = 0 ;
12309 PyObject * obj1 = 0 ;
12310 char * kwnames[] = {
12311 (char *) "self",(char *) "rect", NULL
12312 };
12313
12314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12316 if (!SWIG_IsOK(res1)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12318 }
12319 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12320 {
12321 arg2 = &temp2;
12322 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12323 }
12324 {
12325 PyThreadState* __tstate = wxPyBeginAllowThreads();
12326 (arg1)->SetRect((wxRect const &)*arg2);
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 resultobj = SWIG_Py_Void();
12331 return resultobj;
12332 fail:
12333 return NULL;
12334 }
12335
12336
12337 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12338 PyObject *resultobj = 0;
12339 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12340 wxRect result;
12341 void *argp1 = 0 ;
12342 int res1 = 0 ;
12343 PyObject *swig_obj[1] ;
12344
12345 if (!args) SWIG_fail;
12346 swig_obj[0] = args;
12347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12348 if (!SWIG_IsOK(res1)) {
12349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12350 }
12351 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12359 return resultobj;
12360 fail:
12361 return NULL;
12362 }
12363
12364
12365 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12366 PyObject *obj;
12367 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12368 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12369 return SWIG_Py_Void();
12370 }
12371
12372 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12373 return SWIG_Python_InitShadowInstance(args);
12374 }
12375
12376 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12377 PyObject *resultobj = 0;
12378 wxWindow *arg1 = (wxWindow *) 0 ;
12379 int arg2 = (int) -1 ;
12380 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12381 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12382 wxSize const &arg4_defvalue = wxDefaultSize ;
12383 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12384 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12385 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12386 wxString *arg6 = (wxString *) &arg6_defvalue ;
12387 wxSashLayoutWindow *result = 0 ;
12388 void *argp1 = 0 ;
12389 int res1 = 0 ;
12390 int val2 ;
12391 int ecode2 = 0 ;
12392 wxPoint temp3 ;
12393 wxSize temp4 ;
12394 long val5 ;
12395 int ecode5 = 0 ;
12396 bool temp6 = false ;
12397 PyObject * obj0 = 0 ;
12398 PyObject * obj1 = 0 ;
12399 PyObject * obj2 = 0 ;
12400 PyObject * obj3 = 0 ;
12401 PyObject * obj4 = 0 ;
12402 PyObject * obj5 = 0 ;
12403 char * kwnames[] = {
12404 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12405 };
12406
12407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12409 if (!SWIG_IsOK(res1)) {
12410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12411 }
12412 arg1 = reinterpret_cast< wxWindow * >(argp1);
12413 if (obj1) {
12414 ecode2 = SWIG_AsVal_int(obj1, &val2);
12415 if (!SWIG_IsOK(ecode2)) {
12416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12417 }
12418 arg2 = static_cast< int >(val2);
12419 }
12420 if (obj2) {
12421 {
12422 arg3 = &temp3;
12423 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12424 }
12425 }
12426 if (obj3) {
12427 {
12428 arg4 = &temp4;
12429 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12430 }
12431 }
12432 if (obj4) {
12433 ecode5 = SWIG_AsVal_long(obj4, &val5);
12434 if (!SWIG_IsOK(ecode5)) {
12435 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12436 }
12437 arg5 = static_cast< long >(val5);
12438 }
12439 if (obj5) {
12440 {
12441 arg6 = wxString_in_helper(obj5);
12442 if (arg6 == NULL) SWIG_fail;
12443 temp6 = true;
12444 }
12445 }
12446 {
12447 if (!wxPyCheckForApp()) SWIG_fail;
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
12453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12454 {
12455 if (temp6)
12456 delete arg6;
12457 }
12458 return resultobj;
12459 fail:
12460 {
12461 if (temp6)
12462 delete arg6;
12463 }
12464 return NULL;
12465 }
12466
12467
12468 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12469 PyObject *resultobj = 0;
12470 wxSashLayoutWindow *result = 0 ;
12471
12472 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12473 {
12474 if (!wxPyCheckForApp()) SWIG_fail;
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12477 wxPyEndAllowThreads(__tstate);
12478 if (PyErr_Occurred()) SWIG_fail;
12479 }
12480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12481 return resultobj;
12482 fail:
12483 return NULL;
12484 }
12485
12486
12487 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12488 PyObject *resultobj = 0;
12489 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12490 wxWindow *arg2 = (wxWindow *) 0 ;
12491 int arg3 = (int) -1 ;
12492 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12493 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12494 wxSize const &arg5_defvalue = wxDefaultSize ;
12495 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12496 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12497 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12498 wxString *arg7 = (wxString *) &arg7_defvalue ;
12499 bool result;
12500 void *argp1 = 0 ;
12501 int res1 = 0 ;
12502 void *argp2 = 0 ;
12503 int res2 = 0 ;
12504 int val3 ;
12505 int ecode3 = 0 ;
12506 wxPoint temp4 ;
12507 wxSize temp5 ;
12508 long val6 ;
12509 int ecode6 = 0 ;
12510 bool temp7 = false ;
12511 PyObject * obj0 = 0 ;
12512 PyObject * obj1 = 0 ;
12513 PyObject * obj2 = 0 ;
12514 PyObject * obj3 = 0 ;
12515 PyObject * obj4 = 0 ;
12516 PyObject * obj5 = 0 ;
12517 PyObject * obj6 = 0 ;
12518 char * kwnames[] = {
12519 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12520 };
12521
12522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12524 if (!SWIG_IsOK(res1)) {
12525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12526 }
12527 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12528 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12529 if (!SWIG_IsOK(res2)) {
12530 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12531 }
12532 arg2 = reinterpret_cast< wxWindow * >(argp2);
12533 if (obj2) {
12534 ecode3 = SWIG_AsVal_int(obj2, &val3);
12535 if (!SWIG_IsOK(ecode3)) {
12536 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12537 }
12538 arg3 = static_cast< int >(val3);
12539 }
12540 if (obj3) {
12541 {
12542 arg4 = &temp4;
12543 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12544 }
12545 }
12546 if (obj4) {
12547 {
12548 arg5 = &temp5;
12549 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12550 }
12551 }
12552 if (obj5) {
12553 ecode6 = SWIG_AsVal_long(obj5, &val6);
12554 if (!SWIG_IsOK(ecode6)) {
12555 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12556 }
12557 arg6 = static_cast< long >(val6);
12558 }
12559 if (obj6) {
12560 {
12561 arg7 = wxString_in_helper(obj6);
12562 if (arg7 == NULL) SWIG_fail;
12563 temp7 = true;
12564 }
12565 }
12566 {
12567 PyThreadState* __tstate = wxPyBeginAllowThreads();
12568 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12569 wxPyEndAllowThreads(__tstate);
12570 if (PyErr_Occurred()) SWIG_fail;
12571 }
12572 {
12573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12574 }
12575 {
12576 if (temp7)
12577 delete arg7;
12578 }
12579 return resultobj;
12580 fail:
12581 {
12582 if (temp7)
12583 delete arg7;
12584 }
12585 return NULL;
12586 }
12587
12588
12589 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12590 PyObject *resultobj = 0;
12591 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12592 wxLayoutAlignment result;
12593 void *argp1 = 0 ;
12594 int res1 = 0 ;
12595 PyObject *swig_obj[1] ;
12596
12597 if (!args) SWIG_fail;
12598 swig_obj[0] = args;
12599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12600 if (!SWIG_IsOK(res1)) {
12601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12602 }
12603 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12604 {
12605 PyThreadState* __tstate = wxPyBeginAllowThreads();
12606 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12607 wxPyEndAllowThreads(__tstate);
12608 if (PyErr_Occurred()) SWIG_fail;
12609 }
12610 resultobj = SWIG_From_int(static_cast< int >(result));
12611 return resultobj;
12612 fail:
12613 return NULL;
12614 }
12615
12616
12617 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12618 PyObject *resultobj = 0;
12619 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12620 wxLayoutOrientation result;
12621 void *argp1 = 0 ;
12622 int res1 = 0 ;
12623 PyObject *swig_obj[1] ;
12624
12625 if (!args) SWIG_fail;
12626 swig_obj[0] = args;
12627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12628 if (!SWIG_IsOK(res1)) {
12629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12630 }
12631 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12635 wxPyEndAllowThreads(__tstate);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 }
12638 resultobj = SWIG_From_int(static_cast< int >(result));
12639 return resultobj;
12640 fail:
12641 return NULL;
12642 }
12643
12644
12645 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12646 PyObject *resultobj = 0;
12647 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12648 wxLayoutAlignment arg2 ;
12649 void *argp1 = 0 ;
12650 int res1 = 0 ;
12651 int val2 ;
12652 int ecode2 = 0 ;
12653 PyObject * obj0 = 0 ;
12654 PyObject * obj1 = 0 ;
12655 char * kwnames[] = {
12656 (char *) "self",(char *) "alignment", NULL
12657 };
12658
12659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) 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_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12663 }
12664 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12665 ecode2 = SWIG_AsVal_int(obj1, &val2);
12666 if (!SWIG_IsOK(ecode2)) {
12667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12668 }
12669 arg2 = static_cast< wxLayoutAlignment >(val2);
12670 {
12671 PyThreadState* __tstate = wxPyBeginAllowThreads();
12672 (arg1)->SetAlignment(arg2);
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 resultobj = SWIG_Py_Void();
12677 return resultobj;
12678 fail:
12679 return NULL;
12680 }
12681
12682
12683 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj = 0;
12685 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12686 wxSize *arg2 = 0 ;
12687 void *argp1 = 0 ;
12688 int res1 = 0 ;
12689 wxSize temp2 ;
12690 PyObject * obj0 = 0 ;
12691 PyObject * obj1 = 0 ;
12692 char * kwnames[] = {
12693 (char *) "self",(char *) "size", NULL
12694 };
12695
12696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12698 if (!SWIG_IsOK(res1)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12700 }
12701 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12702 {
12703 arg2 = &temp2;
12704 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12705 }
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12709 wxPyEndAllowThreads(__tstate);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
12712 resultobj = SWIG_Py_Void();
12713 return resultobj;
12714 fail:
12715 return NULL;
12716 }
12717
12718
12719 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12720 PyObject *resultobj = 0;
12721 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12722 wxLayoutOrientation arg2 ;
12723 void *argp1 = 0 ;
12724 int res1 = 0 ;
12725 int val2 ;
12726 int ecode2 = 0 ;
12727 PyObject * obj0 = 0 ;
12728 PyObject * obj1 = 0 ;
12729 char * kwnames[] = {
12730 (char *) "self",(char *) "orientation", NULL
12731 };
12732
12733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12735 if (!SWIG_IsOK(res1)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12737 }
12738 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12739 ecode2 = SWIG_AsVal_int(obj1, &val2);
12740 if (!SWIG_IsOK(ecode2)) {
12741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12742 }
12743 arg2 = static_cast< wxLayoutOrientation >(val2);
12744 {
12745 PyThreadState* __tstate = wxPyBeginAllowThreads();
12746 (arg1)->SetOrientation(arg2);
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 resultobj = SWIG_Py_Void();
12751 return resultobj;
12752 fail:
12753 return NULL;
12754 }
12755
12756
12757 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12758 PyObject *obj;
12759 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12760 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12761 return SWIG_Py_Void();
12762 }
12763
12764 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12765 return SWIG_Python_InitShadowInstance(args);
12766 }
12767
12768 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12769 PyObject *resultobj = 0;
12770 wxLayoutAlgorithm *result = 0 ;
12771
12772 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
12779 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12780 return resultobj;
12781 fail:
12782 return NULL;
12783 }
12784
12785
12786 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12787 PyObject *resultobj = 0;
12788 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12789 void *argp1 = 0 ;
12790 int res1 = 0 ;
12791 PyObject *swig_obj[1] ;
12792
12793 if (!args) SWIG_fail;
12794 swig_obj[0] = args;
12795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12796 if (!SWIG_IsOK(res1)) {
12797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12798 }
12799 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12800 {
12801 PyThreadState* __tstate = wxPyBeginAllowThreads();
12802 delete arg1;
12803
12804 wxPyEndAllowThreads(__tstate);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
12807 resultobj = SWIG_Py_Void();
12808 return resultobj;
12809 fail:
12810 return NULL;
12811 }
12812
12813
12814 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12815 PyObject *resultobj = 0;
12816 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12817 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12818 wxRect *arg3 = (wxRect *) NULL ;
12819 bool result;
12820 void *argp1 = 0 ;
12821 int res1 = 0 ;
12822 void *argp2 = 0 ;
12823 int res2 = 0 ;
12824 void *argp3 = 0 ;
12825 int res3 = 0 ;
12826 PyObject * obj0 = 0 ;
12827 PyObject * obj1 = 0 ;
12828 PyObject * obj2 = 0 ;
12829 char * kwnames[] = {
12830 (char *) "self",(char *) "frame",(char *) "rect", NULL
12831 };
12832
12833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12835 if (!SWIG_IsOK(res1)) {
12836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12837 }
12838 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12839 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12840 if (!SWIG_IsOK(res2)) {
12841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12842 }
12843 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12844 if (obj2) {
12845 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12846 if (!SWIG_IsOK(res3)) {
12847 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12848 }
12849 arg3 = reinterpret_cast< wxRect * >(argp3);
12850 }
12851 {
12852 PyThreadState* __tstate = wxPyBeginAllowThreads();
12853 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12854 wxPyEndAllowThreads(__tstate);
12855 if (PyErr_Occurred()) SWIG_fail;
12856 }
12857 {
12858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12859 }
12860 return resultobj;
12861 fail:
12862 return NULL;
12863 }
12864
12865
12866 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12867 PyObject *resultobj = 0;
12868 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12869 wxFrame *arg2 = (wxFrame *) 0 ;
12870 wxWindow *arg3 = (wxWindow *) NULL ;
12871 bool result;
12872 void *argp1 = 0 ;
12873 int res1 = 0 ;
12874 void *argp2 = 0 ;
12875 int res2 = 0 ;
12876 void *argp3 = 0 ;
12877 int res3 = 0 ;
12878 PyObject * obj0 = 0 ;
12879 PyObject * obj1 = 0 ;
12880 PyObject * obj2 = 0 ;
12881 char * kwnames[] = {
12882 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12883 };
12884
12885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12887 if (!SWIG_IsOK(res1)) {
12888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12889 }
12890 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12891 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12892 if (!SWIG_IsOK(res2)) {
12893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12894 }
12895 arg2 = reinterpret_cast< wxFrame * >(argp2);
12896 if (obj2) {
12897 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12898 if (!SWIG_IsOK(res3)) {
12899 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12900 }
12901 arg3 = reinterpret_cast< wxWindow * >(argp3);
12902 }
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 {
12910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12911 }
12912 return resultobj;
12913 fail:
12914 return NULL;
12915 }
12916
12917
12918 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12919 PyObject *resultobj = 0;
12920 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12921 wxWindow *arg2 = (wxWindow *) 0 ;
12922 wxWindow *arg3 = (wxWindow *) NULL ;
12923 bool result;
12924 void *argp1 = 0 ;
12925 int res1 = 0 ;
12926 void *argp2 = 0 ;
12927 int res2 = 0 ;
12928 void *argp3 = 0 ;
12929 int res3 = 0 ;
12930 PyObject * obj0 = 0 ;
12931 PyObject * obj1 = 0 ;
12932 PyObject * obj2 = 0 ;
12933 char * kwnames[] = {
12934 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12935 };
12936
12937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12939 if (!SWIG_IsOK(res1)) {
12940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12941 }
12942 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12943 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12944 if (!SWIG_IsOK(res2)) {
12945 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12946 }
12947 arg2 = reinterpret_cast< wxWindow * >(argp2);
12948 if (obj2) {
12949 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12950 if (!SWIG_IsOK(res3)) {
12951 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12952 }
12953 arg3 = reinterpret_cast< wxWindow * >(argp3);
12954 }
12955 {
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 {
12962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12963 }
12964 return resultobj;
12965 fail:
12966 return NULL;
12967 }
12968
12969
12970 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12971 PyObject *obj;
12972 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12973 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12974 return SWIG_Py_Void();
12975 }
12976
12977 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12978 return SWIG_Python_InitShadowInstance(args);
12979 }
12980
12981 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12982 PyObject *resultobj = 0;
12983 wxWindow *arg1 = (wxWindow *) 0 ;
12984 int arg2 = (int) wxBORDER_NONE ;
12985 wxPopupWindow *result = 0 ;
12986 void *argp1 = 0 ;
12987 int res1 = 0 ;
12988 int val2 ;
12989 int ecode2 = 0 ;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj1 = 0 ;
12992 char * kwnames[] = {
12993 (char *) "parent",(char *) "flags", NULL
12994 };
12995
12996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12998 if (!SWIG_IsOK(res1)) {
12999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13000 }
13001 arg1 = reinterpret_cast< wxWindow * >(argp1);
13002 if (obj1) {
13003 ecode2 = SWIG_AsVal_int(obj1, &val2);
13004 if (!SWIG_IsOK(ecode2)) {
13005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13006 }
13007 arg2 = static_cast< int >(val2);
13008 }
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13012 wxPyEndAllowThreads(__tstate);
13013 if (PyErr_Occurred()) SWIG_fail;
13014 }
13015 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13016 return resultobj;
13017 fail:
13018 return NULL;
13019 }
13020
13021
13022 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13023 PyObject *resultobj = 0;
13024 wxPopupWindow *result = 0 ;
13025
13026 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13027 {
13028 PyThreadState* __tstate = wxPyBeginAllowThreads();
13029 result = (wxPopupWindow *)new wxPopupWindow();
13030 wxPyEndAllowThreads(__tstate);
13031 if (PyErr_Occurred()) SWIG_fail;
13032 }
13033 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13034 return resultobj;
13035 fail:
13036 return NULL;
13037 }
13038
13039
13040 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13041 PyObject *obj;
13042 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13043 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13044 return SWIG_Py_Void();
13045 }
13046
13047 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13048 return SWIG_Python_InitShadowInstance(args);
13049 }
13050
13051 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj = 0;
13053 wxWindow *arg1 = (wxWindow *) 0 ;
13054 int arg2 = (int) wxBORDER_NONE ;
13055 wxPyPopupTransientWindow *result = 0 ;
13056 void *argp1 = 0 ;
13057 int res1 = 0 ;
13058 int val2 ;
13059 int ecode2 = 0 ;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062 char * kwnames[] = {
13063 (char *) "parent",(char *) "style", NULL
13064 };
13065
13066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13068 if (!SWIG_IsOK(res1)) {
13069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13070 }
13071 arg1 = reinterpret_cast< wxWindow * >(argp1);
13072 if (obj1) {
13073 ecode2 = SWIG_AsVal_int(obj1, &val2);
13074 if (!SWIG_IsOK(ecode2)) {
13075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13076 }
13077 arg2 = static_cast< int >(val2);
13078 }
13079 {
13080 PyThreadState* __tstate = wxPyBeginAllowThreads();
13081 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13082 wxPyEndAllowThreads(__tstate);
13083 if (PyErr_Occurred()) SWIG_fail;
13084 }
13085 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13086 return resultobj;
13087 fail:
13088 return NULL;
13089 }
13090
13091
13092 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13093 PyObject *resultobj = 0;
13094 wxPyPopupTransientWindow *result = 0 ;
13095
13096 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13100 wxPyEndAllowThreads(__tstate);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
13103 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13104 return resultobj;
13105 fail:
13106 return NULL;
13107 }
13108
13109
13110 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13111 PyObject *obj;
13112 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13113 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13114 return SWIG_Py_Void();
13115 }
13116
13117 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13118 return SWIG_Python_InitShadowInstance(args);
13119 }
13120
13121 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13122 PyObject *resultobj = 0;
13123 wxWindow *arg1 = (wxWindow *) 0 ;
13124 wxString *arg2 = 0 ;
13125 int arg3 = (int) 100 ;
13126 wxRect *arg4 = (wxRect *) NULL ;
13127 wxTipWindow *result = 0 ;
13128 void *argp1 = 0 ;
13129 int res1 = 0 ;
13130 bool temp2 = false ;
13131 int val3 ;
13132 int ecode3 = 0 ;
13133 void *argp4 = 0 ;
13134 int res4 = 0 ;
13135 PyObject * obj0 = 0 ;
13136 PyObject * obj1 = 0 ;
13137 PyObject * obj2 = 0 ;
13138 PyObject * obj3 = 0 ;
13139 char * kwnames[] = {
13140 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13141 };
13142
13143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13145 if (!SWIG_IsOK(res1)) {
13146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13147 }
13148 arg1 = reinterpret_cast< wxWindow * >(argp1);
13149 {
13150 arg2 = wxString_in_helper(obj1);
13151 if (arg2 == NULL) SWIG_fail;
13152 temp2 = true;
13153 }
13154 if (obj2) {
13155 ecode3 = SWIG_AsVal_int(obj2, &val3);
13156 if (!SWIG_IsOK(ecode3)) {
13157 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13158 }
13159 arg3 = static_cast< int >(val3);
13160 }
13161 if (obj3) {
13162 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13163 if (!SWIG_IsOK(res4)) {
13164 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13165 }
13166 arg4 = reinterpret_cast< wxRect * >(argp4);
13167 }
13168 {
13169 if (!wxPyCheckForApp()) SWIG_fail;
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13172 wxPyEndAllowThreads(__tstate);
13173 if (PyErr_Occurred()) SWIG_fail;
13174 }
13175 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13176 {
13177 if (temp2)
13178 delete arg2;
13179 }
13180 return resultobj;
13181 fail:
13182 {
13183 if (temp2)
13184 delete arg2;
13185 }
13186 return NULL;
13187 }
13188
13189
13190 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13191 PyObject *resultobj = 0;
13192 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13193 wxRect *arg2 = 0 ;
13194 void *argp1 = 0 ;
13195 int res1 = 0 ;
13196 wxRect temp2 ;
13197 PyObject * obj0 = 0 ;
13198 PyObject * obj1 = 0 ;
13199 char * kwnames[] = {
13200 (char *) "self",(char *) "rectBound", NULL
13201 };
13202
13203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13205 if (!SWIG_IsOK(res1)) {
13206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13207 }
13208 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13209 {
13210 arg2 = &temp2;
13211 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13212 }
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 resultobj = SWIG_Py_Void();
13220 return resultobj;
13221 fail:
13222 return NULL;
13223 }
13224
13225
13226 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13227 PyObject *resultobj = 0;
13228 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13229 void *argp1 = 0 ;
13230 int res1 = 0 ;
13231 PyObject *swig_obj[1] ;
13232
13233 if (!args) SWIG_fail;
13234 swig_obj[0] = args;
13235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13236 if (!SWIG_IsOK(res1)) {
13237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13238 }
13239 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13240 {
13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
13242 (arg1)->Close();
13243 wxPyEndAllowThreads(__tstate);
13244 if (PyErr_Occurred()) SWIG_fail;
13245 }
13246 resultobj = SWIG_Py_Void();
13247 return resultobj;
13248 fail:
13249 return NULL;
13250 }
13251
13252
13253 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13254 PyObject *obj;
13255 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13256 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13257 return SWIG_Py_Void();
13258 }
13259
13260 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13261 return SWIG_Python_InitShadowInstance(args);
13262 }
13263
13264 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13265 PyObject *resultobj = 0;
13266 wxWindow *arg1 = (wxWindow *) 0 ;
13267 int arg2 = (int) wxID_ANY ;
13268 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13269 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13270 wxSize const &arg4_defvalue = wxDefaultSize ;
13271 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13272 long arg5 = (long) 0 ;
13273 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13274 wxString *arg6 = (wxString *) &arg6_defvalue ;
13275 wxPyVScrolledWindow *result = 0 ;
13276 void *argp1 = 0 ;
13277 int res1 = 0 ;
13278 int val2 ;
13279 int ecode2 = 0 ;
13280 wxPoint temp3 ;
13281 wxSize temp4 ;
13282 long val5 ;
13283 int ecode5 = 0 ;
13284 bool temp6 = false ;
13285 PyObject * obj0 = 0 ;
13286 PyObject * obj1 = 0 ;
13287 PyObject * obj2 = 0 ;
13288 PyObject * obj3 = 0 ;
13289 PyObject * obj4 = 0 ;
13290 PyObject * obj5 = 0 ;
13291 char * kwnames[] = {
13292 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13293 };
13294
13295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13297 if (!SWIG_IsOK(res1)) {
13298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13299 }
13300 arg1 = reinterpret_cast< wxWindow * >(argp1);
13301 if (obj1) {
13302 ecode2 = SWIG_AsVal_int(obj1, &val2);
13303 if (!SWIG_IsOK(ecode2)) {
13304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13305 }
13306 arg2 = static_cast< int >(val2);
13307 }
13308 if (obj2) {
13309 {
13310 arg3 = &temp3;
13311 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13312 }
13313 }
13314 if (obj3) {
13315 {
13316 arg4 = &temp4;
13317 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13318 }
13319 }
13320 if (obj4) {
13321 ecode5 = SWIG_AsVal_long(obj4, &val5);
13322 if (!SWIG_IsOK(ecode5)) {
13323 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13324 }
13325 arg5 = static_cast< long >(val5);
13326 }
13327 if (obj5) {
13328 {
13329 arg6 = wxString_in_helper(obj5);
13330 if (arg6 == NULL) SWIG_fail;
13331 temp6 = true;
13332 }
13333 }
13334 {
13335 if (!wxPyCheckForApp()) SWIG_fail;
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13338 wxPyEndAllowThreads(__tstate);
13339 if (PyErr_Occurred()) SWIG_fail;
13340 }
13341 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13342 {
13343 if (temp6)
13344 delete arg6;
13345 }
13346 return resultobj;
13347 fail:
13348 {
13349 if (temp6)
13350 delete arg6;
13351 }
13352 return NULL;
13353 }
13354
13355
13356 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13357 PyObject *resultobj = 0;
13358 wxPyVScrolledWindow *result = 0 ;
13359
13360 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13361 {
13362 if (!wxPyCheckForApp()) SWIG_fail;
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13369 return resultobj;
13370 fail:
13371 return NULL;
13372 }
13373
13374
13375 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj = 0;
13377 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13378 PyObject *arg2 = (PyObject *) 0 ;
13379 PyObject *arg3 = (PyObject *) 0 ;
13380 void *argp1 = 0 ;
13381 int res1 = 0 ;
13382 PyObject * obj0 = 0 ;
13383 PyObject * obj1 = 0 ;
13384 PyObject * obj2 = 0 ;
13385 char * kwnames[] = {
13386 (char *) "self",(char *) "self",(char *) "_class", NULL
13387 };
13388
13389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13391 if (!SWIG_IsOK(res1)) {
13392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13393 }
13394 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13395 arg2 = obj1;
13396 arg3 = obj2;
13397 {
13398 PyThreadState* __tstate = wxPyBeginAllowThreads();
13399 (arg1)->_setCallbackInfo(arg2,arg3);
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
13403 resultobj = SWIG_Py_Void();
13404 return resultobj;
13405 fail:
13406 return NULL;
13407 }
13408
13409
13410 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13411 PyObject *resultobj = 0;
13412 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13413 wxWindow *arg2 = (wxWindow *) 0 ;
13414 int arg3 = (int) wxID_ANY ;
13415 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13416 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13417 wxSize const &arg5_defvalue = wxDefaultSize ;
13418 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13419 long arg6 = (long) 0 ;
13420 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13421 wxString *arg7 = (wxString *) &arg7_defvalue ;
13422 bool result;
13423 void *argp1 = 0 ;
13424 int res1 = 0 ;
13425 void *argp2 = 0 ;
13426 int res2 = 0 ;
13427 int val3 ;
13428 int ecode3 = 0 ;
13429 wxPoint temp4 ;
13430 wxSize temp5 ;
13431 long val6 ;
13432 int ecode6 = 0 ;
13433 bool temp7 = false ;
13434 PyObject * obj0 = 0 ;
13435 PyObject * obj1 = 0 ;
13436 PyObject * obj2 = 0 ;
13437 PyObject * obj3 = 0 ;
13438 PyObject * obj4 = 0 ;
13439 PyObject * obj5 = 0 ;
13440 PyObject * obj6 = 0 ;
13441 char * kwnames[] = {
13442 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13443 };
13444
13445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13447 if (!SWIG_IsOK(res1)) {
13448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13449 }
13450 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13451 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13452 if (!SWIG_IsOK(res2)) {
13453 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13454 }
13455 arg2 = reinterpret_cast< wxWindow * >(argp2);
13456 if (obj2) {
13457 ecode3 = SWIG_AsVal_int(obj2, &val3);
13458 if (!SWIG_IsOK(ecode3)) {
13459 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13460 }
13461 arg3 = static_cast< int >(val3);
13462 }
13463 if (obj3) {
13464 {
13465 arg4 = &temp4;
13466 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13467 }
13468 }
13469 if (obj4) {
13470 {
13471 arg5 = &temp5;
13472 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13473 }
13474 }
13475 if (obj5) {
13476 ecode6 = SWIG_AsVal_long(obj5, &val6);
13477 if (!SWIG_IsOK(ecode6)) {
13478 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13479 }
13480 arg6 = static_cast< long >(val6);
13481 }
13482 if (obj6) {
13483 {
13484 arg7 = wxString_in_helper(obj6);
13485 if (arg7 == NULL) SWIG_fail;
13486 temp7 = true;
13487 }
13488 }
13489 {
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 {
13496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13497 }
13498 {
13499 if (temp7)
13500 delete arg7;
13501 }
13502 return resultobj;
13503 fail:
13504 {
13505 if (temp7)
13506 delete arg7;
13507 }
13508 return NULL;
13509 }
13510
13511
13512 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13513 PyObject *resultobj = 0;
13514 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13515 size_t arg2 ;
13516 void *argp1 = 0 ;
13517 int res1 = 0 ;
13518 size_t val2 ;
13519 int ecode2 = 0 ;
13520 PyObject * obj0 = 0 ;
13521 PyObject * obj1 = 0 ;
13522 char * kwnames[] = {
13523 (char *) "self",(char *) "count", NULL
13524 };
13525
13526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13528 if (!SWIG_IsOK(res1)) {
13529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13530 }
13531 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13532 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13533 if (!SWIG_IsOK(ecode2)) {
13534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13535 }
13536 arg2 = static_cast< size_t >(val2);
13537 {
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 (arg1)->SetLineCount(arg2);
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 resultobj = SWIG_Py_Void();
13544 return resultobj;
13545 fail:
13546 return NULL;
13547 }
13548
13549
13550 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj = 0;
13552 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13553 size_t arg2 ;
13554 bool result;
13555 void *argp1 = 0 ;
13556 int res1 = 0 ;
13557 size_t val2 ;
13558 int ecode2 = 0 ;
13559 PyObject * obj0 = 0 ;
13560 PyObject * obj1 = 0 ;
13561 char * kwnames[] = {
13562 (char *) "self",(char *) "line", NULL
13563 };
13564
13565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13567 if (!SWIG_IsOK(res1)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13569 }
13570 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13571 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13572 if (!SWIG_IsOK(ecode2)) {
13573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13574 }
13575 arg2 = static_cast< size_t >(val2);
13576 {
13577 PyThreadState* __tstate = wxPyBeginAllowThreads();
13578 result = (bool)(arg1)->ScrollToLine(arg2);
13579 wxPyEndAllowThreads(__tstate);
13580 if (PyErr_Occurred()) SWIG_fail;
13581 }
13582 {
13583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13584 }
13585 return resultobj;
13586 fail:
13587 return NULL;
13588 }
13589
13590
13591 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13592 PyObject *resultobj = 0;
13593 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13594 size_t arg2 ;
13595 void *argp1 = 0 ;
13596 int res1 = 0 ;
13597 size_t val2 ;
13598 int ecode2 = 0 ;
13599 PyObject * obj0 = 0 ;
13600 PyObject * obj1 = 0 ;
13601 char * kwnames[] = {
13602 (char *) "self",(char *) "line", NULL
13603 };
13604
13605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13607 if (!SWIG_IsOK(res1)) {
13608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13609 }
13610 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13611 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13612 if (!SWIG_IsOK(ecode2)) {
13613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13614 }
13615 arg2 = static_cast< size_t >(val2);
13616 {
13617 PyThreadState* __tstate = wxPyBeginAllowThreads();
13618 (arg1)->RefreshLine(arg2);
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 resultobj = SWIG_Py_Void();
13623 return resultobj;
13624 fail:
13625 return NULL;
13626 }
13627
13628
13629 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13630 PyObject *resultobj = 0;
13631 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13632 size_t arg2 ;
13633 size_t arg3 ;
13634 void *argp1 = 0 ;
13635 int res1 = 0 ;
13636 size_t val2 ;
13637 int ecode2 = 0 ;
13638 size_t val3 ;
13639 int ecode3 = 0 ;
13640 PyObject * obj0 = 0 ;
13641 PyObject * obj1 = 0 ;
13642 PyObject * obj2 = 0 ;
13643 char * kwnames[] = {
13644 (char *) "self",(char *) "from",(char *) "to", NULL
13645 };
13646
13647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13649 if (!SWIG_IsOK(res1)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13651 }
13652 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13653 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13654 if (!SWIG_IsOK(ecode2)) {
13655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13656 }
13657 arg2 = static_cast< size_t >(val2);
13658 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13659 if (!SWIG_IsOK(ecode3)) {
13660 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13661 }
13662 arg3 = static_cast< size_t >(val3);
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 (arg1)->RefreshLines(arg2,arg3);
13666 wxPyEndAllowThreads(__tstate);
13667 if (PyErr_Occurred()) SWIG_fail;
13668 }
13669 resultobj = SWIG_Py_Void();
13670 return resultobj;
13671 fail:
13672 return NULL;
13673 }
13674
13675
13676 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13677 PyObject *resultobj = 0;
13678 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13679 int arg2 ;
13680 int arg3 ;
13681 int result;
13682 void *argp1 = 0 ;
13683 int res1 = 0 ;
13684 int val2 ;
13685 int ecode2 = 0 ;
13686 int val3 ;
13687 int ecode3 = 0 ;
13688 PyObject * obj0 = 0 ;
13689 PyObject * obj1 = 0 ;
13690 PyObject * obj2 = 0 ;
13691 char * kwnames[] = {
13692 (char *) "self",(char *) "x",(char *) "y", NULL
13693 };
13694
13695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13697 if (!SWIG_IsOK(res1)) {
13698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13699 }
13700 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13701 ecode2 = SWIG_AsVal_int(obj1, &val2);
13702 if (!SWIG_IsOK(ecode2)) {
13703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13704 }
13705 arg2 = static_cast< int >(val2);
13706 ecode3 = SWIG_AsVal_int(obj2, &val3);
13707 if (!SWIG_IsOK(ecode3)) {
13708 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13709 }
13710 arg3 = static_cast< int >(val3);
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13714 wxPyEndAllowThreads(__tstate);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 resultobj = SWIG_From_int(static_cast< int >(result));
13718 return resultobj;
13719 fail:
13720 return NULL;
13721 }
13722
13723
13724 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13725 PyObject *resultobj = 0;
13726 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13727 wxPoint *arg2 = 0 ;
13728 int result;
13729 void *argp1 = 0 ;
13730 int res1 = 0 ;
13731 wxPoint temp2 ;
13732 PyObject * obj0 = 0 ;
13733 PyObject * obj1 = 0 ;
13734 char * kwnames[] = {
13735 (char *) "self",(char *) "pt", NULL
13736 };
13737
13738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13740 if (!SWIG_IsOK(res1)) {
13741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13742 }
13743 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13744 {
13745 arg2 = &temp2;
13746 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13747 }
13748 {
13749 PyThreadState* __tstate = wxPyBeginAllowThreads();
13750 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13751 wxPyEndAllowThreads(__tstate);
13752 if (PyErr_Occurred()) SWIG_fail;
13753 }
13754 resultobj = SWIG_From_int(static_cast< int >(result));
13755 return resultobj;
13756 fail:
13757 return NULL;
13758 }
13759
13760
13761 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13762 PyObject *resultobj = 0;
13763 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13764 void *argp1 = 0 ;
13765 int res1 = 0 ;
13766 PyObject *swig_obj[1] ;
13767
13768 if (!args) SWIG_fail;
13769 swig_obj[0] = args;
13770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13771 if (!SWIG_IsOK(res1)) {
13772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13773 }
13774 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 (arg1)->RefreshAll();
13778 wxPyEndAllowThreads(__tstate);
13779 if (PyErr_Occurred()) SWIG_fail;
13780 }
13781 resultobj = SWIG_Py_Void();
13782 return resultobj;
13783 fail:
13784 return NULL;
13785 }
13786
13787
13788 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13789 PyObject *resultobj = 0;
13790 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13791 size_t result;
13792 void *argp1 = 0 ;
13793 int res1 = 0 ;
13794 PyObject *swig_obj[1] ;
13795
13796 if (!args) SWIG_fail;
13797 swig_obj[0] = args;
13798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13799 if (!SWIG_IsOK(res1)) {
13800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13801 }
13802 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13806 wxPyEndAllowThreads(__tstate);
13807 if (PyErr_Occurred()) SWIG_fail;
13808 }
13809 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13810 return resultobj;
13811 fail:
13812 return NULL;
13813 }
13814
13815
13816 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13817 PyObject *resultobj = 0;
13818 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13819 size_t result;
13820 void *argp1 = 0 ;
13821 int res1 = 0 ;
13822 PyObject *swig_obj[1] ;
13823
13824 if (!args) SWIG_fail;
13825 swig_obj[0] = args;
13826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13827 if (!SWIG_IsOK(res1)) {
13828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13829 }
13830 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13831 {
13832 PyThreadState* __tstate = wxPyBeginAllowThreads();
13833 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13834 wxPyEndAllowThreads(__tstate);
13835 if (PyErr_Occurred()) SWIG_fail;
13836 }
13837 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13838 return resultobj;
13839 fail:
13840 return NULL;
13841 }
13842
13843
13844 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13845 PyObject *resultobj = 0;
13846 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13847 size_t result;
13848 void *argp1 = 0 ;
13849 int res1 = 0 ;
13850 PyObject *swig_obj[1] ;
13851
13852 if (!args) SWIG_fail;
13853 swig_obj[0] = args;
13854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13855 if (!SWIG_IsOK(res1)) {
13856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13857 }
13858 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13859 {
13860 PyThreadState* __tstate = wxPyBeginAllowThreads();
13861 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13862 wxPyEndAllowThreads(__tstate);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 }
13865 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13866 return resultobj;
13867 fail:
13868 return NULL;
13869 }
13870
13871
13872 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13873 PyObject *resultobj = 0;
13874 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13875 size_t arg2 ;
13876 bool result;
13877 void *argp1 = 0 ;
13878 int res1 = 0 ;
13879 size_t val2 ;
13880 int ecode2 = 0 ;
13881 PyObject * obj0 = 0 ;
13882 PyObject * obj1 = 0 ;
13883 char * kwnames[] = {
13884 (char *) "self",(char *) "line", NULL
13885 };
13886
13887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13889 if (!SWIG_IsOK(res1)) {
13890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13891 }
13892 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13893 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13894 if (!SWIG_IsOK(ecode2)) {
13895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13896 }
13897 arg2 = static_cast< size_t >(val2);
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 {
13905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13906 }
13907 return resultobj;
13908 fail:
13909 return NULL;
13910 }
13911
13912
13913 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13914 PyObject *resultobj = 0;
13915 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13916 size_t result;
13917 void *argp1 = 0 ;
13918 int res1 = 0 ;
13919 PyObject *swig_obj[1] ;
13920
13921 if (!args) SWIG_fail;
13922 swig_obj[0] = args;
13923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13924 if (!SWIG_IsOK(res1)) {
13925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13926 }
13927 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13928 {
13929 PyThreadState* __tstate = wxPyBeginAllowThreads();
13930 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
13931 wxPyEndAllowThreads(__tstate);
13932 if (PyErr_Occurred()) SWIG_fail;
13933 }
13934 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13935 return resultobj;
13936 fail:
13937 return NULL;
13938 }
13939
13940
13941 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13942 PyObject *resultobj = 0;
13943 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13944 size_t result;
13945 void *argp1 = 0 ;
13946 int res1 = 0 ;
13947 PyObject *swig_obj[1] ;
13948
13949 if (!args) SWIG_fail;
13950 swig_obj[0] = args;
13951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13952 if (!SWIG_IsOK(res1)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13954 }
13955 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13956 {
13957 PyThreadState* __tstate = wxPyBeginAllowThreads();
13958 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
13959 wxPyEndAllowThreads(__tstate);
13960 if (PyErr_Occurred()) SWIG_fail;
13961 }
13962 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13963 return resultobj;
13964 fail:
13965 return NULL;
13966 }
13967
13968
13969 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13970 PyObject *resultobj = 0;
13971 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13972 size_t arg2 ;
13973 bool arg3 = (bool) false ;
13974 size_t result;
13975 void *argp1 = 0 ;
13976 int res1 = 0 ;
13977 size_t val2 ;
13978 int ecode2 = 0 ;
13979 bool val3 ;
13980 int ecode3 = 0 ;
13981 PyObject * obj0 = 0 ;
13982 PyObject * obj1 = 0 ;
13983 PyObject * obj2 = 0 ;
13984 char * kwnames[] = {
13985 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13986 };
13987
13988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13990 if (!SWIG_IsOK(res1)) {
13991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13992 }
13993 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13994 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13995 if (!SWIG_IsOK(ecode2)) {
13996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13997 }
13998 arg2 = static_cast< size_t >(val2);
13999 if (obj2) {
14000 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14001 if (!SWIG_IsOK(ecode3)) {
14002 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14003 }
14004 arg3 = static_cast< bool >(val3);
14005 }
14006 {
14007 PyThreadState* __tstate = wxPyBeginAllowThreads();
14008 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14013 return resultobj;
14014 fail:
14015 return NULL;
14016 }
14017
14018
14019 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14020 PyObject *resultobj = 0;
14021 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14022 size_t arg2 ;
14023 size_t arg3 ;
14024 int result;
14025 void *argp1 = 0 ;
14026 int res1 = 0 ;
14027 size_t val2 ;
14028 int ecode2 = 0 ;
14029 size_t val3 ;
14030 int ecode3 = 0 ;
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
14033 PyObject * obj2 = 0 ;
14034 char * kwnames[] = {
14035 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14036 };
14037
14038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14040 if (!SWIG_IsOK(res1)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14042 }
14043 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14044 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14045 if (!SWIG_IsOK(ecode2)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14047 }
14048 arg2 = static_cast< size_t >(val2);
14049 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14050 if (!SWIG_IsOK(ecode3)) {
14051 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14052 }
14053 arg3 = static_cast< size_t >(val3);
14054 {
14055 PyThreadState* __tstate = wxPyBeginAllowThreads();
14056 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 resultobj = SWIG_From_int(static_cast< int >(result));
14061 return resultobj;
14062 fail:
14063 return NULL;
14064 }
14065
14066
14067 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14068 PyObject *obj;
14069 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14070 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14071 return SWIG_Py_Void();
14072 }
14073
14074 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14075 return SWIG_Python_InitShadowInstance(args);
14076 }
14077
14078 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14079 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14080 return 1;
14081 }
14082
14083
14084 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14085 PyObject *pyobj = 0;
14086
14087 {
14088 #if wxUSE_UNICODE
14089 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14090 #else
14091 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14092 #endif
14093 }
14094 return pyobj;
14095 }
14096
14097
14098 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14099 PyObject *resultobj = 0;
14100 wxWindow *arg1 = (wxWindow *) 0 ;
14101 int arg2 = (int) wxID_ANY ;
14102 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14103 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14104 wxSize const &arg4_defvalue = wxDefaultSize ;
14105 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14106 long arg5 = (long) 0 ;
14107 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14108 wxString *arg6 = (wxString *) &arg6_defvalue ;
14109 wxPyVListBox *result = 0 ;
14110 void *argp1 = 0 ;
14111 int res1 = 0 ;
14112 int val2 ;
14113 int ecode2 = 0 ;
14114 wxPoint temp3 ;
14115 wxSize temp4 ;
14116 long val5 ;
14117 int ecode5 = 0 ;
14118 bool temp6 = false ;
14119 PyObject * obj0 = 0 ;
14120 PyObject * obj1 = 0 ;
14121 PyObject * obj2 = 0 ;
14122 PyObject * obj3 = 0 ;
14123 PyObject * obj4 = 0 ;
14124 PyObject * obj5 = 0 ;
14125 char * kwnames[] = {
14126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14127 };
14128
14129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14131 if (!SWIG_IsOK(res1)) {
14132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14133 }
14134 arg1 = reinterpret_cast< wxWindow * >(argp1);
14135 if (obj1) {
14136 ecode2 = SWIG_AsVal_int(obj1, &val2);
14137 if (!SWIG_IsOK(ecode2)) {
14138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14139 }
14140 arg2 = static_cast< int >(val2);
14141 }
14142 if (obj2) {
14143 {
14144 arg3 = &temp3;
14145 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14146 }
14147 }
14148 if (obj3) {
14149 {
14150 arg4 = &temp4;
14151 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14152 }
14153 }
14154 if (obj4) {
14155 ecode5 = SWIG_AsVal_long(obj4, &val5);
14156 if (!SWIG_IsOK(ecode5)) {
14157 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14158 }
14159 arg5 = static_cast< long >(val5);
14160 }
14161 if (obj5) {
14162 {
14163 arg6 = wxString_in_helper(obj5);
14164 if (arg6 == NULL) SWIG_fail;
14165 temp6 = true;
14166 }
14167 }
14168 {
14169 if (!wxPyCheckForApp()) SWIG_fail;
14170 PyThreadState* __tstate = wxPyBeginAllowThreads();
14171 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14176 {
14177 if (temp6)
14178 delete arg6;
14179 }
14180 return resultobj;
14181 fail:
14182 {
14183 if (temp6)
14184 delete arg6;
14185 }
14186 return NULL;
14187 }
14188
14189
14190 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14191 PyObject *resultobj = 0;
14192 wxPyVListBox *result = 0 ;
14193
14194 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14195 {
14196 if (!wxPyCheckForApp()) SWIG_fail;
14197 PyThreadState* __tstate = wxPyBeginAllowThreads();
14198 result = (wxPyVListBox *)new wxPyVListBox();
14199 wxPyEndAllowThreads(__tstate);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14203 return resultobj;
14204 fail:
14205 return NULL;
14206 }
14207
14208
14209 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14210 PyObject *resultobj = 0;
14211 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14212 PyObject *arg2 = (PyObject *) 0 ;
14213 PyObject *arg3 = (PyObject *) 0 ;
14214 void *argp1 = 0 ;
14215 int res1 = 0 ;
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 PyObject * obj2 = 0 ;
14219 char * kwnames[] = {
14220 (char *) "self",(char *) "self",(char *) "_class", NULL
14221 };
14222
14223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14225 if (!SWIG_IsOK(res1)) {
14226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14227 }
14228 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14229 arg2 = obj1;
14230 arg3 = obj2;
14231 {
14232 PyThreadState* __tstate = wxPyBeginAllowThreads();
14233 (arg1)->_setCallbackInfo(arg2,arg3);
14234 wxPyEndAllowThreads(__tstate);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
14237 resultobj = SWIG_Py_Void();
14238 return resultobj;
14239 fail:
14240 return NULL;
14241 }
14242
14243
14244 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14245 PyObject *resultobj = 0;
14246 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14247 wxWindow *arg2 = (wxWindow *) 0 ;
14248 int arg3 = (int) wxID_ANY ;
14249 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14250 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14251 wxSize const &arg5_defvalue = wxDefaultSize ;
14252 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14253 long arg6 = (long) 0 ;
14254 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14255 wxString *arg7 = (wxString *) &arg7_defvalue ;
14256 bool result;
14257 void *argp1 = 0 ;
14258 int res1 = 0 ;
14259 void *argp2 = 0 ;
14260 int res2 = 0 ;
14261 int val3 ;
14262 int ecode3 = 0 ;
14263 wxPoint temp4 ;
14264 wxSize temp5 ;
14265 long val6 ;
14266 int ecode6 = 0 ;
14267 bool temp7 = false ;
14268 PyObject * obj0 = 0 ;
14269 PyObject * obj1 = 0 ;
14270 PyObject * obj2 = 0 ;
14271 PyObject * obj3 = 0 ;
14272 PyObject * obj4 = 0 ;
14273 PyObject * obj5 = 0 ;
14274 PyObject * obj6 = 0 ;
14275 char * kwnames[] = {
14276 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14277 };
14278
14279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14281 if (!SWIG_IsOK(res1)) {
14282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14283 }
14284 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14285 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14286 if (!SWIG_IsOK(res2)) {
14287 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14288 }
14289 arg2 = reinterpret_cast< wxWindow * >(argp2);
14290 if (obj2) {
14291 ecode3 = SWIG_AsVal_int(obj2, &val3);
14292 if (!SWIG_IsOK(ecode3)) {
14293 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14294 }
14295 arg3 = static_cast< int >(val3);
14296 }
14297 if (obj3) {
14298 {
14299 arg4 = &temp4;
14300 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14301 }
14302 }
14303 if (obj4) {
14304 {
14305 arg5 = &temp5;
14306 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14307 }
14308 }
14309 if (obj5) {
14310 ecode6 = SWIG_AsVal_long(obj5, &val6);
14311 if (!SWIG_IsOK(ecode6)) {
14312 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14313 }
14314 arg6 = static_cast< long >(val6);
14315 }
14316 if (obj6) {
14317 {
14318 arg7 = wxString_in_helper(obj6);
14319 if (arg7 == NULL) SWIG_fail;
14320 temp7 = true;
14321 }
14322 }
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14326 wxPyEndAllowThreads(__tstate);
14327 if (PyErr_Occurred()) SWIG_fail;
14328 }
14329 {
14330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14331 }
14332 {
14333 if (temp7)
14334 delete arg7;
14335 }
14336 return resultobj;
14337 fail:
14338 {
14339 if (temp7)
14340 delete arg7;
14341 }
14342 return NULL;
14343 }
14344
14345
14346 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14347 PyObject *resultobj = 0;
14348 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14349 size_t result;
14350 void *argp1 = 0 ;
14351 int res1 = 0 ;
14352 PyObject *swig_obj[1] ;
14353
14354 if (!args) SWIG_fail;
14355 swig_obj[0] = args;
14356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14357 if (!SWIG_IsOK(res1)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14359 }
14360 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14368 return resultobj;
14369 fail:
14370 return NULL;
14371 }
14372
14373
14374 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14375 PyObject *resultobj = 0;
14376 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14377 bool result;
14378 void *argp1 = 0 ;
14379 int res1 = 0 ;
14380 PyObject *swig_obj[1] ;
14381
14382 if (!args) SWIG_fail;
14383 swig_obj[0] = args;
14384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14385 if (!SWIG_IsOK(res1)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14387 }
14388 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 {
14396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14397 }
14398 return resultobj;
14399 fail:
14400 return NULL;
14401 }
14402
14403
14404 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14405 PyObject *resultobj = 0;
14406 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14407 int result;
14408 void *argp1 = 0 ;
14409 int res1 = 0 ;
14410 PyObject *swig_obj[1] ;
14411
14412 if (!args) SWIG_fail;
14413 swig_obj[0] = args;
14414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14415 if (!SWIG_IsOK(res1)) {
14416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14417 }
14418 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14419 {
14420 PyThreadState* __tstate = wxPyBeginAllowThreads();
14421 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14422 wxPyEndAllowThreads(__tstate);
14423 if (PyErr_Occurred()) SWIG_fail;
14424 }
14425 resultobj = SWIG_From_int(static_cast< int >(result));
14426 return resultobj;
14427 fail:
14428 return NULL;
14429 }
14430
14431
14432 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj = 0;
14434 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14435 size_t arg2 ;
14436 bool result;
14437 void *argp1 = 0 ;
14438 int res1 = 0 ;
14439 size_t val2 ;
14440 int ecode2 = 0 ;
14441 PyObject * obj0 = 0 ;
14442 PyObject * obj1 = 0 ;
14443 char * kwnames[] = {
14444 (char *) "self",(char *) "item", NULL
14445 };
14446
14447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14449 if (!SWIG_IsOK(res1)) {
14450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14451 }
14452 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14453 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14454 if (!SWIG_IsOK(ecode2)) {
14455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14456 }
14457 arg2 = static_cast< size_t >(val2);
14458 {
14459 PyThreadState* __tstate = wxPyBeginAllowThreads();
14460 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14461 wxPyEndAllowThreads(__tstate);
14462 if (PyErr_Occurred()) SWIG_fail;
14463 }
14464 {
14465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14466 }
14467 return resultobj;
14468 fail:
14469 return NULL;
14470 }
14471
14472
14473 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14474 PyObject *resultobj = 0;
14475 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14476 size_t arg2 ;
14477 bool result;
14478 void *argp1 = 0 ;
14479 int res1 = 0 ;
14480 size_t val2 ;
14481 int ecode2 = 0 ;
14482 PyObject * obj0 = 0 ;
14483 PyObject * obj1 = 0 ;
14484 char * kwnames[] = {
14485 (char *) "self",(char *) "item", NULL
14486 };
14487
14488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14490 if (!SWIG_IsOK(res1)) {
14491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14492 }
14493 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14494 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14495 if (!SWIG_IsOK(ecode2)) {
14496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14497 }
14498 arg2 = static_cast< size_t >(val2);
14499 {
14500 PyThreadState* __tstate = wxPyBeginAllowThreads();
14501 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14502 wxPyEndAllowThreads(__tstate);
14503 if (PyErr_Occurred()) SWIG_fail;
14504 }
14505 {
14506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14507 }
14508 return resultobj;
14509 fail:
14510 return NULL;
14511 }
14512
14513
14514 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14515 PyObject *resultobj = 0;
14516 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14517 size_t result;
14518 void *argp1 = 0 ;
14519 int res1 = 0 ;
14520 PyObject *swig_obj[1] ;
14521
14522 if (!args) SWIG_fail;
14523 swig_obj[0] = args;
14524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14525 if (!SWIG_IsOK(res1)) {
14526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14527 }
14528 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14529 {
14530 PyThreadState* __tstate = wxPyBeginAllowThreads();
14531 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14532 wxPyEndAllowThreads(__tstate);
14533 if (PyErr_Occurred()) SWIG_fail;
14534 }
14535 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14536 return resultobj;
14537 fail:
14538 return NULL;
14539 }
14540
14541
14542 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14543 PyObject *resultobj = 0;
14544 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14545 PyObject *result = 0 ;
14546 void *argp1 = 0 ;
14547 int res1 = 0 ;
14548 PyObject *swig_obj[1] ;
14549
14550 if (!args) SWIG_fail;
14551 swig_obj[0] = args;
14552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14553 if (!SWIG_IsOK(res1)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14555 }
14556 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14557 {
14558 PyThreadState* __tstate = wxPyBeginAllowThreads();
14559 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14560 wxPyEndAllowThreads(__tstate);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
14563 resultobj = result;
14564 return resultobj;
14565 fail:
14566 return NULL;
14567 }
14568
14569
14570 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14571 PyObject *resultobj = 0;
14572 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14573 unsigned long arg2 ;
14574 PyObject *result = 0 ;
14575 void *argp1 = 0 ;
14576 int res1 = 0 ;
14577 unsigned long val2 ;
14578 int ecode2 = 0 ;
14579 PyObject * obj0 = 0 ;
14580 PyObject * obj1 = 0 ;
14581 char * kwnames[] = {
14582 (char *) "self",(char *) "cookie", NULL
14583 };
14584
14585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14587 if (!SWIG_IsOK(res1)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14589 }
14590 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14591 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14592 if (!SWIG_IsOK(ecode2)) {
14593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14594 }
14595 arg2 = static_cast< unsigned long >(val2);
14596 {
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14599 wxPyEndAllowThreads(__tstate);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 }
14602 resultobj = result;
14603 return resultobj;
14604 fail:
14605 return NULL;
14606 }
14607
14608
14609 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14610 PyObject *resultobj = 0;
14611 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14612 wxPoint result;
14613 void *argp1 = 0 ;
14614 int res1 = 0 ;
14615 PyObject *swig_obj[1] ;
14616
14617 if (!args) SWIG_fail;
14618 swig_obj[0] = args;
14619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14620 if (!SWIG_IsOK(res1)) {
14621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14622 }
14623 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14624 {
14625 PyThreadState* __tstate = wxPyBeginAllowThreads();
14626 result = ((wxPyVListBox const *)arg1)->GetMargins();
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
14630 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14631 return resultobj;
14632 fail:
14633 return NULL;
14634 }
14635
14636
14637 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14638 PyObject *resultobj = 0;
14639 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14640 wxColour *result = 0 ;
14641 void *argp1 = 0 ;
14642 int res1 = 0 ;
14643 PyObject *swig_obj[1] ;
14644
14645 if (!args) SWIG_fail;
14646 swig_obj[0] = args;
14647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14648 if (!SWIG_IsOK(res1)) {
14649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14650 }
14651 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14652 {
14653 PyThreadState* __tstate = wxPyBeginAllowThreads();
14654 {
14655 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14656 result = (wxColour *) &_result_ref;
14657 }
14658 wxPyEndAllowThreads(__tstate);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 }
14661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14662 return resultobj;
14663 fail:
14664 return NULL;
14665 }
14666
14667
14668 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14669 PyObject *resultobj = 0;
14670 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14671 size_t arg2 ;
14672 void *argp1 = 0 ;
14673 int res1 = 0 ;
14674 size_t val2 ;
14675 int ecode2 = 0 ;
14676 PyObject * obj0 = 0 ;
14677 PyObject * obj1 = 0 ;
14678 char * kwnames[] = {
14679 (char *) "self",(char *) "count", NULL
14680 };
14681
14682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14684 if (!SWIG_IsOK(res1)) {
14685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14686 }
14687 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14688 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14689 if (!SWIG_IsOK(ecode2)) {
14690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14691 }
14692 arg2 = static_cast< size_t >(val2);
14693 {
14694 PyThreadState* __tstate = wxPyBeginAllowThreads();
14695 (arg1)->SetItemCount(arg2);
14696 wxPyEndAllowThreads(__tstate);
14697 if (PyErr_Occurred()) SWIG_fail;
14698 }
14699 resultobj = SWIG_Py_Void();
14700 return resultobj;
14701 fail:
14702 return NULL;
14703 }
14704
14705
14706 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14707 PyObject *resultobj = 0;
14708 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14709 void *argp1 = 0 ;
14710 int res1 = 0 ;
14711 PyObject *swig_obj[1] ;
14712
14713 if (!args) SWIG_fail;
14714 swig_obj[0] = args;
14715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14716 if (!SWIG_IsOK(res1)) {
14717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14718 }
14719 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14720 {
14721 PyThreadState* __tstate = wxPyBeginAllowThreads();
14722 (arg1)->Clear();
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 resultobj = SWIG_Py_Void();
14727 return resultobj;
14728 fail:
14729 return NULL;
14730 }
14731
14732
14733 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14734 PyObject *resultobj = 0;
14735 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14736 int arg2 ;
14737 void *argp1 = 0 ;
14738 int res1 = 0 ;
14739 int val2 ;
14740 int ecode2 = 0 ;
14741 PyObject * obj0 = 0 ;
14742 PyObject * obj1 = 0 ;
14743 char * kwnames[] = {
14744 (char *) "self",(char *) "selection", NULL
14745 };
14746
14747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14749 if (!SWIG_IsOK(res1)) {
14750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14751 }
14752 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14753 ecode2 = SWIG_AsVal_int(obj1, &val2);
14754 if (!SWIG_IsOK(ecode2)) {
14755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14756 }
14757 arg2 = static_cast< int >(val2);
14758 {
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 (arg1)->SetSelection(arg2);
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 resultobj = SWIG_Py_Void();
14765 return resultobj;
14766 fail:
14767 return NULL;
14768 }
14769
14770
14771 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14772 PyObject *resultobj = 0;
14773 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14774 size_t arg2 ;
14775 bool arg3 = (bool) true ;
14776 bool result;
14777 void *argp1 = 0 ;
14778 int res1 = 0 ;
14779 size_t val2 ;
14780 int ecode2 = 0 ;
14781 bool val3 ;
14782 int ecode3 = 0 ;
14783 PyObject * obj0 = 0 ;
14784 PyObject * obj1 = 0 ;
14785 PyObject * obj2 = 0 ;
14786 char * kwnames[] = {
14787 (char *) "self",(char *) "item",(char *) "select", NULL
14788 };
14789
14790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14792 if (!SWIG_IsOK(res1)) {
14793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14794 }
14795 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14796 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14797 if (!SWIG_IsOK(ecode2)) {
14798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14799 }
14800 arg2 = static_cast< size_t >(val2);
14801 if (obj2) {
14802 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14803 if (!SWIG_IsOK(ecode3)) {
14804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14805 }
14806 arg3 = static_cast< bool >(val3);
14807 }
14808 {
14809 PyThreadState* __tstate = wxPyBeginAllowThreads();
14810 result = (bool)(arg1)->Select(arg2,arg3);
14811 wxPyEndAllowThreads(__tstate);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 }
14814 {
14815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14816 }
14817 return resultobj;
14818 fail:
14819 return NULL;
14820 }
14821
14822
14823 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14824 PyObject *resultobj = 0;
14825 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14826 size_t arg2 ;
14827 size_t arg3 ;
14828 bool result;
14829 void *argp1 = 0 ;
14830 int res1 = 0 ;
14831 size_t val2 ;
14832 int ecode2 = 0 ;
14833 size_t val3 ;
14834 int ecode3 = 0 ;
14835 PyObject * obj0 = 0 ;
14836 PyObject * obj1 = 0 ;
14837 PyObject * obj2 = 0 ;
14838 char * kwnames[] = {
14839 (char *) "self",(char *) "from",(char *) "to", NULL
14840 };
14841
14842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14844 if (!SWIG_IsOK(res1)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14846 }
14847 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14848 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14849 if (!SWIG_IsOK(ecode2)) {
14850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14851 }
14852 arg2 = static_cast< size_t >(val2);
14853 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14854 if (!SWIG_IsOK(ecode3)) {
14855 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14856 }
14857 arg3 = static_cast< size_t >(val3);
14858 {
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 result = (bool)(arg1)->SelectRange(arg2,arg3);
14861 wxPyEndAllowThreads(__tstate);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 {
14865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14866 }
14867 return resultobj;
14868 fail:
14869 return NULL;
14870 }
14871
14872
14873 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14874 PyObject *resultobj = 0;
14875 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14876 size_t arg2 ;
14877 void *argp1 = 0 ;
14878 int res1 = 0 ;
14879 size_t val2 ;
14880 int ecode2 = 0 ;
14881 PyObject * obj0 = 0 ;
14882 PyObject * obj1 = 0 ;
14883 char * kwnames[] = {
14884 (char *) "self",(char *) "item", NULL
14885 };
14886
14887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
14888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14889 if (!SWIG_IsOK(res1)) {
14890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14891 }
14892 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14893 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14894 if (!SWIG_IsOK(ecode2)) {
14895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14896 }
14897 arg2 = static_cast< size_t >(val2);
14898 {
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 (arg1)->Toggle(arg2);
14901 wxPyEndAllowThreads(__tstate);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 }
14904 resultobj = SWIG_Py_Void();
14905 return resultobj;
14906 fail:
14907 return NULL;
14908 }
14909
14910
14911 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14912 PyObject *resultobj = 0;
14913 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14914 bool result;
14915 void *argp1 = 0 ;
14916 int res1 = 0 ;
14917 PyObject *swig_obj[1] ;
14918
14919 if (!args) SWIG_fail;
14920 swig_obj[0] = args;
14921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14922 if (!SWIG_IsOK(res1)) {
14923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14924 }
14925 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14926 {
14927 PyThreadState* __tstate = wxPyBeginAllowThreads();
14928 result = (bool)(arg1)->SelectAll();
14929 wxPyEndAllowThreads(__tstate);
14930 if (PyErr_Occurred()) SWIG_fail;
14931 }
14932 {
14933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14934 }
14935 return resultobj;
14936 fail:
14937 return NULL;
14938 }
14939
14940
14941 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14942 PyObject *resultobj = 0;
14943 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14944 bool result;
14945 void *argp1 = 0 ;
14946 int res1 = 0 ;
14947 PyObject *swig_obj[1] ;
14948
14949 if (!args) SWIG_fail;
14950 swig_obj[0] = args;
14951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14952 if (!SWIG_IsOK(res1)) {
14953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14954 }
14955 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14956 {
14957 PyThreadState* __tstate = wxPyBeginAllowThreads();
14958 result = (bool)(arg1)->DeselectAll();
14959 wxPyEndAllowThreads(__tstate);
14960 if (PyErr_Occurred()) SWIG_fail;
14961 }
14962 {
14963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14964 }
14965 return resultobj;
14966 fail:
14967 return NULL;
14968 }
14969
14970
14971 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14972 PyObject *resultobj = 0;
14973 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14974 wxPoint *arg2 = 0 ;
14975 void *argp1 = 0 ;
14976 int res1 = 0 ;
14977 wxPoint temp2 ;
14978 PyObject * obj0 = 0 ;
14979 PyObject * obj1 = 0 ;
14980 char * kwnames[] = {
14981 (char *) "self",(char *) "pt", NULL
14982 };
14983
14984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
14985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14986 if (!SWIG_IsOK(res1)) {
14987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14988 }
14989 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14990 {
14991 arg2 = &temp2;
14992 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14993 }
14994 {
14995 PyThreadState* __tstate = wxPyBeginAllowThreads();
14996 (arg1)->SetMargins((wxPoint const &)*arg2);
14997 wxPyEndAllowThreads(__tstate);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 resultobj = SWIG_Py_Void();
15001 return resultobj;
15002 fail:
15003 return NULL;
15004 }
15005
15006
15007 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15008 PyObject *resultobj = 0;
15009 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15010 int arg2 ;
15011 int arg3 ;
15012 void *argp1 = 0 ;
15013 int res1 = 0 ;
15014 int val2 ;
15015 int ecode2 = 0 ;
15016 int val3 ;
15017 int ecode3 = 0 ;
15018 PyObject * obj0 = 0 ;
15019 PyObject * obj1 = 0 ;
15020 PyObject * obj2 = 0 ;
15021 char * kwnames[] = {
15022 (char *) "self",(char *) "x",(char *) "y", NULL
15023 };
15024
15025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15027 if (!SWIG_IsOK(res1)) {
15028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15029 }
15030 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15031 ecode2 = SWIG_AsVal_int(obj1, &val2);
15032 if (!SWIG_IsOK(ecode2)) {
15033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15034 }
15035 arg2 = static_cast< int >(val2);
15036 ecode3 = SWIG_AsVal_int(obj2, &val3);
15037 if (!SWIG_IsOK(ecode3)) {
15038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15039 }
15040 arg3 = static_cast< int >(val3);
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 (arg1)->SetMargins(arg2,arg3);
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 resultobj = SWIG_Py_Void();
15048 return resultobj;
15049 fail:
15050 return NULL;
15051 }
15052
15053
15054 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15055 PyObject *resultobj = 0;
15056 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15057 wxColour *arg2 = 0 ;
15058 void *argp1 = 0 ;
15059 int res1 = 0 ;
15060 wxColour temp2 ;
15061 PyObject * obj0 = 0 ;
15062 PyObject * obj1 = 0 ;
15063 char * kwnames[] = {
15064 (char *) "self",(char *) "col", NULL
15065 };
15066
15067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15069 if (!SWIG_IsOK(res1)) {
15070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15071 }
15072 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15073 {
15074 arg2 = &temp2;
15075 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15076 }
15077 {
15078 PyThreadState* __tstate = wxPyBeginAllowThreads();
15079 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 resultobj = SWIG_Py_Void();
15084 return resultobj;
15085 fail:
15086 return NULL;
15087 }
15088
15089
15090 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15091 PyObject *resultobj = 0;
15092 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15093 wxDC *arg2 = 0 ;
15094 wxRect *arg3 = 0 ;
15095 size_t arg4 ;
15096 void *argp1 = 0 ;
15097 int res1 = 0 ;
15098 void *argp2 = 0 ;
15099 int res2 = 0 ;
15100 wxRect temp3 ;
15101 size_t val4 ;
15102 int ecode4 = 0 ;
15103 PyObject * obj0 = 0 ;
15104 PyObject * obj1 = 0 ;
15105 PyObject * obj2 = 0 ;
15106 PyObject * obj3 = 0 ;
15107 char * kwnames[] = {
15108 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15109 };
15110
15111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15113 if (!SWIG_IsOK(res1)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15115 }
15116 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15117 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15118 if (!SWIG_IsOK(res2)) {
15119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15120 }
15121 if (!argp2) {
15122 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15123 }
15124 arg2 = reinterpret_cast< wxDC * >(argp2);
15125 {
15126 arg3 = &temp3;
15127 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15128 }
15129 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15130 if (!SWIG_IsOK(ecode4)) {
15131 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15132 }
15133 arg4 = static_cast< size_t >(val4);
15134 {
15135 PyThreadState* __tstate = wxPyBeginAllowThreads();
15136 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 resultobj = SWIG_Py_Void();
15141 return resultobj;
15142 fail:
15143 return NULL;
15144 }
15145
15146
15147 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj = 0;
15149 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15150 wxDC *arg2 = 0 ;
15151 wxRect *arg3 = 0 ;
15152 size_t arg4 ;
15153 void *argp1 = 0 ;
15154 int res1 = 0 ;
15155 void *argp2 = 0 ;
15156 int res2 = 0 ;
15157 wxRect temp3 ;
15158 size_t val4 ;
15159 int ecode4 = 0 ;
15160 PyObject * obj0 = 0 ;
15161 PyObject * obj1 = 0 ;
15162 PyObject * obj2 = 0 ;
15163 PyObject * obj3 = 0 ;
15164 char * kwnames[] = {
15165 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15166 };
15167
15168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15170 if (!SWIG_IsOK(res1)) {
15171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15172 }
15173 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15174 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15175 if (!SWIG_IsOK(res2)) {
15176 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15177 }
15178 if (!argp2) {
15179 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15180 }
15181 arg2 = reinterpret_cast< wxDC * >(argp2);
15182 {
15183 arg3 = &temp3;
15184 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15185 }
15186 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15187 if (!SWIG_IsOK(ecode4)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15189 }
15190 arg4 = static_cast< size_t >(val4);
15191 {
15192 PyThreadState* __tstate = wxPyBeginAllowThreads();
15193 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 resultobj = SWIG_Py_Void();
15198 return resultobj;
15199 fail:
15200 return NULL;
15201 }
15202
15203
15204 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15205 PyObject *obj;
15206 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15207 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15208 return SWIG_Py_Void();
15209 }
15210
15211 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15212 return SWIG_Python_InitShadowInstance(args);
15213 }
15214
15215 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15216 PyObject *resultobj = 0;
15217 wxWindow *arg1 = (wxWindow *) 0 ;
15218 int arg2 = (int) wxID_ANY ;
15219 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15220 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15221 wxSize const &arg4_defvalue = wxDefaultSize ;
15222 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15223 long arg5 = (long) 0 ;
15224 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15225 wxString *arg6 = (wxString *) &arg6_defvalue ;
15226 wxPyHtmlListBox *result = 0 ;
15227 void *argp1 = 0 ;
15228 int res1 = 0 ;
15229 int val2 ;
15230 int ecode2 = 0 ;
15231 wxPoint temp3 ;
15232 wxSize temp4 ;
15233 long val5 ;
15234 int ecode5 = 0 ;
15235 bool temp6 = false ;
15236 PyObject * obj0 = 0 ;
15237 PyObject * obj1 = 0 ;
15238 PyObject * obj2 = 0 ;
15239 PyObject * obj3 = 0 ;
15240 PyObject * obj4 = 0 ;
15241 PyObject * obj5 = 0 ;
15242 char * kwnames[] = {
15243 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15244 };
15245
15246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15248 if (!SWIG_IsOK(res1)) {
15249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15250 }
15251 arg1 = reinterpret_cast< wxWindow * >(argp1);
15252 if (obj1) {
15253 ecode2 = SWIG_AsVal_int(obj1, &val2);
15254 if (!SWIG_IsOK(ecode2)) {
15255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15256 }
15257 arg2 = static_cast< int >(val2);
15258 }
15259 if (obj2) {
15260 {
15261 arg3 = &temp3;
15262 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15263 }
15264 }
15265 if (obj3) {
15266 {
15267 arg4 = &temp4;
15268 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15269 }
15270 }
15271 if (obj4) {
15272 ecode5 = SWIG_AsVal_long(obj4, &val5);
15273 if (!SWIG_IsOK(ecode5)) {
15274 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15275 }
15276 arg5 = static_cast< long >(val5);
15277 }
15278 if (obj5) {
15279 {
15280 arg6 = wxString_in_helper(obj5);
15281 if (arg6 == NULL) SWIG_fail;
15282 temp6 = true;
15283 }
15284 }
15285 {
15286 if (!wxPyCheckForApp()) SWIG_fail;
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15293 {
15294 if (temp6)
15295 delete arg6;
15296 }
15297 return resultobj;
15298 fail:
15299 {
15300 if (temp6)
15301 delete arg6;
15302 }
15303 return NULL;
15304 }
15305
15306
15307 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15308 PyObject *resultobj = 0;
15309 wxPyHtmlListBox *result = 0 ;
15310
15311 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15312 {
15313 if (!wxPyCheckForApp()) SWIG_fail;
15314 PyThreadState* __tstate = wxPyBeginAllowThreads();
15315 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15320 return resultobj;
15321 fail:
15322 return NULL;
15323 }
15324
15325
15326 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15327 PyObject *resultobj = 0;
15328 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15329 PyObject *arg2 = (PyObject *) 0 ;
15330 PyObject *arg3 = (PyObject *) 0 ;
15331 void *argp1 = 0 ;
15332 int res1 = 0 ;
15333 PyObject * obj0 = 0 ;
15334 PyObject * obj1 = 0 ;
15335 PyObject * obj2 = 0 ;
15336 char * kwnames[] = {
15337 (char *) "self",(char *) "self",(char *) "_class", NULL
15338 };
15339
15340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15342 if (!SWIG_IsOK(res1)) {
15343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15344 }
15345 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15346 arg2 = obj1;
15347 arg3 = obj2;
15348 {
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 (arg1)->_setCallbackInfo(arg2,arg3);
15351 wxPyEndAllowThreads(__tstate);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 }
15354 resultobj = SWIG_Py_Void();
15355 return resultobj;
15356 fail:
15357 return NULL;
15358 }
15359
15360
15361 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15362 PyObject *resultobj = 0;
15363 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15364 wxWindow *arg2 = (wxWindow *) 0 ;
15365 int arg3 = (int) wxID_ANY ;
15366 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15367 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15368 wxSize const &arg5_defvalue = wxDefaultSize ;
15369 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15370 long arg6 = (long) 0 ;
15371 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15372 wxString *arg7 = (wxString *) &arg7_defvalue ;
15373 bool result;
15374 void *argp1 = 0 ;
15375 int res1 = 0 ;
15376 void *argp2 = 0 ;
15377 int res2 = 0 ;
15378 int val3 ;
15379 int ecode3 = 0 ;
15380 wxPoint temp4 ;
15381 wxSize temp5 ;
15382 long val6 ;
15383 int ecode6 = 0 ;
15384 bool temp7 = false ;
15385 PyObject * obj0 = 0 ;
15386 PyObject * obj1 = 0 ;
15387 PyObject * obj2 = 0 ;
15388 PyObject * obj3 = 0 ;
15389 PyObject * obj4 = 0 ;
15390 PyObject * obj5 = 0 ;
15391 PyObject * obj6 = 0 ;
15392 char * kwnames[] = {
15393 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15394 };
15395
15396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15398 if (!SWIG_IsOK(res1)) {
15399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15400 }
15401 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15402 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15403 if (!SWIG_IsOK(res2)) {
15404 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15405 }
15406 arg2 = reinterpret_cast< wxWindow * >(argp2);
15407 if (obj2) {
15408 ecode3 = SWIG_AsVal_int(obj2, &val3);
15409 if (!SWIG_IsOK(ecode3)) {
15410 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15411 }
15412 arg3 = static_cast< int >(val3);
15413 }
15414 if (obj3) {
15415 {
15416 arg4 = &temp4;
15417 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15418 }
15419 }
15420 if (obj4) {
15421 {
15422 arg5 = &temp5;
15423 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15424 }
15425 }
15426 if (obj5) {
15427 ecode6 = SWIG_AsVal_long(obj5, &val6);
15428 if (!SWIG_IsOK(ecode6)) {
15429 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15430 }
15431 arg6 = static_cast< long >(val6);
15432 }
15433 if (obj6) {
15434 {
15435 arg7 = wxString_in_helper(obj6);
15436 if (arg7 == NULL) SWIG_fail;
15437 temp7 = true;
15438 }
15439 }
15440 {
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 {
15447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15448 }
15449 {
15450 if (temp7)
15451 delete arg7;
15452 }
15453 return resultobj;
15454 fail:
15455 {
15456 if (temp7)
15457 delete arg7;
15458 }
15459 return NULL;
15460 }
15461
15462
15463 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15464 PyObject *resultobj = 0;
15465 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15466 size_t arg2 ;
15467 void *argp1 = 0 ;
15468 int res1 = 0 ;
15469 size_t val2 ;
15470 int ecode2 = 0 ;
15471 PyObject * obj0 = 0 ;
15472 PyObject * obj1 = 0 ;
15473 char * kwnames[] = {
15474 (char *) "self",(char *) "count", NULL
15475 };
15476
15477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15479 if (!SWIG_IsOK(res1)) {
15480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15481 }
15482 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15483 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15484 if (!SWIG_IsOK(ecode2)) {
15485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15486 }
15487 arg2 = static_cast< size_t >(val2);
15488 {
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 (arg1)->SetItemCount(arg2);
15491 wxPyEndAllowThreads(__tstate);
15492 if (PyErr_Occurred()) SWIG_fail;
15493 }
15494 resultobj = SWIG_Py_Void();
15495 return resultobj;
15496 fail:
15497 return NULL;
15498 }
15499
15500
15501 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15502 PyObject *resultobj = 0;
15503 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15504 wxFileSystem *result = 0 ;
15505 void *argp1 = 0 ;
15506 int res1 = 0 ;
15507 PyObject *swig_obj[1] ;
15508
15509 if (!args) SWIG_fail;
15510 swig_obj[0] = args;
15511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15512 if (!SWIG_IsOK(res1)) {
15513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15514 }
15515 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15516 {
15517 PyThreadState* __tstate = wxPyBeginAllowThreads();
15518 {
15519 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15520 result = (wxFileSystem *) &_result_ref;
15521 }
15522 wxPyEndAllowThreads(__tstate);
15523 if (PyErr_Occurred()) SWIG_fail;
15524 }
15525 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15526 return resultobj;
15527 fail:
15528 return NULL;
15529 }
15530
15531
15532 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15533 PyObject *resultobj = 0;
15534 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15535 size_t arg2 ;
15536 wxHtmlLinkInfo *arg3 = 0 ;
15537 void *argp1 = 0 ;
15538 int res1 = 0 ;
15539 size_t val2 ;
15540 int ecode2 = 0 ;
15541 void *argp3 = 0 ;
15542 int res3 = 0 ;
15543 PyObject * obj0 = 0 ;
15544 PyObject * obj1 = 0 ;
15545 PyObject * obj2 = 0 ;
15546 char * kwnames[] = {
15547 (char *) "self",(char *) "n",(char *) "link", NULL
15548 };
15549
15550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15552 if (!SWIG_IsOK(res1)) {
15553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15554 }
15555 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15556 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15557 if (!SWIG_IsOK(ecode2)) {
15558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15559 }
15560 arg2 = static_cast< size_t >(val2);
15561 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15562 if (!SWIG_IsOK(res3)) {
15563 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15564 }
15565 if (!argp3) {
15566 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15567 }
15568 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15569 {
15570 PyThreadState* __tstate = wxPyBeginAllowThreads();
15571 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15572 wxPyEndAllowThreads(__tstate);
15573 if (PyErr_Occurred()) SWIG_fail;
15574 }
15575 resultobj = SWIG_Py_Void();
15576 return resultobj;
15577 fail:
15578 return NULL;
15579 }
15580
15581
15582 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15583 PyObject *obj;
15584 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15585 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15586 return SWIG_Py_Void();
15587 }
15588
15589 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15590 return SWIG_Python_InitShadowInstance(args);
15591 }
15592
15593 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15594 PyObject *resultobj = 0;
15595 wxPyTaskBarIcon *result = 0 ;
15596
15597 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15598 {
15599 if (!wxPyCheckForApp()) SWIG_fail;
15600 PyThreadState* __tstate = wxPyBeginAllowThreads();
15601 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15606 return resultobj;
15607 fail:
15608 return NULL;
15609 }
15610
15611
15612 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15613 PyObject *resultobj = 0;
15614 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15615 void *argp1 = 0 ;
15616 int res1 = 0 ;
15617 PyObject *swig_obj[1] ;
15618
15619 if (!args) SWIG_fail;
15620 swig_obj[0] = args;
15621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15622 if (!SWIG_IsOK(res1)) {
15623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15624 }
15625 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 delete arg1;
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 resultobj = SWIG_Py_Void();
15634 return resultobj;
15635 fail:
15636 return NULL;
15637 }
15638
15639
15640 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj = 0;
15642 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15643 PyObject *arg2 = (PyObject *) 0 ;
15644 PyObject *arg3 = (PyObject *) 0 ;
15645 int arg4 ;
15646 void *argp1 = 0 ;
15647 int res1 = 0 ;
15648 int val4 ;
15649 int ecode4 = 0 ;
15650 PyObject * obj0 = 0 ;
15651 PyObject * obj1 = 0 ;
15652 PyObject * obj2 = 0 ;
15653 PyObject * obj3 = 0 ;
15654 char * kwnames[] = {
15655 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15656 };
15657
15658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15660 if (!SWIG_IsOK(res1)) {
15661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15662 }
15663 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15664 arg2 = obj1;
15665 arg3 = obj2;
15666 ecode4 = SWIG_AsVal_int(obj3, &val4);
15667 if (!SWIG_IsOK(ecode4)) {
15668 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15669 }
15670 arg4 = static_cast< int >(val4);
15671 {
15672 PyThreadState* __tstate = wxPyBeginAllowThreads();
15673 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15674 wxPyEndAllowThreads(__tstate);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 resultobj = SWIG_Py_Void();
15678 return resultobj;
15679 fail:
15680 return NULL;
15681 }
15682
15683
15684 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15685 PyObject *resultobj = 0;
15686 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15687 void *argp1 = 0 ;
15688 int res1 = 0 ;
15689 PyObject *swig_obj[1] ;
15690
15691 if (!args) SWIG_fail;
15692 swig_obj[0] = args;
15693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15694 if (!SWIG_IsOK(res1)) {
15695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15696 }
15697 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15698 {
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
15700 wxPyTaskBarIcon_Destroy(arg1);
15701 wxPyEndAllowThreads(__tstate);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 }
15704 resultobj = SWIG_Py_Void();
15705 return resultobj;
15706 fail:
15707 return NULL;
15708 }
15709
15710
15711 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15712 PyObject *resultobj = 0;
15713 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15714 bool result;
15715 void *argp1 = 0 ;
15716 int res1 = 0 ;
15717 PyObject *swig_obj[1] ;
15718
15719 if (!args) SWIG_fail;
15720 swig_obj[0] = args;
15721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15722 if (!SWIG_IsOK(res1)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15724 }
15725 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15726 {
15727 PyThreadState* __tstate = wxPyBeginAllowThreads();
15728 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15729 wxPyEndAllowThreads(__tstate);
15730 if (PyErr_Occurred()) SWIG_fail;
15731 }
15732 {
15733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15734 }
15735 return resultobj;
15736 fail:
15737 return NULL;
15738 }
15739
15740
15741 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15742 PyObject *resultobj = 0;
15743 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15744 bool result;
15745 void *argp1 = 0 ;
15746 int res1 = 0 ;
15747 PyObject *swig_obj[1] ;
15748
15749 if (!args) SWIG_fail;
15750 swig_obj[0] = args;
15751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15752 if (!SWIG_IsOK(res1)) {
15753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15754 }
15755 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15756 {
15757 PyThreadState* __tstate = wxPyBeginAllowThreads();
15758 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 {
15763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15764 }
15765 return resultobj;
15766 fail:
15767 return NULL;
15768 }
15769
15770
15771 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15772 PyObject *resultobj = 0;
15773 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15774 wxIcon *arg2 = 0 ;
15775 wxString const &arg3_defvalue = wxPyEmptyString ;
15776 wxString *arg3 = (wxString *) &arg3_defvalue ;
15777 bool result;
15778 void *argp1 = 0 ;
15779 int res1 = 0 ;
15780 void *argp2 = 0 ;
15781 int res2 = 0 ;
15782 bool temp3 = false ;
15783 PyObject * obj0 = 0 ;
15784 PyObject * obj1 = 0 ;
15785 PyObject * obj2 = 0 ;
15786 char * kwnames[] = {
15787 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15788 };
15789
15790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15792 if (!SWIG_IsOK(res1)) {
15793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15794 }
15795 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15796 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15797 if (!SWIG_IsOK(res2)) {
15798 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15799 }
15800 if (!argp2) {
15801 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15802 }
15803 arg2 = reinterpret_cast< wxIcon * >(argp2);
15804 if (obj2) {
15805 {
15806 arg3 = wxString_in_helper(obj2);
15807 if (arg3 == NULL) SWIG_fail;
15808 temp3 = true;
15809 }
15810 }
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15814 wxPyEndAllowThreads(__tstate);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 }
15817 {
15818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15819 }
15820 {
15821 if (temp3)
15822 delete arg3;
15823 }
15824 return resultobj;
15825 fail:
15826 {
15827 if (temp3)
15828 delete arg3;
15829 }
15830 return NULL;
15831 }
15832
15833
15834 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15835 PyObject *resultobj = 0;
15836 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15837 bool result;
15838 void *argp1 = 0 ;
15839 int res1 = 0 ;
15840 PyObject *swig_obj[1] ;
15841
15842 if (!args) SWIG_fail;
15843 swig_obj[0] = args;
15844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15845 if (!SWIG_IsOK(res1)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15847 }
15848 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 result = (bool)(arg1)->RemoveIcon();
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 {
15856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15857 }
15858 return resultobj;
15859 fail:
15860 return NULL;
15861 }
15862
15863
15864 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15865 PyObject *resultobj = 0;
15866 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15867 wxMenu *arg2 = (wxMenu *) 0 ;
15868 bool result;
15869 void *argp1 = 0 ;
15870 int res1 = 0 ;
15871 void *argp2 = 0 ;
15872 int res2 = 0 ;
15873 PyObject * obj0 = 0 ;
15874 PyObject * obj1 = 0 ;
15875 char * kwnames[] = {
15876 (char *) "self",(char *) "menu", NULL
15877 };
15878
15879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
15880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15881 if (!SWIG_IsOK(res1)) {
15882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15883 }
15884 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15885 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
15886 if (!SWIG_IsOK(res2)) {
15887 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15888 }
15889 arg2 = reinterpret_cast< wxMenu * >(argp2);
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 result = (bool)(arg1)->PopupMenu(arg2);
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
15896 {
15897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15898 }
15899 return resultobj;
15900 fail:
15901 return NULL;
15902 }
15903
15904
15905 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15906 PyObject *obj;
15907 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15908 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
15909 return SWIG_Py_Void();
15910 }
15911
15912 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15913 return SWIG_Python_InitShadowInstance(args);
15914 }
15915
15916 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15917 PyObject *resultobj = 0;
15918 wxEventType arg1 ;
15919 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
15920 wxTaskBarIconEvent *result = 0 ;
15921 int val1 ;
15922 int ecode1 = 0 ;
15923 void *argp2 = 0 ;
15924 int res2 = 0 ;
15925 PyObject * obj0 = 0 ;
15926 PyObject * obj1 = 0 ;
15927 char * kwnames[] = {
15928 (char *) "evtType",(char *) "tbIcon", NULL
15929 };
15930
15931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15932 ecode1 = SWIG_AsVal_int(obj0, &val1);
15933 if (!SWIG_IsOK(ecode1)) {
15934 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15935 }
15936 arg1 = static_cast< wxEventType >(val1);
15937 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
15938 if (!SWIG_IsOK(res2)) {
15939 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15940 }
15941 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
15942 {
15943 PyThreadState* __tstate = wxPyBeginAllowThreads();
15944 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
15945 wxPyEndAllowThreads(__tstate);
15946 if (PyErr_Occurred()) SWIG_fail;
15947 }
15948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
15949 return resultobj;
15950 fail:
15951 return NULL;
15952 }
15953
15954
15955 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15956 PyObject *obj;
15957 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15958 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
15959 return SWIG_Py_Void();
15960 }
15961
15962 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15963 return SWIG_Python_InitShadowInstance(args);
15964 }
15965
15966 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
15967 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
15968 return 1;
15969 }
15970
15971
15972 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
15973 PyObject *pyobj = 0;
15974
15975 {
15976 #if wxUSE_UNICODE
15977 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15978 #else
15979 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15980 #endif
15981 }
15982 return pyobj;
15983 }
15984
15985
15986 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
15987 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
15988 return 1;
15989 }
15990
15991
15992 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
15993 PyObject *pyobj = 0;
15994
15995 {
15996 #if wxUSE_UNICODE
15997 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
15998 #else
15999 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16000 #endif
16001 }
16002 return pyobj;
16003 }
16004
16005
16006 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16007 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16008 return 1;
16009 }
16010
16011
16012 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16013 PyObject *pyobj = 0;
16014
16015 {
16016 #if wxUSE_UNICODE
16017 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16018 #else
16019 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16020 #endif
16021 }
16022 return pyobj;
16023 }
16024
16025
16026 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16027 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16028 return 1;
16029 }
16030
16031
16032 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16033 PyObject *pyobj = 0;
16034
16035 {
16036 #if wxUSE_UNICODE
16037 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16038 #else
16039 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16040 #endif
16041 }
16042 return pyobj;
16043 }
16044
16045
16046 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16047 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16048 return 1;
16049 }
16050
16051
16052 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16053 PyObject *pyobj = 0;
16054
16055 {
16056 #if wxUSE_UNICODE
16057 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16058 #else
16059 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16060 #endif
16061 }
16062 return pyobj;
16063 }
16064
16065
16066 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16067 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16068 return 1;
16069 }
16070
16071
16072 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16073 PyObject *pyobj = 0;
16074
16075 {
16076 #if wxUSE_UNICODE
16077 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16078 #else
16079 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16080 #endif
16081 }
16082 return pyobj;
16083 }
16084
16085
16086 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16087 PyObject *resultobj = 0;
16088 wxColourData *result = 0 ;
16089
16090 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16091 {
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 result = (wxColourData *)new wxColourData();
16094 wxPyEndAllowThreads(__tstate);
16095 if (PyErr_Occurred()) SWIG_fail;
16096 }
16097 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16098 return resultobj;
16099 fail:
16100 return NULL;
16101 }
16102
16103
16104 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16105 PyObject *resultobj = 0;
16106 wxColourData *arg1 = (wxColourData *) 0 ;
16107 void *argp1 = 0 ;
16108 int res1 = 0 ;
16109 PyObject *swig_obj[1] ;
16110
16111 if (!args) SWIG_fail;
16112 swig_obj[0] = args;
16113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16114 if (!SWIG_IsOK(res1)) {
16115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16116 }
16117 arg1 = reinterpret_cast< wxColourData * >(argp1);
16118 {
16119 PyThreadState* __tstate = wxPyBeginAllowThreads();
16120 delete arg1;
16121
16122 wxPyEndAllowThreads(__tstate);
16123 if (PyErr_Occurred()) SWIG_fail;
16124 }
16125 resultobj = SWIG_Py_Void();
16126 return resultobj;
16127 fail:
16128 return NULL;
16129 }
16130
16131
16132 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16133 PyObject *resultobj = 0;
16134 wxColourData *arg1 = (wxColourData *) 0 ;
16135 bool result;
16136 void *argp1 = 0 ;
16137 int res1 = 0 ;
16138 PyObject *swig_obj[1] ;
16139
16140 if (!args) SWIG_fail;
16141 swig_obj[0] = args;
16142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16143 if (!SWIG_IsOK(res1)) {
16144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16145 }
16146 arg1 = reinterpret_cast< wxColourData * >(argp1);
16147 {
16148 PyThreadState* __tstate = wxPyBeginAllowThreads();
16149 result = (bool)(arg1)->GetChooseFull();
16150 wxPyEndAllowThreads(__tstate);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 }
16153 {
16154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16155 }
16156 return resultobj;
16157 fail:
16158 return NULL;
16159 }
16160
16161
16162 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16163 PyObject *resultobj = 0;
16164 wxColourData *arg1 = (wxColourData *) 0 ;
16165 wxColour result;
16166 void *argp1 = 0 ;
16167 int res1 = 0 ;
16168 PyObject *swig_obj[1] ;
16169
16170 if (!args) SWIG_fail;
16171 swig_obj[0] = args;
16172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16173 if (!SWIG_IsOK(res1)) {
16174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16175 }
16176 arg1 = reinterpret_cast< wxColourData * >(argp1);
16177 {
16178 PyThreadState* __tstate = wxPyBeginAllowThreads();
16179 result = (arg1)->GetColour();
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16184 return resultobj;
16185 fail:
16186 return NULL;
16187 }
16188
16189
16190 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16191 PyObject *resultobj = 0;
16192 wxColourData *arg1 = (wxColourData *) 0 ;
16193 int arg2 ;
16194 wxColour result;
16195 void *argp1 = 0 ;
16196 int res1 = 0 ;
16197 int val2 ;
16198 int ecode2 = 0 ;
16199 PyObject * obj0 = 0 ;
16200 PyObject * obj1 = 0 ;
16201 char * kwnames[] = {
16202 (char *) "self",(char *) "i", NULL
16203 };
16204
16205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16207 if (!SWIG_IsOK(res1)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16209 }
16210 arg1 = reinterpret_cast< wxColourData * >(argp1);
16211 ecode2 = SWIG_AsVal_int(obj1, &val2);
16212 if (!SWIG_IsOK(ecode2)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16214 }
16215 arg2 = static_cast< int >(val2);
16216 {
16217 PyThreadState* __tstate = wxPyBeginAllowThreads();
16218 result = (arg1)->GetCustomColour(arg2);
16219 wxPyEndAllowThreads(__tstate);
16220 if (PyErr_Occurred()) SWIG_fail;
16221 }
16222 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16223 return resultobj;
16224 fail:
16225 return NULL;
16226 }
16227
16228
16229 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16230 PyObject *resultobj = 0;
16231 wxColourData *arg1 = (wxColourData *) 0 ;
16232 int arg2 ;
16233 void *argp1 = 0 ;
16234 int res1 = 0 ;
16235 int val2 ;
16236 int ecode2 = 0 ;
16237 PyObject * obj0 = 0 ;
16238 PyObject * obj1 = 0 ;
16239 char * kwnames[] = {
16240 (char *) "self",(char *) "flag", NULL
16241 };
16242
16243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16245 if (!SWIG_IsOK(res1)) {
16246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16247 }
16248 arg1 = reinterpret_cast< wxColourData * >(argp1);
16249 ecode2 = SWIG_AsVal_int(obj1, &val2);
16250 if (!SWIG_IsOK(ecode2)) {
16251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16252 }
16253 arg2 = static_cast< int >(val2);
16254 {
16255 PyThreadState* __tstate = wxPyBeginAllowThreads();
16256 (arg1)->SetChooseFull(arg2);
16257 wxPyEndAllowThreads(__tstate);
16258 if (PyErr_Occurred()) SWIG_fail;
16259 }
16260 resultobj = SWIG_Py_Void();
16261 return resultobj;
16262 fail:
16263 return NULL;
16264 }
16265
16266
16267 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16268 PyObject *resultobj = 0;
16269 wxColourData *arg1 = (wxColourData *) 0 ;
16270 wxColour *arg2 = 0 ;
16271 void *argp1 = 0 ;
16272 int res1 = 0 ;
16273 wxColour temp2 ;
16274 PyObject * obj0 = 0 ;
16275 PyObject * obj1 = 0 ;
16276 char * kwnames[] = {
16277 (char *) "self",(char *) "colour", NULL
16278 };
16279
16280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16282 if (!SWIG_IsOK(res1)) {
16283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16284 }
16285 arg1 = reinterpret_cast< wxColourData * >(argp1);
16286 {
16287 arg2 = &temp2;
16288 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16289 }
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 (arg1)->SetColour((wxColour const &)*arg2);
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 resultobj = SWIG_Py_Void();
16297 return resultobj;
16298 fail:
16299 return NULL;
16300 }
16301
16302
16303 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16304 PyObject *resultobj = 0;
16305 wxColourData *arg1 = (wxColourData *) 0 ;
16306 int arg2 ;
16307 wxColour *arg3 = 0 ;
16308 void *argp1 = 0 ;
16309 int res1 = 0 ;
16310 int val2 ;
16311 int ecode2 = 0 ;
16312 wxColour temp3 ;
16313 PyObject * obj0 = 0 ;
16314 PyObject * obj1 = 0 ;
16315 PyObject * obj2 = 0 ;
16316 char * kwnames[] = {
16317 (char *) "self",(char *) "i",(char *) "colour", NULL
16318 };
16319
16320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16322 if (!SWIG_IsOK(res1)) {
16323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16324 }
16325 arg1 = reinterpret_cast< wxColourData * >(argp1);
16326 ecode2 = SWIG_AsVal_int(obj1, &val2);
16327 if (!SWIG_IsOK(ecode2)) {
16328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16329 }
16330 arg2 = static_cast< int >(val2);
16331 {
16332 arg3 = &temp3;
16333 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16334 }
16335 {
16336 PyThreadState* __tstate = wxPyBeginAllowThreads();
16337 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16338 wxPyEndAllowThreads(__tstate);
16339 if (PyErr_Occurred()) SWIG_fail;
16340 }
16341 resultobj = SWIG_Py_Void();
16342 return resultobj;
16343 fail:
16344 return NULL;
16345 }
16346
16347
16348 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16349 PyObject *obj;
16350 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16351 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16352 return SWIG_Py_Void();
16353 }
16354
16355 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16356 return SWIG_Python_InitShadowInstance(args);
16357 }
16358
16359 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16360 PyObject *resultobj = 0;
16361 wxWindow *arg1 = (wxWindow *) 0 ;
16362 wxColourData *arg2 = (wxColourData *) NULL ;
16363 wxColourDialog *result = 0 ;
16364 void *argp1 = 0 ;
16365 int res1 = 0 ;
16366 void *argp2 = 0 ;
16367 int res2 = 0 ;
16368 PyObject * obj0 = 0 ;
16369 PyObject * obj1 = 0 ;
16370 char * kwnames[] = {
16371 (char *) "parent",(char *) "data", NULL
16372 };
16373
16374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16376 if (!SWIG_IsOK(res1)) {
16377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16378 }
16379 arg1 = reinterpret_cast< wxWindow * >(argp1);
16380 if (obj1) {
16381 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16382 if (!SWIG_IsOK(res2)) {
16383 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16384 }
16385 arg2 = reinterpret_cast< wxColourData * >(argp2);
16386 }
16387 {
16388 if (!wxPyCheckForApp()) SWIG_fail;
16389 PyThreadState* __tstate = wxPyBeginAllowThreads();
16390 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16391 wxPyEndAllowThreads(__tstate);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
16394 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16395 return resultobj;
16396 fail:
16397 return NULL;
16398 }
16399
16400
16401 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16402 PyObject *resultobj = 0;
16403 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16404 wxColourData *result = 0 ;
16405 void *argp1 = 0 ;
16406 int res1 = 0 ;
16407 PyObject *swig_obj[1] ;
16408
16409 if (!args) SWIG_fail;
16410 swig_obj[0] = args;
16411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16412 if (!SWIG_IsOK(res1)) {
16413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16414 }
16415 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
16418 {
16419 wxColourData &_result_ref = (arg1)->GetColourData();
16420 result = (wxColourData *) &_result_ref;
16421 }
16422 wxPyEndAllowThreads(__tstate);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 }
16425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16426 return resultobj;
16427 fail:
16428 return NULL;
16429 }
16430
16431
16432 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16433 PyObject *obj;
16434 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16435 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16436 return SWIG_Py_Void();
16437 }
16438
16439 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16440 return SWIG_Python_InitShadowInstance(args);
16441 }
16442
16443 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16444 PyObject *resultobj = 0;
16445 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16446 wxColour const &arg2_defvalue = wxNullColour ;
16447 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16448 wxString const &arg3_defvalue = wxPyEmptyString ;
16449 wxString *arg3 = (wxString *) &arg3_defvalue ;
16450 wxColour result;
16451 void *argp1 = 0 ;
16452 int res1 = 0 ;
16453 wxColour temp2 ;
16454 bool temp3 = false ;
16455 PyObject * obj0 = 0 ;
16456 PyObject * obj1 = 0 ;
16457 PyObject * obj2 = 0 ;
16458 char * kwnames[] = {
16459 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16460 };
16461
16462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16463 if (obj0) {
16464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16465 if (!SWIG_IsOK(res1)) {
16466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16467 }
16468 arg1 = reinterpret_cast< wxWindow * >(argp1);
16469 }
16470 if (obj1) {
16471 {
16472 arg2 = &temp2;
16473 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16474 }
16475 }
16476 if (obj2) {
16477 {
16478 arg3 = wxString_in_helper(obj2);
16479 if (arg3 == NULL) SWIG_fail;
16480 temp3 = true;
16481 }
16482 }
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16486 wxPyEndAllowThreads(__tstate);
16487 if (PyErr_Occurred()) SWIG_fail;
16488 }
16489 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16490 {
16491 if (temp3)
16492 delete arg3;
16493 }
16494 return resultobj;
16495 fail:
16496 {
16497 if (temp3)
16498 delete arg3;
16499 }
16500 return NULL;
16501 }
16502
16503
16504 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16505 PyObject *resultobj = 0;
16506 wxWindow *arg1 = (wxWindow *) 0 ;
16507 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16508 wxString *arg2 = (wxString *) &arg2_defvalue ;
16509 wxString const &arg3_defvalue = wxPyEmptyString ;
16510 wxString *arg3 = (wxString *) &arg3_defvalue ;
16511 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16512 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16513 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16514 wxSize const &arg6_defvalue = wxDefaultSize ;
16515 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16516 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16517 wxString *arg7 = (wxString *) &arg7_defvalue ;
16518 wxDirDialog *result = 0 ;
16519 void *argp1 = 0 ;
16520 int res1 = 0 ;
16521 bool temp2 = false ;
16522 bool temp3 = false ;
16523 long val4 ;
16524 int ecode4 = 0 ;
16525 wxPoint temp5 ;
16526 wxSize temp6 ;
16527 bool temp7 = false ;
16528 PyObject * obj0 = 0 ;
16529 PyObject * obj1 = 0 ;
16530 PyObject * obj2 = 0 ;
16531 PyObject * obj3 = 0 ;
16532 PyObject * obj4 = 0 ;
16533 PyObject * obj5 = 0 ;
16534 PyObject * obj6 = 0 ;
16535 char * kwnames[] = {
16536 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16537 };
16538
16539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16541 if (!SWIG_IsOK(res1)) {
16542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16543 }
16544 arg1 = reinterpret_cast< wxWindow * >(argp1);
16545 if (obj1) {
16546 {
16547 arg2 = wxString_in_helper(obj1);
16548 if (arg2 == NULL) SWIG_fail;
16549 temp2 = true;
16550 }
16551 }
16552 if (obj2) {
16553 {
16554 arg3 = wxString_in_helper(obj2);
16555 if (arg3 == NULL) SWIG_fail;
16556 temp3 = true;
16557 }
16558 }
16559 if (obj3) {
16560 ecode4 = SWIG_AsVal_long(obj3, &val4);
16561 if (!SWIG_IsOK(ecode4)) {
16562 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16563 }
16564 arg4 = static_cast< long >(val4);
16565 }
16566 if (obj4) {
16567 {
16568 arg5 = &temp5;
16569 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16570 }
16571 }
16572 if (obj5) {
16573 {
16574 arg6 = &temp6;
16575 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16576 }
16577 }
16578 if (obj6) {
16579 {
16580 arg7 = wxString_in_helper(obj6);
16581 if (arg7 == NULL) SWIG_fail;
16582 temp7 = true;
16583 }
16584 }
16585 {
16586 if (!wxPyCheckForApp()) SWIG_fail;
16587 PyThreadState* __tstate = wxPyBeginAllowThreads();
16588 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16589 wxPyEndAllowThreads(__tstate);
16590 if (PyErr_Occurred()) SWIG_fail;
16591 }
16592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16593 {
16594 if (temp2)
16595 delete arg2;
16596 }
16597 {
16598 if (temp3)
16599 delete arg3;
16600 }
16601 {
16602 if (temp7)
16603 delete arg7;
16604 }
16605 return resultobj;
16606 fail:
16607 {
16608 if (temp2)
16609 delete arg2;
16610 }
16611 {
16612 if (temp3)
16613 delete arg3;
16614 }
16615 {
16616 if (temp7)
16617 delete arg7;
16618 }
16619 return NULL;
16620 }
16621
16622
16623 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16624 PyObject *resultobj = 0;
16625 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16626 wxString result;
16627 void *argp1 = 0 ;
16628 int res1 = 0 ;
16629 PyObject *swig_obj[1] ;
16630
16631 if (!args) SWIG_fail;
16632 swig_obj[0] = args;
16633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16634 if (!SWIG_IsOK(res1)) {
16635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16636 }
16637 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16638 {
16639 PyThreadState* __tstate = wxPyBeginAllowThreads();
16640 result = (arg1)->GetPath();
16641 wxPyEndAllowThreads(__tstate);
16642 if (PyErr_Occurred()) SWIG_fail;
16643 }
16644 {
16645 #if wxUSE_UNICODE
16646 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16647 #else
16648 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16649 #endif
16650 }
16651 return resultobj;
16652 fail:
16653 return NULL;
16654 }
16655
16656
16657 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16658 PyObject *resultobj = 0;
16659 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16660 wxString result;
16661 void *argp1 = 0 ;
16662 int res1 = 0 ;
16663 PyObject *swig_obj[1] ;
16664
16665 if (!args) SWIG_fail;
16666 swig_obj[0] = args;
16667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16668 if (!SWIG_IsOK(res1)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16670 }
16671 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16672 {
16673 PyThreadState* __tstate = wxPyBeginAllowThreads();
16674 result = (arg1)->GetMessage();
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 {
16679 #if wxUSE_UNICODE
16680 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16681 #else
16682 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16683 #endif
16684 }
16685 return resultobj;
16686 fail:
16687 return NULL;
16688 }
16689
16690
16691 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16692 PyObject *resultobj = 0;
16693 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16694 wxString *arg2 = 0 ;
16695 void *argp1 = 0 ;
16696 int res1 = 0 ;
16697 bool temp2 = false ;
16698 PyObject * obj0 = 0 ;
16699 PyObject * obj1 = 0 ;
16700 char * kwnames[] = {
16701 (char *) "self",(char *) "message", NULL
16702 };
16703
16704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16706 if (!SWIG_IsOK(res1)) {
16707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16708 }
16709 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16710 {
16711 arg2 = wxString_in_helper(obj1);
16712 if (arg2 == NULL) SWIG_fail;
16713 temp2 = true;
16714 }
16715 {
16716 PyThreadState* __tstate = wxPyBeginAllowThreads();
16717 (arg1)->SetMessage((wxString const &)*arg2);
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 resultobj = SWIG_Py_Void();
16722 {
16723 if (temp2)
16724 delete arg2;
16725 }
16726 return resultobj;
16727 fail:
16728 {
16729 if (temp2)
16730 delete arg2;
16731 }
16732 return NULL;
16733 }
16734
16735
16736 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16737 PyObject *resultobj = 0;
16738 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16739 wxString *arg2 = 0 ;
16740 void *argp1 = 0 ;
16741 int res1 = 0 ;
16742 bool temp2 = false ;
16743 PyObject * obj0 = 0 ;
16744 PyObject * obj1 = 0 ;
16745 char * kwnames[] = {
16746 (char *) "self",(char *) "path", NULL
16747 };
16748
16749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16751 if (!SWIG_IsOK(res1)) {
16752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16753 }
16754 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16755 {
16756 arg2 = wxString_in_helper(obj1);
16757 if (arg2 == NULL) SWIG_fail;
16758 temp2 = true;
16759 }
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
16762 (arg1)->SetPath((wxString const &)*arg2);
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 resultobj = SWIG_Py_Void();
16767 {
16768 if (temp2)
16769 delete arg2;
16770 }
16771 return resultobj;
16772 fail:
16773 {
16774 if (temp2)
16775 delete arg2;
16776 }
16777 return NULL;
16778 }
16779
16780
16781 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16782 PyObject *obj;
16783 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16784 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16785 return SWIG_Py_Void();
16786 }
16787
16788 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16789 return SWIG_Python_InitShadowInstance(args);
16790 }
16791
16792 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16793 PyObject *resultobj = 0;
16794 wxWindow *arg1 = (wxWindow *) 0 ;
16795 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16796 wxString *arg2 = (wxString *) &arg2_defvalue ;
16797 wxString const &arg3_defvalue = wxPyEmptyString ;
16798 wxString *arg3 = (wxString *) &arg3_defvalue ;
16799 wxString const &arg4_defvalue = wxPyEmptyString ;
16800 wxString *arg4 = (wxString *) &arg4_defvalue ;
16801 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16802 wxString *arg5 = (wxString *) &arg5_defvalue ;
16803 long arg6 = (long) wxFD_DEFAULT_STYLE ;
16804 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16805 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16806 wxFileDialog *result = 0 ;
16807 void *argp1 = 0 ;
16808 int res1 = 0 ;
16809 bool temp2 = false ;
16810 bool temp3 = false ;
16811 bool temp4 = false ;
16812 bool temp5 = false ;
16813 long val6 ;
16814 int ecode6 = 0 ;
16815 wxPoint temp7 ;
16816 PyObject * obj0 = 0 ;
16817 PyObject * obj1 = 0 ;
16818 PyObject * obj2 = 0 ;
16819 PyObject * obj3 = 0 ;
16820 PyObject * obj4 = 0 ;
16821 PyObject * obj5 = 0 ;
16822 PyObject * obj6 = 0 ;
16823 char * kwnames[] = {
16824 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16825 };
16826
16827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16829 if (!SWIG_IsOK(res1)) {
16830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16831 }
16832 arg1 = reinterpret_cast< wxWindow * >(argp1);
16833 if (obj1) {
16834 {
16835 arg2 = wxString_in_helper(obj1);
16836 if (arg2 == NULL) SWIG_fail;
16837 temp2 = true;
16838 }
16839 }
16840 if (obj2) {
16841 {
16842 arg3 = wxString_in_helper(obj2);
16843 if (arg3 == NULL) SWIG_fail;
16844 temp3 = true;
16845 }
16846 }
16847 if (obj3) {
16848 {
16849 arg4 = wxString_in_helper(obj3);
16850 if (arg4 == NULL) SWIG_fail;
16851 temp4 = true;
16852 }
16853 }
16854 if (obj4) {
16855 {
16856 arg5 = wxString_in_helper(obj4);
16857 if (arg5 == NULL) SWIG_fail;
16858 temp5 = true;
16859 }
16860 }
16861 if (obj5) {
16862 ecode6 = SWIG_AsVal_long(obj5, &val6);
16863 if (!SWIG_IsOK(ecode6)) {
16864 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16865 }
16866 arg6 = static_cast< long >(val6);
16867 }
16868 if (obj6) {
16869 {
16870 arg7 = &temp7;
16871 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
16872 }
16873 }
16874 {
16875 if (!wxPyCheckForApp()) SWIG_fail;
16876 PyThreadState* __tstate = wxPyBeginAllowThreads();
16877 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
16878 wxPyEndAllowThreads(__tstate);
16879 if (PyErr_Occurred()) SWIG_fail;
16880 }
16881 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
16882 {
16883 if (temp2)
16884 delete arg2;
16885 }
16886 {
16887 if (temp3)
16888 delete arg3;
16889 }
16890 {
16891 if (temp4)
16892 delete arg4;
16893 }
16894 {
16895 if (temp5)
16896 delete arg5;
16897 }
16898 return resultobj;
16899 fail:
16900 {
16901 if (temp2)
16902 delete arg2;
16903 }
16904 {
16905 if (temp3)
16906 delete arg3;
16907 }
16908 {
16909 if (temp4)
16910 delete arg4;
16911 }
16912 {
16913 if (temp5)
16914 delete arg5;
16915 }
16916 return NULL;
16917 }
16918
16919
16920 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16921 PyObject *resultobj = 0;
16922 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16923 wxString *arg2 = 0 ;
16924 void *argp1 = 0 ;
16925 int res1 = 0 ;
16926 bool temp2 = false ;
16927 PyObject * obj0 = 0 ;
16928 PyObject * obj1 = 0 ;
16929 char * kwnames[] = {
16930 (char *) "self",(char *) "message", NULL
16931 };
16932
16933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16935 if (!SWIG_IsOK(res1)) {
16936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16937 }
16938 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16939 {
16940 arg2 = wxString_in_helper(obj1);
16941 if (arg2 == NULL) SWIG_fail;
16942 temp2 = true;
16943 }
16944 {
16945 PyThreadState* __tstate = wxPyBeginAllowThreads();
16946 (arg1)->SetMessage((wxString const &)*arg2);
16947 wxPyEndAllowThreads(__tstate);
16948 if (PyErr_Occurred()) SWIG_fail;
16949 }
16950 resultobj = SWIG_Py_Void();
16951 {
16952 if (temp2)
16953 delete arg2;
16954 }
16955 return resultobj;
16956 fail:
16957 {
16958 if (temp2)
16959 delete arg2;
16960 }
16961 return NULL;
16962 }
16963
16964
16965 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16966 PyObject *resultobj = 0;
16967 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16968 wxString *arg2 = 0 ;
16969 void *argp1 = 0 ;
16970 int res1 = 0 ;
16971 bool temp2 = false ;
16972 PyObject * obj0 = 0 ;
16973 PyObject * obj1 = 0 ;
16974 char * kwnames[] = {
16975 (char *) "self",(char *) "path", NULL
16976 };
16977
16978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16980 if (!SWIG_IsOK(res1)) {
16981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16982 }
16983 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16984 {
16985 arg2 = wxString_in_helper(obj1);
16986 if (arg2 == NULL) SWIG_fail;
16987 temp2 = true;
16988 }
16989 {
16990 PyThreadState* __tstate = wxPyBeginAllowThreads();
16991 (arg1)->SetPath((wxString const &)*arg2);
16992 wxPyEndAllowThreads(__tstate);
16993 if (PyErr_Occurred()) SWIG_fail;
16994 }
16995 resultobj = SWIG_Py_Void();
16996 {
16997 if (temp2)
16998 delete arg2;
16999 }
17000 return resultobj;
17001 fail:
17002 {
17003 if (temp2)
17004 delete arg2;
17005 }
17006 return NULL;
17007 }
17008
17009
17010 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17011 PyObject *resultobj = 0;
17012 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17013 wxString *arg2 = 0 ;
17014 void *argp1 = 0 ;
17015 int res1 = 0 ;
17016 bool temp2 = false ;
17017 PyObject * obj0 = 0 ;
17018 PyObject * obj1 = 0 ;
17019 char * kwnames[] = {
17020 (char *) "self",(char *) "dir", NULL
17021 };
17022
17023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17025 if (!SWIG_IsOK(res1)) {
17026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17027 }
17028 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17029 {
17030 arg2 = wxString_in_helper(obj1);
17031 if (arg2 == NULL) SWIG_fail;
17032 temp2 = true;
17033 }
17034 {
17035 PyThreadState* __tstate = wxPyBeginAllowThreads();
17036 (arg1)->SetDirectory((wxString const &)*arg2);
17037 wxPyEndAllowThreads(__tstate);
17038 if (PyErr_Occurred()) SWIG_fail;
17039 }
17040 resultobj = SWIG_Py_Void();
17041 {
17042 if (temp2)
17043 delete arg2;
17044 }
17045 return resultobj;
17046 fail:
17047 {
17048 if (temp2)
17049 delete arg2;
17050 }
17051 return NULL;
17052 }
17053
17054
17055 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17056 PyObject *resultobj = 0;
17057 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17058 wxString *arg2 = 0 ;
17059 void *argp1 = 0 ;
17060 int res1 = 0 ;
17061 bool temp2 = false ;
17062 PyObject * obj0 = 0 ;
17063 PyObject * obj1 = 0 ;
17064 char * kwnames[] = {
17065 (char *) "self",(char *) "name", NULL
17066 };
17067
17068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17070 if (!SWIG_IsOK(res1)) {
17071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17072 }
17073 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17074 {
17075 arg2 = wxString_in_helper(obj1);
17076 if (arg2 == NULL) SWIG_fail;
17077 temp2 = true;
17078 }
17079 {
17080 PyThreadState* __tstate = wxPyBeginAllowThreads();
17081 (arg1)->SetFilename((wxString const &)*arg2);
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 resultobj = SWIG_Py_Void();
17086 {
17087 if (temp2)
17088 delete arg2;
17089 }
17090 return resultobj;
17091 fail:
17092 {
17093 if (temp2)
17094 delete arg2;
17095 }
17096 return NULL;
17097 }
17098
17099
17100 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17101 PyObject *resultobj = 0;
17102 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17103 wxString *arg2 = 0 ;
17104 void *argp1 = 0 ;
17105 int res1 = 0 ;
17106 bool temp2 = false ;
17107 PyObject * obj0 = 0 ;
17108 PyObject * obj1 = 0 ;
17109 char * kwnames[] = {
17110 (char *) "self",(char *) "wildCard", NULL
17111 };
17112
17113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17115 if (!SWIG_IsOK(res1)) {
17116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17117 }
17118 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17119 {
17120 arg2 = wxString_in_helper(obj1);
17121 if (arg2 == NULL) SWIG_fail;
17122 temp2 = true;
17123 }
17124 {
17125 PyThreadState* __tstate = wxPyBeginAllowThreads();
17126 (arg1)->SetWildcard((wxString const &)*arg2);
17127 wxPyEndAllowThreads(__tstate);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 }
17130 resultobj = SWIG_Py_Void();
17131 {
17132 if (temp2)
17133 delete arg2;
17134 }
17135 return resultobj;
17136 fail:
17137 {
17138 if (temp2)
17139 delete arg2;
17140 }
17141 return NULL;
17142 }
17143
17144
17145 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17146 PyObject *resultobj = 0;
17147 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17148 int arg2 ;
17149 void *argp1 = 0 ;
17150 int res1 = 0 ;
17151 int val2 ;
17152 int ecode2 = 0 ;
17153 PyObject * obj0 = 0 ;
17154 PyObject * obj1 = 0 ;
17155 char * kwnames[] = {
17156 (char *) "self",(char *) "filterIndex", NULL
17157 };
17158
17159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17161 if (!SWIG_IsOK(res1)) {
17162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17163 }
17164 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17165 ecode2 = SWIG_AsVal_int(obj1, &val2);
17166 if (!SWIG_IsOK(ecode2)) {
17167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17168 }
17169 arg2 = static_cast< int >(val2);
17170 {
17171 PyThreadState* __tstate = wxPyBeginAllowThreads();
17172 (arg1)->SetFilterIndex(arg2);
17173 wxPyEndAllowThreads(__tstate);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 }
17176 resultobj = SWIG_Py_Void();
17177 return resultobj;
17178 fail:
17179 return NULL;
17180 }
17181
17182
17183 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17184 PyObject *resultobj = 0;
17185 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17186 wxString result;
17187 void *argp1 = 0 ;
17188 int res1 = 0 ;
17189 PyObject *swig_obj[1] ;
17190
17191 if (!args) SWIG_fail;
17192 swig_obj[0] = args;
17193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17194 if (!SWIG_IsOK(res1)) {
17195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17196 }
17197 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17198 {
17199 PyThreadState* __tstate = wxPyBeginAllowThreads();
17200 result = ((wxFileDialog const *)arg1)->GetMessage();
17201 wxPyEndAllowThreads(__tstate);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 }
17204 {
17205 #if wxUSE_UNICODE
17206 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17207 #else
17208 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17209 #endif
17210 }
17211 return resultobj;
17212 fail:
17213 return NULL;
17214 }
17215
17216
17217 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17218 PyObject *resultobj = 0;
17219 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17220 wxString result;
17221 void *argp1 = 0 ;
17222 int res1 = 0 ;
17223 PyObject *swig_obj[1] ;
17224
17225 if (!args) SWIG_fail;
17226 swig_obj[0] = args;
17227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17228 if (!SWIG_IsOK(res1)) {
17229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17230 }
17231 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17232 {
17233 PyThreadState* __tstate = wxPyBeginAllowThreads();
17234 result = ((wxFileDialog const *)arg1)->GetPath();
17235 wxPyEndAllowThreads(__tstate);
17236 if (PyErr_Occurred()) SWIG_fail;
17237 }
17238 {
17239 #if wxUSE_UNICODE
17240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17241 #else
17242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17243 #endif
17244 }
17245 return resultobj;
17246 fail:
17247 return NULL;
17248 }
17249
17250
17251 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17252 PyObject *resultobj = 0;
17253 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17254 wxString result;
17255 void *argp1 = 0 ;
17256 int res1 = 0 ;
17257 PyObject *swig_obj[1] ;
17258
17259 if (!args) SWIG_fail;
17260 swig_obj[0] = args;
17261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17262 if (!SWIG_IsOK(res1)) {
17263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17264 }
17265 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 result = ((wxFileDialog const *)arg1)->GetDirectory();
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
17272 {
17273 #if wxUSE_UNICODE
17274 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17275 #else
17276 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17277 #endif
17278 }
17279 return resultobj;
17280 fail:
17281 return NULL;
17282 }
17283
17284
17285 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17286 PyObject *resultobj = 0;
17287 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17288 wxString result;
17289 void *argp1 = 0 ;
17290 int res1 = 0 ;
17291 PyObject *swig_obj[1] ;
17292
17293 if (!args) SWIG_fail;
17294 swig_obj[0] = args;
17295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17296 if (!SWIG_IsOK(res1)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17298 }
17299 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17300 {
17301 PyThreadState* __tstate = wxPyBeginAllowThreads();
17302 result = ((wxFileDialog const *)arg1)->GetFilename();
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
17306 {
17307 #if wxUSE_UNICODE
17308 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17309 #else
17310 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17311 #endif
17312 }
17313 return resultobj;
17314 fail:
17315 return NULL;
17316 }
17317
17318
17319 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17320 PyObject *resultobj = 0;
17321 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17322 wxString result;
17323 void *argp1 = 0 ;
17324 int res1 = 0 ;
17325 PyObject *swig_obj[1] ;
17326
17327 if (!args) SWIG_fail;
17328 swig_obj[0] = args;
17329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17330 if (!SWIG_IsOK(res1)) {
17331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17332 }
17333 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17334 {
17335 PyThreadState* __tstate = wxPyBeginAllowThreads();
17336 result = ((wxFileDialog const *)arg1)->GetWildcard();
17337 wxPyEndAllowThreads(__tstate);
17338 if (PyErr_Occurred()) SWIG_fail;
17339 }
17340 {
17341 #if wxUSE_UNICODE
17342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17343 #else
17344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17345 #endif
17346 }
17347 return resultobj;
17348 fail:
17349 return NULL;
17350 }
17351
17352
17353 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17354 PyObject *resultobj = 0;
17355 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17356 int result;
17357 void *argp1 = 0 ;
17358 int res1 = 0 ;
17359 PyObject *swig_obj[1] ;
17360
17361 if (!args) SWIG_fail;
17362 swig_obj[0] = args;
17363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17364 if (!SWIG_IsOK(res1)) {
17365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17366 }
17367 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 resultobj = SWIG_From_int(static_cast< int >(result));
17375 return resultobj;
17376 fail:
17377 return NULL;
17378 }
17379
17380
17381 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17382 PyObject *resultobj = 0;
17383 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17384 PyObject *result = 0 ;
17385 void *argp1 = 0 ;
17386 int res1 = 0 ;
17387 PyObject *swig_obj[1] ;
17388
17389 if (!args) SWIG_fail;
17390 swig_obj[0] = args;
17391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17392 if (!SWIG_IsOK(res1)) {
17393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17394 }
17395 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17396 {
17397 PyThreadState* __tstate = wxPyBeginAllowThreads();
17398 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17399 wxPyEndAllowThreads(__tstate);
17400 if (PyErr_Occurred()) SWIG_fail;
17401 }
17402 resultobj = result;
17403 return resultobj;
17404 fail:
17405 return NULL;
17406 }
17407
17408
17409 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17410 PyObject *resultobj = 0;
17411 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17412 PyObject *result = 0 ;
17413 void *argp1 = 0 ;
17414 int res1 = 0 ;
17415 PyObject *swig_obj[1] ;
17416
17417 if (!args) SWIG_fail;
17418 swig_obj[0] = args;
17419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17420 if (!SWIG_IsOK(res1)) {
17421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17422 }
17423 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17424 {
17425 PyThreadState* __tstate = wxPyBeginAllowThreads();
17426 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17427 wxPyEndAllowThreads(__tstate);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 }
17430 resultobj = result;
17431 return resultobj;
17432 fail:
17433 return NULL;
17434 }
17435
17436
17437 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17438 PyObject *obj;
17439 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17440 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17441 return SWIG_Py_Void();
17442 }
17443
17444 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17445 return SWIG_Python_InitShadowInstance(args);
17446 }
17447
17448 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17449 PyObject *resultobj = 0;
17450 wxWindow *arg1 = (wxWindow *) 0 ;
17451 wxString *arg2 = 0 ;
17452 wxString *arg3 = 0 ;
17453 int arg4 = (int) 0 ;
17454 wxString *arg5 = (wxString *) NULL ;
17455 long arg6 = (long) wxCHOICEDLG_STYLE ;
17456 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17457 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17458 wxMultiChoiceDialog *result = 0 ;
17459 void *argp1 = 0 ;
17460 int res1 = 0 ;
17461 bool temp2 = false ;
17462 bool temp3 = false ;
17463 long val6 ;
17464 int ecode6 = 0 ;
17465 wxPoint temp7 ;
17466 PyObject * obj0 = 0 ;
17467 PyObject * obj1 = 0 ;
17468 PyObject * obj2 = 0 ;
17469 PyObject * obj3 = 0 ;
17470 PyObject * obj4 = 0 ;
17471 PyObject * obj5 = 0 ;
17472 char * kwnames[] = {
17473 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17474 };
17475
17476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17478 if (!SWIG_IsOK(res1)) {
17479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17480 }
17481 arg1 = reinterpret_cast< wxWindow * >(argp1);
17482 {
17483 arg2 = wxString_in_helper(obj1);
17484 if (arg2 == NULL) SWIG_fail;
17485 temp2 = true;
17486 }
17487 {
17488 arg3 = wxString_in_helper(obj2);
17489 if (arg3 == NULL) SWIG_fail;
17490 temp3 = true;
17491 }
17492 if (obj3) {
17493 {
17494 arg4 = PyList_Size(obj3);
17495 arg5 = wxString_LIST_helper(obj3);
17496 if (arg5 == NULL) SWIG_fail;
17497 }
17498 }
17499 if (obj4) {
17500 ecode6 = SWIG_AsVal_long(obj4, &val6);
17501 if (!SWIG_IsOK(ecode6)) {
17502 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17503 }
17504 arg6 = static_cast< long >(val6);
17505 }
17506 if (obj5) {
17507 {
17508 arg7 = &temp7;
17509 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17510 }
17511 }
17512 {
17513 if (!wxPyCheckForApp()) SWIG_fail;
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17516 wxPyEndAllowThreads(__tstate);
17517 if (PyErr_Occurred()) SWIG_fail;
17518 }
17519 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17520 {
17521 if (temp2)
17522 delete arg2;
17523 }
17524 {
17525 if (temp3)
17526 delete arg3;
17527 }
17528 {
17529 if (arg5) delete [] arg5;
17530 }
17531 return resultobj;
17532 fail:
17533 {
17534 if (temp2)
17535 delete arg2;
17536 }
17537 {
17538 if (temp3)
17539 delete arg3;
17540 }
17541 {
17542 if (arg5) delete [] arg5;
17543 }
17544 return NULL;
17545 }
17546
17547
17548 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17549 PyObject *resultobj = 0;
17550 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17551 wxArrayInt *arg2 = 0 ;
17552 void *argp1 = 0 ;
17553 int res1 = 0 ;
17554 bool temp2 = false ;
17555 PyObject * obj0 = 0 ;
17556 PyObject * obj1 = 0 ;
17557 char * kwnames[] = {
17558 (char *) "self",(char *) "selections", NULL
17559 };
17560
17561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17563 if (!SWIG_IsOK(res1)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17565 }
17566 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17567 {
17568 if (! PySequence_Check(obj1)) {
17569 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17570 SWIG_fail;
17571 }
17572 arg2 = new wxArrayInt;
17573 temp2 = true;
17574 int i, len=PySequence_Length(obj1);
17575 for (i=0; i<len; i++) {
17576 PyObject* item = PySequence_GetItem(obj1, i);
17577 PyObject* number = PyNumber_Int(item);
17578 arg2->Add(PyInt_AS_LONG(number));
17579 Py_DECREF(item);
17580 Py_DECREF(number);
17581 }
17582 }
17583 {
17584 PyThreadState* __tstate = wxPyBeginAllowThreads();
17585 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
17589 resultobj = SWIG_Py_Void();
17590 {
17591 if (temp2) delete arg2;
17592 }
17593 return resultobj;
17594 fail:
17595 {
17596 if (temp2) delete arg2;
17597 }
17598 return NULL;
17599 }
17600
17601
17602 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17603 PyObject *resultobj = 0;
17604 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17605 PyObject *result = 0 ;
17606 void *argp1 = 0 ;
17607 int res1 = 0 ;
17608 PyObject *swig_obj[1] ;
17609
17610 if (!args) SWIG_fail;
17611 swig_obj[0] = args;
17612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17613 if (!SWIG_IsOK(res1)) {
17614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17615 }
17616 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17617 {
17618 PyThreadState* __tstate = wxPyBeginAllowThreads();
17619 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17620 wxPyEndAllowThreads(__tstate);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 }
17623 resultobj = result;
17624 return resultobj;
17625 fail:
17626 return NULL;
17627 }
17628
17629
17630 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17631 PyObject *obj;
17632 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17633 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17634 return SWIG_Py_Void();
17635 }
17636
17637 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17638 return SWIG_Python_InitShadowInstance(args);
17639 }
17640
17641 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17642 PyObject *resultobj = 0;
17643 wxWindow *arg1 = (wxWindow *) 0 ;
17644 wxString *arg2 = 0 ;
17645 wxString *arg3 = 0 ;
17646 int arg4 ;
17647 wxString *arg5 = (wxString *) 0 ;
17648 long arg6 = (long) wxCHOICEDLG_STYLE ;
17649 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17650 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17651 wxSingleChoiceDialog *result = 0 ;
17652 void *argp1 = 0 ;
17653 int res1 = 0 ;
17654 bool temp2 = false ;
17655 bool temp3 = false ;
17656 long val6 ;
17657 int ecode6 = 0 ;
17658 wxPoint temp7 ;
17659 PyObject * obj0 = 0 ;
17660 PyObject * obj1 = 0 ;
17661 PyObject * obj2 = 0 ;
17662 PyObject * obj3 = 0 ;
17663 PyObject * obj4 = 0 ;
17664 PyObject * obj5 = 0 ;
17665 char * kwnames[] = {
17666 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17667 };
17668
17669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17671 if (!SWIG_IsOK(res1)) {
17672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17673 }
17674 arg1 = reinterpret_cast< wxWindow * >(argp1);
17675 {
17676 arg2 = wxString_in_helper(obj1);
17677 if (arg2 == NULL) SWIG_fail;
17678 temp2 = true;
17679 }
17680 {
17681 arg3 = wxString_in_helper(obj2);
17682 if (arg3 == NULL) SWIG_fail;
17683 temp3 = true;
17684 }
17685 {
17686 arg4 = PyList_Size(obj3);
17687 arg5 = wxString_LIST_helper(obj3);
17688 if (arg5 == NULL) SWIG_fail;
17689 }
17690 if (obj4) {
17691 ecode6 = SWIG_AsVal_long(obj4, &val6);
17692 if (!SWIG_IsOK(ecode6)) {
17693 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17694 }
17695 arg6 = static_cast< long >(val6);
17696 }
17697 if (obj5) {
17698 {
17699 arg7 = &temp7;
17700 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17701 }
17702 }
17703 {
17704 if (!wxPyCheckForApp()) SWIG_fail;
17705 PyThreadState* __tstate = wxPyBeginAllowThreads();
17706 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17707 wxPyEndAllowThreads(__tstate);
17708 if (PyErr_Occurred()) SWIG_fail;
17709 }
17710 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17711 {
17712 if (temp2)
17713 delete arg2;
17714 }
17715 {
17716 if (temp3)
17717 delete arg3;
17718 }
17719 {
17720 if (arg5) delete [] arg5;
17721 }
17722 return resultobj;
17723 fail:
17724 {
17725 if (temp2)
17726 delete arg2;
17727 }
17728 {
17729 if (temp3)
17730 delete arg3;
17731 }
17732 {
17733 if (arg5) delete [] arg5;
17734 }
17735 return NULL;
17736 }
17737
17738
17739 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17740 PyObject *resultobj = 0;
17741 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17742 int result;
17743 void *argp1 = 0 ;
17744 int res1 = 0 ;
17745 PyObject *swig_obj[1] ;
17746
17747 if (!args) SWIG_fail;
17748 swig_obj[0] = args;
17749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17750 if (!SWIG_IsOK(res1)) {
17751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17752 }
17753 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17754 {
17755 PyThreadState* __tstate = wxPyBeginAllowThreads();
17756 result = (int)(arg1)->GetSelection();
17757 wxPyEndAllowThreads(__tstate);
17758 if (PyErr_Occurred()) SWIG_fail;
17759 }
17760 resultobj = SWIG_From_int(static_cast< int >(result));
17761 return resultobj;
17762 fail:
17763 return NULL;
17764 }
17765
17766
17767 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17768 PyObject *resultobj = 0;
17769 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17770 wxString result;
17771 void *argp1 = 0 ;
17772 int res1 = 0 ;
17773 PyObject *swig_obj[1] ;
17774
17775 if (!args) SWIG_fail;
17776 swig_obj[0] = args;
17777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17778 if (!SWIG_IsOK(res1)) {
17779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17780 }
17781 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17782 {
17783 PyThreadState* __tstate = wxPyBeginAllowThreads();
17784 result = (arg1)->GetStringSelection();
17785 wxPyEndAllowThreads(__tstate);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 {
17789 #if wxUSE_UNICODE
17790 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17791 #else
17792 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17793 #endif
17794 }
17795 return resultobj;
17796 fail:
17797 return NULL;
17798 }
17799
17800
17801 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17802 PyObject *resultobj = 0;
17803 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17804 int arg2 ;
17805 void *argp1 = 0 ;
17806 int res1 = 0 ;
17807 int val2 ;
17808 int ecode2 = 0 ;
17809 PyObject * obj0 = 0 ;
17810 PyObject * obj1 = 0 ;
17811 char * kwnames[] = {
17812 (char *) "self",(char *) "sel", NULL
17813 };
17814
17815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17817 if (!SWIG_IsOK(res1)) {
17818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17819 }
17820 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17821 ecode2 = SWIG_AsVal_int(obj1, &val2);
17822 if (!SWIG_IsOK(ecode2)) {
17823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17824 }
17825 arg2 = static_cast< int >(val2);
17826 {
17827 PyThreadState* __tstate = wxPyBeginAllowThreads();
17828 (arg1)->SetSelection(arg2);
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 resultobj = SWIG_Py_Void();
17833 return resultobj;
17834 fail:
17835 return NULL;
17836 }
17837
17838
17839 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17840 PyObject *obj;
17841 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17842 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17843 return SWIG_Py_Void();
17844 }
17845
17846 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17847 return SWIG_Python_InitShadowInstance(args);
17848 }
17849
17850 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj = 0;
17852 wxWindow *arg1 = (wxWindow *) 0 ;
17853 wxString *arg2 = 0 ;
17854 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17855 wxString *arg3 = (wxString *) &arg3_defvalue ;
17856 wxString const &arg4_defvalue = wxPyEmptyString ;
17857 wxString *arg4 = (wxString *) &arg4_defvalue ;
17858 long arg5 = (long) wxTextEntryDialogStyle ;
17859 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17860 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17861 wxTextEntryDialog *result = 0 ;
17862 void *argp1 = 0 ;
17863 int res1 = 0 ;
17864 bool temp2 = false ;
17865 bool temp3 = false ;
17866 bool temp4 = false ;
17867 long val5 ;
17868 int ecode5 = 0 ;
17869 wxPoint temp6 ;
17870 PyObject * obj0 = 0 ;
17871 PyObject * obj1 = 0 ;
17872 PyObject * obj2 = 0 ;
17873 PyObject * obj3 = 0 ;
17874 PyObject * obj4 = 0 ;
17875 PyObject * obj5 = 0 ;
17876 char * kwnames[] = {
17877 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17878 };
17879
17880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17882 if (!SWIG_IsOK(res1)) {
17883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17884 }
17885 arg1 = reinterpret_cast< wxWindow * >(argp1);
17886 {
17887 arg2 = wxString_in_helper(obj1);
17888 if (arg2 == NULL) SWIG_fail;
17889 temp2 = true;
17890 }
17891 if (obj2) {
17892 {
17893 arg3 = wxString_in_helper(obj2);
17894 if (arg3 == NULL) SWIG_fail;
17895 temp3 = true;
17896 }
17897 }
17898 if (obj3) {
17899 {
17900 arg4 = wxString_in_helper(obj3);
17901 if (arg4 == NULL) SWIG_fail;
17902 temp4 = true;
17903 }
17904 }
17905 if (obj4) {
17906 ecode5 = SWIG_AsVal_long(obj4, &val5);
17907 if (!SWIG_IsOK(ecode5)) {
17908 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17909 }
17910 arg5 = static_cast< long >(val5);
17911 }
17912 if (obj5) {
17913 {
17914 arg6 = &temp6;
17915 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17916 }
17917 }
17918 {
17919 if (!wxPyCheckForApp()) SWIG_fail;
17920 PyThreadState* __tstate = wxPyBeginAllowThreads();
17921 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
17925 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
17926 {
17927 if (temp2)
17928 delete arg2;
17929 }
17930 {
17931 if (temp3)
17932 delete arg3;
17933 }
17934 {
17935 if (temp4)
17936 delete arg4;
17937 }
17938 return resultobj;
17939 fail:
17940 {
17941 if (temp2)
17942 delete arg2;
17943 }
17944 {
17945 if (temp3)
17946 delete arg3;
17947 }
17948 {
17949 if (temp4)
17950 delete arg4;
17951 }
17952 return NULL;
17953 }
17954
17955
17956 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17957 PyObject *resultobj = 0;
17958 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
17959 wxString result;
17960 void *argp1 = 0 ;
17961 int res1 = 0 ;
17962 PyObject *swig_obj[1] ;
17963
17964 if (!args) SWIG_fail;
17965 swig_obj[0] = args;
17966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
17967 if (!SWIG_IsOK(res1)) {
17968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17969 }
17970 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
17971 {
17972 PyThreadState* __tstate = wxPyBeginAllowThreads();
17973 result = (arg1)->GetValue();
17974 wxPyEndAllowThreads(__tstate);
17975 if (PyErr_Occurred()) SWIG_fail;
17976 }
17977 {
17978 #if wxUSE_UNICODE
17979 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17980 #else
17981 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17982 #endif
17983 }
17984 return resultobj;
17985 fail:
17986 return NULL;
17987 }
17988
17989
17990 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17991 PyObject *resultobj = 0;
17992 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
17993 wxString *arg2 = 0 ;
17994 void *argp1 = 0 ;
17995 int res1 = 0 ;
17996 bool temp2 = false ;
17997 PyObject * obj0 = 0 ;
17998 PyObject * obj1 = 0 ;
17999 char * kwnames[] = {
18000 (char *) "self",(char *) "value", NULL
18001 };
18002
18003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18005 if (!SWIG_IsOK(res1)) {
18006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18007 }
18008 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18009 {
18010 arg2 = wxString_in_helper(obj1);
18011 if (arg2 == NULL) SWIG_fail;
18012 temp2 = true;
18013 }
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 (arg1)->SetValue((wxString const &)*arg2);
18017 wxPyEndAllowThreads(__tstate);
18018 if (PyErr_Occurred()) SWIG_fail;
18019 }
18020 resultobj = SWIG_Py_Void();
18021 {
18022 if (temp2)
18023 delete arg2;
18024 }
18025 return resultobj;
18026 fail:
18027 {
18028 if (temp2)
18029 delete arg2;
18030 }
18031 return NULL;
18032 }
18033
18034
18035 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18036 PyObject *obj;
18037 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18038 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18039 return SWIG_Py_Void();
18040 }
18041
18042 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18043 return SWIG_Python_InitShadowInstance(args);
18044 }
18045
18046 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18047 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18048 return 1;
18049 }
18050
18051
18052 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18053 PyObject *pyobj = 0;
18054
18055 {
18056 #if wxUSE_UNICODE
18057 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18058 #else
18059 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18060 #endif
18061 }
18062 return pyobj;
18063 }
18064
18065
18066 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18067 PyObject *resultobj = 0;
18068 wxWindow *arg1 = (wxWindow *) 0 ;
18069 wxString *arg2 = 0 ;
18070 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18071 wxString *arg3 = (wxString *) &arg3_defvalue ;
18072 wxString const &arg4_defvalue = wxPyEmptyString ;
18073 wxString *arg4 = (wxString *) &arg4_defvalue ;
18074 long arg5 = (long) wxTextEntryDialogStyle ;
18075 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18076 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18077 wxPasswordEntryDialog *result = 0 ;
18078 void *argp1 = 0 ;
18079 int res1 = 0 ;
18080 bool temp2 = false ;
18081 bool temp3 = false ;
18082 bool temp4 = false ;
18083 long val5 ;
18084 int ecode5 = 0 ;
18085 wxPoint temp6 ;
18086 PyObject * obj0 = 0 ;
18087 PyObject * obj1 = 0 ;
18088 PyObject * obj2 = 0 ;
18089 PyObject * obj3 = 0 ;
18090 PyObject * obj4 = 0 ;
18091 PyObject * obj5 = 0 ;
18092 char * kwnames[] = {
18093 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18094 };
18095
18096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18098 if (!SWIG_IsOK(res1)) {
18099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18100 }
18101 arg1 = reinterpret_cast< wxWindow * >(argp1);
18102 {
18103 arg2 = wxString_in_helper(obj1);
18104 if (arg2 == NULL) SWIG_fail;
18105 temp2 = true;
18106 }
18107 if (obj2) {
18108 {
18109 arg3 = wxString_in_helper(obj2);
18110 if (arg3 == NULL) SWIG_fail;
18111 temp3 = true;
18112 }
18113 }
18114 if (obj3) {
18115 {
18116 arg4 = wxString_in_helper(obj3);
18117 if (arg4 == NULL) SWIG_fail;
18118 temp4 = true;
18119 }
18120 }
18121 if (obj4) {
18122 ecode5 = SWIG_AsVal_long(obj4, &val5);
18123 if (!SWIG_IsOK(ecode5)) {
18124 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18125 }
18126 arg5 = static_cast< long >(val5);
18127 }
18128 if (obj5) {
18129 {
18130 arg6 = &temp6;
18131 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18132 }
18133 }
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18137 wxPyEndAllowThreads(__tstate);
18138 if (PyErr_Occurred()) SWIG_fail;
18139 }
18140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18141 {
18142 if (temp2)
18143 delete arg2;
18144 }
18145 {
18146 if (temp3)
18147 delete arg3;
18148 }
18149 {
18150 if (temp4)
18151 delete arg4;
18152 }
18153 return resultobj;
18154 fail:
18155 {
18156 if (temp2)
18157 delete arg2;
18158 }
18159 {
18160 if (temp3)
18161 delete arg3;
18162 }
18163 {
18164 if (temp4)
18165 delete arg4;
18166 }
18167 return NULL;
18168 }
18169
18170
18171 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18172 PyObject *obj;
18173 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18174 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18175 return SWIG_Py_Void();
18176 }
18177
18178 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18179 return SWIG_Python_InitShadowInstance(args);
18180 }
18181
18182 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18183 PyObject *resultobj = 0;
18184 wxFontData *result = 0 ;
18185
18186 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 result = (wxFontData *)new wxFontData();
18190 wxPyEndAllowThreads(__tstate);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
18193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18201 PyObject *resultobj = 0;
18202 wxFontData *arg1 = (wxFontData *) 0 ;
18203 void *argp1 = 0 ;
18204 int res1 = 0 ;
18205 PyObject *swig_obj[1] ;
18206
18207 if (!args) SWIG_fail;
18208 swig_obj[0] = args;
18209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18210 if (!SWIG_IsOK(res1)) {
18211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18212 }
18213 arg1 = reinterpret_cast< wxFontData * >(argp1);
18214 {
18215 PyThreadState* __tstate = wxPyBeginAllowThreads();
18216 delete arg1;
18217
18218 wxPyEndAllowThreads(__tstate);
18219 if (PyErr_Occurred()) SWIG_fail;
18220 }
18221 resultobj = SWIG_Py_Void();
18222 return resultobj;
18223 fail:
18224 return NULL;
18225 }
18226
18227
18228 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18229 PyObject *resultobj = 0;
18230 wxFontData *arg1 = (wxFontData *) 0 ;
18231 bool arg2 ;
18232 void *argp1 = 0 ;
18233 int res1 = 0 ;
18234 bool val2 ;
18235 int ecode2 = 0 ;
18236 PyObject * obj0 = 0 ;
18237 PyObject * obj1 = 0 ;
18238 char * kwnames[] = {
18239 (char *) "self",(char *) "enable", NULL
18240 };
18241
18242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18244 if (!SWIG_IsOK(res1)) {
18245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18246 }
18247 arg1 = reinterpret_cast< wxFontData * >(argp1);
18248 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18249 if (!SWIG_IsOK(ecode2)) {
18250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18251 }
18252 arg2 = static_cast< bool >(val2);
18253 {
18254 PyThreadState* __tstate = wxPyBeginAllowThreads();
18255 (arg1)->EnableEffects(arg2);
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 resultobj = SWIG_Py_Void();
18260 return resultobj;
18261 fail:
18262 return NULL;
18263 }
18264
18265
18266 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18267 PyObject *resultobj = 0;
18268 wxFontData *arg1 = (wxFontData *) 0 ;
18269 bool result;
18270 void *argp1 = 0 ;
18271 int res1 = 0 ;
18272 PyObject *swig_obj[1] ;
18273
18274 if (!args) SWIG_fail;
18275 swig_obj[0] = args;
18276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18277 if (!SWIG_IsOK(res1)) {
18278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18279 }
18280 arg1 = reinterpret_cast< wxFontData * >(argp1);
18281 {
18282 PyThreadState* __tstate = wxPyBeginAllowThreads();
18283 result = (bool)(arg1)->GetAllowSymbols();
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 {
18288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18289 }
18290 return resultobj;
18291 fail:
18292 return NULL;
18293 }
18294
18295
18296 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18297 PyObject *resultobj = 0;
18298 wxFontData *arg1 = (wxFontData *) 0 ;
18299 wxColour result;
18300 void *argp1 = 0 ;
18301 int res1 = 0 ;
18302 PyObject *swig_obj[1] ;
18303
18304 if (!args) SWIG_fail;
18305 swig_obj[0] = args;
18306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18307 if (!SWIG_IsOK(res1)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18309 }
18310 arg1 = reinterpret_cast< wxFontData * >(argp1);
18311 {
18312 PyThreadState* __tstate = wxPyBeginAllowThreads();
18313 result = (arg1)->GetColour();
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18325 PyObject *resultobj = 0;
18326 wxFontData *arg1 = (wxFontData *) 0 ;
18327 wxFont result;
18328 void *argp1 = 0 ;
18329 int res1 = 0 ;
18330 PyObject *swig_obj[1] ;
18331
18332 if (!args) SWIG_fail;
18333 swig_obj[0] = args;
18334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18335 if (!SWIG_IsOK(res1)) {
18336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18337 }
18338 arg1 = reinterpret_cast< wxFontData * >(argp1);
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 result = (arg1)->GetChosenFont();
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18346 return resultobj;
18347 fail:
18348 return NULL;
18349 }
18350
18351
18352 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18353 PyObject *resultobj = 0;
18354 wxFontData *arg1 = (wxFontData *) 0 ;
18355 bool result;
18356 void *argp1 = 0 ;
18357 int res1 = 0 ;
18358 PyObject *swig_obj[1] ;
18359
18360 if (!args) SWIG_fail;
18361 swig_obj[0] = args;
18362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18363 if (!SWIG_IsOK(res1)) {
18364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18365 }
18366 arg1 = reinterpret_cast< wxFontData * >(argp1);
18367 {
18368 PyThreadState* __tstate = wxPyBeginAllowThreads();
18369 result = (bool)(arg1)->GetEnableEffects();
18370 wxPyEndAllowThreads(__tstate);
18371 if (PyErr_Occurred()) SWIG_fail;
18372 }
18373 {
18374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18375 }
18376 return resultobj;
18377 fail:
18378 return NULL;
18379 }
18380
18381
18382 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18383 PyObject *resultobj = 0;
18384 wxFontData *arg1 = (wxFontData *) 0 ;
18385 wxFont result;
18386 void *argp1 = 0 ;
18387 int res1 = 0 ;
18388 PyObject *swig_obj[1] ;
18389
18390 if (!args) SWIG_fail;
18391 swig_obj[0] = args;
18392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18393 if (!SWIG_IsOK(res1)) {
18394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18395 }
18396 arg1 = reinterpret_cast< wxFontData * >(argp1);
18397 {
18398 PyThreadState* __tstate = wxPyBeginAllowThreads();
18399 result = (arg1)->GetInitialFont();
18400 wxPyEndAllowThreads(__tstate);
18401 if (PyErr_Occurred()) SWIG_fail;
18402 }
18403 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18404 return resultobj;
18405 fail:
18406 return NULL;
18407 }
18408
18409
18410 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18411 PyObject *resultobj = 0;
18412 wxFontData *arg1 = (wxFontData *) 0 ;
18413 bool result;
18414 void *argp1 = 0 ;
18415 int res1 = 0 ;
18416 PyObject *swig_obj[1] ;
18417
18418 if (!args) SWIG_fail;
18419 swig_obj[0] = args;
18420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18421 if (!SWIG_IsOK(res1)) {
18422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18423 }
18424 arg1 = reinterpret_cast< wxFontData * >(argp1);
18425 {
18426 PyThreadState* __tstate = wxPyBeginAllowThreads();
18427 result = (bool)(arg1)->GetShowHelp();
18428 wxPyEndAllowThreads(__tstate);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 }
18431 {
18432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18433 }
18434 return resultobj;
18435 fail:
18436 return NULL;
18437 }
18438
18439
18440 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18441 PyObject *resultobj = 0;
18442 wxFontData *arg1 = (wxFontData *) 0 ;
18443 bool arg2 ;
18444 void *argp1 = 0 ;
18445 int res1 = 0 ;
18446 bool val2 ;
18447 int ecode2 = 0 ;
18448 PyObject * obj0 = 0 ;
18449 PyObject * obj1 = 0 ;
18450 char * kwnames[] = {
18451 (char *) "self",(char *) "allowSymbols", NULL
18452 };
18453
18454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18456 if (!SWIG_IsOK(res1)) {
18457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18458 }
18459 arg1 = reinterpret_cast< wxFontData * >(argp1);
18460 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18461 if (!SWIG_IsOK(ecode2)) {
18462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18463 }
18464 arg2 = static_cast< bool >(val2);
18465 {
18466 PyThreadState* __tstate = wxPyBeginAllowThreads();
18467 (arg1)->SetAllowSymbols(arg2);
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 resultobj = SWIG_Py_Void();
18472 return resultobj;
18473 fail:
18474 return NULL;
18475 }
18476
18477
18478 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18479 PyObject *resultobj = 0;
18480 wxFontData *arg1 = (wxFontData *) 0 ;
18481 wxFont *arg2 = 0 ;
18482 void *argp1 = 0 ;
18483 int res1 = 0 ;
18484 void *argp2 = 0 ;
18485 int res2 = 0 ;
18486 PyObject * obj0 = 0 ;
18487 PyObject * obj1 = 0 ;
18488 char * kwnames[] = {
18489 (char *) "self",(char *) "font", NULL
18490 };
18491
18492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18494 if (!SWIG_IsOK(res1)) {
18495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18496 }
18497 arg1 = reinterpret_cast< wxFontData * >(argp1);
18498 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18499 if (!SWIG_IsOK(res2)) {
18500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18501 }
18502 if (!argp2) {
18503 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18504 }
18505 arg2 = reinterpret_cast< wxFont * >(argp2);
18506 {
18507 PyThreadState* __tstate = wxPyBeginAllowThreads();
18508 (arg1)->SetChosenFont((wxFont const &)*arg2);
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 resultobj = SWIG_Py_Void();
18513 return resultobj;
18514 fail:
18515 return NULL;
18516 }
18517
18518
18519 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj = 0;
18521 wxFontData *arg1 = (wxFontData *) 0 ;
18522 wxColour *arg2 = 0 ;
18523 void *argp1 = 0 ;
18524 int res1 = 0 ;
18525 wxColour temp2 ;
18526 PyObject * obj0 = 0 ;
18527 PyObject * obj1 = 0 ;
18528 char * kwnames[] = {
18529 (char *) "self",(char *) "colour", NULL
18530 };
18531
18532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18534 if (!SWIG_IsOK(res1)) {
18535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18536 }
18537 arg1 = reinterpret_cast< wxFontData * >(argp1);
18538 {
18539 arg2 = &temp2;
18540 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18541 }
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 (arg1)->SetColour((wxColour const &)*arg2);
18545 wxPyEndAllowThreads(__tstate);
18546 if (PyErr_Occurred()) SWIG_fail;
18547 }
18548 resultobj = SWIG_Py_Void();
18549 return resultobj;
18550 fail:
18551 return NULL;
18552 }
18553
18554
18555 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18556 PyObject *resultobj = 0;
18557 wxFontData *arg1 = (wxFontData *) 0 ;
18558 wxFont *arg2 = 0 ;
18559 void *argp1 = 0 ;
18560 int res1 = 0 ;
18561 void *argp2 = 0 ;
18562 int res2 = 0 ;
18563 PyObject * obj0 = 0 ;
18564 PyObject * obj1 = 0 ;
18565 char * kwnames[] = {
18566 (char *) "self",(char *) "font", NULL
18567 };
18568
18569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18571 if (!SWIG_IsOK(res1)) {
18572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18573 }
18574 arg1 = reinterpret_cast< wxFontData * >(argp1);
18575 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18576 if (!SWIG_IsOK(res2)) {
18577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18578 }
18579 if (!argp2) {
18580 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18581 }
18582 arg2 = reinterpret_cast< wxFont * >(argp2);
18583 {
18584 PyThreadState* __tstate = wxPyBeginAllowThreads();
18585 (arg1)->SetInitialFont((wxFont const &)*arg2);
18586 wxPyEndAllowThreads(__tstate);
18587 if (PyErr_Occurred()) SWIG_fail;
18588 }
18589 resultobj = SWIG_Py_Void();
18590 return resultobj;
18591 fail:
18592 return NULL;
18593 }
18594
18595
18596 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18597 PyObject *resultobj = 0;
18598 wxFontData *arg1 = (wxFontData *) 0 ;
18599 int arg2 ;
18600 int arg3 ;
18601 void *argp1 = 0 ;
18602 int res1 = 0 ;
18603 int val2 ;
18604 int ecode2 = 0 ;
18605 int val3 ;
18606 int ecode3 = 0 ;
18607 PyObject * obj0 = 0 ;
18608 PyObject * obj1 = 0 ;
18609 PyObject * obj2 = 0 ;
18610 char * kwnames[] = {
18611 (char *) "self",(char *) "min",(char *) "max", NULL
18612 };
18613
18614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18616 if (!SWIG_IsOK(res1)) {
18617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18618 }
18619 arg1 = reinterpret_cast< wxFontData * >(argp1);
18620 ecode2 = SWIG_AsVal_int(obj1, &val2);
18621 if (!SWIG_IsOK(ecode2)) {
18622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18623 }
18624 arg2 = static_cast< int >(val2);
18625 ecode3 = SWIG_AsVal_int(obj2, &val3);
18626 if (!SWIG_IsOK(ecode3)) {
18627 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18628 }
18629 arg3 = static_cast< int >(val3);
18630 {
18631 PyThreadState* __tstate = wxPyBeginAllowThreads();
18632 (arg1)->SetRange(arg2,arg3);
18633 wxPyEndAllowThreads(__tstate);
18634 if (PyErr_Occurred()) SWIG_fail;
18635 }
18636 resultobj = SWIG_Py_Void();
18637 return resultobj;
18638 fail:
18639 return NULL;
18640 }
18641
18642
18643 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18644 PyObject *resultobj = 0;
18645 wxFontData *arg1 = (wxFontData *) 0 ;
18646 bool arg2 ;
18647 void *argp1 = 0 ;
18648 int res1 = 0 ;
18649 bool val2 ;
18650 int ecode2 = 0 ;
18651 PyObject * obj0 = 0 ;
18652 PyObject * obj1 = 0 ;
18653 char * kwnames[] = {
18654 (char *) "self",(char *) "showHelp", NULL
18655 };
18656
18657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18659 if (!SWIG_IsOK(res1)) {
18660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18661 }
18662 arg1 = reinterpret_cast< wxFontData * >(argp1);
18663 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18664 if (!SWIG_IsOK(ecode2)) {
18665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18666 }
18667 arg2 = static_cast< bool >(val2);
18668 {
18669 PyThreadState* __tstate = wxPyBeginAllowThreads();
18670 (arg1)->SetShowHelp(arg2);
18671 wxPyEndAllowThreads(__tstate);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 }
18674 resultobj = SWIG_Py_Void();
18675 return resultobj;
18676 fail:
18677 return NULL;
18678 }
18679
18680
18681 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18682 PyObject *obj;
18683 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18684 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18685 return SWIG_Py_Void();
18686 }
18687
18688 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18689 return SWIG_Python_InitShadowInstance(args);
18690 }
18691
18692 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18693 PyObject *resultobj = 0;
18694 wxWindow *arg1 = (wxWindow *) 0 ;
18695 wxFontData *arg2 = 0 ;
18696 wxFontDialog *result = 0 ;
18697 void *argp1 = 0 ;
18698 int res1 = 0 ;
18699 void *argp2 = 0 ;
18700 int res2 = 0 ;
18701 PyObject * obj0 = 0 ;
18702 PyObject * obj1 = 0 ;
18703 char * kwnames[] = {
18704 (char *) "parent",(char *) "data", NULL
18705 };
18706
18707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18709 if (!SWIG_IsOK(res1)) {
18710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18711 }
18712 arg1 = reinterpret_cast< wxWindow * >(argp1);
18713 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18714 if (!SWIG_IsOK(res2)) {
18715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18716 }
18717 if (!argp2) {
18718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18719 }
18720 arg2 = reinterpret_cast< wxFontData * >(argp2);
18721 {
18722 if (!wxPyCheckForApp()) SWIG_fail;
18723 PyThreadState* __tstate = wxPyBeginAllowThreads();
18724 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18725 wxPyEndAllowThreads(__tstate);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18729 return resultobj;
18730 fail:
18731 return NULL;
18732 }
18733
18734
18735 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18736 PyObject *resultobj = 0;
18737 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18738 wxFontData *result = 0 ;
18739 void *argp1 = 0 ;
18740 int res1 = 0 ;
18741 PyObject *swig_obj[1] ;
18742
18743 if (!args) SWIG_fail;
18744 swig_obj[0] = args;
18745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18746 if (!SWIG_IsOK(res1)) {
18747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18748 }
18749 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 {
18753 wxFontData &_result_ref = (arg1)->GetFontData();
18754 result = (wxFontData *) &_result_ref;
18755 }
18756 wxPyEndAllowThreads(__tstate);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18760 return resultobj;
18761 fail:
18762 return NULL;
18763 }
18764
18765
18766 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18767 PyObject *obj;
18768 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18769 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18770 return SWIG_Py_Void();
18771 }
18772
18773 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18774 return SWIG_Python_InitShadowInstance(args);
18775 }
18776
18777 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18778 PyObject *resultobj = 0;
18779 wxWindow *arg1 = (wxWindow *) NULL ;
18780 wxFont const &arg2_defvalue = wxNullFont ;
18781 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18782 wxString const &arg3_defvalue = wxPyEmptyString ;
18783 wxString *arg3 = (wxString *) &arg3_defvalue ;
18784 wxFont result;
18785 void *argp1 = 0 ;
18786 int res1 = 0 ;
18787 void *argp2 = 0 ;
18788 int res2 = 0 ;
18789 bool temp3 = false ;
18790 PyObject * obj0 = 0 ;
18791 PyObject * obj1 = 0 ;
18792 PyObject * obj2 = 0 ;
18793 char * kwnames[] = {
18794 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18795 };
18796
18797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18798 if (obj0) {
18799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18800 if (!SWIG_IsOK(res1)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18802 }
18803 arg1 = reinterpret_cast< wxWindow * >(argp1);
18804 }
18805 if (obj1) {
18806 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18807 if (!SWIG_IsOK(res2)) {
18808 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18809 }
18810 if (!argp2) {
18811 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18812 }
18813 arg2 = reinterpret_cast< wxFont * >(argp2);
18814 }
18815 if (obj2) {
18816 {
18817 arg3 = wxString_in_helper(obj2);
18818 if (arg3 == NULL) SWIG_fail;
18819 temp3 = true;
18820 }
18821 }
18822 {
18823 PyThreadState* __tstate = wxPyBeginAllowThreads();
18824 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
18825 wxPyEndAllowThreads(__tstate);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 }
18828 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18829 {
18830 if (temp3)
18831 delete arg3;
18832 }
18833 return resultobj;
18834 fail:
18835 {
18836 if (temp3)
18837 delete arg3;
18838 }
18839 return NULL;
18840 }
18841
18842
18843 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18844 PyObject *resultobj = 0;
18845 wxWindow *arg1 = (wxWindow *) 0 ;
18846 wxString *arg2 = 0 ;
18847 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
18848 wxString *arg3 = (wxString *) &arg3_defvalue ;
18849 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
18850 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18851 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18852 wxMessageDialog *result = 0 ;
18853 void *argp1 = 0 ;
18854 int res1 = 0 ;
18855 bool temp2 = false ;
18856 bool temp3 = false ;
18857 long val4 ;
18858 int ecode4 = 0 ;
18859 wxPoint temp5 ;
18860 PyObject * obj0 = 0 ;
18861 PyObject * obj1 = 0 ;
18862 PyObject * obj2 = 0 ;
18863 PyObject * obj3 = 0 ;
18864 PyObject * obj4 = 0 ;
18865 char * kwnames[] = {
18866 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18867 };
18868
18869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18871 if (!SWIG_IsOK(res1)) {
18872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18873 }
18874 arg1 = reinterpret_cast< wxWindow * >(argp1);
18875 {
18876 arg2 = wxString_in_helper(obj1);
18877 if (arg2 == NULL) SWIG_fail;
18878 temp2 = true;
18879 }
18880 if (obj2) {
18881 {
18882 arg3 = wxString_in_helper(obj2);
18883 if (arg3 == NULL) SWIG_fail;
18884 temp3 = true;
18885 }
18886 }
18887 if (obj3) {
18888 ecode4 = SWIG_AsVal_long(obj3, &val4);
18889 if (!SWIG_IsOK(ecode4)) {
18890 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18891 }
18892 arg4 = static_cast< long >(val4);
18893 }
18894 if (obj4) {
18895 {
18896 arg5 = &temp5;
18897 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
18898 }
18899 }
18900 {
18901 if (!wxPyCheckForApp()) SWIG_fail;
18902 PyThreadState* __tstate = wxPyBeginAllowThreads();
18903 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
18904 wxPyEndAllowThreads(__tstate);
18905 if (PyErr_Occurred()) SWIG_fail;
18906 }
18907 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
18908 {
18909 if (temp2)
18910 delete arg2;
18911 }
18912 {
18913 if (temp3)
18914 delete arg3;
18915 }
18916 return resultobj;
18917 fail:
18918 {
18919 if (temp2)
18920 delete arg2;
18921 }
18922 {
18923 if (temp3)
18924 delete arg3;
18925 }
18926 return NULL;
18927 }
18928
18929
18930 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18931 PyObject *obj;
18932 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18933 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
18934 return SWIG_Py_Void();
18935 }
18936
18937 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18938 return SWIG_Python_InitShadowInstance(args);
18939 }
18940
18941 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18942 PyObject *resultobj = 0;
18943 wxString *arg1 = 0 ;
18944 wxString *arg2 = 0 ;
18945 int arg3 = (int) 100 ;
18946 wxWindow *arg4 = (wxWindow *) NULL ;
18947 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
18948 wxProgressDialog *result = 0 ;
18949 bool temp1 = false ;
18950 bool temp2 = false ;
18951 int val3 ;
18952 int ecode3 = 0 ;
18953 void *argp4 = 0 ;
18954 int res4 = 0 ;
18955 int val5 ;
18956 int ecode5 = 0 ;
18957 PyObject * obj0 = 0 ;
18958 PyObject * obj1 = 0 ;
18959 PyObject * obj2 = 0 ;
18960 PyObject * obj3 = 0 ;
18961 PyObject * obj4 = 0 ;
18962 char * kwnames[] = {
18963 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
18964 };
18965
18966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18967 {
18968 arg1 = wxString_in_helper(obj0);
18969 if (arg1 == NULL) SWIG_fail;
18970 temp1 = true;
18971 }
18972 {
18973 arg2 = wxString_in_helper(obj1);
18974 if (arg2 == NULL) SWIG_fail;
18975 temp2 = true;
18976 }
18977 if (obj2) {
18978 ecode3 = SWIG_AsVal_int(obj2, &val3);
18979 if (!SWIG_IsOK(ecode3)) {
18980 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
18981 }
18982 arg3 = static_cast< int >(val3);
18983 }
18984 if (obj3) {
18985 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
18986 if (!SWIG_IsOK(res4)) {
18987 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
18988 }
18989 arg4 = reinterpret_cast< wxWindow * >(argp4);
18990 }
18991 if (obj4) {
18992 ecode5 = SWIG_AsVal_int(obj4, &val5);
18993 if (!SWIG_IsOK(ecode5)) {
18994 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
18995 }
18996 arg5 = static_cast< int >(val5);
18997 }
18998 {
18999 if (!wxPyCheckForApp()) SWIG_fail;
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19002 wxPyEndAllowThreads(__tstate);
19003 if (PyErr_Occurred()) SWIG_fail;
19004 }
19005 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19006 {
19007 if (temp1)
19008 delete arg1;
19009 }
19010 {
19011 if (temp2)
19012 delete arg2;
19013 }
19014 return resultobj;
19015 fail:
19016 {
19017 if (temp1)
19018 delete arg1;
19019 }
19020 {
19021 if (temp2)
19022 delete arg2;
19023 }
19024 return NULL;
19025 }
19026
19027
19028 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19029 PyObject *resultobj = 0;
19030 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19031 int arg2 ;
19032 wxString const &arg3_defvalue = wxPyEmptyString ;
19033 wxString *arg3 = (wxString *) &arg3_defvalue ;
19034 bool *arg4 = (bool *) 0 ;
19035 bool result;
19036 void *argp1 = 0 ;
19037 int res1 = 0 ;
19038 int val2 ;
19039 int ecode2 = 0 ;
19040 bool temp3 = false ;
19041 bool temp4 ;
19042 int res4 = SWIG_TMPOBJ ;
19043 PyObject * obj0 = 0 ;
19044 PyObject * obj1 = 0 ;
19045 PyObject * obj2 = 0 ;
19046 char * kwnames[] = {
19047 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19048 };
19049
19050 arg4 = &temp4;
19051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19053 if (!SWIG_IsOK(res1)) {
19054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19055 }
19056 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19057 ecode2 = SWIG_AsVal_int(obj1, &val2);
19058 if (!SWIG_IsOK(ecode2)) {
19059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19060 }
19061 arg2 = static_cast< int >(val2);
19062 if (obj2) {
19063 {
19064 arg3 = wxString_in_helper(obj2);
19065 if (arg3 == NULL) SWIG_fail;
19066 temp3 = true;
19067 }
19068 }
19069 {
19070 PyThreadState* __tstate = wxPyBeginAllowThreads();
19071 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 {
19076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19077 }
19078 if (SWIG_IsTmpObj(res4)) {
19079 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19080 } else {
19081 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19082 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19083 }
19084 {
19085 if (temp3)
19086 delete arg3;
19087 }
19088 return resultobj;
19089 fail:
19090 {
19091 if (temp3)
19092 delete arg3;
19093 }
19094 return NULL;
19095 }
19096
19097
19098 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19099 PyObject *resultobj = 0;
19100 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19101 void *argp1 = 0 ;
19102 int res1 = 0 ;
19103 PyObject *swig_obj[1] ;
19104
19105 if (!args) SWIG_fail;
19106 swig_obj[0] = args;
19107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19108 if (!SWIG_IsOK(res1)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19110 }
19111 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19112 {
19113 PyThreadState* __tstate = wxPyBeginAllowThreads();
19114 (arg1)->Resume();
19115 wxPyEndAllowThreads(__tstate);
19116 if (PyErr_Occurred()) SWIG_fail;
19117 }
19118 resultobj = SWIG_Py_Void();
19119 return resultobj;
19120 fail:
19121 return NULL;
19122 }
19123
19124
19125 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19126 PyObject *obj;
19127 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19128 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19129 return SWIG_Py_Void();
19130 }
19131
19132 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19133 return SWIG_Python_InitShadowInstance(args);
19134 }
19135
19136 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19137 PyObject *resultobj = 0;
19138 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19139 int arg2 = (int) 0 ;
19140 wxFindDialogEvent *result = 0 ;
19141 int val1 ;
19142 int ecode1 = 0 ;
19143 int val2 ;
19144 int ecode2 = 0 ;
19145 PyObject * obj0 = 0 ;
19146 PyObject * obj1 = 0 ;
19147 char * kwnames[] = {
19148 (char *) "commandType",(char *) "id", NULL
19149 };
19150
19151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19152 if (obj0) {
19153 ecode1 = SWIG_AsVal_int(obj0, &val1);
19154 if (!SWIG_IsOK(ecode1)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19156 }
19157 arg1 = static_cast< wxEventType >(val1);
19158 }
19159 if (obj1) {
19160 ecode2 = SWIG_AsVal_int(obj1, &val2);
19161 if (!SWIG_IsOK(ecode2)) {
19162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19163 }
19164 arg2 = static_cast< int >(val2);
19165 }
19166 {
19167 PyThreadState* __tstate = wxPyBeginAllowThreads();
19168 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19169 wxPyEndAllowThreads(__tstate);
19170 if (PyErr_Occurred()) SWIG_fail;
19171 }
19172 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19173 return resultobj;
19174 fail:
19175 return NULL;
19176 }
19177
19178
19179 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19180 PyObject *resultobj = 0;
19181 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19182 int result;
19183 void *argp1 = 0 ;
19184 int res1 = 0 ;
19185 PyObject *swig_obj[1] ;
19186
19187 if (!args) SWIG_fail;
19188 swig_obj[0] = args;
19189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19190 if (!SWIG_IsOK(res1)) {
19191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19192 }
19193 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 result = (int)(arg1)->GetFlags();
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 resultobj = SWIG_From_int(static_cast< int >(result));
19201 return resultobj;
19202 fail:
19203 return NULL;
19204 }
19205
19206
19207 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19208 PyObject *resultobj = 0;
19209 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19210 wxString *result = 0 ;
19211 void *argp1 = 0 ;
19212 int res1 = 0 ;
19213 PyObject *swig_obj[1] ;
19214
19215 if (!args) SWIG_fail;
19216 swig_obj[0] = args;
19217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19218 if (!SWIG_IsOK(res1)) {
19219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19220 }
19221 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19222 {
19223 PyThreadState* __tstate = wxPyBeginAllowThreads();
19224 {
19225 wxString const &_result_ref = (arg1)->GetFindString();
19226 result = (wxString *) &_result_ref;
19227 }
19228 wxPyEndAllowThreads(__tstate);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 }
19231 {
19232 #if wxUSE_UNICODE
19233 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19234 #else
19235 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19236 #endif
19237 }
19238 return resultobj;
19239 fail:
19240 return NULL;
19241 }
19242
19243
19244 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19245 PyObject *resultobj = 0;
19246 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19247 wxString *result = 0 ;
19248 void *argp1 = 0 ;
19249 int res1 = 0 ;
19250 PyObject *swig_obj[1] ;
19251
19252 if (!args) SWIG_fail;
19253 swig_obj[0] = args;
19254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19255 if (!SWIG_IsOK(res1)) {
19256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19257 }
19258 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19259 {
19260 PyThreadState* __tstate = wxPyBeginAllowThreads();
19261 {
19262 wxString const &_result_ref = (arg1)->GetReplaceString();
19263 result = (wxString *) &_result_ref;
19264 }
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
19268 {
19269 #if wxUSE_UNICODE
19270 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19271 #else
19272 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19273 #endif
19274 }
19275 return resultobj;
19276 fail:
19277 return NULL;
19278 }
19279
19280
19281 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19282 PyObject *resultobj = 0;
19283 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19284 wxFindReplaceDialog *result = 0 ;
19285 void *argp1 = 0 ;
19286 int res1 = 0 ;
19287 PyObject *swig_obj[1] ;
19288
19289 if (!args) SWIG_fail;
19290 swig_obj[0] = args;
19291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19292 if (!SWIG_IsOK(res1)) {
19293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19294 }
19295 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19296 {
19297 PyThreadState* __tstate = wxPyBeginAllowThreads();
19298 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19299 wxPyEndAllowThreads(__tstate);
19300 if (PyErr_Occurred()) SWIG_fail;
19301 }
19302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19303 return resultobj;
19304 fail:
19305 return NULL;
19306 }
19307
19308
19309 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19310 PyObject *resultobj = 0;
19311 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19312 int arg2 ;
19313 void *argp1 = 0 ;
19314 int res1 = 0 ;
19315 int val2 ;
19316 int ecode2 = 0 ;
19317 PyObject * obj0 = 0 ;
19318 PyObject * obj1 = 0 ;
19319 char * kwnames[] = {
19320 (char *) "self",(char *) "flags", NULL
19321 };
19322
19323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19325 if (!SWIG_IsOK(res1)) {
19326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19327 }
19328 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19329 ecode2 = SWIG_AsVal_int(obj1, &val2);
19330 if (!SWIG_IsOK(ecode2)) {
19331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19332 }
19333 arg2 = static_cast< int >(val2);
19334 {
19335 PyThreadState* __tstate = wxPyBeginAllowThreads();
19336 (arg1)->SetFlags(arg2);
19337 wxPyEndAllowThreads(__tstate);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 resultobj = SWIG_Py_Void();
19341 return resultobj;
19342 fail:
19343 return NULL;
19344 }
19345
19346
19347 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj = 0;
19349 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19350 wxString *arg2 = 0 ;
19351 void *argp1 = 0 ;
19352 int res1 = 0 ;
19353 bool temp2 = false ;
19354 PyObject * obj0 = 0 ;
19355 PyObject * obj1 = 0 ;
19356 char * kwnames[] = {
19357 (char *) "self",(char *) "str", NULL
19358 };
19359
19360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19362 if (!SWIG_IsOK(res1)) {
19363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19364 }
19365 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19366 {
19367 arg2 = wxString_in_helper(obj1);
19368 if (arg2 == NULL) SWIG_fail;
19369 temp2 = true;
19370 }
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 (arg1)->SetFindString((wxString const &)*arg2);
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 resultobj = SWIG_Py_Void();
19378 {
19379 if (temp2)
19380 delete arg2;
19381 }
19382 return resultobj;
19383 fail:
19384 {
19385 if (temp2)
19386 delete arg2;
19387 }
19388 return NULL;
19389 }
19390
19391
19392 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19393 PyObject *resultobj = 0;
19394 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19395 wxString *arg2 = 0 ;
19396 void *argp1 = 0 ;
19397 int res1 = 0 ;
19398 bool temp2 = false ;
19399 PyObject * obj0 = 0 ;
19400 PyObject * obj1 = 0 ;
19401 char * kwnames[] = {
19402 (char *) "self",(char *) "str", NULL
19403 };
19404
19405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19407 if (!SWIG_IsOK(res1)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19409 }
19410 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19411 {
19412 arg2 = wxString_in_helper(obj1);
19413 if (arg2 == NULL) SWIG_fail;
19414 temp2 = true;
19415 }
19416 {
19417 PyThreadState* __tstate = wxPyBeginAllowThreads();
19418 (arg1)->SetReplaceString((wxString const &)*arg2);
19419 wxPyEndAllowThreads(__tstate);
19420 if (PyErr_Occurred()) SWIG_fail;
19421 }
19422 resultobj = SWIG_Py_Void();
19423 {
19424 if (temp2)
19425 delete arg2;
19426 }
19427 return resultobj;
19428 fail:
19429 {
19430 if (temp2)
19431 delete arg2;
19432 }
19433 return NULL;
19434 }
19435
19436
19437 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19438 PyObject *obj;
19439 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19440 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19441 return SWIG_Py_Void();
19442 }
19443
19444 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19445 return SWIG_Python_InitShadowInstance(args);
19446 }
19447
19448 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19449 PyObject *resultobj = 0;
19450 int arg1 = (int) 0 ;
19451 wxFindReplaceData *result = 0 ;
19452 int val1 ;
19453 int ecode1 = 0 ;
19454 PyObject * obj0 = 0 ;
19455 char * kwnames[] = {
19456 (char *) "flags", NULL
19457 };
19458
19459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19460 if (obj0) {
19461 ecode1 = SWIG_AsVal_int(obj0, &val1);
19462 if (!SWIG_IsOK(ecode1)) {
19463 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19464 }
19465 arg1 = static_cast< int >(val1);
19466 }
19467 {
19468 PyThreadState* __tstate = wxPyBeginAllowThreads();
19469 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
19473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19474 return resultobj;
19475 fail:
19476 return NULL;
19477 }
19478
19479
19480 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19481 PyObject *resultobj = 0;
19482 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19483 void *argp1 = 0 ;
19484 int res1 = 0 ;
19485 PyObject *swig_obj[1] ;
19486
19487 if (!args) SWIG_fail;
19488 swig_obj[0] = args;
19489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19490 if (!SWIG_IsOK(res1)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19492 }
19493 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19494 {
19495 PyThreadState* __tstate = wxPyBeginAllowThreads();
19496 delete arg1;
19497
19498 wxPyEndAllowThreads(__tstate);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 }
19501 resultobj = SWIG_Py_Void();
19502 return resultobj;
19503 fail:
19504 return NULL;
19505 }
19506
19507
19508 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19509 PyObject *resultobj = 0;
19510 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19511 wxString *result = 0 ;
19512 void *argp1 = 0 ;
19513 int res1 = 0 ;
19514 PyObject *swig_obj[1] ;
19515
19516 if (!args) SWIG_fail;
19517 swig_obj[0] = args;
19518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19519 if (!SWIG_IsOK(res1)) {
19520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19521 }
19522 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19523 {
19524 PyThreadState* __tstate = wxPyBeginAllowThreads();
19525 {
19526 wxString const &_result_ref = (arg1)->GetFindString();
19527 result = (wxString *) &_result_ref;
19528 }
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 {
19533 #if wxUSE_UNICODE
19534 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19535 #else
19536 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19537 #endif
19538 }
19539 return resultobj;
19540 fail:
19541 return NULL;
19542 }
19543
19544
19545 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19546 PyObject *resultobj = 0;
19547 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19548 wxString *result = 0 ;
19549 void *argp1 = 0 ;
19550 int res1 = 0 ;
19551 PyObject *swig_obj[1] ;
19552
19553 if (!args) SWIG_fail;
19554 swig_obj[0] = args;
19555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19556 if (!SWIG_IsOK(res1)) {
19557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19558 }
19559 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 {
19563 wxString const &_result_ref = (arg1)->GetReplaceString();
19564 result = (wxString *) &_result_ref;
19565 }
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 {
19570 #if wxUSE_UNICODE
19571 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19572 #else
19573 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19574 #endif
19575 }
19576 return resultobj;
19577 fail:
19578 return NULL;
19579 }
19580
19581
19582 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19583 PyObject *resultobj = 0;
19584 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19585 int result;
19586 void *argp1 = 0 ;
19587 int res1 = 0 ;
19588 PyObject *swig_obj[1] ;
19589
19590 if (!args) SWIG_fail;
19591 swig_obj[0] = args;
19592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19593 if (!SWIG_IsOK(res1)) {
19594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19595 }
19596 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19597 {
19598 PyThreadState* __tstate = wxPyBeginAllowThreads();
19599 result = (int)(arg1)->GetFlags();
19600 wxPyEndAllowThreads(__tstate);
19601 if (PyErr_Occurred()) SWIG_fail;
19602 }
19603 resultobj = SWIG_From_int(static_cast< int >(result));
19604 return resultobj;
19605 fail:
19606 return NULL;
19607 }
19608
19609
19610 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19611 PyObject *resultobj = 0;
19612 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19613 int arg2 ;
19614 void *argp1 = 0 ;
19615 int res1 = 0 ;
19616 int val2 ;
19617 int ecode2 = 0 ;
19618 PyObject * obj0 = 0 ;
19619 PyObject * obj1 = 0 ;
19620 char * kwnames[] = {
19621 (char *) "self",(char *) "flags", NULL
19622 };
19623
19624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19626 if (!SWIG_IsOK(res1)) {
19627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19628 }
19629 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19630 ecode2 = SWIG_AsVal_int(obj1, &val2);
19631 if (!SWIG_IsOK(ecode2)) {
19632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19633 }
19634 arg2 = static_cast< int >(val2);
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 (arg1)->SetFlags(arg2);
19638 wxPyEndAllowThreads(__tstate);
19639 if (PyErr_Occurred()) SWIG_fail;
19640 }
19641 resultobj = SWIG_Py_Void();
19642 return resultobj;
19643 fail:
19644 return NULL;
19645 }
19646
19647
19648 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19649 PyObject *resultobj = 0;
19650 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19651 wxString *arg2 = 0 ;
19652 void *argp1 = 0 ;
19653 int res1 = 0 ;
19654 bool temp2 = false ;
19655 PyObject * obj0 = 0 ;
19656 PyObject * obj1 = 0 ;
19657 char * kwnames[] = {
19658 (char *) "self",(char *) "str", NULL
19659 };
19660
19661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19663 if (!SWIG_IsOK(res1)) {
19664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19665 }
19666 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19667 {
19668 arg2 = wxString_in_helper(obj1);
19669 if (arg2 == NULL) SWIG_fail;
19670 temp2 = true;
19671 }
19672 {
19673 PyThreadState* __tstate = wxPyBeginAllowThreads();
19674 (arg1)->SetFindString((wxString const &)*arg2);
19675 wxPyEndAllowThreads(__tstate);
19676 if (PyErr_Occurred()) SWIG_fail;
19677 }
19678 resultobj = SWIG_Py_Void();
19679 {
19680 if (temp2)
19681 delete arg2;
19682 }
19683 return resultobj;
19684 fail:
19685 {
19686 if (temp2)
19687 delete arg2;
19688 }
19689 return NULL;
19690 }
19691
19692
19693 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19694 PyObject *resultobj = 0;
19695 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19696 wxString *arg2 = 0 ;
19697 void *argp1 = 0 ;
19698 int res1 = 0 ;
19699 bool temp2 = false ;
19700 PyObject * obj0 = 0 ;
19701 PyObject * obj1 = 0 ;
19702 char * kwnames[] = {
19703 (char *) "self",(char *) "str", NULL
19704 };
19705
19706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19708 if (!SWIG_IsOK(res1)) {
19709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19710 }
19711 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19712 {
19713 arg2 = wxString_in_helper(obj1);
19714 if (arg2 == NULL) SWIG_fail;
19715 temp2 = true;
19716 }
19717 {
19718 PyThreadState* __tstate = wxPyBeginAllowThreads();
19719 (arg1)->SetReplaceString((wxString const &)*arg2);
19720 wxPyEndAllowThreads(__tstate);
19721 if (PyErr_Occurred()) SWIG_fail;
19722 }
19723 resultobj = SWIG_Py_Void();
19724 {
19725 if (temp2)
19726 delete arg2;
19727 }
19728 return resultobj;
19729 fail:
19730 {
19731 if (temp2)
19732 delete arg2;
19733 }
19734 return NULL;
19735 }
19736
19737
19738 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19739 PyObject *obj;
19740 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19741 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19742 return SWIG_Py_Void();
19743 }
19744
19745 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19746 return SWIG_Python_InitShadowInstance(args);
19747 }
19748
19749 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19750 PyObject *resultobj = 0;
19751 wxWindow *arg1 = (wxWindow *) 0 ;
19752 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19753 wxString *arg3 = 0 ;
19754 int arg4 = (int) 0 ;
19755 wxFindReplaceDialog *result = 0 ;
19756 void *argp1 = 0 ;
19757 int res1 = 0 ;
19758 void *argp2 = 0 ;
19759 int res2 = 0 ;
19760 bool temp3 = false ;
19761 int val4 ;
19762 int ecode4 = 0 ;
19763 PyObject * obj0 = 0 ;
19764 PyObject * obj1 = 0 ;
19765 PyObject * obj2 = 0 ;
19766 PyObject * obj3 = 0 ;
19767 char * kwnames[] = {
19768 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19769 };
19770
19771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19773 if (!SWIG_IsOK(res1)) {
19774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19775 }
19776 arg1 = reinterpret_cast< wxWindow * >(argp1);
19777 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19778 if (!SWIG_IsOK(res2)) {
19779 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19780 }
19781 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19782 {
19783 arg3 = wxString_in_helper(obj2);
19784 if (arg3 == NULL) SWIG_fail;
19785 temp3 = true;
19786 }
19787 if (obj3) {
19788 ecode4 = SWIG_AsVal_int(obj3, &val4);
19789 if (!SWIG_IsOK(ecode4)) {
19790 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19791 }
19792 arg4 = static_cast< int >(val4);
19793 }
19794 {
19795 if (!wxPyCheckForApp()) SWIG_fail;
19796 PyThreadState* __tstate = wxPyBeginAllowThreads();
19797 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19798 wxPyEndAllowThreads(__tstate);
19799 if (PyErr_Occurred()) SWIG_fail;
19800 }
19801 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19802 {
19803 if (temp3)
19804 delete arg3;
19805 }
19806 return resultobj;
19807 fail:
19808 {
19809 if (temp3)
19810 delete arg3;
19811 }
19812 return NULL;
19813 }
19814
19815
19816 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19817 PyObject *resultobj = 0;
19818 wxFindReplaceDialog *result = 0 ;
19819
19820 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19821 {
19822 if (!wxPyCheckForApp()) SWIG_fail;
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
19824 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19825 wxPyEndAllowThreads(__tstate);
19826 if (PyErr_Occurred()) SWIG_fail;
19827 }
19828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19829 return resultobj;
19830 fail:
19831 return NULL;
19832 }
19833
19834
19835 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19836 PyObject *resultobj = 0;
19837 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19838 wxWindow *arg2 = (wxWindow *) 0 ;
19839 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
19840 wxString *arg4 = 0 ;
19841 int arg5 = (int) 0 ;
19842 bool result;
19843 void *argp1 = 0 ;
19844 int res1 = 0 ;
19845 void *argp2 = 0 ;
19846 int res2 = 0 ;
19847 void *argp3 = 0 ;
19848 int res3 = 0 ;
19849 bool temp4 = false ;
19850 int val5 ;
19851 int ecode5 = 0 ;
19852 PyObject * obj0 = 0 ;
19853 PyObject * obj1 = 0 ;
19854 PyObject * obj2 = 0 ;
19855 PyObject * obj3 = 0 ;
19856 PyObject * obj4 = 0 ;
19857 char * kwnames[] = {
19858 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19859 };
19860
19861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19863 if (!SWIG_IsOK(res1)) {
19864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19865 }
19866 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19867 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19868 if (!SWIG_IsOK(res2)) {
19869 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19870 }
19871 arg2 = reinterpret_cast< wxWindow * >(argp2);
19872 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19873 if (!SWIG_IsOK(res3)) {
19874 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19875 }
19876 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
19877 {
19878 arg4 = wxString_in_helper(obj3);
19879 if (arg4 == NULL) SWIG_fail;
19880 temp4 = true;
19881 }
19882 if (obj4) {
19883 ecode5 = SWIG_AsVal_int(obj4, &val5);
19884 if (!SWIG_IsOK(ecode5)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19886 }
19887 arg5 = static_cast< int >(val5);
19888 }
19889 {
19890 PyThreadState* __tstate = wxPyBeginAllowThreads();
19891 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 {
19896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19897 }
19898 {
19899 if (temp4)
19900 delete arg4;
19901 }
19902 return resultobj;
19903 fail:
19904 {
19905 if (temp4)
19906 delete arg4;
19907 }
19908 return NULL;
19909 }
19910
19911
19912 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19913 PyObject *resultobj = 0;
19914 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19915 wxFindReplaceData *result = 0 ;
19916 void *argp1 = 0 ;
19917 int res1 = 0 ;
19918 PyObject *swig_obj[1] ;
19919
19920 if (!args) SWIG_fail;
19921 swig_obj[0] = args;
19922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19923 if (!SWIG_IsOK(res1)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19925 }
19926 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19927 {
19928 PyThreadState* __tstate = wxPyBeginAllowThreads();
19929 result = (wxFindReplaceData *)(arg1)->GetData();
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19934 return resultobj;
19935 fail:
19936 return NULL;
19937 }
19938
19939
19940 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19941 PyObject *resultobj = 0;
19942 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19943 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19944 void *argp1 = 0 ;
19945 int res1 = 0 ;
19946 void *argp2 = 0 ;
19947 int res2 = 0 ;
19948 PyObject * obj0 = 0 ;
19949 PyObject * obj1 = 0 ;
19950 char * kwnames[] = {
19951 (char *) "self",(char *) "data", NULL
19952 };
19953
19954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
19955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19956 if (!SWIG_IsOK(res1)) {
19957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19958 }
19959 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19960 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19961 if (!SWIG_IsOK(res2)) {
19962 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19963 }
19964 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19965 {
19966 PyThreadState* __tstate = wxPyBeginAllowThreads();
19967 (arg1)->SetData(arg2);
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 resultobj = SWIG_Py_Void();
19972 return resultobj;
19973 fail:
19974 return NULL;
19975 }
19976
19977
19978 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19979 PyObject *obj;
19980 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19981 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
19982 return SWIG_Py_Void();
19983 }
19984
19985 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19986 return SWIG_Python_InitShadowInstance(args);
19987 }
19988
19989 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19990 PyObject *resultobj = 0;
19991 wxWindow *arg1 = (wxWindow *) 0 ;
19992 int arg2 = (int) (int)-1 ;
19993 wxString const &arg3_defvalue = wxPyEmptyString ;
19994 wxString *arg3 = (wxString *) &arg3_defvalue ;
19995 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19996 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19997 wxSize const &arg5_defvalue = wxDefaultSize ;
19998 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19999 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20000 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20001 wxString *arg7 = (wxString *) &arg7_defvalue ;
20002 wxMDIParentFrame *result = 0 ;
20003 void *argp1 = 0 ;
20004 int res1 = 0 ;
20005 int val2 ;
20006 int ecode2 = 0 ;
20007 bool temp3 = false ;
20008 wxPoint temp4 ;
20009 wxSize temp5 ;
20010 long val6 ;
20011 int ecode6 = 0 ;
20012 bool temp7 = false ;
20013 PyObject * obj0 = 0 ;
20014 PyObject * obj1 = 0 ;
20015 PyObject * obj2 = 0 ;
20016 PyObject * obj3 = 0 ;
20017 PyObject * obj4 = 0 ;
20018 PyObject * obj5 = 0 ;
20019 PyObject * obj6 = 0 ;
20020 char * kwnames[] = {
20021 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20022 };
20023
20024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20026 if (!SWIG_IsOK(res1)) {
20027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20028 }
20029 arg1 = reinterpret_cast< wxWindow * >(argp1);
20030 if (obj1) {
20031 ecode2 = SWIG_AsVal_int(obj1, &val2);
20032 if (!SWIG_IsOK(ecode2)) {
20033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20034 }
20035 arg2 = static_cast< int >(val2);
20036 }
20037 if (obj2) {
20038 {
20039 arg3 = wxString_in_helper(obj2);
20040 if (arg3 == NULL) SWIG_fail;
20041 temp3 = true;
20042 }
20043 }
20044 if (obj3) {
20045 {
20046 arg4 = &temp4;
20047 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20048 }
20049 }
20050 if (obj4) {
20051 {
20052 arg5 = &temp5;
20053 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20054 }
20055 }
20056 if (obj5) {
20057 ecode6 = SWIG_AsVal_long(obj5, &val6);
20058 if (!SWIG_IsOK(ecode6)) {
20059 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20060 }
20061 arg6 = static_cast< long >(val6);
20062 }
20063 if (obj6) {
20064 {
20065 arg7 = wxString_in_helper(obj6);
20066 if (arg7 == NULL) SWIG_fail;
20067 temp7 = true;
20068 }
20069 }
20070 {
20071 if (!wxPyCheckForApp()) SWIG_fail;
20072 PyThreadState* __tstate = wxPyBeginAllowThreads();
20073 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20074 wxPyEndAllowThreads(__tstate);
20075 if (PyErr_Occurred()) SWIG_fail;
20076 }
20077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20078 {
20079 if (temp3)
20080 delete arg3;
20081 }
20082 {
20083 if (temp7)
20084 delete arg7;
20085 }
20086 return resultobj;
20087 fail:
20088 {
20089 if (temp3)
20090 delete arg3;
20091 }
20092 {
20093 if (temp7)
20094 delete arg7;
20095 }
20096 return NULL;
20097 }
20098
20099
20100 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20101 PyObject *resultobj = 0;
20102 wxMDIParentFrame *result = 0 ;
20103
20104 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20105 {
20106 if (!wxPyCheckForApp()) SWIG_fail;
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20109 wxPyEndAllowThreads(__tstate);
20110 if (PyErr_Occurred()) SWIG_fail;
20111 }
20112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20113 return resultobj;
20114 fail:
20115 return NULL;
20116 }
20117
20118
20119 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20120 PyObject *resultobj = 0;
20121 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20122 wxWindow *arg2 = (wxWindow *) 0 ;
20123 int arg3 = (int) (int)-1 ;
20124 wxString const &arg4_defvalue = wxPyEmptyString ;
20125 wxString *arg4 = (wxString *) &arg4_defvalue ;
20126 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20127 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20128 wxSize const &arg6_defvalue = wxDefaultSize ;
20129 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20130 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20131 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20132 wxString *arg8 = (wxString *) &arg8_defvalue ;
20133 bool result;
20134 void *argp1 = 0 ;
20135 int res1 = 0 ;
20136 void *argp2 = 0 ;
20137 int res2 = 0 ;
20138 int val3 ;
20139 int ecode3 = 0 ;
20140 bool temp4 = false ;
20141 wxPoint temp5 ;
20142 wxSize temp6 ;
20143 long val7 ;
20144 int ecode7 = 0 ;
20145 bool temp8 = false ;
20146 PyObject * obj0 = 0 ;
20147 PyObject * obj1 = 0 ;
20148 PyObject * obj2 = 0 ;
20149 PyObject * obj3 = 0 ;
20150 PyObject * obj4 = 0 ;
20151 PyObject * obj5 = 0 ;
20152 PyObject * obj6 = 0 ;
20153 PyObject * obj7 = 0 ;
20154 char * kwnames[] = {
20155 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20156 };
20157
20158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20160 if (!SWIG_IsOK(res1)) {
20161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20162 }
20163 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20164 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20165 if (!SWIG_IsOK(res2)) {
20166 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20167 }
20168 arg2 = reinterpret_cast< wxWindow * >(argp2);
20169 if (obj2) {
20170 ecode3 = SWIG_AsVal_int(obj2, &val3);
20171 if (!SWIG_IsOK(ecode3)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20173 }
20174 arg3 = static_cast< int >(val3);
20175 }
20176 if (obj3) {
20177 {
20178 arg4 = wxString_in_helper(obj3);
20179 if (arg4 == NULL) SWIG_fail;
20180 temp4 = true;
20181 }
20182 }
20183 if (obj4) {
20184 {
20185 arg5 = &temp5;
20186 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20187 }
20188 }
20189 if (obj5) {
20190 {
20191 arg6 = &temp6;
20192 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20193 }
20194 }
20195 if (obj6) {
20196 ecode7 = SWIG_AsVal_long(obj6, &val7);
20197 if (!SWIG_IsOK(ecode7)) {
20198 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20199 }
20200 arg7 = static_cast< long >(val7);
20201 }
20202 if (obj7) {
20203 {
20204 arg8 = wxString_in_helper(obj7);
20205 if (arg8 == NULL) SWIG_fail;
20206 temp8 = true;
20207 }
20208 }
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20212 wxPyEndAllowThreads(__tstate);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 }
20215 {
20216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20217 }
20218 {
20219 if (temp4)
20220 delete arg4;
20221 }
20222 {
20223 if (temp8)
20224 delete arg8;
20225 }
20226 return resultobj;
20227 fail:
20228 {
20229 if (temp4)
20230 delete arg4;
20231 }
20232 {
20233 if (temp8)
20234 delete arg8;
20235 }
20236 return NULL;
20237 }
20238
20239
20240 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20241 PyObject *resultobj = 0;
20242 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20243 void *argp1 = 0 ;
20244 int res1 = 0 ;
20245 PyObject *swig_obj[1] ;
20246
20247 if (!args) SWIG_fail;
20248 swig_obj[0] = args;
20249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20250 if (!SWIG_IsOK(res1)) {
20251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20252 }
20253 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20254 {
20255 PyThreadState* __tstate = wxPyBeginAllowThreads();
20256 (arg1)->ActivateNext();
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
20260 resultobj = SWIG_Py_Void();
20261 return resultobj;
20262 fail:
20263 return NULL;
20264 }
20265
20266
20267 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20268 PyObject *resultobj = 0;
20269 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20270 void *argp1 = 0 ;
20271 int res1 = 0 ;
20272 PyObject *swig_obj[1] ;
20273
20274 if (!args) SWIG_fail;
20275 swig_obj[0] = args;
20276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20277 if (!SWIG_IsOK(res1)) {
20278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20279 }
20280 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 (arg1)->ActivatePrevious();
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 resultobj = SWIG_Py_Void();
20288 return resultobj;
20289 fail:
20290 return NULL;
20291 }
20292
20293
20294 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20295 PyObject *resultobj = 0;
20296 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20297 void *argp1 = 0 ;
20298 int res1 = 0 ;
20299 PyObject *swig_obj[1] ;
20300
20301 if (!args) SWIG_fail;
20302 swig_obj[0] = args;
20303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20304 if (!SWIG_IsOK(res1)) {
20305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20306 }
20307 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20308 {
20309 PyThreadState* __tstate = wxPyBeginAllowThreads();
20310 (arg1)->ArrangeIcons();
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 resultobj = SWIG_Py_Void();
20315 return resultobj;
20316 fail:
20317 return NULL;
20318 }
20319
20320
20321 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20322 PyObject *resultobj = 0;
20323 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20324 void *argp1 = 0 ;
20325 int res1 = 0 ;
20326 PyObject *swig_obj[1] ;
20327
20328 if (!args) SWIG_fail;
20329 swig_obj[0] = args;
20330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20331 if (!SWIG_IsOK(res1)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20333 }
20334 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20335 {
20336 PyThreadState* __tstate = wxPyBeginAllowThreads();
20337 (arg1)->Cascade();
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 resultobj = SWIG_Py_Void();
20342 return resultobj;
20343 fail:
20344 return NULL;
20345 }
20346
20347
20348 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20349 PyObject *resultobj = 0;
20350 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20351 wxMDIChildFrame *result = 0 ;
20352 void *argp1 = 0 ;
20353 int res1 = 0 ;
20354 PyObject *swig_obj[1] ;
20355
20356 if (!args) SWIG_fail;
20357 swig_obj[0] = args;
20358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20359 if (!SWIG_IsOK(res1)) {
20360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20361 }
20362 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20363 {
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
20365 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20366 wxPyEndAllowThreads(__tstate);
20367 if (PyErr_Occurred()) SWIG_fail;
20368 }
20369 {
20370 resultobj = wxPyMake_wxObject(result, (bool)0);
20371 }
20372 return resultobj;
20373 fail:
20374 return NULL;
20375 }
20376
20377
20378 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20379 PyObject *resultobj = 0;
20380 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20381 wxMDIClientWindow *result = 0 ;
20382 void *argp1 = 0 ;
20383 int res1 = 0 ;
20384 PyObject *swig_obj[1] ;
20385
20386 if (!args) SWIG_fail;
20387 swig_obj[0] = args;
20388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20389 if (!SWIG_IsOK(res1)) {
20390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20391 }
20392 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 {
20400 resultobj = wxPyMake_wxObject(result, (bool)0);
20401 }
20402 return resultobj;
20403 fail:
20404 return NULL;
20405 }
20406
20407
20408 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20409 PyObject *resultobj = 0;
20410 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20411 wxWindow *result = 0 ;
20412 void *argp1 = 0 ;
20413 int res1 = 0 ;
20414 PyObject *swig_obj[1] ;
20415
20416 if (!args) SWIG_fail;
20417 swig_obj[0] = args;
20418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20419 if (!SWIG_IsOK(res1)) {
20420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20421 }
20422 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20423 {
20424 PyThreadState* __tstate = wxPyBeginAllowThreads();
20425 result = (wxWindow *)(arg1)->GetToolBar();
20426 wxPyEndAllowThreads(__tstate);
20427 if (PyErr_Occurred()) SWIG_fail;
20428 }
20429 {
20430 resultobj = wxPyMake_wxObject(result, 0);
20431 }
20432 return resultobj;
20433 fail:
20434 return NULL;
20435 }
20436
20437
20438 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20439 PyObject *resultobj = 0;
20440 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20441 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20442 void *argp1 = 0 ;
20443 int res1 = 0 ;
20444 int val2 ;
20445 int ecode2 = 0 ;
20446 PyObject * obj0 = 0 ;
20447 PyObject * obj1 = 0 ;
20448 char * kwnames[] = {
20449 (char *) "self",(char *) "orient", NULL
20450 };
20451
20452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20454 if (!SWIG_IsOK(res1)) {
20455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20456 }
20457 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20458 if (obj1) {
20459 ecode2 = SWIG_AsVal_int(obj1, &val2);
20460 if (!SWIG_IsOK(ecode2)) {
20461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20462 }
20463 arg2 = static_cast< wxOrientation >(val2);
20464 }
20465 {
20466 PyThreadState* __tstate = wxPyBeginAllowThreads();
20467 (arg1)->Tile(arg2);
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
20471 resultobj = SWIG_Py_Void();
20472 return resultobj;
20473 fail:
20474 return NULL;
20475 }
20476
20477
20478 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20479 PyObject *obj;
20480 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20481 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20482 return SWIG_Py_Void();
20483 }
20484
20485 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20486 return SWIG_Python_InitShadowInstance(args);
20487 }
20488
20489 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj = 0;
20491 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20492 int arg2 = (int) (int)-1 ;
20493 wxString const &arg3_defvalue = wxPyEmptyString ;
20494 wxString *arg3 = (wxString *) &arg3_defvalue ;
20495 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20496 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20497 wxSize const &arg5_defvalue = wxDefaultSize ;
20498 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20499 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20500 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20501 wxString *arg7 = (wxString *) &arg7_defvalue ;
20502 wxMDIChildFrame *result = 0 ;
20503 void *argp1 = 0 ;
20504 int res1 = 0 ;
20505 int val2 ;
20506 int ecode2 = 0 ;
20507 bool temp3 = false ;
20508 wxPoint temp4 ;
20509 wxSize temp5 ;
20510 long val6 ;
20511 int ecode6 = 0 ;
20512 bool temp7 = false ;
20513 PyObject * obj0 = 0 ;
20514 PyObject * obj1 = 0 ;
20515 PyObject * obj2 = 0 ;
20516 PyObject * obj3 = 0 ;
20517 PyObject * obj4 = 0 ;
20518 PyObject * obj5 = 0 ;
20519 PyObject * obj6 = 0 ;
20520 char * kwnames[] = {
20521 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20522 };
20523
20524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20526 if (!SWIG_IsOK(res1)) {
20527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20528 }
20529 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20530 if (obj1) {
20531 ecode2 = SWIG_AsVal_int(obj1, &val2);
20532 if (!SWIG_IsOK(ecode2)) {
20533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20534 }
20535 arg2 = static_cast< int >(val2);
20536 }
20537 if (obj2) {
20538 {
20539 arg3 = wxString_in_helper(obj2);
20540 if (arg3 == NULL) SWIG_fail;
20541 temp3 = true;
20542 }
20543 }
20544 if (obj3) {
20545 {
20546 arg4 = &temp4;
20547 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20548 }
20549 }
20550 if (obj4) {
20551 {
20552 arg5 = &temp5;
20553 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20554 }
20555 }
20556 if (obj5) {
20557 ecode6 = SWIG_AsVal_long(obj5, &val6);
20558 if (!SWIG_IsOK(ecode6)) {
20559 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20560 }
20561 arg6 = static_cast< long >(val6);
20562 }
20563 if (obj6) {
20564 {
20565 arg7 = wxString_in_helper(obj6);
20566 if (arg7 == NULL) SWIG_fail;
20567 temp7 = true;
20568 }
20569 }
20570 {
20571 if (!wxPyCheckForApp()) SWIG_fail;
20572 PyThreadState* __tstate = wxPyBeginAllowThreads();
20573 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
20577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20578 {
20579 if (temp3)
20580 delete arg3;
20581 }
20582 {
20583 if (temp7)
20584 delete arg7;
20585 }
20586 return resultobj;
20587 fail:
20588 {
20589 if (temp3)
20590 delete arg3;
20591 }
20592 {
20593 if (temp7)
20594 delete arg7;
20595 }
20596 return NULL;
20597 }
20598
20599
20600 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20601 PyObject *resultobj = 0;
20602 wxMDIChildFrame *result = 0 ;
20603
20604 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20605 {
20606 if (!wxPyCheckForApp()) SWIG_fail;
20607 PyThreadState* __tstate = wxPyBeginAllowThreads();
20608 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20609 wxPyEndAllowThreads(__tstate);
20610 if (PyErr_Occurred()) SWIG_fail;
20611 }
20612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20613 return resultobj;
20614 fail:
20615 return NULL;
20616 }
20617
20618
20619 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20620 PyObject *resultobj = 0;
20621 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20622 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20623 int arg3 = (int) (int)-1 ;
20624 wxString const &arg4_defvalue = wxPyEmptyString ;
20625 wxString *arg4 = (wxString *) &arg4_defvalue ;
20626 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20627 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20628 wxSize const &arg6_defvalue = wxDefaultSize ;
20629 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20630 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20631 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20632 wxString *arg8 = (wxString *) &arg8_defvalue ;
20633 bool result;
20634 void *argp1 = 0 ;
20635 int res1 = 0 ;
20636 void *argp2 = 0 ;
20637 int res2 = 0 ;
20638 int val3 ;
20639 int ecode3 = 0 ;
20640 bool temp4 = false ;
20641 wxPoint temp5 ;
20642 wxSize temp6 ;
20643 long val7 ;
20644 int ecode7 = 0 ;
20645 bool temp8 = false ;
20646 PyObject * obj0 = 0 ;
20647 PyObject * obj1 = 0 ;
20648 PyObject * obj2 = 0 ;
20649 PyObject * obj3 = 0 ;
20650 PyObject * obj4 = 0 ;
20651 PyObject * obj5 = 0 ;
20652 PyObject * obj6 = 0 ;
20653 PyObject * obj7 = 0 ;
20654 char * kwnames[] = {
20655 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20656 };
20657
20658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20660 if (!SWIG_IsOK(res1)) {
20661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20662 }
20663 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20665 if (!SWIG_IsOK(res2)) {
20666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20667 }
20668 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20669 if (obj2) {
20670 ecode3 = SWIG_AsVal_int(obj2, &val3);
20671 if (!SWIG_IsOK(ecode3)) {
20672 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20673 }
20674 arg3 = static_cast< int >(val3);
20675 }
20676 if (obj3) {
20677 {
20678 arg4 = wxString_in_helper(obj3);
20679 if (arg4 == NULL) SWIG_fail;
20680 temp4 = true;
20681 }
20682 }
20683 if (obj4) {
20684 {
20685 arg5 = &temp5;
20686 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20687 }
20688 }
20689 if (obj5) {
20690 {
20691 arg6 = &temp6;
20692 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20693 }
20694 }
20695 if (obj6) {
20696 ecode7 = SWIG_AsVal_long(obj6, &val7);
20697 if (!SWIG_IsOK(ecode7)) {
20698 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20699 }
20700 arg7 = static_cast< long >(val7);
20701 }
20702 if (obj7) {
20703 {
20704 arg8 = wxString_in_helper(obj7);
20705 if (arg8 == NULL) SWIG_fail;
20706 temp8 = true;
20707 }
20708 }
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
20711 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 {
20716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20717 }
20718 {
20719 if (temp4)
20720 delete arg4;
20721 }
20722 {
20723 if (temp8)
20724 delete arg8;
20725 }
20726 return resultobj;
20727 fail:
20728 {
20729 if (temp4)
20730 delete arg4;
20731 }
20732 {
20733 if (temp8)
20734 delete arg8;
20735 }
20736 return NULL;
20737 }
20738
20739
20740 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20741 PyObject *resultobj = 0;
20742 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20743 void *argp1 = 0 ;
20744 int res1 = 0 ;
20745 PyObject *swig_obj[1] ;
20746
20747 if (!args) SWIG_fail;
20748 swig_obj[0] = args;
20749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20750 if (!SWIG_IsOK(res1)) {
20751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20752 }
20753 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20754 {
20755 PyThreadState* __tstate = wxPyBeginAllowThreads();
20756 (arg1)->Activate();
20757 wxPyEndAllowThreads(__tstate);
20758 if (PyErr_Occurred()) SWIG_fail;
20759 }
20760 resultobj = SWIG_Py_Void();
20761 return resultobj;
20762 fail:
20763 return NULL;
20764 }
20765
20766
20767 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20768 PyObject *obj;
20769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20770 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20771 return SWIG_Py_Void();
20772 }
20773
20774 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20775 return SWIG_Python_InitShadowInstance(args);
20776 }
20777
20778 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20779 PyObject *resultobj = 0;
20780 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20781 long arg2 = (long) 0 ;
20782 wxMDIClientWindow *result = 0 ;
20783 void *argp1 = 0 ;
20784 int res1 = 0 ;
20785 long val2 ;
20786 int ecode2 = 0 ;
20787 PyObject * obj0 = 0 ;
20788 PyObject * obj1 = 0 ;
20789 char * kwnames[] = {
20790 (char *) "parent",(char *) "style", NULL
20791 };
20792
20793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20795 if (!SWIG_IsOK(res1)) {
20796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20797 }
20798 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20799 if (obj1) {
20800 ecode2 = SWIG_AsVal_long(obj1, &val2);
20801 if (!SWIG_IsOK(ecode2)) {
20802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20803 }
20804 arg2 = static_cast< long >(val2);
20805 }
20806 {
20807 if (!wxPyCheckForApp()) SWIG_fail;
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
20810 wxPyEndAllowThreads(__tstate);
20811 if (PyErr_Occurred()) SWIG_fail;
20812 }
20813 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
20814 return resultobj;
20815 fail:
20816 return NULL;
20817 }
20818
20819
20820 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20821 PyObject *resultobj = 0;
20822 wxMDIClientWindow *result = 0 ;
20823
20824 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
20825 {
20826 if (!wxPyCheckForApp()) SWIG_fail;
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 result = (wxMDIClientWindow *)new wxMDIClientWindow();
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
20833 return resultobj;
20834 fail:
20835 return NULL;
20836 }
20837
20838
20839 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20840 PyObject *resultobj = 0;
20841 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
20842 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20843 long arg3 = (long) 0 ;
20844 bool result;
20845 void *argp1 = 0 ;
20846 int res1 = 0 ;
20847 void *argp2 = 0 ;
20848 int res2 = 0 ;
20849 long val3 ;
20850 int ecode3 = 0 ;
20851 PyObject * obj0 = 0 ;
20852 PyObject * obj1 = 0 ;
20853 PyObject * obj2 = 0 ;
20854 char * kwnames[] = {
20855 (char *) "self",(char *) "parent",(char *) "style", NULL
20856 };
20857
20858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
20860 if (!SWIG_IsOK(res1)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20862 }
20863 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
20864 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20865 if (!SWIG_IsOK(res2)) {
20866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20867 }
20868 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20869 if (obj2) {
20870 ecode3 = SWIG_AsVal_long(obj2, &val3);
20871 if (!SWIG_IsOK(ecode3)) {
20872 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20873 }
20874 arg3 = static_cast< long >(val3);
20875 }
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 result = (bool)(arg1)->Create(arg2,arg3);
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 {
20883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20884 }
20885 return resultobj;
20886 fail:
20887 return NULL;
20888 }
20889
20890
20891 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20892 PyObject *obj;
20893 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20894 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
20895 return SWIG_Py_Void();
20896 }
20897
20898 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20899 return SWIG_Python_InitShadowInstance(args);
20900 }
20901
20902 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20903 PyObject *resultobj = 0;
20904 wxWindow *arg1 = (wxWindow *) 0 ;
20905 int arg2 = (int) (int)-1 ;
20906 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20907 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20908 wxSize const &arg4_defvalue = wxDefaultSize ;
20909 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20910 long arg5 = (long) 0 ;
20911 wxString const &arg6_defvalue = wxPyPanelNameStr ;
20912 wxString *arg6 = (wxString *) &arg6_defvalue ;
20913 wxPyWindow *result = 0 ;
20914 void *argp1 = 0 ;
20915 int res1 = 0 ;
20916 int val2 ;
20917 int ecode2 = 0 ;
20918 wxPoint temp3 ;
20919 wxSize temp4 ;
20920 long val5 ;
20921 int ecode5 = 0 ;
20922 bool temp6 = false ;
20923 PyObject * obj0 = 0 ;
20924 PyObject * obj1 = 0 ;
20925 PyObject * obj2 = 0 ;
20926 PyObject * obj3 = 0 ;
20927 PyObject * obj4 = 0 ;
20928 PyObject * obj5 = 0 ;
20929 char * kwnames[] = {
20930 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20931 };
20932
20933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20935 if (!SWIG_IsOK(res1)) {
20936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
20937 }
20938 arg1 = reinterpret_cast< wxWindow * >(argp1);
20939 if (obj1) {
20940 ecode2 = SWIG_AsVal_int(obj1, &val2);
20941 if (!SWIG_IsOK(ecode2)) {
20942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
20943 }
20944 arg2 = static_cast< int >(val2);
20945 }
20946 if (obj2) {
20947 {
20948 arg3 = &temp3;
20949 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20950 }
20951 }
20952 if (obj3) {
20953 {
20954 arg4 = &temp4;
20955 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20956 }
20957 }
20958 if (obj4) {
20959 ecode5 = SWIG_AsVal_long(obj4, &val5);
20960 if (!SWIG_IsOK(ecode5)) {
20961 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
20962 }
20963 arg5 = static_cast< long >(val5);
20964 }
20965 if (obj5) {
20966 {
20967 arg6 = wxString_in_helper(obj5);
20968 if (arg6 == NULL) SWIG_fail;
20969 temp6 = true;
20970 }
20971 }
20972 {
20973 if (!wxPyCheckForApp()) SWIG_fail;
20974 PyThreadState* __tstate = wxPyBeginAllowThreads();
20975 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
20980 {
20981 if (temp6)
20982 delete arg6;
20983 }
20984 return resultobj;
20985 fail:
20986 {
20987 if (temp6)
20988 delete arg6;
20989 }
20990 return NULL;
20991 }
20992
20993
20994 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20995 PyObject *resultobj = 0;
20996 wxPyWindow *result = 0 ;
20997
20998 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
20999 {
21000 if (!wxPyCheckForApp()) SWIG_fail;
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 result = (wxPyWindow *)new wxPyWindow();
21003 wxPyEndAllowThreads(__tstate);
21004 if (PyErr_Occurred()) SWIG_fail;
21005 }
21006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21007 return resultobj;
21008 fail:
21009 return NULL;
21010 }
21011
21012
21013 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21014 PyObject *resultobj = 0;
21015 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21016 PyObject *arg2 = (PyObject *) 0 ;
21017 PyObject *arg3 = (PyObject *) 0 ;
21018 void *argp1 = 0 ;
21019 int res1 = 0 ;
21020 PyObject * obj0 = 0 ;
21021 PyObject * obj1 = 0 ;
21022 PyObject * obj2 = 0 ;
21023 char * kwnames[] = {
21024 (char *) "self",(char *) "self",(char *) "_class", NULL
21025 };
21026
21027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21029 if (!SWIG_IsOK(res1)) {
21030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21031 }
21032 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21033 arg2 = obj1;
21034 arg3 = obj2;
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 (arg1)->_setCallbackInfo(arg2,arg3);
21038 wxPyEndAllowThreads(__tstate);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 resultobj = SWIG_Py_Void();
21042 return resultobj;
21043 fail:
21044 return NULL;
21045 }
21046
21047
21048 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj = 0;
21050 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21051 wxSize *arg2 = 0 ;
21052 void *argp1 = 0 ;
21053 int res1 = 0 ;
21054 wxSize temp2 ;
21055 PyObject * obj0 = 0 ;
21056 PyObject * obj1 = 0 ;
21057 char * kwnames[] = {
21058 (char *) "self",(char *) "size", NULL
21059 };
21060
21061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21063 if (!SWIG_IsOK(res1)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21065 }
21066 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21067 {
21068 arg2 = &temp2;
21069 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21070 }
21071 {
21072 PyThreadState* __tstate = wxPyBeginAllowThreads();
21073 (arg1)->SetBestSize((wxSize const &)*arg2);
21074 wxPyEndAllowThreads(__tstate);
21075 if (PyErr_Occurred()) SWIG_fail;
21076 }
21077 resultobj = SWIG_Py_Void();
21078 return resultobj;
21079 fail:
21080 return NULL;
21081 }
21082
21083
21084 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21085 PyObject *resultobj = 0;
21086 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21087 wxDC *arg2 = (wxDC *) 0 ;
21088 bool result;
21089 void *argp1 = 0 ;
21090 int res1 = 0 ;
21091 void *argp2 = 0 ;
21092 int res2 = 0 ;
21093 PyObject * obj0 = 0 ;
21094 PyObject * obj1 = 0 ;
21095 char * kwnames[] = {
21096 (char *) "self",(char *) "dc", NULL
21097 };
21098
21099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21101 if (!SWIG_IsOK(res1)) {
21102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21103 }
21104 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21105 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21106 if (!SWIG_IsOK(res2)) {
21107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21108 }
21109 arg2 = reinterpret_cast< wxDC * >(argp2);
21110 {
21111 PyThreadState* __tstate = wxPyBeginAllowThreads();
21112 result = (bool)(arg1)->DoEraseBackground(arg2);
21113 wxPyEndAllowThreads(__tstate);
21114 if (PyErr_Occurred()) SWIG_fail;
21115 }
21116 {
21117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21118 }
21119 return resultobj;
21120 fail:
21121 return NULL;
21122 }
21123
21124
21125 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21126 PyObject *resultobj = 0;
21127 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21128 int arg2 ;
21129 int arg3 ;
21130 int arg4 ;
21131 int arg5 ;
21132 void *argp1 = 0 ;
21133 int res1 = 0 ;
21134 int val2 ;
21135 int ecode2 = 0 ;
21136 int val3 ;
21137 int ecode3 = 0 ;
21138 int val4 ;
21139 int ecode4 = 0 ;
21140 int val5 ;
21141 int ecode5 = 0 ;
21142 PyObject * obj0 = 0 ;
21143 PyObject * obj1 = 0 ;
21144 PyObject * obj2 = 0 ;
21145 PyObject * obj3 = 0 ;
21146 PyObject * obj4 = 0 ;
21147 char * kwnames[] = {
21148 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21149 };
21150
21151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21153 if (!SWIG_IsOK(res1)) {
21154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21155 }
21156 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21157 ecode2 = SWIG_AsVal_int(obj1, &val2);
21158 if (!SWIG_IsOK(ecode2)) {
21159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21160 }
21161 arg2 = static_cast< int >(val2);
21162 ecode3 = SWIG_AsVal_int(obj2, &val3);
21163 if (!SWIG_IsOK(ecode3)) {
21164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21165 }
21166 arg3 = static_cast< int >(val3);
21167 ecode4 = SWIG_AsVal_int(obj3, &val4);
21168 if (!SWIG_IsOK(ecode4)) {
21169 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21170 }
21171 arg4 = static_cast< int >(val4);
21172 ecode5 = SWIG_AsVal_int(obj4, &val5);
21173 if (!SWIG_IsOK(ecode5)) {
21174 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21175 }
21176 arg5 = static_cast< int >(val5);
21177 {
21178 PyThreadState* __tstate = wxPyBeginAllowThreads();
21179 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21180 wxPyEndAllowThreads(__tstate);
21181 if (PyErr_Occurred()) SWIG_fail;
21182 }
21183 resultobj = SWIG_Py_Void();
21184 return resultobj;
21185 fail:
21186 return NULL;
21187 }
21188
21189
21190 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21191 PyObject *resultobj = 0;
21192 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21193 int arg2 ;
21194 int arg3 ;
21195 int arg4 ;
21196 int arg5 ;
21197 int arg6 = (int) wxSIZE_AUTO ;
21198 void *argp1 = 0 ;
21199 int res1 = 0 ;
21200 int val2 ;
21201 int ecode2 = 0 ;
21202 int val3 ;
21203 int ecode3 = 0 ;
21204 int val4 ;
21205 int ecode4 = 0 ;
21206 int val5 ;
21207 int ecode5 = 0 ;
21208 int val6 ;
21209 int ecode6 = 0 ;
21210 PyObject * obj0 = 0 ;
21211 PyObject * obj1 = 0 ;
21212 PyObject * obj2 = 0 ;
21213 PyObject * obj3 = 0 ;
21214 PyObject * obj4 = 0 ;
21215 PyObject * obj5 = 0 ;
21216 char * kwnames[] = {
21217 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21218 };
21219
21220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21222 if (!SWIG_IsOK(res1)) {
21223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21224 }
21225 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21226 ecode2 = SWIG_AsVal_int(obj1, &val2);
21227 if (!SWIG_IsOK(ecode2)) {
21228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21229 }
21230 arg2 = static_cast< int >(val2);
21231 ecode3 = SWIG_AsVal_int(obj2, &val3);
21232 if (!SWIG_IsOK(ecode3)) {
21233 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21234 }
21235 arg3 = static_cast< int >(val3);
21236 ecode4 = SWIG_AsVal_int(obj3, &val4);
21237 if (!SWIG_IsOK(ecode4)) {
21238 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21239 }
21240 arg4 = static_cast< int >(val4);
21241 ecode5 = SWIG_AsVal_int(obj4, &val5);
21242 if (!SWIG_IsOK(ecode5)) {
21243 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21244 }
21245 arg5 = static_cast< int >(val5);
21246 if (obj5) {
21247 ecode6 = SWIG_AsVal_int(obj5, &val6);
21248 if (!SWIG_IsOK(ecode6)) {
21249 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21250 }
21251 arg6 = static_cast< int >(val6);
21252 }
21253 {
21254 PyThreadState* __tstate = wxPyBeginAllowThreads();
21255 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21256 wxPyEndAllowThreads(__tstate);
21257 if (PyErr_Occurred()) SWIG_fail;
21258 }
21259 resultobj = SWIG_Py_Void();
21260 return resultobj;
21261 fail:
21262 return NULL;
21263 }
21264
21265
21266 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21267 PyObject *resultobj = 0;
21268 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21269 int arg2 ;
21270 int arg3 ;
21271 void *argp1 = 0 ;
21272 int res1 = 0 ;
21273 int val2 ;
21274 int ecode2 = 0 ;
21275 int val3 ;
21276 int ecode3 = 0 ;
21277 PyObject * obj0 = 0 ;
21278 PyObject * obj1 = 0 ;
21279 PyObject * obj2 = 0 ;
21280 char * kwnames[] = {
21281 (char *) "self",(char *) "width",(char *) "height", NULL
21282 };
21283
21284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21286 if (!SWIG_IsOK(res1)) {
21287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21288 }
21289 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21290 ecode2 = SWIG_AsVal_int(obj1, &val2);
21291 if (!SWIG_IsOK(ecode2)) {
21292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21293 }
21294 arg2 = static_cast< int >(val2);
21295 ecode3 = SWIG_AsVal_int(obj2, &val3);
21296 if (!SWIG_IsOK(ecode3)) {
21297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21298 }
21299 arg3 = static_cast< int >(val3);
21300 {
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 (arg1)->DoSetClientSize(arg2,arg3);
21303 wxPyEndAllowThreads(__tstate);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
21306 resultobj = SWIG_Py_Void();
21307 return resultobj;
21308 fail:
21309 return NULL;
21310 }
21311
21312
21313 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21314 PyObject *resultobj = 0;
21315 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21316 int arg2 ;
21317 int arg3 ;
21318 void *argp1 = 0 ;
21319 int res1 = 0 ;
21320 int val2 ;
21321 int ecode2 = 0 ;
21322 int val3 ;
21323 int ecode3 = 0 ;
21324 PyObject * obj0 = 0 ;
21325 PyObject * obj1 = 0 ;
21326 PyObject * obj2 = 0 ;
21327 char * kwnames[] = {
21328 (char *) "self",(char *) "x",(char *) "y", NULL
21329 };
21330
21331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21333 if (!SWIG_IsOK(res1)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21335 }
21336 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21337 ecode2 = SWIG_AsVal_int(obj1, &val2);
21338 if (!SWIG_IsOK(ecode2)) {
21339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21340 }
21341 arg2 = static_cast< int >(val2);
21342 ecode3 = SWIG_AsVal_int(obj2, &val3);
21343 if (!SWIG_IsOK(ecode3)) {
21344 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21345 }
21346 arg3 = static_cast< int >(val3);
21347 {
21348 PyThreadState* __tstate = wxPyBeginAllowThreads();
21349 (arg1)->DoSetVirtualSize(arg2,arg3);
21350 wxPyEndAllowThreads(__tstate);
21351 if (PyErr_Occurred()) SWIG_fail;
21352 }
21353 resultobj = SWIG_Py_Void();
21354 return resultobj;
21355 fail:
21356 return NULL;
21357 }
21358
21359
21360 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21361 PyObject *resultobj = 0;
21362 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21363 int *arg2 = (int *) 0 ;
21364 int *arg3 = (int *) 0 ;
21365 void *argp1 = 0 ;
21366 int res1 = 0 ;
21367 int temp2 ;
21368 int res2 = SWIG_TMPOBJ ;
21369 int temp3 ;
21370 int res3 = SWIG_TMPOBJ ;
21371 PyObject *swig_obj[1] ;
21372
21373 arg2 = &temp2;
21374 arg3 = &temp3;
21375 if (!args) SWIG_fail;
21376 swig_obj[0] = args;
21377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21378 if (!SWIG_IsOK(res1)) {
21379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21380 }
21381 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21382 {
21383 PyThreadState* __tstate = wxPyBeginAllowThreads();
21384 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
21388 resultobj = SWIG_Py_Void();
21389 if (SWIG_IsTmpObj(res2)) {
21390 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21391 } else {
21392 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21393 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21394 }
21395 if (SWIG_IsTmpObj(res3)) {
21396 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21397 } else {
21398 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21399 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21400 }
21401 return resultobj;
21402 fail:
21403 return NULL;
21404 }
21405
21406
21407 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21408 PyObject *resultobj = 0;
21409 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21410 int *arg2 = (int *) 0 ;
21411 int *arg3 = (int *) 0 ;
21412 void *argp1 = 0 ;
21413 int res1 = 0 ;
21414 int temp2 ;
21415 int res2 = SWIG_TMPOBJ ;
21416 int temp3 ;
21417 int res3 = SWIG_TMPOBJ ;
21418 PyObject *swig_obj[1] ;
21419
21420 arg2 = &temp2;
21421 arg3 = &temp3;
21422 if (!args) SWIG_fail;
21423 swig_obj[0] = args;
21424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21425 if (!SWIG_IsOK(res1)) {
21426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21427 }
21428 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21429 {
21430 PyThreadState* __tstate = wxPyBeginAllowThreads();
21431 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21432 wxPyEndAllowThreads(__tstate);
21433 if (PyErr_Occurred()) SWIG_fail;
21434 }
21435 resultobj = SWIG_Py_Void();
21436 if (SWIG_IsTmpObj(res2)) {
21437 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21438 } else {
21439 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21440 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21441 }
21442 if (SWIG_IsTmpObj(res3)) {
21443 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21444 } else {
21445 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21446 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21447 }
21448 return resultobj;
21449 fail:
21450 return NULL;
21451 }
21452
21453
21454 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21455 PyObject *resultobj = 0;
21456 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21457 int *arg2 = (int *) 0 ;
21458 int *arg3 = (int *) 0 ;
21459 void *argp1 = 0 ;
21460 int res1 = 0 ;
21461 int temp2 ;
21462 int res2 = SWIG_TMPOBJ ;
21463 int temp3 ;
21464 int res3 = SWIG_TMPOBJ ;
21465 PyObject *swig_obj[1] ;
21466
21467 arg2 = &temp2;
21468 arg3 = &temp3;
21469 if (!args) SWIG_fail;
21470 swig_obj[0] = args;
21471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21472 if (!SWIG_IsOK(res1)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21474 }
21475 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21479 wxPyEndAllowThreads(__tstate);
21480 if (PyErr_Occurred()) SWIG_fail;
21481 }
21482 resultobj = SWIG_Py_Void();
21483 if (SWIG_IsTmpObj(res2)) {
21484 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21485 } else {
21486 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21487 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21488 }
21489 if (SWIG_IsTmpObj(res3)) {
21490 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21491 } else {
21492 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21493 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21494 }
21495 return resultobj;
21496 fail:
21497 return NULL;
21498 }
21499
21500
21501 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21502 PyObject *resultobj = 0;
21503 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21504 wxSize result;
21505 void *argp1 = 0 ;
21506 int res1 = 0 ;
21507 PyObject *swig_obj[1] ;
21508
21509 if (!args) SWIG_fail;
21510 swig_obj[0] = args;
21511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21512 if (!SWIG_IsOK(res1)) {
21513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21514 }
21515 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21516 {
21517 PyThreadState* __tstate = wxPyBeginAllowThreads();
21518 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21519 wxPyEndAllowThreads(__tstate);
21520 if (PyErr_Occurred()) SWIG_fail;
21521 }
21522 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21523 return resultobj;
21524 fail:
21525 return NULL;
21526 }
21527
21528
21529 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21530 PyObject *resultobj = 0;
21531 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21532 wxSize result;
21533 void *argp1 = 0 ;
21534 int res1 = 0 ;
21535 PyObject *swig_obj[1] ;
21536
21537 if (!args) SWIG_fail;
21538 swig_obj[0] = args;
21539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21540 if (!SWIG_IsOK(res1)) {
21541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21542 }
21543 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21544 {
21545 PyThreadState* __tstate = wxPyBeginAllowThreads();
21546 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21551 return resultobj;
21552 fail:
21553 return NULL;
21554 }
21555
21556
21557 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21558 PyObject *resultobj = 0;
21559 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21560 SwigValueWrapper<wxVisualAttributes > result;
21561 void *argp1 = 0 ;
21562 int res1 = 0 ;
21563 PyObject *swig_obj[1] ;
21564
21565 if (!args) SWIG_fail;
21566 swig_obj[0] = args;
21567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21568 if (!SWIG_IsOK(res1)) {
21569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21570 }
21571 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21572 {
21573 PyThreadState* __tstate = wxPyBeginAllowThreads();
21574 result = (arg1)->GetDefaultAttributes();
21575 wxPyEndAllowThreads(__tstate);
21576 if (PyErr_Occurred()) SWIG_fail;
21577 }
21578 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21579 return resultobj;
21580 fail:
21581 return NULL;
21582 }
21583
21584
21585 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21586 PyObject *resultobj = 0;
21587 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21588 void *argp1 = 0 ;
21589 int res1 = 0 ;
21590 PyObject *swig_obj[1] ;
21591
21592 if (!args) SWIG_fail;
21593 swig_obj[0] = args;
21594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21595 if (!SWIG_IsOK(res1)) {
21596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21597 }
21598 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21599 {
21600 PyThreadState* __tstate = wxPyBeginAllowThreads();
21601 (arg1)->OnInternalIdle();
21602 wxPyEndAllowThreads(__tstate);
21603 if (PyErr_Occurred()) SWIG_fail;
21604 }
21605 resultobj = SWIG_Py_Void();
21606 return resultobj;
21607 fail:
21608 return NULL;
21609 }
21610
21611
21612 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21613 PyObject *obj;
21614 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21615 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21616 return SWIG_Py_Void();
21617 }
21618
21619 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21620 return SWIG_Python_InitShadowInstance(args);
21621 }
21622
21623 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21624 PyObject *resultobj = 0;
21625 wxWindow *arg1 = (wxWindow *) 0 ;
21626 int arg2 = (int) (int)-1 ;
21627 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21628 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21629 wxSize const &arg4_defvalue = wxDefaultSize ;
21630 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21631 long arg5 = (long) 0 ;
21632 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21633 wxString *arg6 = (wxString *) &arg6_defvalue ;
21634 wxPyPanel *result = 0 ;
21635 void *argp1 = 0 ;
21636 int res1 = 0 ;
21637 int val2 ;
21638 int ecode2 = 0 ;
21639 wxPoint temp3 ;
21640 wxSize temp4 ;
21641 long val5 ;
21642 int ecode5 = 0 ;
21643 bool temp6 = false ;
21644 PyObject * obj0 = 0 ;
21645 PyObject * obj1 = 0 ;
21646 PyObject * obj2 = 0 ;
21647 PyObject * obj3 = 0 ;
21648 PyObject * obj4 = 0 ;
21649 PyObject * obj5 = 0 ;
21650 char * kwnames[] = {
21651 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21652 };
21653
21654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21656 if (!SWIG_IsOK(res1)) {
21657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21658 }
21659 arg1 = reinterpret_cast< wxWindow * >(argp1);
21660 if (obj1) {
21661 ecode2 = SWIG_AsVal_int(obj1, &val2);
21662 if (!SWIG_IsOK(ecode2)) {
21663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21664 }
21665 arg2 = static_cast< int >(val2);
21666 }
21667 if (obj2) {
21668 {
21669 arg3 = &temp3;
21670 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21671 }
21672 }
21673 if (obj3) {
21674 {
21675 arg4 = &temp4;
21676 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21677 }
21678 }
21679 if (obj4) {
21680 ecode5 = SWIG_AsVal_long(obj4, &val5);
21681 if (!SWIG_IsOK(ecode5)) {
21682 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21683 }
21684 arg5 = static_cast< long >(val5);
21685 }
21686 if (obj5) {
21687 {
21688 arg6 = wxString_in_helper(obj5);
21689 if (arg6 == NULL) SWIG_fail;
21690 temp6 = true;
21691 }
21692 }
21693 {
21694 if (!wxPyCheckForApp()) SWIG_fail;
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21697 wxPyEndAllowThreads(__tstate);
21698 if (PyErr_Occurred()) SWIG_fail;
21699 }
21700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21701 {
21702 if (temp6)
21703 delete arg6;
21704 }
21705 return resultobj;
21706 fail:
21707 {
21708 if (temp6)
21709 delete arg6;
21710 }
21711 return NULL;
21712 }
21713
21714
21715 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21716 PyObject *resultobj = 0;
21717 wxPyPanel *result = 0 ;
21718
21719 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21720 {
21721 if (!wxPyCheckForApp()) SWIG_fail;
21722 PyThreadState* __tstate = wxPyBeginAllowThreads();
21723 result = (wxPyPanel *)new wxPyPanel();
21724 wxPyEndAllowThreads(__tstate);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 }
21727 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21728 return resultobj;
21729 fail:
21730 return NULL;
21731 }
21732
21733
21734 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21735 PyObject *resultobj = 0;
21736 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21737 PyObject *arg2 = (PyObject *) 0 ;
21738 PyObject *arg3 = (PyObject *) 0 ;
21739 void *argp1 = 0 ;
21740 int res1 = 0 ;
21741 PyObject * obj0 = 0 ;
21742 PyObject * obj1 = 0 ;
21743 PyObject * obj2 = 0 ;
21744 char * kwnames[] = {
21745 (char *) "self",(char *) "self",(char *) "_class", NULL
21746 };
21747
21748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21750 if (!SWIG_IsOK(res1)) {
21751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21752 }
21753 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21754 arg2 = obj1;
21755 arg3 = obj2;
21756 {
21757 PyThreadState* __tstate = wxPyBeginAllowThreads();
21758 (arg1)->_setCallbackInfo(arg2,arg3);
21759 wxPyEndAllowThreads(__tstate);
21760 if (PyErr_Occurred()) SWIG_fail;
21761 }
21762 resultobj = SWIG_Py_Void();
21763 return resultobj;
21764 fail:
21765 return NULL;
21766 }
21767
21768
21769 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21770 PyObject *resultobj = 0;
21771 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21772 wxSize *arg2 = 0 ;
21773 void *argp1 = 0 ;
21774 int res1 = 0 ;
21775 wxSize temp2 ;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 char * kwnames[] = {
21779 (char *) "self",(char *) "size", NULL
21780 };
21781
21782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21784 if (!SWIG_IsOK(res1)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21786 }
21787 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21788 {
21789 arg2 = &temp2;
21790 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21791 }
21792 {
21793 PyThreadState* __tstate = wxPyBeginAllowThreads();
21794 (arg1)->SetBestSize((wxSize const &)*arg2);
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 resultobj = SWIG_Py_Void();
21799 return resultobj;
21800 fail:
21801 return NULL;
21802 }
21803
21804
21805 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21806 PyObject *resultobj = 0;
21807 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21808 wxDC *arg2 = (wxDC *) 0 ;
21809 bool result;
21810 void *argp1 = 0 ;
21811 int res1 = 0 ;
21812 void *argp2 = 0 ;
21813 int res2 = 0 ;
21814 PyObject * obj0 = 0 ;
21815 PyObject * obj1 = 0 ;
21816 char * kwnames[] = {
21817 (char *) "self",(char *) "dc", NULL
21818 };
21819
21820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21822 if (!SWIG_IsOK(res1)) {
21823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21824 }
21825 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21826 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21827 if (!SWIG_IsOK(res2)) {
21828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21829 }
21830 arg2 = reinterpret_cast< wxDC * >(argp2);
21831 {
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 result = (bool)(arg1)->DoEraseBackground(arg2);
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 {
21838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21839 }
21840 return resultobj;
21841 fail:
21842 return NULL;
21843 }
21844
21845
21846 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21847 PyObject *resultobj = 0;
21848 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21849 int arg2 ;
21850 int arg3 ;
21851 int arg4 ;
21852 int arg5 ;
21853 void *argp1 = 0 ;
21854 int res1 = 0 ;
21855 int val2 ;
21856 int ecode2 = 0 ;
21857 int val3 ;
21858 int ecode3 = 0 ;
21859 int val4 ;
21860 int ecode4 = 0 ;
21861 int val5 ;
21862 int ecode5 = 0 ;
21863 PyObject * obj0 = 0 ;
21864 PyObject * obj1 = 0 ;
21865 PyObject * obj2 = 0 ;
21866 PyObject * obj3 = 0 ;
21867 PyObject * obj4 = 0 ;
21868 char * kwnames[] = {
21869 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21870 };
21871
21872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21874 if (!SWIG_IsOK(res1)) {
21875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21876 }
21877 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21878 ecode2 = SWIG_AsVal_int(obj1, &val2);
21879 if (!SWIG_IsOK(ecode2)) {
21880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21881 }
21882 arg2 = static_cast< int >(val2);
21883 ecode3 = SWIG_AsVal_int(obj2, &val3);
21884 if (!SWIG_IsOK(ecode3)) {
21885 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21886 }
21887 arg3 = static_cast< int >(val3);
21888 ecode4 = SWIG_AsVal_int(obj3, &val4);
21889 if (!SWIG_IsOK(ecode4)) {
21890 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21891 }
21892 arg4 = static_cast< int >(val4);
21893 ecode5 = SWIG_AsVal_int(obj4, &val5);
21894 if (!SWIG_IsOK(ecode5)) {
21895 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21896 }
21897 arg5 = static_cast< int >(val5);
21898 {
21899 PyThreadState* __tstate = wxPyBeginAllowThreads();
21900 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 resultobj = SWIG_Py_Void();
21905 return resultobj;
21906 fail:
21907 return NULL;
21908 }
21909
21910
21911 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21912 PyObject *resultobj = 0;
21913 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21914 int arg2 ;
21915 int arg3 ;
21916 int arg4 ;
21917 int arg5 ;
21918 int arg6 = (int) wxSIZE_AUTO ;
21919 void *argp1 = 0 ;
21920 int res1 = 0 ;
21921 int val2 ;
21922 int ecode2 = 0 ;
21923 int val3 ;
21924 int ecode3 = 0 ;
21925 int val4 ;
21926 int ecode4 = 0 ;
21927 int val5 ;
21928 int ecode5 = 0 ;
21929 int val6 ;
21930 int ecode6 = 0 ;
21931 PyObject * obj0 = 0 ;
21932 PyObject * obj1 = 0 ;
21933 PyObject * obj2 = 0 ;
21934 PyObject * obj3 = 0 ;
21935 PyObject * obj4 = 0 ;
21936 PyObject * obj5 = 0 ;
21937 char * kwnames[] = {
21938 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21939 };
21940
21941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21943 if (!SWIG_IsOK(res1)) {
21944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21945 }
21946 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21947 ecode2 = SWIG_AsVal_int(obj1, &val2);
21948 if (!SWIG_IsOK(ecode2)) {
21949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21950 }
21951 arg2 = static_cast< int >(val2);
21952 ecode3 = SWIG_AsVal_int(obj2, &val3);
21953 if (!SWIG_IsOK(ecode3)) {
21954 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21955 }
21956 arg3 = static_cast< int >(val3);
21957 ecode4 = SWIG_AsVal_int(obj3, &val4);
21958 if (!SWIG_IsOK(ecode4)) {
21959 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21960 }
21961 arg4 = static_cast< int >(val4);
21962 ecode5 = SWIG_AsVal_int(obj4, &val5);
21963 if (!SWIG_IsOK(ecode5)) {
21964 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21965 }
21966 arg5 = static_cast< int >(val5);
21967 if (obj5) {
21968 ecode6 = SWIG_AsVal_int(obj5, &val6);
21969 if (!SWIG_IsOK(ecode6)) {
21970 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21971 }
21972 arg6 = static_cast< int >(val6);
21973 }
21974 {
21975 PyThreadState* __tstate = wxPyBeginAllowThreads();
21976 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
21980 resultobj = SWIG_Py_Void();
21981 return resultobj;
21982 fail:
21983 return NULL;
21984 }
21985
21986
21987 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21988 PyObject *resultobj = 0;
21989 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21990 int arg2 ;
21991 int arg3 ;
21992 void *argp1 = 0 ;
21993 int res1 = 0 ;
21994 int val2 ;
21995 int ecode2 = 0 ;
21996 int val3 ;
21997 int ecode3 = 0 ;
21998 PyObject * obj0 = 0 ;
21999 PyObject * obj1 = 0 ;
22000 PyObject * obj2 = 0 ;
22001 char * kwnames[] = {
22002 (char *) "self",(char *) "width",(char *) "height", NULL
22003 };
22004
22005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22007 if (!SWIG_IsOK(res1)) {
22008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22009 }
22010 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22011 ecode2 = SWIG_AsVal_int(obj1, &val2);
22012 if (!SWIG_IsOK(ecode2)) {
22013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22014 }
22015 arg2 = static_cast< int >(val2);
22016 ecode3 = SWIG_AsVal_int(obj2, &val3);
22017 if (!SWIG_IsOK(ecode3)) {
22018 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22019 }
22020 arg3 = static_cast< int >(val3);
22021 {
22022 PyThreadState* __tstate = wxPyBeginAllowThreads();
22023 (arg1)->DoSetClientSize(arg2,arg3);
22024 wxPyEndAllowThreads(__tstate);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 resultobj = SWIG_Py_Void();
22028 return resultobj;
22029 fail:
22030 return NULL;
22031 }
22032
22033
22034 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22035 PyObject *resultobj = 0;
22036 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22037 int arg2 ;
22038 int arg3 ;
22039 void *argp1 = 0 ;
22040 int res1 = 0 ;
22041 int val2 ;
22042 int ecode2 = 0 ;
22043 int val3 ;
22044 int ecode3 = 0 ;
22045 PyObject * obj0 = 0 ;
22046 PyObject * obj1 = 0 ;
22047 PyObject * obj2 = 0 ;
22048 char * kwnames[] = {
22049 (char *) "self",(char *) "x",(char *) "y", NULL
22050 };
22051
22052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22054 if (!SWIG_IsOK(res1)) {
22055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22056 }
22057 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22058 ecode2 = SWIG_AsVal_int(obj1, &val2);
22059 if (!SWIG_IsOK(ecode2)) {
22060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22061 }
22062 arg2 = static_cast< int >(val2);
22063 ecode3 = SWIG_AsVal_int(obj2, &val3);
22064 if (!SWIG_IsOK(ecode3)) {
22065 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22066 }
22067 arg3 = static_cast< int >(val3);
22068 {
22069 PyThreadState* __tstate = wxPyBeginAllowThreads();
22070 (arg1)->DoSetVirtualSize(arg2,arg3);
22071 wxPyEndAllowThreads(__tstate);
22072 if (PyErr_Occurred()) SWIG_fail;
22073 }
22074 resultobj = SWIG_Py_Void();
22075 return resultobj;
22076 fail:
22077 return NULL;
22078 }
22079
22080
22081 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22082 PyObject *resultobj = 0;
22083 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22084 int *arg2 = (int *) 0 ;
22085 int *arg3 = (int *) 0 ;
22086 void *argp1 = 0 ;
22087 int res1 = 0 ;
22088 int temp2 ;
22089 int res2 = SWIG_TMPOBJ ;
22090 int temp3 ;
22091 int res3 = SWIG_TMPOBJ ;
22092 PyObject *swig_obj[1] ;
22093
22094 arg2 = &temp2;
22095 arg3 = &temp3;
22096 if (!args) SWIG_fail;
22097 swig_obj[0] = args;
22098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22099 if (!SWIG_IsOK(res1)) {
22100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22101 }
22102 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22103 {
22104 PyThreadState* __tstate = wxPyBeginAllowThreads();
22105 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22106 wxPyEndAllowThreads(__tstate);
22107 if (PyErr_Occurred()) SWIG_fail;
22108 }
22109 resultobj = SWIG_Py_Void();
22110 if (SWIG_IsTmpObj(res2)) {
22111 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22112 } else {
22113 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22114 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22115 }
22116 if (SWIG_IsTmpObj(res3)) {
22117 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22118 } else {
22119 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22120 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22121 }
22122 return resultobj;
22123 fail:
22124 return NULL;
22125 }
22126
22127
22128 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22129 PyObject *resultobj = 0;
22130 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22131 int *arg2 = (int *) 0 ;
22132 int *arg3 = (int *) 0 ;
22133 void *argp1 = 0 ;
22134 int res1 = 0 ;
22135 int temp2 ;
22136 int res2 = SWIG_TMPOBJ ;
22137 int temp3 ;
22138 int res3 = SWIG_TMPOBJ ;
22139 PyObject *swig_obj[1] ;
22140
22141 arg2 = &temp2;
22142 arg3 = &temp3;
22143 if (!args) SWIG_fail;
22144 swig_obj[0] = args;
22145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22146 if (!SWIG_IsOK(res1)) {
22147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22148 }
22149 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22153 wxPyEndAllowThreads(__tstate);
22154 if (PyErr_Occurred()) SWIG_fail;
22155 }
22156 resultobj = SWIG_Py_Void();
22157 if (SWIG_IsTmpObj(res2)) {
22158 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22159 } else {
22160 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22161 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22162 }
22163 if (SWIG_IsTmpObj(res3)) {
22164 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22165 } else {
22166 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22167 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22168 }
22169 return resultobj;
22170 fail:
22171 return NULL;
22172 }
22173
22174
22175 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22176 PyObject *resultobj = 0;
22177 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22178 int *arg2 = (int *) 0 ;
22179 int *arg3 = (int *) 0 ;
22180 void *argp1 = 0 ;
22181 int res1 = 0 ;
22182 int temp2 ;
22183 int res2 = SWIG_TMPOBJ ;
22184 int temp3 ;
22185 int res3 = SWIG_TMPOBJ ;
22186 PyObject *swig_obj[1] ;
22187
22188 arg2 = &temp2;
22189 arg3 = &temp3;
22190 if (!args) SWIG_fail;
22191 swig_obj[0] = args;
22192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22193 if (!SWIG_IsOK(res1)) {
22194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22195 }
22196 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22197 {
22198 PyThreadState* __tstate = wxPyBeginAllowThreads();
22199 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22200 wxPyEndAllowThreads(__tstate);
22201 if (PyErr_Occurred()) SWIG_fail;
22202 }
22203 resultobj = SWIG_Py_Void();
22204 if (SWIG_IsTmpObj(res2)) {
22205 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22206 } else {
22207 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22208 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22209 }
22210 if (SWIG_IsTmpObj(res3)) {
22211 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22212 } else {
22213 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22215 }
22216 return resultobj;
22217 fail:
22218 return NULL;
22219 }
22220
22221
22222 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22223 PyObject *resultobj = 0;
22224 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22225 wxSize result;
22226 void *argp1 = 0 ;
22227 int res1 = 0 ;
22228 PyObject *swig_obj[1] ;
22229
22230 if (!args) SWIG_fail;
22231 swig_obj[0] = args;
22232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22233 if (!SWIG_IsOK(res1)) {
22234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22235 }
22236 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22237 {
22238 PyThreadState* __tstate = wxPyBeginAllowThreads();
22239 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22240 wxPyEndAllowThreads(__tstate);
22241 if (PyErr_Occurred()) SWIG_fail;
22242 }
22243 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22244 return resultobj;
22245 fail:
22246 return NULL;
22247 }
22248
22249
22250 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22251 PyObject *resultobj = 0;
22252 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22253 wxSize result;
22254 void *argp1 = 0 ;
22255 int res1 = 0 ;
22256 PyObject *swig_obj[1] ;
22257
22258 if (!args) SWIG_fail;
22259 swig_obj[0] = args;
22260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22261 if (!SWIG_IsOK(res1)) {
22262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22263 }
22264 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22265 {
22266 PyThreadState* __tstate = wxPyBeginAllowThreads();
22267 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22268 wxPyEndAllowThreads(__tstate);
22269 if (PyErr_Occurred()) SWIG_fail;
22270 }
22271 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22272 return resultobj;
22273 fail:
22274 return NULL;
22275 }
22276
22277
22278 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22279 PyObject *resultobj = 0;
22280 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22281 SwigValueWrapper<wxVisualAttributes > result;
22282 void *argp1 = 0 ;
22283 int res1 = 0 ;
22284 PyObject *swig_obj[1] ;
22285
22286 if (!args) SWIG_fail;
22287 swig_obj[0] = args;
22288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22289 if (!SWIG_IsOK(res1)) {
22290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22291 }
22292 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22293 {
22294 PyThreadState* __tstate = wxPyBeginAllowThreads();
22295 result = (arg1)->GetDefaultAttributes();
22296 wxPyEndAllowThreads(__tstate);
22297 if (PyErr_Occurred()) SWIG_fail;
22298 }
22299 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22307 PyObject *resultobj = 0;
22308 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22309 void *argp1 = 0 ;
22310 int res1 = 0 ;
22311 PyObject *swig_obj[1] ;
22312
22313 if (!args) SWIG_fail;
22314 swig_obj[0] = args;
22315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22316 if (!SWIG_IsOK(res1)) {
22317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22318 }
22319 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22320 {
22321 PyThreadState* __tstate = wxPyBeginAllowThreads();
22322 (arg1)->OnInternalIdle();
22323 wxPyEndAllowThreads(__tstate);
22324 if (PyErr_Occurred()) SWIG_fail;
22325 }
22326 resultobj = SWIG_Py_Void();
22327 return resultobj;
22328 fail:
22329 return NULL;
22330 }
22331
22332
22333 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22334 PyObject *obj;
22335 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22336 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22337 return SWIG_Py_Void();
22338 }
22339
22340 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22341 return SWIG_Python_InitShadowInstance(args);
22342 }
22343
22344 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22345 PyObject *resultobj = 0;
22346 wxWindow *arg1 = (wxWindow *) 0 ;
22347 int arg2 = (int) (int)-1 ;
22348 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22349 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22350 wxSize const &arg4_defvalue = wxDefaultSize ;
22351 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22352 long arg5 = (long) 0 ;
22353 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22354 wxString *arg6 = (wxString *) &arg6_defvalue ;
22355 wxPyScrolledWindow *result = 0 ;
22356 void *argp1 = 0 ;
22357 int res1 = 0 ;
22358 int val2 ;
22359 int ecode2 = 0 ;
22360 wxPoint temp3 ;
22361 wxSize temp4 ;
22362 long val5 ;
22363 int ecode5 = 0 ;
22364 bool temp6 = false ;
22365 PyObject * obj0 = 0 ;
22366 PyObject * obj1 = 0 ;
22367 PyObject * obj2 = 0 ;
22368 PyObject * obj3 = 0 ;
22369 PyObject * obj4 = 0 ;
22370 PyObject * obj5 = 0 ;
22371 char * kwnames[] = {
22372 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22373 };
22374
22375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22377 if (!SWIG_IsOK(res1)) {
22378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22379 }
22380 arg1 = reinterpret_cast< wxWindow * >(argp1);
22381 if (obj1) {
22382 ecode2 = SWIG_AsVal_int(obj1, &val2);
22383 if (!SWIG_IsOK(ecode2)) {
22384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22385 }
22386 arg2 = static_cast< int >(val2);
22387 }
22388 if (obj2) {
22389 {
22390 arg3 = &temp3;
22391 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22392 }
22393 }
22394 if (obj3) {
22395 {
22396 arg4 = &temp4;
22397 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22398 }
22399 }
22400 if (obj4) {
22401 ecode5 = SWIG_AsVal_long(obj4, &val5);
22402 if (!SWIG_IsOK(ecode5)) {
22403 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22404 }
22405 arg5 = static_cast< long >(val5);
22406 }
22407 if (obj5) {
22408 {
22409 arg6 = wxString_in_helper(obj5);
22410 if (arg6 == NULL) SWIG_fail;
22411 temp6 = true;
22412 }
22413 }
22414 {
22415 if (!wxPyCheckForApp()) SWIG_fail;
22416 PyThreadState* __tstate = wxPyBeginAllowThreads();
22417 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22422 {
22423 if (temp6)
22424 delete arg6;
22425 }
22426 return resultobj;
22427 fail:
22428 {
22429 if (temp6)
22430 delete arg6;
22431 }
22432 return NULL;
22433 }
22434
22435
22436 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22437 PyObject *resultobj = 0;
22438 wxPyScrolledWindow *result = 0 ;
22439
22440 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22441 {
22442 if (!wxPyCheckForApp()) SWIG_fail;
22443 PyThreadState* __tstate = wxPyBeginAllowThreads();
22444 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22445 wxPyEndAllowThreads(__tstate);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 }
22448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22449 return resultobj;
22450 fail:
22451 return NULL;
22452 }
22453
22454
22455 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22456 PyObject *resultobj = 0;
22457 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22458 PyObject *arg2 = (PyObject *) 0 ;
22459 PyObject *arg3 = (PyObject *) 0 ;
22460 void *argp1 = 0 ;
22461 int res1 = 0 ;
22462 PyObject * obj0 = 0 ;
22463 PyObject * obj1 = 0 ;
22464 PyObject * obj2 = 0 ;
22465 char * kwnames[] = {
22466 (char *) "self",(char *) "self",(char *) "_class", NULL
22467 };
22468
22469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22471 if (!SWIG_IsOK(res1)) {
22472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22473 }
22474 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22475 arg2 = obj1;
22476 arg3 = obj2;
22477 {
22478 PyThreadState* __tstate = wxPyBeginAllowThreads();
22479 (arg1)->_setCallbackInfo(arg2,arg3);
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
22483 resultobj = SWIG_Py_Void();
22484 return resultobj;
22485 fail:
22486 return NULL;
22487 }
22488
22489
22490 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22491 PyObject *resultobj = 0;
22492 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22493 wxSize *arg2 = 0 ;
22494 void *argp1 = 0 ;
22495 int res1 = 0 ;
22496 wxSize temp2 ;
22497 PyObject * obj0 = 0 ;
22498 PyObject * obj1 = 0 ;
22499 char * kwnames[] = {
22500 (char *) "self",(char *) "size", NULL
22501 };
22502
22503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22505 if (!SWIG_IsOK(res1)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22507 }
22508 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22509 {
22510 arg2 = &temp2;
22511 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22512 }
22513 {
22514 PyThreadState* __tstate = wxPyBeginAllowThreads();
22515 (arg1)->SetBestSize((wxSize const &)*arg2);
22516 wxPyEndAllowThreads(__tstate);
22517 if (PyErr_Occurred()) SWIG_fail;
22518 }
22519 resultobj = SWIG_Py_Void();
22520 return resultobj;
22521 fail:
22522 return NULL;
22523 }
22524
22525
22526 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22527 PyObject *resultobj = 0;
22528 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22529 wxDC *arg2 = (wxDC *) 0 ;
22530 bool result;
22531 void *argp1 = 0 ;
22532 int res1 = 0 ;
22533 void *argp2 = 0 ;
22534 int res2 = 0 ;
22535 PyObject * obj0 = 0 ;
22536 PyObject * obj1 = 0 ;
22537 char * kwnames[] = {
22538 (char *) "self",(char *) "dc", NULL
22539 };
22540
22541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22543 if (!SWIG_IsOK(res1)) {
22544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22545 }
22546 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22547 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22548 if (!SWIG_IsOK(res2)) {
22549 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22550 }
22551 arg2 = reinterpret_cast< wxDC * >(argp2);
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 result = (bool)(arg1)->DoEraseBackground(arg2);
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 {
22559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22560 }
22561 return resultobj;
22562 fail:
22563 return NULL;
22564 }
22565
22566
22567 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22568 PyObject *resultobj = 0;
22569 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22570 int arg2 ;
22571 int arg3 ;
22572 int arg4 ;
22573 int arg5 ;
22574 void *argp1 = 0 ;
22575 int res1 = 0 ;
22576 int val2 ;
22577 int ecode2 = 0 ;
22578 int val3 ;
22579 int ecode3 = 0 ;
22580 int val4 ;
22581 int ecode4 = 0 ;
22582 int val5 ;
22583 int ecode5 = 0 ;
22584 PyObject * obj0 = 0 ;
22585 PyObject * obj1 = 0 ;
22586 PyObject * obj2 = 0 ;
22587 PyObject * obj3 = 0 ;
22588 PyObject * obj4 = 0 ;
22589 char * kwnames[] = {
22590 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22591 };
22592
22593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22595 if (!SWIG_IsOK(res1)) {
22596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22597 }
22598 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22599 ecode2 = SWIG_AsVal_int(obj1, &val2);
22600 if (!SWIG_IsOK(ecode2)) {
22601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22602 }
22603 arg2 = static_cast< int >(val2);
22604 ecode3 = SWIG_AsVal_int(obj2, &val3);
22605 if (!SWIG_IsOK(ecode3)) {
22606 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22607 }
22608 arg3 = static_cast< int >(val3);
22609 ecode4 = SWIG_AsVal_int(obj3, &val4);
22610 if (!SWIG_IsOK(ecode4)) {
22611 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22612 }
22613 arg4 = static_cast< int >(val4);
22614 ecode5 = SWIG_AsVal_int(obj4, &val5);
22615 if (!SWIG_IsOK(ecode5)) {
22616 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22617 }
22618 arg5 = static_cast< int >(val5);
22619 {
22620 PyThreadState* __tstate = wxPyBeginAllowThreads();
22621 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22622 wxPyEndAllowThreads(__tstate);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 }
22625 resultobj = SWIG_Py_Void();
22626 return resultobj;
22627 fail:
22628 return NULL;
22629 }
22630
22631
22632 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22633 PyObject *resultobj = 0;
22634 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22635 int arg2 ;
22636 int arg3 ;
22637 int arg4 ;
22638 int arg5 ;
22639 int arg6 = (int) wxSIZE_AUTO ;
22640 void *argp1 = 0 ;
22641 int res1 = 0 ;
22642 int val2 ;
22643 int ecode2 = 0 ;
22644 int val3 ;
22645 int ecode3 = 0 ;
22646 int val4 ;
22647 int ecode4 = 0 ;
22648 int val5 ;
22649 int ecode5 = 0 ;
22650 int val6 ;
22651 int ecode6 = 0 ;
22652 PyObject * obj0 = 0 ;
22653 PyObject * obj1 = 0 ;
22654 PyObject * obj2 = 0 ;
22655 PyObject * obj3 = 0 ;
22656 PyObject * obj4 = 0 ;
22657 PyObject * obj5 = 0 ;
22658 char * kwnames[] = {
22659 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22660 };
22661
22662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22664 if (!SWIG_IsOK(res1)) {
22665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22666 }
22667 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22668 ecode2 = SWIG_AsVal_int(obj1, &val2);
22669 if (!SWIG_IsOK(ecode2)) {
22670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22671 }
22672 arg2 = static_cast< int >(val2);
22673 ecode3 = SWIG_AsVal_int(obj2, &val3);
22674 if (!SWIG_IsOK(ecode3)) {
22675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22676 }
22677 arg3 = static_cast< int >(val3);
22678 ecode4 = SWIG_AsVal_int(obj3, &val4);
22679 if (!SWIG_IsOK(ecode4)) {
22680 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22681 }
22682 arg4 = static_cast< int >(val4);
22683 ecode5 = SWIG_AsVal_int(obj4, &val5);
22684 if (!SWIG_IsOK(ecode5)) {
22685 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22686 }
22687 arg5 = static_cast< int >(val5);
22688 if (obj5) {
22689 ecode6 = SWIG_AsVal_int(obj5, &val6);
22690 if (!SWIG_IsOK(ecode6)) {
22691 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22692 }
22693 arg6 = static_cast< int >(val6);
22694 }
22695 {
22696 PyThreadState* __tstate = wxPyBeginAllowThreads();
22697 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22698 wxPyEndAllowThreads(__tstate);
22699 if (PyErr_Occurred()) SWIG_fail;
22700 }
22701 resultobj = SWIG_Py_Void();
22702 return resultobj;
22703 fail:
22704 return NULL;
22705 }
22706
22707
22708 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22709 PyObject *resultobj = 0;
22710 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22711 int arg2 ;
22712 int arg3 ;
22713 void *argp1 = 0 ;
22714 int res1 = 0 ;
22715 int val2 ;
22716 int ecode2 = 0 ;
22717 int val3 ;
22718 int ecode3 = 0 ;
22719 PyObject * obj0 = 0 ;
22720 PyObject * obj1 = 0 ;
22721 PyObject * obj2 = 0 ;
22722 char * kwnames[] = {
22723 (char *) "self",(char *) "width",(char *) "height", NULL
22724 };
22725
22726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22728 if (!SWIG_IsOK(res1)) {
22729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22730 }
22731 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22732 ecode2 = SWIG_AsVal_int(obj1, &val2);
22733 if (!SWIG_IsOK(ecode2)) {
22734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22735 }
22736 arg2 = static_cast< int >(val2);
22737 ecode3 = SWIG_AsVal_int(obj2, &val3);
22738 if (!SWIG_IsOK(ecode3)) {
22739 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22740 }
22741 arg3 = static_cast< int >(val3);
22742 {
22743 PyThreadState* __tstate = wxPyBeginAllowThreads();
22744 (arg1)->DoSetClientSize(arg2,arg3);
22745 wxPyEndAllowThreads(__tstate);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 resultobj = SWIG_Py_Void();
22749 return resultobj;
22750 fail:
22751 return NULL;
22752 }
22753
22754
22755 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22756 PyObject *resultobj = 0;
22757 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22758 int arg2 ;
22759 int arg3 ;
22760 void *argp1 = 0 ;
22761 int res1 = 0 ;
22762 int val2 ;
22763 int ecode2 = 0 ;
22764 int val3 ;
22765 int ecode3 = 0 ;
22766 PyObject * obj0 = 0 ;
22767 PyObject * obj1 = 0 ;
22768 PyObject * obj2 = 0 ;
22769 char * kwnames[] = {
22770 (char *) "self",(char *) "x",(char *) "y", NULL
22771 };
22772
22773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22775 if (!SWIG_IsOK(res1)) {
22776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22777 }
22778 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22779 ecode2 = SWIG_AsVal_int(obj1, &val2);
22780 if (!SWIG_IsOK(ecode2)) {
22781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22782 }
22783 arg2 = static_cast< int >(val2);
22784 ecode3 = SWIG_AsVal_int(obj2, &val3);
22785 if (!SWIG_IsOK(ecode3)) {
22786 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22787 }
22788 arg3 = static_cast< int >(val3);
22789 {
22790 PyThreadState* __tstate = wxPyBeginAllowThreads();
22791 (arg1)->DoSetVirtualSize(arg2,arg3);
22792 wxPyEndAllowThreads(__tstate);
22793 if (PyErr_Occurred()) SWIG_fail;
22794 }
22795 resultobj = SWIG_Py_Void();
22796 return resultobj;
22797 fail:
22798 return NULL;
22799 }
22800
22801
22802 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22803 PyObject *resultobj = 0;
22804 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22805 int *arg2 = (int *) 0 ;
22806 int *arg3 = (int *) 0 ;
22807 void *argp1 = 0 ;
22808 int res1 = 0 ;
22809 int temp2 ;
22810 int res2 = SWIG_TMPOBJ ;
22811 int temp3 ;
22812 int res3 = SWIG_TMPOBJ ;
22813 PyObject *swig_obj[1] ;
22814
22815 arg2 = &temp2;
22816 arg3 = &temp3;
22817 if (!args) SWIG_fail;
22818 swig_obj[0] = args;
22819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22820 if (!SWIG_IsOK(res1)) {
22821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22822 }
22823 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22824 {
22825 PyThreadState* __tstate = wxPyBeginAllowThreads();
22826 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 resultobj = SWIG_Py_Void();
22831 if (SWIG_IsTmpObj(res2)) {
22832 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22833 } else {
22834 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22835 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22836 }
22837 if (SWIG_IsTmpObj(res3)) {
22838 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22839 } else {
22840 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22841 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22842 }
22843 return resultobj;
22844 fail:
22845 return NULL;
22846 }
22847
22848
22849 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22850 PyObject *resultobj = 0;
22851 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22852 int *arg2 = (int *) 0 ;
22853 int *arg3 = (int *) 0 ;
22854 void *argp1 = 0 ;
22855 int res1 = 0 ;
22856 int temp2 ;
22857 int res2 = SWIG_TMPOBJ ;
22858 int temp3 ;
22859 int res3 = SWIG_TMPOBJ ;
22860 PyObject *swig_obj[1] ;
22861
22862 arg2 = &temp2;
22863 arg3 = &temp3;
22864 if (!args) SWIG_fail;
22865 swig_obj[0] = args;
22866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22867 if (!SWIG_IsOK(res1)) {
22868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22869 }
22870 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22871 {
22872 PyThreadState* __tstate = wxPyBeginAllowThreads();
22873 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
22877 resultobj = SWIG_Py_Void();
22878 if (SWIG_IsTmpObj(res2)) {
22879 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22880 } else {
22881 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22882 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22883 }
22884 if (SWIG_IsTmpObj(res3)) {
22885 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22886 } else {
22887 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22888 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22889 }
22890 return resultobj;
22891 fail:
22892 return NULL;
22893 }
22894
22895
22896 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22897 PyObject *resultobj = 0;
22898 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22899 int *arg2 = (int *) 0 ;
22900 int *arg3 = (int *) 0 ;
22901 void *argp1 = 0 ;
22902 int res1 = 0 ;
22903 int temp2 ;
22904 int res2 = SWIG_TMPOBJ ;
22905 int temp3 ;
22906 int res3 = SWIG_TMPOBJ ;
22907 PyObject *swig_obj[1] ;
22908
22909 arg2 = &temp2;
22910 arg3 = &temp3;
22911 if (!args) SWIG_fail;
22912 swig_obj[0] = args;
22913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22914 if (!SWIG_IsOK(res1)) {
22915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22916 }
22917 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22918 {
22919 PyThreadState* __tstate = wxPyBeginAllowThreads();
22920 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
22921 wxPyEndAllowThreads(__tstate);
22922 if (PyErr_Occurred()) SWIG_fail;
22923 }
22924 resultobj = SWIG_Py_Void();
22925 if (SWIG_IsTmpObj(res2)) {
22926 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22927 } else {
22928 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22929 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22930 }
22931 if (SWIG_IsTmpObj(res3)) {
22932 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22933 } else {
22934 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22935 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22936 }
22937 return resultobj;
22938 fail:
22939 return NULL;
22940 }
22941
22942
22943 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22944 PyObject *resultobj = 0;
22945 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22946 wxSize result;
22947 void *argp1 = 0 ;
22948 int res1 = 0 ;
22949 PyObject *swig_obj[1] ;
22950
22951 if (!args) SWIG_fail;
22952 swig_obj[0] = args;
22953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22954 if (!SWIG_IsOK(res1)) {
22955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22956 }
22957 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22958 {
22959 PyThreadState* __tstate = wxPyBeginAllowThreads();
22960 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22965 return resultobj;
22966 fail:
22967 return NULL;
22968 }
22969
22970
22971 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22972 PyObject *resultobj = 0;
22973 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22974 wxSize result;
22975 void *argp1 = 0 ;
22976 int res1 = 0 ;
22977 PyObject *swig_obj[1] ;
22978
22979 if (!args) SWIG_fail;
22980 swig_obj[0] = args;
22981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22982 if (!SWIG_IsOK(res1)) {
22983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22984 }
22985 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22986 {
22987 PyThreadState* __tstate = wxPyBeginAllowThreads();
22988 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
22989 wxPyEndAllowThreads(__tstate);
22990 if (PyErr_Occurred()) SWIG_fail;
22991 }
22992 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22993 return resultobj;
22994 fail:
22995 return NULL;
22996 }
22997
22998
22999 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23000 PyObject *resultobj = 0;
23001 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23002 SwigValueWrapper<wxVisualAttributes > result;
23003 void *argp1 = 0 ;
23004 int res1 = 0 ;
23005 PyObject *swig_obj[1] ;
23006
23007 if (!args) SWIG_fail;
23008 swig_obj[0] = args;
23009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23010 if (!SWIG_IsOK(res1)) {
23011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23012 }
23013 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 result = (arg1)->GetDefaultAttributes();
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23021 return resultobj;
23022 fail:
23023 return NULL;
23024 }
23025
23026
23027 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23028 PyObject *resultobj = 0;
23029 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23030 void *argp1 = 0 ;
23031 int res1 = 0 ;
23032 PyObject *swig_obj[1] ;
23033
23034 if (!args) SWIG_fail;
23035 swig_obj[0] = args;
23036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23037 if (!SWIG_IsOK(res1)) {
23038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23039 }
23040 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23041 {
23042 PyThreadState* __tstate = wxPyBeginAllowThreads();
23043 (arg1)->OnInternalIdle();
23044 wxPyEndAllowThreads(__tstate);
23045 if (PyErr_Occurred()) SWIG_fail;
23046 }
23047 resultobj = SWIG_Py_Void();
23048 return resultobj;
23049 fail:
23050 return NULL;
23051 }
23052
23053
23054 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23055 PyObject *obj;
23056 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23057 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23058 return SWIG_Py_Void();
23059 }
23060
23061 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23062 return SWIG_Python_InitShadowInstance(args);
23063 }
23064
23065 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23066 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23067 return 1;
23068 }
23069
23070
23071 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23072 PyObject *pyobj = 0;
23073
23074 {
23075 #if wxUSE_UNICODE
23076 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23077 #else
23078 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23079 #endif
23080 }
23081 return pyobj;
23082 }
23083
23084
23085 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23086 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23087 return 1;
23088 }
23089
23090
23091 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23092 PyObject *pyobj = 0;
23093
23094 {
23095 #if wxUSE_UNICODE
23096 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23097 #else
23098 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23099 #endif
23100 }
23101 return pyobj;
23102 }
23103
23104
23105 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23106 PyObject *resultobj = 0;
23107 wxPrintData *result = 0 ;
23108
23109 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23110 {
23111 PyThreadState* __tstate = wxPyBeginAllowThreads();
23112 result = (wxPrintData *)new wxPrintData();
23113 wxPyEndAllowThreads(__tstate);
23114 if (PyErr_Occurred()) SWIG_fail;
23115 }
23116 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23117 return resultobj;
23118 fail:
23119 return NULL;
23120 }
23121
23122
23123 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23124 PyObject *resultobj = 0;
23125 wxPrintData *arg1 = 0 ;
23126 wxPrintData *result = 0 ;
23127 void *argp1 = 0 ;
23128 int res1 = 0 ;
23129
23130 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23132 if (!SWIG_IsOK(res1)) {
23133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23134 }
23135 if (!argp1) {
23136 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23137 }
23138 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23139 {
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23142 wxPyEndAllowThreads(__tstate);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 }
23145 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23153 int argc;
23154 PyObject *argv[2];
23155
23156 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23157 --argc;
23158 if (argc == 0) {
23159 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23160 }
23161 if (argc == 1) {
23162 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23163 }
23164
23165 fail:
23166 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23167 return NULL;
23168 }
23169
23170
23171 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23172 PyObject *resultobj = 0;
23173 wxPrintData *arg1 = (wxPrintData *) 0 ;
23174 void *argp1 = 0 ;
23175 int res1 = 0 ;
23176 PyObject *swig_obj[1] ;
23177
23178 if (!args) SWIG_fail;
23179 swig_obj[0] = args;
23180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23181 if (!SWIG_IsOK(res1)) {
23182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23183 }
23184 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23185 {
23186 PyThreadState* __tstate = wxPyBeginAllowThreads();
23187 delete arg1;
23188
23189 wxPyEndAllowThreads(__tstate);
23190 if (PyErr_Occurred()) SWIG_fail;
23191 }
23192 resultobj = SWIG_Py_Void();
23193 return resultobj;
23194 fail:
23195 return NULL;
23196 }
23197
23198
23199 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23200 PyObject *resultobj = 0;
23201 wxPrintData *arg1 = (wxPrintData *) 0 ;
23202 int result;
23203 void *argp1 = 0 ;
23204 int res1 = 0 ;
23205 PyObject *swig_obj[1] ;
23206
23207 if (!args) SWIG_fail;
23208 swig_obj[0] = args;
23209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23210 if (!SWIG_IsOK(res1)) {
23211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23212 }
23213 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23214 {
23215 PyThreadState* __tstate = wxPyBeginAllowThreads();
23216 result = (int)(arg1)->GetNoCopies();
23217 wxPyEndAllowThreads(__tstate);
23218 if (PyErr_Occurred()) SWIG_fail;
23219 }
23220 resultobj = SWIG_From_int(static_cast< int >(result));
23221 return resultobj;
23222 fail:
23223 return NULL;
23224 }
23225
23226
23227 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23228 PyObject *resultobj = 0;
23229 wxPrintData *arg1 = (wxPrintData *) 0 ;
23230 bool result;
23231 void *argp1 = 0 ;
23232 int res1 = 0 ;
23233 PyObject *swig_obj[1] ;
23234
23235 if (!args) SWIG_fail;
23236 swig_obj[0] = args;
23237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23238 if (!SWIG_IsOK(res1)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23240 }
23241 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 result = (bool)(arg1)->GetCollate();
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 {
23249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23250 }
23251 return resultobj;
23252 fail:
23253 return NULL;
23254 }
23255
23256
23257 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23258 PyObject *resultobj = 0;
23259 wxPrintData *arg1 = (wxPrintData *) 0 ;
23260 int result;
23261 void *argp1 = 0 ;
23262 int res1 = 0 ;
23263 PyObject *swig_obj[1] ;
23264
23265 if (!args) SWIG_fail;
23266 swig_obj[0] = args;
23267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23268 if (!SWIG_IsOK(res1)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23270 }
23271 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23272 {
23273 PyThreadState* __tstate = wxPyBeginAllowThreads();
23274 result = (int)(arg1)->GetOrientation();
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 resultobj = SWIG_From_int(static_cast< int >(result));
23279 return resultobj;
23280 fail:
23281 return NULL;
23282 }
23283
23284
23285 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23286 PyObject *resultobj = 0;
23287 wxPrintData *arg1 = (wxPrintData *) 0 ;
23288 bool result;
23289 void *argp1 = 0 ;
23290 int res1 = 0 ;
23291 PyObject *swig_obj[1] ;
23292
23293 if (!args) SWIG_fail;
23294 swig_obj[0] = args;
23295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23296 if (!SWIG_IsOK(res1)) {
23297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23298 }
23299 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23300 {
23301 PyThreadState* __tstate = wxPyBeginAllowThreads();
23302 result = (bool)(arg1)->Ok();
23303 wxPyEndAllowThreads(__tstate);
23304 if (PyErr_Occurred()) SWIG_fail;
23305 }
23306 {
23307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23308 }
23309 return resultobj;
23310 fail:
23311 return NULL;
23312 }
23313
23314
23315 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23316 PyObject *resultobj = 0;
23317 wxPrintData *arg1 = (wxPrintData *) 0 ;
23318 wxString *result = 0 ;
23319 void *argp1 = 0 ;
23320 int res1 = 0 ;
23321 PyObject *swig_obj[1] ;
23322
23323 if (!args) SWIG_fail;
23324 swig_obj[0] = args;
23325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23326 if (!SWIG_IsOK(res1)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23328 }
23329 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 {
23333 wxString const &_result_ref = (arg1)->GetPrinterName();
23334 result = (wxString *) &_result_ref;
23335 }
23336 wxPyEndAllowThreads(__tstate);
23337 if (PyErr_Occurred()) SWIG_fail;
23338 }
23339 {
23340 #if wxUSE_UNICODE
23341 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23342 #else
23343 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23344 #endif
23345 }
23346 return resultobj;
23347 fail:
23348 return NULL;
23349 }
23350
23351
23352 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23353 PyObject *resultobj = 0;
23354 wxPrintData *arg1 = (wxPrintData *) 0 ;
23355 bool result;
23356 void *argp1 = 0 ;
23357 int res1 = 0 ;
23358 PyObject *swig_obj[1] ;
23359
23360 if (!args) SWIG_fail;
23361 swig_obj[0] = args;
23362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23363 if (!SWIG_IsOK(res1)) {
23364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23365 }
23366 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23367 {
23368 PyThreadState* __tstate = wxPyBeginAllowThreads();
23369 result = (bool)(arg1)->GetColour();
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
23373 {
23374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23375 }
23376 return resultobj;
23377 fail:
23378 return NULL;
23379 }
23380
23381
23382 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23383 PyObject *resultobj = 0;
23384 wxPrintData *arg1 = (wxPrintData *) 0 ;
23385 wxDuplexMode result;
23386 void *argp1 = 0 ;
23387 int res1 = 0 ;
23388 PyObject *swig_obj[1] ;
23389
23390 if (!args) SWIG_fail;
23391 swig_obj[0] = args;
23392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23393 if (!SWIG_IsOK(res1)) {
23394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23395 }
23396 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 result = (wxDuplexMode)(arg1)->GetDuplex();
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 resultobj = SWIG_From_int(static_cast< int >(result));
23404 return resultobj;
23405 fail:
23406 return NULL;
23407 }
23408
23409
23410 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23411 PyObject *resultobj = 0;
23412 wxPrintData *arg1 = (wxPrintData *) 0 ;
23413 wxPaperSize result;
23414 void *argp1 = 0 ;
23415 int res1 = 0 ;
23416 PyObject *swig_obj[1] ;
23417
23418 if (!args) SWIG_fail;
23419 swig_obj[0] = args;
23420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23421 if (!SWIG_IsOK(res1)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23423 }
23424 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23425 {
23426 PyThreadState* __tstate = wxPyBeginAllowThreads();
23427 result = (wxPaperSize)(arg1)->GetPaperId();
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 resultobj = SWIG_From_int(static_cast< int >(result));
23432 return resultobj;
23433 fail:
23434 return NULL;
23435 }
23436
23437
23438 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23439 PyObject *resultobj = 0;
23440 wxPrintData *arg1 = (wxPrintData *) 0 ;
23441 wxSize *result = 0 ;
23442 void *argp1 = 0 ;
23443 int res1 = 0 ;
23444 PyObject *swig_obj[1] ;
23445
23446 if (!args) SWIG_fail;
23447 swig_obj[0] = args;
23448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23449 if (!SWIG_IsOK(res1)) {
23450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23451 }
23452 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23453 {
23454 PyThreadState* __tstate = wxPyBeginAllowThreads();
23455 {
23456 wxSize const &_result_ref = (arg1)->GetPaperSize();
23457 result = (wxSize *) &_result_ref;
23458 }
23459 wxPyEndAllowThreads(__tstate);
23460 if (PyErr_Occurred()) SWIG_fail;
23461 }
23462 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23463 return resultobj;
23464 fail:
23465 return NULL;
23466 }
23467
23468
23469 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23470 PyObject *resultobj = 0;
23471 wxPrintData *arg1 = (wxPrintData *) 0 ;
23472 int result;
23473 void *argp1 = 0 ;
23474 int res1 = 0 ;
23475 PyObject *swig_obj[1] ;
23476
23477 if (!args) SWIG_fail;
23478 swig_obj[0] = args;
23479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23480 if (!SWIG_IsOK(res1)) {
23481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23482 }
23483 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 result = (int)(arg1)->GetQuality();
23487 wxPyEndAllowThreads(__tstate);
23488 if (PyErr_Occurred()) SWIG_fail;
23489 }
23490 resultobj = SWIG_From_int(static_cast< int >(result));
23491 return resultobj;
23492 fail:
23493 return NULL;
23494 }
23495
23496
23497 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23498 PyObject *resultobj = 0;
23499 wxPrintData *arg1 = (wxPrintData *) 0 ;
23500 wxPrintBin result;
23501 void *argp1 = 0 ;
23502 int res1 = 0 ;
23503 PyObject *swig_obj[1] ;
23504
23505 if (!args) SWIG_fail;
23506 swig_obj[0] = args;
23507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23508 if (!SWIG_IsOK(res1)) {
23509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23510 }
23511 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23512 {
23513 PyThreadState* __tstate = wxPyBeginAllowThreads();
23514 result = (wxPrintBin)(arg1)->GetBin();
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 resultobj = SWIG_From_int(static_cast< int >(result));
23519 return resultobj;
23520 fail:
23521 return NULL;
23522 }
23523
23524
23525 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23526 PyObject *resultobj = 0;
23527 wxPrintData *arg1 = (wxPrintData *) 0 ;
23528 wxPrintMode result;
23529 void *argp1 = 0 ;
23530 int res1 = 0 ;
23531 PyObject *swig_obj[1] ;
23532
23533 if (!args) SWIG_fail;
23534 swig_obj[0] = args;
23535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23536 if (!SWIG_IsOK(res1)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23538 }
23539 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23540 {
23541 PyThreadState* __tstate = wxPyBeginAllowThreads();
23542 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 resultobj = SWIG_From_int(static_cast< int >(result));
23547 return resultobj;
23548 fail:
23549 return NULL;
23550 }
23551
23552
23553 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23554 PyObject *resultobj = 0;
23555 wxPrintData *arg1 = (wxPrintData *) 0 ;
23556 int arg2 ;
23557 void *argp1 = 0 ;
23558 int res1 = 0 ;
23559 int val2 ;
23560 int ecode2 = 0 ;
23561 PyObject * obj0 = 0 ;
23562 PyObject * obj1 = 0 ;
23563 char * kwnames[] = {
23564 (char *) "self",(char *) "v", NULL
23565 };
23566
23567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23569 if (!SWIG_IsOK(res1)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23571 }
23572 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23573 ecode2 = SWIG_AsVal_int(obj1, &val2);
23574 if (!SWIG_IsOK(ecode2)) {
23575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23576 }
23577 arg2 = static_cast< int >(val2);
23578 {
23579 PyThreadState* __tstate = wxPyBeginAllowThreads();
23580 (arg1)->SetNoCopies(arg2);
23581 wxPyEndAllowThreads(__tstate);
23582 if (PyErr_Occurred()) SWIG_fail;
23583 }
23584 resultobj = SWIG_Py_Void();
23585 return resultobj;
23586 fail:
23587 return NULL;
23588 }
23589
23590
23591 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23592 PyObject *resultobj = 0;
23593 wxPrintData *arg1 = (wxPrintData *) 0 ;
23594 bool arg2 ;
23595 void *argp1 = 0 ;
23596 int res1 = 0 ;
23597 bool val2 ;
23598 int ecode2 = 0 ;
23599 PyObject * obj0 = 0 ;
23600 PyObject * obj1 = 0 ;
23601 char * kwnames[] = {
23602 (char *) "self",(char *) "flag", NULL
23603 };
23604
23605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23607 if (!SWIG_IsOK(res1)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23609 }
23610 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23611 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23612 if (!SWIG_IsOK(ecode2)) {
23613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23614 }
23615 arg2 = static_cast< bool >(val2);
23616 {
23617 PyThreadState* __tstate = wxPyBeginAllowThreads();
23618 (arg1)->SetCollate(arg2);
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 resultobj = SWIG_Py_Void();
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23630 PyObject *resultobj = 0;
23631 wxPrintData *arg1 = (wxPrintData *) 0 ;
23632 int arg2 ;
23633 void *argp1 = 0 ;
23634 int res1 = 0 ;
23635 int val2 ;
23636 int ecode2 = 0 ;
23637 PyObject * obj0 = 0 ;
23638 PyObject * obj1 = 0 ;
23639 char * kwnames[] = {
23640 (char *) "self",(char *) "orient", NULL
23641 };
23642
23643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23645 if (!SWIG_IsOK(res1)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23647 }
23648 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23649 ecode2 = SWIG_AsVal_int(obj1, &val2);
23650 if (!SWIG_IsOK(ecode2)) {
23651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23652 }
23653 arg2 = static_cast< int >(val2);
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 (arg1)->SetOrientation(arg2);
23657 wxPyEndAllowThreads(__tstate);
23658 if (PyErr_Occurred()) SWIG_fail;
23659 }
23660 resultobj = SWIG_Py_Void();
23661 return resultobj;
23662 fail:
23663 return NULL;
23664 }
23665
23666
23667 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23668 PyObject *resultobj = 0;
23669 wxPrintData *arg1 = (wxPrintData *) 0 ;
23670 wxString *arg2 = 0 ;
23671 void *argp1 = 0 ;
23672 int res1 = 0 ;
23673 bool temp2 = false ;
23674 PyObject * obj0 = 0 ;
23675 PyObject * obj1 = 0 ;
23676 char * kwnames[] = {
23677 (char *) "self",(char *) "name", NULL
23678 };
23679
23680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23682 if (!SWIG_IsOK(res1)) {
23683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23684 }
23685 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23686 {
23687 arg2 = wxString_in_helper(obj1);
23688 if (arg2 == NULL) SWIG_fail;
23689 temp2 = true;
23690 }
23691 {
23692 PyThreadState* __tstate = wxPyBeginAllowThreads();
23693 (arg1)->SetPrinterName((wxString const &)*arg2);
23694 wxPyEndAllowThreads(__tstate);
23695 if (PyErr_Occurred()) SWIG_fail;
23696 }
23697 resultobj = SWIG_Py_Void();
23698 {
23699 if (temp2)
23700 delete arg2;
23701 }
23702 return resultobj;
23703 fail:
23704 {
23705 if (temp2)
23706 delete arg2;
23707 }
23708 return NULL;
23709 }
23710
23711
23712 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23713 PyObject *resultobj = 0;
23714 wxPrintData *arg1 = (wxPrintData *) 0 ;
23715 bool arg2 ;
23716 void *argp1 = 0 ;
23717 int res1 = 0 ;
23718 bool val2 ;
23719 int ecode2 = 0 ;
23720 PyObject * obj0 = 0 ;
23721 PyObject * obj1 = 0 ;
23722 char * kwnames[] = {
23723 (char *) "self",(char *) "colour", NULL
23724 };
23725
23726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23728 if (!SWIG_IsOK(res1)) {
23729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23730 }
23731 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23732 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23733 if (!SWIG_IsOK(ecode2)) {
23734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23735 }
23736 arg2 = static_cast< bool >(val2);
23737 {
23738 PyThreadState* __tstate = wxPyBeginAllowThreads();
23739 (arg1)->SetColour(arg2);
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 resultobj = SWIG_Py_Void();
23744 return resultobj;
23745 fail:
23746 return NULL;
23747 }
23748
23749
23750 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23751 PyObject *resultobj = 0;
23752 wxPrintData *arg1 = (wxPrintData *) 0 ;
23753 wxDuplexMode arg2 ;
23754 void *argp1 = 0 ;
23755 int res1 = 0 ;
23756 int val2 ;
23757 int ecode2 = 0 ;
23758 PyObject * obj0 = 0 ;
23759 PyObject * obj1 = 0 ;
23760 char * kwnames[] = {
23761 (char *) "self",(char *) "duplex", NULL
23762 };
23763
23764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23766 if (!SWIG_IsOK(res1)) {
23767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23768 }
23769 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23770 ecode2 = SWIG_AsVal_int(obj1, &val2);
23771 if (!SWIG_IsOK(ecode2)) {
23772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23773 }
23774 arg2 = static_cast< wxDuplexMode >(val2);
23775 {
23776 PyThreadState* __tstate = wxPyBeginAllowThreads();
23777 (arg1)->SetDuplex(arg2);
23778 wxPyEndAllowThreads(__tstate);
23779 if (PyErr_Occurred()) SWIG_fail;
23780 }
23781 resultobj = SWIG_Py_Void();
23782 return resultobj;
23783 fail:
23784 return NULL;
23785 }
23786
23787
23788 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23789 PyObject *resultobj = 0;
23790 wxPrintData *arg1 = (wxPrintData *) 0 ;
23791 wxPaperSize arg2 ;
23792 void *argp1 = 0 ;
23793 int res1 = 0 ;
23794 int val2 ;
23795 int ecode2 = 0 ;
23796 PyObject * obj0 = 0 ;
23797 PyObject * obj1 = 0 ;
23798 char * kwnames[] = {
23799 (char *) "self",(char *) "sizeId", NULL
23800 };
23801
23802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23804 if (!SWIG_IsOK(res1)) {
23805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23806 }
23807 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23808 ecode2 = SWIG_AsVal_int(obj1, &val2);
23809 if (!SWIG_IsOK(ecode2)) {
23810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23811 }
23812 arg2 = static_cast< wxPaperSize >(val2);
23813 {
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 (arg1)->SetPaperId(arg2);
23816 wxPyEndAllowThreads(__tstate);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 }
23819 resultobj = SWIG_Py_Void();
23820 return resultobj;
23821 fail:
23822 return NULL;
23823 }
23824
23825
23826 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23827 PyObject *resultobj = 0;
23828 wxPrintData *arg1 = (wxPrintData *) 0 ;
23829 wxSize *arg2 = 0 ;
23830 void *argp1 = 0 ;
23831 int res1 = 0 ;
23832 wxSize temp2 ;
23833 PyObject * obj0 = 0 ;
23834 PyObject * obj1 = 0 ;
23835 char * kwnames[] = {
23836 (char *) "self",(char *) "sz", NULL
23837 };
23838
23839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
23840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23841 if (!SWIG_IsOK(res1)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23843 }
23844 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23845 {
23846 arg2 = &temp2;
23847 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23848 }
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 (arg1)->SetPaperSize((wxSize const &)*arg2);
23852 wxPyEndAllowThreads(__tstate);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 }
23855 resultobj = SWIG_Py_Void();
23856 return resultobj;
23857 fail:
23858 return NULL;
23859 }
23860
23861
23862 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23863 PyObject *resultobj = 0;
23864 wxPrintData *arg1 = (wxPrintData *) 0 ;
23865 int arg2 ;
23866 void *argp1 = 0 ;
23867 int res1 = 0 ;
23868 int val2 ;
23869 int ecode2 = 0 ;
23870 PyObject * obj0 = 0 ;
23871 PyObject * obj1 = 0 ;
23872 char * kwnames[] = {
23873 (char *) "self",(char *) "quality", NULL
23874 };
23875
23876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
23877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23878 if (!SWIG_IsOK(res1)) {
23879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23880 }
23881 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23882 ecode2 = SWIG_AsVal_int(obj1, &val2);
23883 if (!SWIG_IsOK(ecode2)) {
23884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23885 }
23886 arg2 = static_cast< int >(val2);
23887 {
23888 PyThreadState* __tstate = wxPyBeginAllowThreads();
23889 (arg1)->SetQuality(arg2);
23890 wxPyEndAllowThreads(__tstate);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 }
23893 resultobj = SWIG_Py_Void();
23894 return resultobj;
23895 fail:
23896 return NULL;
23897 }
23898
23899
23900 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23901 PyObject *resultobj = 0;
23902 wxPrintData *arg1 = (wxPrintData *) 0 ;
23903 wxPrintBin arg2 ;
23904 void *argp1 = 0 ;
23905 int res1 = 0 ;
23906 int val2 ;
23907 int ecode2 = 0 ;
23908 PyObject * obj0 = 0 ;
23909 PyObject * obj1 = 0 ;
23910 char * kwnames[] = {
23911 (char *) "self",(char *) "bin", NULL
23912 };
23913
23914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
23915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23916 if (!SWIG_IsOK(res1)) {
23917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23918 }
23919 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23920 ecode2 = SWIG_AsVal_int(obj1, &val2);
23921 if (!SWIG_IsOK(ecode2)) {
23922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
23923 }
23924 arg2 = static_cast< wxPrintBin >(val2);
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 (arg1)->SetBin(arg2);
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 resultobj = SWIG_Py_Void();
23932 return resultobj;
23933 fail:
23934 return NULL;
23935 }
23936
23937
23938 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23939 PyObject *resultobj = 0;
23940 wxPrintData *arg1 = (wxPrintData *) 0 ;
23941 wxPrintMode arg2 ;
23942 void *argp1 = 0 ;
23943 int res1 = 0 ;
23944 int val2 ;
23945 int ecode2 = 0 ;
23946 PyObject * obj0 = 0 ;
23947 PyObject * obj1 = 0 ;
23948 char * kwnames[] = {
23949 (char *) "self",(char *) "printMode", NULL
23950 };
23951
23952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
23953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23954 if (!SWIG_IsOK(res1)) {
23955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
23956 }
23957 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23958 ecode2 = SWIG_AsVal_int(obj1, &val2);
23959 if (!SWIG_IsOK(ecode2)) {
23960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
23961 }
23962 arg2 = static_cast< wxPrintMode >(val2);
23963 {
23964 PyThreadState* __tstate = wxPyBeginAllowThreads();
23965 (arg1)->SetPrintMode(arg2);
23966 wxPyEndAllowThreads(__tstate);
23967 if (PyErr_Occurred()) SWIG_fail;
23968 }
23969 resultobj = SWIG_Py_Void();
23970 return resultobj;
23971 fail:
23972 return NULL;
23973 }
23974
23975
23976 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23977 PyObject *resultobj = 0;
23978 wxPrintData *arg1 = (wxPrintData *) 0 ;
23979 wxString result;
23980 void *argp1 = 0 ;
23981 int res1 = 0 ;
23982 PyObject *swig_obj[1] ;
23983
23984 if (!args) SWIG_fail;
23985 swig_obj[0] = args;
23986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23987 if (!SWIG_IsOK(res1)) {
23988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23989 }
23990 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23991 {
23992 PyThreadState* __tstate = wxPyBeginAllowThreads();
23993 result = ((wxPrintData const *)arg1)->GetFilename();
23994 wxPyEndAllowThreads(__tstate);
23995 if (PyErr_Occurred()) SWIG_fail;
23996 }
23997 {
23998 #if wxUSE_UNICODE
23999 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24000 #else
24001 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24002 #endif
24003 }
24004 return resultobj;
24005 fail:
24006 return NULL;
24007 }
24008
24009
24010 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24011 PyObject *resultobj = 0;
24012 wxPrintData *arg1 = (wxPrintData *) 0 ;
24013 wxString *arg2 = 0 ;
24014 void *argp1 = 0 ;
24015 int res1 = 0 ;
24016 bool temp2 = false ;
24017 PyObject * obj0 = 0 ;
24018 PyObject * obj1 = 0 ;
24019 char * kwnames[] = {
24020 (char *) "self",(char *) "filename", NULL
24021 };
24022
24023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24025 if (!SWIG_IsOK(res1)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24027 }
24028 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24029 {
24030 arg2 = wxString_in_helper(obj1);
24031 if (arg2 == NULL) SWIG_fail;
24032 temp2 = true;
24033 }
24034 {
24035 PyThreadState* __tstate = wxPyBeginAllowThreads();
24036 (arg1)->SetFilename((wxString const &)*arg2);
24037 wxPyEndAllowThreads(__tstate);
24038 if (PyErr_Occurred()) SWIG_fail;
24039 }
24040 resultobj = SWIG_Py_Void();
24041 {
24042 if (temp2)
24043 delete arg2;
24044 }
24045 return resultobj;
24046 fail:
24047 {
24048 if (temp2)
24049 delete arg2;
24050 }
24051 return NULL;
24052 }
24053
24054
24055 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24056 PyObject *resultobj = 0;
24057 wxPrintData *arg1 = (wxPrintData *) 0 ;
24058 PyObject *result = 0 ;
24059 void *argp1 = 0 ;
24060 int res1 = 0 ;
24061 PyObject *swig_obj[1] ;
24062
24063 if (!args) SWIG_fail;
24064 swig_obj[0] = args;
24065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24066 if (!SWIG_IsOK(res1)) {
24067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24068 }
24069 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24070 {
24071 PyThreadState* __tstate = wxPyBeginAllowThreads();
24072 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24073 wxPyEndAllowThreads(__tstate);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 }
24076 resultobj = result;
24077 return resultobj;
24078 fail:
24079 return NULL;
24080 }
24081
24082
24083 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24084 PyObject *resultobj = 0;
24085 wxPrintData *arg1 = (wxPrintData *) 0 ;
24086 PyObject *arg2 = (PyObject *) 0 ;
24087 void *argp1 = 0 ;
24088 int res1 = 0 ;
24089 PyObject * obj0 = 0 ;
24090 PyObject * obj1 = 0 ;
24091 char * kwnames[] = {
24092 (char *) "self",(char *) "data", NULL
24093 };
24094
24095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24097 if (!SWIG_IsOK(res1)) {
24098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24099 }
24100 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24101 arg2 = obj1;
24102 {
24103 PyThreadState* __tstate = wxPyBeginAllowThreads();
24104 wxPrintData_SetPrivData(arg1,arg2);
24105 wxPyEndAllowThreads(__tstate);
24106 if (PyErr_Occurred()) SWIG_fail;
24107 }
24108 resultobj = SWIG_Py_Void();
24109 return resultobj;
24110 fail:
24111 return NULL;
24112 }
24113
24114
24115 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24116 PyObject *obj;
24117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24118 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24119 return SWIG_Py_Void();
24120 }
24121
24122 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24123 return SWIG_Python_InitShadowInstance(args);
24124 }
24125
24126 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24127 PyObject *resultobj = 0;
24128 wxPageSetupDialogData *result = 0 ;
24129
24130 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24131 {
24132 PyThreadState* __tstate = wxPyBeginAllowThreads();
24133 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24134 wxPyEndAllowThreads(__tstate);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 }
24137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24138 return resultobj;
24139 fail:
24140 return NULL;
24141 }
24142
24143
24144 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24145 PyObject *resultobj = 0;
24146 wxPageSetupDialogData *arg1 = 0 ;
24147 wxPageSetupDialogData *result = 0 ;
24148 void *argp1 = 0 ;
24149 int res1 = 0 ;
24150
24151 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24153 if (!SWIG_IsOK(res1)) {
24154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24155 }
24156 if (!argp1) {
24157 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24158 }
24159 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24160 {
24161 PyThreadState* __tstate = wxPyBeginAllowThreads();
24162 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24163 wxPyEndAllowThreads(__tstate);
24164 if (PyErr_Occurred()) SWIG_fail;
24165 }
24166 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24167 return resultobj;
24168 fail:
24169 return NULL;
24170 }
24171
24172
24173 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24174 PyObject *resultobj = 0;
24175 wxPrintData *arg1 = 0 ;
24176 wxPageSetupDialogData *result = 0 ;
24177 void *argp1 = 0 ;
24178 int res1 = 0 ;
24179
24180 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24182 if (!SWIG_IsOK(res1)) {
24183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24184 }
24185 if (!argp1) {
24186 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24187 }
24188 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24196 return resultobj;
24197 fail:
24198 return NULL;
24199 }
24200
24201
24202 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24203 int argc;
24204 PyObject *argv[2];
24205
24206 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24207 --argc;
24208 if (argc == 0) {
24209 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24210 }
24211 if (argc == 1) {
24212 int _v = 0;
24213 {
24214 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24215 _v = SWIG_CheckState(res);
24216 }
24217 if (!_v) goto check_2;
24218 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24219 }
24220 check_2:
24221
24222 if (argc == 1) {
24223 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24224 }
24225
24226 fail:
24227 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24228 return NULL;
24229 }
24230
24231
24232 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24233 PyObject *resultobj = 0;
24234 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24235 void *argp1 = 0 ;
24236 int res1 = 0 ;
24237 PyObject *swig_obj[1] ;
24238
24239 if (!args) SWIG_fail;
24240 swig_obj[0] = args;
24241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24242 if (!SWIG_IsOK(res1)) {
24243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24244 }
24245 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24246 {
24247 PyThreadState* __tstate = wxPyBeginAllowThreads();
24248 delete arg1;
24249
24250 wxPyEndAllowThreads(__tstate);
24251 if (PyErr_Occurred()) SWIG_fail;
24252 }
24253 resultobj = SWIG_Py_Void();
24254 return resultobj;
24255 fail:
24256 return NULL;
24257 }
24258
24259
24260 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24261 PyObject *resultobj = 0;
24262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24263 bool arg2 ;
24264 void *argp1 = 0 ;
24265 int res1 = 0 ;
24266 bool val2 ;
24267 int ecode2 = 0 ;
24268 PyObject * obj0 = 0 ;
24269 PyObject * obj1 = 0 ;
24270 char * kwnames[] = {
24271 (char *) "self",(char *) "flag", NULL
24272 };
24273
24274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24276 if (!SWIG_IsOK(res1)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24278 }
24279 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24280 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24281 if (!SWIG_IsOK(ecode2)) {
24282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24283 }
24284 arg2 = static_cast< bool >(val2);
24285 {
24286 PyThreadState* __tstate = wxPyBeginAllowThreads();
24287 (arg1)->EnableHelp(arg2);
24288 wxPyEndAllowThreads(__tstate);
24289 if (PyErr_Occurred()) SWIG_fail;
24290 }
24291 resultobj = SWIG_Py_Void();
24292 return resultobj;
24293 fail:
24294 return NULL;
24295 }
24296
24297
24298 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24299 PyObject *resultobj = 0;
24300 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24301 bool arg2 ;
24302 void *argp1 = 0 ;
24303 int res1 = 0 ;
24304 bool val2 ;
24305 int ecode2 = 0 ;
24306 PyObject * obj0 = 0 ;
24307 PyObject * obj1 = 0 ;
24308 char * kwnames[] = {
24309 (char *) "self",(char *) "flag", NULL
24310 };
24311
24312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24314 if (!SWIG_IsOK(res1)) {
24315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24316 }
24317 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24318 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24319 if (!SWIG_IsOK(ecode2)) {
24320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24321 }
24322 arg2 = static_cast< bool >(val2);
24323 {
24324 PyThreadState* __tstate = wxPyBeginAllowThreads();
24325 (arg1)->EnableMargins(arg2);
24326 wxPyEndAllowThreads(__tstate);
24327 if (PyErr_Occurred()) SWIG_fail;
24328 }
24329 resultobj = SWIG_Py_Void();
24330 return resultobj;
24331 fail:
24332 return NULL;
24333 }
24334
24335
24336 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24337 PyObject *resultobj = 0;
24338 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24339 bool arg2 ;
24340 void *argp1 = 0 ;
24341 int res1 = 0 ;
24342 bool val2 ;
24343 int ecode2 = 0 ;
24344 PyObject * obj0 = 0 ;
24345 PyObject * obj1 = 0 ;
24346 char * kwnames[] = {
24347 (char *) "self",(char *) "flag", NULL
24348 };
24349
24350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24352 if (!SWIG_IsOK(res1)) {
24353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24354 }
24355 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24356 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24357 if (!SWIG_IsOK(ecode2)) {
24358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24359 }
24360 arg2 = static_cast< bool >(val2);
24361 {
24362 PyThreadState* __tstate = wxPyBeginAllowThreads();
24363 (arg1)->EnableOrientation(arg2);
24364 wxPyEndAllowThreads(__tstate);
24365 if (PyErr_Occurred()) SWIG_fail;
24366 }
24367 resultobj = SWIG_Py_Void();
24368 return resultobj;
24369 fail:
24370 return NULL;
24371 }
24372
24373
24374 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24375 PyObject *resultobj = 0;
24376 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24377 bool arg2 ;
24378 void *argp1 = 0 ;
24379 int res1 = 0 ;
24380 bool val2 ;
24381 int ecode2 = 0 ;
24382 PyObject * obj0 = 0 ;
24383 PyObject * obj1 = 0 ;
24384 char * kwnames[] = {
24385 (char *) "self",(char *) "flag", NULL
24386 };
24387
24388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24390 if (!SWIG_IsOK(res1)) {
24391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24392 }
24393 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24394 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24395 if (!SWIG_IsOK(ecode2)) {
24396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24397 }
24398 arg2 = static_cast< bool >(val2);
24399 {
24400 PyThreadState* __tstate = wxPyBeginAllowThreads();
24401 (arg1)->EnablePaper(arg2);
24402 wxPyEndAllowThreads(__tstate);
24403 if (PyErr_Occurred()) SWIG_fail;
24404 }
24405 resultobj = SWIG_Py_Void();
24406 return resultobj;
24407 fail:
24408 return NULL;
24409 }
24410
24411
24412 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24413 PyObject *resultobj = 0;
24414 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24415 bool arg2 ;
24416 void *argp1 = 0 ;
24417 int res1 = 0 ;
24418 bool val2 ;
24419 int ecode2 = 0 ;
24420 PyObject * obj0 = 0 ;
24421 PyObject * obj1 = 0 ;
24422 char * kwnames[] = {
24423 (char *) "self",(char *) "flag", NULL
24424 };
24425
24426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24428 if (!SWIG_IsOK(res1)) {
24429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24430 }
24431 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24432 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24433 if (!SWIG_IsOK(ecode2)) {
24434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24435 }
24436 arg2 = static_cast< bool >(val2);
24437 {
24438 PyThreadState* __tstate = wxPyBeginAllowThreads();
24439 (arg1)->EnablePrinter(arg2);
24440 wxPyEndAllowThreads(__tstate);
24441 if (PyErr_Occurred()) SWIG_fail;
24442 }
24443 resultobj = SWIG_Py_Void();
24444 return resultobj;
24445 fail:
24446 return NULL;
24447 }
24448
24449
24450 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24451 PyObject *resultobj = 0;
24452 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24453 bool result;
24454 void *argp1 = 0 ;
24455 int res1 = 0 ;
24456 PyObject *swig_obj[1] ;
24457
24458 if (!args) SWIG_fail;
24459 swig_obj[0] = args;
24460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24461 if (!SWIG_IsOK(res1)) {
24462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24463 }
24464 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24465 {
24466 PyThreadState* __tstate = wxPyBeginAllowThreads();
24467 result = (bool)(arg1)->GetDefaultMinMargins();
24468 wxPyEndAllowThreads(__tstate);
24469 if (PyErr_Occurred()) SWIG_fail;
24470 }
24471 {
24472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24473 }
24474 return resultobj;
24475 fail:
24476 return NULL;
24477 }
24478
24479
24480 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24481 PyObject *resultobj = 0;
24482 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24483 bool result;
24484 void *argp1 = 0 ;
24485 int res1 = 0 ;
24486 PyObject *swig_obj[1] ;
24487
24488 if (!args) SWIG_fail;
24489 swig_obj[0] = args;
24490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24491 if (!SWIG_IsOK(res1)) {
24492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24493 }
24494 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24495 {
24496 PyThreadState* __tstate = wxPyBeginAllowThreads();
24497 result = (bool)(arg1)->GetEnableMargins();
24498 wxPyEndAllowThreads(__tstate);
24499 if (PyErr_Occurred()) SWIG_fail;
24500 }
24501 {
24502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24503 }
24504 return resultobj;
24505 fail:
24506 return NULL;
24507 }
24508
24509
24510 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24511 PyObject *resultobj = 0;
24512 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24513 bool result;
24514 void *argp1 = 0 ;
24515 int res1 = 0 ;
24516 PyObject *swig_obj[1] ;
24517
24518 if (!args) SWIG_fail;
24519 swig_obj[0] = args;
24520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24521 if (!SWIG_IsOK(res1)) {
24522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24523 }
24524 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24525 {
24526 PyThreadState* __tstate = wxPyBeginAllowThreads();
24527 result = (bool)(arg1)->GetEnableOrientation();
24528 wxPyEndAllowThreads(__tstate);
24529 if (PyErr_Occurred()) SWIG_fail;
24530 }
24531 {
24532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24533 }
24534 return resultobj;
24535 fail:
24536 return NULL;
24537 }
24538
24539
24540 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24541 PyObject *resultobj = 0;
24542 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24543 bool result;
24544 void *argp1 = 0 ;
24545 int res1 = 0 ;
24546 PyObject *swig_obj[1] ;
24547
24548 if (!args) SWIG_fail;
24549 swig_obj[0] = args;
24550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24551 if (!SWIG_IsOK(res1)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24553 }
24554 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 result = (bool)(arg1)->GetEnablePaper();
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 {
24562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24563 }
24564 return resultobj;
24565 fail:
24566 return NULL;
24567 }
24568
24569
24570 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24571 PyObject *resultobj = 0;
24572 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24573 bool result;
24574 void *argp1 = 0 ;
24575 int res1 = 0 ;
24576 PyObject *swig_obj[1] ;
24577
24578 if (!args) SWIG_fail;
24579 swig_obj[0] = args;
24580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24581 if (!SWIG_IsOK(res1)) {
24582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24583 }
24584 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24585 {
24586 PyThreadState* __tstate = wxPyBeginAllowThreads();
24587 result = (bool)(arg1)->GetEnablePrinter();
24588 wxPyEndAllowThreads(__tstate);
24589 if (PyErr_Occurred()) SWIG_fail;
24590 }
24591 {
24592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24593 }
24594 return resultobj;
24595 fail:
24596 return NULL;
24597 }
24598
24599
24600 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24601 PyObject *resultobj = 0;
24602 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24603 bool result;
24604 void *argp1 = 0 ;
24605 int res1 = 0 ;
24606 PyObject *swig_obj[1] ;
24607
24608 if (!args) SWIG_fail;
24609 swig_obj[0] = args;
24610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24611 if (!SWIG_IsOK(res1)) {
24612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24613 }
24614 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24615 {
24616 PyThreadState* __tstate = wxPyBeginAllowThreads();
24617 result = (bool)(arg1)->GetEnableHelp();
24618 wxPyEndAllowThreads(__tstate);
24619 if (PyErr_Occurred()) SWIG_fail;
24620 }
24621 {
24622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24623 }
24624 return resultobj;
24625 fail:
24626 return NULL;
24627 }
24628
24629
24630 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24631 PyObject *resultobj = 0;
24632 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24633 bool result;
24634 void *argp1 = 0 ;
24635 int res1 = 0 ;
24636 PyObject *swig_obj[1] ;
24637
24638 if (!args) SWIG_fail;
24639 swig_obj[0] = args;
24640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24641 if (!SWIG_IsOK(res1)) {
24642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24643 }
24644 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24645 {
24646 PyThreadState* __tstate = wxPyBeginAllowThreads();
24647 result = (bool)(arg1)->GetDefaultInfo();
24648 wxPyEndAllowThreads(__tstate);
24649 if (PyErr_Occurred()) SWIG_fail;
24650 }
24651 {
24652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24653 }
24654 return resultobj;
24655 fail:
24656 return NULL;
24657 }
24658
24659
24660 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24661 PyObject *resultobj = 0;
24662 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24663 wxPoint result;
24664 void *argp1 = 0 ;
24665 int res1 = 0 ;
24666 PyObject *swig_obj[1] ;
24667
24668 if (!args) SWIG_fail;
24669 swig_obj[0] = args;
24670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24671 if (!SWIG_IsOK(res1)) {
24672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24673 }
24674 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24675 {
24676 PyThreadState* __tstate = wxPyBeginAllowThreads();
24677 result = (arg1)->GetMarginTopLeft();
24678 wxPyEndAllowThreads(__tstate);
24679 if (PyErr_Occurred()) SWIG_fail;
24680 }
24681 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24682 return resultobj;
24683 fail:
24684 return NULL;
24685 }
24686
24687
24688 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24689 PyObject *resultobj = 0;
24690 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24691 wxPoint result;
24692 void *argp1 = 0 ;
24693 int res1 = 0 ;
24694 PyObject *swig_obj[1] ;
24695
24696 if (!args) SWIG_fail;
24697 swig_obj[0] = args;
24698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24699 if (!SWIG_IsOK(res1)) {
24700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24701 }
24702 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24703 {
24704 PyThreadState* __tstate = wxPyBeginAllowThreads();
24705 result = (arg1)->GetMarginBottomRight();
24706 wxPyEndAllowThreads(__tstate);
24707 if (PyErr_Occurred()) SWIG_fail;
24708 }
24709 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24710 return resultobj;
24711 fail:
24712 return NULL;
24713 }
24714
24715
24716 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24717 PyObject *resultobj = 0;
24718 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24719 wxPoint result;
24720 void *argp1 = 0 ;
24721 int res1 = 0 ;
24722 PyObject *swig_obj[1] ;
24723
24724 if (!args) SWIG_fail;
24725 swig_obj[0] = args;
24726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24727 if (!SWIG_IsOK(res1)) {
24728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24729 }
24730 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24731 {
24732 PyThreadState* __tstate = wxPyBeginAllowThreads();
24733 result = (arg1)->GetMinMarginTopLeft();
24734 wxPyEndAllowThreads(__tstate);
24735 if (PyErr_Occurred()) SWIG_fail;
24736 }
24737 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24738 return resultobj;
24739 fail:
24740 return NULL;
24741 }
24742
24743
24744 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24745 PyObject *resultobj = 0;
24746 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24747 wxPoint result;
24748 void *argp1 = 0 ;
24749 int res1 = 0 ;
24750 PyObject *swig_obj[1] ;
24751
24752 if (!args) SWIG_fail;
24753 swig_obj[0] = args;
24754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24755 if (!SWIG_IsOK(res1)) {
24756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24757 }
24758 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24759 {
24760 PyThreadState* __tstate = wxPyBeginAllowThreads();
24761 result = (arg1)->GetMinMarginBottomRight();
24762 wxPyEndAllowThreads(__tstate);
24763 if (PyErr_Occurred()) SWIG_fail;
24764 }
24765 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24766 return resultobj;
24767 fail:
24768 return NULL;
24769 }
24770
24771
24772 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24773 PyObject *resultobj = 0;
24774 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24775 wxPaperSize result;
24776 void *argp1 = 0 ;
24777 int res1 = 0 ;
24778 PyObject *swig_obj[1] ;
24779
24780 if (!args) SWIG_fail;
24781 swig_obj[0] = args;
24782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24783 if (!SWIG_IsOK(res1)) {
24784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24785 }
24786 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 result = (wxPaperSize)(arg1)->GetPaperId();
24790 wxPyEndAllowThreads(__tstate);
24791 if (PyErr_Occurred()) SWIG_fail;
24792 }
24793 resultobj = SWIG_From_int(static_cast< int >(result));
24794 return resultobj;
24795 fail:
24796 return NULL;
24797 }
24798
24799
24800 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24801 PyObject *resultobj = 0;
24802 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24803 wxSize result;
24804 void *argp1 = 0 ;
24805 int res1 = 0 ;
24806 PyObject *swig_obj[1] ;
24807
24808 if (!args) SWIG_fail;
24809 swig_obj[0] = args;
24810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24811 if (!SWIG_IsOK(res1)) {
24812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24813 }
24814 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24815 {
24816 PyThreadState* __tstate = wxPyBeginAllowThreads();
24817 result = (arg1)->GetPaperSize();
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24822 return resultobj;
24823 fail:
24824 return NULL;
24825 }
24826
24827
24828 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24829 PyObject *resultobj = 0;
24830 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24831 wxPrintData *result = 0 ;
24832 void *argp1 = 0 ;
24833 int res1 = 0 ;
24834 PyObject *swig_obj[1] ;
24835
24836 if (!args) SWIG_fail;
24837 swig_obj[0] = args;
24838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24839 if (!SWIG_IsOK(res1)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24841 }
24842 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24843 {
24844 PyThreadState* __tstate = wxPyBeginAllowThreads();
24845 {
24846 wxPrintData &_result_ref = (arg1)->GetPrintData();
24847 result = (wxPrintData *) &_result_ref;
24848 }
24849 wxPyEndAllowThreads(__tstate);
24850 if (PyErr_Occurred()) SWIG_fail;
24851 }
24852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
24853 return resultobj;
24854 fail:
24855 return NULL;
24856 }
24857
24858
24859 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24860 PyObject *resultobj = 0;
24861 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24862 bool result;
24863 void *argp1 = 0 ;
24864 int res1 = 0 ;
24865 PyObject *swig_obj[1] ;
24866
24867 if (!args) SWIG_fail;
24868 swig_obj[0] = args;
24869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24870 if (!SWIG_IsOK(res1)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24872 }
24873 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24874 {
24875 PyThreadState* __tstate = wxPyBeginAllowThreads();
24876 result = (bool)(arg1)->Ok();
24877 wxPyEndAllowThreads(__tstate);
24878 if (PyErr_Occurred()) SWIG_fail;
24879 }
24880 {
24881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24882 }
24883 return resultobj;
24884 fail:
24885 return NULL;
24886 }
24887
24888
24889 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24890 PyObject *resultobj = 0;
24891 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24892 bool arg2 ;
24893 void *argp1 = 0 ;
24894 int res1 = 0 ;
24895 bool val2 ;
24896 int ecode2 = 0 ;
24897 PyObject * obj0 = 0 ;
24898 PyObject * obj1 = 0 ;
24899 char * kwnames[] = {
24900 (char *) "self",(char *) "flag", NULL
24901 };
24902
24903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
24904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24905 if (!SWIG_IsOK(res1)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24907 }
24908 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24909 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24910 if (!SWIG_IsOK(ecode2)) {
24911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
24912 }
24913 arg2 = static_cast< bool >(val2);
24914 {
24915 PyThreadState* __tstate = wxPyBeginAllowThreads();
24916 (arg1)->SetDefaultInfo(arg2);
24917 wxPyEndAllowThreads(__tstate);
24918 if (PyErr_Occurred()) SWIG_fail;
24919 }
24920 resultobj = SWIG_Py_Void();
24921 return resultobj;
24922 fail:
24923 return NULL;
24924 }
24925
24926
24927 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24928 PyObject *resultobj = 0;
24929 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24930 bool arg2 ;
24931 void *argp1 = 0 ;
24932 int res1 = 0 ;
24933 bool val2 ;
24934 int ecode2 = 0 ;
24935 PyObject * obj0 = 0 ;
24936 PyObject * obj1 = 0 ;
24937 char * kwnames[] = {
24938 (char *) "self",(char *) "flag", NULL
24939 };
24940
24941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24943 if (!SWIG_IsOK(res1)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24945 }
24946 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24947 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24948 if (!SWIG_IsOK(ecode2)) {
24949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
24950 }
24951 arg2 = static_cast< bool >(val2);
24952 {
24953 PyThreadState* __tstate = wxPyBeginAllowThreads();
24954 (arg1)->SetDefaultMinMargins(arg2);
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 resultobj = SWIG_Py_Void();
24959 return resultobj;
24960 fail:
24961 return NULL;
24962 }
24963
24964
24965 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24966 PyObject *resultobj = 0;
24967 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24968 wxPoint *arg2 = 0 ;
24969 void *argp1 = 0 ;
24970 int res1 = 0 ;
24971 wxPoint temp2 ;
24972 PyObject * obj0 = 0 ;
24973 PyObject * obj1 = 0 ;
24974 char * kwnames[] = {
24975 (char *) "self",(char *) "pt", NULL
24976 };
24977
24978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
24979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24980 if (!SWIG_IsOK(res1)) {
24981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24982 }
24983 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24984 {
24985 arg2 = &temp2;
24986 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24987 }
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
24991 wxPyEndAllowThreads(__tstate);
24992 if (PyErr_Occurred()) SWIG_fail;
24993 }
24994 resultobj = SWIG_Py_Void();
24995 return resultobj;
24996 fail:
24997 return NULL;
24998 }
24999
25000
25001 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25002 PyObject *resultobj = 0;
25003 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25004 wxPoint *arg2 = 0 ;
25005 void *argp1 = 0 ;
25006 int res1 = 0 ;
25007 wxPoint temp2 ;
25008 PyObject * obj0 = 0 ;
25009 PyObject * obj1 = 0 ;
25010 char * kwnames[] = {
25011 (char *) "self",(char *) "pt", NULL
25012 };
25013
25014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25016 if (!SWIG_IsOK(res1)) {
25017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25018 }
25019 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25020 {
25021 arg2 = &temp2;
25022 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25023 }
25024 {
25025 PyThreadState* __tstate = wxPyBeginAllowThreads();
25026 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25027 wxPyEndAllowThreads(__tstate);
25028 if (PyErr_Occurred()) SWIG_fail;
25029 }
25030 resultobj = SWIG_Py_Void();
25031 return resultobj;
25032 fail:
25033 return NULL;
25034 }
25035
25036
25037 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25038 PyObject *resultobj = 0;
25039 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25040 wxPoint *arg2 = 0 ;
25041 void *argp1 = 0 ;
25042 int res1 = 0 ;
25043 wxPoint temp2 ;
25044 PyObject * obj0 = 0 ;
25045 PyObject * obj1 = 0 ;
25046 char * kwnames[] = {
25047 (char *) "self",(char *) "pt", NULL
25048 };
25049
25050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25052 if (!SWIG_IsOK(res1)) {
25053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25054 }
25055 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25056 {
25057 arg2 = &temp2;
25058 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25059 }
25060 {
25061 PyThreadState* __tstate = wxPyBeginAllowThreads();
25062 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25063 wxPyEndAllowThreads(__tstate);
25064 if (PyErr_Occurred()) SWIG_fail;
25065 }
25066 resultobj = SWIG_Py_Void();
25067 return resultobj;
25068 fail:
25069 return NULL;
25070 }
25071
25072
25073 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25074 PyObject *resultobj = 0;
25075 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25076 wxPoint *arg2 = 0 ;
25077 void *argp1 = 0 ;
25078 int res1 = 0 ;
25079 wxPoint temp2 ;
25080 PyObject * obj0 = 0 ;
25081 PyObject * obj1 = 0 ;
25082 char * kwnames[] = {
25083 (char *) "self",(char *) "pt", NULL
25084 };
25085
25086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25088 if (!SWIG_IsOK(res1)) {
25089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25090 }
25091 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25092 {
25093 arg2 = &temp2;
25094 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25095 }
25096 {
25097 PyThreadState* __tstate = wxPyBeginAllowThreads();
25098 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25099 wxPyEndAllowThreads(__tstate);
25100 if (PyErr_Occurred()) SWIG_fail;
25101 }
25102 resultobj = SWIG_Py_Void();
25103 return resultobj;
25104 fail:
25105 return NULL;
25106 }
25107
25108
25109 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25110 PyObject *resultobj = 0;
25111 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25112 wxPaperSize arg2 ;
25113 void *argp1 = 0 ;
25114 int res1 = 0 ;
25115 int val2 ;
25116 int ecode2 = 0 ;
25117 PyObject * obj0 = 0 ;
25118 PyObject * obj1 = 0 ;
25119 char * kwnames[] = {
25120 (char *) "self",(char *) "id", NULL
25121 };
25122
25123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25125 if (!SWIG_IsOK(res1)) {
25126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25127 }
25128 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25129 ecode2 = SWIG_AsVal_int(obj1, &val2);
25130 if (!SWIG_IsOK(ecode2)) {
25131 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25132 }
25133 arg2 = static_cast< wxPaperSize >(val2);
25134 {
25135 PyThreadState* __tstate = wxPyBeginAllowThreads();
25136 (arg1)->SetPaperId(arg2);
25137 wxPyEndAllowThreads(__tstate);
25138 if (PyErr_Occurred()) SWIG_fail;
25139 }
25140 resultobj = SWIG_Py_Void();
25141 return resultobj;
25142 fail:
25143 return NULL;
25144 }
25145
25146
25147 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25148 PyObject *resultobj = 0;
25149 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25150 wxSize *arg2 = 0 ;
25151 void *argp1 = 0 ;
25152 int res1 = 0 ;
25153 wxSize temp2 ;
25154 PyObject * obj0 = 0 ;
25155 PyObject * obj1 = 0 ;
25156 char * kwnames[] = {
25157 (char *) "self",(char *) "size", NULL
25158 };
25159
25160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25162 if (!SWIG_IsOK(res1)) {
25163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25164 }
25165 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25166 {
25167 arg2 = &temp2;
25168 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25169 }
25170 {
25171 PyThreadState* __tstate = wxPyBeginAllowThreads();
25172 (arg1)->SetPaperSize((wxSize const &)*arg2);
25173 wxPyEndAllowThreads(__tstate);
25174 if (PyErr_Occurred()) SWIG_fail;
25175 }
25176 resultobj = SWIG_Py_Void();
25177 return resultobj;
25178 fail:
25179 return NULL;
25180 }
25181
25182
25183 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25184 PyObject *resultobj = 0;
25185 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25186 wxPrintData *arg2 = 0 ;
25187 void *argp1 = 0 ;
25188 int res1 = 0 ;
25189 void *argp2 = 0 ;
25190 int res2 = 0 ;
25191 PyObject * obj0 = 0 ;
25192 PyObject * obj1 = 0 ;
25193 char * kwnames[] = {
25194 (char *) "self",(char *) "printData", NULL
25195 };
25196
25197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25199 if (!SWIG_IsOK(res1)) {
25200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25201 }
25202 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25203 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25204 if (!SWIG_IsOK(res2)) {
25205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25206 }
25207 if (!argp2) {
25208 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25209 }
25210 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25211 {
25212 PyThreadState* __tstate = wxPyBeginAllowThreads();
25213 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25214 wxPyEndAllowThreads(__tstate);
25215 if (PyErr_Occurred()) SWIG_fail;
25216 }
25217 resultobj = SWIG_Py_Void();
25218 return resultobj;
25219 fail:
25220 return NULL;
25221 }
25222
25223
25224 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25225 PyObject *resultobj = 0;
25226 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25227 void *argp1 = 0 ;
25228 int res1 = 0 ;
25229 PyObject *swig_obj[1] ;
25230
25231 if (!args) SWIG_fail;
25232 swig_obj[0] = args;
25233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25234 if (!SWIG_IsOK(res1)) {
25235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25236 }
25237 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25238 {
25239 PyThreadState* __tstate = wxPyBeginAllowThreads();
25240 (arg1)->CalculateIdFromPaperSize();
25241 wxPyEndAllowThreads(__tstate);
25242 if (PyErr_Occurred()) SWIG_fail;
25243 }
25244 resultobj = SWIG_Py_Void();
25245 return resultobj;
25246 fail:
25247 return NULL;
25248 }
25249
25250
25251 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25252 PyObject *resultobj = 0;
25253 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25254 void *argp1 = 0 ;
25255 int res1 = 0 ;
25256 PyObject *swig_obj[1] ;
25257
25258 if (!args) SWIG_fail;
25259 swig_obj[0] = args;
25260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25261 if (!SWIG_IsOK(res1)) {
25262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25263 }
25264 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25265 {
25266 PyThreadState* __tstate = wxPyBeginAllowThreads();
25267 (arg1)->CalculatePaperSizeFromId();
25268 wxPyEndAllowThreads(__tstate);
25269 if (PyErr_Occurred()) SWIG_fail;
25270 }
25271 resultobj = SWIG_Py_Void();
25272 return resultobj;
25273 fail:
25274 return NULL;
25275 }
25276
25277
25278 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25279 PyObject *obj;
25280 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25281 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25282 return SWIG_Py_Void();
25283 }
25284
25285 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25286 return SWIG_Python_InitShadowInstance(args);
25287 }
25288
25289 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25290 PyObject *resultobj = 0;
25291 wxWindow *arg1 = (wxWindow *) 0 ;
25292 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25293 wxPageSetupDialog *result = 0 ;
25294 void *argp1 = 0 ;
25295 int res1 = 0 ;
25296 void *argp2 = 0 ;
25297 int res2 = 0 ;
25298 PyObject * obj0 = 0 ;
25299 PyObject * obj1 = 0 ;
25300 char * kwnames[] = {
25301 (char *) "parent",(char *) "data", NULL
25302 };
25303
25304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25306 if (!SWIG_IsOK(res1)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25308 }
25309 arg1 = reinterpret_cast< wxWindow * >(argp1);
25310 if (obj1) {
25311 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25312 if (!SWIG_IsOK(res2)) {
25313 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25314 }
25315 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25316 }
25317 {
25318 if (!wxPyCheckForApp()) SWIG_fail;
25319 PyThreadState* __tstate = wxPyBeginAllowThreads();
25320 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25321 wxPyEndAllowThreads(__tstate);
25322 if (PyErr_Occurred()) SWIG_fail;
25323 }
25324 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25325 return resultobj;
25326 fail:
25327 return NULL;
25328 }
25329
25330
25331 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25332 PyObject *resultobj = 0;
25333 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25334 void *argp1 = 0 ;
25335 int res1 = 0 ;
25336 PyObject *swig_obj[1] ;
25337
25338 if (!args) SWIG_fail;
25339 swig_obj[0] = args;
25340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25341 if (!SWIG_IsOK(res1)) {
25342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25343 }
25344 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25345 {
25346 PyThreadState* __tstate = wxPyBeginAllowThreads();
25347 delete arg1;
25348
25349 wxPyEndAllowThreads(__tstate);
25350 if (PyErr_Occurred()) SWIG_fail;
25351 }
25352 resultobj = SWIG_Py_Void();
25353 return resultobj;
25354 fail:
25355 return NULL;
25356 }
25357
25358
25359 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25360 PyObject *resultobj = 0;
25361 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25362 wxPageSetupDialogData *result = 0 ;
25363 void *argp1 = 0 ;
25364 int res1 = 0 ;
25365 PyObject *swig_obj[1] ;
25366
25367 if (!args) SWIG_fail;
25368 swig_obj[0] = args;
25369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25370 if (!SWIG_IsOK(res1)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25372 }
25373 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 {
25377 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25378 result = (wxPageSetupDialogData *) &_result_ref;
25379 }
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
25383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25384 return resultobj;
25385 fail:
25386 return NULL;
25387 }
25388
25389
25390 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25391 PyObject *resultobj = 0;
25392 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25393 wxPageSetupDialogData *result = 0 ;
25394 void *argp1 = 0 ;
25395 int res1 = 0 ;
25396 PyObject *swig_obj[1] ;
25397
25398 if (!args) SWIG_fail;
25399 swig_obj[0] = args;
25400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25401 if (!SWIG_IsOK(res1)) {
25402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25403 }
25404 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25405 {
25406 PyThreadState* __tstate = wxPyBeginAllowThreads();
25407 {
25408 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25409 result = (wxPageSetupDialogData *) &_result_ref;
25410 }
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
25414 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25415 return resultobj;
25416 fail:
25417 return NULL;
25418 }
25419
25420
25421 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25422 PyObject *resultobj = 0;
25423 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25424 int result;
25425 void *argp1 = 0 ;
25426 int res1 = 0 ;
25427 PyObject *swig_obj[1] ;
25428
25429 if (!args) SWIG_fail;
25430 swig_obj[0] = args;
25431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25432 if (!SWIG_IsOK(res1)) {
25433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25434 }
25435 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25436 {
25437 PyThreadState* __tstate = wxPyBeginAllowThreads();
25438 result = (int)(arg1)->ShowModal();
25439 wxPyEndAllowThreads(__tstate);
25440 if (PyErr_Occurred()) SWIG_fail;
25441 }
25442 resultobj = SWIG_From_int(static_cast< int >(result));
25443 return resultobj;
25444 fail:
25445 return NULL;
25446 }
25447
25448
25449 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25450 PyObject *obj;
25451 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25452 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25453 return SWIG_Py_Void();
25454 }
25455
25456 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25457 return SWIG_Python_InitShadowInstance(args);
25458 }
25459
25460 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25461 PyObject *resultobj = 0;
25462 wxPrintDialogData *result = 0 ;
25463
25464 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25465 {
25466 PyThreadState* __tstate = wxPyBeginAllowThreads();
25467 result = (wxPrintDialogData *)new wxPrintDialogData();
25468 wxPyEndAllowThreads(__tstate);
25469 if (PyErr_Occurred()) SWIG_fail;
25470 }
25471 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25472 return resultobj;
25473 fail:
25474 return NULL;
25475 }
25476
25477
25478 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25479 PyObject *resultobj = 0;
25480 wxPrintData *arg1 = 0 ;
25481 wxPrintDialogData *result = 0 ;
25482 void *argp1 = 0 ;
25483 int res1 = 0 ;
25484
25485 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25487 if (!SWIG_IsOK(res1)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25489 }
25490 if (!argp1) {
25491 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25492 }
25493 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25494 {
25495 PyThreadState* __tstate = wxPyBeginAllowThreads();
25496 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25497 wxPyEndAllowThreads(__tstate);
25498 if (PyErr_Occurred()) SWIG_fail;
25499 }
25500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25501 return resultobj;
25502 fail:
25503 return NULL;
25504 }
25505
25506
25507 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25508 PyObject *resultobj = 0;
25509 wxPrintDialogData *arg1 = 0 ;
25510 wxPrintDialogData *result = 0 ;
25511 void *argp1 = 0 ;
25512 int res1 = 0 ;
25513
25514 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25516 if (!SWIG_IsOK(res1)) {
25517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25518 }
25519 if (!argp1) {
25520 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25521 }
25522 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25523 {
25524 PyThreadState* __tstate = wxPyBeginAllowThreads();
25525 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25526 wxPyEndAllowThreads(__tstate);
25527 if (PyErr_Occurred()) SWIG_fail;
25528 }
25529 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25530 return resultobj;
25531 fail:
25532 return NULL;
25533 }
25534
25535
25536 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25537 int argc;
25538 PyObject *argv[2];
25539
25540 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25541 --argc;
25542 if (argc == 0) {
25543 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25544 }
25545 if (argc == 1) {
25546 int _v = 0;
25547 {
25548 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25549 _v = SWIG_CheckState(res);
25550 }
25551 if (!_v) goto check_2;
25552 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25553 }
25554 check_2:
25555
25556 if (argc == 1) {
25557 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25558 }
25559
25560 fail:
25561 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25562 return NULL;
25563 }
25564
25565
25566 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25567 PyObject *resultobj = 0;
25568 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25569 void *argp1 = 0 ;
25570 int res1 = 0 ;
25571 PyObject *swig_obj[1] ;
25572
25573 if (!args) SWIG_fail;
25574 swig_obj[0] = args;
25575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25576 if (!SWIG_IsOK(res1)) {
25577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25578 }
25579 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25580 {
25581 PyThreadState* __tstate = wxPyBeginAllowThreads();
25582 delete arg1;
25583
25584 wxPyEndAllowThreads(__tstate);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
25587 resultobj = SWIG_Py_Void();
25588 return resultobj;
25589 fail:
25590 return NULL;
25591 }
25592
25593
25594 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25595 PyObject *resultobj = 0;
25596 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25597 int result;
25598 void *argp1 = 0 ;
25599 int res1 = 0 ;
25600 PyObject *swig_obj[1] ;
25601
25602 if (!args) SWIG_fail;
25603 swig_obj[0] = args;
25604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25605 if (!SWIG_IsOK(res1)) {
25606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25607 }
25608 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25609 {
25610 PyThreadState* __tstate = wxPyBeginAllowThreads();
25611 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 resultobj = SWIG_From_int(static_cast< int >(result));
25616 return resultobj;
25617 fail:
25618 return NULL;
25619 }
25620
25621
25622 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25623 PyObject *resultobj = 0;
25624 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25625 int result;
25626 void *argp1 = 0 ;
25627 int res1 = 0 ;
25628 PyObject *swig_obj[1] ;
25629
25630 if (!args) SWIG_fail;
25631 swig_obj[0] = args;
25632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25633 if (!SWIG_IsOK(res1)) {
25634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25635 }
25636 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25637 {
25638 PyThreadState* __tstate = wxPyBeginAllowThreads();
25639 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25640 wxPyEndAllowThreads(__tstate);
25641 if (PyErr_Occurred()) SWIG_fail;
25642 }
25643 resultobj = SWIG_From_int(static_cast< int >(result));
25644 return resultobj;
25645 fail:
25646 return NULL;
25647 }
25648
25649
25650 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25651 PyObject *resultobj = 0;
25652 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25653 int result;
25654 void *argp1 = 0 ;
25655 int res1 = 0 ;
25656 PyObject *swig_obj[1] ;
25657
25658 if (!args) SWIG_fail;
25659 swig_obj[0] = args;
25660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25661 if (!SWIG_IsOK(res1)) {
25662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25663 }
25664 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25665 {
25666 PyThreadState* __tstate = wxPyBeginAllowThreads();
25667 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25668 wxPyEndAllowThreads(__tstate);
25669 if (PyErr_Occurred()) SWIG_fail;
25670 }
25671 resultobj = SWIG_From_int(static_cast< int >(result));
25672 return resultobj;
25673 fail:
25674 return NULL;
25675 }
25676
25677
25678 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25679 PyObject *resultobj = 0;
25680 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25681 int result;
25682 void *argp1 = 0 ;
25683 int res1 = 0 ;
25684 PyObject *swig_obj[1] ;
25685
25686 if (!args) SWIG_fail;
25687 swig_obj[0] = args;
25688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25689 if (!SWIG_IsOK(res1)) {
25690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25691 }
25692 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25693 {
25694 PyThreadState* __tstate = wxPyBeginAllowThreads();
25695 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25696 wxPyEndAllowThreads(__tstate);
25697 if (PyErr_Occurred()) SWIG_fail;
25698 }
25699 resultobj = SWIG_From_int(static_cast< int >(result));
25700 return resultobj;
25701 fail:
25702 return NULL;
25703 }
25704
25705
25706 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25707 PyObject *resultobj = 0;
25708 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25709 int result;
25710 void *argp1 = 0 ;
25711 int res1 = 0 ;
25712 PyObject *swig_obj[1] ;
25713
25714 if (!args) SWIG_fail;
25715 swig_obj[0] = args;
25716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25717 if (!SWIG_IsOK(res1)) {
25718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25719 }
25720 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25721 {
25722 PyThreadState* __tstate = wxPyBeginAllowThreads();
25723 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25724 wxPyEndAllowThreads(__tstate);
25725 if (PyErr_Occurred()) SWIG_fail;
25726 }
25727 resultobj = SWIG_From_int(static_cast< int >(result));
25728 return resultobj;
25729 fail:
25730 return NULL;
25731 }
25732
25733
25734 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25735 PyObject *resultobj = 0;
25736 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25737 bool result;
25738 void *argp1 = 0 ;
25739 int res1 = 0 ;
25740 PyObject *swig_obj[1] ;
25741
25742 if (!args) SWIG_fail;
25743 swig_obj[0] = args;
25744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25745 if (!SWIG_IsOK(res1)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25747 }
25748 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25749 {
25750 PyThreadState* __tstate = wxPyBeginAllowThreads();
25751 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25752 wxPyEndAllowThreads(__tstate);
25753 if (PyErr_Occurred()) SWIG_fail;
25754 }
25755 {
25756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25757 }
25758 return resultobj;
25759 fail:
25760 return NULL;
25761 }
25762
25763
25764 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25765 PyObject *resultobj = 0;
25766 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25767 bool result;
25768 void *argp1 = 0 ;
25769 int res1 = 0 ;
25770 PyObject *swig_obj[1] ;
25771
25772 if (!args) SWIG_fail;
25773 swig_obj[0] = args;
25774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25775 if (!SWIG_IsOK(res1)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25777 }
25778 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25779 {
25780 PyThreadState* __tstate = wxPyBeginAllowThreads();
25781 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25782 wxPyEndAllowThreads(__tstate);
25783 if (PyErr_Occurred()) SWIG_fail;
25784 }
25785 {
25786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25787 }
25788 return resultobj;
25789 fail:
25790 return NULL;
25791 }
25792
25793
25794 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25795 PyObject *resultobj = 0;
25796 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25797 bool result;
25798 void *argp1 = 0 ;
25799 int res1 = 0 ;
25800 PyObject *swig_obj[1] ;
25801
25802 if (!args) SWIG_fail;
25803 swig_obj[0] = args;
25804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25805 if (!SWIG_IsOK(res1)) {
25806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25807 }
25808 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25809 {
25810 PyThreadState* __tstate = wxPyBeginAllowThreads();
25811 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25812 wxPyEndAllowThreads(__tstate);
25813 if (PyErr_Occurred()) SWIG_fail;
25814 }
25815 {
25816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25817 }
25818 return resultobj;
25819 fail:
25820 return NULL;
25821 }
25822
25823
25824 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25825 PyObject *resultobj = 0;
25826 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25827 bool result;
25828 void *argp1 = 0 ;
25829 int res1 = 0 ;
25830 PyObject *swig_obj[1] ;
25831
25832 if (!args) SWIG_fail;
25833 swig_obj[0] = args;
25834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25835 if (!SWIG_IsOK(res1)) {
25836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25837 }
25838 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25839 {
25840 PyThreadState* __tstate = wxPyBeginAllowThreads();
25841 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
25842 wxPyEndAllowThreads(__tstate);
25843 if (PyErr_Occurred()) SWIG_fail;
25844 }
25845 {
25846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25847 }
25848 return resultobj;
25849 fail:
25850 return NULL;
25851 }
25852
25853
25854 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25855 PyObject *resultobj = 0;
25856 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25857 int arg2 ;
25858 void *argp1 = 0 ;
25859 int res1 = 0 ;
25860 int val2 ;
25861 int ecode2 = 0 ;
25862 PyObject * obj0 = 0 ;
25863 PyObject * obj1 = 0 ;
25864 char * kwnames[] = {
25865 (char *) "self",(char *) "v", NULL
25866 };
25867
25868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
25869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25870 if (!SWIG_IsOK(res1)) {
25871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25872 }
25873 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25874 ecode2 = SWIG_AsVal_int(obj1, &val2);
25875 if (!SWIG_IsOK(ecode2)) {
25876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25877 }
25878 arg2 = static_cast< int >(val2);
25879 {
25880 PyThreadState* __tstate = wxPyBeginAllowThreads();
25881 (arg1)->SetFromPage(arg2);
25882 wxPyEndAllowThreads(__tstate);
25883 if (PyErr_Occurred()) SWIG_fail;
25884 }
25885 resultobj = SWIG_Py_Void();
25886 return resultobj;
25887 fail:
25888 return NULL;
25889 }
25890
25891
25892 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25893 PyObject *resultobj = 0;
25894 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25895 int arg2 ;
25896 void *argp1 = 0 ;
25897 int res1 = 0 ;
25898 int val2 ;
25899 int ecode2 = 0 ;
25900 PyObject * obj0 = 0 ;
25901 PyObject * obj1 = 0 ;
25902 char * kwnames[] = {
25903 (char *) "self",(char *) "v", NULL
25904 };
25905
25906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
25907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25908 if (!SWIG_IsOK(res1)) {
25909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25910 }
25911 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25912 ecode2 = SWIG_AsVal_int(obj1, &val2);
25913 if (!SWIG_IsOK(ecode2)) {
25914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25915 }
25916 arg2 = static_cast< int >(val2);
25917 {
25918 PyThreadState* __tstate = wxPyBeginAllowThreads();
25919 (arg1)->SetToPage(arg2);
25920 wxPyEndAllowThreads(__tstate);
25921 if (PyErr_Occurred()) SWIG_fail;
25922 }
25923 resultobj = SWIG_Py_Void();
25924 return resultobj;
25925 fail:
25926 return NULL;
25927 }
25928
25929
25930 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25931 PyObject *resultobj = 0;
25932 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25933 int arg2 ;
25934 void *argp1 = 0 ;
25935 int res1 = 0 ;
25936 int val2 ;
25937 int ecode2 = 0 ;
25938 PyObject * obj0 = 0 ;
25939 PyObject * obj1 = 0 ;
25940 char * kwnames[] = {
25941 (char *) "self",(char *) "v", NULL
25942 };
25943
25944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
25945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25946 if (!SWIG_IsOK(res1)) {
25947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25948 }
25949 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25950 ecode2 = SWIG_AsVal_int(obj1, &val2);
25951 if (!SWIG_IsOK(ecode2)) {
25952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
25953 }
25954 arg2 = static_cast< int >(val2);
25955 {
25956 PyThreadState* __tstate = wxPyBeginAllowThreads();
25957 (arg1)->SetMinPage(arg2);
25958 wxPyEndAllowThreads(__tstate);
25959 if (PyErr_Occurred()) SWIG_fail;
25960 }
25961 resultobj = SWIG_Py_Void();
25962 return resultobj;
25963 fail:
25964 return NULL;
25965 }
25966
25967
25968 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25969 PyObject *resultobj = 0;
25970 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25971 int arg2 ;
25972 void *argp1 = 0 ;
25973 int res1 = 0 ;
25974 int val2 ;
25975 int ecode2 = 0 ;
25976 PyObject * obj0 = 0 ;
25977 PyObject * obj1 = 0 ;
25978 char * kwnames[] = {
25979 (char *) "self",(char *) "v", NULL
25980 };
25981
25982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
25983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25984 if (!SWIG_IsOK(res1)) {
25985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25986 }
25987 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25988 ecode2 = SWIG_AsVal_int(obj1, &val2);
25989 if (!SWIG_IsOK(ecode2)) {
25990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
25991 }
25992 arg2 = static_cast< int >(val2);
25993 {
25994 PyThreadState* __tstate = wxPyBeginAllowThreads();
25995 (arg1)->SetMaxPage(arg2);
25996 wxPyEndAllowThreads(__tstate);
25997 if (PyErr_Occurred()) SWIG_fail;
25998 }
25999 resultobj = SWIG_Py_Void();
26000 return resultobj;
26001 fail:
26002 return NULL;
26003 }
26004
26005
26006 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26007 PyObject *resultobj = 0;
26008 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26009 int arg2 ;
26010 void *argp1 = 0 ;
26011 int res1 = 0 ;
26012 int val2 ;
26013 int ecode2 = 0 ;
26014 PyObject * obj0 = 0 ;
26015 PyObject * obj1 = 0 ;
26016 char * kwnames[] = {
26017 (char *) "self",(char *) "v", NULL
26018 };
26019
26020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26022 if (!SWIG_IsOK(res1)) {
26023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26024 }
26025 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26026 ecode2 = SWIG_AsVal_int(obj1, &val2);
26027 if (!SWIG_IsOK(ecode2)) {
26028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26029 }
26030 arg2 = static_cast< int >(val2);
26031 {
26032 PyThreadState* __tstate = wxPyBeginAllowThreads();
26033 (arg1)->SetNoCopies(arg2);
26034 wxPyEndAllowThreads(__tstate);
26035 if (PyErr_Occurred()) SWIG_fail;
26036 }
26037 resultobj = SWIG_Py_Void();
26038 return resultobj;
26039 fail:
26040 return NULL;
26041 }
26042
26043
26044 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26045 PyObject *resultobj = 0;
26046 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26047 bool arg2 ;
26048 void *argp1 = 0 ;
26049 int res1 = 0 ;
26050 bool val2 ;
26051 int ecode2 = 0 ;
26052 PyObject * obj0 = 0 ;
26053 PyObject * obj1 = 0 ;
26054 char * kwnames[] = {
26055 (char *) "self",(char *) "flag", NULL
26056 };
26057
26058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26060 if (!SWIG_IsOK(res1)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26062 }
26063 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26064 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26065 if (!SWIG_IsOK(ecode2)) {
26066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26067 }
26068 arg2 = static_cast< bool >(val2);
26069 {
26070 PyThreadState* __tstate = wxPyBeginAllowThreads();
26071 (arg1)->SetAllPages(arg2);
26072 wxPyEndAllowThreads(__tstate);
26073 if (PyErr_Occurred()) SWIG_fail;
26074 }
26075 resultobj = SWIG_Py_Void();
26076 return resultobj;
26077 fail:
26078 return NULL;
26079 }
26080
26081
26082 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26083 PyObject *resultobj = 0;
26084 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26085 bool arg2 ;
26086 void *argp1 = 0 ;
26087 int res1 = 0 ;
26088 bool val2 ;
26089 int ecode2 = 0 ;
26090 PyObject * obj0 = 0 ;
26091 PyObject * obj1 = 0 ;
26092 char * kwnames[] = {
26093 (char *) "self",(char *) "flag", NULL
26094 };
26095
26096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26098 if (!SWIG_IsOK(res1)) {
26099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26100 }
26101 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26102 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26103 if (!SWIG_IsOK(ecode2)) {
26104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26105 }
26106 arg2 = static_cast< bool >(val2);
26107 {
26108 PyThreadState* __tstate = wxPyBeginAllowThreads();
26109 (arg1)->SetSelection(arg2);
26110 wxPyEndAllowThreads(__tstate);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
26113 resultobj = SWIG_Py_Void();
26114 return resultobj;
26115 fail:
26116 return NULL;
26117 }
26118
26119
26120 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26121 PyObject *resultobj = 0;
26122 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26123 bool arg2 ;
26124 void *argp1 = 0 ;
26125 int res1 = 0 ;
26126 bool val2 ;
26127 int ecode2 = 0 ;
26128 PyObject * obj0 = 0 ;
26129 PyObject * obj1 = 0 ;
26130 char * kwnames[] = {
26131 (char *) "self",(char *) "flag", NULL
26132 };
26133
26134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26136 if (!SWIG_IsOK(res1)) {
26137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26138 }
26139 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26140 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26141 if (!SWIG_IsOK(ecode2)) {
26142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26143 }
26144 arg2 = static_cast< bool >(val2);
26145 {
26146 PyThreadState* __tstate = wxPyBeginAllowThreads();
26147 (arg1)->SetCollate(arg2);
26148 wxPyEndAllowThreads(__tstate);
26149 if (PyErr_Occurred()) SWIG_fail;
26150 }
26151 resultobj = SWIG_Py_Void();
26152 return resultobj;
26153 fail:
26154 return NULL;
26155 }
26156
26157
26158 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26159 PyObject *resultobj = 0;
26160 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26161 bool arg2 ;
26162 void *argp1 = 0 ;
26163 int res1 = 0 ;
26164 bool val2 ;
26165 int ecode2 = 0 ;
26166 PyObject * obj0 = 0 ;
26167 PyObject * obj1 = 0 ;
26168 char * kwnames[] = {
26169 (char *) "self",(char *) "flag", NULL
26170 };
26171
26172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26174 if (!SWIG_IsOK(res1)) {
26175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26176 }
26177 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26178 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26179 if (!SWIG_IsOK(ecode2)) {
26180 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26181 }
26182 arg2 = static_cast< bool >(val2);
26183 {
26184 PyThreadState* __tstate = wxPyBeginAllowThreads();
26185 (arg1)->SetPrintToFile(arg2);
26186 wxPyEndAllowThreads(__tstate);
26187 if (PyErr_Occurred()) SWIG_fail;
26188 }
26189 resultobj = SWIG_Py_Void();
26190 return resultobj;
26191 fail:
26192 return NULL;
26193 }
26194
26195
26196 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26197 PyObject *resultobj = 0;
26198 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26199 bool arg2 ;
26200 void *argp1 = 0 ;
26201 int res1 = 0 ;
26202 bool val2 ;
26203 int ecode2 = 0 ;
26204 PyObject * obj0 = 0 ;
26205 PyObject * obj1 = 0 ;
26206 char * kwnames[] = {
26207 (char *) "self",(char *) "flag", NULL
26208 };
26209
26210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26212 if (!SWIG_IsOK(res1)) {
26213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26214 }
26215 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26216 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26217 if (!SWIG_IsOK(ecode2)) {
26218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26219 }
26220 arg2 = static_cast< bool >(val2);
26221 {
26222 PyThreadState* __tstate = wxPyBeginAllowThreads();
26223 (arg1)->EnablePrintToFile(arg2);
26224 wxPyEndAllowThreads(__tstate);
26225 if (PyErr_Occurred()) SWIG_fail;
26226 }
26227 resultobj = SWIG_Py_Void();
26228 return resultobj;
26229 fail:
26230 return NULL;
26231 }
26232
26233
26234 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26235 PyObject *resultobj = 0;
26236 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26237 bool arg2 ;
26238 void *argp1 = 0 ;
26239 int res1 = 0 ;
26240 bool val2 ;
26241 int ecode2 = 0 ;
26242 PyObject * obj0 = 0 ;
26243 PyObject * obj1 = 0 ;
26244 char * kwnames[] = {
26245 (char *) "self",(char *) "flag", NULL
26246 };
26247
26248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26250 if (!SWIG_IsOK(res1)) {
26251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26252 }
26253 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26254 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26255 if (!SWIG_IsOK(ecode2)) {
26256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26257 }
26258 arg2 = static_cast< bool >(val2);
26259 {
26260 PyThreadState* __tstate = wxPyBeginAllowThreads();
26261 (arg1)->EnableSelection(arg2);
26262 wxPyEndAllowThreads(__tstate);
26263 if (PyErr_Occurred()) SWIG_fail;
26264 }
26265 resultobj = SWIG_Py_Void();
26266 return resultobj;
26267 fail:
26268 return NULL;
26269 }
26270
26271
26272 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26273 PyObject *resultobj = 0;
26274 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26275 bool arg2 ;
26276 void *argp1 = 0 ;
26277 int res1 = 0 ;
26278 bool val2 ;
26279 int ecode2 = 0 ;
26280 PyObject * obj0 = 0 ;
26281 PyObject * obj1 = 0 ;
26282 char * kwnames[] = {
26283 (char *) "self",(char *) "flag", NULL
26284 };
26285
26286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26288 if (!SWIG_IsOK(res1)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26290 }
26291 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26292 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26293 if (!SWIG_IsOK(ecode2)) {
26294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26295 }
26296 arg2 = static_cast< bool >(val2);
26297 {
26298 PyThreadState* __tstate = wxPyBeginAllowThreads();
26299 (arg1)->EnablePageNumbers(arg2);
26300 wxPyEndAllowThreads(__tstate);
26301 if (PyErr_Occurred()) SWIG_fail;
26302 }
26303 resultobj = SWIG_Py_Void();
26304 return resultobj;
26305 fail:
26306 return NULL;
26307 }
26308
26309
26310 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26311 PyObject *resultobj = 0;
26312 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26313 bool arg2 ;
26314 void *argp1 = 0 ;
26315 int res1 = 0 ;
26316 bool val2 ;
26317 int ecode2 = 0 ;
26318 PyObject * obj0 = 0 ;
26319 PyObject * obj1 = 0 ;
26320 char * kwnames[] = {
26321 (char *) "self",(char *) "flag", NULL
26322 };
26323
26324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26326 if (!SWIG_IsOK(res1)) {
26327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26328 }
26329 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26330 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26331 if (!SWIG_IsOK(ecode2)) {
26332 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26333 }
26334 arg2 = static_cast< bool >(val2);
26335 {
26336 PyThreadState* __tstate = wxPyBeginAllowThreads();
26337 (arg1)->EnableHelp(arg2);
26338 wxPyEndAllowThreads(__tstate);
26339 if (PyErr_Occurred()) SWIG_fail;
26340 }
26341 resultobj = SWIG_Py_Void();
26342 return resultobj;
26343 fail:
26344 return NULL;
26345 }
26346
26347
26348 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26349 PyObject *resultobj = 0;
26350 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26351 bool result;
26352 void *argp1 = 0 ;
26353 int res1 = 0 ;
26354 PyObject *swig_obj[1] ;
26355
26356 if (!args) SWIG_fail;
26357 swig_obj[0] = args;
26358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26359 if (!SWIG_IsOK(res1)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26361 }
26362 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26363 {
26364 PyThreadState* __tstate = wxPyBeginAllowThreads();
26365 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26366 wxPyEndAllowThreads(__tstate);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 }
26369 {
26370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26371 }
26372 return resultobj;
26373 fail:
26374 return NULL;
26375 }
26376
26377
26378 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26379 PyObject *resultobj = 0;
26380 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26381 bool result;
26382 void *argp1 = 0 ;
26383 int res1 = 0 ;
26384 PyObject *swig_obj[1] ;
26385
26386 if (!args) SWIG_fail;
26387 swig_obj[0] = args;
26388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26389 if (!SWIG_IsOK(res1)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26391 }
26392 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26393 {
26394 PyThreadState* __tstate = wxPyBeginAllowThreads();
26395 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26396 wxPyEndAllowThreads(__tstate);
26397 if (PyErr_Occurred()) SWIG_fail;
26398 }
26399 {
26400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26401 }
26402 return resultobj;
26403 fail:
26404 return NULL;
26405 }
26406
26407
26408 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26409 PyObject *resultobj = 0;
26410 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26411 bool result;
26412 void *argp1 = 0 ;
26413 int res1 = 0 ;
26414 PyObject *swig_obj[1] ;
26415
26416 if (!args) SWIG_fail;
26417 swig_obj[0] = args;
26418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26419 if (!SWIG_IsOK(res1)) {
26420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26421 }
26422 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26423 {
26424 PyThreadState* __tstate = wxPyBeginAllowThreads();
26425 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26426 wxPyEndAllowThreads(__tstate);
26427 if (PyErr_Occurred()) SWIG_fail;
26428 }
26429 {
26430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26431 }
26432 return resultobj;
26433 fail:
26434 return NULL;
26435 }
26436
26437
26438 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26439 PyObject *resultobj = 0;
26440 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26441 bool result;
26442 void *argp1 = 0 ;
26443 int res1 = 0 ;
26444 PyObject *swig_obj[1] ;
26445
26446 if (!args) SWIG_fail;
26447 swig_obj[0] = args;
26448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26449 if (!SWIG_IsOK(res1)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26451 }
26452 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26453 {
26454 PyThreadState* __tstate = wxPyBeginAllowThreads();
26455 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26456 wxPyEndAllowThreads(__tstate);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 }
26459 {
26460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26461 }
26462 return resultobj;
26463 fail:
26464 return NULL;
26465 }
26466
26467
26468 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26469 PyObject *resultobj = 0;
26470 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26471 bool result;
26472 void *argp1 = 0 ;
26473 int res1 = 0 ;
26474 PyObject *swig_obj[1] ;
26475
26476 if (!args) SWIG_fail;
26477 swig_obj[0] = args;
26478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26479 if (!SWIG_IsOK(res1)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26481 }
26482 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26483 {
26484 PyThreadState* __tstate = wxPyBeginAllowThreads();
26485 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26486 wxPyEndAllowThreads(__tstate);
26487 if (PyErr_Occurred()) SWIG_fail;
26488 }
26489 {
26490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26491 }
26492 return resultobj;
26493 fail:
26494 return NULL;
26495 }
26496
26497
26498 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26499 PyObject *resultobj = 0;
26500 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26501 wxPrintData *result = 0 ;
26502 void *argp1 = 0 ;
26503 int res1 = 0 ;
26504 PyObject *swig_obj[1] ;
26505
26506 if (!args) SWIG_fail;
26507 swig_obj[0] = args;
26508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26509 if (!SWIG_IsOK(res1)) {
26510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26511 }
26512 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26513 {
26514 PyThreadState* __tstate = wxPyBeginAllowThreads();
26515 {
26516 wxPrintData &_result_ref = (arg1)->GetPrintData();
26517 result = (wxPrintData *) &_result_ref;
26518 }
26519 wxPyEndAllowThreads(__tstate);
26520 if (PyErr_Occurred()) SWIG_fail;
26521 }
26522 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26523 return resultobj;
26524 fail:
26525 return NULL;
26526 }
26527
26528
26529 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26530 PyObject *resultobj = 0;
26531 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26532 wxPrintData *arg2 = 0 ;
26533 void *argp1 = 0 ;
26534 int res1 = 0 ;
26535 void *argp2 = 0 ;
26536 int res2 = 0 ;
26537 PyObject * obj0 = 0 ;
26538 PyObject * obj1 = 0 ;
26539 char * kwnames[] = {
26540 (char *) "self",(char *) "printData", NULL
26541 };
26542
26543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26545 if (!SWIG_IsOK(res1)) {
26546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26547 }
26548 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26549 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26550 if (!SWIG_IsOK(res2)) {
26551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26552 }
26553 if (!argp2) {
26554 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26555 }
26556 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26557 {
26558 PyThreadState* __tstate = wxPyBeginAllowThreads();
26559 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26560 wxPyEndAllowThreads(__tstate);
26561 if (PyErr_Occurred()) SWIG_fail;
26562 }
26563 resultobj = SWIG_Py_Void();
26564 return resultobj;
26565 fail:
26566 return NULL;
26567 }
26568
26569
26570 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26571 PyObject *obj;
26572 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26573 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26574 return SWIG_Py_Void();
26575 }
26576
26577 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26578 return SWIG_Python_InitShadowInstance(args);
26579 }
26580
26581 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26582 PyObject *resultobj = 0;
26583 wxWindow *arg1 = (wxWindow *) 0 ;
26584 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26585 wxPrintDialog *result = 0 ;
26586 void *argp1 = 0 ;
26587 int res1 = 0 ;
26588 void *argp2 = 0 ;
26589 int res2 = 0 ;
26590 PyObject * obj0 = 0 ;
26591 PyObject * obj1 = 0 ;
26592 char * kwnames[] = {
26593 (char *) "parent",(char *) "data", NULL
26594 };
26595
26596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26598 if (!SWIG_IsOK(res1)) {
26599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26600 }
26601 arg1 = reinterpret_cast< wxWindow * >(argp1);
26602 if (obj1) {
26603 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26604 if (!SWIG_IsOK(res2)) {
26605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26606 }
26607 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26608 }
26609 {
26610 if (!wxPyCheckForApp()) SWIG_fail;
26611 PyThreadState* __tstate = wxPyBeginAllowThreads();
26612 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26613 wxPyEndAllowThreads(__tstate);
26614 if (PyErr_Occurred()) SWIG_fail;
26615 }
26616 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26617 return resultobj;
26618 fail:
26619 return NULL;
26620 }
26621
26622
26623 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26624 PyObject *resultobj = 0;
26625 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26626 void *argp1 = 0 ;
26627 int res1 = 0 ;
26628 PyObject *swig_obj[1] ;
26629
26630 if (!args) SWIG_fail;
26631 swig_obj[0] = args;
26632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26633 if (!SWIG_IsOK(res1)) {
26634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26635 }
26636 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26637 {
26638 PyThreadState* __tstate = wxPyBeginAllowThreads();
26639 delete arg1;
26640
26641 wxPyEndAllowThreads(__tstate);
26642 if (PyErr_Occurred()) SWIG_fail;
26643 }
26644 resultobj = SWIG_Py_Void();
26645 return resultobj;
26646 fail:
26647 return NULL;
26648 }
26649
26650
26651 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26652 PyObject *resultobj = 0;
26653 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26654 int result;
26655 void *argp1 = 0 ;
26656 int res1 = 0 ;
26657 PyObject *swig_obj[1] ;
26658
26659 if (!args) SWIG_fail;
26660 swig_obj[0] = args;
26661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26662 if (!SWIG_IsOK(res1)) {
26663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26664 }
26665 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26666 {
26667 PyThreadState* __tstate = wxPyBeginAllowThreads();
26668 result = (int)(arg1)->ShowModal();
26669 wxPyEndAllowThreads(__tstate);
26670 if (PyErr_Occurred()) SWIG_fail;
26671 }
26672 resultobj = SWIG_From_int(static_cast< int >(result));
26673 return resultobj;
26674 fail:
26675 return NULL;
26676 }
26677
26678
26679 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26680 PyObject *resultobj = 0;
26681 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26682 wxPrintDialogData *result = 0 ;
26683 void *argp1 = 0 ;
26684 int res1 = 0 ;
26685 PyObject *swig_obj[1] ;
26686
26687 if (!args) SWIG_fail;
26688 swig_obj[0] = args;
26689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26690 if (!SWIG_IsOK(res1)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26692 }
26693 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26694 {
26695 PyThreadState* __tstate = wxPyBeginAllowThreads();
26696 {
26697 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26698 result = (wxPrintDialogData *) &_result_ref;
26699 }
26700 wxPyEndAllowThreads(__tstate);
26701 if (PyErr_Occurred()) SWIG_fail;
26702 }
26703 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26704 return resultobj;
26705 fail:
26706 return NULL;
26707 }
26708
26709
26710 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26711 PyObject *resultobj = 0;
26712 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26713 wxPrintData *result = 0 ;
26714 void *argp1 = 0 ;
26715 int res1 = 0 ;
26716 PyObject *swig_obj[1] ;
26717
26718 if (!args) SWIG_fail;
26719 swig_obj[0] = args;
26720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26721 if (!SWIG_IsOK(res1)) {
26722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26723 }
26724 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26725 {
26726 PyThreadState* __tstate = wxPyBeginAllowThreads();
26727 {
26728 wxPrintData &_result_ref = (arg1)->GetPrintData();
26729 result = (wxPrintData *) &_result_ref;
26730 }
26731 wxPyEndAllowThreads(__tstate);
26732 if (PyErr_Occurred()) SWIG_fail;
26733 }
26734 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26735 return resultobj;
26736 fail:
26737 return NULL;
26738 }
26739
26740
26741 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26742 PyObject *resultobj = 0;
26743 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26744 wxDC *result = 0 ;
26745 void *argp1 = 0 ;
26746 int res1 = 0 ;
26747 PyObject *swig_obj[1] ;
26748
26749 if (!args) SWIG_fail;
26750 swig_obj[0] = args;
26751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26752 if (!SWIG_IsOK(res1)) {
26753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26754 }
26755 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26756 {
26757 PyThreadState* __tstate = wxPyBeginAllowThreads();
26758 result = (wxDC *)(arg1)->GetPrintDC();
26759 wxPyEndAllowThreads(__tstate);
26760 if (PyErr_Occurred()) SWIG_fail;
26761 }
26762 {
26763 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26764 }
26765 return resultobj;
26766 fail:
26767 return NULL;
26768 }
26769
26770
26771 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26772 PyObject *obj;
26773 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26774 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26775 return SWIG_Py_Void();
26776 }
26777
26778 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26779 return SWIG_Python_InitShadowInstance(args);
26780 }
26781
26782 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26783 PyObject *resultobj = 0;
26784 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26785 wxPrinter *result = 0 ;
26786 void *argp1 = 0 ;
26787 int res1 = 0 ;
26788 PyObject * obj0 = 0 ;
26789 char * kwnames[] = {
26790 (char *) "data", NULL
26791 };
26792
26793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26794 if (obj0) {
26795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26796 if (!SWIG_IsOK(res1)) {
26797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26798 }
26799 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26800 }
26801 {
26802 if (!wxPyCheckForApp()) SWIG_fail;
26803 PyThreadState* __tstate = wxPyBeginAllowThreads();
26804 result = (wxPrinter *)new wxPrinter(arg1);
26805 wxPyEndAllowThreads(__tstate);
26806 if (PyErr_Occurred()) SWIG_fail;
26807 }
26808 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26809 return resultobj;
26810 fail:
26811 return NULL;
26812 }
26813
26814
26815 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26816 PyObject *resultobj = 0;
26817 wxPrinter *arg1 = (wxPrinter *) 0 ;
26818 void *argp1 = 0 ;
26819 int res1 = 0 ;
26820 PyObject *swig_obj[1] ;
26821
26822 if (!args) SWIG_fail;
26823 swig_obj[0] = args;
26824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26825 if (!SWIG_IsOK(res1)) {
26826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26827 }
26828 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26829 {
26830 PyThreadState* __tstate = wxPyBeginAllowThreads();
26831 delete arg1;
26832
26833 wxPyEndAllowThreads(__tstate);
26834 if (PyErr_Occurred()) SWIG_fail;
26835 }
26836 resultobj = SWIG_Py_Void();
26837 return resultobj;
26838 fail:
26839 return NULL;
26840 }
26841
26842
26843 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26844 PyObject *resultobj = 0;
26845 wxPrinter *arg1 = (wxPrinter *) 0 ;
26846 wxWindow *arg2 = (wxWindow *) 0 ;
26847 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26848 wxWindow *result = 0 ;
26849 void *argp1 = 0 ;
26850 int res1 = 0 ;
26851 void *argp2 = 0 ;
26852 int res2 = 0 ;
26853 void *argp3 = 0 ;
26854 int res3 = 0 ;
26855 PyObject * obj0 = 0 ;
26856 PyObject * obj1 = 0 ;
26857 PyObject * obj2 = 0 ;
26858 char * kwnames[] = {
26859 (char *) "self",(char *) "parent",(char *) "printout", NULL
26860 };
26861
26862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26864 if (!SWIG_IsOK(res1)) {
26865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26866 }
26867 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26868 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26869 if (!SWIG_IsOK(res2)) {
26870 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26871 }
26872 arg2 = reinterpret_cast< wxWindow * >(argp2);
26873 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26874 if (!SWIG_IsOK(res3)) {
26875 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26876 }
26877 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26878 {
26879 PyThreadState* __tstate = wxPyBeginAllowThreads();
26880 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
26881 wxPyEndAllowThreads(__tstate);
26882 if (PyErr_Occurred()) SWIG_fail;
26883 }
26884 {
26885 resultobj = wxPyMake_wxObject(result, 0);
26886 }
26887 return resultobj;
26888 fail:
26889 return NULL;
26890 }
26891
26892
26893 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26894 PyObject *resultobj = 0;
26895 wxPrinter *arg1 = (wxPrinter *) 0 ;
26896 wxWindow *arg2 = (wxWindow *) 0 ;
26897 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26898 wxString *arg4 = 0 ;
26899 void *argp1 = 0 ;
26900 int res1 = 0 ;
26901 void *argp2 = 0 ;
26902 int res2 = 0 ;
26903 void *argp3 = 0 ;
26904 int res3 = 0 ;
26905 bool temp4 = false ;
26906 PyObject * obj0 = 0 ;
26907 PyObject * obj1 = 0 ;
26908 PyObject * obj2 = 0 ;
26909 PyObject * obj3 = 0 ;
26910 char * kwnames[] = {
26911 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26912 };
26913
26914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
26915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26916 if (!SWIG_IsOK(res1)) {
26917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26918 }
26919 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26920 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26921 if (!SWIG_IsOK(res2)) {
26922 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26923 }
26924 arg2 = reinterpret_cast< wxWindow * >(argp2);
26925 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26926 if (!SWIG_IsOK(res3)) {
26927 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26928 }
26929 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26930 {
26931 arg4 = wxString_in_helper(obj3);
26932 if (arg4 == NULL) SWIG_fail;
26933 temp4 = true;
26934 }
26935 {
26936 PyThreadState* __tstate = wxPyBeginAllowThreads();
26937 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
26938 wxPyEndAllowThreads(__tstate);
26939 if (PyErr_Occurred()) SWIG_fail;
26940 }
26941 resultobj = SWIG_Py_Void();
26942 {
26943 if (temp4)
26944 delete arg4;
26945 }
26946 return resultobj;
26947 fail:
26948 {
26949 if (temp4)
26950 delete arg4;
26951 }
26952 return NULL;
26953 }
26954
26955
26956 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26957 PyObject *resultobj = 0;
26958 wxPrinter *arg1 = (wxPrinter *) 0 ;
26959 wxWindow *arg2 = (wxWindow *) 0 ;
26960 bool result;
26961 void *argp1 = 0 ;
26962 int res1 = 0 ;
26963 void *argp2 = 0 ;
26964 int res2 = 0 ;
26965 PyObject * obj0 = 0 ;
26966 PyObject * obj1 = 0 ;
26967 char * kwnames[] = {
26968 (char *) "self",(char *) "parent", NULL
26969 };
26970
26971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
26972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26973 if (!SWIG_IsOK(res1)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
26975 }
26976 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26977 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26978 if (!SWIG_IsOK(res2)) {
26979 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
26980 }
26981 arg2 = reinterpret_cast< wxWindow * >(argp2);
26982 {
26983 PyThreadState* __tstate = wxPyBeginAllowThreads();
26984 result = (bool)(arg1)->Setup(arg2);
26985 wxPyEndAllowThreads(__tstate);
26986 if (PyErr_Occurred()) SWIG_fail;
26987 }
26988 {
26989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26990 }
26991 return resultobj;
26992 fail:
26993 return NULL;
26994 }
26995
26996
26997 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26998 PyObject *resultobj = 0;
26999 wxPrinter *arg1 = (wxPrinter *) 0 ;
27000 wxWindow *arg2 = (wxWindow *) 0 ;
27001 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27002 bool arg4 = (bool) true ;
27003 bool result;
27004 void *argp1 = 0 ;
27005 int res1 = 0 ;
27006 void *argp2 = 0 ;
27007 int res2 = 0 ;
27008 void *argp3 = 0 ;
27009 int res3 = 0 ;
27010 bool val4 ;
27011 int ecode4 = 0 ;
27012 PyObject * obj0 = 0 ;
27013 PyObject * obj1 = 0 ;
27014 PyObject * obj2 = 0 ;
27015 PyObject * obj3 = 0 ;
27016 char * kwnames[] = {
27017 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27018 };
27019
27020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27022 if (!SWIG_IsOK(res1)) {
27023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27024 }
27025 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27026 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27027 if (!SWIG_IsOK(res2)) {
27028 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27029 }
27030 arg2 = reinterpret_cast< wxWindow * >(argp2);
27031 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27032 if (!SWIG_IsOK(res3)) {
27033 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27034 }
27035 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27036 if (obj3) {
27037 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27038 if (!SWIG_IsOK(ecode4)) {
27039 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27040 }
27041 arg4 = static_cast< bool >(val4);
27042 }
27043 {
27044 PyThreadState* __tstate = wxPyBeginAllowThreads();
27045 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27046 wxPyEndAllowThreads(__tstate);
27047 if (PyErr_Occurred()) SWIG_fail;
27048 }
27049 {
27050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27051 }
27052 return resultobj;
27053 fail:
27054 return NULL;
27055 }
27056
27057
27058 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27059 PyObject *resultobj = 0;
27060 wxPrinter *arg1 = (wxPrinter *) 0 ;
27061 wxWindow *arg2 = (wxWindow *) 0 ;
27062 wxDC *result = 0 ;
27063 void *argp1 = 0 ;
27064 int res1 = 0 ;
27065 void *argp2 = 0 ;
27066 int res2 = 0 ;
27067 PyObject * obj0 = 0 ;
27068 PyObject * obj1 = 0 ;
27069 char * kwnames[] = {
27070 (char *) "self",(char *) "parent", NULL
27071 };
27072
27073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27075 if (!SWIG_IsOK(res1)) {
27076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27077 }
27078 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27079 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27080 if (!SWIG_IsOK(res2)) {
27081 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27082 }
27083 arg2 = reinterpret_cast< wxWindow * >(argp2);
27084 {
27085 PyThreadState* __tstate = wxPyBeginAllowThreads();
27086 result = (wxDC *)(arg1)->PrintDialog(arg2);
27087 wxPyEndAllowThreads(__tstate);
27088 if (PyErr_Occurred()) SWIG_fail;
27089 }
27090 {
27091 resultobj = wxPyMake_wxObject(result, (bool)0);
27092 }
27093 return resultobj;
27094 fail:
27095 return NULL;
27096 }
27097
27098
27099 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27100 PyObject *resultobj = 0;
27101 wxPrinter *arg1 = (wxPrinter *) 0 ;
27102 wxPrintDialogData *result = 0 ;
27103 void *argp1 = 0 ;
27104 int res1 = 0 ;
27105 PyObject *swig_obj[1] ;
27106
27107 if (!args) SWIG_fail;
27108 swig_obj[0] = args;
27109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27110 if (!SWIG_IsOK(res1)) {
27111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27112 }
27113 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27114 {
27115 PyThreadState* __tstate = wxPyBeginAllowThreads();
27116 {
27117 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27118 result = (wxPrintDialogData *) &_result_ref;
27119 }
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27124 return resultobj;
27125 fail:
27126 return NULL;
27127 }
27128
27129
27130 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27131 PyObject *resultobj = 0;
27132 wxPrinter *arg1 = (wxPrinter *) 0 ;
27133 bool result;
27134 void *argp1 = 0 ;
27135 int res1 = 0 ;
27136 PyObject *swig_obj[1] ;
27137
27138 if (!args) SWIG_fail;
27139 swig_obj[0] = args;
27140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27141 if (!SWIG_IsOK(res1)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27143 }
27144 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27145 {
27146 PyThreadState* __tstate = wxPyBeginAllowThreads();
27147 result = (bool)(arg1)->GetAbort();
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 {
27152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27153 }
27154 return resultobj;
27155 fail:
27156 return NULL;
27157 }
27158
27159
27160 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27161 PyObject *resultobj = 0;
27162 wxPrinterError result;
27163
27164 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27165 {
27166 PyThreadState* __tstate = wxPyBeginAllowThreads();
27167 result = (wxPrinterError)wxPrinter::GetLastError();
27168 wxPyEndAllowThreads(__tstate);
27169 if (PyErr_Occurred()) SWIG_fail;
27170 }
27171 resultobj = SWIG_From_int(static_cast< int >(result));
27172 return resultobj;
27173 fail:
27174 return NULL;
27175 }
27176
27177
27178 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27179 PyObject *obj;
27180 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27181 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27182 return SWIG_Py_Void();
27183 }
27184
27185 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27186 return SWIG_Python_InitShadowInstance(args);
27187 }
27188
27189 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27190 PyObject *resultobj = 0;
27191 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27192 wxString *arg1 = (wxString *) &arg1_defvalue ;
27193 wxPyPrintout *result = 0 ;
27194 bool temp1 = false ;
27195 PyObject * obj0 = 0 ;
27196 char * kwnames[] = {
27197 (char *) "title", NULL
27198 };
27199
27200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27201 if (obj0) {
27202 {
27203 arg1 = wxString_in_helper(obj0);
27204 if (arg1 == NULL) SWIG_fail;
27205 temp1 = true;
27206 }
27207 }
27208 {
27209 if (!wxPyCheckForApp()) SWIG_fail;
27210 PyThreadState* __tstate = wxPyBeginAllowThreads();
27211 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27212 wxPyEndAllowThreads(__tstate);
27213 if (PyErr_Occurred()) SWIG_fail;
27214 }
27215 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27216 {
27217 if (temp1)
27218 delete arg1;
27219 }
27220 return resultobj;
27221 fail:
27222 {
27223 if (temp1)
27224 delete arg1;
27225 }
27226 return NULL;
27227 }
27228
27229
27230 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27231 PyObject *resultobj = 0;
27232 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27233 void *argp1 = 0 ;
27234 int res1 = 0 ;
27235 PyObject *swig_obj[1] ;
27236
27237 if (!args) SWIG_fail;
27238 swig_obj[0] = args;
27239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27240 if (!SWIG_IsOK(res1)) {
27241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27242 }
27243 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27244 {
27245 PyThreadState* __tstate = wxPyBeginAllowThreads();
27246 delete arg1;
27247
27248 wxPyEndAllowThreads(__tstate);
27249 if (PyErr_Occurred()) SWIG_fail;
27250 }
27251 resultobj = SWIG_Py_Void();
27252 return resultobj;
27253 fail:
27254 return NULL;
27255 }
27256
27257
27258 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27259 PyObject *resultobj = 0;
27260 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27261 PyObject *arg2 = (PyObject *) 0 ;
27262 PyObject *arg3 = (PyObject *) 0 ;
27263 void *argp1 = 0 ;
27264 int res1 = 0 ;
27265 PyObject * obj0 = 0 ;
27266 PyObject * obj1 = 0 ;
27267 PyObject * obj2 = 0 ;
27268 char * kwnames[] = {
27269 (char *) "self",(char *) "self",(char *) "_class", NULL
27270 };
27271
27272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27274 if (!SWIG_IsOK(res1)) {
27275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27276 }
27277 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27278 arg2 = obj1;
27279 arg3 = obj2;
27280 {
27281 PyThreadState* __tstate = wxPyBeginAllowThreads();
27282 (arg1)->_setCallbackInfo(arg2,arg3);
27283 wxPyEndAllowThreads(__tstate);
27284 if (PyErr_Occurred()) SWIG_fail;
27285 }
27286 resultobj = SWIG_Py_Void();
27287 return resultobj;
27288 fail:
27289 return NULL;
27290 }
27291
27292
27293 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27294 PyObject *resultobj = 0;
27295 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27296 wxString result;
27297 void *argp1 = 0 ;
27298 int res1 = 0 ;
27299 PyObject *swig_obj[1] ;
27300
27301 if (!args) SWIG_fail;
27302 swig_obj[0] = args;
27303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27304 if (!SWIG_IsOK(res1)) {
27305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27306 }
27307 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27308 {
27309 PyThreadState* __tstate = wxPyBeginAllowThreads();
27310 result = ((wxPyPrintout const *)arg1)->GetTitle();
27311 wxPyEndAllowThreads(__tstate);
27312 if (PyErr_Occurred()) SWIG_fail;
27313 }
27314 {
27315 #if wxUSE_UNICODE
27316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27317 #else
27318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27319 #endif
27320 }
27321 return resultobj;
27322 fail:
27323 return NULL;
27324 }
27325
27326
27327 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27328 PyObject *resultobj = 0;
27329 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27330 wxDC *result = 0 ;
27331 void *argp1 = 0 ;
27332 int res1 = 0 ;
27333 PyObject *swig_obj[1] ;
27334
27335 if (!args) SWIG_fail;
27336 swig_obj[0] = args;
27337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27338 if (!SWIG_IsOK(res1)) {
27339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27340 }
27341 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27342 {
27343 PyThreadState* __tstate = wxPyBeginAllowThreads();
27344 result = (wxDC *)(arg1)->GetDC();
27345 wxPyEndAllowThreads(__tstate);
27346 if (PyErr_Occurred()) SWIG_fail;
27347 }
27348 {
27349 resultobj = wxPyMake_wxObject(result, (bool)0);
27350 }
27351 return resultobj;
27352 fail:
27353 return NULL;
27354 }
27355
27356
27357 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27358 PyObject *resultobj = 0;
27359 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27360 wxDC *arg2 = (wxDC *) 0 ;
27361 void *argp1 = 0 ;
27362 int res1 = 0 ;
27363 void *argp2 = 0 ;
27364 int res2 = 0 ;
27365 PyObject * obj0 = 0 ;
27366 PyObject * obj1 = 0 ;
27367 char * kwnames[] = {
27368 (char *) "self",(char *) "dc", NULL
27369 };
27370
27371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27373 if (!SWIG_IsOK(res1)) {
27374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27375 }
27376 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27377 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27378 if (!SWIG_IsOK(res2)) {
27379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27380 }
27381 arg2 = reinterpret_cast< wxDC * >(argp2);
27382 {
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
27384 (arg1)->SetDC(arg2);
27385 wxPyEndAllowThreads(__tstate);
27386 if (PyErr_Occurred()) SWIG_fail;
27387 }
27388 resultobj = SWIG_Py_Void();
27389 return resultobj;
27390 fail:
27391 return NULL;
27392 }
27393
27394
27395 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27396 PyObject *resultobj = 0;
27397 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27398 int arg2 ;
27399 int arg3 ;
27400 void *argp1 = 0 ;
27401 int res1 = 0 ;
27402 int val2 ;
27403 int ecode2 = 0 ;
27404 int val3 ;
27405 int ecode3 = 0 ;
27406 PyObject * obj0 = 0 ;
27407 PyObject * obj1 = 0 ;
27408 PyObject * obj2 = 0 ;
27409 char * kwnames[] = {
27410 (char *) "self",(char *) "w",(char *) "h", NULL
27411 };
27412
27413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27415 if (!SWIG_IsOK(res1)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27417 }
27418 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27419 ecode2 = SWIG_AsVal_int(obj1, &val2);
27420 if (!SWIG_IsOK(ecode2)) {
27421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27422 }
27423 arg2 = static_cast< int >(val2);
27424 ecode3 = SWIG_AsVal_int(obj2, &val3);
27425 if (!SWIG_IsOK(ecode3)) {
27426 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27427 }
27428 arg3 = static_cast< int >(val3);
27429 {
27430 PyThreadState* __tstate = wxPyBeginAllowThreads();
27431 (arg1)->SetPageSizePixels(arg2,arg3);
27432 wxPyEndAllowThreads(__tstate);
27433 if (PyErr_Occurred()) SWIG_fail;
27434 }
27435 resultobj = SWIG_Py_Void();
27436 return resultobj;
27437 fail:
27438 return NULL;
27439 }
27440
27441
27442 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27443 PyObject *resultobj = 0;
27444 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27445 int *arg2 = (int *) 0 ;
27446 int *arg3 = (int *) 0 ;
27447 void *argp1 = 0 ;
27448 int res1 = 0 ;
27449 int temp2 ;
27450 int res2 = SWIG_TMPOBJ ;
27451 int temp3 ;
27452 int res3 = SWIG_TMPOBJ ;
27453 PyObject *swig_obj[1] ;
27454
27455 arg2 = &temp2;
27456 arg3 = &temp3;
27457 if (!args) SWIG_fail;
27458 swig_obj[0] = args;
27459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27460 if (!SWIG_IsOK(res1)) {
27461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27462 }
27463 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27464 {
27465 PyThreadState* __tstate = wxPyBeginAllowThreads();
27466 (arg1)->GetPageSizePixels(arg2,arg3);
27467 wxPyEndAllowThreads(__tstate);
27468 if (PyErr_Occurred()) SWIG_fail;
27469 }
27470 resultobj = SWIG_Py_Void();
27471 if (SWIG_IsTmpObj(res2)) {
27472 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27473 } else {
27474 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27475 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27476 }
27477 if (SWIG_IsTmpObj(res3)) {
27478 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27479 } else {
27480 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27481 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27482 }
27483 return resultobj;
27484 fail:
27485 return NULL;
27486 }
27487
27488
27489 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27490 PyObject *resultobj = 0;
27491 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27492 int arg2 ;
27493 int arg3 ;
27494 void *argp1 = 0 ;
27495 int res1 = 0 ;
27496 int val2 ;
27497 int ecode2 = 0 ;
27498 int val3 ;
27499 int ecode3 = 0 ;
27500 PyObject * obj0 = 0 ;
27501 PyObject * obj1 = 0 ;
27502 PyObject * obj2 = 0 ;
27503 char * kwnames[] = {
27504 (char *) "self",(char *) "w",(char *) "h", NULL
27505 };
27506
27507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27509 if (!SWIG_IsOK(res1)) {
27510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27511 }
27512 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27513 ecode2 = SWIG_AsVal_int(obj1, &val2);
27514 if (!SWIG_IsOK(ecode2)) {
27515 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27516 }
27517 arg2 = static_cast< int >(val2);
27518 ecode3 = SWIG_AsVal_int(obj2, &val3);
27519 if (!SWIG_IsOK(ecode3)) {
27520 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27521 }
27522 arg3 = static_cast< int >(val3);
27523 {
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 (arg1)->SetPageSizeMM(arg2,arg3);
27526 wxPyEndAllowThreads(__tstate);
27527 if (PyErr_Occurred()) SWIG_fail;
27528 }
27529 resultobj = SWIG_Py_Void();
27530 return resultobj;
27531 fail:
27532 return NULL;
27533 }
27534
27535
27536 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27537 PyObject *resultobj = 0;
27538 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27539 int *arg2 = (int *) 0 ;
27540 int *arg3 = (int *) 0 ;
27541 void *argp1 = 0 ;
27542 int res1 = 0 ;
27543 int temp2 ;
27544 int res2 = SWIG_TMPOBJ ;
27545 int temp3 ;
27546 int res3 = SWIG_TMPOBJ ;
27547 PyObject *swig_obj[1] ;
27548
27549 arg2 = &temp2;
27550 arg3 = &temp3;
27551 if (!args) SWIG_fail;
27552 swig_obj[0] = args;
27553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27554 if (!SWIG_IsOK(res1)) {
27555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27556 }
27557 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27558 {
27559 PyThreadState* __tstate = wxPyBeginAllowThreads();
27560 (arg1)->GetPageSizeMM(arg2,arg3);
27561 wxPyEndAllowThreads(__tstate);
27562 if (PyErr_Occurred()) SWIG_fail;
27563 }
27564 resultobj = SWIG_Py_Void();
27565 if (SWIG_IsTmpObj(res2)) {
27566 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27567 } else {
27568 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27569 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27570 }
27571 if (SWIG_IsTmpObj(res3)) {
27572 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27573 } else {
27574 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27575 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27576 }
27577 return resultobj;
27578 fail:
27579 return NULL;
27580 }
27581
27582
27583 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27584 PyObject *resultobj = 0;
27585 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27586 int arg2 ;
27587 int arg3 ;
27588 void *argp1 = 0 ;
27589 int res1 = 0 ;
27590 int val2 ;
27591 int ecode2 = 0 ;
27592 int val3 ;
27593 int ecode3 = 0 ;
27594 PyObject * obj0 = 0 ;
27595 PyObject * obj1 = 0 ;
27596 PyObject * obj2 = 0 ;
27597 char * kwnames[] = {
27598 (char *) "self",(char *) "x",(char *) "y", NULL
27599 };
27600
27601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27603 if (!SWIG_IsOK(res1)) {
27604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27605 }
27606 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27607 ecode2 = SWIG_AsVal_int(obj1, &val2);
27608 if (!SWIG_IsOK(ecode2)) {
27609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27610 }
27611 arg2 = static_cast< int >(val2);
27612 ecode3 = SWIG_AsVal_int(obj2, &val3);
27613 if (!SWIG_IsOK(ecode3)) {
27614 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27615 }
27616 arg3 = static_cast< int >(val3);
27617 {
27618 PyThreadState* __tstate = wxPyBeginAllowThreads();
27619 (arg1)->SetPPIScreen(arg2,arg3);
27620 wxPyEndAllowThreads(__tstate);
27621 if (PyErr_Occurred()) SWIG_fail;
27622 }
27623 resultobj = SWIG_Py_Void();
27624 return resultobj;
27625 fail:
27626 return NULL;
27627 }
27628
27629
27630 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27631 PyObject *resultobj = 0;
27632 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27633 int *arg2 = (int *) 0 ;
27634 int *arg3 = (int *) 0 ;
27635 void *argp1 = 0 ;
27636 int res1 = 0 ;
27637 int temp2 ;
27638 int res2 = SWIG_TMPOBJ ;
27639 int temp3 ;
27640 int res3 = SWIG_TMPOBJ ;
27641 PyObject *swig_obj[1] ;
27642
27643 arg2 = &temp2;
27644 arg3 = &temp3;
27645 if (!args) SWIG_fail;
27646 swig_obj[0] = args;
27647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27648 if (!SWIG_IsOK(res1)) {
27649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27650 }
27651 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27652 {
27653 PyThreadState* __tstate = wxPyBeginAllowThreads();
27654 (arg1)->GetPPIScreen(arg2,arg3);
27655 wxPyEndAllowThreads(__tstate);
27656 if (PyErr_Occurred()) SWIG_fail;
27657 }
27658 resultobj = SWIG_Py_Void();
27659 if (SWIG_IsTmpObj(res2)) {
27660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27661 } else {
27662 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27663 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27664 }
27665 if (SWIG_IsTmpObj(res3)) {
27666 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27667 } else {
27668 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27669 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27670 }
27671 return resultobj;
27672 fail:
27673 return NULL;
27674 }
27675
27676
27677 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27678 PyObject *resultobj = 0;
27679 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27680 int arg2 ;
27681 int arg3 ;
27682 void *argp1 = 0 ;
27683 int res1 = 0 ;
27684 int val2 ;
27685 int ecode2 = 0 ;
27686 int val3 ;
27687 int ecode3 = 0 ;
27688 PyObject * obj0 = 0 ;
27689 PyObject * obj1 = 0 ;
27690 PyObject * obj2 = 0 ;
27691 char * kwnames[] = {
27692 (char *) "self",(char *) "x",(char *) "y", NULL
27693 };
27694
27695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27697 if (!SWIG_IsOK(res1)) {
27698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27699 }
27700 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27701 ecode2 = SWIG_AsVal_int(obj1, &val2);
27702 if (!SWIG_IsOK(ecode2)) {
27703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27704 }
27705 arg2 = static_cast< int >(val2);
27706 ecode3 = SWIG_AsVal_int(obj2, &val3);
27707 if (!SWIG_IsOK(ecode3)) {
27708 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27709 }
27710 arg3 = static_cast< int >(val3);
27711 {
27712 PyThreadState* __tstate = wxPyBeginAllowThreads();
27713 (arg1)->SetPPIPrinter(arg2,arg3);
27714 wxPyEndAllowThreads(__tstate);
27715 if (PyErr_Occurred()) SWIG_fail;
27716 }
27717 resultobj = SWIG_Py_Void();
27718 return resultobj;
27719 fail:
27720 return NULL;
27721 }
27722
27723
27724 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27725 PyObject *resultobj = 0;
27726 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27727 int *arg2 = (int *) 0 ;
27728 int *arg3 = (int *) 0 ;
27729 void *argp1 = 0 ;
27730 int res1 = 0 ;
27731 int temp2 ;
27732 int res2 = SWIG_TMPOBJ ;
27733 int temp3 ;
27734 int res3 = SWIG_TMPOBJ ;
27735 PyObject *swig_obj[1] ;
27736
27737 arg2 = &temp2;
27738 arg3 = &temp3;
27739 if (!args) SWIG_fail;
27740 swig_obj[0] = args;
27741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27742 if (!SWIG_IsOK(res1)) {
27743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27744 }
27745 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27746 {
27747 PyThreadState* __tstate = wxPyBeginAllowThreads();
27748 (arg1)->GetPPIPrinter(arg2,arg3);
27749 wxPyEndAllowThreads(__tstate);
27750 if (PyErr_Occurred()) SWIG_fail;
27751 }
27752 resultobj = SWIG_Py_Void();
27753 if (SWIG_IsTmpObj(res2)) {
27754 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27755 } else {
27756 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27757 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27758 }
27759 if (SWIG_IsTmpObj(res3)) {
27760 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27761 } else {
27762 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27763 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27764 }
27765 return resultobj;
27766 fail:
27767 return NULL;
27768 }
27769
27770
27771 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27772 PyObject *resultobj = 0;
27773 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27774 bool result;
27775 void *argp1 = 0 ;
27776 int res1 = 0 ;
27777 PyObject *swig_obj[1] ;
27778
27779 if (!args) SWIG_fail;
27780 swig_obj[0] = args;
27781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27782 if (!SWIG_IsOK(res1)) {
27783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27784 }
27785 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27786 {
27787 PyThreadState* __tstate = wxPyBeginAllowThreads();
27788 result = (bool)(arg1)->IsPreview();
27789 wxPyEndAllowThreads(__tstate);
27790 if (PyErr_Occurred()) SWIG_fail;
27791 }
27792 {
27793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27794 }
27795 return resultobj;
27796 fail:
27797 return NULL;
27798 }
27799
27800
27801 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27802 PyObject *resultobj = 0;
27803 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27804 bool arg2 ;
27805 void *argp1 = 0 ;
27806 int res1 = 0 ;
27807 bool val2 ;
27808 int ecode2 = 0 ;
27809 PyObject * obj0 = 0 ;
27810 PyObject * obj1 = 0 ;
27811 char * kwnames[] = {
27812 (char *) "self",(char *) "p", NULL
27813 };
27814
27815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27817 if (!SWIG_IsOK(res1)) {
27818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27819 }
27820 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27821 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27822 if (!SWIG_IsOK(ecode2)) {
27823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27824 }
27825 arg2 = static_cast< bool >(val2);
27826 {
27827 PyThreadState* __tstate = wxPyBeginAllowThreads();
27828 (arg1)->SetIsPreview(arg2);
27829 wxPyEndAllowThreads(__tstate);
27830 if (PyErr_Occurred()) SWIG_fail;
27831 }
27832 resultobj = SWIG_Py_Void();
27833 return resultobj;
27834 fail:
27835 return NULL;
27836 }
27837
27838
27839 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27840 PyObject *resultobj = 0;
27841 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27842 int arg2 ;
27843 int arg3 ;
27844 bool result;
27845 void *argp1 = 0 ;
27846 int res1 = 0 ;
27847 int val2 ;
27848 int ecode2 = 0 ;
27849 int val3 ;
27850 int ecode3 = 0 ;
27851 PyObject * obj0 = 0 ;
27852 PyObject * obj1 = 0 ;
27853 PyObject * obj2 = 0 ;
27854 char * kwnames[] = {
27855 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27856 };
27857
27858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27860 if (!SWIG_IsOK(res1)) {
27861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27862 }
27863 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27864 ecode2 = SWIG_AsVal_int(obj1, &val2);
27865 if (!SWIG_IsOK(ecode2)) {
27866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27867 }
27868 arg2 = static_cast< int >(val2);
27869 ecode3 = SWIG_AsVal_int(obj2, &val3);
27870 if (!SWIG_IsOK(ecode3)) {
27871 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27872 }
27873 arg3 = static_cast< int >(val3);
27874 {
27875 PyThreadState* __tstate = wxPyBeginAllowThreads();
27876 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
27877 wxPyEndAllowThreads(__tstate);
27878 if (PyErr_Occurred()) SWIG_fail;
27879 }
27880 {
27881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27882 }
27883 return resultobj;
27884 fail:
27885 return NULL;
27886 }
27887
27888
27889 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27890 PyObject *resultobj = 0;
27891 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27892 void *argp1 = 0 ;
27893 int res1 = 0 ;
27894 PyObject *swig_obj[1] ;
27895
27896 if (!args) SWIG_fail;
27897 swig_obj[0] = args;
27898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27899 if (!SWIG_IsOK(res1)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27901 }
27902 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27903 {
27904 PyThreadState* __tstate = wxPyBeginAllowThreads();
27905 (arg1)->OnEndDocument();
27906 wxPyEndAllowThreads(__tstate);
27907 if (PyErr_Occurred()) SWIG_fail;
27908 }
27909 resultobj = SWIG_Py_Void();
27910 return resultobj;
27911 fail:
27912 return NULL;
27913 }
27914
27915
27916 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27917 PyObject *resultobj = 0;
27918 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27919 void *argp1 = 0 ;
27920 int res1 = 0 ;
27921 PyObject *swig_obj[1] ;
27922
27923 if (!args) SWIG_fail;
27924 swig_obj[0] = args;
27925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27926 if (!SWIG_IsOK(res1)) {
27927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27928 }
27929 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27930 {
27931 PyThreadState* __tstate = wxPyBeginAllowThreads();
27932 (arg1)->OnBeginPrinting();
27933 wxPyEndAllowThreads(__tstate);
27934 if (PyErr_Occurred()) SWIG_fail;
27935 }
27936 resultobj = SWIG_Py_Void();
27937 return resultobj;
27938 fail:
27939 return NULL;
27940 }
27941
27942
27943 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27944 PyObject *resultobj = 0;
27945 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27946 void *argp1 = 0 ;
27947 int res1 = 0 ;
27948 PyObject *swig_obj[1] ;
27949
27950 if (!args) SWIG_fail;
27951 swig_obj[0] = args;
27952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27953 if (!SWIG_IsOK(res1)) {
27954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27955 }
27956 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27957 {
27958 PyThreadState* __tstate = wxPyBeginAllowThreads();
27959 (arg1)->OnEndPrinting();
27960 wxPyEndAllowThreads(__tstate);
27961 if (PyErr_Occurred()) SWIG_fail;
27962 }
27963 resultobj = SWIG_Py_Void();
27964 return resultobj;
27965 fail:
27966 return NULL;
27967 }
27968
27969
27970 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27971 PyObject *resultobj = 0;
27972 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27973 void *argp1 = 0 ;
27974 int res1 = 0 ;
27975 PyObject *swig_obj[1] ;
27976
27977 if (!args) SWIG_fail;
27978 swig_obj[0] = args;
27979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27980 if (!SWIG_IsOK(res1)) {
27981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27982 }
27983 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27984 {
27985 PyThreadState* __tstate = wxPyBeginAllowThreads();
27986 (arg1)->OnPreparePrinting();
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_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27998 PyObject *resultobj = 0;
27999 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28000 int arg2 ;
28001 bool result;
28002 void *argp1 = 0 ;
28003 int res1 = 0 ;
28004 int val2 ;
28005 int ecode2 = 0 ;
28006 PyObject * obj0 = 0 ;
28007 PyObject * obj1 = 0 ;
28008 char * kwnames[] = {
28009 (char *) "self",(char *) "page", NULL
28010 };
28011
28012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28014 if (!SWIG_IsOK(res1)) {
28015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28016 }
28017 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28018 ecode2 = SWIG_AsVal_int(obj1, &val2);
28019 if (!SWIG_IsOK(ecode2)) {
28020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28021 }
28022 arg2 = static_cast< int >(val2);
28023 {
28024 PyThreadState* __tstate = wxPyBeginAllowThreads();
28025 result = (bool)(arg1)->HasPage(arg2);
28026 wxPyEndAllowThreads(__tstate);
28027 if (PyErr_Occurred()) SWIG_fail;
28028 }
28029 {
28030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28031 }
28032 return resultobj;
28033 fail:
28034 return NULL;
28035 }
28036
28037
28038 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28039 PyObject *resultobj = 0;
28040 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28041 int *arg2 = (int *) 0 ;
28042 int *arg3 = (int *) 0 ;
28043 int *arg4 = (int *) 0 ;
28044 int *arg5 = (int *) 0 ;
28045 void *argp1 = 0 ;
28046 int res1 = 0 ;
28047 int temp2 ;
28048 int res2 = SWIG_TMPOBJ ;
28049 int temp3 ;
28050 int res3 = SWIG_TMPOBJ ;
28051 int temp4 ;
28052 int res4 = SWIG_TMPOBJ ;
28053 int temp5 ;
28054 int res5 = SWIG_TMPOBJ ;
28055 PyObject *swig_obj[1] ;
28056
28057 arg2 = &temp2;
28058 arg3 = &temp3;
28059 arg4 = &temp4;
28060 arg5 = &temp5;
28061 if (!args) SWIG_fail;
28062 swig_obj[0] = args;
28063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28064 if (!SWIG_IsOK(res1)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28066 }
28067 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28068 {
28069 PyThreadState* __tstate = wxPyBeginAllowThreads();
28070 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28071 wxPyEndAllowThreads(__tstate);
28072 if (PyErr_Occurred()) SWIG_fail;
28073 }
28074 resultobj = SWIG_Py_Void();
28075 if (SWIG_IsTmpObj(res2)) {
28076 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28077 } else {
28078 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28079 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28080 }
28081 if (SWIG_IsTmpObj(res3)) {
28082 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28083 } else {
28084 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28085 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28086 }
28087 if (SWIG_IsTmpObj(res4)) {
28088 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28089 } else {
28090 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28091 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28092 }
28093 if (SWIG_IsTmpObj(res5)) {
28094 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28095 } else {
28096 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28097 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28098 }
28099 return resultobj;
28100 fail:
28101 return NULL;
28102 }
28103
28104
28105 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28106 PyObject *obj;
28107 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28108 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28109 return SWIG_Py_Void();
28110 }
28111
28112 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28113 return SWIG_Python_InitShadowInstance(args);
28114 }
28115
28116 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28117 PyObject *resultobj = 0;
28118 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28119 wxWindow *arg2 = (wxWindow *) 0 ;
28120 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28121 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28122 wxSize const &arg4_defvalue = wxDefaultSize ;
28123 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28124 long arg5 = (long) 0 ;
28125 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28126 wxString *arg6 = (wxString *) &arg6_defvalue ;
28127 wxPreviewCanvas *result = 0 ;
28128 void *argp1 = 0 ;
28129 int res1 = 0 ;
28130 void *argp2 = 0 ;
28131 int res2 = 0 ;
28132 wxPoint temp3 ;
28133 wxSize temp4 ;
28134 long val5 ;
28135 int ecode5 = 0 ;
28136 bool temp6 = false ;
28137 PyObject * obj0 = 0 ;
28138 PyObject * obj1 = 0 ;
28139 PyObject * obj2 = 0 ;
28140 PyObject * obj3 = 0 ;
28141 PyObject * obj4 = 0 ;
28142 PyObject * obj5 = 0 ;
28143 char * kwnames[] = {
28144 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28145 };
28146
28147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28149 if (!SWIG_IsOK(res1)) {
28150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28151 }
28152 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28153 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28154 if (!SWIG_IsOK(res2)) {
28155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28156 }
28157 arg2 = reinterpret_cast< wxWindow * >(argp2);
28158 if (obj2) {
28159 {
28160 arg3 = &temp3;
28161 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28162 }
28163 }
28164 if (obj3) {
28165 {
28166 arg4 = &temp4;
28167 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28168 }
28169 }
28170 if (obj4) {
28171 ecode5 = SWIG_AsVal_long(obj4, &val5);
28172 if (!SWIG_IsOK(ecode5)) {
28173 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28174 }
28175 arg5 = static_cast< long >(val5);
28176 }
28177 if (obj5) {
28178 {
28179 arg6 = wxString_in_helper(obj5);
28180 if (arg6 == NULL) SWIG_fail;
28181 temp6 = true;
28182 }
28183 }
28184 {
28185 if (!wxPyCheckForApp()) SWIG_fail;
28186 PyThreadState* __tstate = wxPyBeginAllowThreads();
28187 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28188 wxPyEndAllowThreads(__tstate);
28189 if (PyErr_Occurred()) SWIG_fail;
28190 }
28191 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28192 {
28193 if (temp6)
28194 delete arg6;
28195 }
28196 return resultobj;
28197 fail:
28198 {
28199 if (temp6)
28200 delete arg6;
28201 }
28202 return NULL;
28203 }
28204
28205
28206 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28207 PyObject *obj;
28208 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28209 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28210 return SWIG_Py_Void();
28211 }
28212
28213 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28214 return SWIG_Python_InitShadowInstance(args);
28215 }
28216
28217 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28218 PyObject *resultobj = 0;
28219 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28220 wxFrame *arg2 = (wxFrame *) 0 ;
28221 wxString *arg3 = 0 ;
28222 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28223 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28224 wxSize const &arg5_defvalue = wxDefaultSize ;
28225 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28226 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28227 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28228 wxString *arg7 = (wxString *) &arg7_defvalue ;
28229 wxPreviewFrame *result = 0 ;
28230 int res1 = 0 ;
28231 void *argp2 = 0 ;
28232 int res2 = 0 ;
28233 bool temp3 = false ;
28234 wxPoint temp4 ;
28235 wxSize temp5 ;
28236 long val6 ;
28237 int ecode6 = 0 ;
28238 bool temp7 = false ;
28239 PyObject * obj0 = 0 ;
28240 PyObject * obj1 = 0 ;
28241 PyObject * obj2 = 0 ;
28242 PyObject * obj3 = 0 ;
28243 PyObject * obj4 = 0 ;
28244 PyObject * obj5 = 0 ;
28245 PyObject * obj6 = 0 ;
28246 char * kwnames[] = {
28247 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28248 };
28249
28250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28251 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28252 if (!SWIG_IsOK(res1)) {
28253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28254 }
28255 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28256 if (!SWIG_IsOK(res2)) {
28257 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28258 }
28259 arg2 = reinterpret_cast< wxFrame * >(argp2);
28260 {
28261 arg3 = wxString_in_helper(obj2);
28262 if (arg3 == NULL) SWIG_fail;
28263 temp3 = true;
28264 }
28265 if (obj3) {
28266 {
28267 arg4 = &temp4;
28268 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28269 }
28270 }
28271 if (obj4) {
28272 {
28273 arg5 = &temp5;
28274 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28275 }
28276 }
28277 if (obj5) {
28278 ecode6 = SWIG_AsVal_long(obj5, &val6);
28279 if (!SWIG_IsOK(ecode6)) {
28280 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28281 }
28282 arg6 = static_cast< long >(val6);
28283 }
28284 if (obj6) {
28285 {
28286 arg7 = wxString_in_helper(obj6);
28287 if (arg7 == NULL) SWIG_fail;
28288 temp7 = true;
28289 }
28290 }
28291 {
28292 if (!wxPyCheckForApp()) SWIG_fail;
28293 PyThreadState* __tstate = wxPyBeginAllowThreads();
28294 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28295 wxPyEndAllowThreads(__tstate);
28296 if (PyErr_Occurred()) SWIG_fail;
28297 }
28298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28299 {
28300 if (temp3)
28301 delete arg3;
28302 }
28303 {
28304 if (temp7)
28305 delete arg7;
28306 }
28307 return resultobj;
28308 fail:
28309 {
28310 if (temp3)
28311 delete arg3;
28312 }
28313 {
28314 if (temp7)
28315 delete arg7;
28316 }
28317 return NULL;
28318 }
28319
28320
28321 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28322 PyObject *resultobj = 0;
28323 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28324 void *argp1 = 0 ;
28325 int res1 = 0 ;
28326 PyObject *swig_obj[1] ;
28327
28328 if (!args) SWIG_fail;
28329 swig_obj[0] = args;
28330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28331 if (!SWIG_IsOK(res1)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28333 }
28334 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28335 {
28336 PyThreadState* __tstate = wxPyBeginAllowThreads();
28337 (arg1)->Initialize();
28338 wxPyEndAllowThreads(__tstate);
28339 if (PyErr_Occurred()) SWIG_fail;
28340 }
28341 resultobj = SWIG_Py_Void();
28342 return resultobj;
28343 fail:
28344 return NULL;
28345 }
28346
28347
28348 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28349 PyObject *resultobj = 0;
28350 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28351 void *argp1 = 0 ;
28352 int res1 = 0 ;
28353 PyObject *swig_obj[1] ;
28354
28355 if (!args) SWIG_fail;
28356 swig_obj[0] = args;
28357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28358 if (!SWIG_IsOK(res1)) {
28359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28360 }
28361 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28362 {
28363 PyThreadState* __tstate = wxPyBeginAllowThreads();
28364 (arg1)->CreateControlBar();
28365 wxPyEndAllowThreads(__tstate);
28366 if (PyErr_Occurred()) SWIG_fail;
28367 }
28368 resultobj = SWIG_Py_Void();
28369 return resultobj;
28370 fail:
28371 return NULL;
28372 }
28373
28374
28375 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28376 PyObject *resultobj = 0;
28377 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28378 void *argp1 = 0 ;
28379 int res1 = 0 ;
28380 PyObject *swig_obj[1] ;
28381
28382 if (!args) SWIG_fail;
28383 swig_obj[0] = args;
28384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28385 if (!SWIG_IsOK(res1)) {
28386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28387 }
28388 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28389 {
28390 PyThreadState* __tstate = wxPyBeginAllowThreads();
28391 (arg1)->CreateCanvas();
28392 wxPyEndAllowThreads(__tstate);
28393 if (PyErr_Occurred()) SWIG_fail;
28394 }
28395 resultobj = SWIG_Py_Void();
28396 return resultobj;
28397 fail:
28398 return NULL;
28399 }
28400
28401
28402 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28403 PyObject *resultobj = 0;
28404 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28405 wxPreviewControlBar *result = 0 ;
28406 void *argp1 = 0 ;
28407 int res1 = 0 ;
28408 PyObject *swig_obj[1] ;
28409
28410 if (!args) SWIG_fail;
28411 swig_obj[0] = args;
28412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28413 if (!SWIG_IsOK(res1)) {
28414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28415 }
28416 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28417 {
28418 PyThreadState* __tstate = wxPyBeginAllowThreads();
28419 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28420 wxPyEndAllowThreads(__tstate);
28421 if (PyErr_Occurred()) SWIG_fail;
28422 }
28423 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28424 return resultobj;
28425 fail:
28426 return NULL;
28427 }
28428
28429
28430 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28431 PyObject *obj;
28432 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28433 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28434 return SWIG_Py_Void();
28435 }
28436
28437 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28438 return SWIG_Python_InitShadowInstance(args);
28439 }
28440
28441 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28442 PyObject *resultobj = 0;
28443 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28444 long arg2 ;
28445 wxWindow *arg3 = (wxWindow *) 0 ;
28446 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28447 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28448 wxSize const &arg5_defvalue = wxDefaultSize ;
28449 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28450 long arg6 = (long) wxTAB_TRAVERSAL ;
28451 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28452 wxString *arg7 = (wxString *) &arg7_defvalue ;
28453 wxPreviewControlBar *result = 0 ;
28454 void *argp1 = 0 ;
28455 int res1 = 0 ;
28456 long val2 ;
28457 int ecode2 = 0 ;
28458 void *argp3 = 0 ;
28459 int res3 = 0 ;
28460 wxPoint temp4 ;
28461 wxSize temp5 ;
28462 long val6 ;
28463 int ecode6 = 0 ;
28464 bool temp7 = false ;
28465 PyObject * obj0 = 0 ;
28466 PyObject * obj1 = 0 ;
28467 PyObject * obj2 = 0 ;
28468 PyObject * obj3 = 0 ;
28469 PyObject * obj4 = 0 ;
28470 PyObject * obj5 = 0 ;
28471 PyObject * obj6 = 0 ;
28472 char * kwnames[] = {
28473 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28474 };
28475
28476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28478 if (!SWIG_IsOK(res1)) {
28479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28480 }
28481 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28482 ecode2 = SWIG_AsVal_long(obj1, &val2);
28483 if (!SWIG_IsOK(ecode2)) {
28484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28485 }
28486 arg2 = static_cast< long >(val2);
28487 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28488 if (!SWIG_IsOK(res3)) {
28489 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28490 }
28491 arg3 = reinterpret_cast< wxWindow * >(argp3);
28492 if (obj3) {
28493 {
28494 arg4 = &temp4;
28495 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28496 }
28497 }
28498 if (obj4) {
28499 {
28500 arg5 = &temp5;
28501 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28502 }
28503 }
28504 if (obj5) {
28505 ecode6 = SWIG_AsVal_long(obj5, &val6);
28506 if (!SWIG_IsOK(ecode6)) {
28507 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28508 }
28509 arg6 = static_cast< long >(val6);
28510 }
28511 if (obj6) {
28512 {
28513 arg7 = wxString_in_helper(obj6);
28514 if (arg7 == NULL) SWIG_fail;
28515 temp7 = true;
28516 }
28517 }
28518 {
28519 if (!wxPyCheckForApp()) SWIG_fail;
28520 PyThreadState* __tstate = wxPyBeginAllowThreads();
28521 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28522 wxPyEndAllowThreads(__tstate);
28523 if (PyErr_Occurred()) SWIG_fail;
28524 }
28525 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28526 {
28527 if (temp7)
28528 delete arg7;
28529 }
28530 return resultobj;
28531 fail:
28532 {
28533 if (temp7)
28534 delete arg7;
28535 }
28536 return NULL;
28537 }
28538
28539
28540 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28541 PyObject *resultobj = 0;
28542 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28543 int result;
28544 void *argp1 = 0 ;
28545 int res1 = 0 ;
28546 PyObject *swig_obj[1] ;
28547
28548 if (!args) SWIG_fail;
28549 swig_obj[0] = args;
28550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28551 if (!SWIG_IsOK(res1)) {
28552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28553 }
28554 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28555 {
28556 PyThreadState* __tstate = wxPyBeginAllowThreads();
28557 result = (int)(arg1)->GetZoomControl();
28558 wxPyEndAllowThreads(__tstate);
28559 if (PyErr_Occurred()) SWIG_fail;
28560 }
28561 resultobj = SWIG_From_int(static_cast< int >(result));
28562 return resultobj;
28563 fail:
28564 return NULL;
28565 }
28566
28567
28568 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28569 PyObject *resultobj = 0;
28570 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28571 int arg2 ;
28572 void *argp1 = 0 ;
28573 int res1 = 0 ;
28574 int val2 ;
28575 int ecode2 = 0 ;
28576 PyObject * obj0 = 0 ;
28577 PyObject * obj1 = 0 ;
28578 char * kwnames[] = {
28579 (char *) "self",(char *) "zoom", NULL
28580 };
28581
28582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28584 if (!SWIG_IsOK(res1)) {
28585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28586 }
28587 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28588 ecode2 = SWIG_AsVal_int(obj1, &val2);
28589 if (!SWIG_IsOK(ecode2)) {
28590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28591 }
28592 arg2 = static_cast< int >(val2);
28593 {
28594 PyThreadState* __tstate = wxPyBeginAllowThreads();
28595 (arg1)->SetZoomControl(arg2);
28596 wxPyEndAllowThreads(__tstate);
28597 if (PyErr_Occurred()) SWIG_fail;
28598 }
28599 resultobj = SWIG_Py_Void();
28600 return resultobj;
28601 fail:
28602 return NULL;
28603 }
28604
28605
28606 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28607 PyObject *resultobj = 0;
28608 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28609 wxPrintPreview *result = 0 ;
28610 void *argp1 = 0 ;
28611 int res1 = 0 ;
28612 PyObject *swig_obj[1] ;
28613
28614 if (!args) SWIG_fail;
28615 swig_obj[0] = args;
28616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28617 if (!SWIG_IsOK(res1)) {
28618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28619 }
28620 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28621 {
28622 PyThreadState* __tstate = wxPyBeginAllowThreads();
28623 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28624 wxPyEndAllowThreads(__tstate);
28625 if (PyErr_Occurred()) SWIG_fail;
28626 }
28627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28628 return resultobj;
28629 fail:
28630 return NULL;
28631 }
28632
28633
28634 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28635 PyObject *resultobj = 0;
28636 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28637 void *argp1 = 0 ;
28638 int res1 = 0 ;
28639 PyObject *swig_obj[1] ;
28640
28641 if (!args) SWIG_fail;
28642 swig_obj[0] = args;
28643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28644 if (!SWIG_IsOK(res1)) {
28645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28646 }
28647 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28648 {
28649 PyThreadState* __tstate = wxPyBeginAllowThreads();
28650 (arg1)->OnNext();
28651 wxPyEndAllowThreads(__tstate);
28652 if (PyErr_Occurred()) SWIG_fail;
28653 }
28654 resultobj = SWIG_Py_Void();
28655 return resultobj;
28656 fail:
28657 return NULL;
28658 }
28659
28660
28661 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28662 PyObject *resultobj = 0;
28663 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28664 void *argp1 = 0 ;
28665 int res1 = 0 ;
28666 PyObject *swig_obj[1] ;
28667
28668 if (!args) SWIG_fail;
28669 swig_obj[0] = args;
28670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28671 if (!SWIG_IsOK(res1)) {
28672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28673 }
28674 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28675 {
28676 PyThreadState* __tstate = wxPyBeginAllowThreads();
28677 (arg1)->OnPrevious();
28678 wxPyEndAllowThreads(__tstate);
28679 if (PyErr_Occurred()) SWIG_fail;
28680 }
28681 resultobj = SWIG_Py_Void();
28682 return resultobj;
28683 fail:
28684 return NULL;
28685 }
28686
28687
28688 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28689 PyObject *resultobj = 0;
28690 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28691 void *argp1 = 0 ;
28692 int res1 = 0 ;
28693 PyObject *swig_obj[1] ;
28694
28695 if (!args) SWIG_fail;
28696 swig_obj[0] = args;
28697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28698 if (!SWIG_IsOK(res1)) {
28699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28700 }
28701 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28702 {
28703 PyThreadState* __tstate = wxPyBeginAllowThreads();
28704 (arg1)->OnFirst();
28705 wxPyEndAllowThreads(__tstate);
28706 if (PyErr_Occurred()) SWIG_fail;
28707 }
28708 resultobj = SWIG_Py_Void();
28709 return resultobj;
28710 fail:
28711 return NULL;
28712 }
28713
28714
28715 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28716 PyObject *resultobj = 0;
28717 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28718 void *argp1 = 0 ;
28719 int res1 = 0 ;
28720 PyObject *swig_obj[1] ;
28721
28722 if (!args) SWIG_fail;
28723 swig_obj[0] = args;
28724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28725 if (!SWIG_IsOK(res1)) {
28726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28727 }
28728 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28729 {
28730 PyThreadState* __tstate = wxPyBeginAllowThreads();
28731 (arg1)->OnLast();
28732 wxPyEndAllowThreads(__tstate);
28733 if (PyErr_Occurred()) SWIG_fail;
28734 }
28735 resultobj = SWIG_Py_Void();
28736 return resultobj;
28737 fail:
28738 return NULL;
28739 }
28740
28741
28742 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28743 PyObject *resultobj = 0;
28744 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28745 void *argp1 = 0 ;
28746 int res1 = 0 ;
28747 PyObject *swig_obj[1] ;
28748
28749 if (!args) SWIG_fail;
28750 swig_obj[0] = args;
28751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28752 if (!SWIG_IsOK(res1)) {
28753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28754 }
28755 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28756 {
28757 PyThreadState* __tstate = wxPyBeginAllowThreads();
28758 (arg1)->OnGoto();
28759 wxPyEndAllowThreads(__tstate);
28760 if (PyErr_Occurred()) SWIG_fail;
28761 }
28762 resultobj = SWIG_Py_Void();
28763 return resultobj;
28764 fail:
28765 return NULL;
28766 }
28767
28768
28769 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28770 PyObject *obj;
28771 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28772 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28773 return SWIG_Py_Void();
28774 }
28775
28776 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28777 return SWIG_Python_InitShadowInstance(args);
28778 }
28779
28780 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28781 PyObject *resultobj = 0;
28782 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28783 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28784 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28785 wxPrintPreview *result = 0 ;
28786 int res1 = 0 ;
28787 int res2 = 0 ;
28788 void *argp3 = 0 ;
28789 int res3 = 0 ;
28790
28791 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28792 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28793 if (!SWIG_IsOK(res1)) {
28794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28795 }
28796 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28797 if (!SWIG_IsOK(res2)) {
28798 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28799 }
28800 if (swig_obj[2]) {
28801 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28802 if (!SWIG_IsOK(res3)) {
28803 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28804 }
28805 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28806 }
28807 {
28808 if (!wxPyCheckForApp()) SWIG_fail;
28809 PyThreadState* __tstate = wxPyBeginAllowThreads();
28810 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28811 wxPyEndAllowThreads(__tstate);
28812 if (PyErr_Occurred()) SWIG_fail;
28813 }
28814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28815 return resultobj;
28816 fail:
28817 return NULL;
28818 }
28819
28820
28821 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28822 PyObject *resultobj = 0;
28823 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28824 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28825 wxPrintData *arg3 = (wxPrintData *) 0 ;
28826 wxPrintPreview *result = 0 ;
28827 int res1 = 0 ;
28828 int res2 = 0 ;
28829 void *argp3 = 0 ;
28830 int res3 = 0 ;
28831
28832 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28833 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28834 if (!SWIG_IsOK(res1)) {
28835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28836 }
28837 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28838 if (!SWIG_IsOK(res2)) {
28839 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28840 }
28841 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28842 if (!SWIG_IsOK(res3)) {
28843 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28844 }
28845 arg3 = reinterpret_cast< wxPrintData * >(argp3);
28846 {
28847 if (!wxPyCheckForApp()) SWIG_fail;
28848 PyThreadState* __tstate = wxPyBeginAllowThreads();
28849 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28850 wxPyEndAllowThreads(__tstate);
28851 if (PyErr_Occurred()) SWIG_fail;
28852 }
28853 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28854 return resultobj;
28855 fail:
28856 return NULL;
28857 }
28858
28859
28860 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
28861 int argc;
28862 PyObject *argv[4];
28863
28864 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
28865 --argc;
28866 if ((argc >= 2) && (argc <= 3)) {
28867 int _v = 0;
28868 if (argc > 2) {
28869 {
28870 void *vptr = 0;
28871 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
28872 _v = SWIG_CheckState(res);
28873 }
28874 if (!_v) goto check_1;
28875 }
28876 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
28877 }
28878 check_1:
28879
28880 if (argc == 3) {
28881 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
28882 }
28883
28884 fail:
28885 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
28886 return NULL;
28887 }
28888
28889
28890 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28891 PyObject *resultobj = 0;
28892 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28893 void *argp1 = 0 ;
28894 int res1 = 0 ;
28895 PyObject *swig_obj[1] ;
28896
28897 if (!args) SWIG_fail;
28898 swig_obj[0] = args;
28899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28900 if (!SWIG_IsOK(res1)) {
28901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28902 }
28903 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28904 {
28905 PyThreadState* __tstate = wxPyBeginAllowThreads();
28906 delete arg1;
28907
28908 wxPyEndAllowThreads(__tstate);
28909 if (PyErr_Occurred()) SWIG_fail;
28910 }
28911 resultobj = SWIG_Py_Void();
28912 return resultobj;
28913 fail:
28914 return NULL;
28915 }
28916
28917
28918 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28919 PyObject *resultobj = 0;
28920 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28921 int arg2 ;
28922 bool result;
28923 void *argp1 = 0 ;
28924 int res1 = 0 ;
28925 int val2 ;
28926 int ecode2 = 0 ;
28927 PyObject * obj0 = 0 ;
28928 PyObject * obj1 = 0 ;
28929 char * kwnames[] = {
28930 (char *) "self",(char *) "pageNum", NULL
28931 };
28932
28933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
28934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28935 if (!SWIG_IsOK(res1)) {
28936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28937 }
28938 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28939 ecode2 = SWIG_AsVal_int(obj1, &val2);
28940 if (!SWIG_IsOK(ecode2)) {
28941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28942 }
28943 arg2 = static_cast< int >(val2);
28944 {
28945 PyThreadState* __tstate = wxPyBeginAllowThreads();
28946 result = (bool)(arg1)->SetCurrentPage(arg2);
28947 wxPyEndAllowThreads(__tstate);
28948 if (PyErr_Occurred()) SWIG_fail;
28949 }
28950 {
28951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28952 }
28953 return resultobj;
28954 fail:
28955 return NULL;
28956 }
28957
28958
28959 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28960 PyObject *resultobj = 0;
28961 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28962 int result;
28963 void *argp1 = 0 ;
28964 int res1 = 0 ;
28965 PyObject *swig_obj[1] ;
28966
28967 if (!args) SWIG_fail;
28968 swig_obj[0] = args;
28969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28970 if (!SWIG_IsOK(res1)) {
28971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28972 }
28973 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28974 {
28975 PyThreadState* __tstate = wxPyBeginAllowThreads();
28976 result = (int)(arg1)->GetCurrentPage();
28977 wxPyEndAllowThreads(__tstate);
28978 if (PyErr_Occurred()) SWIG_fail;
28979 }
28980 resultobj = SWIG_From_int(static_cast< int >(result));
28981 return resultobj;
28982 fail:
28983 return NULL;
28984 }
28985
28986
28987 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28988 PyObject *resultobj = 0;
28989 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28990 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28991 void *argp1 = 0 ;
28992 int res1 = 0 ;
28993 int res2 = 0 ;
28994 PyObject * obj0 = 0 ;
28995 PyObject * obj1 = 0 ;
28996 char * kwnames[] = {
28997 (char *) "self",(char *) "printout", NULL
28998 };
28999
29000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29002 if (!SWIG_IsOK(res1)) {
29003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29004 }
29005 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29006 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29007 if (!SWIG_IsOK(res2)) {
29008 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29009 }
29010 {
29011 PyThreadState* __tstate = wxPyBeginAllowThreads();
29012 (arg1)->SetPrintout(arg2);
29013 wxPyEndAllowThreads(__tstate);
29014 if (PyErr_Occurred()) SWIG_fail;
29015 }
29016 resultobj = SWIG_Py_Void();
29017 return resultobj;
29018 fail:
29019 return NULL;
29020 }
29021
29022
29023 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29024 PyObject *resultobj = 0;
29025 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29026 wxPyPrintout *result = 0 ;
29027 void *argp1 = 0 ;
29028 int res1 = 0 ;
29029 PyObject *swig_obj[1] ;
29030
29031 if (!args) SWIG_fail;
29032 swig_obj[0] = args;
29033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29034 if (!SWIG_IsOK(res1)) {
29035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29036 }
29037 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29038 {
29039 PyThreadState* __tstate = wxPyBeginAllowThreads();
29040 result = (wxPyPrintout *)(arg1)->GetPrintout();
29041 wxPyEndAllowThreads(__tstate);
29042 if (PyErr_Occurred()) SWIG_fail;
29043 }
29044 {
29045 resultobj = wxPyMake_wxObject(result, 0);
29046 }
29047 return resultobj;
29048 fail:
29049 return NULL;
29050 }
29051
29052
29053 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29054 PyObject *resultobj = 0;
29055 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29056 wxPyPrintout *result = 0 ;
29057 void *argp1 = 0 ;
29058 int res1 = 0 ;
29059 PyObject *swig_obj[1] ;
29060
29061 if (!args) SWIG_fail;
29062 swig_obj[0] = args;
29063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29064 if (!SWIG_IsOK(res1)) {
29065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29066 }
29067 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29068 {
29069 PyThreadState* __tstate = wxPyBeginAllowThreads();
29070 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29071 wxPyEndAllowThreads(__tstate);
29072 if (PyErr_Occurred()) SWIG_fail;
29073 }
29074 {
29075 resultobj = wxPyMake_wxObject(result, 0);
29076 }
29077 return resultobj;
29078 fail:
29079 return NULL;
29080 }
29081
29082
29083 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29084 PyObject *resultobj = 0;
29085 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29086 wxFrame *arg2 = (wxFrame *) 0 ;
29087 void *argp1 = 0 ;
29088 int res1 = 0 ;
29089 void *argp2 = 0 ;
29090 int res2 = 0 ;
29091 PyObject * obj0 = 0 ;
29092 PyObject * obj1 = 0 ;
29093 char * kwnames[] = {
29094 (char *) "self",(char *) "frame", NULL
29095 };
29096
29097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29099 if (!SWIG_IsOK(res1)) {
29100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29101 }
29102 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29103 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29104 if (!SWIG_IsOK(res2)) {
29105 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29106 }
29107 arg2 = reinterpret_cast< wxFrame * >(argp2);
29108 {
29109 PyThreadState* __tstate = wxPyBeginAllowThreads();
29110 (arg1)->SetFrame(arg2);
29111 wxPyEndAllowThreads(__tstate);
29112 if (PyErr_Occurred()) SWIG_fail;
29113 }
29114 resultobj = SWIG_Py_Void();
29115 return resultobj;
29116 fail:
29117 return NULL;
29118 }
29119
29120
29121 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29122 PyObject *resultobj = 0;
29123 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29124 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29125 void *argp1 = 0 ;
29126 int res1 = 0 ;
29127 void *argp2 = 0 ;
29128 int res2 = 0 ;
29129 PyObject * obj0 = 0 ;
29130 PyObject * obj1 = 0 ;
29131 char * kwnames[] = {
29132 (char *) "self",(char *) "canvas", NULL
29133 };
29134
29135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29137 if (!SWIG_IsOK(res1)) {
29138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29139 }
29140 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29141 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29142 if (!SWIG_IsOK(res2)) {
29143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29144 }
29145 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29146 {
29147 PyThreadState* __tstate = wxPyBeginAllowThreads();
29148 (arg1)->SetCanvas(arg2);
29149 wxPyEndAllowThreads(__tstate);
29150 if (PyErr_Occurred()) SWIG_fail;
29151 }
29152 resultobj = SWIG_Py_Void();
29153 return resultobj;
29154 fail:
29155 return NULL;
29156 }
29157
29158
29159 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29160 PyObject *resultobj = 0;
29161 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29162 wxFrame *result = 0 ;
29163 void *argp1 = 0 ;
29164 int res1 = 0 ;
29165 PyObject *swig_obj[1] ;
29166
29167 if (!args) SWIG_fail;
29168 swig_obj[0] = args;
29169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29170 if (!SWIG_IsOK(res1)) {
29171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29172 }
29173 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29174 {
29175 PyThreadState* __tstate = wxPyBeginAllowThreads();
29176 result = (wxFrame *)(arg1)->GetFrame();
29177 wxPyEndAllowThreads(__tstate);
29178 if (PyErr_Occurred()) SWIG_fail;
29179 }
29180 {
29181 resultobj = wxPyMake_wxObject(result, 0);
29182 }
29183 return resultobj;
29184 fail:
29185 return NULL;
29186 }
29187
29188
29189 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29190 PyObject *resultobj = 0;
29191 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29192 wxPreviewCanvas *result = 0 ;
29193 void *argp1 = 0 ;
29194 int res1 = 0 ;
29195 PyObject *swig_obj[1] ;
29196
29197 if (!args) SWIG_fail;
29198 swig_obj[0] = args;
29199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29200 if (!SWIG_IsOK(res1)) {
29201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29202 }
29203 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29204 {
29205 PyThreadState* __tstate = wxPyBeginAllowThreads();
29206 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29207 wxPyEndAllowThreads(__tstate);
29208 if (PyErr_Occurred()) SWIG_fail;
29209 }
29210 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29211 return resultobj;
29212 fail:
29213 return NULL;
29214 }
29215
29216
29217 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29218 PyObject *resultobj = 0;
29219 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29220 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29221 wxDC *arg3 = 0 ;
29222 bool result;
29223 void *argp1 = 0 ;
29224 int res1 = 0 ;
29225 void *argp2 = 0 ;
29226 int res2 = 0 ;
29227 void *argp3 = 0 ;
29228 int res3 = 0 ;
29229 PyObject * obj0 = 0 ;
29230 PyObject * obj1 = 0 ;
29231 PyObject * obj2 = 0 ;
29232 char * kwnames[] = {
29233 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29234 };
29235
29236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29238 if (!SWIG_IsOK(res1)) {
29239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29240 }
29241 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29242 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29243 if (!SWIG_IsOK(res2)) {
29244 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29245 }
29246 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29247 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29248 if (!SWIG_IsOK(res3)) {
29249 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29250 }
29251 if (!argp3) {
29252 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29253 }
29254 arg3 = reinterpret_cast< wxDC * >(argp3);
29255 {
29256 PyThreadState* __tstate = wxPyBeginAllowThreads();
29257 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29258 wxPyEndAllowThreads(__tstate);
29259 if (PyErr_Occurred()) SWIG_fail;
29260 }
29261 {
29262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29263 }
29264 return resultobj;
29265 fail:
29266 return NULL;
29267 }
29268
29269
29270 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29271 PyObject *resultobj = 0;
29272 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29273 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29274 wxDC *arg3 = 0 ;
29275 bool result;
29276 void *argp1 = 0 ;
29277 int res1 = 0 ;
29278 void *argp2 = 0 ;
29279 int res2 = 0 ;
29280 void *argp3 = 0 ;
29281 int res3 = 0 ;
29282 PyObject * obj0 = 0 ;
29283 PyObject * obj1 = 0 ;
29284 PyObject * obj2 = 0 ;
29285 char * kwnames[] = {
29286 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29287 };
29288
29289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29291 if (!SWIG_IsOK(res1)) {
29292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29293 }
29294 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29295 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29296 if (!SWIG_IsOK(res2)) {
29297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29298 }
29299 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29300 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29301 if (!SWIG_IsOK(res3)) {
29302 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29303 }
29304 if (!argp3) {
29305 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29306 }
29307 arg3 = reinterpret_cast< wxDC * >(argp3);
29308 {
29309 PyThreadState* __tstate = wxPyBeginAllowThreads();
29310 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29311 wxPyEndAllowThreads(__tstate);
29312 if (PyErr_Occurred()) SWIG_fail;
29313 }
29314 {
29315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29316 }
29317 return resultobj;
29318 fail:
29319 return NULL;
29320 }
29321
29322
29323 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29324 PyObject *resultobj = 0;
29325 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29326 int arg2 ;
29327 bool result;
29328 void *argp1 = 0 ;
29329 int res1 = 0 ;
29330 int val2 ;
29331 int ecode2 = 0 ;
29332 PyObject * obj0 = 0 ;
29333 PyObject * obj1 = 0 ;
29334 char * kwnames[] = {
29335 (char *) "self",(char *) "pageNum", NULL
29336 };
29337
29338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29340 if (!SWIG_IsOK(res1)) {
29341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29342 }
29343 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29344 ecode2 = SWIG_AsVal_int(obj1, &val2);
29345 if (!SWIG_IsOK(ecode2)) {
29346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29347 }
29348 arg2 = static_cast< int >(val2);
29349 {
29350 PyThreadState* __tstate = wxPyBeginAllowThreads();
29351 result = (bool)(arg1)->RenderPage(arg2);
29352 wxPyEndAllowThreads(__tstate);
29353 if (PyErr_Occurred()) SWIG_fail;
29354 }
29355 {
29356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29357 }
29358 return resultobj;
29359 fail:
29360 return NULL;
29361 }
29362
29363
29364 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29365 PyObject *resultobj = 0;
29366 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29367 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29368 void *argp1 = 0 ;
29369 int res1 = 0 ;
29370 void *argp2 = 0 ;
29371 int res2 = 0 ;
29372 PyObject * obj0 = 0 ;
29373 PyObject * obj1 = 0 ;
29374 char * kwnames[] = {
29375 (char *) "self",(char *) "canvas", NULL
29376 };
29377
29378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29380 if (!SWIG_IsOK(res1)) {
29381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29382 }
29383 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29384 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29385 if (!SWIG_IsOK(res2)) {
29386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29387 }
29388 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29389 {
29390 PyThreadState* __tstate = wxPyBeginAllowThreads();
29391 (arg1)->AdjustScrollbars(arg2);
29392 wxPyEndAllowThreads(__tstate);
29393 if (PyErr_Occurred()) SWIG_fail;
29394 }
29395 resultobj = SWIG_Py_Void();
29396 return resultobj;
29397 fail:
29398 return NULL;
29399 }
29400
29401
29402 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29403 PyObject *resultobj = 0;
29404 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29405 wxPrintDialogData *result = 0 ;
29406 void *argp1 = 0 ;
29407 int res1 = 0 ;
29408 PyObject *swig_obj[1] ;
29409
29410 if (!args) SWIG_fail;
29411 swig_obj[0] = args;
29412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29413 if (!SWIG_IsOK(res1)) {
29414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29415 }
29416 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29417 {
29418 PyThreadState* __tstate = wxPyBeginAllowThreads();
29419 {
29420 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29421 result = (wxPrintDialogData *) &_result_ref;
29422 }
29423 wxPyEndAllowThreads(__tstate);
29424 if (PyErr_Occurred()) SWIG_fail;
29425 }
29426 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29427 return resultobj;
29428 fail:
29429 return NULL;
29430 }
29431
29432
29433 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29434 PyObject *resultobj = 0;
29435 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29436 int arg2 ;
29437 void *argp1 = 0 ;
29438 int res1 = 0 ;
29439 int val2 ;
29440 int ecode2 = 0 ;
29441 PyObject * obj0 = 0 ;
29442 PyObject * obj1 = 0 ;
29443 char * kwnames[] = {
29444 (char *) "self",(char *) "percent", NULL
29445 };
29446
29447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29449 if (!SWIG_IsOK(res1)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29451 }
29452 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29453 ecode2 = SWIG_AsVal_int(obj1, &val2);
29454 if (!SWIG_IsOK(ecode2)) {
29455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29456 }
29457 arg2 = static_cast< int >(val2);
29458 {
29459 PyThreadState* __tstate = wxPyBeginAllowThreads();
29460 (arg1)->SetZoom(arg2);
29461 wxPyEndAllowThreads(__tstate);
29462 if (PyErr_Occurred()) SWIG_fail;
29463 }
29464 resultobj = SWIG_Py_Void();
29465 return resultobj;
29466 fail:
29467 return NULL;
29468 }
29469
29470
29471 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29472 PyObject *resultobj = 0;
29473 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29474 int result;
29475 void *argp1 = 0 ;
29476 int res1 = 0 ;
29477 PyObject *swig_obj[1] ;
29478
29479 if (!args) SWIG_fail;
29480 swig_obj[0] = args;
29481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29482 if (!SWIG_IsOK(res1)) {
29483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29484 }
29485 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29486 {
29487 PyThreadState* __tstate = wxPyBeginAllowThreads();
29488 result = (int)(arg1)->GetZoom();
29489 wxPyEndAllowThreads(__tstate);
29490 if (PyErr_Occurred()) SWIG_fail;
29491 }
29492 resultobj = SWIG_From_int(static_cast< int >(result));
29493 return resultobj;
29494 fail:
29495 return NULL;
29496 }
29497
29498
29499 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29500 PyObject *resultobj = 0;
29501 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29502 int result;
29503 void *argp1 = 0 ;
29504 int res1 = 0 ;
29505 PyObject *swig_obj[1] ;
29506
29507 if (!args) SWIG_fail;
29508 swig_obj[0] = args;
29509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29510 if (!SWIG_IsOK(res1)) {
29511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29512 }
29513 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29514 {
29515 PyThreadState* __tstate = wxPyBeginAllowThreads();
29516 result = (int)(arg1)->GetMaxPage();
29517 wxPyEndAllowThreads(__tstate);
29518 if (PyErr_Occurred()) SWIG_fail;
29519 }
29520 resultobj = SWIG_From_int(static_cast< int >(result));
29521 return resultobj;
29522 fail:
29523 return NULL;
29524 }
29525
29526
29527 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29528 PyObject *resultobj = 0;
29529 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29530 int result;
29531 void *argp1 = 0 ;
29532 int res1 = 0 ;
29533 PyObject *swig_obj[1] ;
29534
29535 if (!args) SWIG_fail;
29536 swig_obj[0] = args;
29537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29538 if (!SWIG_IsOK(res1)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29540 }
29541 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29542 {
29543 PyThreadState* __tstate = wxPyBeginAllowThreads();
29544 result = (int)(arg1)->GetMinPage();
29545 wxPyEndAllowThreads(__tstate);
29546 if (PyErr_Occurred()) SWIG_fail;
29547 }
29548 resultobj = SWIG_From_int(static_cast< int >(result));
29549 return resultobj;
29550 fail:
29551 return NULL;
29552 }
29553
29554
29555 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29556 PyObject *resultobj = 0;
29557 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29558 bool result;
29559 void *argp1 = 0 ;
29560 int res1 = 0 ;
29561 PyObject *swig_obj[1] ;
29562
29563 if (!args) SWIG_fail;
29564 swig_obj[0] = args;
29565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29566 if (!SWIG_IsOK(res1)) {
29567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29568 }
29569 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29570 {
29571 PyThreadState* __tstate = wxPyBeginAllowThreads();
29572 result = (bool)(arg1)->Ok();
29573 wxPyEndAllowThreads(__tstate);
29574 if (PyErr_Occurred()) SWIG_fail;
29575 }
29576 {
29577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29578 }
29579 return resultobj;
29580 fail:
29581 return NULL;
29582 }
29583
29584
29585 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29586 PyObject *resultobj = 0;
29587 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29588 bool arg2 ;
29589 void *argp1 = 0 ;
29590 int res1 = 0 ;
29591 bool val2 ;
29592 int ecode2 = 0 ;
29593 PyObject * obj0 = 0 ;
29594 PyObject * obj1 = 0 ;
29595 char * kwnames[] = {
29596 (char *) "self",(char *) "ok", NULL
29597 };
29598
29599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29601 if (!SWIG_IsOK(res1)) {
29602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29603 }
29604 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29605 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29606 if (!SWIG_IsOK(ecode2)) {
29607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29608 }
29609 arg2 = static_cast< bool >(val2);
29610 {
29611 PyThreadState* __tstate = wxPyBeginAllowThreads();
29612 (arg1)->SetOk(arg2);
29613 wxPyEndAllowThreads(__tstate);
29614 if (PyErr_Occurred()) SWIG_fail;
29615 }
29616 resultobj = SWIG_Py_Void();
29617 return resultobj;
29618 fail:
29619 return NULL;
29620 }
29621
29622
29623 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29624 PyObject *resultobj = 0;
29625 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29626 bool arg2 ;
29627 bool result;
29628 void *argp1 = 0 ;
29629 int res1 = 0 ;
29630 bool val2 ;
29631 int ecode2 = 0 ;
29632 PyObject * obj0 = 0 ;
29633 PyObject * obj1 = 0 ;
29634 char * kwnames[] = {
29635 (char *) "self",(char *) "interactive", NULL
29636 };
29637
29638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29640 if (!SWIG_IsOK(res1)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29642 }
29643 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29644 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29645 if (!SWIG_IsOK(ecode2)) {
29646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29647 }
29648 arg2 = static_cast< bool >(val2);
29649 {
29650 PyThreadState* __tstate = wxPyBeginAllowThreads();
29651 result = (bool)(arg1)->Print(arg2);
29652 wxPyEndAllowThreads(__tstate);
29653 if (PyErr_Occurred()) SWIG_fail;
29654 }
29655 {
29656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29657 }
29658 return resultobj;
29659 fail:
29660 return NULL;
29661 }
29662
29663
29664 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29665 PyObject *resultobj = 0;
29666 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29667 void *argp1 = 0 ;
29668 int res1 = 0 ;
29669 PyObject *swig_obj[1] ;
29670
29671 if (!args) SWIG_fail;
29672 swig_obj[0] = args;
29673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29674 if (!SWIG_IsOK(res1)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29676 }
29677 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29678 {
29679 PyThreadState* __tstate = wxPyBeginAllowThreads();
29680 (arg1)->DetermineScaling();
29681 wxPyEndAllowThreads(__tstate);
29682 if (PyErr_Occurred()) SWIG_fail;
29683 }
29684 resultobj = SWIG_Py_Void();
29685 return resultobj;
29686 fail:
29687 return NULL;
29688 }
29689
29690
29691 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29692 PyObject *obj;
29693 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29694 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29695 return SWIG_Py_Void();
29696 }
29697
29698 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29699 return SWIG_Python_InitShadowInstance(args);
29700 }
29701
29702 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29703 PyObject *resultobj = 0;
29704 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29705 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29706 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29707 wxPyPrintPreview *result = 0 ;
29708 int res1 = 0 ;
29709 int res2 = 0 ;
29710 void *argp3 = 0 ;
29711 int res3 = 0 ;
29712
29713 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29714 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29715 if (!SWIG_IsOK(res1)) {
29716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29717 }
29718 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29719 if (!SWIG_IsOK(res2)) {
29720 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29721 }
29722 if (swig_obj[2]) {
29723 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29724 if (!SWIG_IsOK(res3)) {
29725 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29726 }
29727 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29728 }
29729 {
29730 if (!wxPyCheckForApp()) SWIG_fail;
29731 PyThreadState* __tstate = wxPyBeginAllowThreads();
29732 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29733 wxPyEndAllowThreads(__tstate);
29734 if (PyErr_Occurred()) SWIG_fail;
29735 }
29736 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29737 return resultobj;
29738 fail:
29739 return NULL;
29740 }
29741
29742
29743 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29744 PyObject *resultobj = 0;
29745 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29746 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29747 wxPrintData *arg3 = (wxPrintData *) 0 ;
29748 wxPyPrintPreview *result = 0 ;
29749 int res1 = 0 ;
29750 int res2 = 0 ;
29751 void *argp3 = 0 ;
29752 int res3 = 0 ;
29753
29754 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29755 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29756 if (!SWIG_IsOK(res1)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29758 }
29759 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29760 if (!SWIG_IsOK(res2)) {
29761 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29762 }
29763 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29764 if (!SWIG_IsOK(res3)) {
29765 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29766 }
29767 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29768 {
29769 if (!wxPyCheckForApp()) SWIG_fail;
29770 PyThreadState* __tstate = wxPyBeginAllowThreads();
29771 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29772 wxPyEndAllowThreads(__tstate);
29773 if (PyErr_Occurred()) SWIG_fail;
29774 }
29775 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29776 return resultobj;
29777 fail:
29778 return NULL;
29779 }
29780
29781
29782 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29783 int argc;
29784 PyObject *argv[4];
29785
29786 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29787 --argc;
29788 if ((argc >= 2) && (argc <= 3)) {
29789 int _v = 0;
29790 if (argc > 2) {
29791 {
29792 void *vptr = 0;
29793 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29794 _v = SWIG_CheckState(res);
29795 }
29796 if (!_v) goto check_1;
29797 }
29798 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29799 }
29800 check_1:
29801
29802 if (argc == 3) {
29803 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29804 }
29805
29806 fail:
29807 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29808 return NULL;
29809 }
29810
29811
29812 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29813 PyObject *resultobj = 0;
29814 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29815 PyObject *arg2 = (PyObject *) 0 ;
29816 PyObject *arg3 = (PyObject *) 0 ;
29817 void *argp1 = 0 ;
29818 int res1 = 0 ;
29819 PyObject * obj0 = 0 ;
29820 PyObject * obj1 = 0 ;
29821 PyObject * obj2 = 0 ;
29822 char * kwnames[] = {
29823 (char *) "self",(char *) "self",(char *) "_class", NULL
29824 };
29825
29826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29828 if (!SWIG_IsOK(res1)) {
29829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29830 }
29831 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29832 arg2 = obj1;
29833 arg3 = obj2;
29834 {
29835 PyThreadState* __tstate = wxPyBeginAllowThreads();
29836 (arg1)->_setCallbackInfo(arg2,arg3);
29837 wxPyEndAllowThreads(__tstate);
29838 if (PyErr_Occurred()) SWIG_fail;
29839 }
29840 resultobj = SWIG_Py_Void();
29841 return resultobj;
29842 fail:
29843 return NULL;
29844 }
29845
29846
29847 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29848 PyObject *obj;
29849 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29850 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
29851 return SWIG_Py_Void();
29852 }
29853
29854 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29855 return SWIG_Python_InitShadowInstance(args);
29856 }
29857
29858 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29859 PyObject *resultobj = 0;
29860 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29861 wxFrame *arg2 = (wxFrame *) 0 ;
29862 wxString *arg3 = 0 ;
29863 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29864 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29865 wxSize const &arg5_defvalue = wxDefaultSize ;
29866 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29867 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29868 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29869 wxString *arg7 = (wxString *) &arg7_defvalue ;
29870 wxPyPreviewFrame *result = 0 ;
29871 void *argp1 = 0 ;
29872 int res1 = 0 ;
29873 void *argp2 = 0 ;
29874 int res2 = 0 ;
29875 bool temp3 = false ;
29876 wxPoint temp4 ;
29877 wxSize temp5 ;
29878 long val6 ;
29879 int ecode6 = 0 ;
29880 bool temp7 = false ;
29881 PyObject * obj0 = 0 ;
29882 PyObject * obj1 = 0 ;
29883 PyObject * obj2 = 0 ;
29884 PyObject * obj3 = 0 ;
29885 PyObject * obj4 = 0 ;
29886 PyObject * obj5 = 0 ;
29887 PyObject * obj6 = 0 ;
29888 char * kwnames[] = {
29889 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29890 };
29891
29892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29894 if (!SWIG_IsOK(res1)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29896 }
29897 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29898 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29899 if (!SWIG_IsOK(res2)) {
29900 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29901 }
29902 arg2 = reinterpret_cast< wxFrame * >(argp2);
29903 {
29904 arg3 = wxString_in_helper(obj2);
29905 if (arg3 == NULL) SWIG_fail;
29906 temp3 = true;
29907 }
29908 if (obj3) {
29909 {
29910 arg4 = &temp4;
29911 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29912 }
29913 }
29914 if (obj4) {
29915 {
29916 arg5 = &temp5;
29917 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29918 }
29919 }
29920 if (obj5) {
29921 ecode6 = SWIG_AsVal_long(obj5, &val6);
29922 if (!SWIG_IsOK(ecode6)) {
29923 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29924 }
29925 arg6 = static_cast< long >(val6);
29926 }
29927 if (obj6) {
29928 {
29929 arg7 = wxString_in_helper(obj6);
29930 if (arg7 == NULL) SWIG_fail;
29931 temp7 = true;
29932 }
29933 }
29934 {
29935 if (!wxPyCheckForApp()) SWIG_fail;
29936 PyThreadState* __tstate = wxPyBeginAllowThreads();
29937 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29938 wxPyEndAllowThreads(__tstate);
29939 if (PyErr_Occurred()) SWIG_fail;
29940 }
29941 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
29942 {
29943 if (temp3)
29944 delete arg3;
29945 }
29946 {
29947 if (temp7)
29948 delete arg7;
29949 }
29950 return resultobj;
29951 fail:
29952 {
29953 if (temp3)
29954 delete arg3;
29955 }
29956 {
29957 if (temp7)
29958 delete arg7;
29959 }
29960 return NULL;
29961 }
29962
29963
29964 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29965 PyObject *resultobj = 0;
29966 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29967 PyObject *arg2 = (PyObject *) 0 ;
29968 PyObject *arg3 = (PyObject *) 0 ;
29969 void *argp1 = 0 ;
29970 int res1 = 0 ;
29971 PyObject * obj0 = 0 ;
29972 PyObject * obj1 = 0 ;
29973 PyObject * obj2 = 0 ;
29974 char * kwnames[] = {
29975 (char *) "self",(char *) "self",(char *) "_class", NULL
29976 };
29977
29978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
29980 if (!SWIG_IsOK(res1)) {
29981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29982 }
29983 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
29984 arg2 = obj1;
29985 arg3 = obj2;
29986 {
29987 PyThreadState* __tstate = wxPyBeginAllowThreads();
29988 (arg1)->_setCallbackInfo(arg2,arg3);
29989 wxPyEndAllowThreads(__tstate);
29990 if (PyErr_Occurred()) SWIG_fail;
29991 }
29992 resultobj = SWIG_Py_Void();
29993 return resultobj;
29994 fail:
29995 return NULL;
29996 }
29997
29998
29999 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30000 PyObject *resultobj = 0;
30001 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30002 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30003 void *argp1 = 0 ;
30004 int res1 = 0 ;
30005 void *argp2 = 0 ;
30006 int res2 = 0 ;
30007 PyObject * obj0 = 0 ;
30008 PyObject * obj1 = 0 ;
30009 char * kwnames[] = {
30010 (char *) "self",(char *) "canvas", NULL
30011 };
30012
30013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30015 if (!SWIG_IsOK(res1)) {
30016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30017 }
30018 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30019 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30020 if (!SWIG_IsOK(res2)) {
30021 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30022 }
30023 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30024 {
30025 PyThreadState* __tstate = wxPyBeginAllowThreads();
30026 (arg1)->SetPreviewCanvas(arg2);
30027 wxPyEndAllowThreads(__tstate);
30028 if (PyErr_Occurred()) SWIG_fail;
30029 }
30030 resultobj = SWIG_Py_Void();
30031 return resultobj;
30032 fail:
30033 return NULL;
30034 }
30035
30036
30037 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30038 PyObject *resultobj = 0;
30039 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30040 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30041 void *argp1 = 0 ;
30042 int res1 = 0 ;
30043 void *argp2 = 0 ;
30044 int res2 = 0 ;
30045 PyObject * obj0 = 0 ;
30046 PyObject * obj1 = 0 ;
30047 char * kwnames[] = {
30048 (char *) "self",(char *) "bar", NULL
30049 };
30050
30051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30053 if (!SWIG_IsOK(res1)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30055 }
30056 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30057 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30058 if (!SWIG_IsOK(res2)) {
30059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30060 }
30061 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30062 {
30063 PyThreadState* __tstate = wxPyBeginAllowThreads();
30064 (arg1)->SetControlBar(arg2);
30065 wxPyEndAllowThreads(__tstate);
30066 if (PyErr_Occurred()) SWIG_fail;
30067 }
30068 resultobj = SWIG_Py_Void();
30069 return resultobj;
30070 fail:
30071 return NULL;
30072 }
30073
30074
30075 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30076 PyObject *resultobj = 0;
30077 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30078 void *argp1 = 0 ;
30079 int res1 = 0 ;
30080 PyObject *swig_obj[1] ;
30081
30082 if (!args) SWIG_fail;
30083 swig_obj[0] = args;
30084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30085 if (!SWIG_IsOK(res1)) {
30086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30087 }
30088 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30089 {
30090 PyThreadState* __tstate = wxPyBeginAllowThreads();
30091 (arg1)->Initialize();
30092 wxPyEndAllowThreads(__tstate);
30093 if (PyErr_Occurred()) SWIG_fail;
30094 }
30095 resultobj = SWIG_Py_Void();
30096 return resultobj;
30097 fail:
30098 return NULL;
30099 }
30100
30101
30102 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30103 PyObject *resultobj = 0;
30104 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30105 void *argp1 = 0 ;
30106 int res1 = 0 ;
30107 PyObject *swig_obj[1] ;
30108
30109 if (!args) SWIG_fail;
30110 swig_obj[0] = args;
30111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30112 if (!SWIG_IsOK(res1)) {
30113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30114 }
30115 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30116 {
30117 PyThreadState* __tstate = wxPyBeginAllowThreads();
30118 (arg1)->CreateCanvas();
30119 wxPyEndAllowThreads(__tstate);
30120 if (PyErr_Occurred()) SWIG_fail;
30121 }
30122 resultobj = SWIG_Py_Void();
30123 return resultobj;
30124 fail:
30125 return NULL;
30126 }
30127
30128
30129 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30130 PyObject *resultobj = 0;
30131 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30132 void *argp1 = 0 ;
30133 int res1 = 0 ;
30134 PyObject *swig_obj[1] ;
30135
30136 if (!args) SWIG_fail;
30137 swig_obj[0] = args;
30138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30139 if (!SWIG_IsOK(res1)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30141 }
30142 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30143 {
30144 PyThreadState* __tstate = wxPyBeginAllowThreads();
30145 (arg1)->CreateControlBar();
30146 wxPyEndAllowThreads(__tstate);
30147 if (PyErr_Occurred()) SWIG_fail;
30148 }
30149 resultobj = SWIG_Py_Void();
30150 return resultobj;
30151 fail:
30152 return NULL;
30153 }
30154
30155
30156 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30157 PyObject *obj;
30158 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30159 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30160 return SWIG_Py_Void();
30161 }
30162
30163 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30164 return SWIG_Python_InitShadowInstance(args);
30165 }
30166
30167 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30168 PyObject *resultobj = 0;
30169 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30170 long arg2 ;
30171 wxWindow *arg3 = (wxWindow *) 0 ;
30172 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30173 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30174 wxSize const &arg5_defvalue = wxDefaultSize ;
30175 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30176 long arg6 = (long) 0 ;
30177 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30178 wxString *arg7 = (wxString *) &arg7_defvalue ;
30179 wxPyPreviewControlBar *result = 0 ;
30180 void *argp1 = 0 ;
30181 int res1 = 0 ;
30182 long val2 ;
30183 int ecode2 = 0 ;
30184 void *argp3 = 0 ;
30185 int res3 = 0 ;
30186 wxPoint temp4 ;
30187 wxSize temp5 ;
30188 long val6 ;
30189 int ecode6 = 0 ;
30190 bool temp7 = false ;
30191 PyObject * obj0 = 0 ;
30192 PyObject * obj1 = 0 ;
30193 PyObject * obj2 = 0 ;
30194 PyObject * obj3 = 0 ;
30195 PyObject * obj4 = 0 ;
30196 PyObject * obj5 = 0 ;
30197 PyObject * obj6 = 0 ;
30198 char * kwnames[] = {
30199 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30200 };
30201
30202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30204 if (!SWIG_IsOK(res1)) {
30205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30206 }
30207 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30208 ecode2 = SWIG_AsVal_long(obj1, &val2);
30209 if (!SWIG_IsOK(ecode2)) {
30210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30211 }
30212 arg2 = static_cast< long >(val2);
30213 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30214 if (!SWIG_IsOK(res3)) {
30215 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30216 }
30217 arg3 = reinterpret_cast< wxWindow * >(argp3);
30218 if (obj3) {
30219 {
30220 arg4 = &temp4;
30221 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30222 }
30223 }
30224 if (obj4) {
30225 {
30226 arg5 = &temp5;
30227 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30228 }
30229 }
30230 if (obj5) {
30231 ecode6 = SWIG_AsVal_long(obj5, &val6);
30232 if (!SWIG_IsOK(ecode6)) {
30233 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30234 }
30235 arg6 = static_cast< long >(val6);
30236 }
30237 if (obj6) {
30238 {
30239 arg7 = wxString_in_helper(obj6);
30240 if (arg7 == NULL) SWIG_fail;
30241 temp7 = true;
30242 }
30243 }
30244 {
30245 if (!wxPyCheckForApp()) SWIG_fail;
30246 PyThreadState* __tstate = wxPyBeginAllowThreads();
30247 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30248 wxPyEndAllowThreads(__tstate);
30249 if (PyErr_Occurred()) SWIG_fail;
30250 }
30251 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30252 {
30253 if (temp7)
30254 delete arg7;
30255 }
30256 return resultobj;
30257 fail:
30258 {
30259 if (temp7)
30260 delete arg7;
30261 }
30262 return NULL;
30263 }
30264
30265
30266 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30267 PyObject *resultobj = 0;
30268 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30269 PyObject *arg2 = (PyObject *) 0 ;
30270 PyObject *arg3 = (PyObject *) 0 ;
30271 void *argp1 = 0 ;
30272 int res1 = 0 ;
30273 PyObject * obj0 = 0 ;
30274 PyObject * obj1 = 0 ;
30275 PyObject * obj2 = 0 ;
30276 char * kwnames[] = {
30277 (char *) "self",(char *) "self",(char *) "_class", NULL
30278 };
30279
30280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30282 if (!SWIG_IsOK(res1)) {
30283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30284 }
30285 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30286 arg2 = obj1;
30287 arg3 = obj2;
30288 {
30289 PyThreadState* __tstate = wxPyBeginAllowThreads();
30290 (arg1)->_setCallbackInfo(arg2,arg3);
30291 wxPyEndAllowThreads(__tstate);
30292 if (PyErr_Occurred()) SWIG_fail;
30293 }
30294 resultobj = SWIG_Py_Void();
30295 return resultobj;
30296 fail:
30297 return NULL;
30298 }
30299
30300
30301 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30302 PyObject *resultobj = 0;
30303 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30304 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30305 void *argp1 = 0 ;
30306 int res1 = 0 ;
30307 void *argp2 = 0 ;
30308 int res2 = 0 ;
30309 PyObject * obj0 = 0 ;
30310 PyObject * obj1 = 0 ;
30311 char * kwnames[] = {
30312 (char *) "self",(char *) "preview", NULL
30313 };
30314
30315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30317 if (!SWIG_IsOK(res1)) {
30318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30319 }
30320 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30321 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30322 if (!SWIG_IsOK(res2)) {
30323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30324 }
30325 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30326 {
30327 PyThreadState* __tstate = wxPyBeginAllowThreads();
30328 (arg1)->SetPrintPreview(arg2);
30329 wxPyEndAllowThreads(__tstate);
30330 if (PyErr_Occurred()) SWIG_fail;
30331 }
30332 resultobj = SWIG_Py_Void();
30333 return resultobj;
30334 fail:
30335 return NULL;
30336 }
30337
30338
30339 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30340 PyObject *resultobj = 0;
30341 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30342 void *argp1 = 0 ;
30343 int res1 = 0 ;
30344 PyObject *swig_obj[1] ;
30345
30346 if (!args) SWIG_fail;
30347 swig_obj[0] = args;
30348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30349 if (!SWIG_IsOK(res1)) {
30350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30351 }
30352 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30353 {
30354 PyThreadState* __tstate = wxPyBeginAllowThreads();
30355 (arg1)->CreateButtons();
30356 wxPyEndAllowThreads(__tstate);
30357 if (PyErr_Occurred()) SWIG_fail;
30358 }
30359 resultobj = SWIG_Py_Void();
30360 return resultobj;
30361 fail:
30362 return NULL;
30363 }
30364
30365
30366 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30367 PyObject *resultobj = 0;
30368 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30369 int arg2 ;
30370 void *argp1 = 0 ;
30371 int res1 = 0 ;
30372 int val2 ;
30373 int ecode2 = 0 ;
30374 PyObject * obj0 = 0 ;
30375 PyObject * obj1 = 0 ;
30376 char * kwnames[] = {
30377 (char *) "self",(char *) "zoom", NULL
30378 };
30379
30380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30382 if (!SWIG_IsOK(res1)) {
30383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30384 }
30385 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30386 ecode2 = SWIG_AsVal_int(obj1, &val2);
30387 if (!SWIG_IsOK(ecode2)) {
30388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30389 }
30390 arg2 = static_cast< int >(val2);
30391 {
30392 PyThreadState* __tstate = wxPyBeginAllowThreads();
30393 (arg1)->SetZoomControl(arg2);
30394 wxPyEndAllowThreads(__tstate);
30395 if (PyErr_Occurred()) SWIG_fail;
30396 }
30397 resultobj = SWIG_Py_Void();
30398 return resultobj;
30399 fail:
30400 return NULL;
30401 }
30402
30403
30404 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30405 PyObject *obj;
30406 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30407 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30408 return SWIG_Py_Void();
30409 }
30410
30411 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30412 return SWIG_Python_InitShadowInstance(args);
30413 }
30414
30415 static PyMethodDef SwigMethods[] = {
30416 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30417 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30418 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30419 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30420 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30421 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30422 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30423 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30424 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30425 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30426 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30427 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30428 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30429 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30430 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30431 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30432 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30433 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30434 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30435 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30436 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30437 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30438 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30439 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30440 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30441 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30442 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30443 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30444 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30445 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30446 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30447 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30448 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30449 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30450 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30451 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30452 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30453 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30454 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30455 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30456 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30457 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30458 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30459 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30460 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30461 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30462 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30463 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30464 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30465 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30466 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30467 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30468 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30469 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30470 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30471 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30472 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30473 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30474 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30475 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30476 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30477 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30478 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30479 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30480 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30481 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30482 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30483 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30484 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30485 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30486 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30487 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30488 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30489 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30490 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30491 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30492 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30493 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30494 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30495 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30496 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30497 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30498 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30499 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30500 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30501 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30502 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30503 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30504 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30505 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30506 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30507 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30508 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30509 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30510 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30511 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30512 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30513 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30514 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30515 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30516 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30517 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30518 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30519 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30520 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30521 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30522 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30523 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30524 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30525 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30526 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30527 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30528 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30529 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30530 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30531 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30532 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30533 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30534 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30535 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30536 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30537 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30538 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30539 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30540 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30541 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30542 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30543 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30544 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30545 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30546 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30547 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30548 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30549 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30550 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30551 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30552 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30553 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30554 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30555 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30556 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30557 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30558 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30559 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30560 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30561 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30562 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30563 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30564 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30565 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30566 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30567 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30568 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30569 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30570 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30571 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30572 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30573 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30574 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30575 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30576 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30577 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30578 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30579 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30580 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30581 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30582 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30583 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30584 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30585 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30586 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30587 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30588 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30589 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30590 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30591 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30592 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30593 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30594 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30595 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30596 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30597 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30598 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30599 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30600 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30601 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30602 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30603 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30604 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30605 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30606 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30607 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30608 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30609 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30610 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30611 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30612 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30613 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30614 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30615 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30616 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30617 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30618 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30619 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30620 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30621 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30622 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30623 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30624 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30625 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30626 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30627 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30628 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30629 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30630 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30631 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30632 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30633 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30634 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30635 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30636 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30637 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30638 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30639 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30640 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30641 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30642 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30643 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30644 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30645 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30646 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30647 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30648 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30649 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30650 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30651 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30652 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30653 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30654 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30655 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30656 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30657 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30658 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30659 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30660 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30661 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30662 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30663 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30664 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30665 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30666 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30667 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30668 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30669 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30670 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30671 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30672 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30673 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30674 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30675 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30676 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30677 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30678 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30679 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30680 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30681 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30682 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30683 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30684 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30685 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30686 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30687 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30688 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30689 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30690 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30691 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30692 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30693 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30694 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30695 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30696 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30697 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30698 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30699 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30700 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30701 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30702 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30703 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30704 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30705 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30706 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30707 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30708 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30709 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30710 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30711 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30712 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30713 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30714 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30715 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30716 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30717 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30718 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30719 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30720 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30721 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30722 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30723 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
30724 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30725 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30726 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30727 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30728 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30729 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30730 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30731 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30732 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30733 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30734 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30735 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30736 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30737 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30738 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30739 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30740 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30741 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30742 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30743 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30744 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30745 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30746 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30747 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30748 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30749 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30750 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30751 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30752 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30753 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30754 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30756 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30757 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30758 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30759 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30760 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30761 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30762 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30763 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30765 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30766 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30767 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30768 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30769 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30770 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30771 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30772 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30773 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30774 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30775 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30776 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30777 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30778 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30779 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30780 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30781 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30782 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30783 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30784 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30785 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30786 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30787 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30788 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30789 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30790 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30791 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30792 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30793 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30794 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30795 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30796 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30797 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30798 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30799 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30800 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30801 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30802 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30803 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30804 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30805 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30806 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30807 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30808 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30809 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30810 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30811 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30812 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30813 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30814 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30815 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30816 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30817 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30818 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30819 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30820 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30821 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
30822 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
30823 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30824 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
30825 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
30826 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
30827 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
30828 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30829 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30830 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30831 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30832 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
30833 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30834 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30835 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
30837 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
30838 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
30839 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
30840 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
30841 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
30842 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
30843 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30844 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30846 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
30847 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
30848 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30849 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
30850 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30851 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
30852 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
30854 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
30855 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
30857 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30858 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
30859 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
30860 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
30861 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
30862 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
30863 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
30864 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
30865 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
30866 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
30867 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
30868 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30869 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
30870 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30871 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
30872 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
30873 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
30874 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30875 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
30876 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30877 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
30878 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
30879 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
30881 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30883 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30884 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30886 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30887 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30888 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
30889 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
30890 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
30891 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
30892 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
30893 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
30894 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
30895 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
30896 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
30897 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
30899 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30901 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30902 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30903 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30904 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30905 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30906 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
30907 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
30908 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
30909 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
30910 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
30911 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
30912 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
30913 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
30914 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
30915 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
30917 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30918 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30919 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30920 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30921 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30922 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30923 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
30925 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
30926 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
30927 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
30928 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
30929 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
30930 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
30931 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
30932 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
30933 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
30934 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
30935 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
30936 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
30937 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
30938 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
30939 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
30940 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
30941 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
30942 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
30943 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
30944 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
30945 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
30946 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
30947 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
30948 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
30949 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30950 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
30951 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30952 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
30953 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
30955 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
30956 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
30957 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
30958 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
30959 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
30961 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
30962 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
30963 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
30964 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
30965 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
30966 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30968 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30969 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
30971 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
30972 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
30973 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
30974 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
30975 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
30976 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
30977 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
30978 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
30979 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
30980 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
30981 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
30982 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
30983 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
30984 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
30985 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
30986 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
30990 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
30991 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
30992 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
30996 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
30997 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
30998 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
30999 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31000 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31001 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31002 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31003 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31004 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31005 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31006 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31007 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31008 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31009 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31010 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31011 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31012 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31013 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31014 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31015 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31016 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31017 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31024 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31025 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31027 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31028 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31030 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31031 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31032 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31033 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31034 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31035 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31036 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31038 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31039 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31041 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31042 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31043 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31044 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31045 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31046 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31047 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31048 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31049 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31055 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31056 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31057 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31058 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31059 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31060 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31061 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31063 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31064 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31066 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31067 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31068 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31069 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31070 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31071 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31072 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31073 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31074 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31075 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31076 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31077 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31078 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31079 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31080 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31082 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31083 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31084 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31086 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31087 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31089 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31090 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31091 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31092 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31093 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31094 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31095 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31096 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31098 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31099 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31100 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31101 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31102 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31103 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31104 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31105 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31106 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31107 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31109 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31111 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31112 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31115 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31116 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31117 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31121 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31123 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31124 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31125 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31126 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31129 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31130 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31131 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31132 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31133 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31134 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31135 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31137 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31140 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31141 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31142 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31143 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31144 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31146 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31147 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31148 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31149 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31150 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31151 { NULL, NULL, 0, NULL }
31152 };
31153
31154
31155 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31156
31157 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31158 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31159 }
31160 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31161 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31162 }
31163 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31164 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31165 }
31166 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31167 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31168 }
31169 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31170 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31171 }
31172 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31173 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31174 }
31175 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31176 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31177 }
31178 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31179 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31180 }
31181 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31182 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31183 }
31184 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31185 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31186 }
31187 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31188 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31189 }
31190 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31191 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31192 }
31193 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31194 return (void *)((wxEvent *) ((wxPyEvent *) x));
31195 }
31196 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31197 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31198 }
31199 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31200 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31201 }
31202 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31203 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31204 }
31205 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31206 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31207 }
31208 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31209 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31210 }
31211 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31212 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31213 }
31214 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31215 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31216 }
31217 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31218 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31219 }
31220 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31221 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31222 }
31223 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31224 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31225 }
31226 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31227 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31228 }
31229 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31230 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31231 }
31232 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31233 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31234 }
31235 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31236 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31237 }
31238 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31239 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31240 }
31241 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31242 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31243 }
31244 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31245 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31246 }
31247 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31248 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31249 }
31250 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31251 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31252 }
31253 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31254 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31255 }
31256 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31257 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31258 }
31259 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31260 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31261 }
31262 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31263 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31264 }
31265 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31266 return (void *)((wxEvent *) ((wxShowEvent *) x));
31267 }
31268 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31269 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31270 }
31271 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31272 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31273 }
31274 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31275 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31276 }
31277 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31278 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31279 }
31280 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31281 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31282 }
31283 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31284 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31285 }
31286 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31287 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31288 }
31289 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31290 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31291 }
31292 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31293 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31294 }
31295 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31296 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31297 }
31298 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31299 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31300 }
31301 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31302 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31303 }
31304 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31305 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31306 }
31307 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31308 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31309 }
31310 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31311 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31312 }
31313 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31314 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31315 }
31316 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31317 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31318 }
31319 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31320 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31321 }
31322 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31323 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31324 }
31325 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31326 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31327 }
31328 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31329 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31330 }
31331 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31332 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31333 }
31334 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31335 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31336 }
31337 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31338 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31339 }
31340 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31341 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31342 }
31343 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31344 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31345 }
31346 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31347 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31348 }
31349 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31350 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31351 }
31352 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31353 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31354 }
31355 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31356 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31357 }
31358 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31359 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31360 }
31361 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31362 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31363 }
31364 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31365 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31366 }
31367 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31368 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31369 }
31370 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31371 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31372 }
31373 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31374 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31375 }
31376 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31377 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31378 }
31379 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31380 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31381 }
31382 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31383 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31384 }
31385 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31386 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31387 }
31388 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31389 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31390 }
31391 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31392 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31393 }
31394 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31395 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31396 }
31397 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31398 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31399 }
31400 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31402 }
31403 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31404 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31405 }
31406 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31407 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31408 }
31409 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31410 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31411 }
31412 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31413 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31414 }
31415 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31416 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31417 }
31418 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31419 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31420 }
31421 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31422 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31423 }
31424 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31425 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31426 }
31427 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31428 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31429 }
31430 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31431 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31432 }
31433 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31434 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31435 }
31436 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31437 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31438 }
31439 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31440 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31441 }
31442 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31443 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31444 }
31445 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31446 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31447 }
31448 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31449 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31450 }
31451 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
31452 return (void *)((wxFrame *) ((wxTipWindow *) x));
31453 }
31454 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31455 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31456 }
31457 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31458 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31459 }
31460 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31461 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31462 }
31463 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31464 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31465 }
31466 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31467 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31468 }
31469 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31470 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31471 }
31472 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31473 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31474 }
31475 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31477 }
31478 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31480 }
31481 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31482 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31483 }
31484 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31485 return (void *)((wxObject *) ((wxSizerItem *) x));
31486 }
31487 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31488 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31489 }
31490 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31491 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31492 }
31493 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31494 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31495 }
31496 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31497 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31498 }
31499 static void *_p_wxSizerTo_p_wxObject(void *x) {
31500 return (void *)((wxObject *) ((wxSizer *) x));
31501 }
31502 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31503 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31504 }
31505 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31506 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31507 }
31508 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31510 }
31511 static void *_p_wxEventTo_p_wxObject(void *x) {
31512 return (void *)((wxObject *) ((wxEvent *) x));
31513 }
31514 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31515 return (void *)((wxObject *) ((wxFontData *) x));
31516 }
31517 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31518 return (void *)((wxObject *) ((wxPrintData *) x));
31519 }
31520 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31521 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31522 }
31523 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31524 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31525 }
31526 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31527 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31528 }
31529 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31530 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31531 }
31532 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31533 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31534 }
31535 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31536 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31537 }
31538 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31540 }
31541 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31542 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31543 }
31544 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31545 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31546 }
31547 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31548 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31549 }
31550 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31551 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31552 }
31553 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31554 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31555 }
31556 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31557 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31558 }
31559 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31561 }
31562 static void *_p_wxControlTo_p_wxObject(void *x) {
31563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31564 }
31565 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31566 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31567 }
31568 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31569 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31570 }
31571 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31572 return (void *)((wxObject *) ((wxFSFile *) x));
31573 }
31574 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31575 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31576 }
31577 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31578 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31579 }
31580 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31582 }
31583 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31584 return (void *)((wxObject *) ((wxColourData *) x));
31585 }
31586 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31587 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31588 }
31589 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31590 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31591 }
31592 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31594 }
31595 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31597 }
31598 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31600 }
31601 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31603 }
31604 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31606 }
31607 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31609 }
31610 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31612 }
31613 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31615 }
31616 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31618 }
31619 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31621 }
31622 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31623 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31624 }
31625 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31626 return (void *)((wxObject *) ((wxPrinter *) x));
31627 }
31628 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31629 return (void *)((wxObject *) ((wxMenuItem *) x));
31630 }
31631 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31632 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31633 }
31634 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31635 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31636 }
31637 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31638 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31639 }
31640 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31641 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31642 }
31643 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31644 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31645 }
31646 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31647 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31648 }
31649 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31650 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31651 }
31652 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31653 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31654 }
31655 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31656 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31657 }
31658 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31659 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31660 }
31661 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31662 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31663 }
31664 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31665 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31666 }
31667 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31668 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31669 }
31670 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31671 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31672 }
31673 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31674 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31675 }
31676 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31677 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31678 }
31679 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31680 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31681 }
31682 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31683 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31684 }
31685 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31686 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31687 }
31688 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31689 return (void *)((wxObject *) ((wxImageHandler *) x));
31690 }
31691 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31692 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31693 }
31694 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31695 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31696 }
31697 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31698 return (void *)((wxObject *) ((wxEvtHandler *) x));
31699 }
31700 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31701 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31702 }
31703 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31705 }
31706 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31708 }
31709 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31710 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31711 }
31712 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31713 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31714 }
31715 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31717 }
31718 static void *_p_wxImageTo_p_wxObject(void *x) {
31719 return (void *)((wxObject *) ((wxImage *) x));
31720 }
31721 static void *_p_wxFrameTo_p_wxObject(void *x) {
31722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31723 }
31724 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31725 return (void *)((wxObject *) ((wxPyPrintout *) x));
31726 }
31727 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31728 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31729 }
31730 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31731 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31732 }
31733 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31735 }
31736 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31738 }
31739 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31740 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31741 }
31742 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31743 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31744 }
31745 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31746 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31747 }
31748 static void *_p_wxWindowTo_p_wxObject(void *x) {
31749 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31750 }
31751 static void *_p_wxMenuTo_p_wxObject(void *x) {
31752 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31753 }
31754 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31756 }
31757 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31759 }
31760 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31762 }
31763 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31765 }
31766 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31768 }
31769 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31771 }
31772 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31774 }
31775 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31777 }
31778 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31780 }
31781 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31783 }
31784 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31786 }
31787 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31789 }
31790 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31792 }
31793 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31795 }
31796 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31797 return (void *)((wxObject *) ((wxPrintPreview *) x));
31798 }
31799 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31800 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31801 }
31802 static void *_p_wxPanelTo_p_wxObject(void *x) {
31803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31804 }
31805 static void *_p_wxDialogTo_p_wxObject(void *x) {
31806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31807 }
31808 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31810 }
31811 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31813 }
31814 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31816 }
31817 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31818 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31819 }
31820 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31821 return (void *)((wxObject *) ((wxPrintDialog *) x));
31822 }
31823 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31824 return (void *)((wxObject *) ((wxFileSystem *) x));
31825 }
31826 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31827 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31828 }
31829 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31830 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31831 }
31832 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31833 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31834 }
31835 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31836 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31837 }
31838 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31839 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31840 }
31841 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31842 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31843 }
31844 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31846 }
31847 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31848 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31849 }
31850 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31852 }
31853 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31855 }
31856 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31857 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31858 }
31859 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31860 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31861 }
31862 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31863 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31864 }
31865 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31867 }
31868 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
31869 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
31870 }
31871 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
31872 return (void *)((wxObject *) ((wxPrintDialogData *) x));
31873 }
31874 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31875 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31876 }
31877 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31878 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31879 }
31880 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
31881 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31882 }
31883 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
31884 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
31885 }
31886 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
31887 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31888 }
31889 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
31890 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
31891 }
31892 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
31893 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
31894 }
31895 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
31896 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
31897 }
31898 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
31899 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
31900 }
31901 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
31902 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
31903 }
31904 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
31905 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
31906 }
31907 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
31908 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
31909 }
31910 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
31911 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
31912 }
31913 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
31914 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
31915 }
31916 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
31917 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
31918 }
31919 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
31920 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
31921 }
31922 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
31923 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
31924 }
31925 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
31926 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31927 }
31928 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
31929 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
31930 }
31931 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31932 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
31933 }
31934 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31935 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
31936 }
31937 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
31938 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
31939 }
31940 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
31941 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
31942 }
31943 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
31944 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
31945 }
31946 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
31947 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
31948 }
31949 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
31950 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31951 }
31952 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
31953 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31954 }
31955 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
31956 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31957 }
31958 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
31959 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
31960 }
31961 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31962 return (void *)((wxWindow *) ((wxMenuBar *) x));
31963 }
31964 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
31965 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31966 }
31967 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
31968 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31969 }
31970 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
31971 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31972 }
31973 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
31974 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31975 }
31976 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
31977 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31978 }
31979 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
31980 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31981 }
31982 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
31983 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31984 }
31985 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
31986 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31987 }
31988 static void *_p_wxPanelTo_p_wxWindow(void *x) {
31989 return (void *)((wxWindow *) ((wxPanel *) x));
31990 }
31991 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
31992 return (void *)((wxWindow *) ((wxStatusBar *) x));
31993 }
31994 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
31995 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
31996 }
31997 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
31998 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31999 }
32000 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32001 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32002 }
32003 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32004 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32005 }
32006 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32007 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32008 }
32009 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32010 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32011 }
32012 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32013 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32014 }
32015 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32016 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32017 }
32018 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32019 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32020 }
32021 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32022 return (void *)((wxWindow *) ((wxSashWindow *) x));
32023 }
32024 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32025 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32026 }
32027 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32028 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32029 }
32030 static void *_p_wxControlTo_p_wxWindow(void *x) {
32031 return (void *)((wxWindow *) ((wxControl *) x));
32032 }
32033 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32034 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32035 }
32036 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32037 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32038 }
32039 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32040 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32041 }
32042 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32043 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32044 }
32045 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32046 return (void *)((wxWindow *) ((wxPyWindow *) x));
32047 }
32048 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32049 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32050 }
32051 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32052 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32053 }
32054 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32055 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32056 }
32057 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32058 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32059 }
32060 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32061 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32062 }
32063 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32064 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32065 }
32066 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32067 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32068 }
32069 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32070 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32071 }
32072 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32073 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32074 }
32075 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32076 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32077 }
32078 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32079 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32080 }
32081 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32082 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32083 }
32084 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32085 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32086 }
32087 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32088 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32089 }
32090 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32091 return (void *)((wxDialog *) ((wxColourDialog *) x));
32092 }
32093 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32094 return (void *)((wxDialog *) ((wxDirDialog *) x));
32095 }
32096 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32097 return (void *)((wxDialog *) ((wxFontDialog *) x));
32098 }
32099 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32100 return (void *)((wxDialog *) ((wxFileDialog *) x));
32101 }
32102 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32103 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32104 }
32105 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32106 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32107 }
32108 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32109 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32110 }
32111 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32112 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32113 }
32114 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32115 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32116 }
32117 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32118 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32119 }
32120 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32121 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32122 }
32123 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32124 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32125 }
32126 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32127 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32128 }
32129 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32130 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32131 }
32132 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32133 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32134 }
32135 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32136 return (void *)((wxPanel *) ((wxPyPanel *) x));
32137 }
32138 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32139 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32140 }
32141 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32142 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32143 }
32144 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32145 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32146 }
32147 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32148 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32149 }
32150 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32151 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32152 }
32153 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32154 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32155 }
32156 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32157 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32158 }
32159 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32160 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32161 }
32162 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32163 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32164 }
32165 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32166 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32167 }
32168 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32169 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32170 }
32171 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32172 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32173 }
32174 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32175 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32176 }
32177 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32178 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32179 }
32180 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32181 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32182 }
32183 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32184 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32185 }
32186 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32187 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32188 }
32189 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32190 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32191 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};
32192 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32193 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32194 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32195 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32196 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32197 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32198 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32199 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32200 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32201 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32202 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32203 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32204 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32205 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32206 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32207 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32208 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32209 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32210 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32211 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32212 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32213 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32214 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32215 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32216 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32217 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32218 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32219 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32220 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32221 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32222 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32223 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32224 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32225 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32226 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32227 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32228 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32229 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32230 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32231 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32232 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32233 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32234 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32235 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32236 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32237 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32238 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32239 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32240 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32241 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32242 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32243 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32244 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32245 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32246 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32247 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32248 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32249 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32250 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32251 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32252 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32253 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32254 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32255 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32256 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32257 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32258 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32259 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32260 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32261 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32262 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32263 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32264 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32265 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32266 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32267 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32268 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32269 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32270 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32271 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32272 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32273 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32274 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32275 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32276 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32277 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32278 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32279 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32280 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32281 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32282 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32283 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32284 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32285 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32286 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32287 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32288 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32289 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32290 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32291 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32292 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32293 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32294 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32295 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32296 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32297 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32298 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32299 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32300 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32301 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32302 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32303 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32304 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32305 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32306 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32307 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32308 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32309 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32310 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32311 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32312 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32313 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32314 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32315 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32316 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32317 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32318 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32319 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32320 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32321 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32322 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32323 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32324 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32325 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32326 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32327 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32328 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32330 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32339 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32340 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32341 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32342 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32343 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32344 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32345 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32346 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32348 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32349 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32350 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32351 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32352
32353 static swig_type_info *swig_type_initial[] = {
32354 &_swigt__p_bool,
32355 &_swigt__p_char,
32356 &_swigt__p_form_ops_t,
32357 &_swigt__p_int,
32358 &_swigt__p_unsigned_char,
32359 &_swigt__p_unsigned_int,
32360 &_swigt__p_unsigned_long,
32361 &_swigt__p_wxANIHandler,
32362 &_swigt__p_wxAcceleratorTable,
32363 &_swigt__p_wxActivateEvent,
32364 &_swigt__p_wxArrayInt,
32365 &_swigt__p_wxBMPHandler,
32366 &_swigt__p_wxBitmap,
32367 &_swigt__p_wxBoxSizer,
32368 &_swigt__p_wxCURHandler,
32369 &_swigt__p_wxCalculateLayoutEvent,
32370 &_swigt__p_wxChildFocusEvent,
32371 &_swigt__p_wxClipboardTextEvent,
32372 &_swigt__p_wxCloseEvent,
32373 &_swigt__p_wxColour,
32374 &_swigt__p_wxColourData,
32375 &_swigt__p_wxColourDialog,
32376 &_swigt__p_wxCommandEvent,
32377 &_swigt__p_wxContextMenuEvent,
32378 &_swigt__p_wxControl,
32379 &_swigt__p_wxControlWithItems,
32380 &_swigt__p_wxDC,
32381 &_swigt__p_wxDateEvent,
32382 &_swigt__p_wxDialog,
32383 &_swigt__p_wxDirDialog,
32384 &_swigt__p_wxDisplayChangedEvent,
32385 &_swigt__p_wxDropFilesEvent,
32386 &_swigt__p_wxDuplexMode,
32387 &_swigt__p_wxEraseEvent,
32388 &_swigt__p_wxEvent,
32389 &_swigt__p_wxEvtHandler,
32390 &_swigt__p_wxFSFile,
32391 &_swigt__p_wxFileDialog,
32392 &_swigt__p_wxFileSystem,
32393 &_swigt__p_wxFindDialogEvent,
32394 &_swigt__p_wxFindReplaceData,
32395 &_swigt__p_wxFindReplaceDialog,
32396 &_swigt__p_wxFlexGridSizer,
32397 &_swigt__p_wxFocusEvent,
32398 &_swigt__p_wxFont,
32399 &_swigt__p_wxFontData,
32400 &_swigt__p_wxFontDialog,
32401 &_swigt__p_wxFrame,
32402 &_swigt__p_wxGBSizerItem,
32403 &_swigt__p_wxGIFHandler,
32404 &_swigt__p_wxGridBagSizer,
32405 &_swigt__p_wxGridSizer,
32406 &_swigt__p_wxHtmlLinkInfo,
32407 &_swigt__p_wxICOHandler,
32408 &_swigt__p_wxIcon,
32409 &_swigt__p_wxIconBundle,
32410 &_swigt__p_wxIconizeEvent,
32411 &_swigt__p_wxIdleEvent,
32412 &_swigt__p_wxImage,
32413 &_swigt__p_wxImageHandler,
32414 &_swigt__p_wxIndividualLayoutConstraint,
32415 &_swigt__p_wxInitDialogEvent,
32416 &_swigt__p_wxJPEGHandler,
32417 &_swigt__p_wxKeyEvent,
32418 &_swigt__p_wxLayoutAlgorithm,
32419 &_swigt__p_wxLayoutConstraints,
32420 &_swigt__p_wxMDIChildFrame,
32421 &_swigt__p_wxMDIClientWindow,
32422 &_swigt__p_wxMDIParentFrame,
32423 &_swigt__p_wxMaximizeEvent,
32424 &_swigt__p_wxMenu,
32425 &_swigt__p_wxMenuBar,
32426 &_swigt__p_wxMenuEvent,
32427 &_swigt__p_wxMenuItem,
32428 &_swigt__p_wxMessageDialog,
32429 &_swigt__p_wxMiniFrame,
32430 &_swigt__p_wxMouseCaptureChangedEvent,
32431 &_swigt__p_wxMouseEvent,
32432 &_swigt__p_wxMoveEvent,
32433 &_swigt__p_wxMultiChoiceDialog,
32434 &_swigt__p_wxNavigationKeyEvent,
32435 &_swigt__p_wxNcPaintEvent,
32436 &_swigt__p_wxNotifyEvent,
32437 &_swigt__p_wxObject,
32438 &_swigt__p_wxPCXHandler,
32439 &_swigt__p_wxPNGHandler,
32440 &_swigt__p_wxPNMHandler,
32441 &_swigt__p_wxPageSetupDialog,
32442 &_swigt__p_wxPageSetupDialogData,
32443 &_swigt__p_wxPaintEvent,
32444 &_swigt__p_wxPaletteChangedEvent,
32445 &_swigt__p_wxPanel,
32446 &_swigt__p_wxPaperSize,
32447 &_swigt__p_wxPasswordEntryDialog,
32448 &_swigt__p_wxPoint,
32449 &_swigt__p_wxPopupWindow,
32450 &_swigt__p_wxPreviewCanvas,
32451 &_swigt__p_wxPreviewControlBar,
32452 &_swigt__p_wxPreviewFrame,
32453 &_swigt__p_wxPrintData,
32454 &_swigt__p_wxPrintDialog,
32455 &_swigt__p_wxPrintDialogData,
32456 &_swigt__p_wxPrintPreview,
32457 &_swigt__p_wxPrinter,
32458 &_swigt__p_wxProgressDialog,
32459 &_swigt__p_wxPyApp,
32460 &_swigt__p_wxPyCommandEvent,
32461 &_swigt__p_wxPyEvent,
32462 &_swigt__p_wxPyHtmlListBox,
32463 &_swigt__p_wxPyImageHandler,
32464 &_swigt__p_wxPyPanel,
32465 &_swigt__p_wxPyPopupTransientWindow,
32466 &_swigt__p_wxPyPreviewControlBar,
32467 &_swigt__p_wxPyPreviewFrame,
32468 &_swigt__p_wxPyPrintPreview,
32469 &_swigt__p_wxPyPrintout,
32470 &_swigt__p_wxPyScrolledWindow,
32471 &_swigt__p_wxPySizer,
32472 &_swigt__p_wxPyTaskBarIcon,
32473 &_swigt__p_wxPyVListBox,
32474 &_swigt__p_wxPyVScrolledWindow,
32475 &_swigt__p_wxPyValidator,
32476 &_swigt__p_wxPyWindow,
32477 &_swigt__p_wxQueryLayoutInfoEvent,
32478 &_swigt__p_wxQueryNewPaletteEvent,
32479 &_swigt__p_wxRect,
32480 &_swigt__p_wxRegion,
32481 &_swigt__p_wxSashEvent,
32482 &_swigt__p_wxSashLayoutWindow,
32483 &_swigt__p_wxSashWindow,
32484 &_swigt__p_wxScrollEvent,
32485 &_swigt__p_wxScrollWinEvent,
32486 &_swigt__p_wxScrolledWindow,
32487 &_swigt__p_wxSetCursorEvent,
32488 &_swigt__p_wxShowEvent,
32489 &_swigt__p_wxSingleChoiceDialog,
32490 &_swigt__p_wxSize,
32491 &_swigt__p_wxSizeEvent,
32492 &_swigt__p_wxSizer,
32493 &_swigt__p_wxSizerItem,
32494 &_swigt__p_wxSplashScreen,
32495 &_swigt__p_wxSplashScreenWindow,
32496 &_swigt__p_wxSplitterEvent,
32497 &_swigt__p_wxSplitterWindow,
32498 &_swigt__p_wxStaticBoxSizer,
32499 &_swigt__p_wxStatusBar,
32500 &_swigt__p_wxStdDialogButtonSizer,
32501 &_swigt__p_wxString,
32502 &_swigt__p_wxSysColourChangedEvent,
32503 &_swigt__p_wxTIFFHandler,
32504 &_swigt__p_wxTaskBarIcon,
32505 &_swigt__p_wxTaskBarIconEvent,
32506 &_swigt__p_wxTextEntryDialog,
32507 &_swigt__p_wxTipWindow,
32508 &_swigt__p_wxToolBar,
32509 &_swigt__p_wxTopLevelWindow,
32510 &_swigt__p_wxUpdateUIEvent,
32511 &_swigt__p_wxValidator,
32512 &_swigt__p_wxVisualAttributes,
32513 &_swigt__p_wxWindow,
32514 &_swigt__p_wxWindowCreateEvent,
32515 &_swigt__p_wxWindowDestroyEvent,
32516 &_swigt__p_wxXPMHandler,
32517 };
32518
32519 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32520 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32521 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32522 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32523 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32524 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32525 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32526 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32527 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32528 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32529 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32530 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32531 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32532 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32533 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32534 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32535 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32536 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32537 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32538 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32539 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32540 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32541 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}};
32542 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32543 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32544 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32545 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32546 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32547 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32548 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32549 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32550 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32551 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32552 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32553 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32554 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32555 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32556 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32557 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32558 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32559 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32560 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32561 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32562 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32563 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32564 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32565 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32566 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32567 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32568 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32569 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32570 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32571 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32572 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32573 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32574 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32575 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32576 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32577 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32578 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32579 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32580 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32581 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32582 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32583 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32584 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32585 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32586 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
32587 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32588 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32589 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32590 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32591 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32592 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32593 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32594 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32595 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32596 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32597 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32598 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32599 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}};
32600 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32601 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32602 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32603 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32604 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32605 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32606 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32607 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32608 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32609 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32610 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32611 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32612 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32613 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32614 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32615 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32616 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32617 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32618 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32619 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32620 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32621 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32623 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32624 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32625 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32627 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32628 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32629 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32630 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32631 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}};
32632 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32633 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32634 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32635 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
32636 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32637 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}};
32638 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}};
32639 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32642 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}};
32643 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32644 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32645 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32646 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32647 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
32648 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32654 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}};
32655 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}};
32656 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32662 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}};
32663 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32664 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}};
32665 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32676 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}};
32677 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32681 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32682
32683 static swig_cast_info *swig_cast_initial[] = {
32684 _swigc__p_bool,
32685 _swigc__p_char,
32686 _swigc__p_form_ops_t,
32687 _swigc__p_int,
32688 _swigc__p_unsigned_char,
32689 _swigc__p_unsigned_int,
32690 _swigc__p_unsigned_long,
32691 _swigc__p_wxANIHandler,
32692 _swigc__p_wxAcceleratorTable,
32693 _swigc__p_wxActivateEvent,
32694 _swigc__p_wxArrayInt,
32695 _swigc__p_wxBMPHandler,
32696 _swigc__p_wxBitmap,
32697 _swigc__p_wxBoxSizer,
32698 _swigc__p_wxCURHandler,
32699 _swigc__p_wxCalculateLayoutEvent,
32700 _swigc__p_wxChildFocusEvent,
32701 _swigc__p_wxClipboardTextEvent,
32702 _swigc__p_wxCloseEvent,
32703 _swigc__p_wxColour,
32704 _swigc__p_wxColourData,
32705 _swigc__p_wxColourDialog,
32706 _swigc__p_wxCommandEvent,
32707 _swigc__p_wxContextMenuEvent,
32708 _swigc__p_wxControl,
32709 _swigc__p_wxControlWithItems,
32710 _swigc__p_wxDC,
32711 _swigc__p_wxDateEvent,
32712 _swigc__p_wxDialog,
32713 _swigc__p_wxDirDialog,
32714 _swigc__p_wxDisplayChangedEvent,
32715 _swigc__p_wxDropFilesEvent,
32716 _swigc__p_wxDuplexMode,
32717 _swigc__p_wxEraseEvent,
32718 _swigc__p_wxEvent,
32719 _swigc__p_wxEvtHandler,
32720 _swigc__p_wxFSFile,
32721 _swigc__p_wxFileDialog,
32722 _swigc__p_wxFileSystem,
32723 _swigc__p_wxFindDialogEvent,
32724 _swigc__p_wxFindReplaceData,
32725 _swigc__p_wxFindReplaceDialog,
32726 _swigc__p_wxFlexGridSizer,
32727 _swigc__p_wxFocusEvent,
32728 _swigc__p_wxFont,
32729 _swigc__p_wxFontData,
32730 _swigc__p_wxFontDialog,
32731 _swigc__p_wxFrame,
32732 _swigc__p_wxGBSizerItem,
32733 _swigc__p_wxGIFHandler,
32734 _swigc__p_wxGridBagSizer,
32735 _swigc__p_wxGridSizer,
32736 _swigc__p_wxHtmlLinkInfo,
32737 _swigc__p_wxICOHandler,
32738 _swigc__p_wxIcon,
32739 _swigc__p_wxIconBundle,
32740 _swigc__p_wxIconizeEvent,
32741 _swigc__p_wxIdleEvent,
32742 _swigc__p_wxImage,
32743 _swigc__p_wxImageHandler,
32744 _swigc__p_wxIndividualLayoutConstraint,
32745 _swigc__p_wxInitDialogEvent,
32746 _swigc__p_wxJPEGHandler,
32747 _swigc__p_wxKeyEvent,
32748 _swigc__p_wxLayoutAlgorithm,
32749 _swigc__p_wxLayoutConstraints,
32750 _swigc__p_wxMDIChildFrame,
32751 _swigc__p_wxMDIClientWindow,
32752 _swigc__p_wxMDIParentFrame,
32753 _swigc__p_wxMaximizeEvent,
32754 _swigc__p_wxMenu,
32755 _swigc__p_wxMenuBar,
32756 _swigc__p_wxMenuEvent,
32757 _swigc__p_wxMenuItem,
32758 _swigc__p_wxMessageDialog,
32759 _swigc__p_wxMiniFrame,
32760 _swigc__p_wxMouseCaptureChangedEvent,
32761 _swigc__p_wxMouseEvent,
32762 _swigc__p_wxMoveEvent,
32763 _swigc__p_wxMultiChoiceDialog,
32764 _swigc__p_wxNavigationKeyEvent,
32765 _swigc__p_wxNcPaintEvent,
32766 _swigc__p_wxNotifyEvent,
32767 _swigc__p_wxObject,
32768 _swigc__p_wxPCXHandler,
32769 _swigc__p_wxPNGHandler,
32770 _swigc__p_wxPNMHandler,
32771 _swigc__p_wxPageSetupDialog,
32772 _swigc__p_wxPageSetupDialogData,
32773 _swigc__p_wxPaintEvent,
32774 _swigc__p_wxPaletteChangedEvent,
32775 _swigc__p_wxPanel,
32776 _swigc__p_wxPaperSize,
32777 _swigc__p_wxPasswordEntryDialog,
32778 _swigc__p_wxPoint,
32779 _swigc__p_wxPopupWindow,
32780 _swigc__p_wxPreviewCanvas,
32781 _swigc__p_wxPreviewControlBar,
32782 _swigc__p_wxPreviewFrame,
32783 _swigc__p_wxPrintData,
32784 _swigc__p_wxPrintDialog,
32785 _swigc__p_wxPrintDialogData,
32786 _swigc__p_wxPrintPreview,
32787 _swigc__p_wxPrinter,
32788 _swigc__p_wxProgressDialog,
32789 _swigc__p_wxPyApp,
32790 _swigc__p_wxPyCommandEvent,
32791 _swigc__p_wxPyEvent,
32792 _swigc__p_wxPyHtmlListBox,
32793 _swigc__p_wxPyImageHandler,
32794 _swigc__p_wxPyPanel,
32795 _swigc__p_wxPyPopupTransientWindow,
32796 _swigc__p_wxPyPreviewControlBar,
32797 _swigc__p_wxPyPreviewFrame,
32798 _swigc__p_wxPyPrintPreview,
32799 _swigc__p_wxPyPrintout,
32800 _swigc__p_wxPyScrolledWindow,
32801 _swigc__p_wxPySizer,
32802 _swigc__p_wxPyTaskBarIcon,
32803 _swigc__p_wxPyVListBox,
32804 _swigc__p_wxPyVScrolledWindow,
32805 _swigc__p_wxPyValidator,
32806 _swigc__p_wxPyWindow,
32807 _swigc__p_wxQueryLayoutInfoEvent,
32808 _swigc__p_wxQueryNewPaletteEvent,
32809 _swigc__p_wxRect,
32810 _swigc__p_wxRegion,
32811 _swigc__p_wxSashEvent,
32812 _swigc__p_wxSashLayoutWindow,
32813 _swigc__p_wxSashWindow,
32814 _swigc__p_wxScrollEvent,
32815 _swigc__p_wxScrollWinEvent,
32816 _swigc__p_wxScrolledWindow,
32817 _swigc__p_wxSetCursorEvent,
32818 _swigc__p_wxShowEvent,
32819 _swigc__p_wxSingleChoiceDialog,
32820 _swigc__p_wxSize,
32821 _swigc__p_wxSizeEvent,
32822 _swigc__p_wxSizer,
32823 _swigc__p_wxSizerItem,
32824 _swigc__p_wxSplashScreen,
32825 _swigc__p_wxSplashScreenWindow,
32826 _swigc__p_wxSplitterEvent,
32827 _swigc__p_wxSplitterWindow,
32828 _swigc__p_wxStaticBoxSizer,
32829 _swigc__p_wxStatusBar,
32830 _swigc__p_wxStdDialogButtonSizer,
32831 _swigc__p_wxString,
32832 _swigc__p_wxSysColourChangedEvent,
32833 _swigc__p_wxTIFFHandler,
32834 _swigc__p_wxTaskBarIcon,
32835 _swigc__p_wxTaskBarIconEvent,
32836 _swigc__p_wxTextEntryDialog,
32837 _swigc__p_wxTipWindow,
32838 _swigc__p_wxToolBar,
32839 _swigc__p_wxTopLevelWindow,
32840 _swigc__p_wxUpdateUIEvent,
32841 _swigc__p_wxValidator,
32842 _swigc__p_wxVisualAttributes,
32843 _swigc__p_wxWindow,
32844 _swigc__p_wxWindowCreateEvent,
32845 _swigc__p_wxWindowDestroyEvent,
32846 _swigc__p_wxXPMHandler,
32847 };
32848
32849
32850 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32851
32852 static swig_const_info swig_const_table[] = {
32853 {0, 0, 0, 0.0, 0, 0}};
32854
32855 #ifdef __cplusplus
32856 }
32857 #endif
32858 /* -----------------------------------------------------------------------------
32859 * Type initialization:
32860 * This problem is tough by the requirement that no dynamic
32861 * memory is used. Also, since swig_type_info structures store pointers to
32862 * swig_cast_info structures and swig_cast_info structures store pointers back
32863 * to swig_type_info structures, we need some lookup code at initialization.
32864 * The idea is that swig generates all the structures that are needed.
32865 * The runtime then collects these partially filled structures.
32866 * The SWIG_InitializeModule function takes these initial arrays out of
32867 * swig_module, and does all the lookup, filling in the swig_module.types
32868 * array with the correct data and linking the correct swig_cast_info
32869 * structures together.
32870 *
32871 * The generated swig_type_info structures are assigned staticly to an initial
32872 * array. We just loop though that array, and handle each type individually.
32873 * First we lookup if this type has been already loaded, and if so, use the
32874 * loaded structure instead of the generated one. Then we have to fill in the
32875 * cast linked list. The cast data is initially stored in something like a
32876 * two-dimensional array. Each row corresponds to a type (there are the same
32877 * number of rows as there are in the swig_type_initial array). Each entry in
32878 * a column is one of the swig_cast_info structures for that type.
32879 * The cast_initial array is actually an array of arrays, because each row has
32880 * a variable number of columns. So to actually build the cast linked list,
32881 * we find the array of casts associated with the type, and loop through it
32882 * adding the casts to the list. The one last trick we need to do is making
32883 * sure the type pointer in the swig_cast_info struct is correct.
32884 *
32885 * First off, we lookup the cast->type name to see if it is already loaded.
32886 * There are three cases to handle:
32887 * 1) If the cast->type has already been loaded AND the type we are adding
32888 * casting info to has not been loaded (it is in this module), THEN we
32889 * replace the cast->type pointer with the type pointer that has already
32890 * been loaded.
32891 * 2) If BOTH types (the one we are adding casting info to, and the
32892 * cast->type) are loaded, THEN the cast info has already been loaded by
32893 * the previous module so we just ignore it.
32894 * 3) Finally, if cast->type has not already been loaded, then we add that
32895 * swig_cast_info to the linked list (because the cast->type) pointer will
32896 * be correct.
32897 * ----------------------------------------------------------------------------- */
32898
32899 #ifdef __cplusplus
32900 extern "C" {
32901 #if 0
32902 } /* c-mode */
32903 #endif
32904 #endif
32905
32906 #if 0
32907 #define SWIGRUNTIME_DEBUG
32908 #endif
32909
32910 SWIGRUNTIME void
32911 SWIG_InitializeModule(void *clientdata) {
32912 size_t i;
32913 swig_module_info *module_head;
32914 static int init_run = 0;
32915
32916 clientdata = clientdata;
32917
32918 if (init_run) return;
32919 init_run = 1;
32920
32921 /* Initialize the swig_module */
32922 swig_module.type_initial = swig_type_initial;
32923 swig_module.cast_initial = swig_cast_initial;
32924
32925 /* Try and load any already created modules */
32926 module_head = SWIG_GetModule(clientdata);
32927 if (module_head) {
32928 swig_module.next = module_head->next;
32929 module_head->next = &swig_module;
32930 } else {
32931 /* This is the first module loaded */
32932 swig_module.next = &swig_module;
32933 SWIG_SetModule(clientdata, &swig_module);
32934 }
32935
32936 /* Now work on filling in swig_module.types */
32937 #ifdef SWIGRUNTIME_DEBUG
32938 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
32939 #endif
32940 for (i = 0; i < swig_module.size; ++i) {
32941 swig_type_info *type = 0;
32942 swig_type_info *ret;
32943 swig_cast_info *cast;
32944
32945 #ifdef SWIGRUNTIME_DEBUG
32946 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
32947 #endif
32948
32949 /* if there is another module already loaded */
32950 if (swig_module.next != &swig_module) {
32951 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
32952 }
32953 if (type) {
32954 /* Overwrite clientdata field */
32955 #ifdef SWIGRUNTIME_DEBUG
32956 printf("SWIG_InitializeModule: found type %s\n", type->name);
32957 #endif
32958 if (swig_module.type_initial[i]->clientdata) {
32959 type->clientdata = swig_module.type_initial[i]->clientdata;
32960 #ifdef SWIGRUNTIME_DEBUG
32961 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
32962 #endif
32963 }
32964 } else {
32965 type = swig_module.type_initial[i];
32966 }
32967
32968 /* Insert casting types */
32969 cast = swig_module.cast_initial[i];
32970 while (cast->type) {
32971 /* Don't need to add information already in the list */
32972 ret = 0;
32973 #ifdef SWIGRUNTIME_DEBUG
32974 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
32975 #endif
32976 if (swig_module.next != &swig_module) {
32977 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
32978 #ifdef SWIGRUNTIME_DEBUG
32979 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
32980 #endif
32981 }
32982 if (ret) {
32983 if (type == swig_module.type_initial[i]) {
32984 #ifdef SWIGRUNTIME_DEBUG
32985 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
32986 #endif
32987 cast->type = ret;
32988 ret = 0;
32989 } else {
32990 /* Check for casting already in the list */
32991 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
32992 #ifdef SWIGRUNTIME_DEBUG
32993 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
32994 #endif
32995 if (!ocast) ret = 0;
32996 }
32997 }
32998
32999 if (!ret) {
33000 #ifdef SWIGRUNTIME_DEBUG
33001 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33002 #endif
33003 if (type->cast) {
33004 type->cast->prev = cast;
33005 cast->next = type->cast;
33006 }
33007 type->cast = cast;
33008 }
33009 cast++;
33010 }
33011 /* Set entry in modules->types array equal to the type */
33012 swig_module.types[i] = type;
33013 }
33014 swig_module.types[i] = 0;
33015
33016 #ifdef SWIGRUNTIME_DEBUG
33017 printf("**** SWIG_InitializeModule: Cast List ******\n");
33018 for (i = 0; i < swig_module.size; ++i) {
33019 int j = 0;
33020 swig_cast_info *cast = swig_module.cast_initial[i];
33021 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33022 while (cast->type) {
33023 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33024 cast++;
33025 ++j;
33026 }
33027 printf("---- Total casts: %d\n",j);
33028 }
33029 printf("**** SWIG_InitializeModule: Cast List ******\n");
33030 #endif
33031 }
33032
33033 /* This function will propagate the clientdata field of type to
33034 * any new swig_type_info structures that have been added into the list
33035 * of equivalent types. It is like calling
33036 * SWIG_TypeClientData(type, clientdata) a second time.
33037 */
33038 SWIGRUNTIME void
33039 SWIG_PropagateClientData(void) {
33040 size_t i;
33041 swig_cast_info *equiv;
33042 static int init_run = 0;
33043
33044 if (init_run) return;
33045 init_run = 1;
33046
33047 for (i = 0; i < swig_module.size; i++) {
33048 if (swig_module.types[i]->clientdata) {
33049 equiv = swig_module.types[i]->cast;
33050 while (equiv) {
33051 if (!equiv->converter) {
33052 if (equiv->type && !equiv->type->clientdata)
33053 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33054 }
33055 equiv = equiv->next;
33056 }
33057 }
33058 }
33059 }
33060
33061 #ifdef __cplusplus
33062 #if 0
33063 {
33064 /* c-mode */
33065 #endif
33066 }
33067 #endif
33068
33069
33070
33071 #ifdef __cplusplus
33072 extern "C" {
33073 #endif
33074
33075 /* Python-specific SWIG API */
33076 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33077 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33078 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33079
33080 /* -----------------------------------------------------------------------------
33081 * global variable support code.
33082 * ----------------------------------------------------------------------------- */
33083
33084 typedef struct swig_globalvar {
33085 char *name; /* Name of global variable */
33086 PyObject *(*get_attr)(void); /* Return the current value */
33087 int (*set_attr)(PyObject *); /* Set the value */
33088 struct swig_globalvar *next;
33089 } swig_globalvar;
33090
33091 typedef struct swig_varlinkobject {
33092 PyObject_HEAD
33093 swig_globalvar *vars;
33094 } swig_varlinkobject;
33095
33096 SWIGINTERN PyObject *
33097 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33098 return PyString_FromString("<Swig global variables>");
33099 }
33100
33101 SWIGINTERN PyObject *
33102 swig_varlink_str(swig_varlinkobject *v) {
33103 PyObject *str = PyString_FromString("(");
33104 swig_globalvar *var;
33105 for (var = v->vars; var; var=var->next) {
33106 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33107 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33108 }
33109 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33110 return str;
33111 }
33112
33113 SWIGINTERN int
33114 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33115 PyObject *str = swig_varlink_str(v);
33116 fprintf(fp,"Swig global variables ");
33117 fprintf(fp,"%s\n", PyString_AsString(str));
33118 Py_DECREF(str);
33119 return 0;
33120 }
33121
33122 SWIGINTERN void
33123 swig_varlink_dealloc(swig_varlinkobject *v) {
33124 swig_globalvar *var = v->vars;
33125 while (var) {
33126 swig_globalvar *n = var->next;
33127 free(var->name);
33128 free(var);
33129 var = n;
33130 }
33131 }
33132
33133 SWIGINTERN PyObject *
33134 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33135 PyObject *res = NULL;
33136 swig_globalvar *var = v->vars;
33137 while (var) {
33138 if (strcmp(var->name,n) == 0) {
33139 res = (*var->get_attr)();
33140 break;
33141 }
33142 var = var->next;
33143 }
33144 if (res == NULL && !PyErr_Occurred()) {
33145 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33146 }
33147 return res;
33148 }
33149
33150 SWIGINTERN int
33151 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33152 int res = 1;
33153 swig_globalvar *var = v->vars;
33154 while (var) {
33155 if (strcmp(var->name,n) == 0) {
33156 res = (*var->set_attr)(p);
33157 break;
33158 }
33159 var = var->next;
33160 }
33161 if (res == 1 && !PyErr_Occurred()) {
33162 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33163 }
33164 return res;
33165 }
33166
33167 SWIGINTERN PyTypeObject*
33168 swig_varlink_type(void) {
33169 static char varlink__doc__[] = "Swig var link object";
33170 static PyTypeObject varlink_type;
33171 static int type_init = 0;
33172 if (!type_init) {
33173 const PyTypeObject tmp
33174 = {
33175 PyObject_HEAD_INIT(NULL)
33176 0, /* Number of items in variable part (ob_size) */
33177 (char *)"swigvarlink", /* Type name (tp_name) */
33178 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33179 0, /* Itemsize (tp_itemsize) */
33180 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33181 (printfunc) swig_varlink_print, /* Print (tp_print) */
33182 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33183 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33184 0, /* tp_compare */
33185 (reprfunc) swig_varlink_repr, /* tp_repr */
33186 0, /* tp_as_number */
33187 0, /* tp_as_sequence */
33188 0, /* tp_as_mapping */
33189 0, /* tp_hash */
33190 0, /* tp_call */
33191 (reprfunc)swig_varlink_str, /* tp_str */
33192 0, /* tp_getattro */
33193 0, /* tp_setattro */
33194 0, /* tp_as_buffer */
33195 0, /* tp_flags */
33196 varlink__doc__, /* tp_doc */
33197 0, /* tp_traverse */
33198 0, /* tp_clear */
33199 0, /* tp_richcompare */
33200 0, /* tp_weaklistoffset */
33201 #if PY_VERSION_HEX >= 0x02020000
33202 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33203 #endif
33204 #if PY_VERSION_HEX >= 0x02030000
33205 0, /* tp_del */
33206 #endif
33207 #ifdef COUNT_ALLOCS
33208 0,0,0,0 /* tp_alloc -> tp_next */
33209 #endif
33210 };
33211 varlink_type = tmp;
33212 varlink_type.ob_type = &PyType_Type;
33213 type_init = 1;
33214 }
33215 return &varlink_type;
33216 }
33217
33218 /* Create a variable linking object for use later */
33219 SWIGINTERN PyObject *
33220 SWIG_Python_newvarlink(void) {
33221 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33222 if (result) {
33223 result->vars = 0;
33224 }
33225 return ((PyObject*) result);
33226 }
33227
33228 SWIGINTERN void
33229 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33230 swig_varlinkobject *v = (swig_varlinkobject *) p;
33231 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33232 if (gv) {
33233 size_t size = strlen(name)+1;
33234 gv->name = (char *)malloc(size);
33235 if (gv->name) {
33236 strncpy(gv->name,name,size);
33237 gv->get_attr = get_attr;
33238 gv->set_attr = set_attr;
33239 gv->next = v->vars;
33240 }
33241 }
33242 v->vars = gv;
33243 }
33244
33245 SWIGINTERN PyObject *
33246 SWIG_globals() {
33247 static PyObject *_SWIG_globals = 0;
33248 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33249 return _SWIG_globals;
33250 }
33251
33252 /* -----------------------------------------------------------------------------
33253 * constants/methods manipulation
33254 * ----------------------------------------------------------------------------- */
33255
33256 /* Install Constants */
33257 SWIGINTERN void
33258 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33259 PyObject *obj = 0;
33260 size_t i;
33261 for (i = 0; constants[i].type; ++i) {
33262 switch(constants[i].type) {
33263 case SWIG_PY_POINTER:
33264 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33265 break;
33266 case SWIG_PY_BINARY:
33267 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33268 break;
33269 default:
33270 obj = 0;
33271 break;
33272 }
33273 if (obj) {
33274 PyDict_SetItemString(d, constants[i].name, obj);
33275 Py_DECREF(obj);
33276 }
33277 }
33278 }
33279
33280 /* -----------------------------------------------------------------------------*/
33281 /* Fix SwigMethods to carry the callback ptrs when needed */
33282 /* -----------------------------------------------------------------------------*/
33283
33284 SWIGINTERN void
33285 SWIG_Python_FixMethods(PyMethodDef *methods,
33286 swig_const_info *const_table,
33287 swig_type_info **types,
33288 swig_type_info **types_initial) {
33289 size_t i;
33290 for (i = 0; methods[i].ml_name; ++i) {
33291 const char *c = methods[i].ml_doc;
33292 if (c && (c = strstr(c, "swig_ptr: "))) {
33293 int j;
33294 swig_const_info *ci = 0;
33295 const char *name = c + 10;
33296 for (j = 0; const_table[j].type; ++j) {
33297 if (strncmp(const_table[j].name, name,
33298 strlen(const_table[j].name)) == 0) {
33299 ci = &(const_table[j]);
33300 break;
33301 }
33302 }
33303 if (ci) {
33304 size_t shift = (ci->ptype) - types;
33305 swig_type_info *ty = types_initial[shift];
33306 size_t ldoc = (c - methods[i].ml_doc);
33307 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33308 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33309 if (ndoc) {
33310 char *buff = ndoc;
33311 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33312 if (ptr) {
33313 strncpy(buff, methods[i].ml_doc, ldoc);
33314 buff += ldoc;
33315 strncpy(buff, "swig_ptr: ", 10);
33316 buff += 10;
33317 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33318 methods[i].ml_doc = ndoc;
33319 }
33320 }
33321 }
33322 }
33323 }
33324 }
33325
33326 #ifdef __cplusplus
33327 }
33328 #endif
33329
33330 /* -----------------------------------------------------------------------------*
33331 * Partial Init method
33332 * -----------------------------------------------------------------------------*/
33333
33334 #ifdef __cplusplus
33335 extern "C"
33336 #endif
33337 SWIGEXPORT void SWIG_init(void) {
33338 PyObject *m, *d;
33339
33340 /* Fix SwigMethods to carry the callback ptrs when needed */
33341 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33342
33343 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33344 d = PyModule_GetDict(m);
33345
33346 SWIG_InitializeModule(0);
33347 SWIG_InstallConstants(d,swig_const_table);
33348
33349
33350 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33351 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33352 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33353 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33354 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33355 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33356 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33357 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33358 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33359 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33360 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33361 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33362 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33363 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33364 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33365 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33366 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33367 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33368 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33369 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33370 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33371 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33372 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33373 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33374 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33375 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33376 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33377 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33378 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33379 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33380 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33381 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33382 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33383 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33384 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33385 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33386 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33387 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33388 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33389 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33390 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33391 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33392 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33393 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33394 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33395 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33396 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33397 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33398 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33399 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33400 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33401 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33402 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33403 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33404 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33405 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33406 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33407 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33408 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33409 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33410 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33411 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33412 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33413 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33414 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33415 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33416 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33417 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33418 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33419 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33420 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33421 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33422 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33423 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33424 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33425 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33426 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33427 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33428 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33429 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33430 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33431 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33432 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33433 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33434 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33435 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33436 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33437 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33438 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33439 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33440 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33441 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33442 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33443 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33444 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33445 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33446 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33447 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33448 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33449 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33450 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33451 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33452
33453 // Map renamed classes back to their common name for OOR
33454 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33455 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33456 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33457
33458 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33459 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33460 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33461 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33462 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33463 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33464 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33465 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33466 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33467 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33468 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33469 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33470 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33471 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33472 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33473 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33474 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33475 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33476 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33477 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33478 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33479 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
33480 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
33481 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33482 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33483 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33484 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33485 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33486 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33487 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
33488 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33489 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33490 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33491 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33492 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33493 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33494 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33495 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33496 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33497 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33498 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33499 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33500 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33501 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33502 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33503 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33504 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33505 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33506 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33507 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33508 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33509 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33510 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33511 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33512 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33513 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33514 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33515 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33516 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33517 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33518 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33519 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33520 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33521 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33522 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33523 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33524 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33525 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33526 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33527 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33528 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33529 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33530 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33531 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33532 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33533 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33534 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33535 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33536 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33537 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33538 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33539 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33540 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33541 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33542 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33543 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33544 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33545 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33546 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33547 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33548 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33549 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33550 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33551 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33552 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33553
33554 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33555
33556 }
33557