]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
dfc72165d68429aef670d91d8ba74f2610b64d00
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPanel swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561 #define SWIGTYPE_p_wxPoint swig_types[95]
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570 #define SWIGTYPE_p_wxPrinter swig_types[104]
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPyApp swig_types[106]
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111]
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122]
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123]
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592 #define SWIGTYPE_p_wxRect swig_types[126]
2593 #define SWIGTYPE_p_wxRegion swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154]
2621 #define SWIGTYPE_p_wxToolBar swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626 #define SWIGTYPE_p_wxWindow swig_types[160]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630 static swig_type_info *swig_types[165];
2631 static swig_module_info swig_module = {swig_types, 164, 0, 0, 0, 0};
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2634
2635 /* -------- TYPES TABLE (END) -------- */
2636
2637 #if (PY_VERSION_HEX <= 0x02000000)
2638 # if !defined(SWIG_PYTHON_CLASSIC)
2639 # error "This python version requires to use swig with the '-classic' option"
2640 # endif
2641 #endif
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodern' option"
2644 #endif
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodernargs' option"
2647 #endif
2648 #ifndef METH_O
2649 # error "This python version requires to use swig with the '-nofastunpack' option"
2650 #endif
2651
2652 /*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655 #define SWIG_init init_windows_
2656
2657 #define SWIG_name "_windows_"
2658
2659 #define SWIGVERSION 0x010329
2660
2661
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2664
2665
2666 #include <stdexcept>
2667
2668
2669 namespace swig {
2670 class PyObject_ptr {
2671 protected:
2672 PyObject *_obj;
2673
2674 public:
2675 PyObject_ptr() :_obj(0)
2676 {
2677 }
2678
2679 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2680 {
2681 Py_XINCREF(_obj);
2682 }
2683
2684 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2685 {
2686 if (initial_ref) Py_XINCREF(_obj);
2687 }
2688
2689 PyObject_ptr & operator=(const PyObject_ptr& item)
2690 {
2691 Py_XINCREF(item._obj);
2692 Py_XDECREF(_obj);
2693 _obj = item._obj;
2694 return *this;
2695 }
2696
2697 ~PyObject_ptr()
2698 {
2699 Py_XDECREF(_obj);
2700 }
2701
2702 operator PyObject *() const
2703 {
2704 return _obj;
2705 }
2706
2707 PyObject *operator->() const
2708 {
2709 return _obj;
2710 }
2711 };
2712 }
2713
2714
2715 namespace swig {
2716 struct PyObject_var : PyObject_ptr {
2717 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2718
2719 PyObject_var & operator = (PyObject* obj)
2720 {
2721 Py_XDECREF(_obj);
2722 _obj = obj;
2723 return *this;
2724 }
2725 };
2726 }
2727
2728
2729 #include "wx/wxPython/wxPython.h"
2730 #include "wx/wxPython/pyclasses.h"
2731
2732
2733 static const wxString wxPyEmptyString(wxEmptyString);
2734 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2735
2736
2737
2738 #include <limits.h>
2739 #ifndef LLONG_MIN
2740 # define LLONG_MIN LONG_LONG_MIN
2741 #endif
2742 #ifndef LLONG_MAX
2743 # define LLONG_MAX LONG_LONG_MAX
2744 #endif
2745 #ifndef ULLONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2747 #endif
2748
2749
2750 SWIGINTERN int
2751 SWIG_AsVal_long (PyObject* obj, long* val)
2752 {
2753 if (PyNumber_Check(obj)) {
2754 if (val) *val = PyInt_AsLong(obj);
2755 return SWIG_OK;
2756 }
2757 return SWIG_TypeError;
2758 }
2759
2760
2761 SWIGINTERN int
2762 SWIG_AsVal_int (PyObject * obj, int *val)
2763 {
2764 long v;
2765 int res = SWIG_AsVal_long (obj, &v);
2766 if (SWIG_IsOK(res)) {
2767 if ((v < INT_MIN || v > INT_MAX)) {
2768 return SWIG_OverflowError;
2769 } else {
2770 if (val) *val = static_cast< int >(v);
2771 }
2772 }
2773 return res;
2774 }
2775
2776
2777 SWIGINTERN int
2778 SWIG_AsVal_bool (PyObject *obj, bool *val)
2779 {
2780 if (obj == Py_True) {
2781 if (val) *val = true;
2782 return SWIG_OK;
2783 } else if (obj == Py_False) {
2784 if (val) *val = false;
2785 return SWIG_OK;
2786 } else {
2787 long v = 0;
2788 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2789 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2790 return res;
2791 }
2792 }
2793
2794
2795 #define SWIG_From_long PyInt_FromLong
2796
2797
2798 SWIGINTERNINLINE PyObject *
2799 SWIG_From_int (int value)
2800 {
2801 return SWIG_From_long (value);
2802 }
2803
2804
2805 SWIGINTERN int
2806 SWIG_AsVal_double (PyObject *obj, double* val)
2807 {
2808 if (PyNumber_Check(obj)) {
2809 if (val) *val = PyFloat_AsDouble(obj);
2810 return SWIG_OK;
2811 }
2812 return SWIG_TypeError;
2813 }
2814
2815
2816 #define SWIG_From_double PyFloat_FromDouble
2817
2818 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2819 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2820 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2821 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2822 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2823 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2824
2825 SWIGINTERN int
2826 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2827 {
2828 long v = 0;
2829 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2830 return SWIG_TypeError;
2831 }
2832 else if (val)
2833 *val = (unsigned long)v;
2834 return SWIG_OK;
2835 }
2836
2837
2838 SWIGINTERN int
2839 SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
2840 {
2841 unsigned long v;
2842 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2843 if (SWIG_IsOK(res)) {
2844 if ((v > UCHAR_MAX)) {
2845 return SWIG_OverflowError;
2846 } else {
2847 if (val) *val = static_cast< unsigned char >(v);
2848 }
2849 }
2850 return res;
2851 }
2852
2853
2854
2855 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2856 wxRect r;
2857 self->GetFieldRect(i, r);
2858 return r;
2859 }
2860 static const wxString wxPySplitterNameStr(wxT("splitter"));
2861 static const wxString wxPySashNameStr(wxT("sashWindow"));
2862 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2863
2864 #include <wx/popupwin.h>
2865
2866
2867 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2868 {
2869 public:
2870 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2871 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2872 : wxPopupTransientWindow(parent, style) {}
2873
2874 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2875 DEC_PYCALLBACK__(OnDismiss);
2876 DEC_PYCALLBACK_BOOL_(CanDismiss);
2877 PYPRIVATE;
2878 };
2879
2880
2881 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2882 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2883 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2884
2885
2886 #include <wx/tipwin.h>
2887
2888 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2889 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2890 }
2891
2892 #include <wx/tipwin.h>
2893
2894
2895 #include <wx/vscroll.h>
2896
2897
2898 class wxPyVScrolledWindow : public wxVScrolledWindow
2899 {
2900 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2901 public:
2902 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2903
2904 wxPyVScrolledWindow(wxWindow *parent,
2905 wxWindowID id = wxID_ANY,
2906 const wxPoint& pos = wxDefaultPosition,
2907 const wxSize& size = wxDefaultSize,
2908 long style = 0,
2909 const wxString& name = wxPyPanelNameStr)
2910 : wxVScrolledWindow(parent, id, pos, size, style, name)
2911 {}
2912
2913 // Overridable virtuals
2914
2915 // this function must be overridden in the derived class and it should
2916 // return the height of the given line in pixels
2917 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2918
2919
2920 // this function doesn't have to be overridden but it may be useful to do
2921 // it if calculating the lines heights is a relatively expensive operation
2922 // as it gives the user code a possibility to calculate several of them at
2923 // once
2924 //
2925 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2926 // shouldn't rely on the latter being called for all lines in the interval
2927 // specified here. It is also possible that OnGetLineHeight() will be
2928 // called for the lines outside of this interval, so this is really just a
2929 // hint, not a promise.
2930 //
2931 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2932 // usual
2933 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2934
2935
2936 // when the number of lines changes, we try to estimate the total height
2937 // of all lines which is a rather expensive operation in terms of lines
2938 // access, so if the user code may estimate the average height
2939 // better/faster than we do, it should override this function to implement
2940 // its own logic
2941 //
2942 // this function should return the best guess for the total height it may
2943 // make
2944 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2945
2946
2947 // Also expose some other interesting protected methods
2948
2949
2950 // find the index of the line we need to show at the top of the window such
2951 // that the last (fully or partially) visible line is the given one
2952 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2953 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2954
2955 // get the total height of the lines between lineMin (inclusive) and
2956 // lineMax (exclusive)
2957 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2958 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2959
2960 // update the thumb size shown by the scrollbar
2961 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2962
2963 // remove the scrollbar completely because we don't need it
2964 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2965
2966 PYPRIVATE;
2967 };
2968
2969 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2970
2971 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2972 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2973 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2974
2975
2976 SWIGINTERNINLINE int
2977 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2978 {
2979 unsigned long v;
2980 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2981 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2982 return res;
2983 }
2984
2985
2986 SWIGINTERNINLINE PyObject*
2987 SWIG_From_unsigned_SS_long (unsigned long value)
2988 {
2989 return (value > LONG_MAX) ?
2990 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2991 }
2992
2993
2994 SWIGINTERNINLINE PyObject *
2995 SWIG_From_size_t (size_t value)
2996 {
2997 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2998 }
2999
3000
3001 #include <wx/vlbox.h>
3002
3003 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3004
3005 class wxPyVListBox : public wxVListBox
3006 {
3007 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3008 public:
3009 wxPyVListBox() : wxVListBox() {}
3010
3011 wxPyVListBox(wxWindow *parent,
3012 wxWindowID id = wxID_ANY,
3013 const wxPoint& pos = wxDefaultPosition,
3014 const wxSize& size = wxDefaultSize,
3015 long style = 0,
3016 const wxString& name = wxPyVListBoxNameStr)
3017 : wxVListBox(parent, id, pos, size, style, name)
3018 {}
3019
3020 // Overridable virtuals
3021
3022 // the derived class must implement this function to actually draw the item
3023 // with the given index on the provided DC
3024 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3025 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3026
3027
3028 // the derived class must implement this method to return the height of the
3029 // specified item
3030 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3031 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3032
3033
3034 // this method may be used to draw separators between the lines; note that
3035 // the rectangle may be modified, typically to deflate it a bit before
3036 // passing to OnDrawItem()
3037 //
3038 // the base class version doesn't do anything
3039 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3040 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3041
3042
3043 // this method is used to draw the items background and, maybe, a border
3044 // around it
3045 //
3046 // the base class version implements a reasonable default behaviour which
3047 // consists in drawing the selected item with the standard background
3048 // colour and drawing a border around the item if it is either selected or
3049 // current
3050 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3051 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3052
3053
3054 PYPRIVATE;
3055 };
3056
3057 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3058
3059 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3060 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3061 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3062 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3063
3064
3065 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3066 unsigned long cookie = 0;
3067 int selected = self->GetFirstSelected(cookie);
3068 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3069 PyObject* tup = PyTuple_New(2);
3070 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3071 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3072 wxPyEndBlockThreads(blocked);
3073 return tup;
3074 }
3075 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3076 int selected = self->GetNextSelected(cookie);
3077 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3078 PyObject* tup = PyTuple_New(2);
3079 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3080 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3081 wxPyEndBlockThreads(blocked);
3082 return tup;
3083 }
3084
3085 #include <wx/htmllbox.h>
3086
3087
3088 class wxPyHtmlListBox : public wxHtmlListBox
3089 {
3090 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3091 public:
3092 wxPyHtmlListBox() : wxHtmlListBox() {}
3093
3094 wxPyHtmlListBox(wxWindow *parent,
3095 wxWindowID id = wxID_ANY,
3096 const wxPoint& pos = wxDefaultPosition,
3097 const wxSize& size = wxDefaultSize,
3098 long style = 0,
3099 const wxString& name = wxPyVListBoxNameStr)
3100 : wxHtmlListBox(parent, id, pos, size, style, name)
3101 {}
3102
3103 // Overridable virtuals
3104
3105 // this method must be implemented in the derived class and should return
3106 // the body (i.e. without <html>) of the HTML for the given item
3107 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3108
3109 // this function may be overridden to decorate HTML returned by OnGetItem()
3110 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3111
3112 // These are from wxVListBox
3113 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3114 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3115
3116 // TODO:
3117 // // this method allows to customize the selection appearance: it may be used
3118 // // to specify the colour of the text which normally has the given colour
3119 // // colFg when it is inside the selection
3120 // //
3121 // // by default, the original colour is not used at all and all text has the
3122 // // same (default for this system) colour inside selection
3123 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3124
3125 // // this is the same as GetSelectedTextColour() but allows to customize the
3126 // // background colour -- this is even more rarely used as you can change it
3127 // // globally using SetSelectionBackground()
3128 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3129
3130
3131 // This method may be overriden to handle clicking on a link in
3132 // the listbox. By default, clicking links is ignored.
3133 virtual void OnLinkClicked(size_t n,
3134 const wxHtmlLinkInfo& link);
3135
3136 PYPRIVATE;
3137 };
3138
3139
3140 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3141
3142 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3143 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3144 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3145 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3146
3147
3148 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3149 const wxHtmlLinkInfo& link) {
3150 bool found;
3151 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3152 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3153 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3154 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3155 Py_DECREF(obj);
3156 }
3157 wxPyEndBlockThreads(blocked);
3158 if (! found)
3159 wxPyHtmlListBox::OnLinkClicked(n, link);
3160 }
3161
3162
3163
3164
3165
3166 #ifndef wxHAS_TASK_BAR_ICON
3167 // implement dummy classes for platforms that don't have it
3168
3169 class wxTaskBarIcon : public wxEvtHandler
3170 {
3171 public:
3172 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3173 };
3174
3175
3176 class wxTaskBarIconEvent : public wxEvent
3177 {
3178 public:
3179 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3180 { wxPyRaiseNotImplemented(); }
3181 virtual wxEvent* Clone() const { return NULL; }
3182 bool IsOk() const { return false; }
3183 bool IsIconInstalled() const { return false; }
3184 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3185 bool RemoveIcon() { return false; }
3186 bool PopupMenu(wxMenu *menu) { return false; }
3187 };
3188
3189 enum {
3190 wxEVT_TASKBAR_MOVE = 0,
3191 wxEVT_TASKBAR_LEFT_DOWN = 0,
3192 wxEVT_TASKBAR_LEFT_UP = 0,
3193 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3194 wxEVT_TASKBAR_RIGHT_UP = 0,
3195 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3196 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3197 };
3198
3199
3200 #else
3201 // Otherwise make a class that can virtualize CreatePopupMenu
3202 class wxPyTaskBarIcon : public wxTaskBarIcon
3203 {
3204 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3205 public:
3206 wxPyTaskBarIcon() : wxTaskBarIcon()
3207 {}
3208
3209 wxMenu* CreatePopupMenu() {
3210 wxMenu *rval = NULL;
3211 bool found;
3212 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3213 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3214 PyObject* ro;
3215 wxMenu* ptr;
3216 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3217 if (ro) {
3218 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3219 rval = ptr;
3220 Py_DECREF(ro);
3221 }
3222 }
3223 wxPyEndBlockThreads(blocked);
3224 if (! found)
3225 rval = wxTaskBarIcon::CreatePopupMenu();
3226 return rval;
3227 }
3228
3229 PYPRIVATE;
3230 };
3231
3232 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3233
3234 #endif
3235
3236 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3237 self->RemoveIcon();
3238 delete self;
3239 }
3240 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3241 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3242 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3243 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3244 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3245 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3246
3247 // for compatibility only
3248 #define wxHIDE_READONLY 0
3249
3250 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3251 wxArrayString arr;
3252 self->GetFilenames(arr);
3253 return wxArrayString2PyList_helper(arr);
3254 }
3255 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3256 wxArrayString arr;
3257 self->GetPaths(arr);
3258 return wxArrayString2PyList_helper(arr);
3259 }
3260 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3261 return wxArrayInt2PyList_helper(self->GetSelections());
3262 }
3263 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){
3264 return new wxSingleChoiceDialog(parent, message, caption,
3265 choices, choices_array, NULL, style, pos);
3266 }
3267 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3268
3269 SWIGINTERNINLINE PyObject*
3270 SWIG_From_bool (bool value)
3271 {
3272 return PyBool_FromLong(value ? 1 : 0);
3273 }
3274
3275
3276 #include <wx/mdi.h>
3277
3278 // C++ version of Python aware wxWindow
3279 class wxPyWindow : public wxWindow
3280 {
3281 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3282 public:
3283 wxPyWindow() : wxWindow() {}
3284 wxPyWindow(wxWindow* parent, const wxWindowID id,
3285 const wxPoint& pos = wxDefaultPosition,
3286 const wxSize& size = wxDefaultSize,
3287 long style = 0,
3288 const wxString& name = wxPyPanelNameStr)
3289 : wxWindow(parent, id, pos, size, style, name) {}
3290
3291 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3292
3293 bool DoEraseBackground(wxDC* dc) {
3294 #ifdef __WXMSW__
3295 return wxWindow::DoEraseBackground(dc->GetHDC());
3296 #else
3297 dc->SetBackground(wxBrush(GetBackgroundColour()));
3298 dc->Clear();
3299 return true;
3300 #endif
3301 }
3302
3303 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3304 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3305 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3306 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3307
3308 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3311
3312 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3313 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3314
3315 DEC_PYCALLBACK__(InitDialog);
3316 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3317 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3318 DEC_PYCALLBACK_BOOL_(Validate);
3319
3320 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3321 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3322 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3323
3324 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3325 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3326
3327 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3328 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3329
3330 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3331
3332 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3333
3334 PYPRIVATE;
3335 };
3336
3337 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3338
3339 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3340 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3341 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3342 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3343
3344 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3345 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3347
3348 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3349 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3350
3351 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3352 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3355
3356 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3357 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3358 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3359
3360 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3361 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3362
3363 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3364 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3365
3366 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3367
3368 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3369
3370 // C++ version of Python aware wxPanel
3371 class wxPyPanel : public wxPanel
3372 {
3373 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3374 public:
3375 wxPyPanel() : wxPanel() {}
3376 wxPyPanel(wxWindow* parent, const wxWindowID id,
3377 const wxPoint& pos = wxDefaultPosition,
3378 const wxSize& size = wxDefaultSize,
3379 long style = 0,
3380 const wxString& name = wxPyPanelNameStr)
3381 : wxPanel(parent, id, pos, size, style, name) {}
3382
3383 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3384 bool DoEraseBackground(wxDC* dc) {
3385 #ifdef __WXMSW__
3386 return wxWindow::DoEraseBackground(dc->GetHDC());
3387 #else
3388 dc->SetBackground(wxBrush(GetBackgroundColour()));
3389 dc->Clear();
3390 return true;
3391 #endif
3392 }
3393
3394
3395 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3396 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3397 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3398 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3399
3400 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3401 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3403
3404 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3405 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3406
3407 DEC_PYCALLBACK__(InitDialog);
3408 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3409 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3410 DEC_PYCALLBACK_BOOL_(Validate);
3411
3412 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3413 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3414 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3415
3416 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3417 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3418
3419 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3420 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3421
3422 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3423
3424 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3425
3426 PYPRIVATE;
3427 };
3428
3429 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3430
3431 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3432 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3433 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3434 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3435
3436 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3437 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3439
3440 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3441 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3442
3443 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3444 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3447
3448 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3450 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3451
3452 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3453 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3454
3455 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3456 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3457
3458 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3459
3460 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3461
3462 // C++ version of Python aware wxScrolledWindow
3463 class wxPyScrolledWindow : public wxScrolledWindow
3464 {
3465 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3466 public:
3467 wxPyScrolledWindow() : wxScrolledWindow() {}
3468 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3469 const wxPoint& pos = wxDefaultPosition,
3470 const wxSize& size = wxDefaultSize,
3471 long style = 0,
3472 const wxString& name = wxPyPanelNameStr)
3473 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3474
3475 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3476 bool DoEraseBackground(wxDC* dc) {
3477 #ifdef __WXMSW__
3478 return wxWindow::DoEraseBackground(dc->GetHDC());
3479 #else
3480 dc->SetBackground(wxBrush(GetBackgroundColour()));
3481 dc->Clear();
3482 return true;
3483 #endif
3484 }
3485
3486 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3487 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3488 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3489 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3490
3491 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3492 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3494
3495 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3496 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3497
3498 DEC_PYCALLBACK__(InitDialog);
3499 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3500 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3501 DEC_PYCALLBACK_BOOL_(Validate);
3502
3503 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3504 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3505 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3506
3507 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3508 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3509
3510 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3511 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3512
3513 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3514
3515 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3516
3517 PYPRIVATE;
3518 };
3519
3520 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3521
3522 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3523 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3524 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3525 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3526
3527 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3528 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3530
3531 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3532 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3533
3534 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3538
3539 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3541 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3542
3543 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3544 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3545
3546 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3547 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3548
3549 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3550
3551 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3552
3553
3554 #include "wx/wxPython/printfw.h"
3555
3556
3557 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3558 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3559 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3560 PyObject* data;
3561 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3562 data = PyString_FromStringAndSize(self->GetPrivData(),
3563 self->GetPrivDataLen());
3564 wxPyEndBlockThreads(blocked);
3565 return data;
3566 }
3567 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3568 if (! PyString_Check(data)) {
3569 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3570 "Expected string object"));
3571 return /* NULL */ ;
3572 }
3573
3574 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3575 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3576 wxPyEndBlockThreads(blocked);
3577 }
3578
3579
3580 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3581
3582 // Since this one would be tough and ugly to do with the Macros...
3583 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3584 bool hadErr = false;
3585 bool found;
3586
3587 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3588 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3589 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3590 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3591 PyObject* val;
3592
3593 val = PyTuple_GetItem(result, 0);
3594 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3595 else hadErr = true;
3596
3597 val = PyTuple_GetItem(result, 1);
3598 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3599 else hadErr = true;
3600
3601 val = PyTuple_GetItem(result, 2);
3602 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3603 else hadErr = true;
3604
3605 val = PyTuple_GetItem(result, 3);
3606 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3607 else hadErr = true;
3608 }
3609 else
3610 hadErr = true;
3611
3612 if (hadErr) {
3613 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3614 PyErr_Print();
3615 }
3616 Py_DECREF(result);
3617 }
3618 wxPyEndBlockThreads(blocked);
3619 if (! found)
3620 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3621 }
3622
3623
3624
3625 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3626 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3627 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3628 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3629 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3630 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3631 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3632
3633
3634
3635
3636
3637 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3638 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3639
3640
3641 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3642 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3643 bool rval=false; \
3644 bool found; \
3645 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3646 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3647 PyObject* win = wxPyMake_wxObject(a,false); \
3648 PyObject* dc = wxPyMake_wxObject(&b,false); \
3649 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3650 Py_DECREF(win); \
3651 Py_DECREF(dc); \
3652 } \
3653 wxPyEndBlockThreads(blocked); \
3654 if (! found) \
3655 rval = PCLASS::CBNAME(a, b); \
3656 return rval; \
3657 }
3658
3659
3660
3661
3662 class wxPyPrintPreview : public wxPrintPreview
3663 {
3664 DECLARE_CLASS(wxPyPrintPreview)
3665 public:
3666 wxPyPrintPreview(wxPyPrintout* printout,
3667 wxPyPrintout* printoutForPrinting,
3668 wxPrintDialogData* data=NULL)
3669 : wxPrintPreview(printout, printoutForPrinting, data)
3670 {}
3671 wxPyPrintPreview(wxPyPrintout* printout,
3672 wxPyPrintout* printoutForPrinting,
3673 wxPrintData* data)
3674 : wxPrintPreview(printout, printoutForPrinting, data)
3675 {}
3676
3677 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3678 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3679 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3680 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3681 DEC_PYCALLBACK_VOID_INT(SetZoom);
3682 DEC_PYCALLBACK_BOOL_BOOL(Print);
3683 DEC_PYCALLBACK_VOID_(DetermineScaling);
3684
3685 PYPRIVATE;
3686 };
3687
3688 // Stupid renamed classes... Fix this in 2.5...
3689 #if defined(__WXMSW__)
3690 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3691 #elif defined(__WXMAC__)
3692 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3693 #else
3694 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3695 #endif
3696
3697 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3698 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3699 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3700 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3701 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3702 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3703 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3704
3705
3706 class wxPyPreviewFrame : public wxPreviewFrame
3707 {
3708 DECLARE_CLASS(wxPyPreviewFrame)
3709 public:
3710 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3711 const wxString& title,
3712 const wxPoint& pos = wxDefaultPosition,
3713 const wxSize& size = wxDefaultSize,
3714 long style = wxDEFAULT_FRAME_STYLE,
3715 const wxString& name = wxPyFrameNameStr)
3716 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3717 {}
3718
3719 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3720 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3721
3722 DEC_PYCALLBACK_VOID_(Initialize);
3723 DEC_PYCALLBACK_VOID_(CreateCanvas);
3724 DEC_PYCALLBACK_VOID_(CreateControlBar);
3725
3726 PYPRIVATE;
3727 };
3728
3729 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3730
3731 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3732 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3734
3735
3736 class wxPyPreviewControlBar : public wxPreviewControlBar
3737 {
3738 DECLARE_CLASS(wxPyPreviewControlBar)
3739 public:
3740 wxPyPreviewControlBar(wxPrintPreview *preview,
3741 long buttons,
3742 wxWindow *parent,
3743 const wxPoint& pos = wxDefaultPosition,
3744 const wxSize& size = wxDefaultSize,
3745 long style = 0,
3746 const wxString& name = wxPyPanelNameStr)
3747 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3748 {}
3749
3750 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3751
3752 DEC_PYCALLBACK_VOID_(CreateButtons);
3753 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3754
3755 PYPRIVATE;
3756 };
3757
3758 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3759 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3760 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3761
3762 #ifdef __cplusplus
3763 extern "C" {
3764 #endif
3765 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3766 PyObject *resultobj = 0;
3767 wxWindow *arg1 = (wxWindow *) 0 ;
3768 int arg2 = (int) (int)-1 ;
3769 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3770 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3771 wxSize const &arg4_defvalue = wxDefaultSize ;
3772 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3773 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3774 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3775 wxString *arg6 = (wxString *) &arg6_defvalue ;
3776 wxPanel *result = 0 ;
3777 void *argp1 = 0 ;
3778 int res1 = 0 ;
3779 int val2 ;
3780 int ecode2 = 0 ;
3781 wxPoint temp3 ;
3782 wxSize temp4 ;
3783 long val5 ;
3784 int ecode5 = 0 ;
3785 bool temp6 = false ;
3786 PyObject * obj0 = 0 ;
3787 PyObject * obj1 = 0 ;
3788 PyObject * obj2 = 0 ;
3789 PyObject * obj3 = 0 ;
3790 PyObject * obj4 = 0 ;
3791 PyObject * obj5 = 0 ;
3792 char * kwnames[] = {
3793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3794 };
3795
3796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3798 if (!SWIG_IsOK(res1)) {
3799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3800 }
3801 arg1 = reinterpret_cast< wxWindow * >(argp1);
3802 if (obj1) {
3803 ecode2 = SWIG_AsVal_int(obj1, &val2);
3804 if (!SWIG_IsOK(ecode2)) {
3805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3806 }
3807 arg2 = static_cast< int >(val2);
3808 }
3809 if (obj2) {
3810 {
3811 arg3 = &temp3;
3812 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3813 }
3814 }
3815 if (obj3) {
3816 {
3817 arg4 = &temp4;
3818 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3819 }
3820 }
3821 if (obj4) {
3822 ecode5 = SWIG_AsVal_long(obj4, &val5);
3823 if (!SWIG_IsOK(ecode5)) {
3824 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3825 }
3826 arg5 = static_cast< long >(val5);
3827 }
3828 if (obj5) {
3829 {
3830 arg6 = wxString_in_helper(obj5);
3831 if (arg6 == NULL) SWIG_fail;
3832 temp6 = true;
3833 }
3834 }
3835 {
3836 if (!wxPyCheckForApp()) SWIG_fail;
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
3838 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3839 wxPyEndAllowThreads(__tstate);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3843 {
3844 if (temp6)
3845 delete arg6;
3846 }
3847 return resultobj;
3848 fail:
3849 {
3850 if (temp6)
3851 delete arg6;
3852 }
3853 return NULL;
3854 }
3855
3856
3857 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3858 PyObject *resultobj = 0;
3859 wxPanel *result = 0 ;
3860
3861 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3862 {
3863 if (!wxPyCheckForApp()) SWIG_fail;
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 result = (wxPanel *)new wxPanel();
3866 wxPyEndAllowThreads(__tstate);
3867 if (PyErr_Occurred()) SWIG_fail;
3868 }
3869 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3870 return resultobj;
3871 fail:
3872 return NULL;
3873 }
3874
3875
3876 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3877 PyObject *resultobj = 0;
3878 wxPanel *arg1 = (wxPanel *) 0 ;
3879 wxWindow *arg2 = (wxWindow *) 0 ;
3880 int arg3 = (int) (int)-1 ;
3881 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3882 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3883 wxSize const &arg5_defvalue = wxDefaultSize ;
3884 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3885 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3886 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3887 wxString *arg7 = (wxString *) &arg7_defvalue ;
3888 bool result;
3889 void *argp1 = 0 ;
3890 int res1 = 0 ;
3891 void *argp2 = 0 ;
3892 int res2 = 0 ;
3893 int val3 ;
3894 int ecode3 = 0 ;
3895 wxPoint temp4 ;
3896 wxSize temp5 ;
3897 long val6 ;
3898 int ecode6 = 0 ;
3899 bool temp7 = false ;
3900 PyObject * obj0 = 0 ;
3901 PyObject * obj1 = 0 ;
3902 PyObject * obj2 = 0 ;
3903 PyObject * obj3 = 0 ;
3904 PyObject * obj4 = 0 ;
3905 PyObject * obj5 = 0 ;
3906 PyObject * obj6 = 0 ;
3907 char * kwnames[] = {
3908 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3909 };
3910
3911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3913 if (!SWIG_IsOK(res1)) {
3914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3915 }
3916 arg1 = reinterpret_cast< wxPanel * >(argp1);
3917 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3918 if (!SWIG_IsOK(res2)) {
3919 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3920 }
3921 arg2 = reinterpret_cast< wxWindow * >(argp2);
3922 if (obj2) {
3923 ecode3 = SWIG_AsVal_int(obj2, &val3);
3924 if (!SWIG_IsOK(ecode3)) {
3925 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3926 }
3927 arg3 = static_cast< int >(val3);
3928 }
3929 if (obj3) {
3930 {
3931 arg4 = &temp4;
3932 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3933 }
3934 }
3935 if (obj4) {
3936 {
3937 arg5 = &temp5;
3938 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3939 }
3940 }
3941 if (obj5) {
3942 ecode6 = SWIG_AsVal_long(obj5, &val6);
3943 if (!SWIG_IsOK(ecode6)) {
3944 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3945 }
3946 arg6 = static_cast< long >(val6);
3947 }
3948 if (obj6) {
3949 {
3950 arg7 = wxString_in_helper(obj6);
3951 if (arg7 == NULL) SWIG_fail;
3952 temp7 = true;
3953 }
3954 }
3955 {
3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
3957 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3958 wxPyEndAllowThreads(__tstate);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 {
3962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3963 }
3964 {
3965 if (temp7)
3966 delete arg7;
3967 }
3968 return resultobj;
3969 fail:
3970 {
3971 if (temp7)
3972 delete arg7;
3973 }
3974 return NULL;
3975 }
3976
3977
3978 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3979 PyObject *resultobj = 0;
3980 wxPanel *arg1 = (wxPanel *) 0 ;
3981 void *argp1 = 0 ;
3982 int res1 = 0 ;
3983 PyObject *swig_obj[1] ;
3984
3985 if (!args) SWIG_fail;
3986 swig_obj[0] = args;
3987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3988 if (!SWIG_IsOK(res1)) {
3989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3990 }
3991 arg1 = reinterpret_cast< wxPanel * >(argp1);
3992 {
3993 PyThreadState* __tstate = wxPyBeginAllowThreads();
3994 (arg1)->SetFocusIgnoringChildren();
3995 wxPyEndAllowThreads(__tstate);
3996 if (PyErr_Occurred()) SWIG_fail;
3997 }
3998 resultobj = SWIG_Py_Void();
3999 return resultobj;
4000 fail:
4001 return NULL;
4002 }
4003
4004
4005 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4006 PyObject *resultobj = 0;
4007 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4008 SwigValueWrapper<wxVisualAttributes > result;
4009 int val1 ;
4010 int ecode1 = 0 ;
4011 PyObject * obj0 = 0 ;
4012 char * kwnames[] = {
4013 (char *) "variant", NULL
4014 };
4015
4016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4017 if (obj0) {
4018 ecode1 = SWIG_AsVal_int(obj0, &val1);
4019 if (!SWIG_IsOK(ecode1)) {
4020 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4021 }
4022 arg1 = static_cast< wxWindowVariant >(val1);
4023 }
4024 {
4025 if (!wxPyCheckForApp()) SWIG_fail;
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 result = wxPanel::GetClassDefaultAttributes(arg1);
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4032 return resultobj;
4033 fail:
4034 return NULL;
4035 }
4036
4037
4038 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4039 PyObject *obj;
4040 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4041 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4042 return SWIG_Py_Void();
4043 }
4044
4045 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4046 return SWIG_Python_InitShadowInstance(args);
4047 }
4048
4049 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4050 PyObject *resultobj = 0;
4051 wxWindow *arg1 = (wxWindow *) 0 ;
4052 int arg2 = (int) (int)-1 ;
4053 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4054 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4055 wxSize const &arg4_defvalue = wxDefaultSize ;
4056 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4057 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4058 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4059 wxString *arg6 = (wxString *) &arg6_defvalue ;
4060 wxScrolledWindow *result = 0 ;
4061 void *argp1 = 0 ;
4062 int res1 = 0 ;
4063 int val2 ;
4064 int ecode2 = 0 ;
4065 wxPoint temp3 ;
4066 wxSize temp4 ;
4067 long val5 ;
4068 int ecode5 = 0 ;
4069 bool temp6 = false ;
4070 PyObject * obj0 = 0 ;
4071 PyObject * obj1 = 0 ;
4072 PyObject * obj2 = 0 ;
4073 PyObject * obj3 = 0 ;
4074 PyObject * obj4 = 0 ;
4075 PyObject * obj5 = 0 ;
4076 char * kwnames[] = {
4077 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4078 };
4079
4080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4082 if (!SWIG_IsOK(res1)) {
4083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4084 }
4085 arg1 = reinterpret_cast< wxWindow * >(argp1);
4086 if (obj1) {
4087 ecode2 = SWIG_AsVal_int(obj1, &val2);
4088 if (!SWIG_IsOK(ecode2)) {
4089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4090 }
4091 arg2 = static_cast< int >(val2);
4092 }
4093 if (obj2) {
4094 {
4095 arg3 = &temp3;
4096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4097 }
4098 }
4099 if (obj3) {
4100 {
4101 arg4 = &temp4;
4102 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4103 }
4104 }
4105 if (obj4) {
4106 ecode5 = SWIG_AsVal_long(obj4, &val5);
4107 if (!SWIG_IsOK(ecode5)) {
4108 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4109 }
4110 arg5 = static_cast< long >(val5);
4111 }
4112 if (obj5) {
4113 {
4114 arg6 = wxString_in_helper(obj5);
4115 if (arg6 == NULL) SWIG_fail;
4116 temp6 = true;
4117 }
4118 }
4119 {
4120 if (!wxPyCheckForApp()) SWIG_fail;
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4123 wxPyEndAllowThreads(__tstate);
4124 if (PyErr_Occurred()) SWIG_fail;
4125 }
4126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4127 {
4128 if (temp6)
4129 delete arg6;
4130 }
4131 return resultobj;
4132 fail:
4133 {
4134 if (temp6)
4135 delete arg6;
4136 }
4137 return NULL;
4138 }
4139
4140
4141 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4142 PyObject *resultobj = 0;
4143 wxScrolledWindow *result = 0 ;
4144
4145 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4146 {
4147 if (!wxPyCheckForApp()) SWIG_fail;
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 result = (wxScrolledWindow *)new wxScrolledWindow();
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4154 return resultobj;
4155 fail:
4156 return NULL;
4157 }
4158
4159
4160 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj = 0;
4162 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4163 wxWindow *arg2 = (wxWindow *) 0 ;
4164 int arg3 = (int) (int)-1 ;
4165 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4166 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4167 wxSize const &arg5_defvalue = wxDefaultSize ;
4168 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4169 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4170 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4171 wxString *arg7 = (wxString *) &arg7_defvalue ;
4172 bool result;
4173 void *argp1 = 0 ;
4174 int res1 = 0 ;
4175 void *argp2 = 0 ;
4176 int res2 = 0 ;
4177 int val3 ;
4178 int ecode3 = 0 ;
4179 wxPoint temp4 ;
4180 wxSize temp5 ;
4181 long val6 ;
4182 int ecode6 = 0 ;
4183 bool temp7 = false ;
4184 PyObject * obj0 = 0 ;
4185 PyObject * obj1 = 0 ;
4186 PyObject * obj2 = 0 ;
4187 PyObject * obj3 = 0 ;
4188 PyObject * obj4 = 0 ;
4189 PyObject * obj5 = 0 ;
4190 PyObject * obj6 = 0 ;
4191 char * kwnames[] = {
4192 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4193 };
4194
4195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4197 if (!SWIG_IsOK(res1)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4199 }
4200 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4201 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4202 if (!SWIG_IsOK(res2)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4204 }
4205 arg2 = reinterpret_cast< wxWindow * >(argp2);
4206 if (obj2) {
4207 ecode3 = SWIG_AsVal_int(obj2, &val3);
4208 if (!SWIG_IsOK(ecode3)) {
4209 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4210 }
4211 arg3 = static_cast< int >(val3);
4212 }
4213 if (obj3) {
4214 {
4215 arg4 = &temp4;
4216 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4217 }
4218 }
4219 if (obj4) {
4220 {
4221 arg5 = &temp5;
4222 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4223 }
4224 }
4225 if (obj5) {
4226 ecode6 = SWIG_AsVal_long(obj5, &val6);
4227 if (!SWIG_IsOK(ecode6)) {
4228 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4229 }
4230 arg6 = static_cast< long >(val6);
4231 }
4232 if (obj6) {
4233 {
4234 arg7 = wxString_in_helper(obj6);
4235 if (arg7 == NULL) SWIG_fail;
4236 temp7 = true;
4237 }
4238 }
4239 {
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4242 wxPyEndAllowThreads(__tstate);
4243 if (PyErr_Occurred()) SWIG_fail;
4244 }
4245 {
4246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4247 }
4248 {
4249 if (temp7)
4250 delete arg7;
4251 }
4252 return resultobj;
4253 fail:
4254 {
4255 if (temp7)
4256 delete arg7;
4257 }
4258 return NULL;
4259 }
4260
4261
4262 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4263 PyObject *resultobj = 0;
4264 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4265 int arg2 ;
4266 int arg3 ;
4267 int arg4 ;
4268 int arg5 ;
4269 int arg6 = (int) 0 ;
4270 int arg7 = (int) 0 ;
4271 bool arg8 = (bool) false ;
4272 void *argp1 = 0 ;
4273 int res1 = 0 ;
4274 int val2 ;
4275 int ecode2 = 0 ;
4276 int val3 ;
4277 int ecode3 = 0 ;
4278 int val4 ;
4279 int ecode4 = 0 ;
4280 int val5 ;
4281 int ecode5 = 0 ;
4282 int val6 ;
4283 int ecode6 = 0 ;
4284 int val7 ;
4285 int ecode7 = 0 ;
4286 bool val8 ;
4287 int ecode8 = 0 ;
4288 PyObject * obj0 = 0 ;
4289 PyObject * obj1 = 0 ;
4290 PyObject * obj2 = 0 ;
4291 PyObject * obj3 = 0 ;
4292 PyObject * obj4 = 0 ;
4293 PyObject * obj5 = 0 ;
4294 PyObject * obj6 = 0 ;
4295 PyObject * obj7 = 0 ;
4296 char * kwnames[] = {
4297 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4298 };
4299
4300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4302 if (!SWIG_IsOK(res1)) {
4303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4304 }
4305 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4306 ecode2 = SWIG_AsVal_int(obj1, &val2);
4307 if (!SWIG_IsOK(ecode2)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4309 }
4310 arg2 = static_cast< int >(val2);
4311 ecode3 = SWIG_AsVal_int(obj2, &val3);
4312 if (!SWIG_IsOK(ecode3)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4314 }
4315 arg3 = static_cast< int >(val3);
4316 ecode4 = SWIG_AsVal_int(obj3, &val4);
4317 if (!SWIG_IsOK(ecode4)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4319 }
4320 arg4 = static_cast< int >(val4);
4321 ecode5 = SWIG_AsVal_int(obj4, &val5);
4322 if (!SWIG_IsOK(ecode5)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4324 }
4325 arg5 = static_cast< int >(val5);
4326 if (obj5) {
4327 ecode6 = SWIG_AsVal_int(obj5, &val6);
4328 if (!SWIG_IsOK(ecode6)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4330 }
4331 arg6 = static_cast< int >(val6);
4332 }
4333 if (obj6) {
4334 ecode7 = SWIG_AsVal_int(obj6, &val7);
4335 if (!SWIG_IsOK(ecode7)) {
4336 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4337 }
4338 arg7 = static_cast< int >(val7);
4339 }
4340 if (obj7) {
4341 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4342 if (!SWIG_IsOK(ecode8)) {
4343 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4344 }
4345 arg8 = static_cast< bool >(val8);
4346 }
4347 {
4348 PyThreadState* __tstate = wxPyBeginAllowThreads();
4349 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4350 wxPyEndAllowThreads(__tstate);
4351 if (PyErr_Occurred()) SWIG_fail;
4352 }
4353 resultobj = SWIG_Py_Void();
4354 return resultobj;
4355 fail:
4356 return NULL;
4357 }
4358
4359
4360 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4361 PyObject *resultobj = 0;
4362 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4363 int arg2 ;
4364 int arg3 ;
4365 void *argp1 = 0 ;
4366 int res1 = 0 ;
4367 int val2 ;
4368 int ecode2 = 0 ;
4369 int val3 ;
4370 int ecode3 = 0 ;
4371 PyObject * obj0 = 0 ;
4372 PyObject * obj1 = 0 ;
4373 PyObject * obj2 = 0 ;
4374 char * kwnames[] = {
4375 (char *) "self",(char *) "x",(char *) "y", NULL
4376 };
4377
4378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4380 if (!SWIG_IsOK(res1)) {
4381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4382 }
4383 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4384 ecode2 = SWIG_AsVal_int(obj1, &val2);
4385 if (!SWIG_IsOK(ecode2)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4387 }
4388 arg2 = static_cast< int >(val2);
4389 ecode3 = SWIG_AsVal_int(obj2, &val3);
4390 if (!SWIG_IsOK(ecode3)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4392 }
4393 arg3 = static_cast< int >(val3);
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4396 (arg1)->Scroll(arg2,arg3);
4397 wxPyEndAllowThreads(__tstate);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 }
4400 resultobj = SWIG_Py_Void();
4401 return resultobj;
4402 fail:
4403 return NULL;
4404 }
4405
4406
4407 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4408 PyObject *resultobj = 0;
4409 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4410 int arg2 ;
4411 int result;
4412 void *argp1 = 0 ;
4413 int res1 = 0 ;
4414 int val2 ;
4415 int ecode2 = 0 ;
4416 PyObject * obj0 = 0 ;
4417 PyObject * obj1 = 0 ;
4418 char * kwnames[] = {
4419 (char *) "self",(char *) "orient", NULL
4420 };
4421
4422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4424 if (!SWIG_IsOK(res1)) {
4425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4426 }
4427 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4428 ecode2 = SWIG_AsVal_int(obj1, &val2);
4429 if (!SWIG_IsOK(ecode2)) {
4430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4431 }
4432 arg2 = static_cast< int >(val2);
4433 {
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4436 wxPyEndAllowThreads(__tstate);
4437 if (PyErr_Occurred()) SWIG_fail;
4438 }
4439 resultobj = SWIG_From_int(static_cast< int >(result));
4440 return resultobj;
4441 fail:
4442 return NULL;
4443 }
4444
4445
4446 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4447 PyObject *resultobj = 0;
4448 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4449 int arg2 ;
4450 int arg3 ;
4451 void *argp1 = 0 ;
4452 int res1 = 0 ;
4453 int val2 ;
4454 int ecode2 = 0 ;
4455 int val3 ;
4456 int ecode3 = 0 ;
4457 PyObject * obj0 = 0 ;
4458 PyObject * obj1 = 0 ;
4459 PyObject * obj2 = 0 ;
4460 char * kwnames[] = {
4461 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4462 };
4463
4464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4466 if (!SWIG_IsOK(res1)) {
4467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4468 }
4469 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4470 ecode2 = SWIG_AsVal_int(obj1, &val2);
4471 if (!SWIG_IsOK(ecode2)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4473 }
4474 arg2 = static_cast< int >(val2);
4475 ecode3 = SWIG_AsVal_int(obj2, &val3);
4476 if (!SWIG_IsOK(ecode3)) {
4477 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4478 }
4479 arg3 = static_cast< int >(val3);
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 (arg1)->SetScrollPageSize(arg2,arg3);
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 resultobj = SWIG_Py_Void();
4487 return resultobj;
4488 fail:
4489 return NULL;
4490 }
4491
4492
4493 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj = 0;
4495 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4496 int arg2 ;
4497 int arg3 ;
4498 void *argp1 = 0 ;
4499 int res1 = 0 ;
4500 int val2 ;
4501 int ecode2 = 0 ;
4502 int val3 ;
4503 int ecode3 = 0 ;
4504 PyObject * obj0 = 0 ;
4505 PyObject * obj1 = 0 ;
4506 PyObject * obj2 = 0 ;
4507 char * kwnames[] = {
4508 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4509 };
4510
4511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4513 if (!SWIG_IsOK(res1)) {
4514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4515 }
4516 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4517 ecode2 = SWIG_AsVal_int(obj1, &val2);
4518 if (!SWIG_IsOK(ecode2)) {
4519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4520 }
4521 arg2 = static_cast< int >(val2);
4522 ecode3 = SWIG_AsVal_int(obj2, &val3);
4523 if (!SWIG_IsOK(ecode3)) {
4524 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4525 }
4526 arg3 = static_cast< int >(val3);
4527 {
4528 PyThreadState* __tstate = wxPyBeginAllowThreads();
4529 (arg1)->SetScrollRate(arg2,arg3);
4530 wxPyEndAllowThreads(__tstate);
4531 if (PyErr_Occurred()) SWIG_fail;
4532 }
4533 resultobj = SWIG_Py_Void();
4534 return resultobj;
4535 fail:
4536 return NULL;
4537 }
4538
4539
4540 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4541 PyObject *resultobj = 0;
4542 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4543 int *arg2 = (int *) 0 ;
4544 int *arg3 = (int *) 0 ;
4545 void *argp1 = 0 ;
4546 int res1 = 0 ;
4547 int temp2 ;
4548 int res2 = SWIG_TMPOBJ ;
4549 int temp3 ;
4550 int res3 = SWIG_TMPOBJ ;
4551 PyObject *swig_obj[1] ;
4552
4553 arg2 = &temp2;
4554 arg3 = &temp3;
4555 if (!args) SWIG_fail;
4556 swig_obj[0] = args;
4557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4558 if (!SWIG_IsOK(res1)) {
4559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4560 }
4561 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4562 {
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4565 wxPyEndAllowThreads(__tstate);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 }
4568 resultobj = SWIG_Py_Void();
4569 if (SWIG_IsTmpObj(res2)) {
4570 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4571 } else {
4572 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4574 }
4575 if (SWIG_IsTmpObj(res3)) {
4576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4577 } else {
4578 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4579 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4580 }
4581 return resultobj;
4582 fail:
4583 return NULL;
4584 }
4585
4586
4587 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4588 PyObject *resultobj = 0;
4589 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4590 bool arg2 ;
4591 bool arg3 ;
4592 void *argp1 = 0 ;
4593 int res1 = 0 ;
4594 bool val2 ;
4595 int ecode2 = 0 ;
4596 bool val3 ;
4597 int ecode3 = 0 ;
4598 PyObject * obj0 = 0 ;
4599 PyObject * obj1 = 0 ;
4600 PyObject * obj2 = 0 ;
4601 char * kwnames[] = {
4602 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4603 };
4604
4605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4607 if (!SWIG_IsOK(res1)) {
4608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4609 }
4610 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4611 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4612 if (!SWIG_IsOK(ecode2)) {
4613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4614 }
4615 arg2 = static_cast< bool >(val2);
4616 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4617 if (!SWIG_IsOK(ecode3)) {
4618 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4619 }
4620 arg3 = static_cast< bool >(val3);
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 (arg1)->EnableScrolling(arg2,arg3);
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 resultobj = SWIG_Py_Void();
4628 return resultobj;
4629 fail:
4630 return NULL;
4631 }
4632
4633
4634 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4635 PyObject *resultobj = 0;
4636 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4637 int *arg2 = (int *) 0 ;
4638 int *arg3 = (int *) 0 ;
4639 void *argp1 = 0 ;
4640 int res1 = 0 ;
4641 int temp2 ;
4642 int res2 = SWIG_TMPOBJ ;
4643 int temp3 ;
4644 int res3 = SWIG_TMPOBJ ;
4645 PyObject *swig_obj[1] ;
4646
4647 arg2 = &temp2;
4648 arg3 = &temp3;
4649 if (!args) SWIG_fail;
4650 swig_obj[0] = args;
4651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4652 if (!SWIG_IsOK(res1)) {
4653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4654 }
4655 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4656 {
4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
4658 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4659 wxPyEndAllowThreads(__tstate);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 resultobj = SWIG_Py_Void();
4663 if (SWIG_IsTmpObj(res2)) {
4664 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4665 } else {
4666 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4667 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4668 }
4669 if (SWIG_IsTmpObj(res3)) {
4670 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4671 } else {
4672 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4673 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4674 }
4675 return resultobj;
4676 fail:
4677 return NULL;
4678 }
4679
4680
4681 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj = 0;
4683 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4684 double arg2 ;
4685 double arg3 ;
4686 void *argp1 = 0 ;
4687 int res1 = 0 ;
4688 double val2 ;
4689 int ecode2 = 0 ;
4690 double val3 ;
4691 int ecode3 = 0 ;
4692 PyObject * obj0 = 0 ;
4693 PyObject * obj1 = 0 ;
4694 PyObject * obj2 = 0 ;
4695 char * kwnames[] = {
4696 (char *) "self",(char *) "xs",(char *) "ys", NULL
4697 };
4698
4699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4701 if (!SWIG_IsOK(res1)) {
4702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4703 }
4704 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4705 ecode2 = SWIG_AsVal_double(obj1, &val2);
4706 if (!SWIG_IsOK(ecode2)) {
4707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4708 }
4709 arg2 = static_cast< double >(val2);
4710 ecode3 = SWIG_AsVal_double(obj2, &val3);
4711 if (!SWIG_IsOK(ecode3)) {
4712 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4713 }
4714 arg3 = static_cast< double >(val3);
4715 {
4716 PyThreadState* __tstate = wxPyBeginAllowThreads();
4717 (arg1)->SetScale(arg2,arg3);
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4721 resultobj = SWIG_Py_Void();
4722 return resultobj;
4723 fail:
4724 return NULL;
4725 }
4726
4727
4728 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4729 PyObject *resultobj = 0;
4730 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4731 double result;
4732 void *argp1 = 0 ;
4733 int res1 = 0 ;
4734 PyObject *swig_obj[1] ;
4735
4736 if (!args) SWIG_fail;
4737 swig_obj[0] = args;
4738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4739 if (!SWIG_IsOK(res1)) {
4740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4741 }
4742 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 resultobj = SWIG_From_double(static_cast< double >(result));
4750 return resultobj;
4751 fail:
4752 return NULL;
4753 }
4754
4755
4756 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4757 PyObject *resultobj = 0;
4758 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4759 double result;
4760 void *argp1 = 0 ;
4761 int res1 = 0 ;
4762 PyObject *swig_obj[1] ;
4763
4764 if (!args) SWIG_fail;
4765 swig_obj[0] = args;
4766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4767 if (!SWIG_IsOK(res1)) {
4768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4769 }
4770 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4771 {
4772 PyThreadState* __tstate = wxPyBeginAllowThreads();
4773 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4774 wxPyEndAllowThreads(__tstate);
4775 if (PyErr_Occurred()) SWIG_fail;
4776 }
4777 resultobj = SWIG_From_double(static_cast< double >(result));
4778 return resultobj;
4779 fail:
4780 return NULL;
4781 }
4782
4783
4784 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4785 PyObject *resultobj = 0;
4786 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4787 wxPoint *arg2 = 0 ;
4788 wxPoint result;
4789 void *argp1 = 0 ;
4790 int res1 = 0 ;
4791 wxPoint temp2 ;
4792
4793 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4795 if (!SWIG_IsOK(res1)) {
4796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4797 }
4798 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4799 {
4800 arg2 = &temp2;
4801 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4802 }
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4810 return resultobj;
4811 fail:
4812 return NULL;
4813 }
4814
4815
4816 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4817 PyObject *resultobj = 0;
4818 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4819 int arg2 ;
4820 int arg3 ;
4821 int *arg4 = (int *) 0 ;
4822 int *arg5 = (int *) 0 ;
4823 void *argp1 = 0 ;
4824 int res1 = 0 ;
4825 int val2 ;
4826 int ecode2 = 0 ;
4827 int val3 ;
4828 int ecode3 = 0 ;
4829 int temp4 ;
4830 int res4 = SWIG_TMPOBJ ;
4831 int temp5 ;
4832 int res5 = SWIG_TMPOBJ ;
4833
4834 arg4 = &temp4;
4835 arg5 = &temp5;
4836 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4838 if (!SWIG_IsOK(res1)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4840 }
4841 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4842 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4843 if (!SWIG_IsOK(ecode2)) {
4844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4845 }
4846 arg2 = static_cast< int >(val2);
4847 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4848 if (!SWIG_IsOK(ecode3)) {
4849 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4850 }
4851 arg3 = static_cast< int >(val3);
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4855 wxPyEndAllowThreads(__tstate);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 }
4858 resultobj = SWIG_Py_Void();
4859 if (SWIG_IsTmpObj(res4)) {
4860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4861 } else {
4862 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4864 }
4865 if (SWIG_IsTmpObj(res5)) {
4866 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4867 } else {
4868 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4869 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4870 }
4871 return resultobj;
4872 fail:
4873 return NULL;
4874 }
4875
4876
4877 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4878 int argc;
4879 PyObject *argv[4];
4880
4881 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4882 --argc;
4883 if (argc == 2) {
4884 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4885 }
4886 if (argc == 3) {
4887 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4888 }
4889
4890 fail:
4891 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4892 return NULL;
4893 }
4894
4895
4896 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4897 PyObject *resultobj = 0;
4898 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4899 wxPoint *arg2 = 0 ;
4900 wxPoint result;
4901 void *argp1 = 0 ;
4902 int res1 = 0 ;
4903 wxPoint temp2 ;
4904
4905 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4907 if (!SWIG_IsOK(res1)) {
4908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4909 }
4910 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4911 {
4912 arg2 = &temp2;
4913 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4914 }
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4922 return resultobj;
4923 fail:
4924 return NULL;
4925 }
4926
4927
4928 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4929 PyObject *resultobj = 0;
4930 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4931 int arg2 ;
4932 int arg3 ;
4933 int *arg4 = (int *) 0 ;
4934 int *arg5 = (int *) 0 ;
4935 void *argp1 = 0 ;
4936 int res1 = 0 ;
4937 int val2 ;
4938 int ecode2 = 0 ;
4939 int val3 ;
4940 int ecode3 = 0 ;
4941 int temp4 ;
4942 int res4 = SWIG_TMPOBJ ;
4943 int temp5 ;
4944 int res5 = SWIG_TMPOBJ ;
4945
4946 arg4 = &temp4;
4947 arg5 = &temp5;
4948 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4950 if (!SWIG_IsOK(res1)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4952 }
4953 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4954 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4955 if (!SWIG_IsOK(ecode2)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4957 }
4958 arg2 = static_cast< int >(val2);
4959 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4960 if (!SWIG_IsOK(ecode3)) {
4961 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4962 }
4963 arg3 = static_cast< int >(val3);
4964 {
4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4966 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4967 wxPyEndAllowThreads(__tstate);
4968 if (PyErr_Occurred()) SWIG_fail;
4969 }
4970 resultobj = SWIG_Py_Void();
4971 if (SWIG_IsTmpObj(res4)) {
4972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4973 } else {
4974 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4976 }
4977 if (SWIG_IsTmpObj(res5)) {
4978 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4979 } else {
4980 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4981 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4982 }
4983 return resultobj;
4984 fail:
4985 return NULL;
4986 }
4987
4988
4989 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4990 int argc;
4991 PyObject *argv[4];
4992
4993 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4994 --argc;
4995 if (argc == 2) {
4996 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4997 }
4998 if (argc == 3) {
4999 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5000 }
5001
5002 fail:
5003 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5004 return NULL;
5005 }
5006
5007
5008 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5009 PyObject *resultobj = 0;
5010 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5011 void *argp1 = 0 ;
5012 int res1 = 0 ;
5013 PyObject *swig_obj[1] ;
5014
5015 if (!args) SWIG_fail;
5016 swig_obj[0] = args;
5017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5018 if (!SWIG_IsOK(res1)) {
5019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5020 }
5021 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5022 {
5023 PyThreadState* __tstate = wxPyBeginAllowThreads();
5024 (arg1)->AdjustScrollbars();
5025 wxPyEndAllowThreads(__tstate);
5026 if (PyErr_Occurred()) SWIG_fail;
5027 }
5028 resultobj = SWIG_Py_Void();
5029 return resultobj;
5030 fail:
5031 return NULL;
5032 }
5033
5034
5035 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5036 PyObject *resultobj = 0;
5037 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5038 wxScrollWinEvent *arg2 = 0 ;
5039 int result;
5040 void *argp1 = 0 ;
5041 int res1 = 0 ;
5042 void *argp2 = 0 ;
5043 int res2 = 0 ;
5044 PyObject * obj0 = 0 ;
5045 PyObject * obj1 = 0 ;
5046 char * kwnames[] = {
5047 (char *) "self",(char *) "event", NULL
5048 };
5049
5050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5052 if (!SWIG_IsOK(res1)) {
5053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5054 }
5055 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5056 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5057 if (!SWIG_IsOK(res2)) {
5058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5059 }
5060 if (!argp2) {
5061 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5062 }
5063 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5064 {
5065 PyThreadState* __tstate = wxPyBeginAllowThreads();
5066 result = (int)(arg1)->CalcScrollInc(*arg2);
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 resultobj = SWIG_From_int(static_cast< int >(result));
5071 return resultobj;
5072 fail:
5073 return NULL;
5074 }
5075
5076
5077 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5078 PyObject *resultobj = 0;
5079 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5080 wxWindow *arg2 = (wxWindow *) 0 ;
5081 void *argp1 = 0 ;
5082 int res1 = 0 ;
5083 void *argp2 = 0 ;
5084 int res2 = 0 ;
5085 PyObject * obj0 = 0 ;
5086 PyObject * obj1 = 0 ;
5087 char * kwnames[] = {
5088 (char *) "self",(char *) "target", NULL
5089 };
5090
5091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5093 if (!SWIG_IsOK(res1)) {
5094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5095 }
5096 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5097 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5098 if (!SWIG_IsOK(res2)) {
5099 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5100 }
5101 arg2 = reinterpret_cast< wxWindow * >(argp2);
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 (arg1)->SetTargetWindow(arg2);
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 resultobj = SWIG_Py_Void();
5109 return resultobj;
5110 fail:
5111 return NULL;
5112 }
5113
5114
5115 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5116 PyObject *resultobj = 0;
5117 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5118 wxWindow *result = 0 ;
5119 void *argp1 = 0 ;
5120 int res1 = 0 ;
5121 PyObject *swig_obj[1] ;
5122
5123 if (!args) SWIG_fail;
5124 swig_obj[0] = args;
5125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5126 if (!SWIG_IsOK(res1)) {
5127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5128 }
5129 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 {
5137 resultobj = wxPyMake_wxObject(result, 0);
5138 }
5139 return resultobj;
5140 fail:
5141 return NULL;
5142 }
5143
5144
5145 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5146 PyObject *resultobj = 0;
5147 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5148 wxRect *arg2 = 0 ;
5149 void *argp1 = 0 ;
5150 int res1 = 0 ;
5151 wxRect temp2 ;
5152 PyObject * obj0 = 0 ;
5153 PyObject * obj1 = 0 ;
5154 char * kwnames[] = {
5155 (char *) "self",(char *) "rect", NULL
5156 };
5157
5158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5160 if (!SWIG_IsOK(res1)) {
5161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5162 }
5163 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5164 {
5165 arg2 = &temp2;
5166 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5167 }
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 (arg1)->SetTargetRect((wxRect const &)*arg2);
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 resultobj = SWIG_Py_Void();
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5182 PyObject *resultobj = 0;
5183 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5184 wxRect result;
5185 void *argp1 = 0 ;
5186 int res1 = 0 ;
5187 PyObject *swig_obj[1] ;
5188
5189 if (!args) SWIG_fail;
5190 swig_obj[0] = args;
5191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5192 if (!SWIG_IsOK(res1)) {
5193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5194 }
5195 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
5198 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5203 return resultobj;
5204 fail:
5205 return NULL;
5206 }
5207
5208
5209 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5210 PyObject *resultobj = 0;
5211 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5212 wxDC *arg2 = 0 ;
5213 void *argp1 = 0 ;
5214 int res1 = 0 ;
5215 void *argp2 = 0 ;
5216 int res2 = 0 ;
5217 PyObject * obj0 = 0 ;
5218 PyObject * obj1 = 0 ;
5219 char * kwnames[] = {
5220 (char *) "self",(char *) "dc", NULL
5221 };
5222
5223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5225 if (!SWIG_IsOK(res1)) {
5226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5227 }
5228 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5229 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5230 if (!SWIG_IsOK(res2)) {
5231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5232 }
5233 if (!argp2) {
5234 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5235 }
5236 arg2 = reinterpret_cast< wxDC * >(argp2);
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 (arg1)->DoPrepareDC(*arg2);
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = SWIG_Py_Void();
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj = 0;
5252 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5253 SwigValueWrapper<wxVisualAttributes > result;
5254 int val1 ;
5255 int ecode1 = 0 ;
5256 PyObject * obj0 = 0 ;
5257 char * kwnames[] = {
5258 (char *) "variant", NULL
5259 };
5260
5261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5262 if (obj0) {
5263 ecode1 = SWIG_AsVal_int(obj0, &val1);
5264 if (!SWIG_IsOK(ecode1)) {
5265 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5266 }
5267 arg1 = static_cast< wxWindowVariant >(val1);
5268 }
5269 {
5270 if (!wxPyCheckForApp()) SWIG_fail;
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5277 return resultobj;
5278 fail:
5279 return NULL;
5280 }
5281
5282
5283 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5284 PyObject *obj;
5285 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5286 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5287 return SWIG_Py_Void();
5288 }
5289
5290 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5291 return SWIG_Python_InitShadowInstance(args);
5292 }
5293
5294 SWIGINTERN int FrameNameStr_set(PyObject *) {
5295 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5296 return 1;
5297 }
5298
5299
5300 SWIGINTERN PyObject *FrameNameStr_get(void) {
5301 PyObject *pyobj = 0;
5302
5303 {
5304 #if wxUSE_UNICODE
5305 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5306 #else
5307 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5308 #endif
5309 }
5310 return pyobj;
5311 }
5312
5313
5314 SWIGINTERN int DialogNameStr_set(PyObject *) {
5315 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5316 return 1;
5317 }
5318
5319
5320 SWIGINTERN PyObject *DialogNameStr_get(void) {
5321 PyObject *pyobj = 0;
5322
5323 {
5324 #if wxUSE_UNICODE
5325 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5326 #else
5327 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5328 #endif
5329 }
5330 return pyobj;
5331 }
5332
5333
5334 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5335 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5336 return 1;
5337 }
5338
5339
5340 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5341 PyObject *pyobj = 0;
5342
5343 {
5344 #if wxUSE_UNICODE
5345 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5346 #else
5347 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5348 #endif
5349 }
5350 return pyobj;
5351 }
5352
5353
5354 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5355 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5356 return 1;
5357 }
5358
5359
5360 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5361 PyObject *pyobj = 0;
5362
5363 {
5364 #if wxUSE_UNICODE
5365 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5366 #else
5367 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5368 #endif
5369 }
5370 return pyobj;
5371 }
5372
5373
5374 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5375 PyObject *resultobj = 0;
5376 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5377 bool arg2 = (bool) true ;
5378 void *argp1 = 0 ;
5379 int res1 = 0 ;
5380 bool val2 ;
5381 int ecode2 = 0 ;
5382 PyObject * obj0 = 0 ;
5383 PyObject * obj1 = 0 ;
5384 char * kwnames[] = {
5385 (char *) "self",(char *) "maximize", NULL
5386 };
5387
5388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5390 if (!SWIG_IsOK(res1)) {
5391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5392 }
5393 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5394 if (obj1) {
5395 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5396 if (!SWIG_IsOK(ecode2)) {
5397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5398 }
5399 arg2 = static_cast< bool >(val2);
5400 }
5401 {
5402 PyThreadState* __tstate = wxPyBeginAllowThreads();
5403 (arg1)->Maximize(arg2);
5404 wxPyEndAllowThreads(__tstate);
5405 if (PyErr_Occurred()) SWIG_fail;
5406 }
5407 resultobj = SWIG_Py_Void();
5408 return resultobj;
5409 fail:
5410 return NULL;
5411 }
5412
5413
5414 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5415 PyObject *resultobj = 0;
5416 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5417 void *argp1 = 0 ;
5418 int res1 = 0 ;
5419 PyObject *swig_obj[1] ;
5420
5421 if (!args) SWIG_fail;
5422 swig_obj[0] = args;
5423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5424 if (!SWIG_IsOK(res1)) {
5425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5426 }
5427 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5428 {
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 (arg1)->Restore();
5431 wxPyEndAllowThreads(__tstate);
5432 if (PyErr_Occurred()) SWIG_fail;
5433 }
5434 resultobj = SWIG_Py_Void();
5435 return resultobj;
5436 fail:
5437 return NULL;
5438 }
5439
5440
5441 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5442 PyObject *resultobj = 0;
5443 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5444 bool arg2 = (bool) true ;
5445 void *argp1 = 0 ;
5446 int res1 = 0 ;
5447 bool val2 ;
5448 int ecode2 = 0 ;
5449 PyObject * obj0 = 0 ;
5450 PyObject * obj1 = 0 ;
5451 char * kwnames[] = {
5452 (char *) "self",(char *) "iconize", NULL
5453 };
5454
5455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5457 if (!SWIG_IsOK(res1)) {
5458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5459 }
5460 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5461 if (obj1) {
5462 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5463 if (!SWIG_IsOK(ecode2)) {
5464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5465 }
5466 arg2 = static_cast< bool >(val2);
5467 }
5468 {
5469 PyThreadState* __tstate = wxPyBeginAllowThreads();
5470 (arg1)->Iconize(arg2);
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 resultobj = SWIG_Py_Void();
5475 return resultobj;
5476 fail:
5477 return NULL;
5478 }
5479
5480
5481 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5482 PyObject *resultobj = 0;
5483 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5484 bool result;
5485 void *argp1 = 0 ;
5486 int res1 = 0 ;
5487 PyObject *swig_obj[1] ;
5488
5489 if (!args) SWIG_fail;
5490 swig_obj[0] = args;
5491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5492 if (!SWIG_IsOK(res1)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5494 }
5495 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5499 wxPyEndAllowThreads(__tstate);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 }
5502 {
5503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5504 }
5505 return resultobj;
5506 fail:
5507 return NULL;
5508 }
5509
5510
5511 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5512 PyObject *resultobj = 0;
5513 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5514 bool result;
5515 void *argp1 = 0 ;
5516 int res1 = 0 ;
5517 PyObject *swig_obj[1] ;
5518
5519 if (!args) SWIG_fail;
5520 swig_obj[0] = args;
5521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5522 if (!SWIG_IsOK(res1)) {
5523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5524 }
5525 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5529 wxPyEndAllowThreads(__tstate);
5530 if (PyErr_Occurred()) SWIG_fail;
5531 }
5532 {
5533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5534 }
5535 return resultobj;
5536 fail:
5537 return NULL;
5538 }
5539
5540
5541 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5542 PyObject *resultobj = 0;
5543 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5544 bool result;
5545 void *argp1 = 0 ;
5546 int res1 = 0 ;
5547 PyObject *swig_obj[1] ;
5548
5549 if (!args) SWIG_fail;
5550 swig_obj[0] = args;
5551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5552 if (!SWIG_IsOK(res1)) {
5553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5554 }
5555 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 {
5563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5564 }
5565 return resultobj;
5566 fail:
5567 return NULL;
5568 }
5569
5570
5571 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5572 PyObject *resultobj = 0;
5573 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5574 wxIcon result;
5575 void *argp1 = 0 ;
5576 int res1 = 0 ;
5577 PyObject *swig_obj[1] ;
5578
5579 if (!args) SWIG_fail;
5580 swig_obj[0] = args;
5581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5582 if (!SWIG_IsOK(res1)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5584 }
5585 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5589 wxPyEndAllowThreads(__tstate);
5590 if (PyErr_Occurred()) SWIG_fail;
5591 }
5592 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5593 return resultobj;
5594 fail:
5595 return NULL;
5596 }
5597
5598
5599 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5600 PyObject *resultobj = 0;
5601 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5602 wxIcon *arg2 = 0 ;
5603 void *argp1 = 0 ;
5604 int res1 = 0 ;
5605 void *argp2 = 0 ;
5606 int res2 = 0 ;
5607 PyObject * obj0 = 0 ;
5608 PyObject * obj1 = 0 ;
5609 char * kwnames[] = {
5610 (char *) "self",(char *) "icon", NULL
5611 };
5612
5613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5615 if (!SWIG_IsOK(res1)) {
5616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5617 }
5618 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5619 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5620 if (!SWIG_IsOK(res2)) {
5621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5622 }
5623 if (!argp2) {
5624 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5625 }
5626 arg2 = reinterpret_cast< wxIcon * >(argp2);
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 (arg1)->SetIcon((wxIcon const &)*arg2);
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 resultobj = SWIG_Py_Void();
5634 return resultobj;
5635 fail:
5636 return NULL;
5637 }
5638
5639
5640 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5641 PyObject *resultobj = 0;
5642 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5643 wxIconBundle *arg2 = 0 ;
5644 void *argp1 = 0 ;
5645 int res1 = 0 ;
5646 void *argp2 = 0 ;
5647 int res2 = 0 ;
5648 PyObject * obj0 = 0 ;
5649 PyObject * obj1 = 0 ;
5650 char * kwnames[] = {
5651 (char *) "self",(char *) "icons", NULL
5652 };
5653
5654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5656 if (!SWIG_IsOK(res1)) {
5657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5658 }
5659 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5660 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5661 if (!SWIG_IsOK(res2)) {
5662 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5663 }
5664 if (!argp2) {
5665 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5666 }
5667 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5668 {
5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
5670 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 resultobj = SWIG_Py_Void();
5675 return resultobj;
5676 fail:
5677 return NULL;
5678 }
5679
5680
5681 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5682 PyObject *resultobj = 0;
5683 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5684 bool arg2 ;
5685 long arg3 = (long) wxFULLSCREEN_ALL ;
5686 bool result;
5687 void *argp1 = 0 ;
5688 int res1 = 0 ;
5689 bool val2 ;
5690 int ecode2 = 0 ;
5691 long val3 ;
5692 int ecode3 = 0 ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 PyObject * obj2 = 0 ;
5696 char * kwnames[] = {
5697 (char *) "self",(char *) "show",(char *) "style", NULL
5698 };
5699
5700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5702 if (!SWIG_IsOK(res1)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5704 }
5705 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5706 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5707 if (!SWIG_IsOK(ecode2)) {
5708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5709 }
5710 arg2 = static_cast< bool >(val2);
5711 if (obj2) {
5712 ecode3 = SWIG_AsVal_long(obj2, &val3);
5713 if (!SWIG_IsOK(ecode3)) {
5714 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5715 }
5716 arg3 = static_cast< long >(val3);
5717 }
5718 {
5719 PyThreadState* __tstate = wxPyBeginAllowThreads();
5720 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 {
5725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5726 }
5727 return resultobj;
5728 fail:
5729 return NULL;
5730 }
5731
5732
5733 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5734 PyObject *resultobj = 0;
5735 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5736 bool result;
5737 void *argp1 = 0 ;
5738 int res1 = 0 ;
5739 PyObject *swig_obj[1] ;
5740
5741 if (!args) SWIG_fail;
5742 swig_obj[0] = args;
5743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5744 if (!SWIG_IsOK(res1)) {
5745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5746 }
5747 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5748 {
5749 PyThreadState* __tstate = wxPyBeginAllowThreads();
5750 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5751 wxPyEndAllowThreads(__tstate);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 }
5754 {
5755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5756 }
5757 return resultobj;
5758 fail:
5759 return NULL;
5760 }
5761
5762
5763 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5764 PyObject *resultobj = 0;
5765 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5766 wxString *arg2 = 0 ;
5767 void *argp1 = 0 ;
5768 int res1 = 0 ;
5769 bool temp2 = false ;
5770 PyObject * obj0 = 0 ;
5771 PyObject * obj1 = 0 ;
5772 char * kwnames[] = {
5773 (char *) "self",(char *) "title", NULL
5774 };
5775
5776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5778 if (!SWIG_IsOK(res1)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5780 }
5781 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5782 {
5783 arg2 = wxString_in_helper(obj1);
5784 if (arg2 == NULL) SWIG_fail;
5785 temp2 = true;
5786 }
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 (arg1)->SetTitle((wxString const &)*arg2);
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 resultobj = SWIG_Py_Void();
5794 {
5795 if (temp2)
5796 delete arg2;
5797 }
5798 return resultobj;
5799 fail:
5800 {
5801 if (temp2)
5802 delete arg2;
5803 }
5804 return NULL;
5805 }
5806
5807
5808 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5809 PyObject *resultobj = 0;
5810 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5811 wxString result;
5812 void *argp1 = 0 ;
5813 int res1 = 0 ;
5814 PyObject *swig_obj[1] ;
5815
5816 if (!args) SWIG_fail;
5817 swig_obj[0] = args;
5818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5819 if (!SWIG_IsOK(res1)) {
5820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5821 }
5822 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5823 {
5824 PyThreadState* __tstate = wxPyBeginAllowThreads();
5825 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 {
5830 #if wxUSE_UNICODE
5831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5832 #else
5833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5834 #endif
5835 }
5836 return resultobj;
5837 fail:
5838 return NULL;
5839 }
5840
5841
5842 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj = 0;
5844 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5845 wxRegion *arg2 = 0 ;
5846 bool result;
5847 void *argp1 = 0 ;
5848 int res1 = 0 ;
5849 void *argp2 = 0 ;
5850 int res2 = 0 ;
5851 PyObject * obj0 = 0 ;
5852 PyObject * obj1 = 0 ;
5853 char * kwnames[] = {
5854 (char *) "self",(char *) "region", NULL
5855 };
5856
5857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5859 if (!SWIG_IsOK(res1)) {
5860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5861 }
5862 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5863 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5864 if (!SWIG_IsOK(res2)) {
5865 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5866 }
5867 if (!argp2) {
5868 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5869 }
5870 arg2 = reinterpret_cast< wxRegion * >(argp2);
5871 {
5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
5873 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 {
5878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5879 }
5880 return resultobj;
5881 fail:
5882 return NULL;
5883 }
5884
5885
5886 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5887 PyObject *resultobj = 0;
5888 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5889 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5890 void *argp1 = 0 ;
5891 int res1 = 0 ;
5892 int val2 ;
5893 int ecode2 = 0 ;
5894 PyObject * obj0 = 0 ;
5895 PyObject * obj1 = 0 ;
5896 char * kwnames[] = {
5897 (char *) "self",(char *) "flags", NULL
5898 };
5899
5900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5902 if (!SWIG_IsOK(res1)) {
5903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5904 }
5905 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5906 if (obj1) {
5907 ecode2 = SWIG_AsVal_int(obj1, &val2);
5908 if (!SWIG_IsOK(ecode2)) {
5909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5910 }
5911 arg2 = static_cast< int >(val2);
5912 }
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 (arg1)->RequestUserAttention(arg2);
5916 wxPyEndAllowThreads(__tstate);
5917 if (PyErr_Occurred()) SWIG_fail;
5918 }
5919 resultobj = SWIG_Py_Void();
5920 return resultobj;
5921 fail:
5922 return NULL;
5923 }
5924
5925
5926 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5927 PyObject *resultobj = 0;
5928 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5929 bool result;
5930 void *argp1 = 0 ;
5931 int res1 = 0 ;
5932 PyObject *swig_obj[1] ;
5933
5934 if (!args) SWIG_fail;
5935 swig_obj[0] = args;
5936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5937 if (!SWIG_IsOK(res1)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5939 }
5940 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 result = (bool)(arg1)->IsActive();
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 {
5948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5949 }
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj = 0;
5958 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5959 bool arg2 ;
5960 void *argp1 = 0 ;
5961 int res1 = 0 ;
5962 bool val2 ;
5963 int ecode2 = 0 ;
5964 PyObject * obj0 = 0 ;
5965 PyObject * obj1 = 0 ;
5966 char * kwnames[] = {
5967 (char *) "self",(char *) "on", NULL
5968 };
5969
5970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5972 if (!SWIG_IsOK(res1)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5974 }
5975 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5976 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5977 if (!SWIG_IsOK(ecode2)) {
5978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5979 }
5980 arg2 = static_cast< bool >(val2);
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5984 wxPyEndAllowThreads(__tstate);
5985 if (PyErr_Occurred()) SWIG_fail;
5986 }
5987 resultobj = SWIG_Py_Void();
5988 return resultobj;
5989 fail:
5990 return NULL;
5991 }
5992
5993
5994 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5995 PyObject *resultobj = 0;
5996 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5997 bool result;
5998 void *argp1 = 0 ;
5999 int res1 = 0 ;
6000 PyObject *swig_obj[1] ;
6001
6002 if (!args) SWIG_fail;
6003 swig_obj[0] = args;
6004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6005 if (!SWIG_IsOK(res1)) {
6006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6007 }
6008 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6009 {
6010 PyThreadState* __tstate = wxPyBeginAllowThreads();
6011 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 {
6016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6017 }
6018 return resultobj;
6019 fail:
6020 return NULL;
6021 }
6022
6023
6024 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6025 PyObject *resultobj = 0;
6026 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6027 int arg2 = (int) wxBOTH ;
6028 void *argp1 = 0 ;
6029 int res1 = 0 ;
6030 int val2 ;
6031 int ecode2 = 0 ;
6032 PyObject * obj0 = 0 ;
6033 PyObject * obj1 = 0 ;
6034 char * kwnames[] = {
6035 (char *) "self",(char *) "dir", NULL
6036 };
6037
6038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6040 if (!SWIG_IsOK(res1)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6042 }
6043 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6044 if (obj1) {
6045 ecode2 = SWIG_AsVal_int(obj1, &val2);
6046 if (!SWIG_IsOK(ecode2)) {
6047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6048 }
6049 arg2 = static_cast< int >(val2);
6050 }
6051 {
6052 PyThreadState* __tstate = wxPyBeginAllowThreads();
6053 (arg1)->CenterOnScreen(arg2);
6054 wxPyEndAllowThreads(__tstate);
6055 if (PyErr_Occurred()) SWIG_fail;
6056 }
6057 resultobj = SWIG_Py_Void();
6058 return resultobj;
6059 fail:
6060 return NULL;
6061 }
6062
6063
6064 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6065 PyObject *resultobj = 0;
6066 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6067 bool arg2 = (bool) true ;
6068 bool result;
6069 void *argp1 = 0 ;
6070 int res1 = 0 ;
6071 bool val2 ;
6072 int ecode2 = 0 ;
6073 PyObject * obj0 = 0 ;
6074 PyObject * obj1 = 0 ;
6075 char * kwnames[] = {
6076 (char *) "self",(char *) "enable", NULL
6077 };
6078
6079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6081 if (!SWIG_IsOK(res1)) {
6082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6083 }
6084 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6085 if (obj1) {
6086 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6087 if (!SWIG_IsOK(ecode2)) {
6088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6089 }
6090 arg2 = static_cast< bool >(val2);
6091 }
6092 {
6093 PyThreadState* __tstate = wxPyBeginAllowThreads();
6094 result = (bool)(arg1)->EnableCloseButton(arg2);
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 {
6099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6100 }
6101 return resultobj;
6102 fail:
6103 return NULL;
6104 }
6105
6106
6107 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6108 PyObject *resultobj = 0;
6109 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6110 byte arg2 ;
6111 bool result;
6112 void *argp1 = 0 ;
6113 int res1 = 0 ;
6114 unsigned char val2 ;
6115 int ecode2 = 0 ;
6116 PyObject * obj0 = 0 ;
6117 PyObject * obj1 = 0 ;
6118 char * kwnames[] = {
6119 (char *) "self",(char *) "alpha", NULL
6120 };
6121
6122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTransparent",kwnames,&obj0,&obj1)) SWIG_fail;
6123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6124 if (!SWIG_IsOK(res1)) {
6125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6126 }
6127 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6128 ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
6129 if (!SWIG_IsOK(ecode2)) {
6130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6131 }
6132 arg2 = static_cast< byte >(val2);
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 result = (bool)(arg1)->SetTransparent(arg2);
6136 wxPyEndAllowThreads(__tstate);
6137 if (PyErr_Occurred()) SWIG_fail;
6138 }
6139 {
6140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6141 }
6142 return resultobj;
6143 fail:
6144 return NULL;
6145 }
6146
6147
6148 SWIGINTERN PyObject *_wrap_TopLevelWindow_CanSetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6149 PyObject *resultobj = 0;
6150 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6151 bool result;
6152 void *argp1 = 0 ;
6153 int res1 = 0 ;
6154 PyObject *swig_obj[1] ;
6155
6156 if (!args) SWIG_fail;
6157 swig_obj[0] = args;
6158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6159 if (!SWIG_IsOK(res1)) {
6160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6161 }
6162 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 result = (bool)(arg1)->CanSetTransparent();
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 {
6170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6171 }
6172 return resultobj;
6173 fail:
6174 return NULL;
6175 }
6176
6177
6178 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6179 PyObject *obj;
6180 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6181 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6182 return SWIG_Py_Void();
6183 }
6184
6185 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj = 0;
6187 wxWindow *arg1 = (wxWindow *) 0 ;
6188 int arg2 = (int) (int)-1 ;
6189 wxString const &arg3_defvalue = wxPyEmptyString ;
6190 wxString *arg3 = (wxString *) &arg3_defvalue ;
6191 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6192 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6193 wxSize const &arg5_defvalue = wxDefaultSize ;
6194 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6195 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6196 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6197 wxString *arg7 = (wxString *) &arg7_defvalue ;
6198 wxFrame *result = 0 ;
6199 void *argp1 = 0 ;
6200 int res1 = 0 ;
6201 int val2 ;
6202 int ecode2 = 0 ;
6203 bool temp3 = false ;
6204 wxPoint temp4 ;
6205 wxSize temp5 ;
6206 long val6 ;
6207 int ecode6 = 0 ;
6208 bool temp7 = false ;
6209 PyObject * obj0 = 0 ;
6210 PyObject * obj1 = 0 ;
6211 PyObject * obj2 = 0 ;
6212 PyObject * obj3 = 0 ;
6213 PyObject * obj4 = 0 ;
6214 PyObject * obj5 = 0 ;
6215 PyObject * obj6 = 0 ;
6216 char * kwnames[] = {
6217 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6218 };
6219
6220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6222 if (!SWIG_IsOK(res1)) {
6223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6224 }
6225 arg1 = reinterpret_cast< wxWindow * >(argp1);
6226 if (obj1) {
6227 ecode2 = SWIG_AsVal_int(obj1, &val2);
6228 if (!SWIG_IsOK(ecode2)) {
6229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6230 }
6231 arg2 = static_cast< int >(val2);
6232 }
6233 if (obj2) {
6234 {
6235 arg3 = wxString_in_helper(obj2);
6236 if (arg3 == NULL) SWIG_fail;
6237 temp3 = true;
6238 }
6239 }
6240 if (obj3) {
6241 {
6242 arg4 = &temp4;
6243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6244 }
6245 }
6246 if (obj4) {
6247 {
6248 arg5 = &temp5;
6249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6250 }
6251 }
6252 if (obj5) {
6253 ecode6 = SWIG_AsVal_long(obj5, &val6);
6254 if (!SWIG_IsOK(ecode6)) {
6255 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6256 }
6257 arg6 = static_cast< long >(val6);
6258 }
6259 if (obj6) {
6260 {
6261 arg7 = wxString_in_helper(obj6);
6262 if (arg7 == NULL) SWIG_fail;
6263 temp7 = true;
6264 }
6265 }
6266 {
6267 if (!wxPyCheckForApp()) SWIG_fail;
6268 PyThreadState* __tstate = wxPyBeginAllowThreads();
6269 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6274 {
6275 if (temp3)
6276 delete arg3;
6277 }
6278 {
6279 if (temp7)
6280 delete arg7;
6281 }
6282 return resultobj;
6283 fail:
6284 {
6285 if (temp3)
6286 delete arg3;
6287 }
6288 {
6289 if (temp7)
6290 delete arg7;
6291 }
6292 return NULL;
6293 }
6294
6295
6296 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6297 PyObject *resultobj = 0;
6298 wxFrame *result = 0 ;
6299
6300 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6301 {
6302 if (!wxPyCheckForApp()) SWIG_fail;
6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6304 result = (wxFrame *)new wxFrame();
6305 wxPyEndAllowThreads(__tstate);
6306 if (PyErr_Occurred()) SWIG_fail;
6307 }
6308 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6309 return resultobj;
6310 fail:
6311 return NULL;
6312 }
6313
6314
6315 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj = 0;
6317 wxFrame *arg1 = (wxFrame *) 0 ;
6318 wxWindow *arg2 = (wxWindow *) 0 ;
6319 int arg3 = (int) (int)-1 ;
6320 wxString const &arg4_defvalue = wxPyEmptyString ;
6321 wxString *arg4 = (wxString *) &arg4_defvalue ;
6322 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6323 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6324 wxSize const &arg6_defvalue = wxDefaultSize ;
6325 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6326 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6327 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6328 wxString *arg8 = (wxString *) &arg8_defvalue ;
6329 bool result;
6330 void *argp1 = 0 ;
6331 int res1 = 0 ;
6332 void *argp2 = 0 ;
6333 int res2 = 0 ;
6334 int val3 ;
6335 int ecode3 = 0 ;
6336 bool temp4 = false ;
6337 wxPoint temp5 ;
6338 wxSize temp6 ;
6339 long val7 ;
6340 int ecode7 = 0 ;
6341 bool temp8 = false ;
6342 PyObject * obj0 = 0 ;
6343 PyObject * obj1 = 0 ;
6344 PyObject * obj2 = 0 ;
6345 PyObject * obj3 = 0 ;
6346 PyObject * obj4 = 0 ;
6347 PyObject * obj5 = 0 ;
6348 PyObject * obj6 = 0 ;
6349 PyObject * obj7 = 0 ;
6350 char * kwnames[] = {
6351 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6352 };
6353
6354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6356 if (!SWIG_IsOK(res1)) {
6357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6358 }
6359 arg1 = reinterpret_cast< wxFrame * >(argp1);
6360 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6361 if (!SWIG_IsOK(res2)) {
6362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6363 }
6364 arg2 = reinterpret_cast< wxWindow * >(argp2);
6365 if (obj2) {
6366 ecode3 = SWIG_AsVal_int(obj2, &val3);
6367 if (!SWIG_IsOK(ecode3)) {
6368 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6369 }
6370 arg3 = static_cast< int >(val3);
6371 }
6372 if (obj3) {
6373 {
6374 arg4 = wxString_in_helper(obj3);
6375 if (arg4 == NULL) SWIG_fail;
6376 temp4 = true;
6377 }
6378 }
6379 if (obj4) {
6380 {
6381 arg5 = &temp5;
6382 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6383 }
6384 }
6385 if (obj5) {
6386 {
6387 arg6 = &temp6;
6388 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6389 }
6390 }
6391 if (obj6) {
6392 ecode7 = SWIG_AsVal_long(obj6, &val7);
6393 if (!SWIG_IsOK(ecode7)) {
6394 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6395 }
6396 arg7 = static_cast< long >(val7);
6397 }
6398 if (obj7) {
6399 {
6400 arg8 = wxString_in_helper(obj7);
6401 if (arg8 == NULL) SWIG_fail;
6402 temp8 = true;
6403 }
6404 }
6405 {
6406 PyThreadState* __tstate = wxPyBeginAllowThreads();
6407 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6408 wxPyEndAllowThreads(__tstate);
6409 if (PyErr_Occurred()) SWIG_fail;
6410 }
6411 {
6412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6413 }
6414 {
6415 if (temp4)
6416 delete arg4;
6417 }
6418 {
6419 if (temp8)
6420 delete arg8;
6421 }
6422 return resultobj;
6423 fail:
6424 {
6425 if (temp4)
6426 delete arg4;
6427 }
6428 {
6429 if (temp8)
6430 delete arg8;
6431 }
6432 return NULL;
6433 }
6434
6435
6436 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6437 PyObject *resultobj = 0;
6438 wxFrame *arg1 = (wxFrame *) 0 ;
6439 void *argp1 = 0 ;
6440 int res1 = 0 ;
6441 PyObject *swig_obj[1] ;
6442
6443 if (!args) SWIG_fail;
6444 swig_obj[0] = args;
6445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6446 if (!SWIG_IsOK(res1)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6448 }
6449 arg1 = reinterpret_cast< wxFrame * >(argp1);
6450 {
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 (arg1)->SendSizeEvent();
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 resultobj = SWIG_Py_Void();
6457 return resultobj;
6458 fail:
6459 return NULL;
6460 }
6461
6462
6463 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj = 0;
6465 wxFrame *arg1 = (wxFrame *) 0 ;
6466 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6467 void *argp1 = 0 ;
6468 int res1 = 0 ;
6469 void *argp2 = 0 ;
6470 int res2 = 0 ;
6471 PyObject * obj0 = 0 ;
6472 PyObject * obj1 = 0 ;
6473 char * kwnames[] = {
6474 (char *) "self",(char *) "menubar", NULL
6475 };
6476
6477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6479 if (!SWIG_IsOK(res1)) {
6480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6481 }
6482 arg1 = reinterpret_cast< wxFrame * >(argp1);
6483 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6484 if (!SWIG_IsOK(res2)) {
6485 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6486 }
6487 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6488 {
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 (arg1)->SetMenuBar(arg2);
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 resultobj = SWIG_Py_Void();
6495 return resultobj;
6496 fail:
6497 return NULL;
6498 }
6499
6500
6501 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6502 PyObject *resultobj = 0;
6503 wxFrame *arg1 = (wxFrame *) 0 ;
6504 wxMenuBar *result = 0 ;
6505 void *argp1 = 0 ;
6506 int res1 = 0 ;
6507 PyObject *swig_obj[1] ;
6508
6509 if (!args) SWIG_fail;
6510 swig_obj[0] = args;
6511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6512 if (!SWIG_IsOK(res1)) {
6513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6514 }
6515 arg1 = reinterpret_cast< wxFrame * >(argp1);
6516 {
6517 PyThreadState* __tstate = wxPyBeginAllowThreads();
6518 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 {
6523 resultobj = wxPyMake_wxObject(result, 0);
6524 }
6525 return resultobj;
6526 fail:
6527 return NULL;
6528 }
6529
6530
6531 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6532 PyObject *resultobj = 0;
6533 wxFrame *arg1 = (wxFrame *) 0 ;
6534 int arg2 ;
6535 bool result;
6536 void *argp1 = 0 ;
6537 int res1 = 0 ;
6538 int val2 ;
6539 int ecode2 = 0 ;
6540 PyObject * obj0 = 0 ;
6541 PyObject * obj1 = 0 ;
6542 char * kwnames[] = {
6543 (char *) "self",(char *) "winid", NULL
6544 };
6545
6546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6548 if (!SWIG_IsOK(res1)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6550 }
6551 arg1 = reinterpret_cast< wxFrame * >(argp1);
6552 ecode2 = SWIG_AsVal_int(obj1, &val2);
6553 if (!SWIG_IsOK(ecode2)) {
6554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6555 }
6556 arg2 = static_cast< int >(val2);
6557 {
6558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6559 result = (bool)(arg1)->ProcessCommand(arg2);
6560 wxPyEndAllowThreads(__tstate);
6561 if (PyErr_Occurred()) SWIG_fail;
6562 }
6563 {
6564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6565 }
6566 return resultobj;
6567 fail:
6568 return NULL;
6569 }
6570
6571
6572 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6573 PyObject *resultobj = 0;
6574 wxFrame *arg1 = (wxFrame *) 0 ;
6575 int arg2 = (int) 1 ;
6576 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6577 int arg4 = (int) 0 ;
6578 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6579 wxString *arg5 = (wxString *) &arg5_defvalue ;
6580 wxStatusBar *result = 0 ;
6581 void *argp1 = 0 ;
6582 int res1 = 0 ;
6583 int val2 ;
6584 int ecode2 = 0 ;
6585 long val3 ;
6586 int ecode3 = 0 ;
6587 int val4 ;
6588 int ecode4 = 0 ;
6589 bool temp5 = false ;
6590 PyObject * obj0 = 0 ;
6591 PyObject * obj1 = 0 ;
6592 PyObject * obj2 = 0 ;
6593 PyObject * obj3 = 0 ;
6594 PyObject * obj4 = 0 ;
6595 char * kwnames[] = {
6596 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6597 };
6598
6599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6601 if (!SWIG_IsOK(res1)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6603 }
6604 arg1 = reinterpret_cast< wxFrame * >(argp1);
6605 if (obj1) {
6606 ecode2 = SWIG_AsVal_int(obj1, &val2);
6607 if (!SWIG_IsOK(ecode2)) {
6608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6609 }
6610 arg2 = static_cast< int >(val2);
6611 }
6612 if (obj2) {
6613 ecode3 = SWIG_AsVal_long(obj2, &val3);
6614 if (!SWIG_IsOK(ecode3)) {
6615 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6616 }
6617 arg3 = static_cast< long >(val3);
6618 }
6619 if (obj3) {
6620 ecode4 = SWIG_AsVal_int(obj3, &val4);
6621 if (!SWIG_IsOK(ecode4)) {
6622 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6623 }
6624 arg4 = static_cast< int >(val4);
6625 }
6626 if (obj4) {
6627 {
6628 arg5 = wxString_in_helper(obj4);
6629 if (arg5 == NULL) SWIG_fail;
6630 temp5 = true;
6631 }
6632 }
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6636 wxPyEndAllowThreads(__tstate);
6637 if (PyErr_Occurred()) SWIG_fail;
6638 }
6639 {
6640 resultobj = wxPyMake_wxObject(result, (bool)0);
6641 }
6642 {
6643 if (temp5)
6644 delete arg5;
6645 }
6646 return resultobj;
6647 fail:
6648 {
6649 if (temp5)
6650 delete arg5;
6651 }
6652 return NULL;
6653 }
6654
6655
6656 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6657 PyObject *resultobj = 0;
6658 wxFrame *arg1 = (wxFrame *) 0 ;
6659 wxStatusBar *result = 0 ;
6660 void *argp1 = 0 ;
6661 int res1 = 0 ;
6662 PyObject *swig_obj[1] ;
6663
6664 if (!args) SWIG_fail;
6665 swig_obj[0] = args;
6666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6667 if (!SWIG_IsOK(res1)) {
6668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6669 }
6670 arg1 = reinterpret_cast< wxFrame * >(argp1);
6671 {
6672 PyThreadState* __tstate = wxPyBeginAllowThreads();
6673 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6674 wxPyEndAllowThreads(__tstate);
6675 if (PyErr_Occurred()) SWIG_fail;
6676 }
6677 {
6678 resultobj = wxPyMake_wxObject(result, (bool)0);
6679 }
6680 return resultobj;
6681 fail:
6682 return NULL;
6683 }
6684
6685
6686 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6687 PyObject *resultobj = 0;
6688 wxFrame *arg1 = (wxFrame *) 0 ;
6689 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6690 void *argp1 = 0 ;
6691 int res1 = 0 ;
6692 void *argp2 = 0 ;
6693 int res2 = 0 ;
6694 PyObject * obj0 = 0 ;
6695 PyObject * obj1 = 0 ;
6696 char * kwnames[] = {
6697 (char *) "self",(char *) "statBar", NULL
6698 };
6699
6700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6702 if (!SWIG_IsOK(res1)) {
6703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6704 }
6705 arg1 = reinterpret_cast< wxFrame * >(argp1);
6706 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6707 if (!SWIG_IsOK(res2)) {
6708 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6709 }
6710 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 (arg1)->SetStatusBar(arg2);
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 resultobj = SWIG_Py_Void();
6718 return resultobj;
6719 fail:
6720 return NULL;
6721 }
6722
6723
6724 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6725 PyObject *resultobj = 0;
6726 wxFrame *arg1 = (wxFrame *) 0 ;
6727 wxString *arg2 = 0 ;
6728 int arg3 = (int) 0 ;
6729 void *argp1 = 0 ;
6730 int res1 = 0 ;
6731 bool temp2 = false ;
6732 int val3 ;
6733 int ecode3 = 0 ;
6734 PyObject * obj0 = 0 ;
6735 PyObject * obj1 = 0 ;
6736 PyObject * obj2 = 0 ;
6737 char * kwnames[] = {
6738 (char *) "self",(char *) "text",(char *) "number", NULL
6739 };
6740
6741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6743 if (!SWIG_IsOK(res1)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6745 }
6746 arg1 = reinterpret_cast< wxFrame * >(argp1);
6747 {
6748 arg2 = wxString_in_helper(obj1);
6749 if (arg2 == NULL) SWIG_fail;
6750 temp2 = true;
6751 }
6752 if (obj2) {
6753 ecode3 = SWIG_AsVal_int(obj2, &val3);
6754 if (!SWIG_IsOK(ecode3)) {
6755 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6756 }
6757 arg3 = static_cast< int >(val3);
6758 }
6759 {
6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
6761 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 }
6765 resultobj = SWIG_Py_Void();
6766 {
6767 if (temp2)
6768 delete arg2;
6769 }
6770 return resultobj;
6771 fail:
6772 {
6773 if (temp2)
6774 delete arg2;
6775 }
6776 return NULL;
6777 }
6778
6779
6780 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6781 PyObject *resultobj = 0;
6782 wxFrame *arg1 = (wxFrame *) 0 ;
6783 int arg2 ;
6784 int *arg3 = (int *) 0 ;
6785 void *argp1 = 0 ;
6786 int res1 = 0 ;
6787 PyObject * obj0 = 0 ;
6788 PyObject * obj1 = 0 ;
6789 char * kwnames[] = {
6790 (char *) "self",(char *) "widths", NULL
6791 };
6792
6793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6795 if (!SWIG_IsOK(res1)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6797 }
6798 arg1 = reinterpret_cast< wxFrame * >(argp1);
6799 {
6800 arg2 = PyList_Size(obj1);
6801 arg3 = int_LIST_helper(obj1);
6802 if (arg3 == NULL) SWIG_fail;
6803 }
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6807 wxPyEndAllowThreads(__tstate);
6808 if (PyErr_Occurred()) SWIG_fail;
6809 }
6810 resultobj = SWIG_Py_Void();
6811 {
6812 if (arg3) delete [] arg3;
6813 }
6814 return resultobj;
6815 fail:
6816 {
6817 if (arg3) delete [] arg3;
6818 }
6819 return NULL;
6820 }
6821
6822
6823 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj = 0;
6825 wxFrame *arg1 = (wxFrame *) 0 ;
6826 wxString *arg2 = 0 ;
6827 int arg3 = (int) 0 ;
6828 void *argp1 = 0 ;
6829 int res1 = 0 ;
6830 bool temp2 = false ;
6831 int val3 ;
6832 int ecode3 = 0 ;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 PyObject * obj2 = 0 ;
6836 char * kwnames[] = {
6837 (char *) "self",(char *) "text",(char *) "number", NULL
6838 };
6839
6840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6842 if (!SWIG_IsOK(res1)) {
6843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6844 }
6845 arg1 = reinterpret_cast< wxFrame * >(argp1);
6846 {
6847 arg2 = wxString_in_helper(obj1);
6848 if (arg2 == NULL) SWIG_fail;
6849 temp2 = true;
6850 }
6851 if (obj2) {
6852 ecode3 = SWIG_AsVal_int(obj2, &val3);
6853 if (!SWIG_IsOK(ecode3)) {
6854 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6855 }
6856 arg3 = static_cast< int >(val3);
6857 }
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
6864 resultobj = SWIG_Py_Void();
6865 {
6866 if (temp2)
6867 delete arg2;
6868 }
6869 return resultobj;
6870 fail:
6871 {
6872 if (temp2)
6873 delete arg2;
6874 }
6875 return NULL;
6876 }
6877
6878
6879 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj = 0;
6881 wxFrame *arg1 = (wxFrame *) 0 ;
6882 int arg2 = (int) 0 ;
6883 void *argp1 = 0 ;
6884 int res1 = 0 ;
6885 int val2 ;
6886 int ecode2 = 0 ;
6887 PyObject * obj0 = 0 ;
6888 PyObject * obj1 = 0 ;
6889 char * kwnames[] = {
6890 (char *) "self",(char *) "number", NULL
6891 };
6892
6893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6895 if (!SWIG_IsOK(res1)) {
6896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6897 }
6898 arg1 = reinterpret_cast< wxFrame * >(argp1);
6899 if (obj1) {
6900 ecode2 = SWIG_AsVal_int(obj1, &val2);
6901 if (!SWIG_IsOK(ecode2)) {
6902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6903 }
6904 arg2 = static_cast< int >(val2);
6905 }
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 (arg1)->PopStatusText(arg2);
6909 wxPyEndAllowThreads(__tstate);
6910 if (PyErr_Occurred()) SWIG_fail;
6911 }
6912 resultobj = SWIG_Py_Void();
6913 return resultobj;
6914 fail:
6915 return NULL;
6916 }
6917
6918
6919 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6920 PyObject *resultobj = 0;
6921 wxFrame *arg1 = (wxFrame *) 0 ;
6922 int arg2 ;
6923 void *argp1 = 0 ;
6924 int res1 = 0 ;
6925 int val2 ;
6926 int ecode2 = 0 ;
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 char * kwnames[] = {
6930 (char *) "self",(char *) "n", NULL
6931 };
6932
6933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6935 if (!SWIG_IsOK(res1)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6937 }
6938 arg1 = reinterpret_cast< wxFrame * >(argp1);
6939 ecode2 = SWIG_AsVal_int(obj1, &val2);
6940 if (!SWIG_IsOK(ecode2)) {
6941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6942 }
6943 arg2 = static_cast< int >(val2);
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 (arg1)->SetStatusBarPane(arg2);
6947 wxPyEndAllowThreads(__tstate);
6948 if (PyErr_Occurred()) SWIG_fail;
6949 }
6950 resultobj = SWIG_Py_Void();
6951 return resultobj;
6952 fail:
6953 return NULL;
6954 }
6955
6956
6957 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6958 PyObject *resultobj = 0;
6959 wxFrame *arg1 = (wxFrame *) 0 ;
6960 int result;
6961 void *argp1 = 0 ;
6962 int res1 = 0 ;
6963 PyObject *swig_obj[1] ;
6964
6965 if (!args) SWIG_fail;
6966 swig_obj[0] = args;
6967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6968 if (!SWIG_IsOK(res1)) {
6969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6970 }
6971 arg1 = reinterpret_cast< wxFrame * >(argp1);
6972 {
6973 PyThreadState* __tstate = wxPyBeginAllowThreads();
6974 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
6978 resultobj = SWIG_From_int(static_cast< int >(result));
6979 return resultobj;
6980 fail:
6981 return NULL;
6982 }
6983
6984
6985 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6986 PyObject *resultobj = 0;
6987 wxFrame *arg1 = (wxFrame *) 0 ;
6988 long arg2 = (long) -1 ;
6989 int arg3 = (int) -1 ;
6990 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6991 wxString *arg4 = (wxString *) &arg4_defvalue ;
6992 wxToolBar *result = 0 ;
6993 void *argp1 = 0 ;
6994 int res1 = 0 ;
6995 long val2 ;
6996 int ecode2 = 0 ;
6997 int val3 ;
6998 int ecode3 = 0 ;
6999 bool temp4 = false ;
7000 PyObject * obj0 = 0 ;
7001 PyObject * obj1 = 0 ;
7002 PyObject * obj2 = 0 ;
7003 PyObject * obj3 = 0 ;
7004 char * kwnames[] = {
7005 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7006 };
7007
7008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7010 if (!SWIG_IsOK(res1)) {
7011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7012 }
7013 arg1 = reinterpret_cast< wxFrame * >(argp1);
7014 if (obj1) {
7015 ecode2 = SWIG_AsVal_long(obj1, &val2);
7016 if (!SWIG_IsOK(ecode2)) {
7017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7018 }
7019 arg2 = static_cast< long >(val2);
7020 }
7021 if (obj2) {
7022 ecode3 = SWIG_AsVal_int(obj2, &val3);
7023 if (!SWIG_IsOK(ecode3)) {
7024 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7025 }
7026 arg3 = static_cast< int >(val3);
7027 }
7028 if (obj3) {
7029 {
7030 arg4 = wxString_in_helper(obj3);
7031 if (arg4 == NULL) SWIG_fail;
7032 temp4 = true;
7033 }
7034 }
7035 {
7036 PyThreadState* __tstate = wxPyBeginAllowThreads();
7037 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
7041 {
7042 resultobj = wxPyMake_wxObject(result, (bool)0);
7043 }
7044 {
7045 if (temp4)
7046 delete arg4;
7047 }
7048 return resultobj;
7049 fail:
7050 {
7051 if (temp4)
7052 delete arg4;
7053 }
7054 return NULL;
7055 }
7056
7057
7058 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7059 PyObject *resultobj = 0;
7060 wxFrame *arg1 = (wxFrame *) 0 ;
7061 wxToolBar *result = 0 ;
7062 void *argp1 = 0 ;
7063 int res1 = 0 ;
7064 PyObject *swig_obj[1] ;
7065
7066 if (!args) SWIG_fail;
7067 swig_obj[0] = args;
7068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7069 if (!SWIG_IsOK(res1)) {
7070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7071 }
7072 arg1 = reinterpret_cast< wxFrame * >(argp1);
7073 {
7074 PyThreadState* __tstate = wxPyBeginAllowThreads();
7075 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) SWIG_fail;
7078 }
7079 {
7080 resultobj = wxPyMake_wxObject(result, (bool)0);
7081 }
7082 return resultobj;
7083 fail:
7084 return NULL;
7085 }
7086
7087
7088 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7089 PyObject *resultobj = 0;
7090 wxFrame *arg1 = (wxFrame *) 0 ;
7091 wxToolBar *arg2 = (wxToolBar *) 0 ;
7092 void *argp1 = 0 ;
7093 int res1 = 0 ;
7094 void *argp2 = 0 ;
7095 int res2 = 0 ;
7096 PyObject * obj0 = 0 ;
7097 PyObject * obj1 = 0 ;
7098 char * kwnames[] = {
7099 (char *) "self",(char *) "toolbar", NULL
7100 };
7101
7102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7104 if (!SWIG_IsOK(res1)) {
7105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7106 }
7107 arg1 = reinterpret_cast< wxFrame * >(argp1);
7108 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7109 if (!SWIG_IsOK(res2)) {
7110 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7111 }
7112 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 (arg1)->SetToolBar(arg2);
7116 wxPyEndAllowThreads(__tstate);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 resultobj = SWIG_Py_Void();
7120 return resultobj;
7121 fail:
7122 return NULL;
7123 }
7124
7125
7126 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj = 0;
7128 wxFrame *arg1 = (wxFrame *) 0 ;
7129 wxString *arg2 = 0 ;
7130 bool arg3 ;
7131 void *argp1 = 0 ;
7132 int res1 = 0 ;
7133 bool temp2 = false ;
7134 bool val3 ;
7135 int ecode3 = 0 ;
7136 PyObject * obj0 = 0 ;
7137 PyObject * obj1 = 0 ;
7138 PyObject * obj2 = 0 ;
7139 char * kwnames[] = {
7140 (char *) "self",(char *) "text",(char *) "show", NULL
7141 };
7142
7143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7145 if (!SWIG_IsOK(res1)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7147 }
7148 arg1 = reinterpret_cast< wxFrame * >(argp1);
7149 {
7150 arg2 = wxString_in_helper(obj1);
7151 if (arg2 == NULL) SWIG_fail;
7152 temp2 = true;
7153 }
7154 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7155 if (!SWIG_IsOK(ecode3)) {
7156 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7157 }
7158 arg3 = static_cast< bool >(val3);
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7162 wxPyEndAllowThreads(__tstate);
7163 if (PyErr_Occurred()) SWIG_fail;
7164 }
7165 resultobj = SWIG_Py_Void();
7166 {
7167 if (temp2)
7168 delete arg2;
7169 }
7170 return resultobj;
7171 fail:
7172 {
7173 if (temp2)
7174 delete arg2;
7175 }
7176 return NULL;
7177 }
7178
7179
7180 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7181 PyObject *resultobj = 0;
7182 wxFrame *arg1 = (wxFrame *) 0 ;
7183 wxMenu *arg2 = (wxMenu *) NULL ;
7184 void *argp1 = 0 ;
7185 int res1 = 0 ;
7186 void *argp2 = 0 ;
7187 int res2 = 0 ;
7188 PyObject * obj0 = 0 ;
7189 PyObject * obj1 = 0 ;
7190 char * kwnames[] = {
7191 (char *) "self",(char *) "menu", NULL
7192 };
7193
7194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7196 if (!SWIG_IsOK(res1)) {
7197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7198 }
7199 arg1 = reinterpret_cast< wxFrame * >(argp1);
7200 if (obj1) {
7201 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7202 if (!SWIG_IsOK(res2)) {
7203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7204 }
7205 arg2 = reinterpret_cast< wxMenu * >(argp2);
7206 }
7207 {
7208 PyThreadState* __tstate = wxPyBeginAllowThreads();
7209 (arg1)->DoMenuUpdates(arg2);
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 resultobj = SWIG_Py_Void();
7214 return resultobj;
7215 fail:
7216 return NULL;
7217 }
7218
7219
7220 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7221 PyObject *resultobj = 0;
7222 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7223 SwigValueWrapper<wxVisualAttributes > result;
7224 int val1 ;
7225 int ecode1 = 0 ;
7226 PyObject * obj0 = 0 ;
7227 char * kwnames[] = {
7228 (char *) "variant", NULL
7229 };
7230
7231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7232 if (obj0) {
7233 ecode1 = SWIG_AsVal_int(obj0, &val1);
7234 if (!SWIG_IsOK(ecode1)) {
7235 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7236 }
7237 arg1 = static_cast< wxWindowVariant >(val1);
7238 }
7239 {
7240 if (!wxPyCheckForApp()) SWIG_fail;
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 result = wxFrame::GetClassDefaultAttributes(arg1);
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7247 return resultobj;
7248 fail:
7249 return NULL;
7250 }
7251
7252
7253 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7254 PyObject *obj;
7255 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7256 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7257 return SWIG_Py_Void();
7258 }
7259
7260 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7261 return SWIG_Python_InitShadowInstance(args);
7262 }
7263
7264 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj = 0;
7266 wxWindow *arg1 = (wxWindow *) 0 ;
7267 int arg2 = (int) (int)-1 ;
7268 wxString const &arg3_defvalue = wxPyEmptyString ;
7269 wxString *arg3 = (wxString *) &arg3_defvalue ;
7270 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7271 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7272 wxSize const &arg5_defvalue = wxDefaultSize ;
7273 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7274 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7275 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7276 wxString *arg7 = (wxString *) &arg7_defvalue ;
7277 wxDialog *result = 0 ;
7278 void *argp1 = 0 ;
7279 int res1 = 0 ;
7280 int val2 ;
7281 int ecode2 = 0 ;
7282 bool temp3 = false ;
7283 wxPoint temp4 ;
7284 wxSize temp5 ;
7285 long val6 ;
7286 int ecode6 = 0 ;
7287 bool temp7 = false ;
7288 PyObject * obj0 = 0 ;
7289 PyObject * obj1 = 0 ;
7290 PyObject * obj2 = 0 ;
7291 PyObject * obj3 = 0 ;
7292 PyObject * obj4 = 0 ;
7293 PyObject * obj5 = 0 ;
7294 PyObject * obj6 = 0 ;
7295 char * kwnames[] = {
7296 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7297 };
7298
7299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7301 if (!SWIG_IsOK(res1)) {
7302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7303 }
7304 arg1 = reinterpret_cast< wxWindow * >(argp1);
7305 if (obj1) {
7306 ecode2 = SWIG_AsVal_int(obj1, &val2);
7307 if (!SWIG_IsOK(ecode2)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7309 }
7310 arg2 = static_cast< int >(val2);
7311 }
7312 if (obj2) {
7313 {
7314 arg3 = wxString_in_helper(obj2);
7315 if (arg3 == NULL) SWIG_fail;
7316 temp3 = true;
7317 }
7318 }
7319 if (obj3) {
7320 {
7321 arg4 = &temp4;
7322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7323 }
7324 }
7325 if (obj4) {
7326 {
7327 arg5 = &temp5;
7328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7329 }
7330 }
7331 if (obj5) {
7332 ecode6 = SWIG_AsVal_long(obj5, &val6);
7333 if (!SWIG_IsOK(ecode6)) {
7334 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7335 }
7336 arg6 = static_cast< long >(val6);
7337 }
7338 if (obj6) {
7339 {
7340 arg7 = wxString_in_helper(obj6);
7341 if (arg7 == NULL) SWIG_fail;
7342 temp7 = true;
7343 }
7344 }
7345 {
7346 if (!wxPyCheckForApp()) SWIG_fail;
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7349 wxPyEndAllowThreads(__tstate);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
7352 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7353 {
7354 if (temp3)
7355 delete arg3;
7356 }
7357 {
7358 if (temp7)
7359 delete arg7;
7360 }
7361 return resultobj;
7362 fail:
7363 {
7364 if (temp3)
7365 delete arg3;
7366 }
7367 {
7368 if (temp7)
7369 delete arg7;
7370 }
7371 return NULL;
7372 }
7373
7374
7375 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7376 PyObject *resultobj = 0;
7377 wxDialog *result = 0 ;
7378
7379 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7380 {
7381 if (!wxPyCheckForApp()) SWIG_fail;
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 result = (wxDialog *)new wxDialog();
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7388 return resultobj;
7389 fail:
7390 return NULL;
7391 }
7392
7393
7394 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7395 PyObject *resultobj = 0;
7396 wxDialog *arg1 = (wxDialog *) 0 ;
7397 wxWindow *arg2 = (wxWindow *) 0 ;
7398 int arg3 = (int) (int)-1 ;
7399 wxString const &arg4_defvalue = wxPyEmptyString ;
7400 wxString *arg4 = (wxString *) &arg4_defvalue ;
7401 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7402 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7403 wxSize const &arg6_defvalue = wxDefaultSize ;
7404 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7405 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7406 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7407 wxString *arg8 = (wxString *) &arg8_defvalue ;
7408 bool result;
7409 void *argp1 = 0 ;
7410 int res1 = 0 ;
7411 void *argp2 = 0 ;
7412 int res2 = 0 ;
7413 int val3 ;
7414 int ecode3 = 0 ;
7415 bool temp4 = false ;
7416 wxPoint temp5 ;
7417 wxSize temp6 ;
7418 long val7 ;
7419 int ecode7 = 0 ;
7420 bool temp8 = false ;
7421 PyObject * obj0 = 0 ;
7422 PyObject * obj1 = 0 ;
7423 PyObject * obj2 = 0 ;
7424 PyObject * obj3 = 0 ;
7425 PyObject * obj4 = 0 ;
7426 PyObject * obj5 = 0 ;
7427 PyObject * obj6 = 0 ;
7428 PyObject * obj7 = 0 ;
7429 char * kwnames[] = {
7430 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7431 };
7432
7433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7435 if (!SWIG_IsOK(res1)) {
7436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7437 }
7438 arg1 = reinterpret_cast< wxDialog * >(argp1);
7439 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7440 if (!SWIG_IsOK(res2)) {
7441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7442 }
7443 arg2 = reinterpret_cast< wxWindow * >(argp2);
7444 if (obj2) {
7445 ecode3 = SWIG_AsVal_int(obj2, &val3);
7446 if (!SWIG_IsOK(ecode3)) {
7447 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7448 }
7449 arg3 = static_cast< int >(val3);
7450 }
7451 if (obj3) {
7452 {
7453 arg4 = wxString_in_helper(obj3);
7454 if (arg4 == NULL) SWIG_fail;
7455 temp4 = true;
7456 }
7457 }
7458 if (obj4) {
7459 {
7460 arg5 = &temp5;
7461 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7462 }
7463 }
7464 if (obj5) {
7465 {
7466 arg6 = &temp6;
7467 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7468 }
7469 }
7470 if (obj6) {
7471 ecode7 = SWIG_AsVal_long(obj6, &val7);
7472 if (!SWIG_IsOK(ecode7)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7474 }
7475 arg7 = static_cast< long >(val7);
7476 }
7477 if (obj7) {
7478 {
7479 arg8 = wxString_in_helper(obj7);
7480 if (arg8 == NULL) SWIG_fail;
7481 temp8 = true;
7482 }
7483 }
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 {
7491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7492 }
7493 {
7494 if (temp4)
7495 delete arg4;
7496 }
7497 {
7498 if (temp8)
7499 delete arg8;
7500 }
7501 return resultobj;
7502 fail:
7503 {
7504 if (temp4)
7505 delete arg4;
7506 }
7507 {
7508 if (temp8)
7509 delete arg8;
7510 }
7511 return NULL;
7512 }
7513
7514
7515 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7516 PyObject *resultobj = 0;
7517 wxDialog *arg1 = (wxDialog *) 0 ;
7518 int arg2 ;
7519 void *argp1 = 0 ;
7520 int res1 = 0 ;
7521 int val2 ;
7522 int ecode2 = 0 ;
7523 PyObject * obj0 = 0 ;
7524 PyObject * obj1 = 0 ;
7525 char * kwnames[] = {
7526 (char *) "self",(char *) "returnCode", NULL
7527 };
7528
7529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7531 if (!SWIG_IsOK(res1)) {
7532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7533 }
7534 arg1 = reinterpret_cast< wxDialog * >(argp1);
7535 ecode2 = SWIG_AsVal_int(obj1, &val2);
7536 if (!SWIG_IsOK(ecode2)) {
7537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7538 }
7539 arg2 = static_cast< int >(val2);
7540 {
7541 PyThreadState* __tstate = wxPyBeginAllowThreads();
7542 (arg1)->SetReturnCode(arg2);
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 resultobj = SWIG_Py_Void();
7547 return resultobj;
7548 fail:
7549 return NULL;
7550 }
7551
7552
7553 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7554 PyObject *resultobj = 0;
7555 wxDialog *arg1 = (wxDialog *) 0 ;
7556 int result;
7557 void *argp1 = 0 ;
7558 int res1 = 0 ;
7559 PyObject *swig_obj[1] ;
7560
7561 if (!args) SWIG_fail;
7562 swig_obj[0] = args;
7563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7564 if (!SWIG_IsOK(res1)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7566 }
7567 arg1 = reinterpret_cast< wxDialog * >(argp1);
7568 {
7569 PyThreadState* __tstate = wxPyBeginAllowThreads();
7570 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
7574 resultobj = SWIG_From_int(static_cast< int >(result));
7575 return resultobj;
7576 fail:
7577 return NULL;
7578 }
7579
7580
7581 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7582 PyObject *resultobj = 0;
7583 wxDialog *arg1 = (wxDialog *) 0 ;
7584 int arg2 ;
7585 void *argp1 = 0 ;
7586 int res1 = 0 ;
7587 int val2 ;
7588 int ecode2 = 0 ;
7589 PyObject * obj0 = 0 ;
7590 PyObject * obj1 = 0 ;
7591 char * kwnames[] = {
7592 (char *) "self",(char *) "affirmativeId", NULL
7593 };
7594
7595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7597 if (!SWIG_IsOK(res1)) {
7598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7599 }
7600 arg1 = reinterpret_cast< wxDialog * >(argp1);
7601 ecode2 = SWIG_AsVal_int(obj1, &val2);
7602 if (!SWIG_IsOK(ecode2)) {
7603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7604 }
7605 arg2 = static_cast< int >(val2);
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 (arg1)->SetAffirmativeId(arg2);
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 resultobj = SWIG_Py_Void();
7613 return resultobj;
7614 fail:
7615 return NULL;
7616 }
7617
7618
7619 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7620 PyObject *resultobj = 0;
7621 wxDialog *arg1 = (wxDialog *) 0 ;
7622 int result;
7623 void *argp1 = 0 ;
7624 int res1 = 0 ;
7625 PyObject *swig_obj[1] ;
7626
7627 if (!args) SWIG_fail;
7628 swig_obj[0] = args;
7629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7630 if (!SWIG_IsOK(res1)) {
7631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7632 }
7633 arg1 = reinterpret_cast< wxDialog * >(argp1);
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7637 wxPyEndAllowThreads(__tstate);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 resultobj = SWIG_From_int(static_cast< int >(result));
7641 return resultobj;
7642 fail:
7643 return NULL;
7644 }
7645
7646
7647 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7648 PyObject *resultobj = 0;
7649 wxDialog *arg1 = (wxDialog *) 0 ;
7650 int arg2 ;
7651 void *argp1 = 0 ;
7652 int res1 = 0 ;
7653 int val2 ;
7654 int ecode2 = 0 ;
7655 PyObject * obj0 = 0 ;
7656 PyObject * obj1 = 0 ;
7657 char * kwnames[] = {
7658 (char *) "self",(char *) "escapeId", NULL
7659 };
7660
7661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7663 if (!SWIG_IsOK(res1)) {
7664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7665 }
7666 arg1 = reinterpret_cast< wxDialog * >(argp1);
7667 ecode2 = SWIG_AsVal_int(obj1, &val2);
7668 if (!SWIG_IsOK(ecode2)) {
7669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7670 }
7671 arg2 = static_cast< int >(val2);
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 (arg1)->SetEscapeId(arg2);
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 resultobj = SWIG_Py_Void();
7679 return resultobj;
7680 fail:
7681 return NULL;
7682 }
7683
7684
7685 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7686 PyObject *resultobj = 0;
7687 wxDialog *arg1 = (wxDialog *) 0 ;
7688 int result;
7689 void *argp1 = 0 ;
7690 int res1 = 0 ;
7691 PyObject *swig_obj[1] ;
7692
7693 if (!args) SWIG_fail;
7694 swig_obj[0] = args;
7695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7696 if (!SWIG_IsOK(res1)) {
7697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7698 }
7699 arg1 = reinterpret_cast< wxDialog * >(argp1);
7700 {
7701 PyThreadState* __tstate = wxPyBeginAllowThreads();
7702 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 resultobj = SWIG_From_int(static_cast< int >(result));
7707 return resultobj;
7708 fail:
7709 return NULL;
7710 }
7711
7712
7713 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7714 PyObject *resultobj = 0;
7715 wxDialog *arg1 = (wxDialog *) 0 ;
7716 wxString *arg2 = 0 ;
7717 wxSizer *result = 0 ;
7718 void *argp1 = 0 ;
7719 int res1 = 0 ;
7720 bool temp2 = false ;
7721 PyObject * obj0 = 0 ;
7722 PyObject * obj1 = 0 ;
7723 char * kwnames[] = {
7724 (char *) "self",(char *) "message", NULL
7725 };
7726
7727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7729 if (!SWIG_IsOK(res1)) {
7730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7731 }
7732 arg1 = reinterpret_cast< wxDialog * >(argp1);
7733 {
7734 arg2 = wxString_in_helper(obj1);
7735 if (arg2 == NULL) SWIG_fail;
7736 temp2 = true;
7737 }
7738 {
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 {
7745 resultobj = wxPyMake_wxObject(result, (bool)0);
7746 }
7747 {
7748 if (temp2)
7749 delete arg2;
7750 }
7751 return resultobj;
7752 fail:
7753 {
7754 if (temp2)
7755 delete arg2;
7756 }
7757 return NULL;
7758 }
7759
7760
7761 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7762 PyObject *resultobj = 0;
7763 wxDialog *arg1 = (wxDialog *) 0 ;
7764 long arg2 ;
7765 bool arg3 = (bool) false ;
7766 int arg4 = (int) 0 ;
7767 wxSizer *result = 0 ;
7768 void *argp1 = 0 ;
7769 int res1 = 0 ;
7770 long val2 ;
7771 int ecode2 = 0 ;
7772 bool val3 ;
7773 int ecode3 = 0 ;
7774 int val4 ;
7775 int ecode4 = 0 ;
7776 PyObject * obj0 = 0 ;
7777 PyObject * obj1 = 0 ;
7778 PyObject * obj2 = 0 ;
7779 PyObject * obj3 = 0 ;
7780 char * kwnames[] = {
7781 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7782 };
7783
7784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7786 if (!SWIG_IsOK(res1)) {
7787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7788 }
7789 arg1 = reinterpret_cast< wxDialog * >(argp1);
7790 ecode2 = SWIG_AsVal_long(obj1, &val2);
7791 if (!SWIG_IsOK(ecode2)) {
7792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7793 }
7794 arg2 = static_cast< long >(val2);
7795 if (obj2) {
7796 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7797 if (!SWIG_IsOK(ecode3)) {
7798 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7799 }
7800 arg3 = static_cast< bool >(val3);
7801 }
7802 if (obj3) {
7803 ecode4 = SWIG_AsVal_int(obj3, &val4);
7804 if (!SWIG_IsOK(ecode4)) {
7805 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7806 }
7807 arg4 = static_cast< int >(val4);
7808 }
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 {
7816 resultobj = wxPyMake_wxObject(result, (bool)0);
7817 }
7818 return resultobj;
7819 fail:
7820 return NULL;
7821 }
7822
7823
7824 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7825 PyObject *resultobj = 0;
7826 wxDialog *arg1 = (wxDialog *) 0 ;
7827 long arg2 ;
7828 wxStdDialogButtonSizer *result = 0 ;
7829 void *argp1 = 0 ;
7830 int res1 = 0 ;
7831 long val2 ;
7832 int ecode2 = 0 ;
7833 PyObject * obj0 = 0 ;
7834 PyObject * obj1 = 0 ;
7835 char * kwnames[] = {
7836 (char *) "self",(char *) "flags", NULL
7837 };
7838
7839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7841 if (!SWIG_IsOK(res1)) {
7842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7843 }
7844 arg1 = reinterpret_cast< wxDialog * >(argp1);
7845 ecode2 = SWIG_AsVal_long(obj1, &val2);
7846 if (!SWIG_IsOK(ecode2)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7848 }
7849 arg2 = static_cast< long >(val2);
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7857 return resultobj;
7858 fail:
7859 return NULL;
7860 }
7861
7862
7863 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7864 PyObject *resultobj = 0;
7865 wxDialog *arg1 = (wxDialog *) 0 ;
7866 bool result;
7867 void *argp1 = 0 ;
7868 int res1 = 0 ;
7869 PyObject *swig_obj[1] ;
7870
7871 if (!args) SWIG_fail;
7872 swig_obj[0] = args;
7873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7874 if (!SWIG_IsOK(res1)) {
7875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7876 }
7877 arg1 = reinterpret_cast< wxDialog * >(argp1);
7878 {
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 result = (bool)((wxDialog const *)arg1)->IsModal();
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 {
7885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7886 }
7887 return resultobj;
7888 fail:
7889 return NULL;
7890 }
7891
7892
7893 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7894 PyObject *resultobj = 0;
7895 wxDialog *arg1 = (wxDialog *) 0 ;
7896 int result;
7897 void *argp1 = 0 ;
7898 int res1 = 0 ;
7899 PyObject *swig_obj[1] ;
7900
7901 if (!args) SWIG_fail;
7902 swig_obj[0] = args;
7903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7904 if (!SWIG_IsOK(res1)) {
7905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7906 }
7907 arg1 = reinterpret_cast< wxDialog * >(argp1);
7908 {
7909 PyThreadState* __tstate = wxPyBeginAllowThreads();
7910 result = (int)(arg1)->ShowModal();
7911 wxPyEndAllowThreads(__tstate);
7912 if (PyErr_Occurred()) SWIG_fail;
7913 }
7914 resultobj = SWIG_From_int(static_cast< int >(result));
7915 return resultobj;
7916 fail:
7917 return NULL;
7918 }
7919
7920
7921 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7922 PyObject *resultobj = 0;
7923 wxDialog *arg1 = (wxDialog *) 0 ;
7924 int arg2 ;
7925 void *argp1 = 0 ;
7926 int res1 = 0 ;
7927 int val2 ;
7928 int ecode2 = 0 ;
7929 PyObject * obj0 = 0 ;
7930 PyObject * obj1 = 0 ;
7931 char * kwnames[] = {
7932 (char *) "self",(char *) "retCode", NULL
7933 };
7934
7935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7937 if (!SWIG_IsOK(res1)) {
7938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7939 }
7940 arg1 = reinterpret_cast< wxDialog * >(argp1);
7941 ecode2 = SWIG_AsVal_int(obj1, &val2);
7942 if (!SWIG_IsOK(ecode2)) {
7943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7944 }
7945 arg2 = static_cast< int >(val2);
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 (arg1)->EndModal(arg2);
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 resultobj = SWIG_Py_Void();
7953 return resultobj;
7954 fail:
7955 return NULL;
7956 }
7957
7958
7959 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj = 0;
7961 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7962 SwigValueWrapper<wxVisualAttributes > result;
7963 int val1 ;
7964 int ecode1 = 0 ;
7965 PyObject * obj0 = 0 ;
7966 char * kwnames[] = {
7967 (char *) "variant", NULL
7968 };
7969
7970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7971 if (obj0) {
7972 ecode1 = SWIG_AsVal_int(obj0, &val1);
7973 if (!SWIG_IsOK(ecode1)) {
7974 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7975 }
7976 arg1 = static_cast< wxWindowVariant >(val1);
7977 }
7978 {
7979 if (!wxPyCheckForApp()) SWIG_fail;
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 result = wxDialog::GetClassDefaultAttributes(arg1);
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7986 return resultobj;
7987 fail:
7988 return NULL;
7989 }
7990
7991
7992 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7993 PyObject *obj;
7994 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7995 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7996 return SWIG_Py_Void();
7997 }
7998
7999 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8000 return SWIG_Python_InitShadowInstance(args);
8001 }
8002
8003 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8004 PyObject *resultobj = 0;
8005 wxWindow *arg1 = (wxWindow *) 0 ;
8006 int arg2 = (int) (int)-1 ;
8007 wxString const &arg3_defvalue = wxPyEmptyString ;
8008 wxString *arg3 = (wxString *) &arg3_defvalue ;
8009 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8010 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8011 wxSize const &arg5_defvalue = wxDefaultSize ;
8012 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8013 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8014 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8015 wxString *arg7 = (wxString *) &arg7_defvalue ;
8016 wxMiniFrame *result = 0 ;
8017 void *argp1 = 0 ;
8018 int res1 = 0 ;
8019 int val2 ;
8020 int ecode2 = 0 ;
8021 bool temp3 = false ;
8022 wxPoint temp4 ;
8023 wxSize temp5 ;
8024 long val6 ;
8025 int ecode6 = 0 ;
8026 bool temp7 = false ;
8027 PyObject * obj0 = 0 ;
8028 PyObject * obj1 = 0 ;
8029 PyObject * obj2 = 0 ;
8030 PyObject * obj3 = 0 ;
8031 PyObject * obj4 = 0 ;
8032 PyObject * obj5 = 0 ;
8033 PyObject * obj6 = 0 ;
8034 char * kwnames[] = {
8035 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8036 };
8037
8038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8040 if (!SWIG_IsOK(res1)) {
8041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8042 }
8043 arg1 = reinterpret_cast< wxWindow * >(argp1);
8044 if (obj1) {
8045 ecode2 = SWIG_AsVal_int(obj1, &val2);
8046 if (!SWIG_IsOK(ecode2)) {
8047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8048 }
8049 arg2 = static_cast< int >(val2);
8050 }
8051 if (obj2) {
8052 {
8053 arg3 = wxString_in_helper(obj2);
8054 if (arg3 == NULL) SWIG_fail;
8055 temp3 = true;
8056 }
8057 }
8058 if (obj3) {
8059 {
8060 arg4 = &temp4;
8061 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8062 }
8063 }
8064 if (obj4) {
8065 {
8066 arg5 = &temp5;
8067 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8068 }
8069 }
8070 if (obj5) {
8071 ecode6 = SWIG_AsVal_long(obj5, &val6);
8072 if (!SWIG_IsOK(ecode6)) {
8073 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8074 }
8075 arg6 = static_cast< long >(val6);
8076 }
8077 if (obj6) {
8078 {
8079 arg7 = wxString_in_helper(obj6);
8080 if (arg7 == NULL) SWIG_fail;
8081 temp7 = true;
8082 }
8083 }
8084 {
8085 if (!wxPyCheckForApp()) SWIG_fail;
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8088 wxPyEndAllowThreads(__tstate);
8089 if (PyErr_Occurred()) SWIG_fail;
8090 }
8091 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8092 {
8093 if (temp3)
8094 delete arg3;
8095 }
8096 {
8097 if (temp7)
8098 delete arg7;
8099 }
8100 return resultobj;
8101 fail:
8102 {
8103 if (temp3)
8104 delete arg3;
8105 }
8106 {
8107 if (temp7)
8108 delete arg7;
8109 }
8110 return NULL;
8111 }
8112
8113
8114 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8115 PyObject *resultobj = 0;
8116 wxMiniFrame *result = 0 ;
8117
8118 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8119 {
8120 if (!wxPyCheckForApp()) SWIG_fail;
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 result = (wxMiniFrame *)new wxMiniFrame();
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8127 return resultobj;
8128 fail:
8129 return NULL;
8130 }
8131
8132
8133 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8134 PyObject *resultobj = 0;
8135 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8136 wxWindow *arg2 = (wxWindow *) 0 ;
8137 int arg3 = (int) (int)-1 ;
8138 wxString const &arg4_defvalue = wxPyEmptyString ;
8139 wxString *arg4 = (wxString *) &arg4_defvalue ;
8140 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8141 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8142 wxSize const &arg6_defvalue = wxDefaultSize ;
8143 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8144 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8145 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8146 wxString *arg8 = (wxString *) &arg8_defvalue ;
8147 bool result;
8148 void *argp1 = 0 ;
8149 int res1 = 0 ;
8150 void *argp2 = 0 ;
8151 int res2 = 0 ;
8152 int val3 ;
8153 int ecode3 = 0 ;
8154 bool temp4 = false ;
8155 wxPoint temp5 ;
8156 wxSize temp6 ;
8157 long val7 ;
8158 int ecode7 = 0 ;
8159 bool temp8 = false ;
8160 PyObject * obj0 = 0 ;
8161 PyObject * obj1 = 0 ;
8162 PyObject * obj2 = 0 ;
8163 PyObject * obj3 = 0 ;
8164 PyObject * obj4 = 0 ;
8165 PyObject * obj5 = 0 ;
8166 PyObject * obj6 = 0 ;
8167 PyObject * obj7 = 0 ;
8168 char * kwnames[] = {
8169 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8170 };
8171
8172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8174 if (!SWIG_IsOK(res1)) {
8175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8176 }
8177 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8178 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8179 if (!SWIG_IsOK(res2)) {
8180 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8181 }
8182 arg2 = reinterpret_cast< wxWindow * >(argp2);
8183 if (obj2) {
8184 ecode3 = SWIG_AsVal_int(obj2, &val3);
8185 if (!SWIG_IsOK(ecode3)) {
8186 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8187 }
8188 arg3 = static_cast< int >(val3);
8189 }
8190 if (obj3) {
8191 {
8192 arg4 = wxString_in_helper(obj3);
8193 if (arg4 == NULL) SWIG_fail;
8194 temp4 = true;
8195 }
8196 }
8197 if (obj4) {
8198 {
8199 arg5 = &temp5;
8200 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8201 }
8202 }
8203 if (obj5) {
8204 {
8205 arg6 = &temp6;
8206 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8207 }
8208 }
8209 if (obj6) {
8210 ecode7 = SWIG_AsVal_long(obj6, &val7);
8211 if (!SWIG_IsOK(ecode7)) {
8212 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8213 }
8214 arg7 = static_cast< long >(val7);
8215 }
8216 if (obj7) {
8217 {
8218 arg8 = wxString_in_helper(obj7);
8219 if (arg8 == NULL) SWIG_fail;
8220 temp8 = true;
8221 }
8222 }
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8226 wxPyEndAllowThreads(__tstate);
8227 if (PyErr_Occurred()) SWIG_fail;
8228 }
8229 {
8230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8231 }
8232 {
8233 if (temp4)
8234 delete arg4;
8235 }
8236 {
8237 if (temp8)
8238 delete arg8;
8239 }
8240 return resultobj;
8241 fail:
8242 {
8243 if (temp4)
8244 delete arg4;
8245 }
8246 {
8247 if (temp8)
8248 delete arg8;
8249 }
8250 return NULL;
8251 }
8252
8253
8254 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8255 PyObject *obj;
8256 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8257 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8258 return SWIG_Py_Void();
8259 }
8260
8261 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8262 return SWIG_Python_InitShadowInstance(args);
8263 }
8264
8265 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj = 0;
8267 wxBitmap *arg1 = 0 ;
8268 wxWindow *arg2 = (wxWindow *) 0 ;
8269 int arg3 ;
8270 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8271 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8272 wxSize const &arg5_defvalue = wxDefaultSize ;
8273 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8274 long arg6 = (long) wxNO_BORDER ;
8275 wxSplashScreenWindow *result = 0 ;
8276 void *argp1 = 0 ;
8277 int res1 = 0 ;
8278 void *argp2 = 0 ;
8279 int res2 = 0 ;
8280 int val3 ;
8281 int ecode3 = 0 ;
8282 wxPoint temp4 ;
8283 wxSize temp5 ;
8284 long val6 ;
8285 int ecode6 = 0 ;
8286 PyObject * obj0 = 0 ;
8287 PyObject * obj1 = 0 ;
8288 PyObject * obj2 = 0 ;
8289 PyObject * obj3 = 0 ;
8290 PyObject * obj4 = 0 ;
8291 PyObject * obj5 = 0 ;
8292 char * kwnames[] = {
8293 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8294 };
8295
8296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8297 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8298 if (!SWIG_IsOK(res1)) {
8299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8300 }
8301 if (!argp1) {
8302 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8303 }
8304 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8305 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8306 if (!SWIG_IsOK(res2)) {
8307 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8308 }
8309 arg2 = reinterpret_cast< wxWindow * >(argp2);
8310 ecode3 = SWIG_AsVal_int(obj2, &val3);
8311 if (!SWIG_IsOK(ecode3)) {
8312 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8313 }
8314 arg3 = static_cast< int >(val3);
8315 if (obj3) {
8316 {
8317 arg4 = &temp4;
8318 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8319 }
8320 }
8321 if (obj4) {
8322 {
8323 arg5 = &temp5;
8324 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8325 }
8326 }
8327 if (obj5) {
8328 ecode6 = SWIG_AsVal_long(obj5, &val6);
8329 if (!SWIG_IsOK(ecode6)) {
8330 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8331 }
8332 arg6 = static_cast< long >(val6);
8333 }
8334 {
8335 if (!wxPyCheckForApp()) SWIG_fail;
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8338 wxPyEndAllowThreads(__tstate);
8339 if (PyErr_Occurred()) SWIG_fail;
8340 }
8341 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8342 return resultobj;
8343 fail:
8344 return NULL;
8345 }
8346
8347
8348 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8349 PyObject *resultobj = 0;
8350 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8351 wxBitmap *arg2 = 0 ;
8352 void *argp1 = 0 ;
8353 int res1 = 0 ;
8354 void *argp2 = 0 ;
8355 int res2 = 0 ;
8356 PyObject * obj0 = 0 ;
8357 PyObject * obj1 = 0 ;
8358 char * kwnames[] = {
8359 (char *) "self",(char *) "bitmap", NULL
8360 };
8361
8362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8364 if (!SWIG_IsOK(res1)) {
8365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8366 }
8367 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8368 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8369 if (!SWIG_IsOK(res2)) {
8370 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8371 }
8372 if (!argp2) {
8373 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8374 }
8375 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8379 wxPyEndAllowThreads(__tstate);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 resultobj = SWIG_Py_Void();
8383 return resultobj;
8384 fail:
8385 return NULL;
8386 }
8387
8388
8389 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8390 PyObject *resultobj = 0;
8391 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8392 wxBitmap *result = 0 ;
8393 void *argp1 = 0 ;
8394 int res1 = 0 ;
8395 PyObject *swig_obj[1] ;
8396
8397 if (!args) SWIG_fail;
8398 swig_obj[0] = args;
8399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8400 if (!SWIG_IsOK(res1)) {
8401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8402 }
8403 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8404 {
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 {
8407 wxBitmap &_result_ref = (arg1)->GetBitmap();
8408 result = (wxBitmap *) &_result_ref;
8409 }
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 {
8414 wxBitmap* resultptr = new wxBitmap(*result);
8415 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8416 }
8417 return resultobj;
8418 fail:
8419 return NULL;
8420 }
8421
8422
8423 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8424 PyObject *obj;
8425 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8426 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8427 return SWIG_Py_Void();
8428 }
8429
8430 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8431 return SWIG_Python_InitShadowInstance(args);
8432 }
8433
8434 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj = 0;
8436 wxBitmap *arg1 = 0 ;
8437 long arg2 ;
8438 int arg3 ;
8439 wxWindow *arg4 = (wxWindow *) 0 ;
8440 int arg5 = (int) -1 ;
8441 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8442 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8443 wxSize const &arg7_defvalue = wxDefaultSize ;
8444 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8445 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8446 wxSplashScreen *result = 0 ;
8447 void *argp1 = 0 ;
8448 int res1 = 0 ;
8449 long val2 ;
8450 int ecode2 = 0 ;
8451 int val3 ;
8452 int ecode3 = 0 ;
8453 void *argp4 = 0 ;
8454 int res4 = 0 ;
8455 int val5 ;
8456 int ecode5 = 0 ;
8457 wxPoint temp6 ;
8458 wxSize temp7 ;
8459 long val8 ;
8460 int ecode8 = 0 ;
8461 PyObject * obj0 = 0 ;
8462 PyObject * obj1 = 0 ;
8463 PyObject * obj2 = 0 ;
8464 PyObject * obj3 = 0 ;
8465 PyObject * obj4 = 0 ;
8466 PyObject * obj5 = 0 ;
8467 PyObject * obj6 = 0 ;
8468 PyObject * obj7 = 0 ;
8469 char * kwnames[] = {
8470 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8471 };
8472
8473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8474 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8475 if (!SWIG_IsOK(res1)) {
8476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8477 }
8478 if (!argp1) {
8479 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8480 }
8481 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8482 ecode2 = SWIG_AsVal_long(obj1, &val2);
8483 if (!SWIG_IsOK(ecode2)) {
8484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8485 }
8486 arg2 = static_cast< long >(val2);
8487 ecode3 = SWIG_AsVal_int(obj2, &val3);
8488 if (!SWIG_IsOK(ecode3)) {
8489 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8490 }
8491 arg3 = static_cast< int >(val3);
8492 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8493 if (!SWIG_IsOK(res4)) {
8494 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8495 }
8496 arg4 = reinterpret_cast< wxWindow * >(argp4);
8497 if (obj4) {
8498 ecode5 = SWIG_AsVal_int(obj4, &val5);
8499 if (!SWIG_IsOK(ecode5)) {
8500 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8501 }
8502 arg5 = static_cast< int >(val5);
8503 }
8504 if (obj5) {
8505 {
8506 arg6 = &temp6;
8507 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8508 }
8509 }
8510 if (obj6) {
8511 {
8512 arg7 = &temp7;
8513 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8514 }
8515 }
8516 if (obj7) {
8517 ecode8 = SWIG_AsVal_long(obj7, &val8);
8518 if (!SWIG_IsOK(ecode8)) {
8519 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8520 }
8521 arg8 = static_cast< long >(val8);
8522 }
8523 {
8524 if (!wxPyCheckForApp()) SWIG_fail;
8525 PyThreadState* __tstate = wxPyBeginAllowThreads();
8526 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8527 wxPyEndAllowThreads(__tstate);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 }
8530 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8531 return resultobj;
8532 fail:
8533 return NULL;
8534 }
8535
8536
8537 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8538 PyObject *resultobj = 0;
8539 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8540 long result;
8541 void *argp1 = 0 ;
8542 int res1 = 0 ;
8543 PyObject *swig_obj[1] ;
8544
8545 if (!args) SWIG_fail;
8546 swig_obj[0] = args;
8547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8548 if (!SWIG_IsOK(res1)) {
8549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8550 }
8551 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8552 {
8553 PyThreadState* __tstate = wxPyBeginAllowThreads();
8554 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 resultobj = SWIG_From_long(static_cast< long >(result));
8559 return resultobj;
8560 fail:
8561 return NULL;
8562 }
8563
8564
8565 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8566 PyObject *resultobj = 0;
8567 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8568 wxSplashScreenWindow *result = 0 ;
8569 void *argp1 = 0 ;
8570 int res1 = 0 ;
8571 PyObject *swig_obj[1] ;
8572
8573 if (!args) SWIG_fail;
8574 swig_obj[0] = args;
8575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8576 if (!SWIG_IsOK(res1)) {
8577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8578 }
8579 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8587 return resultobj;
8588 fail:
8589 return NULL;
8590 }
8591
8592
8593 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8594 PyObject *resultobj = 0;
8595 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8596 int result;
8597 void *argp1 = 0 ;
8598 int res1 = 0 ;
8599 PyObject *swig_obj[1] ;
8600
8601 if (!args) SWIG_fail;
8602 swig_obj[0] = args;
8603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8604 if (!SWIG_IsOK(res1)) {
8605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8606 }
8607 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8608 {
8609 PyThreadState* __tstate = wxPyBeginAllowThreads();
8610 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8611 wxPyEndAllowThreads(__tstate);
8612 if (PyErr_Occurred()) SWIG_fail;
8613 }
8614 resultobj = SWIG_From_int(static_cast< int >(result));
8615 return resultobj;
8616 fail:
8617 return NULL;
8618 }
8619
8620
8621 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8622 PyObject *obj;
8623 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8624 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8625 return SWIG_Py_Void();
8626 }
8627
8628 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8629 return SWIG_Python_InitShadowInstance(args);
8630 }
8631
8632 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj = 0;
8634 wxWindow *arg1 = (wxWindow *) 0 ;
8635 int arg2 = (int) -1 ;
8636 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8637 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8638 wxString *arg4 = (wxString *) &arg4_defvalue ;
8639 wxStatusBar *result = 0 ;
8640 void *argp1 = 0 ;
8641 int res1 = 0 ;
8642 int val2 ;
8643 int ecode2 = 0 ;
8644 long val3 ;
8645 int ecode3 = 0 ;
8646 bool temp4 = false ;
8647 PyObject * obj0 = 0 ;
8648 PyObject * obj1 = 0 ;
8649 PyObject * obj2 = 0 ;
8650 PyObject * obj3 = 0 ;
8651 char * kwnames[] = {
8652 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8653 };
8654
8655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8657 if (!SWIG_IsOK(res1)) {
8658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8659 }
8660 arg1 = reinterpret_cast< wxWindow * >(argp1);
8661 if (obj1) {
8662 ecode2 = SWIG_AsVal_int(obj1, &val2);
8663 if (!SWIG_IsOK(ecode2)) {
8664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8665 }
8666 arg2 = static_cast< int >(val2);
8667 }
8668 if (obj2) {
8669 ecode3 = SWIG_AsVal_long(obj2, &val3);
8670 if (!SWIG_IsOK(ecode3)) {
8671 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8672 }
8673 arg3 = static_cast< long >(val3);
8674 }
8675 if (obj3) {
8676 {
8677 arg4 = wxString_in_helper(obj3);
8678 if (arg4 == NULL) SWIG_fail;
8679 temp4 = true;
8680 }
8681 }
8682 {
8683 if (!wxPyCheckForApp()) SWIG_fail;
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8686 wxPyEndAllowThreads(__tstate);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
8689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8690 {
8691 if (temp4)
8692 delete arg4;
8693 }
8694 return resultobj;
8695 fail:
8696 {
8697 if (temp4)
8698 delete arg4;
8699 }
8700 return NULL;
8701 }
8702
8703
8704 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8705 PyObject *resultobj = 0;
8706 wxStatusBar *result = 0 ;
8707
8708 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8709 {
8710 if (!wxPyCheckForApp()) SWIG_fail;
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 result = (wxStatusBar *)new wxStatusBar();
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8717 return resultobj;
8718 fail:
8719 return NULL;
8720 }
8721
8722
8723 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8724 PyObject *resultobj = 0;
8725 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8726 wxWindow *arg2 = (wxWindow *) 0 ;
8727 int arg3 = (int) -1 ;
8728 long arg4 = (long) wxST_SIZEGRIP ;
8729 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8730 wxString *arg5 = (wxString *) &arg5_defvalue ;
8731 bool result;
8732 void *argp1 = 0 ;
8733 int res1 = 0 ;
8734 void *argp2 = 0 ;
8735 int res2 = 0 ;
8736 int val3 ;
8737 int ecode3 = 0 ;
8738 long val4 ;
8739 int ecode4 = 0 ;
8740 bool temp5 = false ;
8741 PyObject * obj0 = 0 ;
8742 PyObject * obj1 = 0 ;
8743 PyObject * obj2 = 0 ;
8744 PyObject * obj3 = 0 ;
8745 PyObject * obj4 = 0 ;
8746 char * kwnames[] = {
8747 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8748 };
8749
8750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8752 if (!SWIG_IsOK(res1)) {
8753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8754 }
8755 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8756 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8757 if (!SWIG_IsOK(res2)) {
8758 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8759 }
8760 arg2 = reinterpret_cast< wxWindow * >(argp2);
8761 if (obj2) {
8762 ecode3 = SWIG_AsVal_int(obj2, &val3);
8763 if (!SWIG_IsOK(ecode3)) {
8764 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8765 }
8766 arg3 = static_cast< int >(val3);
8767 }
8768 if (obj3) {
8769 ecode4 = SWIG_AsVal_long(obj3, &val4);
8770 if (!SWIG_IsOK(ecode4)) {
8771 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8772 }
8773 arg4 = static_cast< long >(val4);
8774 }
8775 if (obj4) {
8776 {
8777 arg5 = wxString_in_helper(obj4);
8778 if (arg5 == NULL) SWIG_fail;
8779 temp5 = true;
8780 }
8781 }
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 {
8789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8790 }
8791 {
8792 if (temp5)
8793 delete arg5;
8794 }
8795 return resultobj;
8796 fail:
8797 {
8798 if (temp5)
8799 delete arg5;
8800 }
8801 return NULL;
8802 }
8803
8804
8805 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8806 PyObject *resultobj = 0;
8807 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8808 int arg2 = (int) 1 ;
8809 void *argp1 = 0 ;
8810 int res1 = 0 ;
8811 int val2 ;
8812 int ecode2 = 0 ;
8813 PyObject * obj0 = 0 ;
8814 PyObject * obj1 = 0 ;
8815 char * kwnames[] = {
8816 (char *) "self",(char *) "number", NULL
8817 };
8818
8819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8821 if (!SWIG_IsOK(res1)) {
8822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8823 }
8824 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8825 if (obj1) {
8826 ecode2 = SWIG_AsVal_int(obj1, &val2);
8827 if (!SWIG_IsOK(ecode2)) {
8828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8829 }
8830 arg2 = static_cast< int >(val2);
8831 }
8832 {
8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
8834 (arg1)->SetFieldsCount(arg2);
8835 wxPyEndAllowThreads(__tstate);
8836 if (PyErr_Occurred()) SWIG_fail;
8837 }
8838 resultobj = SWIG_Py_Void();
8839 return resultobj;
8840 fail:
8841 return NULL;
8842 }
8843
8844
8845 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8846 PyObject *resultobj = 0;
8847 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8848 int result;
8849 void *argp1 = 0 ;
8850 int res1 = 0 ;
8851 PyObject *swig_obj[1] ;
8852
8853 if (!args) SWIG_fail;
8854 swig_obj[0] = args;
8855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8856 if (!SWIG_IsOK(res1)) {
8857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8858 }
8859 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
8866 resultobj = SWIG_From_int(static_cast< int >(result));
8867 return resultobj;
8868 fail:
8869 return NULL;
8870 }
8871
8872
8873 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj = 0;
8875 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8876 wxString *arg2 = 0 ;
8877 int arg3 = (int) 0 ;
8878 void *argp1 = 0 ;
8879 int res1 = 0 ;
8880 bool temp2 = false ;
8881 int val3 ;
8882 int ecode3 = 0 ;
8883 PyObject * obj0 = 0 ;
8884 PyObject * obj1 = 0 ;
8885 PyObject * obj2 = 0 ;
8886 char * kwnames[] = {
8887 (char *) "self",(char *) "text",(char *) "number", NULL
8888 };
8889
8890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8892 if (!SWIG_IsOK(res1)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8894 }
8895 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8896 {
8897 arg2 = wxString_in_helper(obj1);
8898 if (arg2 == NULL) SWIG_fail;
8899 temp2 = true;
8900 }
8901 if (obj2) {
8902 ecode3 = SWIG_AsVal_int(obj2, &val3);
8903 if (!SWIG_IsOK(ecode3)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8905 }
8906 arg3 = static_cast< int >(val3);
8907 }
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8911 wxPyEndAllowThreads(__tstate);
8912 if (PyErr_Occurred()) SWIG_fail;
8913 }
8914 resultobj = SWIG_Py_Void();
8915 {
8916 if (temp2)
8917 delete arg2;
8918 }
8919 return resultobj;
8920 fail:
8921 {
8922 if (temp2)
8923 delete arg2;
8924 }
8925 return NULL;
8926 }
8927
8928
8929 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj = 0;
8931 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8932 int arg2 = (int) 0 ;
8933 wxString result;
8934 void *argp1 = 0 ;
8935 int res1 = 0 ;
8936 int val2 ;
8937 int ecode2 = 0 ;
8938 PyObject * obj0 = 0 ;
8939 PyObject * obj1 = 0 ;
8940 char * kwnames[] = {
8941 (char *) "self",(char *) "number", NULL
8942 };
8943
8944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8946 if (!SWIG_IsOK(res1)) {
8947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8948 }
8949 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8950 if (obj1) {
8951 ecode2 = SWIG_AsVal_int(obj1, &val2);
8952 if (!SWIG_IsOK(ecode2)) {
8953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8954 }
8955 arg2 = static_cast< int >(val2);
8956 }
8957 {
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
8959 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
8963 {
8964 #if wxUSE_UNICODE
8965 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8966 #else
8967 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8968 #endif
8969 }
8970 return resultobj;
8971 fail:
8972 return NULL;
8973 }
8974
8975
8976 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8977 PyObject *resultobj = 0;
8978 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8979 wxString *arg2 = 0 ;
8980 int arg3 = (int) 0 ;
8981 void *argp1 = 0 ;
8982 int res1 = 0 ;
8983 bool temp2 = false ;
8984 int val3 ;
8985 int ecode3 = 0 ;
8986 PyObject * obj0 = 0 ;
8987 PyObject * obj1 = 0 ;
8988 PyObject * obj2 = 0 ;
8989 char * kwnames[] = {
8990 (char *) "self",(char *) "text",(char *) "number", NULL
8991 };
8992
8993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8995 if (!SWIG_IsOK(res1)) {
8996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8997 }
8998 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8999 {
9000 arg2 = wxString_in_helper(obj1);
9001 if (arg2 == NULL) SWIG_fail;
9002 temp2 = true;
9003 }
9004 if (obj2) {
9005 ecode3 = SWIG_AsVal_int(obj2, &val3);
9006 if (!SWIG_IsOK(ecode3)) {
9007 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9008 }
9009 arg3 = static_cast< int >(val3);
9010 }
9011 {
9012 PyThreadState* __tstate = wxPyBeginAllowThreads();
9013 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9014 wxPyEndAllowThreads(__tstate);
9015 if (PyErr_Occurred()) SWIG_fail;
9016 }
9017 resultobj = SWIG_Py_Void();
9018 {
9019 if (temp2)
9020 delete arg2;
9021 }
9022 return resultobj;
9023 fail:
9024 {
9025 if (temp2)
9026 delete arg2;
9027 }
9028 return NULL;
9029 }
9030
9031
9032 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9033 PyObject *resultobj = 0;
9034 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9035 int arg2 = (int) 0 ;
9036 void *argp1 = 0 ;
9037 int res1 = 0 ;
9038 int val2 ;
9039 int ecode2 = 0 ;
9040 PyObject * obj0 = 0 ;
9041 PyObject * obj1 = 0 ;
9042 char * kwnames[] = {
9043 (char *) "self",(char *) "number", NULL
9044 };
9045
9046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9048 if (!SWIG_IsOK(res1)) {
9049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9050 }
9051 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9052 if (obj1) {
9053 ecode2 = SWIG_AsVal_int(obj1, &val2);
9054 if (!SWIG_IsOK(ecode2)) {
9055 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9056 }
9057 arg2 = static_cast< int >(val2);
9058 }
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 (arg1)->PopStatusText(arg2);
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 resultobj = SWIG_Py_Void();
9066 return resultobj;
9067 fail:
9068 return NULL;
9069 }
9070
9071
9072 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj = 0;
9074 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9075 int arg2 ;
9076 int *arg3 = (int *) 0 ;
9077 void *argp1 = 0 ;
9078 int res1 = 0 ;
9079 PyObject * obj0 = 0 ;
9080 PyObject * obj1 = 0 ;
9081 char * kwnames[] = {
9082 (char *) "self",(char *) "widths", NULL
9083 };
9084
9085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9087 if (!SWIG_IsOK(res1)) {
9088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9089 }
9090 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9091 {
9092 arg2 = PyList_Size(obj1);
9093 arg3 = int_LIST_helper(obj1);
9094 if (arg3 == NULL) SWIG_fail;
9095 }
9096 {
9097 PyThreadState* __tstate = wxPyBeginAllowThreads();
9098 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9099 wxPyEndAllowThreads(__tstate);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 }
9102 resultobj = SWIG_Py_Void();
9103 {
9104 if (arg3) delete [] arg3;
9105 }
9106 return resultobj;
9107 fail:
9108 {
9109 if (arg3) delete [] arg3;
9110 }
9111 return NULL;
9112 }
9113
9114
9115 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9116 PyObject *resultobj = 0;
9117 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9118 int arg2 ;
9119 int *arg3 = (int *) 0 ;
9120 void *argp1 = 0 ;
9121 int res1 = 0 ;
9122 PyObject * obj0 = 0 ;
9123 PyObject * obj1 = 0 ;
9124 char * kwnames[] = {
9125 (char *) "self",(char *) "styles", NULL
9126 };
9127
9128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9130 if (!SWIG_IsOK(res1)) {
9131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9132 }
9133 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9134 {
9135 arg2 = PyList_Size(obj1);
9136 arg3 = int_LIST_helper(obj1);
9137 if (arg3 == NULL) SWIG_fail;
9138 }
9139 {
9140 PyThreadState* __tstate = wxPyBeginAllowThreads();
9141 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 resultobj = SWIG_Py_Void();
9146 {
9147 if (arg3) delete [] arg3;
9148 }
9149 return resultobj;
9150 fail:
9151 {
9152 if (arg3) delete [] arg3;
9153 }
9154 return NULL;
9155 }
9156
9157
9158 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9159 PyObject *resultobj = 0;
9160 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9161 int arg2 ;
9162 wxRect result;
9163 void *argp1 = 0 ;
9164 int res1 = 0 ;
9165 int val2 ;
9166 int ecode2 = 0 ;
9167 PyObject * obj0 = 0 ;
9168 PyObject * obj1 = 0 ;
9169 char * kwnames[] = {
9170 (char *) "self",(char *) "i", NULL
9171 };
9172
9173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9175 if (!SWIG_IsOK(res1)) {
9176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9177 }
9178 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9179 ecode2 = SWIG_AsVal_int(obj1, &val2);
9180 if (!SWIG_IsOK(ecode2)) {
9181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9182 }
9183 arg2 = static_cast< int >(val2);
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 result = wxStatusBar_GetFieldRect(arg1,arg2);
9187 wxPyEndAllowThreads(__tstate);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
9190 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9191 return resultobj;
9192 fail:
9193 return NULL;
9194 }
9195
9196
9197 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9198 PyObject *resultobj = 0;
9199 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9200 int arg2 ;
9201 void *argp1 = 0 ;
9202 int res1 = 0 ;
9203 int val2 ;
9204 int ecode2 = 0 ;
9205 PyObject * obj0 = 0 ;
9206 PyObject * obj1 = 0 ;
9207 char * kwnames[] = {
9208 (char *) "self",(char *) "height", NULL
9209 };
9210
9211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9213 if (!SWIG_IsOK(res1)) {
9214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9215 }
9216 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9217 ecode2 = SWIG_AsVal_int(obj1, &val2);
9218 if (!SWIG_IsOK(ecode2)) {
9219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9220 }
9221 arg2 = static_cast< int >(val2);
9222 {
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 (arg1)->SetMinHeight(arg2);
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 resultobj = SWIG_Py_Void();
9229 return resultobj;
9230 fail:
9231 return NULL;
9232 }
9233
9234
9235 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9236 PyObject *resultobj = 0;
9237 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9238 int result;
9239 void *argp1 = 0 ;
9240 int res1 = 0 ;
9241 PyObject *swig_obj[1] ;
9242
9243 if (!args) SWIG_fail;
9244 swig_obj[0] = args;
9245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9246 if (!SWIG_IsOK(res1)) {
9247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9248 }
9249 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 resultobj = SWIG_From_int(static_cast< int >(result));
9257 return resultobj;
9258 fail:
9259 return NULL;
9260 }
9261
9262
9263 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9264 PyObject *resultobj = 0;
9265 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9266 int result;
9267 void *argp1 = 0 ;
9268 int res1 = 0 ;
9269 PyObject *swig_obj[1] ;
9270
9271 if (!args) SWIG_fail;
9272 swig_obj[0] = args;
9273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9274 if (!SWIG_IsOK(res1)) {
9275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9276 }
9277 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 resultobj = SWIG_From_int(static_cast< int >(result));
9285 return resultobj;
9286 fail:
9287 return NULL;
9288 }
9289
9290
9291 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9292 PyObject *resultobj = 0;
9293 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9294 SwigValueWrapper<wxVisualAttributes > result;
9295 int val1 ;
9296 int ecode1 = 0 ;
9297 PyObject * obj0 = 0 ;
9298 char * kwnames[] = {
9299 (char *) "variant", NULL
9300 };
9301
9302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9303 if (obj0) {
9304 ecode1 = SWIG_AsVal_int(obj0, &val1);
9305 if (!SWIG_IsOK(ecode1)) {
9306 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9307 }
9308 arg1 = static_cast< wxWindowVariant >(val1);
9309 }
9310 {
9311 if (!wxPyCheckForApp()) SWIG_fail;
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
9317 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9318 return resultobj;
9319 fail:
9320 return NULL;
9321 }
9322
9323
9324 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9325 PyObject *obj;
9326 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9327 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9328 return SWIG_Py_Void();
9329 }
9330
9331 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9332 return SWIG_Python_InitShadowInstance(args);
9333 }
9334
9335 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9336 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9337 return 1;
9338 }
9339
9340
9341 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9342 PyObject *pyobj = 0;
9343
9344 {
9345 #if wxUSE_UNICODE
9346 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9347 #else
9348 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9349 #endif
9350 }
9351 return pyobj;
9352 }
9353
9354
9355 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9356 PyObject *resultobj = 0;
9357 wxWindow *arg1 = (wxWindow *) 0 ;
9358 int arg2 = (int) -1 ;
9359 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9360 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9361 wxSize const &arg4_defvalue = wxDefaultSize ;
9362 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9363 long arg5 = (long) wxSP_3D ;
9364 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9365 wxString *arg6 = (wxString *) &arg6_defvalue ;
9366 wxSplitterWindow *result = 0 ;
9367 void *argp1 = 0 ;
9368 int res1 = 0 ;
9369 int val2 ;
9370 int ecode2 = 0 ;
9371 wxPoint temp3 ;
9372 wxSize temp4 ;
9373 long val5 ;
9374 int ecode5 = 0 ;
9375 bool temp6 = false ;
9376 PyObject * obj0 = 0 ;
9377 PyObject * obj1 = 0 ;
9378 PyObject * obj2 = 0 ;
9379 PyObject * obj3 = 0 ;
9380 PyObject * obj4 = 0 ;
9381 PyObject * obj5 = 0 ;
9382 char * kwnames[] = {
9383 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9384 };
9385
9386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9388 if (!SWIG_IsOK(res1)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9390 }
9391 arg1 = reinterpret_cast< wxWindow * >(argp1);
9392 if (obj1) {
9393 ecode2 = SWIG_AsVal_int(obj1, &val2);
9394 if (!SWIG_IsOK(ecode2)) {
9395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9396 }
9397 arg2 = static_cast< int >(val2);
9398 }
9399 if (obj2) {
9400 {
9401 arg3 = &temp3;
9402 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9403 }
9404 }
9405 if (obj3) {
9406 {
9407 arg4 = &temp4;
9408 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9409 }
9410 }
9411 if (obj4) {
9412 ecode5 = SWIG_AsVal_long(obj4, &val5);
9413 if (!SWIG_IsOK(ecode5)) {
9414 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9415 }
9416 arg5 = static_cast< long >(val5);
9417 }
9418 if (obj5) {
9419 {
9420 arg6 = wxString_in_helper(obj5);
9421 if (arg6 == NULL) SWIG_fail;
9422 temp6 = true;
9423 }
9424 }
9425 {
9426 if (!wxPyCheckForApp()) SWIG_fail;
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9429 wxPyEndAllowThreads(__tstate);
9430 if (PyErr_Occurred()) SWIG_fail;
9431 }
9432 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9433 {
9434 if (temp6)
9435 delete arg6;
9436 }
9437 return resultobj;
9438 fail:
9439 {
9440 if (temp6)
9441 delete arg6;
9442 }
9443 return NULL;
9444 }
9445
9446
9447 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9448 PyObject *resultobj = 0;
9449 wxSplitterWindow *result = 0 ;
9450
9451 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9452 {
9453 if (!wxPyCheckForApp()) SWIG_fail;
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 result = (wxSplitterWindow *)new wxSplitterWindow();
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9460 return resultobj;
9461 fail:
9462 return NULL;
9463 }
9464
9465
9466 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9467 PyObject *resultobj = 0;
9468 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9469 wxWindow *arg2 = (wxWindow *) 0 ;
9470 int arg3 = (int) -1 ;
9471 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9472 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9473 wxSize const &arg5_defvalue = wxDefaultSize ;
9474 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9475 long arg6 = (long) wxSP_3D ;
9476 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9477 wxString *arg7 = (wxString *) &arg7_defvalue ;
9478 bool result;
9479 void *argp1 = 0 ;
9480 int res1 = 0 ;
9481 void *argp2 = 0 ;
9482 int res2 = 0 ;
9483 int val3 ;
9484 int ecode3 = 0 ;
9485 wxPoint temp4 ;
9486 wxSize temp5 ;
9487 long val6 ;
9488 int ecode6 = 0 ;
9489 bool temp7 = false ;
9490 PyObject * obj0 = 0 ;
9491 PyObject * obj1 = 0 ;
9492 PyObject * obj2 = 0 ;
9493 PyObject * obj3 = 0 ;
9494 PyObject * obj4 = 0 ;
9495 PyObject * obj5 = 0 ;
9496 PyObject * obj6 = 0 ;
9497 char * kwnames[] = {
9498 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9499 };
9500
9501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9503 if (!SWIG_IsOK(res1)) {
9504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9505 }
9506 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9507 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9508 if (!SWIG_IsOK(res2)) {
9509 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9510 }
9511 arg2 = reinterpret_cast< wxWindow * >(argp2);
9512 if (obj2) {
9513 ecode3 = SWIG_AsVal_int(obj2, &val3);
9514 if (!SWIG_IsOK(ecode3)) {
9515 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9516 }
9517 arg3 = static_cast< int >(val3);
9518 }
9519 if (obj3) {
9520 {
9521 arg4 = &temp4;
9522 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9523 }
9524 }
9525 if (obj4) {
9526 {
9527 arg5 = &temp5;
9528 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9529 }
9530 }
9531 if (obj5) {
9532 ecode6 = SWIG_AsVal_long(obj5, &val6);
9533 if (!SWIG_IsOK(ecode6)) {
9534 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9535 }
9536 arg6 = static_cast< long >(val6);
9537 }
9538 if (obj6) {
9539 {
9540 arg7 = wxString_in_helper(obj6);
9541 if (arg7 == NULL) SWIG_fail;
9542 temp7 = true;
9543 }
9544 }
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 {
9552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9553 }
9554 {
9555 if (temp7)
9556 delete arg7;
9557 }
9558 return resultobj;
9559 fail:
9560 {
9561 if (temp7)
9562 delete arg7;
9563 }
9564 return NULL;
9565 }
9566
9567
9568 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9569 PyObject *resultobj = 0;
9570 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9571 wxWindow *result = 0 ;
9572 void *argp1 = 0 ;
9573 int res1 = 0 ;
9574 PyObject *swig_obj[1] ;
9575
9576 if (!args) SWIG_fail;
9577 swig_obj[0] = args;
9578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9579 if (!SWIG_IsOK(res1)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9581 }
9582 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 {
9590 resultobj = wxPyMake_wxObject(result, 0);
9591 }
9592 return resultobj;
9593 fail:
9594 return NULL;
9595 }
9596
9597
9598 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9599 PyObject *resultobj = 0;
9600 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9601 wxWindow *result = 0 ;
9602 void *argp1 = 0 ;
9603 int res1 = 0 ;
9604 PyObject *swig_obj[1] ;
9605
9606 if (!args) SWIG_fail;
9607 swig_obj[0] = args;
9608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9609 if (!SWIG_IsOK(res1)) {
9610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9611 }
9612 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9613 {
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 {
9620 resultobj = wxPyMake_wxObject(result, 0);
9621 }
9622 return resultobj;
9623 fail:
9624 return NULL;
9625 }
9626
9627
9628 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9629 PyObject *resultobj = 0;
9630 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9631 int arg2 ;
9632 void *argp1 = 0 ;
9633 int res1 = 0 ;
9634 int val2 ;
9635 int ecode2 = 0 ;
9636 PyObject * obj0 = 0 ;
9637 PyObject * obj1 = 0 ;
9638 char * kwnames[] = {
9639 (char *) "self",(char *) "mode", NULL
9640 };
9641
9642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9644 if (!SWIG_IsOK(res1)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9646 }
9647 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9648 ecode2 = SWIG_AsVal_int(obj1, &val2);
9649 if (!SWIG_IsOK(ecode2)) {
9650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9651 }
9652 arg2 = static_cast< int >(val2);
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 (arg1)->SetSplitMode(arg2);
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 resultobj = SWIG_Py_Void();
9660 return resultobj;
9661 fail:
9662 return NULL;
9663 }
9664
9665
9666 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9667 PyObject *resultobj = 0;
9668 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9669 wxSplitMode result;
9670 void *argp1 = 0 ;
9671 int res1 = 0 ;
9672 PyObject *swig_obj[1] ;
9673
9674 if (!args) SWIG_fail;
9675 swig_obj[0] = args;
9676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9677 if (!SWIG_IsOK(res1)) {
9678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9679 }
9680 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9681 {
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 resultobj = SWIG_From_int(static_cast< int >(result));
9688 return resultobj;
9689 fail:
9690 return NULL;
9691 }
9692
9693
9694 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj = 0;
9696 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9697 wxWindow *arg2 = (wxWindow *) 0 ;
9698 void *argp1 = 0 ;
9699 int res1 = 0 ;
9700 void *argp2 = 0 ;
9701 int res2 = 0 ;
9702 PyObject * obj0 = 0 ;
9703 PyObject * obj1 = 0 ;
9704 char * kwnames[] = {
9705 (char *) "self",(char *) "window", NULL
9706 };
9707
9708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9710 if (!SWIG_IsOK(res1)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9712 }
9713 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9714 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9715 if (!SWIG_IsOK(res2)) {
9716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9717 }
9718 arg2 = reinterpret_cast< wxWindow * >(argp2);
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 (arg1)->Initialize(arg2);
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 resultobj = SWIG_Py_Void();
9726 return resultobj;
9727 fail:
9728 return NULL;
9729 }
9730
9731
9732 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj = 0;
9734 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9735 wxWindow *arg2 = (wxWindow *) 0 ;
9736 wxWindow *arg3 = (wxWindow *) 0 ;
9737 int arg4 = (int) 0 ;
9738 bool result;
9739 void *argp1 = 0 ;
9740 int res1 = 0 ;
9741 void *argp2 = 0 ;
9742 int res2 = 0 ;
9743 void *argp3 = 0 ;
9744 int res3 = 0 ;
9745 int val4 ;
9746 int ecode4 = 0 ;
9747 PyObject * obj0 = 0 ;
9748 PyObject * obj1 = 0 ;
9749 PyObject * obj2 = 0 ;
9750 PyObject * obj3 = 0 ;
9751 char * kwnames[] = {
9752 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9753 };
9754
9755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9757 if (!SWIG_IsOK(res1)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9759 }
9760 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9761 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9762 if (!SWIG_IsOK(res2)) {
9763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9764 }
9765 arg2 = reinterpret_cast< wxWindow * >(argp2);
9766 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9767 if (!SWIG_IsOK(res3)) {
9768 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9769 }
9770 arg3 = reinterpret_cast< wxWindow * >(argp3);
9771 if (obj3) {
9772 ecode4 = SWIG_AsVal_int(obj3, &val4);
9773 if (!SWIG_IsOK(ecode4)) {
9774 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9775 }
9776 arg4 = static_cast< int >(val4);
9777 }
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9781 wxPyEndAllowThreads(__tstate);
9782 if (PyErr_Occurred()) SWIG_fail;
9783 }
9784 {
9785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9786 }
9787 return resultobj;
9788 fail:
9789 return NULL;
9790 }
9791
9792
9793 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9794 PyObject *resultobj = 0;
9795 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9796 wxWindow *arg2 = (wxWindow *) 0 ;
9797 wxWindow *arg3 = (wxWindow *) 0 ;
9798 int arg4 = (int) 0 ;
9799 bool result;
9800 void *argp1 = 0 ;
9801 int res1 = 0 ;
9802 void *argp2 = 0 ;
9803 int res2 = 0 ;
9804 void *argp3 = 0 ;
9805 int res3 = 0 ;
9806 int val4 ;
9807 int ecode4 = 0 ;
9808 PyObject * obj0 = 0 ;
9809 PyObject * obj1 = 0 ;
9810 PyObject * obj2 = 0 ;
9811 PyObject * obj3 = 0 ;
9812 char * kwnames[] = {
9813 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9814 };
9815
9816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9818 if (!SWIG_IsOK(res1)) {
9819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9820 }
9821 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9822 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9823 if (!SWIG_IsOK(res2)) {
9824 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9825 }
9826 arg2 = reinterpret_cast< wxWindow * >(argp2);
9827 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9828 if (!SWIG_IsOK(res3)) {
9829 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9830 }
9831 arg3 = reinterpret_cast< wxWindow * >(argp3);
9832 if (obj3) {
9833 ecode4 = SWIG_AsVal_int(obj3, &val4);
9834 if (!SWIG_IsOK(ecode4)) {
9835 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9836 }
9837 arg4 = static_cast< int >(val4);
9838 }
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9842 wxPyEndAllowThreads(__tstate);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 }
9845 {
9846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9847 }
9848 return resultobj;
9849 fail:
9850 return NULL;
9851 }
9852
9853
9854 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9855 PyObject *resultobj = 0;
9856 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9857 wxWindow *arg2 = (wxWindow *) NULL ;
9858 bool result;
9859 void *argp1 = 0 ;
9860 int res1 = 0 ;
9861 void *argp2 = 0 ;
9862 int res2 = 0 ;
9863 PyObject * obj0 = 0 ;
9864 PyObject * obj1 = 0 ;
9865 char * kwnames[] = {
9866 (char *) "self",(char *) "toRemove", NULL
9867 };
9868
9869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9871 if (!SWIG_IsOK(res1)) {
9872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9873 }
9874 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9875 if (obj1) {
9876 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9877 if (!SWIG_IsOK(res2)) {
9878 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9879 }
9880 arg2 = reinterpret_cast< wxWindow * >(argp2);
9881 }
9882 {
9883 PyThreadState* __tstate = wxPyBeginAllowThreads();
9884 result = (bool)(arg1)->Unsplit(arg2);
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 {
9889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9890 }
9891 return resultobj;
9892 fail:
9893 return NULL;
9894 }
9895
9896
9897 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9898 PyObject *resultobj = 0;
9899 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9900 wxWindow *arg2 = (wxWindow *) 0 ;
9901 wxWindow *arg3 = (wxWindow *) 0 ;
9902 bool result;
9903 void *argp1 = 0 ;
9904 int res1 = 0 ;
9905 void *argp2 = 0 ;
9906 int res2 = 0 ;
9907 void *argp3 = 0 ;
9908 int res3 = 0 ;
9909 PyObject * obj0 = 0 ;
9910 PyObject * obj1 = 0 ;
9911 PyObject * obj2 = 0 ;
9912 char * kwnames[] = {
9913 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9914 };
9915
9916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9918 if (!SWIG_IsOK(res1)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9920 }
9921 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9922 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9923 if (!SWIG_IsOK(res2)) {
9924 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9925 }
9926 arg2 = reinterpret_cast< wxWindow * >(argp2);
9927 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9928 if (!SWIG_IsOK(res3)) {
9929 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9930 }
9931 arg3 = reinterpret_cast< wxWindow * >(argp3);
9932 {
9933 PyThreadState* __tstate = wxPyBeginAllowThreads();
9934 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 {
9939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9940 }
9941 return resultobj;
9942 fail:
9943 return NULL;
9944 }
9945
9946
9947 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9948 PyObject *resultobj = 0;
9949 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9950 void *argp1 = 0 ;
9951 int res1 = 0 ;
9952 PyObject *swig_obj[1] ;
9953
9954 if (!args) SWIG_fail;
9955 swig_obj[0] = args;
9956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9957 if (!SWIG_IsOK(res1)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9959 }
9960 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 (arg1)->UpdateSize();
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 resultobj = SWIG_Py_Void();
9968 return resultobj;
9969 fail:
9970 return NULL;
9971 }
9972
9973
9974 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9975 PyObject *resultobj = 0;
9976 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9977 bool result;
9978 void *argp1 = 0 ;
9979 int res1 = 0 ;
9980 PyObject *swig_obj[1] ;
9981
9982 if (!args) SWIG_fail;
9983 swig_obj[0] = args;
9984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9985 if (!SWIG_IsOK(res1)) {
9986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9987 }
9988 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9989 {
9990 PyThreadState* __tstate = wxPyBeginAllowThreads();
9991 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 {
9996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9997 }
9998 return resultobj;
9999 fail:
10000 return NULL;
10001 }
10002
10003
10004 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj = 0;
10006 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10007 int arg2 ;
10008 void *argp1 = 0 ;
10009 int res1 = 0 ;
10010 int val2 ;
10011 int ecode2 = 0 ;
10012 PyObject * obj0 = 0 ;
10013 PyObject * obj1 = 0 ;
10014 char * kwnames[] = {
10015 (char *) "self",(char *) "width", NULL
10016 };
10017
10018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10020 if (!SWIG_IsOK(res1)) {
10021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10022 }
10023 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10024 ecode2 = SWIG_AsVal_int(obj1, &val2);
10025 if (!SWIG_IsOK(ecode2)) {
10026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10027 }
10028 arg2 = static_cast< int >(val2);
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
10031 (arg1)->SetSashSize(arg2);
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 resultobj = SWIG_Py_Void();
10036 return resultobj;
10037 fail:
10038 return NULL;
10039 }
10040
10041
10042 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10043 PyObject *resultobj = 0;
10044 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10045 int arg2 ;
10046 void *argp1 = 0 ;
10047 int res1 = 0 ;
10048 int val2 ;
10049 int ecode2 = 0 ;
10050 PyObject * obj0 = 0 ;
10051 PyObject * obj1 = 0 ;
10052 char * kwnames[] = {
10053 (char *) "self",(char *) "width", NULL
10054 };
10055
10056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10058 if (!SWIG_IsOK(res1)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10060 }
10061 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10062 ecode2 = SWIG_AsVal_int(obj1, &val2);
10063 if (!SWIG_IsOK(ecode2)) {
10064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10065 }
10066 arg2 = static_cast< int >(val2);
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 (arg1)->SetBorderSize(arg2);
10070 wxPyEndAllowThreads(__tstate);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 }
10073 resultobj = SWIG_Py_Void();
10074 return resultobj;
10075 fail:
10076 return NULL;
10077 }
10078
10079
10080 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10081 PyObject *resultobj = 0;
10082 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10083 int result;
10084 void *argp1 = 0 ;
10085 int res1 = 0 ;
10086 PyObject *swig_obj[1] ;
10087
10088 if (!args) SWIG_fail;
10089 swig_obj[0] = args;
10090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10091 if (!SWIG_IsOK(res1)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10093 }
10094 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 resultobj = SWIG_From_int(static_cast< int >(result));
10102 return resultobj;
10103 fail:
10104 return NULL;
10105 }
10106
10107
10108 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10109 PyObject *resultobj = 0;
10110 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10111 int result;
10112 void *argp1 = 0 ;
10113 int res1 = 0 ;
10114 PyObject *swig_obj[1] ;
10115
10116 if (!args) SWIG_fail;
10117 swig_obj[0] = args;
10118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10119 if (!SWIG_IsOK(res1)) {
10120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10121 }
10122 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10123 {
10124 PyThreadState* __tstate = wxPyBeginAllowThreads();
10125 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 resultobj = SWIG_From_int(static_cast< int >(result));
10130 return resultobj;
10131 fail:
10132 return NULL;
10133 }
10134
10135
10136 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10137 PyObject *resultobj = 0;
10138 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10139 int arg2 ;
10140 bool arg3 = (bool) true ;
10141 void *argp1 = 0 ;
10142 int res1 = 0 ;
10143 int val2 ;
10144 int ecode2 = 0 ;
10145 bool val3 ;
10146 int ecode3 = 0 ;
10147 PyObject * obj0 = 0 ;
10148 PyObject * obj1 = 0 ;
10149 PyObject * obj2 = 0 ;
10150 char * kwnames[] = {
10151 (char *) "self",(char *) "position",(char *) "redraw", NULL
10152 };
10153
10154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10156 if (!SWIG_IsOK(res1)) {
10157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10158 }
10159 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10160 ecode2 = SWIG_AsVal_int(obj1, &val2);
10161 if (!SWIG_IsOK(ecode2)) {
10162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10163 }
10164 arg2 = static_cast< int >(val2);
10165 if (obj2) {
10166 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10167 if (!SWIG_IsOK(ecode3)) {
10168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10169 }
10170 arg3 = static_cast< bool >(val3);
10171 }
10172 {
10173 PyThreadState* __tstate = wxPyBeginAllowThreads();
10174 (arg1)->SetSashPosition(arg2,arg3);
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 resultobj = SWIG_Py_Void();
10179 return resultobj;
10180 fail:
10181 return NULL;
10182 }
10183
10184
10185 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10186 PyObject *resultobj = 0;
10187 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10188 int result;
10189 void *argp1 = 0 ;
10190 int res1 = 0 ;
10191 PyObject *swig_obj[1] ;
10192
10193 if (!args) SWIG_fail;
10194 swig_obj[0] = args;
10195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10196 if (!SWIG_IsOK(res1)) {
10197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10198 }
10199 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10200 {
10201 PyThreadState* __tstate = wxPyBeginAllowThreads();
10202 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 resultobj = SWIG_From_int(static_cast< int >(result));
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj = 0;
10215 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10216 double arg2 ;
10217 void *argp1 = 0 ;
10218 int res1 = 0 ;
10219 double val2 ;
10220 int ecode2 = 0 ;
10221 PyObject * obj0 = 0 ;
10222 PyObject * obj1 = 0 ;
10223 char * kwnames[] = {
10224 (char *) "self",(char *) "gravity", NULL
10225 };
10226
10227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10229 if (!SWIG_IsOK(res1)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10231 }
10232 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10233 ecode2 = SWIG_AsVal_double(obj1, &val2);
10234 if (!SWIG_IsOK(ecode2)) {
10235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10236 }
10237 arg2 = static_cast< double >(val2);
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 (arg1)->SetSashGravity(arg2);
10241 wxPyEndAllowThreads(__tstate);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 }
10244 resultobj = SWIG_Py_Void();
10245 return resultobj;
10246 fail:
10247 return NULL;
10248 }
10249
10250
10251 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10252 PyObject *resultobj = 0;
10253 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10254 double result;
10255 void *argp1 = 0 ;
10256 int res1 = 0 ;
10257 PyObject *swig_obj[1] ;
10258
10259 if (!args) SWIG_fail;
10260 swig_obj[0] = args;
10261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10262 if (!SWIG_IsOK(res1)) {
10263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10264 }
10265 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
10272 resultobj = SWIG_From_double(static_cast< double >(result));
10273 return resultobj;
10274 fail:
10275 return NULL;
10276 }
10277
10278
10279 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10280 PyObject *resultobj = 0;
10281 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10282 int arg2 ;
10283 void *argp1 = 0 ;
10284 int res1 = 0 ;
10285 int val2 ;
10286 int ecode2 = 0 ;
10287 PyObject * obj0 = 0 ;
10288 PyObject * obj1 = 0 ;
10289 char * kwnames[] = {
10290 (char *) "self",(char *) "min", NULL
10291 };
10292
10293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10295 if (!SWIG_IsOK(res1)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10297 }
10298 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10299 ecode2 = SWIG_AsVal_int(obj1, &val2);
10300 if (!SWIG_IsOK(ecode2)) {
10301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10302 }
10303 arg2 = static_cast< int >(val2);
10304 {
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
10306 (arg1)->SetMinimumPaneSize(arg2);
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 resultobj = SWIG_Py_Void();
10311 return resultobj;
10312 fail:
10313 return NULL;
10314 }
10315
10316
10317 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10318 PyObject *resultobj = 0;
10319 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10320 int result;
10321 void *argp1 = 0 ;
10322 int res1 = 0 ;
10323 PyObject *swig_obj[1] ;
10324
10325 if (!args) SWIG_fail;
10326 swig_obj[0] = args;
10327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10328 if (!SWIG_IsOK(res1)) {
10329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10330 }
10331 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10332 {
10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
10334 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 resultobj = SWIG_From_int(static_cast< int >(result));
10339 return resultobj;
10340 fail:
10341 return NULL;
10342 }
10343
10344
10345 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10346 PyObject *resultobj = 0;
10347 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10348 int arg2 ;
10349 int arg3 ;
10350 int arg4 = (int) 5 ;
10351 bool result;
10352 void *argp1 = 0 ;
10353 int res1 = 0 ;
10354 int val2 ;
10355 int ecode2 = 0 ;
10356 int val3 ;
10357 int ecode3 = 0 ;
10358 int val4 ;
10359 int ecode4 = 0 ;
10360 PyObject * obj0 = 0 ;
10361 PyObject * obj1 = 0 ;
10362 PyObject * obj2 = 0 ;
10363 PyObject * obj3 = 0 ;
10364 char * kwnames[] = {
10365 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10366 };
10367
10368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10370 if (!SWIG_IsOK(res1)) {
10371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10372 }
10373 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10374 ecode2 = SWIG_AsVal_int(obj1, &val2);
10375 if (!SWIG_IsOK(ecode2)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10377 }
10378 arg2 = static_cast< int >(val2);
10379 ecode3 = SWIG_AsVal_int(obj2, &val3);
10380 if (!SWIG_IsOK(ecode3)) {
10381 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10382 }
10383 arg3 = static_cast< int >(val3);
10384 if (obj3) {
10385 ecode4 = SWIG_AsVal_int(obj3, &val4);
10386 if (!SWIG_IsOK(ecode4)) {
10387 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10388 }
10389 arg4 = static_cast< int >(val4);
10390 }
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 {
10398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10399 }
10400 return resultobj;
10401 fail:
10402 return NULL;
10403 }
10404
10405
10406 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10407 PyObject *resultobj = 0;
10408 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10409 void *argp1 = 0 ;
10410 int res1 = 0 ;
10411 PyObject *swig_obj[1] ;
10412
10413 if (!args) SWIG_fail;
10414 swig_obj[0] = args;
10415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10416 if (!SWIG_IsOK(res1)) {
10417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10418 }
10419 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10420 {
10421 PyThreadState* __tstate = wxPyBeginAllowThreads();
10422 (arg1)->SizeWindows();
10423 wxPyEndAllowThreads(__tstate);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 }
10426 resultobj = SWIG_Py_Void();
10427 return resultobj;
10428 fail:
10429 return NULL;
10430 }
10431
10432
10433 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10434 PyObject *resultobj = 0;
10435 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10436 bool arg2 ;
10437 void *argp1 = 0 ;
10438 int res1 = 0 ;
10439 bool val2 ;
10440 int ecode2 = 0 ;
10441 PyObject * obj0 = 0 ;
10442 PyObject * obj1 = 0 ;
10443 char * kwnames[] = {
10444 (char *) "self",(char *) "needUpdating", NULL
10445 };
10446
10447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10449 if (!SWIG_IsOK(res1)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10451 }
10452 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10453 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10454 if (!SWIG_IsOK(ecode2)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10456 }
10457 arg2 = static_cast< bool >(val2);
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 (arg1)->SetNeedUpdating(arg2);
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 resultobj = SWIG_Py_Void();
10465 return resultobj;
10466 fail:
10467 return NULL;
10468 }
10469
10470
10471 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10472 PyObject *resultobj = 0;
10473 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10474 bool result;
10475 void *argp1 = 0 ;
10476 int res1 = 0 ;
10477 PyObject *swig_obj[1] ;
10478
10479 if (!args) SWIG_fail;
10480 swig_obj[0] = args;
10481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10482 if (!SWIG_IsOK(res1)) {
10483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10484 }
10485 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 {
10493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10494 }
10495 return resultobj;
10496 fail:
10497 return NULL;
10498 }
10499
10500
10501 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10502 PyObject *resultobj = 0;
10503 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10504 SwigValueWrapper<wxVisualAttributes > result;
10505 int val1 ;
10506 int ecode1 = 0 ;
10507 PyObject * obj0 = 0 ;
10508 char * kwnames[] = {
10509 (char *) "variant", NULL
10510 };
10511
10512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10513 if (obj0) {
10514 ecode1 = SWIG_AsVal_int(obj0, &val1);
10515 if (!SWIG_IsOK(ecode1)) {
10516 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10517 }
10518 arg1 = static_cast< wxWindowVariant >(val1);
10519 }
10520 {
10521 if (!wxPyCheckForApp()) SWIG_fail;
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10528 return resultobj;
10529 fail:
10530 return NULL;
10531 }
10532
10533
10534 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10535 PyObject *obj;
10536 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10537 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10538 return SWIG_Py_Void();
10539 }
10540
10541 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10542 return SWIG_Python_InitShadowInstance(args);
10543 }
10544
10545 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj = 0;
10547 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10548 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10549 wxSplitterEvent *result = 0 ;
10550 int val1 ;
10551 int ecode1 = 0 ;
10552 void *argp2 = 0 ;
10553 int res2 = 0 ;
10554 PyObject * obj0 = 0 ;
10555 PyObject * obj1 = 0 ;
10556 char * kwnames[] = {
10557 (char *) "type",(char *) "splitter", NULL
10558 };
10559
10560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10561 if (obj0) {
10562 ecode1 = SWIG_AsVal_int(obj0, &val1);
10563 if (!SWIG_IsOK(ecode1)) {
10564 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10565 }
10566 arg1 = static_cast< wxEventType >(val1);
10567 }
10568 if (obj1) {
10569 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10570 if (!SWIG_IsOK(res2)) {
10571 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10572 }
10573 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10574 }
10575 {
10576 PyThreadState* __tstate = wxPyBeginAllowThreads();
10577 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10578 wxPyEndAllowThreads(__tstate);
10579 if (PyErr_Occurred()) SWIG_fail;
10580 }
10581 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10582 return resultobj;
10583 fail:
10584 return NULL;
10585 }
10586
10587
10588 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10589 PyObject *resultobj = 0;
10590 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10591 int arg2 ;
10592 void *argp1 = 0 ;
10593 int res1 = 0 ;
10594 int val2 ;
10595 int ecode2 = 0 ;
10596 PyObject * obj0 = 0 ;
10597 PyObject * obj1 = 0 ;
10598 char * kwnames[] = {
10599 (char *) "self",(char *) "pos", NULL
10600 };
10601
10602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10604 if (!SWIG_IsOK(res1)) {
10605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10606 }
10607 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10608 ecode2 = SWIG_AsVal_int(obj1, &val2);
10609 if (!SWIG_IsOK(ecode2)) {
10610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10611 }
10612 arg2 = static_cast< int >(val2);
10613 {
10614 PyThreadState* __tstate = wxPyBeginAllowThreads();
10615 (arg1)->SetSashPosition(arg2);
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 resultobj = SWIG_Py_Void();
10620 return resultobj;
10621 fail:
10622 return NULL;
10623 }
10624
10625
10626 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10627 PyObject *resultobj = 0;
10628 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10629 int result;
10630 void *argp1 = 0 ;
10631 int res1 = 0 ;
10632 PyObject *swig_obj[1] ;
10633
10634 if (!args) SWIG_fail;
10635 swig_obj[0] = args;
10636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10637 if (!SWIG_IsOK(res1)) {
10638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10639 }
10640 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 resultobj = SWIG_From_int(static_cast< int >(result));
10648 return resultobj;
10649 fail:
10650 return NULL;
10651 }
10652
10653
10654 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10655 PyObject *resultobj = 0;
10656 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10657 wxWindow *result = 0 ;
10658 void *argp1 = 0 ;
10659 int res1 = 0 ;
10660 PyObject *swig_obj[1] ;
10661
10662 if (!args) SWIG_fail;
10663 swig_obj[0] = args;
10664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10665 if (!SWIG_IsOK(res1)) {
10666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10667 }
10668 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10672 wxPyEndAllowThreads(__tstate);
10673 if (PyErr_Occurred()) SWIG_fail;
10674 }
10675 {
10676 resultobj = wxPyMake_wxObject(result, 0);
10677 }
10678 return resultobj;
10679 fail:
10680 return NULL;
10681 }
10682
10683
10684 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10685 PyObject *resultobj = 0;
10686 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10687 int result;
10688 void *argp1 = 0 ;
10689 int res1 = 0 ;
10690 PyObject *swig_obj[1] ;
10691
10692 if (!args) SWIG_fail;
10693 swig_obj[0] = args;
10694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10695 if (!SWIG_IsOK(res1)) {
10696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10697 }
10698 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10702 wxPyEndAllowThreads(__tstate);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
10705 resultobj = SWIG_From_int(static_cast< int >(result));
10706 return resultobj;
10707 fail:
10708 return NULL;
10709 }
10710
10711
10712 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10713 PyObject *resultobj = 0;
10714 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10715 int result;
10716 void *argp1 = 0 ;
10717 int res1 = 0 ;
10718 PyObject *swig_obj[1] ;
10719
10720 if (!args) SWIG_fail;
10721 swig_obj[0] = args;
10722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10723 if (!SWIG_IsOK(res1)) {
10724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10725 }
10726 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10727 {
10728 PyThreadState* __tstate = wxPyBeginAllowThreads();
10729 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
10733 resultobj = SWIG_From_int(static_cast< int >(result));
10734 return resultobj;
10735 fail:
10736 return NULL;
10737 }
10738
10739
10740 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10741 PyObject *obj;
10742 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10743 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10744 return SWIG_Py_Void();
10745 }
10746
10747 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10748 return SWIG_Python_InitShadowInstance(args);
10749 }
10750
10751 SWIGINTERN int SashNameStr_set(PyObject *) {
10752 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10753 return 1;
10754 }
10755
10756
10757 SWIGINTERN PyObject *SashNameStr_get(void) {
10758 PyObject *pyobj = 0;
10759
10760 {
10761 #if wxUSE_UNICODE
10762 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10763 #else
10764 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10765 #endif
10766 }
10767 return pyobj;
10768 }
10769
10770
10771 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10772 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10773 return 1;
10774 }
10775
10776
10777 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10778 PyObject *pyobj = 0;
10779
10780 {
10781 #if wxUSE_UNICODE
10782 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10783 #else
10784 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10785 #endif
10786 }
10787 return pyobj;
10788 }
10789
10790
10791 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10792 PyObject *resultobj = 0;
10793 wxWindow *arg1 = (wxWindow *) 0 ;
10794 int arg2 = (int) -1 ;
10795 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10796 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10797 wxSize const &arg4_defvalue = wxDefaultSize ;
10798 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10799 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10800 wxString const &arg6_defvalue = wxPySashNameStr ;
10801 wxString *arg6 = (wxString *) &arg6_defvalue ;
10802 wxSashWindow *result = 0 ;
10803 void *argp1 = 0 ;
10804 int res1 = 0 ;
10805 int val2 ;
10806 int ecode2 = 0 ;
10807 wxPoint temp3 ;
10808 wxSize temp4 ;
10809 long val5 ;
10810 int ecode5 = 0 ;
10811 bool temp6 = false ;
10812 PyObject * obj0 = 0 ;
10813 PyObject * obj1 = 0 ;
10814 PyObject * obj2 = 0 ;
10815 PyObject * obj3 = 0 ;
10816 PyObject * obj4 = 0 ;
10817 PyObject * obj5 = 0 ;
10818 char * kwnames[] = {
10819 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10820 };
10821
10822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10824 if (!SWIG_IsOK(res1)) {
10825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10826 }
10827 arg1 = reinterpret_cast< wxWindow * >(argp1);
10828 if (obj1) {
10829 ecode2 = SWIG_AsVal_int(obj1, &val2);
10830 if (!SWIG_IsOK(ecode2)) {
10831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10832 }
10833 arg2 = static_cast< int >(val2);
10834 }
10835 if (obj2) {
10836 {
10837 arg3 = &temp3;
10838 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10839 }
10840 }
10841 if (obj3) {
10842 {
10843 arg4 = &temp4;
10844 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10845 }
10846 }
10847 if (obj4) {
10848 ecode5 = SWIG_AsVal_long(obj4, &val5);
10849 if (!SWIG_IsOK(ecode5)) {
10850 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10851 }
10852 arg5 = static_cast< long >(val5);
10853 }
10854 if (obj5) {
10855 {
10856 arg6 = wxString_in_helper(obj5);
10857 if (arg6 == NULL) SWIG_fail;
10858 temp6 = true;
10859 }
10860 }
10861 {
10862 if (!wxPyCheckForApp()) SWIG_fail;
10863 PyThreadState* __tstate = wxPyBeginAllowThreads();
10864 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
10868 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10869 {
10870 if (temp6)
10871 delete arg6;
10872 }
10873 return resultobj;
10874 fail:
10875 {
10876 if (temp6)
10877 delete arg6;
10878 }
10879 return NULL;
10880 }
10881
10882
10883 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10884 PyObject *resultobj = 0;
10885 wxSashWindow *result = 0 ;
10886
10887 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10888 {
10889 if (!wxPyCheckForApp()) SWIG_fail;
10890 PyThreadState* __tstate = wxPyBeginAllowThreads();
10891 result = (wxSashWindow *)new wxSashWindow();
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10896 return resultobj;
10897 fail:
10898 return NULL;
10899 }
10900
10901
10902 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj = 0;
10904 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10905 wxWindow *arg2 = (wxWindow *) 0 ;
10906 int arg3 = (int) -1 ;
10907 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10908 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10909 wxSize const &arg5_defvalue = wxDefaultSize ;
10910 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10911 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10912 wxString const &arg7_defvalue = wxPySashNameStr ;
10913 wxString *arg7 = (wxString *) &arg7_defvalue ;
10914 bool result;
10915 void *argp1 = 0 ;
10916 int res1 = 0 ;
10917 void *argp2 = 0 ;
10918 int res2 = 0 ;
10919 int val3 ;
10920 int ecode3 = 0 ;
10921 wxPoint temp4 ;
10922 wxSize temp5 ;
10923 long val6 ;
10924 int ecode6 = 0 ;
10925 bool temp7 = false ;
10926 PyObject * obj0 = 0 ;
10927 PyObject * obj1 = 0 ;
10928 PyObject * obj2 = 0 ;
10929 PyObject * obj3 = 0 ;
10930 PyObject * obj4 = 0 ;
10931 PyObject * obj5 = 0 ;
10932 PyObject * obj6 = 0 ;
10933 char * kwnames[] = {
10934 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10935 };
10936
10937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10939 if (!SWIG_IsOK(res1)) {
10940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10941 }
10942 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10943 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10944 if (!SWIG_IsOK(res2)) {
10945 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10946 }
10947 arg2 = reinterpret_cast< wxWindow * >(argp2);
10948 if (obj2) {
10949 ecode3 = SWIG_AsVal_int(obj2, &val3);
10950 if (!SWIG_IsOK(ecode3)) {
10951 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10952 }
10953 arg3 = static_cast< int >(val3);
10954 }
10955 if (obj3) {
10956 {
10957 arg4 = &temp4;
10958 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10959 }
10960 }
10961 if (obj4) {
10962 {
10963 arg5 = &temp5;
10964 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10965 }
10966 }
10967 if (obj5) {
10968 ecode6 = SWIG_AsVal_long(obj5, &val6);
10969 if (!SWIG_IsOK(ecode6)) {
10970 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10971 }
10972 arg6 = static_cast< long >(val6);
10973 }
10974 if (obj6) {
10975 {
10976 arg7 = wxString_in_helper(obj6);
10977 if (arg7 == NULL) SWIG_fail;
10978 temp7 = true;
10979 }
10980 }
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10984 wxPyEndAllowThreads(__tstate);
10985 if (PyErr_Occurred()) SWIG_fail;
10986 }
10987 {
10988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10989 }
10990 {
10991 if (temp7)
10992 delete arg7;
10993 }
10994 return resultobj;
10995 fail:
10996 {
10997 if (temp7)
10998 delete arg7;
10999 }
11000 return NULL;
11001 }
11002
11003
11004 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11005 PyObject *resultobj = 0;
11006 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11007 wxSashEdgePosition arg2 ;
11008 bool arg3 ;
11009 void *argp1 = 0 ;
11010 int res1 = 0 ;
11011 int val2 ;
11012 int ecode2 = 0 ;
11013 bool val3 ;
11014 int ecode3 = 0 ;
11015 PyObject * obj0 = 0 ;
11016 PyObject * obj1 = 0 ;
11017 PyObject * obj2 = 0 ;
11018 char * kwnames[] = {
11019 (char *) "self",(char *) "edge",(char *) "sash", NULL
11020 };
11021
11022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11024 if (!SWIG_IsOK(res1)) {
11025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11026 }
11027 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11028 ecode2 = SWIG_AsVal_int(obj1, &val2);
11029 if (!SWIG_IsOK(ecode2)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11031 }
11032 arg2 = static_cast< wxSashEdgePosition >(val2);
11033 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11034 if (!SWIG_IsOK(ecode3)) {
11035 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11036 }
11037 arg3 = static_cast< bool >(val3);
11038 {
11039 PyThreadState* __tstate = wxPyBeginAllowThreads();
11040 (arg1)->SetSashVisible(arg2,arg3);
11041 wxPyEndAllowThreads(__tstate);
11042 if (PyErr_Occurred()) SWIG_fail;
11043 }
11044 resultobj = SWIG_Py_Void();
11045 return resultobj;
11046 fail:
11047 return NULL;
11048 }
11049
11050
11051 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11052 PyObject *resultobj = 0;
11053 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11054 wxSashEdgePosition arg2 ;
11055 bool result;
11056 void *argp1 = 0 ;
11057 int res1 = 0 ;
11058 int val2 ;
11059 int ecode2 = 0 ;
11060 PyObject * obj0 = 0 ;
11061 PyObject * obj1 = 0 ;
11062 char * kwnames[] = {
11063 (char *) "self",(char *) "edge", NULL
11064 };
11065
11066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11068 if (!SWIG_IsOK(res1)) {
11069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11070 }
11071 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11072 ecode2 = SWIG_AsVal_int(obj1, &val2);
11073 if (!SWIG_IsOK(ecode2)) {
11074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11075 }
11076 arg2 = static_cast< wxSashEdgePosition >(val2);
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11080 wxPyEndAllowThreads(__tstate);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 {
11084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11085 }
11086 return resultobj;
11087 fail:
11088 return NULL;
11089 }
11090
11091
11092 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11093 PyObject *resultobj = 0;
11094 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11095 wxSashEdgePosition arg2 ;
11096 bool arg3 ;
11097 void *argp1 = 0 ;
11098 int res1 = 0 ;
11099 int val2 ;
11100 int ecode2 = 0 ;
11101 bool val3 ;
11102 int ecode3 = 0 ;
11103 PyObject * obj0 = 0 ;
11104 PyObject * obj1 = 0 ;
11105 PyObject * obj2 = 0 ;
11106 char * kwnames[] = {
11107 (char *) "self",(char *) "edge",(char *) "border", NULL
11108 };
11109
11110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11112 if (!SWIG_IsOK(res1)) {
11113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11114 }
11115 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11116 ecode2 = SWIG_AsVal_int(obj1, &val2);
11117 if (!SWIG_IsOK(ecode2)) {
11118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11119 }
11120 arg2 = static_cast< wxSashEdgePosition >(val2);
11121 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11122 if (!SWIG_IsOK(ecode3)) {
11123 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11124 }
11125 arg3 = static_cast< bool >(val3);
11126 {
11127 PyThreadState* __tstate = wxPyBeginAllowThreads();
11128 (arg1)->SetSashBorder(arg2,arg3);
11129 wxPyEndAllowThreads(__tstate);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 }
11132 resultobj = SWIG_Py_Void();
11133 return resultobj;
11134 fail:
11135 return NULL;
11136 }
11137
11138
11139 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11140 PyObject *resultobj = 0;
11141 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11142 wxSashEdgePosition arg2 ;
11143 bool result;
11144 void *argp1 = 0 ;
11145 int res1 = 0 ;
11146 int val2 ;
11147 int ecode2 = 0 ;
11148 PyObject * obj0 = 0 ;
11149 PyObject * obj1 = 0 ;
11150 char * kwnames[] = {
11151 (char *) "self",(char *) "edge", NULL
11152 };
11153
11154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11156 if (!SWIG_IsOK(res1)) {
11157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11158 }
11159 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11160 ecode2 = SWIG_AsVal_int(obj1, &val2);
11161 if (!SWIG_IsOK(ecode2)) {
11162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11163 }
11164 arg2 = static_cast< wxSashEdgePosition >(val2);
11165 {
11166 PyThreadState* __tstate = wxPyBeginAllowThreads();
11167 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11168 wxPyEndAllowThreads(__tstate);
11169 if (PyErr_Occurred()) SWIG_fail;
11170 }
11171 {
11172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11173 }
11174 return resultobj;
11175 fail:
11176 return NULL;
11177 }
11178
11179
11180 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11181 PyObject *resultobj = 0;
11182 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11183 wxSashEdgePosition arg2 ;
11184 int result;
11185 void *argp1 = 0 ;
11186 int res1 = 0 ;
11187 int val2 ;
11188 int ecode2 = 0 ;
11189 PyObject * obj0 = 0 ;
11190 PyObject * obj1 = 0 ;
11191 char * kwnames[] = {
11192 (char *) "self",(char *) "edge", NULL
11193 };
11194
11195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11197 if (!SWIG_IsOK(res1)) {
11198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11199 }
11200 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11201 ecode2 = SWIG_AsVal_int(obj1, &val2);
11202 if (!SWIG_IsOK(ecode2)) {
11203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11204 }
11205 arg2 = static_cast< wxSashEdgePosition >(val2);
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 resultobj = SWIG_From_int(static_cast< int >(result));
11213 return resultobj;
11214 fail:
11215 return NULL;
11216 }
11217
11218
11219 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj = 0;
11221 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11222 int arg2 ;
11223 void *argp1 = 0 ;
11224 int res1 = 0 ;
11225 int val2 ;
11226 int ecode2 = 0 ;
11227 PyObject * obj0 = 0 ;
11228 PyObject * obj1 = 0 ;
11229 char * kwnames[] = {
11230 (char *) "self",(char *) "width", NULL
11231 };
11232
11233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11235 if (!SWIG_IsOK(res1)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11237 }
11238 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11239 ecode2 = SWIG_AsVal_int(obj1, &val2);
11240 if (!SWIG_IsOK(ecode2)) {
11241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11242 }
11243 arg2 = static_cast< int >(val2);
11244 {
11245 PyThreadState* __tstate = wxPyBeginAllowThreads();
11246 (arg1)->SetDefaultBorderSize(arg2);
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 resultobj = SWIG_Py_Void();
11251 return resultobj;
11252 fail:
11253 return NULL;
11254 }
11255
11256
11257 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11258 PyObject *resultobj = 0;
11259 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11260 int result;
11261 void *argp1 = 0 ;
11262 int res1 = 0 ;
11263 PyObject *swig_obj[1] ;
11264
11265 if (!args) SWIG_fail;
11266 swig_obj[0] = args;
11267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11268 if (!SWIG_IsOK(res1)) {
11269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11270 }
11271 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11272 {
11273 PyThreadState* __tstate = wxPyBeginAllowThreads();
11274 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 resultobj = SWIG_From_int(static_cast< int >(result));
11279 return resultobj;
11280 fail:
11281 return NULL;
11282 }
11283
11284
11285 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11286 PyObject *resultobj = 0;
11287 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11288 int arg2 ;
11289 void *argp1 = 0 ;
11290 int res1 = 0 ;
11291 int val2 ;
11292 int ecode2 = 0 ;
11293 PyObject * obj0 = 0 ;
11294 PyObject * obj1 = 0 ;
11295 char * kwnames[] = {
11296 (char *) "self",(char *) "width", NULL
11297 };
11298
11299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11301 if (!SWIG_IsOK(res1)) {
11302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11303 }
11304 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11305 ecode2 = SWIG_AsVal_int(obj1, &val2);
11306 if (!SWIG_IsOK(ecode2)) {
11307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11308 }
11309 arg2 = static_cast< int >(val2);
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
11312 (arg1)->SetExtraBorderSize(arg2);
11313 wxPyEndAllowThreads(__tstate);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
11316 resultobj = SWIG_Py_Void();
11317 return resultobj;
11318 fail:
11319 return NULL;
11320 }
11321
11322
11323 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11324 PyObject *resultobj = 0;
11325 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11326 int result;
11327 void *argp1 = 0 ;
11328 int res1 = 0 ;
11329 PyObject *swig_obj[1] ;
11330
11331 if (!args) SWIG_fail;
11332 swig_obj[0] = args;
11333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11334 if (!SWIG_IsOK(res1)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11336 }
11337 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 resultobj = SWIG_From_int(static_cast< int >(result));
11345 return resultobj;
11346 fail:
11347 return NULL;
11348 }
11349
11350
11351 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11352 PyObject *resultobj = 0;
11353 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11354 int arg2 ;
11355 void *argp1 = 0 ;
11356 int res1 = 0 ;
11357 int val2 ;
11358 int ecode2 = 0 ;
11359 PyObject * obj0 = 0 ;
11360 PyObject * obj1 = 0 ;
11361 char * kwnames[] = {
11362 (char *) "self",(char *) "min", NULL
11363 };
11364
11365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11367 if (!SWIG_IsOK(res1)) {
11368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11369 }
11370 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11371 ecode2 = SWIG_AsVal_int(obj1, &val2);
11372 if (!SWIG_IsOK(ecode2)) {
11373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11374 }
11375 arg2 = static_cast< int >(val2);
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 (arg1)->SetMinimumSizeX(arg2);
11379 wxPyEndAllowThreads(__tstate);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
11382 resultobj = SWIG_Py_Void();
11383 return resultobj;
11384 fail:
11385 return NULL;
11386 }
11387
11388
11389 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11390 PyObject *resultobj = 0;
11391 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11392 int arg2 ;
11393 void *argp1 = 0 ;
11394 int res1 = 0 ;
11395 int val2 ;
11396 int ecode2 = 0 ;
11397 PyObject * obj0 = 0 ;
11398 PyObject * obj1 = 0 ;
11399 char * kwnames[] = {
11400 (char *) "self",(char *) "min", NULL
11401 };
11402
11403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11405 if (!SWIG_IsOK(res1)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11407 }
11408 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11409 ecode2 = SWIG_AsVal_int(obj1, &val2);
11410 if (!SWIG_IsOK(ecode2)) {
11411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11412 }
11413 arg2 = static_cast< int >(val2);
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 (arg1)->SetMinimumSizeY(arg2);
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 resultobj = SWIG_Py_Void();
11421 return resultobj;
11422 fail:
11423 return NULL;
11424 }
11425
11426
11427 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11428 PyObject *resultobj = 0;
11429 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11430 int result;
11431 void *argp1 = 0 ;
11432 int res1 = 0 ;
11433 PyObject *swig_obj[1] ;
11434
11435 if (!args) SWIG_fail;
11436 swig_obj[0] = args;
11437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11438 if (!SWIG_IsOK(res1)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11440 }
11441 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 resultobj = SWIG_From_int(static_cast< int >(result));
11449 return resultobj;
11450 fail:
11451 return NULL;
11452 }
11453
11454
11455 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11456 PyObject *resultobj = 0;
11457 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11458 int result;
11459 void *argp1 = 0 ;
11460 int res1 = 0 ;
11461 PyObject *swig_obj[1] ;
11462
11463 if (!args) SWIG_fail;
11464 swig_obj[0] = args;
11465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11466 if (!SWIG_IsOK(res1)) {
11467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11468 }
11469 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 resultobj = SWIG_From_int(static_cast< int >(result));
11477 return resultobj;
11478 fail:
11479 return NULL;
11480 }
11481
11482
11483 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11484 PyObject *resultobj = 0;
11485 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11486 int arg2 ;
11487 void *argp1 = 0 ;
11488 int res1 = 0 ;
11489 int val2 ;
11490 int ecode2 = 0 ;
11491 PyObject * obj0 = 0 ;
11492 PyObject * obj1 = 0 ;
11493 char * kwnames[] = {
11494 (char *) "self",(char *) "max", NULL
11495 };
11496
11497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11499 if (!SWIG_IsOK(res1)) {
11500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11501 }
11502 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11503 ecode2 = SWIG_AsVal_int(obj1, &val2);
11504 if (!SWIG_IsOK(ecode2)) {
11505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11506 }
11507 arg2 = static_cast< int >(val2);
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 (arg1)->SetMaximumSizeX(arg2);
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 resultobj = SWIG_Py_Void();
11515 return resultobj;
11516 fail:
11517 return NULL;
11518 }
11519
11520
11521 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11522 PyObject *resultobj = 0;
11523 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11524 int arg2 ;
11525 void *argp1 = 0 ;
11526 int res1 = 0 ;
11527 int val2 ;
11528 int ecode2 = 0 ;
11529 PyObject * obj0 = 0 ;
11530 PyObject * obj1 = 0 ;
11531 char * kwnames[] = {
11532 (char *) "self",(char *) "max", NULL
11533 };
11534
11535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11537 if (!SWIG_IsOK(res1)) {
11538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11539 }
11540 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11541 ecode2 = SWIG_AsVal_int(obj1, &val2);
11542 if (!SWIG_IsOK(ecode2)) {
11543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11544 }
11545 arg2 = static_cast< int >(val2);
11546 {
11547 PyThreadState* __tstate = wxPyBeginAllowThreads();
11548 (arg1)->SetMaximumSizeY(arg2);
11549 wxPyEndAllowThreads(__tstate);
11550 if (PyErr_Occurred()) SWIG_fail;
11551 }
11552 resultobj = SWIG_Py_Void();
11553 return resultobj;
11554 fail:
11555 return NULL;
11556 }
11557
11558
11559 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11560 PyObject *resultobj = 0;
11561 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11562 int result;
11563 void *argp1 = 0 ;
11564 int res1 = 0 ;
11565 PyObject *swig_obj[1] ;
11566
11567 if (!args) SWIG_fail;
11568 swig_obj[0] = args;
11569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11570 if (!SWIG_IsOK(res1)) {
11571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11572 }
11573 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11574 {
11575 PyThreadState* __tstate = wxPyBeginAllowThreads();
11576 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11577 wxPyEndAllowThreads(__tstate);
11578 if (PyErr_Occurred()) SWIG_fail;
11579 }
11580 resultobj = SWIG_From_int(static_cast< int >(result));
11581 return resultobj;
11582 fail:
11583 return NULL;
11584 }
11585
11586
11587 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11588 PyObject *resultobj = 0;
11589 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11590 int result;
11591 void *argp1 = 0 ;
11592 int res1 = 0 ;
11593 PyObject *swig_obj[1] ;
11594
11595 if (!args) SWIG_fail;
11596 swig_obj[0] = args;
11597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11598 if (!SWIG_IsOK(res1)) {
11599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11600 }
11601 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11602 {
11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
11604 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
11608 resultobj = SWIG_From_int(static_cast< int >(result));
11609 return resultobj;
11610 fail:
11611 return NULL;
11612 }
11613
11614
11615 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11616 PyObject *resultobj = 0;
11617 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11618 int arg2 ;
11619 int arg3 ;
11620 int arg4 = (int) 2 ;
11621 wxSashEdgePosition result;
11622 void *argp1 = 0 ;
11623 int res1 = 0 ;
11624 int val2 ;
11625 int ecode2 = 0 ;
11626 int val3 ;
11627 int ecode3 = 0 ;
11628 int val4 ;
11629 int ecode4 = 0 ;
11630 PyObject * obj0 = 0 ;
11631 PyObject * obj1 = 0 ;
11632 PyObject * obj2 = 0 ;
11633 PyObject * obj3 = 0 ;
11634 char * kwnames[] = {
11635 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11636 };
11637
11638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11640 if (!SWIG_IsOK(res1)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11642 }
11643 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11644 ecode2 = SWIG_AsVal_int(obj1, &val2);
11645 if (!SWIG_IsOK(ecode2)) {
11646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11647 }
11648 arg2 = static_cast< int >(val2);
11649 ecode3 = SWIG_AsVal_int(obj2, &val3);
11650 if (!SWIG_IsOK(ecode3)) {
11651 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11652 }
11653 arg3 = static_cast< int >(val3);
11654 if (obj3) {
11655 ecode4 = SWIG_AsVal_int(obj3, &val4);
11656 if (!SWIG_IsOK(ecode4)) {
11657 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11658 }
11659 arg4 = static_cast< int >(val4);
11660 }
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) SWIG_fail;
11666 }
11667 resultobj = SWIG_From_int(static_cast< int >(result));
11668 return resultobj;
11669 fail:
11670 return NULL;
11671 }
11672
11673
11674 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11675 PyObject *resultobj = 0;
11676 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11677 void *argp1 = 0 ;
11678 int res1 = 0 ;
11679 PyObject *swig_obj[1] ;
11680
11681 if (!args) SWIG_fail;
11682 swig_obj[0] = args;
11683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11684 if (!SWIG_IsOK(res1)) {
11685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11686 }
11687 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11688 {
11689 PyThreadState* __tstate = wxPyBeginAllowThreads();
11690 (arg1)->SizeWindows();
11691 wxPyEndAllowThreads(__tstate);
11692 if (PyErr_Occurred()) SWIG_fail;
11693 }
11694 resultobj = SWIG_Py_Void();
11695 return resultobj;
11696 fail:
11697 return NULL;
11698 }
11699
11700
11701 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11702 PyObject *obj;
11703 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11704 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11705 return SWIG_Py_Void();
11706 }
11707
11708 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11709 return SWIG_Python_InitShadowInstance(args);
11710 }
11711
11712 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11713 PyObject *resultobj = 0;
11714 int arg1 = (int) 0 ;
11715 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11716 wxSashEvent *result = 0 ;
11717 int val1 ;
11718 int ecode1 = 0 ;
11719 int val2 ;
11720 int ecode2 = 0 ;
11721 PyObject * obj0 = 0 ;
11722 PyObject * obj1 = 0 ;
11723 char * kwnames[] = {
11724 (char *) "id",(char *) "edge", NULL
11725 };
11726
11727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11728 if (obj0) {
11729 ecode1 = SWIG_AsVal_int(obj0, &val1);
11730 if (!SWIG_IsOK(ecode1)) {
11731 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11732 }
11733 arg1 = static_cast< int >(val1);
11734 }
11735 if (obj1) {
11736 ecode2 = SWIG_AsVal_int(obj1, &val2);
11737 if (!SWIG_IsOK(ecode2)) {
11738 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11739 }
11740 arg2 = static_cast< wxSashEdgePosition >(val2);
11741 }
11742 {
11743 PyThreadState* __tstate = wxPyBeginAllowThreads();
11744 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11749 return resultobj;
11750 fail:
11751 return NULL;
11752 }
11753
11754
11755 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11756 PyObject *resultobj = 0;
11757 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11758 wxSashEdgePosition 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 *) "edge", NULL
11767 };
11768
11769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",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_SetEdge" "', 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_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11778 }
11779 arg2 = static_cast< wxSashEdgePosition >(val2);
11780 {
11781 PyThreadState* __tstate = wxPyBeginAllowThreads();
11782 (arg1)->SetEdge(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_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11794 PyObject *resultobj = 0;
11795 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11796 wxSashEdgePosition 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_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11806 }
11807 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11808 {
11809 PyThreadState* __tstate = wxPyBeginAllowThreads();
11810 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
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 *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11822 PyObject *resultobj = 0;
11823 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11824 wxRect *arg2 = 0 ;
11825 void *argp1 = 0 ;
11826 int res1 = 0 ;
11827 wxRect temp2 ;
11828 PyObject * obj0 = 0 ;
11829 PyObject * obj1 = 0 ;
11830 char * kwnames[] = {
11831 (char *) "self",(char *) "rect", NULL
11832 };
11833
11834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11836 if (!SWIG_IsOK(res1)) {
11837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11838 }
11839 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11840 {
11841 arg2 = &temp2;
11842 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11843 }
11844 {
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
11846 (arg1)->SetDragRect((wxRect const &)*arg2);
11847 wxPyEndAllowThreads(__tstate);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
11850 resultobj = SWIG_Py_Void();
11851 return resultobj;
11852 fail:
11853 return NULL;
11854 }
11855
11856
11857 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11858 PyObject *resultobj = 0;
11859 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11860 wxRect result;
11861 void *argp1 = 0 ;
11862 int res1 = 0 ;
11863 PyObject *swig_obj[1] ;
11864
11865 if (!args) SWIG_fail;
11866 swig_obj[0] = args;
11867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11868 if (!SWIG_IsOK(res1)) {
11869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11870 }
11871 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11872 {
11873 PyThreadState* __tstate = wxPyBeginAllowThreads();
11874 result = ((wxSashEvent const *)arg1)->GetDragRect();
11875 wxPyEndAllowThreads(__tstate);
11876 if (PyErr_Occurred()) SWIG_fail;
11877 }
11878 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11879 return resultobj;
11880 fail:
11881 return NULL;
11882 }
11883
11884
11885 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11886 PyObject *resultobj = 0;
11887 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11888 wxSashDragStatus arg2 ;
11889 void *argp1 = 0 ;
11890 int res1 = 0 ;
11891 int val2 ;
11892 int ecode2 = 0 ;
11893 PyObject * obj0 = 0 ;
11894 PyObject * obj1 = 0 ;
11895 char * kwnames[] = {
11896 (char *) "self",(char *) "status", NULL
11897 };
11898
11899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11901 if (!SWIG_IsOK(res1)) {
11902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11903 }
11904 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11905 ecode2 = SWIG_AsVal_int(obj1, &val2);
11906 if (!SWIG_IsOK(ecode2)) {
11907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11908 }
11909 arg2 = static_cast< wxSashDragStatus >(val2);
11910 {
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 (arg1)->SetDragStatus(arg2);
11913 wxPyEndAllowThreads(__tstate);
11914 if (PyErr_Occurred()) SWIG_fail;
11915 }
11916 resultobj = SWIG_Py_Void();
11917 return resultobj;
11918 fail:
11919 return NULL;
11920 }
11921
11922
11923 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11924 PyObject *resultobj = 0;
11925 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11926 wxSashDragStatus result;
11927 void *argp1 = 0 ;
11928 int res1 = 0 ;
11929 PyObject *swig_obj[1] ;
11930
11931 if (!args) SWIG_fail;
11932 swig_obj[0] = args;
11933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11934 if (!SWIG_IsOK(res1)) {
11935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11936 }
11937 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11938 {
11939 PyThreadState* __tstate = wxPyBeginAllowThreads();
11940 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11941 wxPyEndAllowThreads(__tstate);
11942 if (PyErr_Occurred()) SWIG_fail;
11943 }
11944 resultobj = SWIG_From_int(static_cast< int >(result));
11945 return resultobj;
11946 fail:
11947 return NULL;
11948 }
11949
11950
11951 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11952 PyObject *obj;
11953 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11954 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11955 return SWIG_Py_Void();
11956 }
11957
11958 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11959 return SWIG_Python_InitShadowInstance(args);
11960 }
11961
11962 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11963 PyObject *resultobj = 0;
11964 int arg1 = (int) 0 ;
11965 wxQueryLayoutInfoEvent *result = 0 ;
11966 int val1 ;
11967 int ecode1 = 0 ;
11968 PyObject * obj0 = 0 ;
11969 char * kwnames[] = {
11970 (char *) "id", NULL
11971 };
11972
11973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11974 if (obj0) {
11975 ecode1 = SWIG_AsVal_int(obj0, &val1);
11976 if (!SWIG_IsOK(ecode1)) {
11977 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11978 }
11979 arg1 = static_cast< int >(val1);
11980 }
11981 {
11982 PyThreadState* __tstate = wxPyBeginAllowThreads();
11983 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
11987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11988 return resultobj;
11989 fail:
11990 return NULL;
11991 }
11992
11993
11994 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11995 PyObject *resultobj = 0;
11996 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11997 int arg2 ;
11998 void *argp1 = 0 ;
11999 int res1 = 0 ;
12000 int val2 ;
12001 int ecode2 = 0 ;
12002 PyObject * obj0 = 0 ;
12003 PyObject * obj1 = 0 ;
12004 char * kwnames[] = {
12005 (char *) "self",(char *) "length", NULL
12006 };
12007
12008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12010 if (!SWIG_IsOK(res1)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12012 }
12013 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12014 ecode2 = SWIG_AsVal_int(obj1, &val2);
12015 if (!SWIG_IsOK(ecode2)) {
12016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12017 }
12018 arg2 = static_cast< int >(val2);
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 (arg1)->SetRequestedLength(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_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12033 PyObject *resultobj = 0;
12034 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12035 int 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_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12045 }
12046 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12047 {
12048 PyThreadState* __tstate = wxPyBeginAllowThreads();
12049 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 resultobj = SWIG_From_int(static_cast< int >(result));
12054 return resultobj;
12055 fail:
12056 return NULL;
12057 }
12058
12059
12060 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj = 0;
12062 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12063 int 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 *) "flags", NULL
12072 };
12073
12074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",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_SetFlags" "', 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_SetFlags" "', expected argument " "2"" of type '" "int""'");
12083 }
12084 arg2 = static_cast< int >(val2);
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
12087 (arg1)->SetFlags(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_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12099 PyObject *resultobj = 0;
12100 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12101 int 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_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12111 }
12112 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12113 {
12114 PyThreadState* __tstate = wxPyBeginAllowThreads();
12115 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
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_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12127 PyObject *resultobj = 0;
12128 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12129 wxSize *arg2 = 0 ;
12130 void *argp1 = 0 ;
12131 int res1 = 0 ;
12132 wxSize temp2 ;
12133 PyObject * obj0 = 0 ;
12134 PyObject * obj1 = 0 ;
12135 char * kwnames[] = {
12136 (char *) "self",(char *) "size", NULL
12137 };
12138
12139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12141 if (!SWIG_IsOK(res1)) {
12142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12143 }
12144 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12145 {
12146 arg2 = &temp2;
12147 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12148 }
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 (arg1)->SetSize((wxSize const &)*arg2);
12152 wxPyEndAllowThreads(__tstate);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 }
12155 resultobj = SWIG_Py_Void();
12156 return resultobj;
12157 fail:
12158 return NULL;
12159 }
12160
12161
12162 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12163 PyObject *resultobj = 0;
12164 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12165 wxSize result;
12166 void *argp1 = 0 ;
12167 int res1 = 0 ;
12168 PyObject *swig_obj[1] ;
12169
12170 if (!args) SWIG_fail;
12171 swig_obj[0] = args;
12172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12173 if (!SWIG_IsOK(res1)) {
12174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12175 }
12176 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12184 return resultobj;
12185 fail:
12186 return NULL;
12187 }
12188
12189
12190 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj = 0;
12192 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12193 wxLayoutOrientation arg2 ;
12194 void *argp1 = 0 ;
12195 int res1 = 0 ;
12196 int val2 ;
12197 int ecode2 = 0 ;
12198 PyObject * obj0 = 0 ;
12199 PyObject * obj1 = 0 ;
12200 char * kwnames[] = {
12201 (char *) "self",(char *) "orient", NULL
12202 };
12203
12204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12206 if (!SWIG_IsOK(res1)) {
12207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12208 }
12209 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12210 ecode2 = SWIG_AsVal_int(obj1, &val2);
12211 if (!SWIG_IsOK(ecode2)) {
12212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12213 }
12214 arg2 = static_cast< wxLayoutOrientation >(val2);
12215 {
12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
12217 (arg1)->SetOrientation(arg2);
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 resultobj = SWIG_Py_Void();
12222 return resultobj;
12223 fail:
12224 return NULL;
12225 }
12226
12227
12228 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12229 PyObject *resultobj = 0;
12230 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12231 wxLayoutOrientation result;
12232 void *argp1 = 0 ;
12233 int res1 = 0 ;
12234 PyObject *swig_obj[1] ;
12235
12236 if (!args) SWIG_fail;
12237 swig_obj[0] = args;
12238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12239 if (!SWIG_IsOK(res1)) {
12240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12241 }
12242 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12246 wxPyEndAllowThreads(__tstate);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
12249 resultobj = SWIG_From_int(static_cast< int >(result));
12250 return resultobj;
12251 fail:
12252 return NULL;
12253 }
12254
12255
12256 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12257 PyObject *resultobj = 0;
12258 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12259 wxLayoutAlignment arg2 ;
12260 void *argp1 = 0 ;
12261 int res1 = 0 ;
12262 int val2 ;
12263 int ecode2 = 0 ;
12264 PyObject * obj0 = 0 ;
12265 PyObject * obj1 = 0 ;
12266 char * kwnames[] = {
12267 (char *) "self",(char *) "align", NULL
12268 };
12269
12270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12272 if (!SWIG_IsOK(res1)) {
12273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12274 }
12275 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12276 ecode2 = SWIG_AsVal_int(obj1, &val2);
12277 if (!SWIG_IsOK(ecode2)) {
12278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12279 }
12280 arg2 = static_cast< wxLayoutAlignment >(val2);
12281 {
12282 PyThreadState* __tstate = wxPyBeginAllowThreads();
12283 (arg1)->SetAlignment(arg2);
12284 wxPyEndAllowThreads(__tstate);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 }
12287 resultobj = SWIG_Py_Void();
12288 return resultobj;
12289 fail:
12290 return NULL;
12291 }
12292
12293
12294 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12295 PyObject *resultobj = 0;
12296 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12297 wxLayoutAlignment result;
12298 void *argp1 = 0 ;
12299 int res1 = 0 ;
12300 PyObject *swig_obj[1] ;
12301
12302 if (!args) SWIG_fail;
12303 swig_obj[0] = args;
12304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12305 if (!SWIG_IsOK(res1)) {
12306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12307 }
12308 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12309 {
12310 PyThreadState* __tstate = wxPyBeginAllowThreads();
12311 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 resultobj = SWIG_From_int(static_cast< int >(result));
12316 return resultobj;
12317 fail:
12318 return NULL;
12319 }
12320
12321
12322 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12323 PyObject *obj;
12324 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12325 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12326 return SWIG_Py_Void();
12327 }
12328
12329 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12330 return SWIG_Python_InitShadowInstance(args);
12331 }
12332
12333 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj = 0;
12335 int arg1 = (int) 0 ;
12336 wxCalculateLayoutEvent *result = 0 ;
12337 int val1 ;
12338 int ecode1 = 0 ;
12339 PyObject * obj0 = 0 ;
12340 char * kwnames[] = {
12341 (char *) "id", NULL
12342 };
12343
12344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12345 if (obj0) {
12346 ecode1 = SWIG_AsVal_int(obj0, &val1);
12347 if (!SWIG_IsOK(ecode1)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12349 }
12350 arg1 = static_cast< int >(val1);
12351 }
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12359 return resultobj;
12360 fail:
12361 return NULL;
12362 }
12363
12364
12365 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12366 PyObject *resultobj = 0;
12367 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12368 int arg2 ;
12369 void *argp1 = 0 ;
12370 int res1 = 0 ;
12371 int val2 ;
12372 int ecode2 = 0 ;
12373 PyObject * obj0 = 0 ;
12374 PyObject * obj1 = 0 ;
12375 char * kwnames[] = {
12376 (char *) "self",(char *) "flags", NULL
12377 };
12378
12379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12381 if (!SWIG_IsOK(res1)) {
12382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12383 }
12384 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12385 ecode2 = SWIG_AsVal_int(obj1, &val2);
12386 if (!SWIG_IsOK(ecode2)) {
12387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12388 }
12389 arg2 = static_cast< int >(val2);
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 (arg1)->SetFlags(arg2);
12393 wxPyEndAllowThreads(__tstate);
12394 if (PyErr_Occurred()) SWIG_fail;
12395 }
12396 resultobj = SWIG_Py_Void();
12397 return resultobj;
12398 fail:
12399 return NULL;
12400 }
12401
12402
12403 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12404 PyObject *resultobj = 0;
12405 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12406 int result;
12407 void *argp1 = 0 ;
12408 int res1 = 0 ;
12409 PyObject *swig_obj[1] ;
12410
12411 if (!args) SWIG_fail;
12412 swig_obj[0] = args;
12413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12414 if (!SWIG_IsOK(res1)) {
12415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12416 }
12417 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12418 {
12419 PyThreadState* __tstate = wxPyBeginAllowThreads();
12420 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12421 wxPyEndAllowThreads(__tstate);
12422 if (PyErr_Occurred()) SWIG_fail;
12423 }
12424 resultobj = SWIG_From_int(static_cast< int >(result));
12425 return resultobj;
12426 fail:
12427 return NULL;
12428 }
12429
12430
12431 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12432 PyObject *resultobj = 0;
12433 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12434 wxRect *arg2 = 0 ;
12435 void *argp1 = 0 ;
12436 int res1 = 0 ;
12437 wxRect temp2 ;
12438 PyObject * obj0 = 0 ;
12439 PyObject * obj1 = 0 ;
12440 char * kwnames[] = {
12441 (char *) "self",(char *) "rect", NULL
12442 };
12443
12444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12446 if (!SWIG_IsOK(res1)) {
12447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12448 }
12449 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12450 {
12451 arg2 = &temp2;
12452 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12453 }
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 (arg1)->SetRect((wxRect const &)*arg2);
12457 wxPyEndAllowThreads(__tstate);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 resultobj = SWIG_Py_Void();
12461 return resultobj;
12462 fail:
12463 return NULL;
12464 }
12465
12466
12467 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12468 PyObject *resultobj = 0;
12469 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12470 wxRect result;
12471 void *argp1 = 0 ;
12472 int res1 = 0 ;
12473 PyObject *swig_obj[1] ;
12474
12475 if (!args) SWIG_fail;
12476 swig_obj[0] = args;
12477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12478 if (!SWIG_IsOK(res1)) {
12479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12480 }
12481 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12485 wxPyEndAllowThreads(__tstate);
12486 if (PyErr_Occurred()) SWIG_fail;
12487 }
12488 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12489 return resultobj;
12490 fail:
12491 return NULL;
12492 }
12493
12494
12495 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12496 PyObject *obj;
12497 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12498 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12499 return SWIG_Py_Void();
12500 }
12501
12502 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12503 return SWIG_Python_InitShadowInstance(args);
12504 }
12505
12506 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12507 PyObject *resultobj = 0;
12508 wxWindow *arg1 = (wxWindow *) 0 ;
12509 int arg2 = (int) -1 ;
12510 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12511 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12512 wxSize const &arg4_defvalue = wxDefaultSize ;
12513 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12514 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12515 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12516 wxString *arg6 = (wxString *) &arg6_defvalue ;
12517 wxSashLayoutWindow *result = 0 ;
12518 void *argp1 = 0 ;
12519 int res1 = 0 ;
12520 int val2 ;
12521 int ecode2 = 0 ;
12522 wxPoint temp3 ;
12523 wxSize temp4 ;
12524 long val5 ;
12525 int ecode5 = 0 ;
12526 bool temp6 = false ;
12527 PyObject * obj0 = 0 ;
12528 PyObject * obj1 = 0 ;
12529 PyObject * obj2 = 0 ;
12530 PyObject * obj3 = 0 ;
12531 PyObject * obj4 = 0 ;
12532 PyObject * obj5 = 0 ;
12533 char * kwnames[] = {
12534 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12535 };
12536
12537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12539 if (!SWIG_IsOK(res1)) {
12540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12541 }
12542 arg1 = reinterpret_cast< wxWindow * >(argp1);
12543 if (obj1) {
12544 ecode2 = SWIG_AsVal_int(obj1, &val2);
12545 if (!SWIG_IsOK(ecode2)) {
12546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12547 }
12548 arg2 = static_cast< int >(val2);
12549 }
12550 if (obj2) {
12551 {
12552 arg3 = &temp3;
12553 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12554 }
12555 }
12556 if (obj3) {
12557 {
12558 arg4 = &temp4;
12559 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12560 }
12561 }
12562 if (obj4) {
12563 ecode5 = SWIG_AsVal_long(obj4, &val5);
12564 if (!SWIG_IsOK(ecode5)) {
12565 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12566 }
12567 arg5 = static_cast< long >(val5);
12568 }
12569 if (obj5) {
12570 {
12571 arg6 = wxString_in_helper(obj5);
12572 if (arg6 == NULL) SWIG_fail;
12573 temp6 = true;
12574 }
12575 }
12576 {
12577 if (!wxPyCheckForApp()) SWIG_fail;
12578 PyThreadState* __tstate = wxPyBeginAllowThreads();
12579 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12580 wxPyEndAllowThreads(__tstate);
12581 if (PyErr_Occurred()) SWIG_fail;
12582 }
12583 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12584 {
12585 if (temp6)
12586 delete arg6;
12587 }
12588 return resultobj;
12589 fail:
12590 {
12591 if (temp6)
12592 delete arg6;
12593 }
12594 return NULL;
12595 }
12596
12597
12598 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12599 PyObject *resultobj = 0;
12600 wxSashLayoutWindow *result = 0 ;
12601
12602 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12603 {
12604 if (!wxPyCheckForApp()) SWIG_fail;
12605 PyThreadState* __tstate = wxPyBeginAllowThreads();
12606 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12607 wxPyEndAllowThreads(__tstate);
12608 if (PyErr_Occurred()) SWIG_fail;
12609 }
12610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12611 return resultobj;
12612 fail:
12613 return NULL;
12614 }
12615
12616
12617 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12618 PyObject *resultobj = 0;
12619 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12620 wxWindow *arg2 = (wxWindow *) 0 ;
12621 int arg3 = (int) -1 ;
12622 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12623 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12624 wxSize const &arg5_defvalue = wxDefaultSize ;
12625 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12626 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12627 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12628 wxString *arg7 = (wxString *) &arg7_defvalue ;
12629 bool result;
12630 void *argp1 = 0 ;
12631 int res1 = 0 ;
12632 void *argp2 = 0 ;
12633 int res2 = 0 ;
12634 int val3 ;
12635 int ecode3 = 0 ;
12636 wxPoint temp4 ;
12637 wxSize temp5 ;
12638 long val6 ;
12639 int ecode6 = 0 ;
12640 bool temp7 = false ;
12641 PyObject * obj0 = 0 ;
12642 PyObject * obj1 = 0 ;
12643 PyObject * obj2 = 0 ;
12644 PyObject * obj3 = 0 ;
12645 PyObject * obj4 = 0 ;
12646 PyObject * obj5 = 0 ;
12647 PyObject * obj6 = 0 ;
12648 char * kwnames[] = {
12649 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12650 };
12651
12652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12654 if (!SWIG_IsOK(res1)) {
12655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12656 }
12657 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12658 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12659 if (!SWIG_IsOK(res2)) {
12660 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12661 }
12662 arg2 = reinterpret_cast< wxWindow * >(argp2);
12663 if (obj2) {
12664 ecode3 = SWIG_AsVal_int(obj2, &val3);
12665 if (!SWIG_IsOK(ecode3)) {
12666 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12667 }
12668 arg3 = static_cast< int >(val3);
12669 }
12670 if (obj3) {
12671 {
12672 arg4 = &temp4;
12673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12674 }
12675 }
12676 if (obj4) {
12677 {
12678 arg5 = &temp5;
12679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12680 }
12681 }
12682 if (obj5) {
12683 ecode6 = SWIG_AsVal_long(obj5, &val6);
12684 if (!SWIG_IsOK(ecode6)) {
12685 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12686 }
12687 arg6 = static_cast< long >(val6);
12688 }
12689 if (obj6) {
12690 {
12691 arg7 = wxString_in_helper(obj6);
12692 if (arg7 == NULL) SWIG_fail;
12693 temp7 = true;
12694 }
12695 }
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12699 wxPyEndAllowThreads(__tstate);
12700 if (PyErr_Occurred()) SWIG_fail;
12701 }
12702 {
12703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12704 }
12705 {
12706 if (temp7)
12707 delete arg7;
12708 }
12709 return resultobj;
12710 fail:
12711 {
12712 if (temp7)
12713 delete arg7;
12714 }
12715 return NULL;
12716 }
12717
12718
12719 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12720 PyObject *resultobj = 0;
12721 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12722 wxLayoutAlignment result;
12723 void *argp1 = 0 ;
12724 int res1 = 0 ;
12725 PyObject *swig_obj[1] ;
12726
12727 if (!args) SWIG_fail;
12728 swig_obj[0] = args;
12729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12730 if (!SWIG_IsOK(res1)) {
12731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12732 }
12733 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12734 {
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 resultobj = SWIG_From_int(static_cast< int >(result));
12741 return resultobj;
12742 fail:
12743 return NULL;
12744 }
12745
12746
12747 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12748 PyObject *resultobj = 0;
12749 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12750 wxLayoutOrientation result;
12751 void *argp1 = 0 ;
12752 int res1 = 0 ;
12753 PyObject *swig_obj[1] ;
12754
12755 if (!args) SWIG_fail;
12756 swig_obj[0] = args;
12757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12758 if (!SWIG_IsOK(res1)) {
12759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12760 }
12761 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12762 {
12763 PyThreadState* __tstate = wxPyBeginAllowThreads();
12764 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12765 wxPyEndAllowThreads(__tstate);
12766 if (PyErr_Occurred()) SWIG_fail;
12767 }
12768 resultobj = SWIG_From_int(static_cast< int >(result));
12769 return resultobj;
12770 fail:
12771 return NULL;
12772 }
12773
12774
12775 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12776 PyObject *resultobj = 0;
12777 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12778 wxLayoutAlignment arg2 ;
12779 void *argp1 = 0 ;
12780 int res1 = 0 ;
12781 int val2 ;
12782 int ecode2 = 0 ;
12783 PyObject * obj0 = 0 ;
12784 PyObject * obj1 = 0 ;
12785 char * kwnames[] = {
12786 (char *) "self",(char *) "alignment", NULL
12787 };
12788
12789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12791 if (!SWIG_IsOK(res1)) {
12792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12793 }
12794 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12795 ecode2 = SWIG_AsVal_int(obj1, &val2);
12796 if (!SWIG_IsOK(ecode2)) {
12797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12798 }
12799 arg2 = static_cast< wxLayoutAlignment >(val2);
12800 {
12801 PyThreadState* __tstate = wxPyBeginAllowThreads();
12802 (arg1)->SetAlignment(arg2);
12803 wxPyEndAllowThreads(__tstate);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 }
12806 resultobj = SWIG_Py_Void();
12807 return resultobj;
12808 fail:
12809 return NULL;
12810 }
12811
12812
12813 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12814 PyObject *resultobj = 0;
12815 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12816 wxSize *arg2 = 0 ;
12817 void *argp1 = 0 ;
12818 int res1 = 0 ;
12819 wxSize temp2 ;
12820 PyObject * obj0 = 0 ;
12821 PyObject * obj1 = 0 ;
12822 char * kwnames[] = {
12823 (char *) "self",(char *) "size", NULL
12824 };
12825
12826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12828 if (!SWIG_IsOK(res1)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12830 }
12831 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12832 {
12833 arg2 = &temp2;
12834 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12835 }
12836 {
12837 PyThreadState* __tstate = wxPyBeginAllowThreads();
12838 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12839 wxPyEndAllowThreads(__tstate);
12840 if (PyErr_Occurred()) SWIG_fail;
12841 }
12842 resultobj = SWIG_Py_Void();
12843 return resultobj;
12844 fail:
12845 return NULL;
12846 }
12847
12848
12849 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12850 PyObject *resultobj = 0;
12851 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12852 wxLayoutOrientation arg2 ;
12853 void *argp1 = 0 ;
12854 int res1 = 0 ;
12855 int val2 ;
12856 int ecode2 = 0 ;
12857 PyObject * obj0 = 0 ;
12858 PyObject * obj1 = 0 ;
12859 char * kwnames[] = {
12860 (char *) "self",(char *) "orientation", NULL
12861 };
12862
12863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12865 if (!SWIG_IsOK(res1)) {
12866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12867 }
12868 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12869 ecode2 = SWIG_AsVal_int(obj1, &val2);
12870 if (!SWIG_IsOK(ecode2)) {
12871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12872 }
12873 arg2 = static_cast< wxLayoutOrientation >(val2);
12874 {
12875 PyThreadState* __tstate = wxPyBeginAllowThreads();
12876 (arg1)->SetOrientation(arg2);
12877 wxPyEndAllowThreads(__tstate);
12878 if (PyErr_Occurred()) SWIG_fail;
12879 }
12880 resultobj = SWIG_Py_Void();
12881 return resultobj;
12882 fail:
12883 return NULL;
12884 }
12885
12886
12887 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12888 PyObject *obj;
12889 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12890 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12891 return SWIG_Py_Void();
12892 }
12893
12894 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12895 return SWIG_Python_InitShadowInstance(args);
12896 }
12897
12898 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12899 PyObject *resultobj = 0;
12900 wxLayoutAlgorithm *result = 0 ;
12901
12902 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12910 return resultobj;
12911 fail:
12912 return NULL;
12913 }
12914
12915
12916 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12917 PyObject *resultobj = 0;
12918 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12919 void *argp1 = 0 ;
12920 int res1 = 0 ;
12921 PyObject *swig_obj[1] ;
12922
12923 if (!args) SWIG_fail;
12924 swig_obj[0] = args;
12925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12926 if (!SWIG_IsOK(res1)) {
12927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12928 }
12929 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 delete arg1;
12933
12934 wxPyEndAllowThreads(__tstate);
12935 if (PyErr_Occurred()) SWIG_fail;
12936 }
12937 resultobj = SWIG_Py_Void();
12938 return resultobj;
12939 fail:
12940 return NULL;
12941 }
12942
12943
12944 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12945 PyObject *resultobj = 0;
12946 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12947 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12948 wxRect *arg3 = (wxRect *) NULL ;
12949 bool result;
12950 void *argp1 = 0 ;
12951 int res1 = 0 ;
12952 void *argp2 = 0 ;
12953 int res2 = 0 ;
12954 void *argp3 = 0 ;
12955 int res3 = 0 ;
12956 PyObject * obj0 = 0 ;
12957 PyObject * obj1 = 0 ;
12958 PyObject * obj2 = 0 ;
12959 char * kwnames[] = {
12960 (char *) "self",(char *) "frame",(char *) "rect", NULL
12961 };
12962
12963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12965 if (!SWIG_IsOK(res1)) {
12966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12967 }
12968 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12969 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12970 if (!SWIG_IsOK(res2)) {
12971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12972 }
12973 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12974 if (obj2) {
12975 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12976 if (!SWIG_IsOK(res3)) {
12977 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12978 }
12979 arg3 = reinterpret_cast< wxRect * >(argp3);
12980 }
12981 {
12982 PyThreadState* __tstate = wxPyBeginAllowThreads();
12983 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 {
12988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12989 }
12990 return resultobj;
12991 fail:
12992 return NULL;
12993 }
12994
12995
12996 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12997 PyObject *resultobj = 0;
12998 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12999 wxFrame *arg2 = (wxFrame *) 0 ;
13000 wxWindow *arg3 = (wxWindow *) NULL ;
13001 bool result;
13002 void *argp1 = 0 ;
13003 int res1 = 0 ;
13004 void *argp2 = 0 ;
13005 int res2 = 0 ;
13006 void *argp3 = 0 ;
13007 int res3 = 0 ;
13008 PyObject * obj0 = 0 ;
13009 PyObject * obj1 = 0 ;
13010 PyObject * obj2 = 0 ;
13011 char * kwnames[] = {
13012 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13013 };
13014
13015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13017 if (!SWIG_IsOK(res1)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13019 }
13020 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13021 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13022 if (!SWIG_IsOK(res2)) {
13023 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13024 }
13025 arg2 = reinterpret_cast< wxFrame * >(argp2);
13026 if (obj2) {
13027 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13028 if (!SWIG_IsOK(res3)) {
13029 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13030 }
13031 arg3 = reinterpret_cast< wxWindow * >(argp3);
13032 }
13033 {
13034 PyThreadState* __tstate = wxPyBeginAllowThreads();
13035 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13036 wxPyEndAllowThreads(__tstate);
13037 if (PyErr_Occurred()) SWIG_fail;
13038 }
13039 {
13040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13041 }
13042 return resultobj;
13043 fail:
13044 return NULL;
13045 }
13046
13047
13048 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj = 0;
13050 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13051 wxWindow *arg2 = (wxWindow *) 0 ;
13052 wxWindow *arg3 = (wxWindow *) NULL ;
13053 bool result;
13054 void *argp1 = 0 ;
13055 int res1 = 0 ;
13056 void *argp2 = 0 ;
13057 int res2 = 0 ;
13058 void *argp3 = 0 ;
13059 int res3 = 0 ;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062 PyObject * obj2 = 0 ;
13063 char * kwnames[] = {
13064 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13065 };
13066
13067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13069 if (!SWIG_IsOK(res1)) {
13070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13071 }
13072 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13073 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13074 if (!SWIG_IsOK(res2)) {
13075 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13076 }
13077 arg2 = reinterpret_cast< wxWindow * >(argp2);
13078 if (obj2) {
13079 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13080 if (!SWIG_IsOK(res3)) {
13081 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13082 }
13083 arg3 = reinterpret_cast< wxWindow * >(argp3);
13084 }
13085 {
13086 PyThreadState* __tstate = wxPyBeginAllowThreads();
13087 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 {
13092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13093 }
13094 return resultobj;
13095 fail:
13096 return NULL;
13097 }
13098
13099
13100 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13101 PyObject *obj;
13102 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13103 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13104 return SWIG_Py_Void();
13105 }
13106
13107 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13108 return SWIG_Python_InitShadowInstance(args);
13109 }
13110
13111 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13112 PyObject *resultobj = 0;
13113 wxWindow *arg1 = (wxWindow *) 0 ;
13114 int arg2 = (int) wxBORDER_NONE ;
13115 wxPopupWindow *result = 0 ;
13116 void *argp1 = 0 ;
13117 int res1 = 0 ;
13118 int val2 ;
13119 int ecode2 = 0 ;
13120 PyObject * obj0 = 0 ;
13121 PyObject * obj1 = 0 ;
13122 char * kwnames[] = {
13123 (char *) "parent",(char *) "flags", NULL
13124 };
13125
13126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13128 if (!SWIG_IsOK(res1)) {
13129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13130 }
13131 arg1 = reinterpret_cast< wxWindow * >(argp1);
13132 if (obj1) {
13133 ecode2 = SWIG_AsVal_int(obj1, &val2);
13134 if (!SWIG_IsOK(ecode2)) {
13135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13136 }
13137 arg2 = static_cast< int >(val2);
13138 }
13139 {
13140 if (!wxPyCheckForApp()) SWIG_fail;
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13147 return resultobj;
13148 fail:
13149 return NULL;
13150 }
13151
13152
13153 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13154 PyObject *resultobj = 0;
13155 wxPopupWindow *result = 0 ;
13156
13157 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13158 {
13159 if (!wxPyCheckForApp()) SWIG_fail;
13160 PyThreadState* __tstate = wxPyBeginAllowThreads();
13161 result = (wxPopupWindow *)new wxPopupWindow();
13162 wxPyEndAllowThreads(__tstate);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 }
13165 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13166 return resultobj;
13167 fail:
13168 return NULL;
13169 }
13170
13171
13172 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13173 PyObject *resultobj = 0;
13174 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13175 wxWindow *arg2 = (wxWindow *) 0 ;
13176 int arg3 = (int) wxBORDER_NONE ;
13177 bool result;
13178 void *argp1 = 0 ;
13179 int res1 = 0 ;
13180 void *argp2 = 0 ;
13181 int res2 = 0 ;
13182 int val3 ;
13183 int ecode3 = 0 ;
13184 PyObject * obj0 = 0 ;
13185 PyObject * obj1 = 0 ;
13186 PyObject * obj2 = 0 ;
13187 char * kwnames[] = {
13188 (char *) "self",(char *) "parent",(char *) "flags", NULL
13189 };
13190
13191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13193 if (!SWIG_IsOK(res1)) {
13194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13195 }
13196 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13197 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13198 if (!SWIG_IsOK(res2)) {
13199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13200 }
13201 arg2 = reinterpret_cast< wxWindow * >(argp2);
13202 if (obj2) {
13203 ecode3 = SWIG_AsVal_int(obj2, &val3);
13204 if (!SWIG_IsOK(ecode3)) {
13205 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13206 }
13207 arg3 = static_cast< int >(val3);
13208 }
13209 {
13210 PyThreadState* __tstate = wxPyBeginAllowThreads();
13211 result = (bool)(arg1)->Create(arg2,arg3);
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 {
13216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13217 }
13218 return resultobj;
13219 fail:
13220 return NULL;
13221 }
13222
13223
13224 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13225 PyObject *resultobj = 0;
13226 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13227 wxPoint *arg2 = 0 ;
13228 wxSize *arg3 = 0 ;
13229 void *argp1 = 0 ;
13230 int res1 = 0 ;
13231 wxPoint temp2 ;
13232 wxSize temp3 ;
13233 PyObject * obj0 = 0 ;
13234 PyObject * obj1 = 0 ;
13235 PyObject * obj2 = 0 ;
13236 char * kwnames[] = {
13237 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13238 };
13239
13240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13242 if (!SWIG_IsOK(res1)) {
13243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13244 }
13245 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13246 {
13247 arg2 = &temp2;
13248 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13249 }
13250 {
13251 arg3 = &temp3;
13252 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13253 }
13254 {
13255 PyThreadState* __tstate = wxPyBeginAllowThreads();
13256 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13257 wxPyEndAllowThreads(__tstate);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 resultobj = SWIG_Py_Void();
13261 return resultobj;
13262 fail:
13263 return NULL;
13264 }
13265
13266
13267 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13268 PyObject *obj;
13269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13270 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13271 return SWIG_Py_Void();
13272 }
13273
13274 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13275 return SWIG_Python_InitShadowInstance(args);
13276 }
13277
13278 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13279 PyObject *resultobj = 0;
13280 wxWindow *arg1 = (wxWindow *) 0 ;
13281 int arg2 = (int) wxBORDER_NONE ;
13282 wxPyPopupTransientWindow *result = 0 ;
13283 void *argp1 = 0 ;
13284 int res1 = 0 ;
13285 int val2 ;
13286 int ecode2 = 0 ;
13287 PyObject * obj0 = 0 ;
13288 PyObject * obj1 = 0 ;
13289 char * kwnames[] = {
13290 (char *) "parent",(char *) "style", NULL
13291 };
13292
13293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13295 if (!SWIG_IsOK(res1)) {
13296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13297 }
13298 arg1 = reinterpret_cast< wxWindow * >(argp1);
13299 if (obj1) {
13300 ecode2 = SWIG_AsVal_int(obj1, &val2);
13301 if (!SWIG_IsOK(ecode2)) {
13302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13303 }
13304 arg2 = static_cast< int >(val2);
13305 }
13306 {
13307 if (!wxPyCheckForApp()) SWIG_fail;
13308 PyThreadState* __tstate = wxPyBeginAllowThreads();
13309 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13310 wxPyEndAllowThreads(__tstate);
13311 if (PyErr_Occurred()) SWIG_fail;
13312 }
13313 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13314 return resultobj;
13315 fail:
13316 return NULL;
13317 }
13318
13319
13320 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13321 PyObject *resultobj = 0;
13322 wxPyPopupTransientWindow *result = 0 ;
13323
13324 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13325 {
13326 if (!wxPyCheckForApp()) SWIG_fail;
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13329 wxPyEndAllowThreads(__tstate);
13330 if (PyErr_Occurred()) SWIG_fail;
13331 }
13332 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13333 return resultobj;
13334 fail:
13335 return NULL;
13336 }
13337
13338
13339 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13340 PyObject *resultobj = 0;
13341 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13342 PyObject *arg2 = (PyObject *) 0 ;
13343 PyObject *arg3 = (PyObject *) 0 ;
13344 void *argp1 = 0 ;
13345 int res1 = 0 ;
13346 PyObject * obj0 = 0 ;
13347 PyObject * obj1 = 0 ;
13348 PyObject * obj2 = 0 ;
13349 char * kwnames[] = {
13350 (char *) "self",(char *) "self",(char *) "_class", NULL
13351 };
13352
13353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13355 if (!SWIG_IsOK(res1)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13357 }
13358 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13359 arg2 = obj1;
13360 arg3 = obj2;
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 (arg1)->_setCallbackInfo(arg2,arg3);
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 resultobj = SWIG_Py_Void();
13368 return resultobj;
13369 fail:
13370 return NULL;
13371 }
13372
13373
13374 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj = 0;
13376 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13377 wxWindow *arg2 = (wxWindow *) NULL ;
13378 void *argp1 = 0 ;
13379 int res1 = 0 ;
13380 void *argp2 = 0 ;
13381 int res2 = 0 ;
13382 PyObject * obj0 = 0 ;
13383 PyObject * obj1 = 0 ;
13384 char * kwnames[] = {
13385 (char *) "self",(char *) "focus", NULL
13386 };
13387
13388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13390 if (!SWIG_IsOK(res1)) {
13391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13392 }
13393 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13394 if (obj1) {
13395 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13396 if (!SWIG_IsOK(res2)) {
13397 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13398 }
13399 arg2 = reinterpret_cast< wxWindow * >(argp2);
13400 }
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 (arg1)->Popup(arg2);
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
13407 resultobj = SWIG_Py_Void();
13408 return resultobj;
13409 fail:
13410 return NULL;
13411 }
13412
13413
13414 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13415 PyObject *resultobj = 0;
13416 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13417 void *argp1 = 0 ;
13418 int res1 = 0 ;
13419 PyObject *swig_obj[1] ;
13420
13421 if (!args) SWIG_fail;
13422 swig_obj[0] = args;
13423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13424 if (!SWIG_IsOK(res1)) {
13425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13426 }
13427 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13428 {
13429 PyThreadState* __tstate = wxPyBeginAllowThreads();
13430 (arg1)->Dismiss();
13431 wxPyEndAllowThreads(__tstate);
13432 if (PyErr_Occurred()) SWIG_fail;
13433 }
13434 resultobj = SWIG_Py_Void();
13435 return resultobj;
13436 fail:
13437 return NULL;
13438 }
13439
13440
13441 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13442 PyObject *obj;
13443 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13444 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13445 return SWIG_Py_Void();
13446 }
13447
13448 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13449 return SWIG_Python_InitShadowInstance(args);
13450 }
13451
13452 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj = 0;
13454 wxWindow *arg1 = (wxWindow *) 0 ;
13455 wxString *arg2 = 0 ;
13456 int arg3 = (int) 100 ;
13457 wxRect *arg4 = (wxRect *) NULL ;
13458 wxTipWindow *result = 0 ;
13459 void *argp1 = 0 ;
13460 int res1 = 0 ;
13461 bool temp2 = false ;
13462 int val3 ;
13463 int ecode3 = 0 ;
13464 void *argp4 = 0 ;
13465 int res4 = 0 ;
13466 PyObject * obj0 = 0 ;
13467 PyObject * obj1 = 0 ;
13468 PyObject * obj2 = 0 ;
13469 PyObject * obj3 = 0 ;
13470 char * kwnames[] = {
13471 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13472 };
13473
13474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13476 if (!SWIG_IsOK(res1)) {
13477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13478 }
13479 arg1 = reinterpret_cast< wxWindow * >(argp1);
13480 {
13481 arg2 = wxString_in_helper(obj1);
13482 if (arg2 == NULL) SWIG_fail;
13483 temp2 = true;
13484 }
13485 if (obj2) {
13486 ecode3 = SWIG_AsVal_int(obj2, &val3);
13487 if (!SWIG_IsOK(ecode3)) {
13488 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13489 }
13490 arg3 = static_cast< int >(val3);
13491 }
13492 if (obj3) {
13493 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13494 if (!SWIG_IsOK(res4)) {
13495 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13496 }
13497 arg4 = reinterpret_cast< wxRect * >(argp4);
13498 }
13499 {
13500 if (!wxPyCheckForApp()) SWIG_fail;
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13507 {
13508 if (temp2)
13509 delete arg2;
13510 }
13511 return resultobj;
13512 fail:
13513 {
13514 if (temp2)
13515 delete arg2;
13516 }
13517 return NULL;
13518 }
13519
13520
13521 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj = 0;
13523 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13524 wxRect *arg2 = 0 ;
13525 void *argp1 = 0 ;
13526 int res1 = 0 ;
13527 wxRect temp2 ;
13528 PyObject * obj0 = 0 ;
13529 PyObject * obj1 = 0 ;
13530 char * kwnames[] = {
13531 (char *) "self",(char *) "rectBound", NULL
13532 };
13533
13534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13536 if (!SWIG_IsOK(res1)) {
13537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13538 }
13539 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13540 {
13541 arg2 = &temp2;
13542 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13543 }
13544 {
13545 PyThreadState* __tstate = wxPyBeginAllowThreads();
13546 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 resultobj = SWIG_Py_Void();
13551 return resultobj;
13552 fail:
13553 return NULL;
13554 }
13555
13556
13557 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13558 PyObject *resultobj = 0;
13559 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13560 void *argp1 = 0 ;
13561 int res1 = 0 ;
13562 PyObject *swig_obj[1] ;
13563
13564 if (!args) SWIG_fail;
13565 swig_obj[0] = args;
13566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13567 if (!SWIG_IsOK(res1)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13569 }
13570 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 (arg1)->Close();
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 resultobj = SWIG_Py_Void();
13578 return resultobj;
13579 fail:
13580 return NULL;
13581 }
13582
13583
13584 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13585 PyObject *obj;
13586 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13587 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13588 return SWIG_Py_Void();
13589 }
13590
13591 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13592 return SWIG_Python_InitShadowInstance(args);
13593 }
13594
13595 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13596 PyObject *resultobj = 0;
13597 wxWindow *arg1 = (wxWindow *) 0 ;
13598 int arg2 = (int) wxID_ANY ;
13599 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13600 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13601 wxSize const &arg4_defvalue = wxDefaultSize ;
13602 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13603 long arg5 = (long) 0 ;
13604 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13605 wxString *arg6 = (wxString *) &arg6_defvalue ;
13606 wxPyVScrolledWindow *result = 0 ;
13607 void *argp1 = 0 ;
13608 int res1 = 0 ;
13609 int val2 ;
13610 int ecode2 = 0 ;
13611 wxPoint temp3 ;
13612 wxSize temp4 ;
13613 long val5 ;
13614 int ecode5 = 0 ;
13615 bool temp6 = false ;
13616 PyObject * obj0 = 0 ;
13617 PyObject * obj1 = 0 ;
13618 PyObject * obj2 = 0 ;
13619 PyObject * obj3 = 0 ;
13620 PyObject * obj4 = 0 ;
13621 PyObject * obj5 = 0 ;
13622 char * kwnames[] = {
13623 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13624 };
13625
13626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13628 if (!SWIG_IsOK(res1)) {
13629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13630 }
13631 arg1 = reinterpret_cast< wxWindow * >(argp1);
13632 if (obj1) {
13633 ecode2 = SWIG_AsVal_int(obj1, &val2);
13634 if (!SWIG_IsOK(ecode2)) {
13635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13636 }
13637 arg2 = static_cast< int >(val2);
13638 }
13639 if (obj2) {
13640 {
13641 arg3 = &temp3;
13642 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13643 }
13644 }
13645 if (obj3) {
13646 {
13647 arg4 = &temp4;
13648 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13649 }
13650 }
13651 if (obj4) {
13652 ecode5 = SWIG_AsVal_long(obj4, &val5);
13653 if (!SWIG_IsOK(ecode5)) {
13654 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13655 }
13656 arg5 = static_cast< long >(val5);
13657 }
13658 if (obj5) {
13659 {
13660 arg6 = wxString_in_helper(obj5);
13661 if (arg6 == NULL) SWIG_fail;
13662 temp6 = true;
13663 }
13664 }
13665 {
13666 if (!wxPyCheckForApp()) SWIG_fail;
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13669 wxPyEndAllowThreads(__tstate);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 }
13672 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13673 {
13674 if (temp6)
13675 delete arg6;
13676 }
13677 return resultobj;
13678 fail:
13679 {
13680 if (temp6)
13681 delete arg6;
13682 }
13683 return NULL;
13684 }
13685
13686
13687 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13688 PyObject *resultobj = 0;
13689 wxPyVScrolledWindow *result = 0 ;
13690
13691 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13692 {
13693 if (!wxPyCheckForApp()) SWIG_fail;
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13696 wxPyEndAllowThreads(__tstate);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 }
13699 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13700 return resultobj;
13701 fail:
13702 return NULL;
13703 }
13704
13705
13706 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13707 PyObject *resultobj = 0;
13708 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13709 PyObject *arg2 = (PyObject *) 0 ;
13710 PyObject *arg3 = (PyObject *) 0 ;
13711 void *argp1 = 0 ;
13712 int res1 = 0 ;
13713 PyObject * obj0 = 0 ;
13714 PyObject * obj1 = 0 ;
13715 PyObject * obj2 = 0 ;
13716 char * kwnames[] = {
13717 (char *) "self",(char *) "self",(char *) "_class", NULL
13718 };
13719
13720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13722 if (!SWIG_IsOK(res1)) {
13723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13724 }
13725 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13726 arg2 = obj1;
13727 arg3 = obj2;
13728 {
13729 PyThreadState* __tstate = wxPyBeginAllowThreads();
13730 (arg1)->_setCallbackInfo(arg2,arg3);
13731 wxPyEndAllowThreads(__tstate);
13732 if (PyErr_Occurred()) SWIG_fail;
13733 }
13734 resultobj = SWIG_Py_Void();
13735 return resultobj;
13736 fail:
13737 return NULL;
13738 }
13739
13740
13741 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13742 PyObject *resultobj = 0;
13743 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13744 wxWindow *arg2 = (wxWindow *) 0 ;
13745 int arg3 = (int) wxID_ANY ;
13746 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13747 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13748 wxSize const &arg5_defvalue = wxDefaultSize ;
13749 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13750 long arg6 = (long) 0 ;
13751 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13752 wxString *arg7 = (wxString *) &arg7_defvalue ;
13753 bool result;
13754 void *argp1 = 0 ;
13755 int res1 = 0 ;
13756 void *argp2 = 0 ;
13757 int res2 = 0 ;
13758 int val3 ;
13759 int ecode3 = 0 ;
13760 wxPoint temp4 ;
13761 wxSize temp5 ;
13762 long val6 ;
13763 int ecode6 = 0 ;
13764 bool temp7 = false ;
13765 PyObject * obj0 = 0 ;
13766 PyObject * obj1 = 0 ;
13767 PyObject * obj2 = 0 ;
13768 PyObject * obj3 = 0 ;
13769 PyObject * obj4 = 0 ;
13770 PyObject * obj5 = 0 ;
13771 PyObject * obj6 = 0 ;
13772 char * kwnames[] = {
13773 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13774 };
13775
13776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13778 if (!SWIG_IsOK(res1)) {
13779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13780 }
13781 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13782 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13783 if (!SWIG_IsOK(res2)) {
13784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13785 }
13786 arg2 = reinterpret_cast< wxWindow * >(argp2);
13787 if (obj2) {
13788 ecode3 = SWIG_AsVal_int(obj2, &val3);
13789 if (!SWIG_IsOK(ecode3)) {
13790 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13791 }
13792 arg3 = static_cast< int >(val3);
13793 }
13794 if (obj3) {
13795 {
13796 arg4 = &temp4;
13797 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13798 }
13799 }
13800 if (obj4) {
13801 {
13802 arg5 = &temp5;
13803 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13804 }
13805 }
13806 if (obj5) {
13807 ecode6 = SWIG_AsVal_long(obj5, &val6);
13808 if (!SWIG_IsOK(ecode6)) {
13809 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13810 }
13811 arg6 = static_cast< long >(val6);
13812 }
13813 if (obj6) {
13814 {
13815 arg7 = wxString_in_helper(obj6);
13816 if (arg7 == NULL) SWIG_fail;
13817 temp7 = true;
13818 }
13819 }
13820 {
13821 PyThreadState* __tstate = wxPyBeginAllowThreads();
13822 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13823 wxPyEndAllowThreads(__tstate);
13824 if (PyErr_Occurred()) SWIG_fail;
13825 }
13826 {
13827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13828 }
13829 {
13830 if (temp7)
13831 delete arg7;
13832 }
13833 return resultobj;
13834 fail:
13835 {
13836 if (temp7)
13837 delete arg7;
13838 }
13839 return NULL;
13840 }
13841
13842
13843 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13844 PyObject *resultobj = 0;
13845 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13846 size_t arg2 ;
13847 void *argp1 = 0 ;
13848 int res1 = 0 ;
13849 size_t val2 ;
13850 int ecode2 = 0 ;
13851 PyObject * obj0 = 0 ;
13852 PyObject * obj1 = 0 ;
13853 char * kwnames[] = {
13854 (char *) "self",(char *) "count", NULL
13855 };
13856
13857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13859 if (!SWIG_IsOK(res1)) {
13860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13861 }
13862 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13863 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13864 if (!SWIG_IsOK(ecode2)) {
13865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13866 }
13867 arg2 = static_cast< size_t >(val2);
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 (arg1)->SetLineCount(arg2);
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
13874 resultobj = SWIG_Py_Void();
13875 return resultobj;
13876 fail:
13877 return NULL;
13878 }
13879
13880
13881 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13882 PyObject *resultobj = 0;
13883 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13884 size_t arg2 ;
13885 bool result;
13886 void *argp1 = 0 ;
13887 int res1 = 0 ;
13888 size_t val2 ;
13889 int ecode2 = 0 ;
13890 PyObject * obj0 = 0 ;
13891 PyObject * obj1 = 0 ;
13892 char * kwnames[] = {
13893 (char *) "self",(char *) "line", NULL
13894 };
13895
13896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13898 if (!SWIG_IsOK(res1)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13900 }
13901 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13902 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13903 if (!SWIG_IsOK(ecode2)) {
13904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13905 }
13906 arg2 = static_cast< size_t >(val2);
13907 {
13908 PyThreadState* __tstate = wxPyBeginAllowThreads();
13909 result = (bool)(arg1)->ScrollToLine(arg2);
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 {
13914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13915 }
13916 return resultobj;
13917 fail:
13918 return NULL;
13919 }
13920
13921
13922 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13923 PyObject *resultobj = 0;
13924 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13925 size_t arg2 ;
13926 void *argp1 = 0 ;
13927 int res1 = 0 ;
13928 size_t val2 ;
13929 int ecode2 = 0 ;
13930 PyObject * obj0 = 0 ;
13931 PyObject * obj1 = 0 ;
13932 char * kwnames[] = {
13933 (char *) "self",(char *) "line", NULL
13934 };
13935
13936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13938 if (!SWIG_IsOK(res1)) {
13939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13940 }
13941 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13942 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13943 if (!SWIG_IsOK(ecode2)) {
13944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13945 }
13946 arg2 = static_cast< size_t >(val2);
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 (arg1)->RefreshLine(arg2);
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 resultobj = SWIG_Py_Void();
13954 return resultobj;
13955 fail:
13956 return NULL;
13957 }
13958
13959
13960 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj = 0;
13962 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13963 size_t arg2 ;
13964 size_t arg3 ;
13965 void *argp1 = 0 ;
13966 int res1 = 0 ;
13967 size_t val2 ;
13968 int ecode2 = 0 ;
13969 size_t val3 ;
13970 int ecode3 = 0 ;
13971 PyObject * obj0 = 0 ;
13972 PyObject * obj1 = 0 ;
13973 PyObject * obj2 = 0 ;
13974 char * kwnames[] = {
13975 (char *) "self",(char *) "from",(char *) "to", NULL
13976 };
13977
13978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13980 if (!SWIG_IsOK(res1)) {
13981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13982 }
13983 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13984 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13985 if (!SWIG_IsOK(ecode2)) {
13986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13987 }
13988 arg2 = static_cast< size_t >(val2);
13989 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13990 if (!SWIG_IsOK(ecode3)) {
13991 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13992 }
13993 arg3 = static_cast< size_t >(val3);
13994 {
13995 PyThreadState* __tstate = wxPyBeginAllowThreads();
13996 (arg1)->RefreshLines(arg2,arg3);
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 resultobj = SWIG_Py_Void();
14001 return resultobj;
14002 fail:
14003 return NULL;
14004 }
14005
14006
14007 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj = 0;
14009 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14010 int arg2 ;
14011 int arg3 ;
14012 int result;
14013 void *argp1 = 0 ;
14014 int res1 = 0 ;
14015 int val2 ;
14016 int ecode2 = 0 ;
14017 int val3 ;
14018 int ecode3 = 0 ;
14019 PyObject * obj0 = 0 ;
14020 PyObject * obj1 = 0 ;
14021 PyObject * obj2 = 0 ;
14022 char * kwnames[] = {
14023 (char *) "self",(char *) "x",(char *) "y", NULL
14024 };
14025
14026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14028 if (!SWIG_IsOK(res1)) {
14029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14030 }
14031 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14032 ecode2 = SWIG_AsVal_int(obj1, &val2);
14033 if (!SWIG_IsOK(ecode2)) {
14034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14035 }
14036 arg2 = static_cast< int >(val2);
14037 ecode3 = SWIG_AsVal_int(obj2, &val3);
14038 if (!SWIG_IsOK(ecode3)) {
14039 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14040 }
14041 arg3 = static_cast< int >(val3);
14042 {
14043 PyThreadState* __tstate = wxPyBeginAllowThreads();
14044 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14045 wxPyEndAllowThreads(__tstate);
14046 if (PyErr_Occurred()) SWIG_fail;
14047 }
14048 resultobj = SWIG_From_int(static_cast< int >(result));
14049 return resultobj;
14050 fail:
14051 return NULL;
14052 }
14053
14054
14055 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14056 PyObject *resultobj = 0;
14057 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14058 wxPoint *arg2 = 0 ;
14059 int result;
14060 void *argp1 = 0 ;
14061 int res1 = 0 ;
14062 wxPoint temp2 ;
14063 PyObject * obj0 = 0 ;
14064 PyObject * obj1 = 0 ;
14065 char * kwnames[] = {
14066 (char *) "self",(char *) "pt", NULL
14067 };
14068
14069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14071 if (!SWIG_IsOK(res1)) {
14072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14073 }
14074 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14075 {
14076 arg2 = &temp2;
14077 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14078 }
14079 {
14080 PyThreadState* __tstate = wxPyBeginAllowThreads();
14081 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14082 wxPyEndAllowThreads(__tstate);
14083 if (PyErr_Occurred()) SWIG_fail;
14084 }
14085 resultobj = SWIG_From_int(static_cast< int >(result));
14086 return resultobj;
14087 fail:
14088 return NULL;
14089 }
14090
14091
14092 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14093 PyObject *resultobj = 0;
14094 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14095 void *argp1 = 0 ;
14096 int res1 = 0 ;
14097 PyObject *swig_obj[1] ;
14098
14099 if (!args) SWIG_fail;
14100 swig_obj[0] = args;
14101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14102 if (!SWIG_IsOK(res1)) {
14103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14104 }
14105 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14106 {
14107 PyThreadState* __tstate = wxPyBeginAllowThreads();
14108 (arg1)->RefreshAll();
14109 wxPyEndAllowThreads(__tstate);
14110 if (PyErr_Occurred()) SWIG_fail;
14111 }
14112 resultobj = SWIG_Py_Void();
14113 return resultobj;
14114 fail:
14115 return NULL;
14116 }
14117
14118
14119 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14120 PyObject *resultobj = 0;
14121 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14122 size_t result;
14123 void *argp1 = 0 ;
14124 int res1 = 0 ;
14125 PyObject *swig_obj[1] ;
14126
14127 if (!args) SWIG_fail;
14128 swig_obj[0] = args;
14129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14130 if (!SWIG_IsOK(res1)) {
14131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14132 }
14133 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14141 return resultobj;
14142 fail:
14143 return NULL;
14144 }
14145
14146
14147 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14148 PyObject *resultobj = 0;
14149 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14150 size_t result;
14151 void *argp1 = 0 ;
14152 int res1 = 0 ;
14153 PyObject *swig_obj[1] ;
14154
14155 if (!args) SWIG_fail;
14156 swig_obj[0] = args;
14157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14158 if (!SWIG_IsOK(res1)) {
14159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14160 }
14161 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14162 {
14163 PyThreadState* __tstate = wxPyBeginAllowThreads();
14164 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14165 wxPyEndAllowThreads(__tstate);
14166 if (PyErr_Occurred()) SWIG_fail;
14167 }
14168 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14169 return resultobj;
14170 fail:
14171 return NULL;
14172 }
14173
14174
14175 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14176 PyObject *resultobj = 0;
14177 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14178 size_t result;
14179 void *argp1 = 0 ;
14180 int res1 = 0 ;
14181 PyObject *swig_obj[1] ;
14182
14183 if (!args) SWIG_fail;
14184 swig_obj[0] = args;
14185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14186 if (!SWIG_IsOK(res1)) {
14187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14188 }
14189 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14190 {
14191 PyThreadState* __tstate = wxPyBeginAllowThreads();
14192 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14197 return resultobj;
14198 fail:
14199 return NULL;
14200 }
14201
14202
14203 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14204 PyObject *resultobj = 0;
14205 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14206 size_t arg2 ;
14207 bool result;
14208 void *argp1 = 0 ;
14209 int res1 = 0 ;
14210 size_t val2 ;
14211 int ecode2 = 0 ;
14212 PyObject * obj0 = 0 ;
14213 PyObject * obj1 = 0 ;
14214 char * kwnames[] = {
14215 (char *) "self",(char *) "line", NULL
14216 };
14217
14218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14220 if (!SWIG_IsOK(res1)) {
14221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14222 }
14223 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14224 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14225 if (!SWIG_IsOK(ecode2)) {
14226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14227 }
14228 arg2 = static_cast< size_t >(val2);
14229 {
14230 PyThreadState* __tstate = wxPyBeginAllowThreads();
14231 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14232 wxPyEndAllowThreads(__tstate);
14233 if (PyErr_Occurred()) SWIG_fail;
14234 }
14235 {
14236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14237 }
14238 return resultobj;
14239 fail:
14240 return NULL;
14241 }
14242
14243
14244 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14245 PyObject *resultobj = 0;
14246 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14247 size_t result;
14248 void *argp1 = 0 ;
14249 int res1 = 0 ;
14250 PyObject *swig_obj[1] ;
14251
14252 if (!args) SWIG_fail;
14253 swig_obj[0] = args;
14254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14255 if (!SWIG_IsOK(res1)) {
14256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14257 }
14258 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14262 wxPyEndAllowThreads(__tstate);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 }
14265 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14266 return resultobj;
14267 fail:
14268 return NULL;
14269 }
14270
14271
14272 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14273 PyObject *resultobj = 0;
14274 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14275 size_t result;
14276 void *argp1 = 0 ;
14277 int res1 = 0 ;
14278 PyObject *swig_obj[1] ;
14279
14280 if (!args) SWIG_fail;
14281 swig_obj[0] = args;
14282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14283 if (!SWIG_IsOK(res1)) {
14284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14285 }
14286 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14287 {
14288 PyThreadState* __tstate = wxPyBeginAllowThreads();
14289 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
14293 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14294 return resultobj;
14295 fail:
14296 return NULL;
14297 }
14298
14299
14300 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14301 PyObject *resultobj = 0;
14302 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14303 size_t arg2 ;
14304 bool arg3 = (bool) false ;
14305 size_t result;
14306 void *argp1 = 0 ;
14307 int res1 = 0 ;
14308 size_t val2 ;
14309 int ecode2 = 0 ;
14310 bool val3 ;
14311 int ecode3 = 0 ;
14312 PyObject * obj0 = 0 ;
14313 PyObject * obj1 = 0 ;
14314 PyObject * obj2 = 0 ;
14315 char * kwnames[] = {
14316 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14317 };
14318
14319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14321 if (!SWIG_IsOK(res1)) {
14322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14323 }
14324 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14325 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14326 if (!SWIG_IsOK(ecode2)) {
14327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14328 }
14329 arg2 = static_cast< size_t >(val2);
14330 if (obj2) {
14331 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14332 if (!SWIG_IsOK(ecode3)) {
14333 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14334 }
14335 arg3 = static_cast< bool >(val3);
14336 }
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14344 return resultobj;
14345 fail:
14346 return NULL;
14347 }
14348
14349
14350 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14351 PyObject *resultobj = 0;
14352 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14353 size_t arg2 ;
14354 size_t arg3 ;
14355 int result;
14356 void *argp1 = 0 ;
14357 int res1 = 0 ;
14358 size_t val2 ;
14359 int ecode2 = 0 ;
14360 size_t val3 ;
14361 int ecode3 = 0 ;
14362 PyObject * obj0 = 0 ;
14363 PyObject * obj1 = 0 ;
14364 PyObject * obj2 = 0 ;
14365 char * kwnames[] = {
14366 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14367 };
14368
14369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14371 if (!SWIG_IsOK(res1)) {
14372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14373 }
14374 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14375 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14376 if (!SWIG_IsOK(ecode2)) {
14377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14378 }
14379 arg2 = static_cast< size_t >(val2);
14380 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14381 if (!SWIG_IsOK(ecode3)) {
14382 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14383 }
14384 arg3 = static_cast< size_t >(val3);
14385 {
14386 PyThreadState* __tstate = wxPyBeginAllowThreads();
14387 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14388 wxPyEndAllowThreads(__tstate);
14389 if (PyErr_Occurred()) SWIG_fail;
14390 }
14391 resultobj = SWIG_From_int(static_cast< int >(result));
14392 return resultobj;
14393 fail:
14394 return NULL;
14395 }
14396
14397
14398 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14399 PyObject *obj;
14400 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14401 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14402 return SWIG_Py_Void();
14403 }
14404
14405 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14406 return SWIG_Python_InitShadowInstance(args);
14407 }
14408
14409 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14410 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14411 return 1;
14412 }
14413
14414
14415 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14416 PyObject *pyobj = 0;
14417
14418 {
14419 #if wxUSE_UNICODE
14420 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14421 #else
14422 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14423 #endif
14424 }
14425 return pyobj;
14426 }
14427
14428
14429 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj = 0;
14431 wxWindow *arg1 = (wxWindow *) 0 ;
14432 int arg2 = (int) wxID_ANY ;
14433 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14434 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14435 wxSize const &arg4_defvalue = wxDefaultSize ;
14436 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14437 long arg5 = (long) 0 ;
14438 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14439 wxString *arg6 = (wxString *) &arg6_defvalue ;
14440 wxPyVListBox *result = 0 ;
14441 void *argp1 = 0 ;
14442 int res1 = 0 ;
14443 int val2 ;
14444 int ecode2 = 0 ;
14445 wxPoint temp3 ;
14446 wxSize temp4 ;
14447 long val5 ;
14448 int ecode5 = 0 ;
14449 bool temp6 = false ;
14450 PyObject * obj0 = 0 ;
14451 PyObject * obj1 = 0 ;
14452 PyObject * obj2 = 0 ;
14453 PyObject * obj3 = 0 ;
14454 PyObject * obj4 = 0 ;
14455 PyObject * obj5 = 0 ;
14456 char * kwnames[] = {
14457 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14458 };
14459
14460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14462 if (!SWIG_IsOK(res1)) {
14463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14464 }
14465 arg1 = reinterpret_cast< wxWindow * >(argp1);
14466 if (obj1) {
14467 ecode2 = SWIG_AsVal_int(obj1, &val2);
14468 if (!SWIG_IsOK(ecode2)) {
14469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14470 }
14471 arg2 = static_cast< int >(val2);
14472 }
14473 if (obj2) {
14474 {
14475 arg3 = &temp3;
14476 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14477 }
14478 }
14479 if (obj3) {
14480 {
14481 arg4 = &temp4;
14482 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14483 }
14484 }
14485 if (obj4) {
14486 ecode5 = SWIG_AsVal_long(obj4, &val5);
14487 if (!SWIG_IsOK(ecode5)) {
14488 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14489 }
14490 arg5 = static_cast< long >(val5);
14491 }
14492 if (obj5) {
14493 {
14494 arg6 = wxString_in_helper(obj5);
14495 if (arg6 == NULL) SWIG_fail;
14496 temp6 = true;
14497 }
14498 }
14499 {
14500 if (!wxPyCheckForApp()) SWIG_fail;
14501 PyThreadState* __tstate = wxPyBeginAllowThreads();
14502 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14507 {
14508 if (temp6)
14509 delete arg6;
14510 }
14511 return resultobj;
14512 fail:
14513 {
14514 if (temp6)
14515 delete arg6;
14516 }
14517 return NULL;
14518 }
14519
14520
14521 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14522 PyObject *resultobj = 0;
14523 wxPyVListBox *result = 0 ;
14524
14525 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14526 {
14527 if (!wxPyCheckForApp()) SWIG_fail;
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 result = (wxPyVListBox *)new wxPyVListBox();
14530 wxPyEndAllowThreads(__tstate);
14531 if (PyErr_Occurred()) SWIG_fail;
14532 }
14533 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14534 return resultobj;
14535 fail:
14536 return NULL;
14537 }
14538
14539
14540 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14541 PyObject *resultobj = 0;
14542 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14543 PyObject *arg2 = (PyObject *) 0 ;
14544 PyObject *arg3 = (PyObject *) 0 ;
14545 void *argp1 = 0 ;
14546 int res1 = 0 ;
14547 PyObject * obj0 = 0 ;
14548 PyObject * obj1 = 0 ;
14549 PyObject * obj2 = 0 ;
14550 char * kwnames[] = {
14551 (char *) "self",(char *) "self",(char *) "_class", NULL
14552 };
14553
14554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14556 if (!SWIG_IsOK(res1)) {
14557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14558 }
14559 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14560 arg2 = obj1;
14561 arg3 = obj2;
14562 {
14563 PyThreadState* __tstate = wxPyBeginAllowThreads();
14564 (arg1)->_setCallbackInfo(arg2,arg3);
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 resultobj = SWIG_Py_Void();
14569 return resultobj;
14570 fail:
14571 return NULL;
14572 }
14573
14574
14575 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj = 0;
14577 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14578 wxWindow *arg2 = (wxWindow *) 0 ;
14579 int arg3 = (int) wxID_ANY ;
14580 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14581 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14582 wxSize const &arg5_defvalue = wxDefaultSize ;
14583 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14584 long arg6 = (long) 0 ;
14585 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14586 wxString *arg7 = (wxString *) &arg7_defvalue ;
14587 bool result;
14588 void *argp1 = 0 ;
14589 int res1 = 0 ;
14590 void *argp2 = 0 ;
14591 int res2 = 0 ;
14592 int val3 ;
14593 int ecode3 = 0 ;
14594 wxPoint temp4 ;
14595 wxSize temp5 ;
14596 long val6 ;
14597 int ecode6 = 0 ;
14598 bool temp7 = false ;
14599 PyObject * obj0 = 0 ;
14600 PyObject * obj1 = 0 ;
14601 PyObject * obj2 = 0 ;
14602 PyObject * obj3 = 0 ;
14603 PyObject * obj4 = 0 ;
14604 PyObject * obj5 = 0 ;
14605 PyObject * obj6 = 0 ;
14606 char * kwnames[] = {
14607 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14608 };
14609
14610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14612 if (!SWIG_IsOK(res1)) {
14613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14614 }
14615 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14616 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14617 if (!SWIG_IsOK(res2)) {
14618 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14619 }
14620 arg2 = reinterpret_cast< wxWindow * >(argp2);
14621 if (obj2) {
14622 ecode3 = SWIG_AsVal_int(obj2, &val3);
14623 if (!SWIG_IsOK(ecode3)) {
14624 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14625 }
14626 arg3 = static_cast< int >(val3);
14627 }
14628 if (obj3) {
14629 {
14630 arg4 = &temp4;
14631 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14632 }
14633 }
14634 if (obj4) {
14635 {
14636 arg5 = &temp5;
14637 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14638 }
14639 }
14640 if (obj5) {
14641 ecode6 = SWIG_AsVal_long(obj5, &val6);
14642 if (!SWIG_IsOK(ecode6)) {
14643 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14644 }
14645 arg6 = static_cast< long >(val6);
14646 }
14647 if (obj6) {
14648 {
14649 arg7 = wxString_in_helper(obj6);
14650 if (arg7 == NULL) SWIG_fail;
14651 temp7 = true;
14652 }
14653 }
14654 {
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14657 wxPyEndAllowThreads(__tstate);
14658 if (PyErr_Occurred()) SWIG_fail;
14659 }
14660 {
14661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14662 }
14663 {
14664 if (temp7)
14665 delete arg7;
14666 }
14667 return resultobj;
14668 fail:
14669 {
14670 if (temp7)
14671 delete arg7;
14672 }
14673 return NULL;
14674 }
14675
14676
14677 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14678 PyObject *resultobj = 0;
14679 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14680 size_t result;
14681 void *argp1 = 0 ;
14682 int res1 = 0 ;
14683 PyObject *swig_obj[1] ;
14684
14685 if (!args) SWIG_fail;
14686 swig_obj[0] = args;
14687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14688 if (!SWIG_IsOK(res1)) {
14689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14690 }
14691 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14692 {
14693 PyThreadState* __tstate = wxPyBeginAllowThreads();
14694 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14695 wxPyEndAllowThreads(__tstate);
14696 if (PyErr_Occurred()) SWIG_fail;
14697 }
14698 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14699 return resultobj;
14700 fail:
14701 return NULL;
14702 }
14703
14704
14705 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14706 PyObject *resultobj = 0;
14707 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14708 bool result;
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_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14718 }
14719 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14720 {
14721 PyThreadState* __tstate = wxPyBeginAllowThreads();
14722 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 {
14727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14728 }
14729 return resultobj;
14730 fail:
14731 return NULL;
14732 }
14733
14734
14735 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14736 PyObject *resultobj = 0;
14737 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14738 int result;
14739 void *argp1 = 0 ;
14740 int res1 = 0 ;
14741 PyObject *swig_obj[1] ;
14742
14743 if (!args) SWIG_fail;
14744 swig_obj[0] = args;
14745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14746 if (!SWIG_IsOK(res1)) {
14747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14748 }
14749 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14750 {
14751 PyThreadState* __tstate = wxPyBeginAllowThreads();
14752 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14753 wxPyEndAllowThreads(__tstate);
14754 if (PyErr_Occurred()) SWIG_fail;
14755 }
14756 resultobj = SWIG_From_int(static_cast< int >(result));
14757 return resultobj;
14758 fail:
14759 return NULL;
14760 }
14761
14762
14763 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14764 PyObject *resultobj = 0;
14765 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14766 size_t arg2 ;
14767 bool result;
14768 void *argp1 = 0 ;
14769 int res1 = 0 ;
14770 size_t val2 ;
14771 int ecode2 = 0 ;
14772 PyObject * obj0 = 0 ;
14773 PyObject * obj1 = 0 ;
14774 char * kwnames[] = {
14775 (char *) "self",(char *) "item", NULL
14776 };
14777
14778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14780 if (!SWIG_IsOK(res1)) {
14781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14782 }
14783 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14784 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14785 if (!SWIG_IsOK(ecode2)) {
14786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14787 }
14788 arg2 = static_cast< size_t >(val2);
14789 {
14790 PyThreadState* __tstate = wxPyBeginAllowThreads();
14791 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14792 wxPyEndAllowThreads(__tstate);
14793 if (PyErr_Occurred()) SWIG_fail;
14794 }
14795 {
14796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14797 }
14798 return resultobj;
14799 fail:
14800 return NULL;
14801 }
14802
14803
14804 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14805 PyObject *resultobj = 0;
14806 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14807 size_t arg2 ;
14808 bool result;
14809 void *argp1 = 0 ;
14810 int res1 = 0 ;
14811 size_t val2 ;
14812 int ecode2 = 0 ;
14813 PyObject * obj0 = 0 ;
14814 PyObject * obj1 = 0 ;
14815 char * kwnames[] = {
14816 (char *) "self",(char *) "item", NULL
14817 };
14818
14819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14821 if (!SWIG_IsOK(res1)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14823 }
14824 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14825 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14826 if (!SWIG_IsOK(ecode2)) {
14827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14828 }
14829 arg2 = static_cast< size_t >(val2);
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
14836 {
14837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14838 }
14839 return resultobj;
14840 fail:
14841 return NULL;
14842 }
14843
14844
14845 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14846 PyObject *resultobj = 0;
14847 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14848 size_t result;
14849 void *argp1 = 0 ;
14850 int res1 = 0 ;
14851 PyObject *swig_obj[1] ;
14852
14853 if (!args) SWIG_fail;
14854 swig_obj[0] = args;
14855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14856 if (!SWIG_IsOK(res1)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14858 }
14859 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14867 return resultobj;
14868 fail:
14869 return NULL;
14870 }
14871
14872
14873 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14874 PyObject *resultobj = 0;
14875 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14876 PyObject *result = 0 ;
14877 void *argp1 = 0 ;
14878 int res1 = 0 ;
14879 PyObject *swig_obj[1] ;
14880
14881 if (!args) SWIG_fail;
14882 swig_obj[0] = args;
14883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14884 if (!SWIG_IsOK(res1)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14886 }
14887 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14888 {
14889 PyThreadState* __tstate = wxPyBeginAllowThreads();
14890 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 resultobj = result;
14895 return resultobj;
14896 fail:
14897 return NULL;
14898 }
14899
14900
14901 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14902 PyObject *resultobj = 0;
14903 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14904 unsigned long arg2 ;
14905 PyObject *result = 0 ;
14906 void *argp1 = 0 ;
14907 int res1 = 0 ;
14908 unsigned long val2 ;
14909 int ecode2 = 0 ;
14910 PyObject * obj0 = 0 ;
14911 PyObject * obj1 = 0 ;
14912 char * kwnames[] = {
14913 (char *) "self",(char *) "cookie", NULL
14914 };
14915
14916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14918 if (!SWIG_IsOK(res1)) {
14919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14920 }
14921 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14922 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14923 if (!SWIG_IsOK(ecode2)) {
14924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14925 }
14926 arg2 = static_cast< unsigned long >(val2);
14927 {
14928 PyThreadState* __tstate = wxPyBeginAllowThreads();
14929 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14930 wxPyEndAllowThreads(__tstate);
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 resultobj = result;
14934 return resultobj;
14935 fail:
14936 return NULL;
14937 }
14938
14939
14940 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14941 PyObject *resultobj = 0;
14942 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14943 wxPoint result;
14944 void *argp1 = 0 ;
14945 int res1 = 0 ;
14946 PyObject *swig_obj[1] ;
14947
14948 if (!args) SWIG_fail;
14949 swig_obj[0] = args;
14950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14951 if (!SWIG_IsOK(res1)) {
14952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14953 }
14954 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14955 {
14956 PyThreadState* __tstate = wxPyBeginAllowThreads();
14957 result = ((wxPyVListBox const *)arg1)->GetMargins();
14958 wxPyEndAllowThreads(__tstate);
14959 if (PyErr_Occurred()) SWIG_fail;
14960 }
14961 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14962 return resultobj;
14963 fail:
14964 return NULL;
14965 }
14966
14967
14968 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14969 PyObject *resultobj = 0;
14970 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14971 wxColour *result = 0 ;
14972 void *argp1 = 0 ;
14973 int res1 = 0 ;
14974 PyObject *swig_obj[1] ;
14975
14976 if (!args) SWIG_fail;
14977 swig_obj[0] = args;
14978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14979 if (!SWIG_IsOK(res1)) {
14980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14981 }
14982 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 {
14986 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14987 result = (wxColour *) &_result_ref;
14988 }
14989 wxPyEndAllowThreads(__tstate);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14993 return resultobj;
14994 fail:
14995 return NULL;
14996 }
14997
14998
14999 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15000 PyObject *resultobj = 0;
15001 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15002 size_t arg2 ;
15003 void *argp1 = 0 ;
15004 int res1 = 0 ;
15005 size_t val2 ;
15006 int ecode2 = 0 ;
15007 PyObject * obj0 = 0 ;
15008 PyObject * obj1 = 0 ;
15009 char * kwnames[] = {
15010 (char *) "self",(char *) "count", NULL
15011 };
15012
15013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15015 if (!SWIG_IsOK(res1)) {
15016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15017 }
15018 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15019 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15020 if (!SWIG_IsOK(ecode2)) {
15021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15022 }
15023 arg2 = static_cast< size_t >(val2);
15024 {
15025 PyThreadState* __tstate = wxPyBeginAllowThreads();
15026 (arg1)->SetItemCount(arg2);
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
15030 resultobj = SWIG_Py_Void();
15031 return resultobj;
15032 fail:
15033 return NULL;
15034 }
15035
15036
15037 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15038 PyObject *resultobj = 0;
15039 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15040 void *argp1 = 0 ;
15041 int res1 = 0 ;
15042 PyObject *swig_obj[1] ;
15043
15044 if (!args) SWIG_fail;
15045 swig_obj[0] = args;
15046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15047 if (!SWIG_IsOK(res1)) {
15048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15049 }
15050 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15051 {
15052 PyThreadState* __tstate = wxPyBeginAllowThreads();
15053 (arg1)->Clear();
15054 wxPyEndAllowThreads(__tstate);
15055 if (PyErr_Occurred()) SWIG_fail;
15056 }
15057 resultobj = SWIG_Py_Void();
15058 return resultobj;
15059 fail:
15060 return NULL;
15061 }
15062
15063
15064 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15065 PyObject *resultobj = 0;
15066 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15067 int arg2 ;
15068 void *argp1 = 0 ;
15069 int res1 = 0 ;
15070 int val2 ;
15071 int ecode2 = 0 ;
15072 PyObject * obj0 = 0 ;
15073 PyObject * obj1 = 0 ;
15074 char * kwnames[] = {
15075 (char *) "self",(char *) "selection", NULL
15076 };
15077
15078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15080 if (!SWIG_IsOK(res1)) {
15081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15082 }
15083 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15084 ecode2 = SWIG_AsVal_int(obj1, &val2);
15085 if (!SWIG_IsOK(ecode2)) {
15086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15087 }
15088 arg2 = static_cast< int >(val2);
15089 {
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 (arg1)->SetSelection(arg2);
15092 wxPyEndAllowThreads(__tstate);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
15095 resultobj = SWIG_Py_Void();
15096 return resultobj;
15097 fail:
15098 return NULL;
15099 }
15100
15101
15102 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15103 PyObject *resultobj = 0;
15104 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15105 size_t arg2 ;
15106 bool arg3 = (bool) true ;
15107 bool result;
15108 void *argp1 = 0 ;
15109 int res1 = 0 ;
15110 size_t val2 ;
15111 int ecode2 = 0 ;
15112 bool val3 ;
15113 int ecode3 = 0 ;
15114 PyObject * obj0 = 0 ;
15115 PyObject * obj1 = 0 ;
15116 PyObject * obj2 = 0 ;
15117 char * kwnames[] = {
15118 (char *) "self",(char *) "item",(char *) "select", NULL
15119 };
15120
15121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15123 if (!SWIG_IsOK(res1)) {
15124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15125 }
15126 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15127 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15128 if (!SWIG_IsOK(ecode2)) {
15129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15130 }
15131 arg2 = static_cast< size_t >(val2);
15132 if (obj2) {
15133 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15134 if (!SWIG_IsOK(ecode3)) {
15135 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15136 }
15137 arg3 = static_cast< bool >(val3);
15138 }
15139 {
15140 PyThreadState* __tstate = wxPyBeginAllowThreads();
15141 result = (bool)(arg1)->Select(arg2,arg3);
15142 wxPyEndAllowThreads(__tstate);
15143 if (PyErr_Occurred()) SWIG_fail;
15144 }
15145 {
15146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15147 }
15148 return resultobj;
15149 fail:
15150 return NULL;
15151 }
15152
15153
15154 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15155 PyObject *resultobj = 0;
15156 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15157 size_t arg2 ;
15158 size_t arg3 ;
15159 bool result;
15160 void *argp1 = 0 ;
15161 int res1 = 0 ;
15162 size_t val2 ;
15163 int ecode2 = 0 ;
15164 size_t val3 ;
15165 int ecode3 = 0 ;
15166 PyObject * obj0 = 0 ;
15167 PyObject * obj1 = 0 ;
15168 PyObject * obj2 = 0 ;
15169 char * kwnames[] = {
15170 (char *) "self",(char *) "from",(char *) "to", NULL
15171 };
15172
15173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15175 if (!SWIG_IsOK(res1)) {
15176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15177 }
15178 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15179 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15180 if (!SWIG_IsOK(ecode2)) {
15181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15182 }
15183 arg2 = static_cast< size_t >(val2);
15184 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15185 if (!SWIG_IsOK(ecode3)) {
15186 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15187 }
15188 arg3 = static_cast< size_t >(val3);
15189 {
15190 PyThreadState* __tstate = wxPyBeginAllowThreads();
15191 result = (bool)(arg1)->SelectRange(arg2,arg3);
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 {
15196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15197 }
15198 return resultobj;
15199 fail:
15200 return NULL;
15201 }
15202
15203
15204 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj = 0;
15206 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15207 size_t arg2 ;
15208 void *argp1 = 0 ;
15209 int res1 = 0 ;
15210 size_t val2 ;
15211 int ecode2 = 0 ;
15212 PyObject * obj0 = 0 ;
15213 PyObject * obj1 = 0 ;
15214 char * kwnames[] = {
15215 (char *) "self",(char *) "item", NULL
15216 };
15217
15218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15220 if (!SWIG_IsOK(res1)) {
15221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15222 }
15223 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15224 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15225 if (!SWIG_IsOK(ecode2)) {
15226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15227 }
15228 arg2 = static_cast< size_t >(val2);
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 (arg1)->Toggle(arg2);
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 resultobj = SWIG_Py_Void();
15236 return resultobj;
15237 fail:
15238 return NULL;
15239 }
15240
15241
15242 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15243 PyObject *resultobj = 0;
15244 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15245 bool result;
15246 void *argp1 = 0 ;
15247 int res1 = 0 ;
15248 PyObject *swig_obj[1] ;
15249
15250 if (!args) SWIG_fail;
15251 swig_obj[0] = args;
15252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15253 if (!SWIG_IsOK(res1)) {
15254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15255 }
15256 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15257 {
15258 PyThreadState* __tstate = wxPyBeginAllowThreads();
15259 result = (bool)(arg1)->SelectAll();
15260 wxPyEndAllowThreads(__tstate);
15261 if (PyErr_Occurred()) SWIG_fail;
15262 }
15263 {
15264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15265 }
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15273 PyObject *resultobj = 0;
15274 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15275 bool result;
15276 void *argp1 = 0 ;
15277 int res1 = 0 ;
15278 PyObject *swig_obj[1] ;
15279
15280 if (!args) SWIG_fail;
15281 swig_obj[0] = args;
15282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15283 if (!SWIG_IsOK(res1)) {
15284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15285 }
15286 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 result = (bool)(arg1)->DeselectAll();
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 {
15294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15295 }
15296 return resultobj;
15297 fail:
15298 return NULL;
15299 }
15300
15301
15302 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15303 PyObject *resultobj = 0;
15304 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15305 wxPoint *arg2 = 0 ;
15306 void *argp1 = 0 ;
15307 int res1 = 0 ;
15308 wxPoint temp2 ;
15309 PyObject * obj0 = 0 ;
15310 PyObject * obj1 = 0 ;
15311 char * kwnames[] = {
15312 (char *) "self",(char *) "pt", NULL
15313 };
15314
15315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15317 if (!SWIG_IsOK(res1)) {
15318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15319 }
15320 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15321 {
15322 arg2 = &temp2;
15323 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15324 }
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 (arg1)->SetMargins((wxPoint const &)*arg2);
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 resultobj = SWIG_Py_Void();
15332 return resultobj;
15333 fail:
15334 return NULL;
15335 }
15336
15337
15338 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15339 PyObject *resultobj = 0;
15340 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15341 int arg2 ;
15342 int arg3 ;
15343 void *argp1 = 0 ;
15344 int res1 = 0 ;
15345 int val2 ;
15346 int ecode2 = 0 ;
15347 int val3 ;
15348 int ecode3 = 0 ;
15349 PyObject * obj0 = 0 ;
15350 PyObject * obj1 = 0 ;
15351 PyObject * obj2 = 0 ;
15352 char * kwnames[] = {
15353 (char *) "self",(char *) "x",(char *) "y", NULL
15354 };
15355
15356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15358 if (!SWIG_IsOK(res1)) {
15359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15360 }
15361 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15362 ecode2 = SWIG_AsVal_int(obj1, &val2);
15363 if (!SWIG_IsOK(ecode2)) {
15364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15365 }
15366 arg2 = static_cast< int >(val2);
15367 ecode3 = SWIG_AsVal_int(obj2, &val3);
15368 if (!SWIG_IsOK(ecode3)) {
15369 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15370 }
15371 arg3 = static_cast< int >(val3);
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 (arg1)->SetMargins(arg2,arg3);
15375 wxPyEndAllowThreads(__tstate);
15376 if (PyErr_Occurred()) SWIG_fail;
15377 }
15378 resultobj = SWIG_Py_Void();
15379 return resultobj;
15380 fail:
15381 return NULL;
15382 }
15383
15384
15385 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15386 PyObject *resultobj = 0;
15387 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15388 wxColour *arg2 = 0 ;
15389 void *argp1 = 0 ;
15390 int res1 = 0 ;
15391 wxColour temp2 ;
15392 PyObject * obj0 = 0 ;
15393 PyObject * obj1 = 0 ;
15394 char * kwnames[] = {
15395 (char *) "self",(char *) "col", NULL
15396 };
15397
15398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15400 if (!SWIG_IsOK(res1)) {
15401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15402 }
15403 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15404 {
15405 arg2 = &temp2;
15406 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15407 }
15408 {
15409 PyThreadState* __tstate = wxPyBeginAllowThreads();
15410 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15411 wxPyEndAllowThreads(__tstate);
15412 if (PyErr_Occurred()) SWIG_fail;
15413 }
15414 resultobj = SWIG_Py_Void();
15415 return resultobj;
15416 fail:
15417 return NULL;
15418 }
15419
15420
15421 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15422 PyObject *resultobj = 0;
15423 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15424 wxDC *arg2 = 0 ;
15425 wxRect *arg3 = 0 ;
15426 size_t arg4 ;
15427 void *argp1 = 0 ;
15428 int res1 = 0 ;
15429 void *argp2 = 0 ;
15430 int res2 = 0 ;
15431 wxRect temp3 ;
15432 size_t val4 ;
15433 int ecode4 = 0 ;
15434 PyObject * obj0 = 0 ;
15435 PyObject * obj1 = 0 ;
15436 PyObject * obj2 = 0 ;
15437 PyObject * obj3 = 0 ;
15438 char * kwnames[] = {
15439 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15440 };
15441
15442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15444 if (!SWIG_IsOK(res1)) {
15445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15446 }
15447 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15448 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15449 if (!SWIG_IsOK(res2)) {
15450 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15451 }
15452 if (!argp2) {
15453 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15454 }
15455 arg2 = reinterpret_cast< wxDC * >(argp2);
15456 {
15457 arg3 = &temp3;
15458 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15459 }
15460 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15461 if (!SWIG_IsOK(ecode4)) {
15462 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15463 }
15464 arg4 = static_cast< size_t >(val4);
15465 {
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 resultobj = SWIG_Py_Void();
15472 return resultobj;
15473 fail:
15474 return NULL;
15475 }
15476
15477
15478 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15479 PyObject *resultobj = 0;
15480 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15481 wxDC *arg2 = 0 ;
15482 wxRect *arg3 = 0 ;
15483 size_t arg4 ;
15484 void *argp1 = 0 ;
15485 int res1 = 0 ;
15486 void *argp2 = 0 ;
15487 int res2 = 0 ;
15488 wxRect temp3 ;
15489 size_t val4 ;
15490 int ecode4 = 0 ;
15491 PyObject * obj0 = 0 ;
15492 PyObject * obj1 = 0 ;
15493 PyObject * obj2 = 0 ;
15494 PyObject * obj3 = 0 ;
15495 char * kwnames[] = {
15496 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15497 };
15498
15499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15501 if (!SWIG_IsOK(res1)) {
15502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15503 }
15504 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15505 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15506 if (!SWIG_IsOK(res2)) {
15507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15508 }
15509 if (!argp2) {
15510 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15511 }
15512 arg2 = reinterpret_cast< wxDC * >(argp2);
15513 {
15514 arg3 = &temp3;
15515 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15516 }
15517 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15518 if (!SWIG_IsOK(ecode4)) {
15519 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15520 }
15521 arg4 = static_cast< size_t >(val4);
15522 {
15523 PyThreadState* __tstate = wxPyBeginAllowThreads();
15524 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15525 wxPyEndAllowThreads(__tstate);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 }
15528 resultobj = SWIG_Py_Void();
15529 return resultobj;
15530 fail:
15531 return NULL;
15532 }
15533
15534
15535 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15536 PyObject *obj;
15537 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15538 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15539 return SWIG_Py_Void();
15540 }
15541
15542 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15543 return SWIG_Python_InitShadowInstance(args);
15544 }
15545
15546 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15547 PyObject *resultobj = 0;
15548 wxWindow *arg1 = (wxWindow *) 0 ;
15549 int arg2 = (int) wxID_ANY ;
15550 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15551 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15552 wxSize const &arg4_defvalue = wxDefaultSize ;
15553 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15554 long arg5 = (long) 0 ;
15555 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15556 wxString *arg6 = (wxString *) &arg6_defvalue ;
15557 wxPyHtmlListBox *result = 0 ;
15558 void *argp1 = 0 ;
15559 int res1 = 0 ;
15560 int val2 ;
15561 int ecode2 = 0 ;
15562 wxPoint temp3 ;
15563 wxSize temp4 ;
15564 long val5 ;
15565 int ecode5 = 0 ;
15566 bool temp6 = false ;
15567 PyObject * obj0 = 0 ;
15568 PyObject * obj1 = 0 ;
15569 PyObject * obj2 = 0 ;
15570 PyObject * obj3 = 0 ;
15571 PyObject * obj4 = 0 ;
15572 PyObject * obj5 = 0 ;
15573 char * kwnames[] = {
15574 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15575 };
15576
15577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15579 if (!SWIG_IsOK(res1)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15581 }
15582 arg1 = reinterpret_cast< wxWindow * >(argp1);
15583 if (obj1) {
15584 ecode2 = SWIG_AsVal_int(obj1, &val2);
15585 if (!SWIG_IsOK(ecode2)) {
15586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15587 }
15588 arg2 = static_cast< int >(val2);
15589 }
15590 if (obj2) {
15591 {
15592 arg3 = &temp3;
15593 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15594 }
15595 }
15596 if (obj3) {
15597 {
15598 arg4 = &temp4;
15599 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15600 }
15601 }
15602 if (obj4) {
15603 ecode5 = SWIG_AsVal_long(obj4, &val5);
15604 if (!SWIG_IsOK(ecode5)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15606 }
15607 arg5 = static_cast< long >(val5);
15608 }
15609 if (obj5) {
15610 {
15611 arg6 = wxString_in_helper(obj5);
15612 if (arg6 == NULL) SWIG_fail;
15613 temp6 = true;
15614 }
15615 }
15616 {
15617 if (!wxPyCheckForApp()) SWIG_fail;
15618 PyThreadState* __tstate = wxPyBeginAllowThreads();
15619 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15620 wxPyEndAllowThreads(__tstate);
15621 if (PyErr_Occurred()) SWIG_fail;
15622 }
15623 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15624 {
15625 if (temp6)
15626 delete arg6;
15627 }
15628 return resultobj;
15629 fail:
15630 {
15631 if (temp6)
15632 delete arg6;
15633 }
15634 return NULL;
15635 }
15636
15637
15638 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15639 PyObject *resultobj = 0;
15640 wxPyHtmlListBox *result = 0 ;
15641
15642 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15643 {
15644 if (!wxPyCheckForApp()) SWIG_fail;
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15647 wxPyEndAllowThreads(__tstate);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
15650 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15651 return resultobj;
15652 fail:
15653 return NULL;
15654 }
15655
15656
15657 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15658 PyObject *resultobj = 0;
15659 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15660 PyObject *arg2 = (PyObject *) 0 ;
15661 PyObject *arg3 = (PyObject *) 0 ;
15662 void *argp1 = 0 ;
15663 int res1 = 0 ;
15664 PyObject * obj0 = 0 ;
15665 PyObject * obj1 = 0 ;
15666 PyObject * obj2 = 0 ;
15667 char * kwnames[] = {
15668 (char *) "self",(char *) "self",(char *) "_class", NULL
15669 };
15670
15671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15673 if (!SWIG_IsOK(res1)) {
15674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15675 }
15676 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15677 arg2 = obj1;
15678 arg3 = obj2;
15679 {
15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
15681 (arg1)->_setCallbackInfo(arg2,arg3);
15682 wxPyEndAllowThreads(__tstate);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 }
15685 resultobj = SWIG_Py_Void();
15686 return resultobj;
15687 fail:
15688 return NULL;
15689 }
15690
15691
15692 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15693 PyObject *resultobj = 0;
15694 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15695 wxWindow *arg2 = (wxWindow *) 0 ;
15696 int arg3 = (int) wxID_ANY ;
15697 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15698 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15699 wxSize const &arg5_defvalue = wxDefaultSize ;
15700 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15701 long arg6 = (long) 0 ;
15702 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15703 wxString *arg7 = (wxString *) &arg7_defvalue ;
15704 bool result;
15705 void *argp1 = 0 ;
15706 int res1 = 0 ;
15707 void *argp2 = 0 ;
15708 int res2 = 0 ;
15709 int val3 ;
15710 int ecode3 = 0 ;
15711 wxPoint temp4 ;
15712 wxSize temp5 ;
15713 long val6 ;
15714 int ecode6 = 0 ;
15715 bool temp7 = false ;
15716 PyObject * obj0 = 0 ;
15717 PyObject * obj1 = 0 ;
15718 PyObject * obj2 = 0 ;
15719 PyObject * obj3 = 0 ;
15720 PyObject * obj4 = 0 ;
15721 PyObject * obj5 = 0 ;
15722 PyObject * obj6 = 0 ;
15723 char * kwnames[] = {
15724 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15725 };
15726
15727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15729 if (!SWIG_IsOK(res1)) {
15730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15731 }
15732 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15733 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15734 if (!SWIG_IsOK(res2)) {
15735 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15736 }
15737 arg2 = reinterpret_cast< wxWindow * >(argp2);
15738 if (obj2) {
15739 ecode3 = SWIG_AsVal_int(obj2, &val3);
15740 if (!SWIG_IsOK(ecode3)) {
15741 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15742 }
15743 arg3 = static_cast< int >(val3);
15744 }
15745 if (obj3) {
15746 {
15747 arg4 = &temp4;
15748 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15749 }
15750 }
15751 if (obj4) {
15752 {
15753 arg5 = &temp5;
15754 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15755 }
15756 }
15757 if (obj5) {
15758 ecode6 = SWIG_AsVal_long(obj5, &val6);
15759 if (!SWIG_IsOK(ecode6)) {
15760 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15761 }
15762 arg6 = static_cast< long >(val6);
15763 }
15764 if (obj6) {
15765 {
15766 arg7 = wxString_in_helper(obj6);
15767 if (arg7 == NULL) SWIG_fail;
15768 temp7 = true;
15769 }
15770 }
15771 {
15772 PyThreadState* __tstate = wxPyBeginAllowThreads();
15773 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15774 wxPyEndAllowThreads(__tstate);
15775 if (PyErr_Occurred()) SWIG_fail;
15776 }
15777 {
15778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15779 }
15780 {
15781 if (temp7)
15782 delete arg7;
15783 }
15784 return resultobj;
15785 fail:
15786 {
15787 if (temp7)
15788 delete arg7;
15789 }
15790 return NULL;
15791 }
15792
15793
15794 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15795 PyObject *resultobj = 0;
15796 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15797 size_t arg2 ;
15798 void *argp1 = 0 ;
15799 int res1 = 0 ;
15800 size_t val2 ;
15801 int ecode2 = 0 ;
15802 PyObject * obj0 = 0 ;
15803 PyObject * obj1 = 0 ;
15804 char * kwnames[] = {
15805 (char *) "self",(char *) "count", NULL
15806 };
15807
15808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15810 if (!SWIG_IsOK(res1)) {
15811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15812 }
15813 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15814 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15815 if (!SWIG_IsOK(ecode2)) {
15816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15817 }
15818 arg2 = static_cast< size_t >(val2);
15819 {
15820 PyThreadState* __tstate = wxPyBeginAllowThreads();
15821 (arg1)->SetItemCount(arg2);
15822 wxPyEndAllowThreads(__tstate);
15823 if (PyErr_Occurred()) SWIG_fail;
15824 }
15825 resultobj = SWIG_Py_Void();
15826 return resultobj;
15827 fail:
15828 return NULL;
15829 }
15830
15831
15832 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15833 PyObject *resultobj = 0;
15834 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15835 wxFileSystem *result = 0 ;
15836 void *argp1 = 0 ;
15837 int res1 = 0 ;
15838 PyObject *swig_obj[1] ;
15839
15840 if (!args) SWIG_fail;
15841 swig_obj[0] = args;
15842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15843 if (!SWIG_IsOK(res1)) {
15844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15845 }
15846 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15847 {
15848 PyThreadState* __tstate = wxPyBeginAllowThreads();
15849 {
15850 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15851 result = (wxFileSystem *) &_result_ref;
15852 }
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15857 return resultobj;
15858 fail:
15859 return NULL;
15860 }
15861
15862
15863 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15864 PyObject *resultobj = 0;
15865 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15866 size_t arg2 ;
15867 wxHtmlLinkInfo *arg3 = 0 ;
15868 void *argp1 = 0 ;
15869 int res1 = 0 ;
15870 size_t val2 ;
15871 int ecode2 = 0 ;
15872 void *argp3 = 0 ;
15873 int res3 = 0 ;
15874 PyObject * obj0 = 0 ;
15875 PyObject * obj1 = 0 ;
15876 PyObject * obj2 = 0 ;
15877 char * kwnames[] = {
15878 (char *) "self",(char *) "n",(char *) "link", NULL
15879 };
15880
15881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15883 if (!SWIG_IsOK(res1)) {
15884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15885 }
15886 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15887 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15888 if (!SWIG_IsOK(ecode2)) {
15889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15890 }
15891 arg2 = static_cast< size_t >(val2);
15892 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15893 if (!SWIG_IsOK(res3)) {
15894 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15895 }
15896 if (!argp3) {
15897 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15898 }
15899 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15900 {
15901 PyThreadState* __tstate = wxPyBeginAllowThreads();
15902 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15903 wxPyEndAllowThreads(__tstate);
15904 if (PyErr_Occurred()) SWIG_fail;
15905 }
15906 resultobj = SWIG_Py_Void();
15907 return resultobj;
15908 fail:
15909 return NULL;
15910 }
15911
15912
15913 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15914 PyObject *obj;
15915 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15916 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15917 return SWIG_Py_Void();
15918 }
15919
15920 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15921 return SWIG_Python_InitShadowInstance(args);
15922 }
15923
15924 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15925 PyObject *resultobj = 0;
15926 wxPyTaskBarIcon *result = 0 ;
15927
15928 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15929 {
15930 if (!wxPyCheckForApp()) SWIG_fail;
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15933 wxPyEndAllowThreads(__tstate);
15934 if (PyErr_Occurred()) SWIG_fail;
15935 }
15936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15937 return resultobj;
15938 fail:
15939 return NULL;
15940 }
15941
15942
15943 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15944 PyObject *resultobj = 0;
15945 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15946 void *argp1 = 0 ;
15947 int res1 = 0 ;
15948 PyObject *swig_obj[1] ;
15949
15950 if (!args) SWIG_fail;
15951 swig_obj[0] = args;
15952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15953 if (!SWIG_IsOK(res1)) {
15954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15955 }
15956 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 delete arg1;
15960
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 resultobj = SWIG_Py_Void();
15965 return resultobj;
15966 fail:
15967 return NULL;
15968 }
15969
15970
15971 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj = 0;
15973 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15974 PyObject *arg2 = (PyObject *) 0 ;
15975 PyObject *arg3 = (PyObject *) 0 ;
15976 int arg4 ;
15977 void *argp1 = 0 ;
15978 int res1 = 0 ;
15979 int val4 ;
15980 int ecode4 = 0 ;
15981 PyObject * obj0 = 0 ;
15982 PyObject * obj1 = 0 ;
15983 PyObject * obj2 = 0 ;
15984 PyObject * obj3 = 0 ;
15985 char * kwnames[] = {
15986 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15987 };
15988
15989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15991 if (!SWIG_IsOK(res1)) {
15992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15993 }
15994 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15995 arg2 = obj1;
15996 arg3 = obj2;
15997 ecode4 = SWIG_AsVal_int(obj3, &val4);
15998 if (!SWIG_IsOK(ecode4)) {
15999 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16000 }
16001 arg4 = static_cast< int >(val4);
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16005 wxPyEndAllowThreads(__tstate);
16006 if (PyErr_Occurred()) SWIG_fail;
16007 }
16008 resultobj = SWIG_Py_Void();
16009 return resultobj;
16010 fail:
16011 return NULL;
16012 }
16013
16014
16015 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16016 PyObject *resultobj = 0;
16017 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16018 void *argp1 = 0 ;
16019 int res1 = 0 ;
16020 PyObject *swig_obj[1] ;
16021
16022 if (!args) SWIG_fail;
16023 swig_obj[0] = args;
16024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16025 if (!SWIG_IsOK(res1)) {
16026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16027 }
16028 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16029 {
16030 PyThreadState* __tstate = wxPyBeginAllowThreads();
16031 wxPyTaskBarIcon_Destroy(arg1);
16032 wxPyEndAllowThreads(__tstate);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
16035 resultobj = SWIG_Py_Void();
16036 return resultobj;
16037 fail:
16038 return NULL;
16039 }
16040
16041
16042 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16043 PyObject *resultobj = 0;
16044 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16045 bool result;
16046 void *argp1 = 0 ;
16047 int res1 = 0 ;
16048 PyObject *swig_obj[1] ;
16049
16050 if (!args) SWIG_fail;
16051 swig_obj[0] = args;
16052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16053 if (!SWIG_IsOK(res1)) {
16054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16055 }
16056 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16057 {
16058 PyThreadState* __tstate = wxPyBeginAllowThreads();
16059 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16060 wxPyEndAllowThreads(__tstate);
16061 if (PyErr_Occurred()) SWIG_fail;
16062 }
16063 {
16064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16065 }
16066 return resultobj;
16067 fail:
16068 return NULL;
16069 }
16070
16071
16072 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16073 PyObject *resultobj = 0;
16074 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16075 bool result;
16076 void *argp1 = 0 ;
16077 int res1 = 0 ;
16078 PyObject *swig_obj[1] ;
16079
16080 if (!args) SWIG_fail;
16081 swig_obj[0] = args;
16082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16083 if (!SWIG_IsOK(res1)) {
16084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16085 }
16086 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16087 {
16088 PyThreadState* __tstate = wxPyBeginAllowThreads();
16089 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16090 wxPyEndAllowThreads(__tstate);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 }
16093 {
16094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16095 }
16096 return resultobj;
16097 fail:
16098 return NULL;
16099 }
16100
16101
16102 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16103 PyObject *resultobj = 0;
16104 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16105 wxIcon *arg2 = 0 ;
16106 wxString const &arg3_defvalue = wxPyEmptyString ;
16107 wxString *arg3 = (wxString *) &arg3_defvalue ;
16108 bool result;
16109 void *argp1 = 0 ;
16110 int res1 = 0 ;
16111 void *argp2 = 0 ;
16112 int res2 = 0 ;
16113 bool temp3 = false ;
16114 PyObject * obj0 = 0 ;
16115 PyObject * obj1 = 0 ;
16116 PyObject * obj2 = 0 ;
16117 char * kwnames[] = {
16118 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16119 };
16120
16121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16123 if (!SWIG_IsOK(res1)) {
16124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16125 }
16126 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16127 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16128 if (!SWIG_IsOK(res2)) {
16129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16130 }
16131 if (!argp2) {
16132 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16133 }
16134 arg2 = reinterpret_cast< wxIcon * >(argp2);
16135 if (obj2) {
16136 {
16137 arg3 = wxString_in_helper(obj2);
16138 if (arg3 == NULL) SWIG_fail;
16139 temp3 = true;
16140 }
16141 }
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16145 wxPyEndAllowThreads(__tstate);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 }
16148 {
16149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16150 }
16151 {
16152 if (temp3)
16153 delete arg3;
16154 }
16155 return resultobj;
16156 fail:
16157 {
16158 if (temp3)
16159 delete arg3;
16160 }
16161 return NULL;
16162 }
16163
16164
16165 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16166 PyObject *resultobj = 0;
16167 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16168 bool result;
16169 void *argp1 = 0 ;
16170 int res1 = 0 ;
16171 PyObject *swig_obj[1] ;
16172
16173 if (!args) SWIG_fail;
16174 swig_obj[0] = args;
16175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16176 if (!SWIG_IsOK(res1)) {
16177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16178 }
16179 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16180 {
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
16182 result = (bool)(arg1)->RemoveIcon();
16183 wxPyEndAllowThreads(__tstate);
16184 if (PyErr_Occurred()) SWIG_fail;
16185 }
16186 {
16187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16188 }
16189 return resultobj;
16190 fail:
16191 return NULL;
16192 }
16193
16194
16195 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj = 0;
16197 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16198 wxMenu *arg2 = (wxMenu *) 0 ;
16199 bool result;
16200 void *argp1 = 0 ;
16201 int res1 = 0 ;
16202 void *argp2 = 0 ;
16203 int res2 = 0 ;
16204 PyObject * obj0 = 0 ;
16205 PyObject * obj1 = 0 ;
16206 char * kwnames[] = {
16207 (char *) "self",(char *) "menu", NULL
16208 };
16209
16210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16212 if (!SWIG_IsOK(res1)) {
16213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16214 }
16215 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16216 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16217 if (!SWIG_IsOK(res2)) {
16218 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16219 }
16220 arg2 = reinterpret_cast< wxMenu * >(argp2);
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 result = (bool)(arg1)->PopupMenu(arg2);
16224 wxPyEndAllowThreads(__tstate);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
16227 {
16228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16229 }
16230 return resultobj;
16231 fail:
16232 return NULL;
16233 }
16234
16235
16236 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16237 PyObject *obj;
16238 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16239 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16240 return SWIG_Py_Void();
16241 }
16242
16243 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16244 return SWIG_Python_InitShadowInstance(args);
16245 }
16246
16247 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16248 PyObject *resultobj = 0;
16249 wxEventType arg1 ;
16250 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16251 wxTaskBarIconEvent *result = 0 ;
16252 int val1 ;
16253 int ecode1 = 0 ;
16254 void *argp2 = 0 ;
16255 int res2 = 0 ;
16256 PyObject * obj0 = 0 ;
16257 PyObject * obj1 = 0 ;
16258 char * kwnames[] = {
16259 (char *) "evtType",(char *) "tbIcon", NULL
16260 };
16261
16262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16263 ecode1 = SWIG_AsVal_int(obj0, &val1);
16264 if (!SWIG_IsOK(ecode1)) {
16265 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16266 }
16267 arg1 = static_cast< wxEventType >(val1);
16268 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16269 if (!SWIG_IsOK(res2)) {
16270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16271 }
16272 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16273 {
16274 PyThreadState* __tstate = wxPyBeginAllowThreads();
16275 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16276 wxPyEndAllowThreads(__tstate);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 }
16279 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16280 return resultobj;
16281 fail:
16282 return NULL;
16283 }
16284
16285
16286 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16287 PyObject *obj;
16288 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16289 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16290 return SWIG_Py_Void();
16291 }
16292
16293 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16294 return SWIG_Python_InitShadowInstance(args);
16295 }
16296
16297 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16298 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16299 return 1;
16300 }
16301
16302
16303 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16304 PyObject *pyobj = 0;
16305
16306 {
16307 #if wxUSE_UNICODE
16308 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16309 #else
16310 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16311 #endif
16312 }
16313 return pyobj;
16314 }
16315
16316
16317 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16318 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16319 return 1;
16320 }
16321
16322
16323 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16324 PyObject *pyobj = 0;
16325
16326 {
16327 #if wxUSE_UNICODE
16328 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16329 #else
16330 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16331 #endif
16332 }
16333 return pyobj;
16334 }
16335
16336
16337 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16338 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16339 return 1;
16340 }
16341
16342
16343 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16344 PyObject *pyobj = 0;
16345
16346 {
16347 #if wxUSE_UNICODE
16348 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16349 #else
16350 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16351 #endif
16352 }
16353 return pyobj;
16354 }
16355
16356
16357 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16358 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16359 return 1;
16360 }
16361
16362
16363 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16364 PyObject *pyobj = 0;
16365
16366 {
16367 #if wxUSE_UNICODE
16368 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16369 #else
16370 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16371 #endif
16372 }
16373 return pyobj;
16374 }
16375
16376
16377 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16378 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16379 return 1;
16380 }
16381
16382
16383 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16384 PyObject *pyobj = 0;
16385
16386 {
16387 #if wxUSE_UNICODE
16388 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16389 #else
16390 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16391 #endif
16392 }
16393 return pyobj;
16394 }
16395
16396
16397 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16398 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16399 return 1;
16400 }
16401
16402
16403 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16404 PyObject *pyobj = 0;
16405
16406 {
16407 #if wxUSE_UNICODE
16408 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16409 #else
16410 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16411 #endif
16412 }
16413 return pyobj;
16414 }
16415
16416
16417 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16418 PyObject *resultobj = 0;
16419 wxColourData *result = 0 ;
16420
16421 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 result = (wxColourData *)new wxColourData();
16425 wxPyEndAllowThreads(__tstate);
16426 if (PyErr_Occurred()) SWIG_fail;
16427 }
16428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16429 return resultobj;
16430 fail:
16431 return NULL;
16432 }
16433
16434
16435 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16436 PyObject *resultobj = 0;
16437 wxColourData *arg1 = (wxColourData *) 0 ;
16438 void *argp1 = 0 ;
16439 int res1 = 0 ;
16440 PyObject *swig_obj[1] ;
16441
16442 if (!args) SWIG_fail;
16443 swig_obj[0] = args;
16444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16445 if (!SWIG_IsOK(res1)) {
16446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16447 }
16448 arg1 = reinterpret_cast< wxColourData * >(argp1);
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 delete arg1;
16452
16453 wxPyEndAllowThreads(__tstate);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
16456 resultobj = SWIG_Py_Void();
16457 return resultobj;
16458 fail:
16459 return NULL;
16460 }
16461
16462
16463 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16464 PyObject *resultobj = 0;
16465 wxColourData *arg1 = (wxColourData *) 0 ;
16466 bool result;
16467 void *argp1 = 0 ;
16468 int res1 = 0 ;
16469 PyObject *swig_obj[1] ;
16470
16471 if (!args) SWIG_fail;
16472 swig_obj[0] = args;
16473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16474 if (!SWIG_IsOK(res1)) {
16475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16476 }
16477 arg1 = reinterpret_cast< wxColourData * >(argp1);
16478 {
16479 PyThreadState* __tstate = wxPyBeginAllowThreads();
16480 result = (bool)(arg1)->GetChooseFull();
16481 wxPyEndAllowThreads(__tstate);
16482 if (PyErr_Occurred()) SWIG_fail;
16483 }
16484 {
16485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16486 }
16487 return resultobj;
16488 fail:
16489 return NULL;
16490 }
16491
16492
16493 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16494 PyObject *resultobj = 0;
16495 wxColourData *arg1 = (wxColourData *) 0 ;
16496 wxColour result;
16497 void *argp1 = 0 ;
16498 int res1 = 0 ;
16499 PyObject *swig_obj[1] ;
16500
16501 if (!args) SWIG_fail;
16502 swig_obj[0] = args;
16503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16504 if (!SWIG_IsOK(res1)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16506 }
16507 arg1 = reinterpret_cast< wxColourData * >(argp1);
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 result = (arg1)->GetColour();
16511 wxPyEndAllowThreads(__tstate);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16515 return resultobj;
16516 fail:
16517 return NULL;
16518 }
16519
16520
16521 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16522 PyObject *resultobj = 0;
16523 wxColourData *arg1 = (wxColourData *) 0 ;
16524 int arg2 ;
16525 wxColour result;
16526 void *argp1 = 0 ;
16527 int res1 = 0 ;
16528 int val2 ;
16529 int ecode2 = 0 ;
16530 PyObject * obj0 = 0 ;
16531 PyObject * obj1 = 0 ;
16532 char * kwnames[] = {
16533 (char *) "self",(char *) "i", NULL
16534 };
16535
16536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16538 if (!SWIG_IsOK(res1)) {
16539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16540 }
16541 arg1 = reinterpret_cast< wxColourData * >(argp1);
16542 ecode2 = SWIG_AsVal_int(obj1, &val2);
16543 if (!SWIG_IsOK(ecode2)) {
16544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16545 }
16546 arg2 = static_cast< int >(val2);
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 result = (arg1)->GetCustomColour(arg2);
16550 wxPyEndAllowThreads(__tstate);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 }
16553 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16554 return resultobj;
16555 fail:
16556 return NULL;
16557 }
16558
16559
16560 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16561 PyObject *resultobj = 0;
16562 wxColourData *arg1 = (wxColourData *) 0 ;
16563 int arg2 ;
16564 void *argp1 = 0 ;
16565 int res1 = 0 ;
16566 int val2 ;
16567 int ecode2 = 0 ;
16568 PyObject * obj0 = 0 ;
16569 PyObject * obj1 = 0 ;
16570 char * kwnames[] = {
16571 (char *) "self",(char *) "flag", NULL
16572 };
16573
16574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16576 if (!SWIG_IsOK(res1)) {
16577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16578 }
16579 arg1 = reinterpret_cast< wxColourData * >(argp1);
16580 ecode2 = SWIG_AsVal_int(obj1, &val2);
16581 if (!SWIG_IsOK(ecode2)) {
16582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16583 }
16584 arg2 = static_cast< int >(val2);
16585 {
16586 PyThreadState* __tstate = wxPyBeginAllowThreads();
16587 (arg1)->SetChooseFull(arg2);
16588 wxPyEndAllowThreads(__tstate);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 }
16591 resultobj = SWIG_Py_Void();
16592 return resultobj;
16593 fail:
16594 return NULL;
16595 }
16596
16597
16598 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16599 PyObject *resultobj = 0;
16600 wxColourData *arg1 = (wxColourData *) 0 ;
16601 wxColour *arg2 = 0 ;
16602 void *argp1 = 0 ;
16603 int res1 = 0 ;
16604 wxColour temp2 ;
16605 PyObject * obj0 = 0 ;
16606 PyObject * obj1 = 0 ;
16607 char * kwnames[] = {
16608 (char *) "self",(char *) "colour", NULL
16609 };
16610
16611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16613 if (!SWIG_IsOK(res1)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16615 }
16616 arg1 = reinterpret_cast< wxColourData * >(argp1);
16617 {
16618 arg2 = &temp2;
16619 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16620 }
16621 {
16622 PyThreadState* __tstate = wxPyBeginAllowThreads();
16623 (arg1)->SetColour((wxColour const &)*arg2);
16624 wxPyEndAllowThreads(__tstate);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 }
16627 resultobj = SWIG_Py_Void();
16628 return resultobj;
16629 fail:
16630 return NULL;
16631 }
16632
16633
16634 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16635 PyObject *resultobj = 0;
16636 wxColourData *arg1 = (wxColourData *) 0 ;
16637 int arg2 ;
16638 wxColour *arg3 = 0 ;
16639 void *argp1 = 0 ;
16640 int res1 = 0 ;
16641 int val2 ;
16642 int ecode2 = 0 ;
16643 wxColour temp3 ;
16644 PyObject * obj0 = 0 ;
16645 PyObject * obj1 = 0 ;
16646 PyObject * obj2 = 0 ;
16647 char * kwnames[] = {
16648 (char *) "self",(char *) "i",(char *) "colour", NULL
16649 };
16650
16651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16653 if (!SWIG_IsOK(res1)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16655 }
16656 arg1 = reinterpret_cast< wxColourData * >(argp1);
16657 ecode2 = SWIG_AsVal_int(obj1, &val2);
16658 if (!SWIG_IsOK(ecode2)) {
16659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16660 }
16661 arg2 = static_cast< int >(val2);
16662 {
16663 arg3 = &temp3;
16664 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16665 }
16666 {
16667 PyThreadState* __tstate = wxPyBeginAllowThreads();
16668 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 resultobj = SWIG_Py_Void();
16673 return resultobj;
16674 fail:
16675 return NULL;
16676 }
16677
16678
16679 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16680 PyObject *obj;
16681 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16682 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16683 return SWIG_Py_Void();
16684 }
16685
16686 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16687 return SWIG_Python_InitShadowInstance(args);
16688 }
16689
16690 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16691 PyObject *resultobj = 0;
16692 wxWindow *arg1 = (wxWindow *) 0 ;
16693 wxColourData *arg2 = (wxColourData *) NULL ;
16694 wxColourDialog *result = 0 ;
16695 void *argp1 = 0 ;
16696 int res1 = 0 ;
16697 void *argp2 = 0 ;
16698 int res2 = 0 ;
16699 PyObject * obj0 = 0 ;
16700 PyObject * obj1 = 0 ;
16701 char * kwnames[] = {
16702 (char *) "parent",(char *) "data", NULL
16703 };
16704
16705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16707 if (!SWIG_IsOK(res1)) {
16708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16709 }
16710 arg1 = reinterpret_cast< wxWindow * >(argp1);
16711 if (obj1) {
16712 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16713 if (!SWIG_IsOK(res2)) {
16714 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16715 }
16716 arg2 = reinterpret_cast< wxColourData * >(argp2);
16717 }
16718 {
16719 if (!wxPyCheckForApp()) SWIG_fail;
16720 PyThreadState* __tstate = wxPyBeginAllowThreads();
16721 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16722 wxPyEndAllowThreads(__tstate);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 }
16725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16726 return resultobj;
16727 fail:
16728 return NULL;
16729 }
16730
16731
16732 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16733 PyObject *resultobj = 0;
16734 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16735 wxColourData *result = 0 ;
16736 void *argp1 = 0 ;
16737 int res1 = 0 ;
16738 PyObject *swig_obj[1] ;
16739
16740 if (!args) SWIG_fail;
16741 swig_obj[0] = args;
16742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16743 if (!SWIG_IsOK(res1)) {
16744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16745 }
16746 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16747 {
16748 PyThreadState* __tstate = wxPyBeginAllowThreads();
16749 {
16750 wxColourData &_result_ref = (arg1)->GetColourData();
16751 result = (wxColourData *) &_result_ref;
16752 }
16753 wxPyEndAllowThreads(__tstate);
16754 if (PyErr_Occurred()) SWIG_fail;
16755 }
16756 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16757 return resultobj;
16758 fail:
16759 return NULL;
16760 }
16761
16762
16763 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16764 PyObject *obj;
16765 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16766 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16767 return SWIG_Py_Void();
16768 }
16769
16770 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16771 return SWIG_Python_InitShadowInstance(args);
16772 }
16773
16774 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16775 PyObject *resultobj = 0;
16776 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16777 wxColour const &arg2_defvalue = wxNullColour ;
16778 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16779 wxString const &arg3_defvalue = wxPyEmptyString ;
16780 wxString *arg3 = (wxString *) &arg3_defvalue ;
16781 wxColour result;
16782 void *argp1 = 0 ;
16783 int res1 = 0 ;
16784 wxColour temp2 ;
16785 bool temp3 = false ;
16786 PyObject * obj0 = 0 ;
16787 PyObject * obj1 = 0 ;
16788 PyObject * obj2 = 0 ;
16789 char * kwnames[] = {
16790 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16791 };
16792
16793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16794 if (obj0) {
16795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16796 if (!SWIG_IsOK(res1)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16798 }
16799 arg1 = reinterpret_cast< wxWindow * >(argp1);
16800 }
16801 if (obj1) {
16802 {
16803 arg2 = &temp2;
16804 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16805 }
16806 }
16807 if (obj2) {
16808 {
16809 arg3 = wxString_in_helper(obj2);
16810 if (arg3 == NULL) SWIG_fail;
16811 temp3 = true;
16812 }
16813 }
16814 {
16815 PyThreadState* __tstate = wxPyBeginAllowThreads();
16816 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16821 {
16822 if (temp3)
16823 delete arg3;
16824 }
16825 return resultobj;
16826 fail:
16827 {
16828 if (temp3)
16829 delete arg3;
16830 }
16831 return NULL;
16832 }
16833
16834
16835 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16836 PyObject *resultobj = 0;
16837 wxWindow *arg1 = (wxWindow *) 0 ;
16838 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16839 wxString *arg2 = (wxString *) &arg2_defvalue ;
16840 wxString const &arg3_defvalue = wxPyEmptyString ;
16841 wxString *arg3 = (wxString *) &arg3_defvalue ;
16842 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16843 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16844 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16845 wxSize const &arg6_defvalue = wxDefaultSize ;
16846 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16847 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16848 wxString *arg7 = (wxString *) &arg7_defvalue ;
16849 wxDirDialog *result = 0 ;
16850 void *argp1 = 0 ;
16851 int res1 = 0 ;
16852 bool temp2 = false ;
16853 bool temp3 = false ;
16854 long val4 ;
16855 int ecode4 = 0 ;
16856 wxPoint temp5 ;
16857 wxSize temp6 ;
16858 bool temp7 = false ;
16859 PyObject * obj0 = 0 ;
16860 PyObject * obj1 = 0 ;
16861 PyObject * obj2 = 0 ;
16862 PyObject * obj3 = 0 ;
16863 PyObject * obj4 = 0 ;
16864 PyObject * obj5 = 0 ;
16865 PyObject * obj6 = 0 ;
16866 char * kwnames[] = {
16867 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16868 };
16869
16870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16872 if (!SWIG_IsOK(res1)) {
16873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16874 }
16875 arg1 = reinterpret_cast< wxWindow * >(argp1);
16876 if (obj1) {
16877 {
16878 arg2 = wxString_in_helper(obj1);
16879 if (arg2 == NULL) SWIG_fail;
16880 temp2 = true;
16881 }
16882 }
16883 if (obj2) {
16884 {
16885 arg3 = wxString_in_helper(obj2);
16886 if (arg3 == NULL) SWIG_fail;
16887 temp3 = true;
16888 }
16889 }
16890 if (obj3) {
16891 ecode4 = SWIG_AsVal_long(obj3, &val4);
16892 if (!SWIG_IsOK(ecode4)) {
16893 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16894 }
16895 arg4 = static_cast< long >(val4);
16896 }
16897 if (obj4) {
16898 {
16899 arg5 = &temp5;
16900 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16901 }
16902 }
16903 if (obj5) {
16904 {
16905 arg6 = &temp6;
16906 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16907 }
16908 }
16909 if (obj6) {
16910 {
16911 arg7 = wxString_in_helper(obj6);
16912 if (arg7 == NULL) SWIG_fail;
16913 temp7 = true;
16914 }
16915 }
16916 {
16917 if (!wxPyCheckForApp()) SWIG_fail;
16918 PyThreadState* __tstate = wxPyBeginAllowThreads();
16919 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16920 wxPyEndAllowThreads(__tstate);
16921 if (PyErr_Occurred()) SWIG_fail;
16922 }
16923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16924 {
16925 if (temp2)
16926 delete arg2;
16927 }
16928 {
16929 if (temp3)
16930 delete arg3;
16931 }
16932 {
16933 if (temp7)
16934 delete arg7;
16935 }
16936 return resultobj;
16937 fail:
16938 {
16939 if (temp2)
16940 delete arg2;
16941 }
16942 {
16943 if (temp3)
16944 delete arg3;
16945 }
16946 {
16947 if (temp7)
16948 delete arg7;
16949 }
16950 return NULL;
16951 }
16952
16953
16954 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16955 PyObject *resultobj = 0;
16956 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16957 wxString result;
16958 void *argp1 = 0 ;
16959 int res1 = 0 ;
16960 PyObject *swig_obj[1] ;
16961
16962 if (!args) SWIG_fail;
16963 swig_obj[0] = args;
16964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16965 if (!SWIG_IsOK(res1)) {
16966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16967 }
16968 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16969 {
16970 PyThreadState* __tstate = wxPyBeginAllowThreads();
16971 result = (arg1)->GetPath();
16972 wxPyEndAllowThreads(__tstate);
16973 if (PyErr_Occurred()) SWIG_fail;
16974 }
16975 {
16976 #if wxUSE_UNICODE
16977 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16978 #else
16979 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16980 #endif
16981 }
16982 return resultobj;
16983 fail:
16984 return NULL;
16985 }
16986
16987
16988 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16989 PyObject *resultobj = 0;
16990 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16991 wxString result;
16992 void *argp1 = 0 ;
16993 int res1 = 0 ;
16994 PyObject *swig_obj[1] ;
16995
16996 if (!args) SWIG_fail;
16997 swig_obj[0] = args;
16998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16999 if (!SWIG_IsOK(res1)) {
17000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17001 }
17002 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (arg1)->GetMessage();
17006 wxPyEndAllowThreads(__tstate);
17007 if (PyErr_Occurred()) SWIG_fail;
17008 }
17009 {
17010 #if wxUSE_UNICODE
17011 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17012 #else
17013 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17014 #endif
17015 }
17016 return resultobj;
17017 fail:
17018 return NULL;
17019 }
17020
17021
17022 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17023 PyObject *resultobj = 0;
17024 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17025 wxString *arg2 = 0 ;
17026 void *argp1 = 0 ;
17027 int res1 = 0 ;
17028 bool temp2 = false ;
17029 PyObject * obj0 = 0 ;
17030 PyObject * obj1 = 0 ;
17031 char * kwnames[] = {
17032 (char *) "self",(char *) "message", NULL
17033 };
17034
17035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17037 if (!SWIG_IsOK(res1)) {
17038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17039 }
17040 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17041 {
17042 arg2 = wxString_in_helper(obj1);
17043 if (arg2 == NULL) SWIG_fail;
17044 temp2 = true;
17045 }
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
17048 (arg1)->SetMessage((wxString const &)*arg2);
17049 wxPyEndAllowThreads(__tstate);
17050 if (PyErr_Occurred()) SWIG_fail;
17051 }
17052 resultobj = SWIG_Py_Void();
17053 {
17054 if (temp2)
17055 delete arg2;
17056 }
17057 return resultobj;
17058 fail:
17059 {
17060 if (temp2)
17061 delete arg2;
17062 }
17063 return NULL;
17064 }
17065
17066
17067 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj = 0;
17069 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17070 wxString *arg2 = 0 ;
17071 void *argp1 = 0 ;
17072 int res1 = 0 ;
17073 bool temp2 = false ;
17074 PyObject * obj0 = 0 ;
17075 PyObject * obj1 = 0 ;
17076 char * kwnames[] = {
17077 (char *) "self",(char *) "path", NULL
17078 };
17079
17080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17082 if (!SWIG_IsOK(res1)) {
17083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17084 }
17085 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17086 {
17087 arg2 = wxString_in_helper(obj1);
17088 if (arg2 == NULL) SWIG_fail;
17089 temp2 = true;
17090 }
17091 {
17092 PyThreadState* __tstate = wxPyBeginAllowThreads();
17093 (arg1)->SetPath((wxString const &)*arg2);
17094 wxPyEndAllowThreads(__tstate);
17095 if (PyErr_Occurred()) SWIG_fail;
17096 }
17097 resultobj = SWIG_Py_Void();
17098 {
17099 if (temp2)
17100 delete arg2;
17101 }
17102 return resultobj;
17103 fail:
17104 {
17105 if (temp2)
17106 delete arg2;
17107 }
17108 return NULL;
17109 }
17110
17111
17112 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17113 PyObject *obj;
17114 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17115 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17116 return SWIG_Py_Void();
17117 }
17118
17119 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17120 return SWIG_Python_InitShadowInstance(args);
17121 }
17122
17123 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17124 PyObject *resultobj = 0;
17125 wxWindow *arg1 = (wxWindow *) 0 ;
17126 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17127 wxString *arg2 = (wxString *) &arg2_defvalue ;
17128 wxString const &arg3_defvalue = wxPyEmptyString ;
17129 wxString *arg3 = (wxString *) &arg3_defvalue ;
17130 wxString const &arg4_defvalue = wxPyEmptyString ;
17131 wxString *arg4 = (wxString *) &arg4_defvalue ;
17132 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17133 wxString *arg5 = (wxString *) &arg5_defvalue ;
17134 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17135 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17136 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17137 wxFileDialog *result = 0 ;
17138 void *argp1 = 0 ;
17139 int res1 = 0 ;
17140 bool temp2 = false ;
17141 bool temp3 = false ;
17142 bool temp4 = false ;
17143 bool temp5 = false ;
17144 long val6 ;
17145 int ecode6 = 0 ;
17146 wxPoint temp7 ;
17147 PyObject * obj0 = 0 ;
17148 PyObject * obj1 = 0 ;
17149 PyObject * obj2 = 0 ;
17150 PyObject * obj3 = 0 ;
17151 PyObject * obj4 = 0 ;
17152 PyObject * obj5 = 0 ;
17153 PyObject * obj6 = 0 ;
17154 char * kwnames[] = {
17155 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17156 };
17157
17158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17160 if (!SWIG_IsOK(res1)) {
17161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17162 }
17163 arg1 = reinterpret_cast< wxWindow * >(argp1);
17164 if (obj1) {
17165 {
17166 arg2 = wxString_in_helper(obj1);
17167 if (arg2 == NULL) SWIG_fail;
17168 temp2 = true;
17169 }
17170 }
17171 if (obj2) {
17172 {
17173 arg3 = wxString_in_helper(obj2);
17174 if (arg3 == NULL) SWIG_fail;
17175 temp3 = true;
17176 }
17177 }
17178 if (obj3) {
17179 {
17180 arg4 = wxString_in_helper(obj3);
17181 if (arg4 == NULL) SWIG_fail;
17182 temp4 = true;
17183 }
17184 }
17185 if (obj4) {
17186 {
17187 arg5 = wxString_in_helper(obj4);
17188 if (arg5 == NULL) SWIG_fail;
17189 temp5 = true;
17190 }
17191 }
17192 if (obj5) {
17193 ecode6 = SWIG_AsVal_long(obj5, &val6);
17194 if (!SWIG_IsOK(ecode6)) {
17195 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17196 }
17197 arg6 = static_cast< long >(val6);
17198 }
17199 if (obj6) {
17200 {
17201 arg7 = &temp7;
17202 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17203 }
17204 }
17205 {
17206 if (!wxPyCheckForApp()) SWIG_fail;
17207 PyThreadState* __tstate = wxPyBeginAllowThreads();
17208 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17209 wxPyEndAllowThreads(__tstate);
17210 if (PyErr_Occurred()) SWIG_fail;
17211 }
17212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17213 {
17214 if (temp2)
17215 delete arg2;
17216 }
17217 {
17218 if (temp3)
17219 delete arg3;
17220 }
17221 {
17222 if (temp4)
17223 delete arg4;
17224 }
17225 {
17226 if (temp5)
17227 delete arg5;
17228 }
17229 return resultobj;
17230 fail:
17231 {
17232 if (temp2)
17233 delete arg2;
17234 }
17235 {
17236 if (temp3)
17237 delete arg3;
17238 }
17239 {
17240 if (temp4)
17241 delete arg4;
17242 }
17243 {
17244 if (temp5)
17245 delete arg5;
17246 }
17247 return NULL;
17248 }
17249
17250
17251 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj = 0;
17253 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17254 wxString *arg2 = 0 ;
17255 void *argp1 = 0 ;
17256 int res1 = 0 ;
17257 bool temp2 = false ;
17258 PyObject * obj0 = 0 ;
17259 PyObject * obj1 = 0 ;
17260 char * kwnames[] = {
17261 (char *) "self",(char *) "message", NULL
17262 };
17263
17264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17266 if (!SWIG_IsOK(res1)) {
17267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17268 }
17269 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17270 {
17271 arg2 = wxString_in_helper(obj1);
17272 if (arg2 == NULL) SWIG_fail;
17273 temp2 = true;
17274 }
17275 {
17276 PyThreadState* __tstate = wxPyBeginAllowThreads();
17277 (arg1)->SetMessage((wxString const &)*arg2);
17278 wxPyEndAllowThreads(__tstate);
17279 if (PyErr_Occurred()) SWIG_fail;
17280 }
17281 resultobj = SWIG_Py_Void();
17282 {
17283 if (temp2)
17284 delete arg2;
17285 }
17286 return resultobj;
17287 fail:
17288 {
17289 if (temp2)
17290 delete arg2;
17291 }
17292 return NULL;
17293 }
17294
17295
17296 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17297 PyObject *resultobj = 0;
17298 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17299 wxString *arg2 = 0 ;
17300 void *argp1 = 0 ;
17301 int res1 = 0 ;
17302 bool temp2 = false ;
17303 PyObject * obj0 = 0 ;
17304 PyObject * obj1 = 0 ;
17305 char * kwnames[] = {
17306 (char *) "self",(char *) "path", NULL
17307 };
17308
17309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17311 if (!SWIG_IsOK(res1)) {
17312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17313 }
17314 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17315 {
17316 arg2 = wxString_in_helper(obj1);
17317 if (arg2 == NULL) SWIG_fail;
17318 temp2 = true;
17319 }
17320 {
17321 PyThreadState* __tstate = wxPyBeginAllowThreads();
17322 (arg1)->SetPath((wxString const &)*arg2);
17323 wxPyEndAllowThreads(__tstate);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 resultobj = SWIG_Py_Void();
17327 {
17328 if (temp2)
17329 delete arg2;
17330 }
17331 return resultobj;
17332 fail:
17333 {
17334 if (temp2)
17335 delete arg2;
17336 }
17337 return NULL;
17338 }
17339
17340
17341 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj = 0;
17343 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17344 wxString *arg2 = 0 ;
17345 void *argp1 = 0 ;
17346 int res1 = 0 ;
17347 bool temp2 = false ;
17348 PyObject * obj0 = 0 ;
17349 PyObject * obj1 = 0 ;
17350 char * kwnames[] = {
17351 (char *) "self",(char *) "dir", NULL
17352 };
17353
17354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17356 if (!SWIG_IsOK(res1)) {
17357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17358 }
17359 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17360 {
17361 arg2 = wxString_in_helper(obj1);
17362 if (arg2 == NULL) SWIG_fail;
17363 temp2 = true;
17364 }
17365 {
17366 PyThreadState* __tstate = wxPyBeginAllowThreads();
17367 (arg1)->SetDirectory((wxString const &)*arg2);
17368 wxPyEndAllowThreads(__tstate);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 }
17371 resultobj = SWIG_Py_Void();
17372 {
17373 if (temp2)
17374 delete arg2;
17375 }
17376 return resultobj;
17377 fail:
17378 {
17379 if (temp2)
17380 delete arg2;
17381 }
17382 return NULL;
17383 }
17384
17385
17386 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17387 PyObject *resultobj = 0;
17388 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17389 wxString *arg2 = 0 ;
17390 void *argp1 = 0 ;
17391 int res1 = 0 ;
17392 bool temp2 = false ;
17393 PyObject * obj0 = 0 ;
17394 PyObject * obj1 = 0 ;
17395 char * kwnames[] = {
17396 (char *) "self",(char *) "name", NULL
17397 };
17398
17399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17401 if (!SWIG_IsOK(res1)) {
17402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17403 }
17404 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17405 {
17406 arg2 = wxString_in_helper(obj1);
17407 if (arg2 == NULL) SWIG_fail;
17408 temp2 = true;
17409 }
17410 {
17411 PyThreadState* __tstate = wxPyBeginAllowThreads();
17412 (arg1)->SetFilename((wxString const &)*arg2);
17413 wxPyEndAllowThreads(__tstate);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
17416 resultobj = SWIG_Py_Void();
17417 {
17418 if (temp2)
17419 delete arg2;
17420 }
17421 return resultobj;
17422 fail:
17423 {
17424 if (temp2)
17425 delete arg2;
17426 }
17427 return NULL;
17428 }
17429
17430
17431 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17432 PyObject *resultobj = 0;
17433 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17434 wxString *arg2 = 0 ;
17435 void *argp1 = 0 ;
17436 int res1 = 0 ;
17437 bool temp2 = false ;
17438 PyObject * obj0 = 0 ;
17439 PyObject * obj1 = 0 ;
17440 char * kwnames[] = {
17441 (char *) "self",(char *) "wildCard", NULL
17442 };
17443
17444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17446 if (!SWIG_IsOK(res1)) {
17447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17448 }
17449 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17450 {
17451 arg2 = wxString_in_helper(obj1);
17452 if (arg2 == NULL) SWIG_fail;
17453 temp2 = true;
17454 }
17455 {
17456 PyThreadState* __tstate = wxPyBeginAllowThreads();
17457 (arg1)->SetWildcard((wxString const &)*arg2);
17458 wxPyEndAllowThreads(__tstate);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 resultobj = SWIG_Py_Void();
17462 {
17463 if (temp2)
17464 delete arg2;
17465 }
17466 return resultobj;
17467 fail:
17468 {
17469 if (temp2)
17470 delete arg2;
17471 }
17472 return NULL;
17473 }
17474
17475
17476 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17477 PyObject *resultobj = 0;
17478 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17479 int arg2 ;
17480 void *argp1 = 0 ;
17481 int res1 = 0 ;
17482 int val2 ;
17483 int ecode2 = 0 ;
17484 PyObject * obj0 = 0 ;
17485 PyObject * obj1 = 0 ;
17486 char * kwnames[] = {
17487 (char *) "self",(char *) "filterIndex", NULL
17488 };
17489
17490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17492 if (!SWIG_IsOK(res1)) {
17493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17494 }
17495 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17496 ecode2 = SWIG_AsVal_int(obj1, &val2);
17497 if (!SWIG_IsOK(ecode2)) {
17498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17499 }
17500 arg2 = static_cast< int >(val2);
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 (arg1)->SetFilterIndex(arg2);
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 resultobj = SWIG_Py_Void();
17508 return resultobj;
17509 fail:
17510 return NULL;
17511 }
17512
17513
17514 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17515 PyObject *resultobj = 0;
17516 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17517 wxString result;
17518 void *argp1 = 0 ;
17519 int res1 = 0 ;
17520 PyObject *swig_obj[1] ;
17521
17522 if (!args) SWIG_fail;
17523 swig_obj[0] = args;
17524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17525 if (!SWIG_IsOK(res1)) {
17526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17527 }
17528 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17529 {
17530 PyThreadState* __tstate = wxPyBeginAllowThreads();
17531 result = ((wxFileDialog const *)arg1)->GetMessage();
17532 wxPyEndAllowThreads(__tstate);
17533 if (PyErr_Occurred()) SWIG_fail;
17534 }
17535 {
17536 #if wxUSE_UNICODE
17537 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17538 #else
17539 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17540 #endif
17541 }
17542 return resultobj;
17543 fail:
17544 return NULL;
17545 }
17546
17547
17548 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17549 PyObject *resultobj = 0;
17550 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17551 wxString result;
17552 void *argp1 = 0 ;
17553 int res1 = 0 ;
17554 PyObject *swig_obj[1] ;
17555
17556 if (!args) SWIG_fail;
17557 swig_obj[0] = args;
17558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17559 if (!SWIG_IsOK(res1)) {
17560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17561 }
17562 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 result = ((wxFileDialog const *)arg1)->GetPath();
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 {
17570 #if wxUSE_UNICODE
17571 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17572 #else
17573 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17574 #endif
17575 }
17576 return resultobj;
17577 fail:
17578 return NULL;
17579 }
17580
17581
17582 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17583 PyObject *resultobj = 0;
17584 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17585 wxString result;
17586 void *argp1 = 0 ;
17587 int res1 = 0 ;
17588 PyObject *swig_obj[1] ;
17589
17590 if (!args) SWIG_fail;
17591 swig_obj[0] = args;
17592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17593 if (!SWIG_IsOK(res1)) {
17594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17595 }
17596 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17597 {
17598 PyThreadState* __tstate = wxPyBeginAllowThreads();
17599 result = ((wxFileDialog const *)arg1)->GetDirectory();
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 {
17604 #if wxUSE_UNICODE
17605 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17606 #else
17607 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17608 #endif
17609 }
17610 return resultobj;
17611 fail:
17612 return NULL;
17613 }
17614
17615
17616 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17617 PyObject *resultobj = 0;
17618 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17619 wxString result;
17620 void *argp1 = 0 ;
17621 int res1 = 0 ;
17622 PyObject *swig_obj[1] ;
17623
17624 if (!args) SWIG_fail;
17625 swig_obj[0] = args;
17626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17627 if (!SWIG_IsOK(res1)) {
17628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17629 }
17630 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 result = ((wxFileDialog const *)arg1)->GetFilename();
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 {
17638 #if wxUSE_UNICODE
17639 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17640 #else
17641 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17642 #endif
17643 }
17644 return resultobj;
17645 fail:
17646 return NULL;
17647 }
17648
17649
17650 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17651 PyObject *resultobj = 0;
17652 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17653 wxString result;
17654 void *argp1 = 0 ;
17655 int res1 = 0 ;
17656 PyObject *swig_obj[1] ;
17657
17658 if (!args) SWIG_fail;
17659 swig_obj[0] = args;
17660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17661 if (!SWIG_IsOK(res1)) {
17662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17663 }
17664 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17665 {
17666 PyThreadState* __tstate = wxPyBeginAllowThreads();
17667 result = ((wxFileDialog const *)arg1)->GetWildcard();
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 {
17672 #if wxUSE_UNICODE
17673 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17674 #else
17675 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17676 #endif
17677 }
17678 return resultobj;
17679 fail:
17680 return NULL;
17681 }
17682
17683
17684 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17685 PyObject *resultobj = 0;
17686 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17687 int result;
17688 void *argp1 = 0 ;
17689 int res1 = 0 ;
17690 PyObject *swig_obj[1] ;
17691
17692 if (!args) SWIG_fail;
17693 swig_obj[0] = args;
17694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17695 if (!SWIG_IsOK(res1)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17697 }
17698 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17699 {
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 resultobj = SWIG_From_int(static_cast< int >(result));
17706 return resultobj;
17707 fail:
17708 return NULL;
17709 }
17710
17711
17712 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17713 PyObject *resultobj = 0;
17714 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17715 PyObject *result = 0 ;
17716 void *argp1 = 0 ;
17717 int res1 = 0 ;
17718 PyObject *swig_obj[1] ;
17719
17720 if (!args) SWIG_fail;
17721 swig_obj[0] = args;
17722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17723 if (!SWIG_IsOK(res1)) {
17724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17725 }
17726 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17727 {
17728 PyThreadState* __tstate = wxPyBeginAllowThreads();
17729 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17730 wxPyEndAllowThreads(__tstate);
17731 if (PyErr_Occurred()) SWIG_fail;
17732 }
17733 resultobj = result;
17734 return resultobj;
17735 fail:
17736 return NULL;
17737 }
17738
17739
17740 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17741 PyObject *resultobj = 0;
17742 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17743 PyObject *result = 0 ;
17744 void *argp1 = 0 ;
17745 int res1 = 0 ;
17746 PyObject *swig_obj[1] ;
17747
17748 if (!args) SWIG_fail;
17749 swig_obj[0] = args;
17750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17751 if (!SWIG_IsOK(res1)) {
17752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17753 }
17754 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17758 wxPyEndAllowThreads(__tstate);
17759 if (PyErr_Occurred()) SWIG_fail;
17760 }
17761 resultobj = result;
17762 return resultobj;
17763 fail:
17764 return NULL;
17765 }
17766
17767
17768 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17769 PyObject *obj;
17770 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17771 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17772 return SWIG_Py_Void();
17773 }
17774
17775 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17776 return SWIG_Python_InitShadowInstance(args);
17777 }
17778
17779 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17780 PyObject *resultobj = 0;
17781 wxWindow *arg1 = (wxWindow *) 0 ;
17782 wxString *arg2 = 0 ;
17783 wxString *arg3 = 0 ;
17784 int arg4 = (int) 0 ;
17785 wxString *arg5 = (wxString *) NULL ;
17786 long arg6 = (long) wxCHOICEDLG_STYLE ;
17787 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17788 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17789 wxMultiChoiceDialog *result = 0 ;
17790 void *argp1 = 0 ;
17791 int res1 = 0 ;
17792 bool temp2 = false ;
17793 bool temp3 = false ;
17794 long val6 ;
17795 int ecode6 = 0 ;
17796 wxPoint temp7 ;
17797 PyObject * obj0 = 0 ;
17798 PyObject * obj1 = 0 ;
17799 PyObject * obj2 = 0 ;
17800 PyObject * obj3 = 0 ;
17801 PyObject * obj4 = 0 ;
17802 PyObject * obj5 = 0 ;
17803 char * kwnames[] = {
17804 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17805 };
17806
17807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17809 if (!SWIG_IsOK(res1)) {
17810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17811 }
17812 arg1 = reinterpret_cast< wxWindow * >(argp1);
17813 {
17814 arg2 = wxString_in_helper(obj1);
17815 if (arg2 == NULL) SWIG_fail;
17816 temp2 = true;
17817 }
17818 {
17819 arg3 = wxString_in_helper(obj2);
17820 if (arg3 == NULL) SWIG_fail;
17821 temp3 = true;
17822 }
17823 if (obj3) {
17824 {
17825 arg4 = PyList_Size(obj3);
17826 arg5 = wxString_LIST_helper(obj3);
17827 if (arg5 == NULL) SWIG_fail;
17828 }
17829 }
17830 if (obj4) {
17831 ecode6 = SWIG_AsVal_long(obj4, &val6);
17832 if (!SWIG_IsOK(ecode6)) {
17833 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17834 }
17835 arg6 = static_cast< long >(val6);
17836 }
17837 if (obj5) {
17838 {
17839 arg7 = &temp7;
17840 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17841 }
17842 }
17843 {
17844 if (!wxPyCheckForApp()) SWIG_fail;
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17847 wxPyEndAllowThreads(__tstate);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17851 {
17852 if (temp2)
17853 delete arg2;
17854 }
17855 {
17856 if (temp3)
17857 delete arg3;
17858 }
17859 {
17860 if (arg5) delete [] arg5;
17861 }
17862 return resultobj;
17863 fail:
17864 {
17865 if (temp2)
17866 delete arg2;
17867 }
17868 {
17869 if (temp3)
17870 delete arg3;
17871 }
17872 {
17873 if (arg5) delete [] arg5;
17874 }
17875 return NULL;
17876 }
17877
17878
17879 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17880 PyObject *resultobj = 0;
17881 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17882 wxArrayInt *arg2 = 0 ;
17883 void *argp1 = 0 ;
17884 int res1 = 0 ;
17885 bool temp2 = false ;
17886 PyObject * obj0 = 0 ;
17887 PyObject * obj1 = 0 ;
17888 char * kwnames[] = {
17889 (char *) "self",(char *) "selections", NULL
17890 };
17891
17892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17894 if (!SWIG_IsOK(res1)) {
17895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17896 }
17897 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17898 {
17899 if (! PySequence_Check(obj1)) {
17900 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17901 SWIG_fail;
17902 }
17903 arg2 = new wxArrayInt;
17904 temp2 = true;
17905 int i, len=PySequence_Length(obj1);
17906 for (i=0; i<len; i++) {
17907 PyObject* item = PySequence_GetItem(obj1, i);
17908 PyObject* number = PyNumber_Int(item);
17909 arg2->Add(PyInt_AS_LONG(number));
17910 Py_DECREF(item);
17911 Py_DECREF(number);
17912 }
17913 }
17914 {
17915 PyThreadState* __tstate = wxPyBeginAllowThreads();
17916 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 resultobj = SWIG_Py_Void();
17921 {
17922 if (temp2) delete arg2;
17923 }
17924 return resultobj;
17925 fail:
17926 {
17927 if (temp2) delete arg2;
17928 }
17929 return NULL;
17930 }
17931
17932
17933 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17934 PyObject *resultobj = 0;
17935 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17936 PyObject *result = 0 ;
17937 void *argp1 = 0 ;
17938 int res1 = 0 ;
17939 PyObject *swig_obj[1] ;
17940
17941 if (!args) SWIG_fail;
17942 swig_obj[0] = args;
17943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17944 if (!SWIG_IsOK(res1)) {
17945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17946 }
17947 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17948 {
17949 PyThreadState* __tstate = wxPyBeginAllowThreads();
17950 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17951 wxPyEndAllowThreads(__tstate);
17952 if (PyErr_Occurred()) SWIG_fail;
17953 }
17954 resultobj = result;
17955 return resultobj;
17956 fail:
17957 return NULL;
17958 }
17959
17960
17961 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17962 PyObject *obj;
17963 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17964 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17965 return SWIG_Py_Void();
17966 }
17967
17968 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17969 return SWIG_Python_InitShadowInstance(args);
17970 }
17971
17972 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17973 PyObject *resultobj = 0;
17974 wxWindow *arg1 = (wxWindow *) 0 ;
17975 wxString *arg2 = 0 ;
17976 wxString *arg3 = 0 ;
17977 int arg4 ;
17978 wxString *arg5 = (wxString *) 0 ;
17979 long arg6 = (long) wxCHOICEDLG_STYLE ;
17980 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17981 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17982 wxSingleChoiceDialog *result = 0 ;
17983 void *argp1 = 0 ;
17984 int res1 = 0 ;
17985 bool temp2 = false ;
17986 bool temp3 = false ;
17987 long val6 ;
17988 int ecode6 = 0 ;
17989 wxPoint temp7 ;
17990 PyObject * obj0 = 0 ;
17991 PyObject * obj1 = 0 ;
17992 PyObject * obj2 = 0 ;
17993 PyObject * obj3 = 0 ;
17994 PyObject * obj4 = 0 ;
17995 PyObject * obj5 = 0 ;
17996 char * kwnames[] = {
17997 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17998 };
17999
18000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18002 if (!SWIG_IsOK(res1)) {
18003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18004 }
18005 arg1 = reinterpret_cast< wxWindow * >(argp1);
18006 {
18007 arg2 = wxString_in_helper(obj1);
18008 if (arg2 == NULL) SWIG_fail;
18009 temp2 = true;
18010 }
18011 {
18012 arg3 = wxString_in_helper(obj2);
18013 if (arg3 == NULL) SWIG_fail;
18014 temp3 = true;
18015 }
18016 {
18017 arg4 = PyList_Size(obj3);
18018 arg5 = wxString_LIST_helper(obj3);
18019 if (arg5 == NULL) SWIG_fail;
18020 }
18021 if (obj4) {
18022 ecode6 = SWIG_AsVal_long(obj4, &val6);
18023 if (!SWIG_IsOK(ecode6)) {
18024 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18025 }
18026 arg6 = static_cast< long >(val6);
18027 }
18028 if (obj5) {
18029 {
18030 arg7 = &temp7;
18031 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18032 }
18033 }
18034 {
18035 if (!wxPyCheckForApp()) SWIG_fail;
18036 PyThreadState* __tstate = wxPyBeginAllowThreads();
18037 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18038 wxPyEndAllowThreads(__tstate);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 }
18041 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18042 {
18043 if (temp2)
18044 delete arg2;
18045 }
18046 {
18047 if (temp3)
18048 delete arg3;
18049 }
18050 {
18051 if (arg5) delete [] arg5;
18052 }
18053 return resultobj;
18054 fail:
18055 {
18056 if (temp2)
18057 delete arg2;
18058 }
18059 {
18060 if (temp3)
18061 delete arg3;
18062 }
18063 {
18064 if (arg5) delete [] arg5;
18065 }
18066 return NULL;
18067 }
18068
18069
18070 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18071 PyObject *resultobj = 0;
18072 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18073 int result;
18074 void *argp1 = 0 ;
18075 int res1 = 0 ;
18076 PyObject *swig_obj[1] ;
18077
18078 if (!args) SWIG_fail;
18079 swig_obj[0] = args;
18080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18081 if (!SWIG_IsOK(res1)) {
18082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18083 }
18084 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18085 {
18086 PyThreadState* __tstate = wxPyBeginAllowThreads();
18087 result = (int)(arg1)->GetSelection();
18088 wxPyEndAllowThreads(__tstate);
18089 if (PyErr_Occurred()) SWIG_fail;
18090 }
18091 resultobj = SWIG_From_int(static_cast< int >(result));
18092 return resultobj;
18093 fail:
18094 return NULL;
18095 }
18096
18097
18098 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18099 PyObject *resultobj = 0;
18100 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18101 wxString result;
18102 void *argp1 = 0 ;
18103 int res1 = 0 ;
18104 PyObject *swig_obj[1] ;
18105
18106 if (!args) SWIG_fail;
18107 swig_obj[0] = args;
18108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18109 if (!SWIG_IsOK(res1)) {
18110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18111 }
18112 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (arg1)->GetStringSelection();
18116 wxPyEndAllowThreads(__tstate);
18117 if (PyErr_Occurred()) SWIG_fail;
18118 }
18119 {
18120 #if wxUSE_UNICODE
18121 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18122 #else
18123 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18124 #endif
18125 }
18126 return resultobj;
18127 fail:
18128 return NULL;
18129 }
18130
18131
18132 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18133 PyObject *resultobj = 0;
18134 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18135 int arg2 ;
18136 void *argp1 = 0 ;
18137 int res1 = 0 ;
18138 int val2 ;
18139 int ecode2 = 0 ;
18140 PyObject * obj0 = 0 ;
18141 PyObject * obj1 = 0 ;
18142 char * kwnames[] = {
18143 (char *) "self",(char *) "sel", NULL
18144 };
18145
18146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18148 if (!SWIG_IsOK(res1)) {
18149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18150 }
18151 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18152 ecode2 = SWIG_AsVal_int(obj1, &val2);
18153 if (!SWIG_IsOK(ecode2)) {
18154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18155 }
18156 arg2 = static_cast< int >(val2);
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 (arg1)->SetSelection(arg2);
18160 wxPyEndAllowThreads(__tstate);
18161 if (PyErr_Occurred()) SWIG_fail;
18162 }
18163 resultobj = SWIG_Py_Void();
18164 return resultobj;
18165 fail:
18166 return NULL;
18167 }
18168
18169
18170 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18171 PyObject *obj;
18172 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18173 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18174 return SWIG_Py_Void();
18175 }
18176
18177 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18178 return SWIG_Python_InitShadowInstance(args);
18179 }
18180
18181 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18182 PyObject *resultobj = 0;
18183 wxWindow *arg1 = (wxWindow *) 0 ;
18184 wxString *arg2 = 0 ;
18185 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18186 wxString *arg3 = (wxString *) &arg3_defvalue ;
18187 wxString const &arg4_defvalue = wxPyEmptyString ;
18188 wxString *arg4 = (wxString *) &arg4_defvalue ;
18189 long arg5 = (long) wxTextEntryDialogStyle ;
18190 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18191 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18192 wxTextEntryDialog *result = 0 ;
18193 void *argp1 = 0 ;
18194 int res1 = 0 ;
18195 bool temp2 = false ;
18196 bool temp3 = false ;
18197 bool temp4 = false ;
18198 long val5 ;
18199 int ecode5 = 0 ;
18200 wxPoint temp6 ;
18201 PyObject * obj0 = 0 ;
18202 PyObject * obj1 = 0 ;
18203 PyObject * obj2 = 0 ;
18204 PyObject * obj3 = 0 ;
18205 PyObject * obj4 = 0 ;
18206 PyObject * obj5 = 0 ;
18207 char * kwnames[] = {
18208 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18209 };
18210
18211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18213 if (!SWIG_IsOK(res1)) {
18214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18215 }
18216 arg1 = reinterpret_cast< wxWindow * >(argp1);
18217 {
18218 arg2 = wxString_in_helper(obj1);
18219 if (arg2 == NULL) SWIG_fail;
18220 temp2 = true;
18221 }
18222 if (obj2) {
18223 {
18224 arg3 = wxString_in_helper(obj2);
18225 if (arg3 == NULL) SWIG_fail;
18226 temp3 = true;
18227 }
18228 }
18229 if (obj3) {
18230 {
18231 arg4 = wxString_in_helper(obj3);
18232 if (arg4 == NULL) SWIG_fail;
18233 temp4 = true;
18234 }
18235 }
18236 if (obj4) {
18237 ecode5 = SWIG_AsVal_long(obj4, &val5);
18238 if (!SWIG_IsOK(ecode5)) {
18239 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18240 }
18241 arg5 = static_cast< long >(val5);
18242 }
18243 if (obj5) {
18244 {
18245 arg6 = &temp6;
18246 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18247 }
18248 }
18249 {
18250 if (!wxPyCheckForApp()) SWIG_fail;
18251 PyThreadState* __tstate = wxPyBeginAllowThreads();
18252 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18253 wxPyEndAllowThreads(__tstate);
18254 if (PyErr_Occurred()) SWIG_fail;
18255 }
18256 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18257 {
18258 if (temp2)
18259 delete arg2;
18260 }
18261 {
18262 if (temp3)
18263 delete arg3;
18264 }
18265 {
18266 if (temp4)
18267 delete arg4;
18268 }
18269 return resultobj;
18270 fail:
18271 {
18272 if (temp2)
18273 delete arg2;
18274 }
18275 {
18276 if (temp3)
18277 delete arg3;
18278 }
18279 {
18280 if (temp4)
18281 delete arg4;
18282 }
18283 return NULL;
18284 }
18285
18286
18287 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18288 PyObject *resultobj = 0;
18289 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18290 wxString result;
18291 void *argp1 = 0 ;
18292 int res1 = 0 ;
18293 PyObject *swig_obj[1] ;
18294
18295 if (!args) SWIG_fail;
18296 swig_obj[0] = args;
18297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18298 if (!SWIG_IsOK(res1)) {
18299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18300 }
18301 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18302 {
18303 PyThreadState* __tstate = wxPyBeginAllowThreads();
18304 result = (arg1)->GetValue();
18305 wxPyEndAllowThreads(__tstate);
18306 if (PyErr_Occurred()) SWIG_fail;
18307 }
18308 {
18309 #if wxUSE_UNICODE
18310 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18311 #else
18312 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18313 #endif
18314 }
18315 return resultobj;
18316 fail:
18317 return NULL;
18318 }
18319
18320
18321 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj = 0;
18323 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18324 wxString *arg2 = 0 ;
18325 void *argp1 = 0 ;
18326 int res1 = 0 ;
18327 bool temp2 = false ;
18328 PyObject * obj0 = 0 ;
18329 PyObject * obj1 = 0 ;
18330 char * kwnames[] = {
18331 (char *) "self",(char *) "value", NULL
18332 };
18333
18334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18336 if (!SWIG_IsOK(res1)) {
18337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18338 }
18339 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18340 {
18341 arg2 = wxString_in_helper(obj1);
18342 if (arg2 == NULL) SWIG_fail;
18343 temp2 = true;
18344 }
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
18347 (arg1)->SetValue((wxString const &)*arg2);
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 resultobj = SWIG_Py_Void();
18352 {
18353 if (temp2)
18354 delete arg2;
18355 }
18356 return resultobj;
18357 fail:
18358 {
18359 if (temp2)
18360 delete arg2;
18361 }
18362 return NULL;
18363 }
18364
18365
18366 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18367 PyObject *obj;
18368 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18369 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18370 return SWIG_Py_Void();
18371 }
18372
18373 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18374 return SWIG_Python_InitShadowInstance(args);
18375 }
18376
18377 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18378 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18379 return 1;
18380 }
18381
18382
18383 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18384 PyObject *pyobj = 0;
18385
18386 {
18387 #if wxUSE_UNICODE
18388 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18389 #else
18390 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18391 #endif
18392 }
18393 return pyobj;
18394 }
18395
18396
18397 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj = 0;
18399 wxWindow *arg1 = (wxWindow *) 0 ;
18400 wxString *arg2 = 0 ;
18401 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18402 wxString *arg3 = (wxString *) &arg3_defvalue ;
18403 wxString const &arg4_defvalue = wxPyEmptyString ;
18404 wxString *arg4 = (wxString *) &arg4_defvalue ;
18405 long arg5 = (long) wxTextEntryDialogStyle ;
18406 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18407 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18408 wxPasswordEntryDialog *result = 0 ;
18409 void *argp1 = 0 ;
18410 int res1 = 0 ;
18411 bool temp2 = false ;
18412 bool temp3 = false ;
18413 bool temp4 = false ;
18414 long val5 ;
18415 int ecode5 = 0 ;
18416 wxPoint temp6 ;
18417 PyObject * obj0 = 0 ;
18418 PyObject * obj1 = 0 ;
18419 PyObject * obj2 = 0 ;
18420 PyObject * obj3 = 0 ;
18421 PyObject * obj4 = 0 ;
18422 PyObject * obj5 = 0 ;
18423 char * kwnames[] = {
18424 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18425 };
18426
18427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18429 if (!SWIG_IsOK(res1)) {
18430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18431 }
18432 arg1 = reinterpret_cast< wxWindow * >(argp1);
18433 {
18434 arg2 = wxString_in_helper(obj1);
18435 if (arg2 == NULL) SWIG_fail;
18436 temp2 = true;
18437 }
18438 if (obj2) {
18439 {
18440 arg3 = wxString_in_helper(obj2);
18441 if (arg3 == NULL) SWIG_fail;
18442 temp3 = true;
18443 }
18444 }
18445 if (obj3) {
18446 {
18447 arg4 = wxString_in_helper(obj3);
18448 if (arg4 == NULL) SWIG_fail;
18449 temp4 = true;
18450 }
18451 }
18452 if (obj4) {
18453 ecode5 = SWIG_AsVal_long(obj4, &val5);
18454 if (!SWIG_IsOK(ecode5)) {
18455 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18456 }
18457 arg5 = static_cast< long >(val5);
18458 }
18459 if (obj5) {
18460 {
18461 arg6 = &temp6;
18462 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18463 }
18464 }
18465 {
18466 PyThreadState* __tstate = wxPyBeginAllowThreads();
18467 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18472 {
18473 if (temp2)
18474 delete arg2;
18475 }
18476 {
18477 if (temp3)
18478 delete arg3;
18479 }
18480 {
18481 if (temp4)
18482 delete arg4;
18483 }
18484 return resultobj;
18485 fail:
18486 {
18487 if (temp2)
18488 delete arg2;
18489 }
18490 {
18491 if (temp3)
18492 delete arg3;
18493 }
18494 {
18495 if (temp4)
18496 delete arg4;
18497 }
18498 return NULL;
18499 }
18500
18501
18502 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18503 PyObject *obj;
18504 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18505 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18506 return SWIG_Py_Void();
18507 }
18508
18509 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18510 return SWIG_Python_InitShadowInstance(args);
18511 }
18512
18513 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18514 PyObject *resultobj = 0;
18515 wxWindow *arg1 = (wxWindow *) 0 ;
18516 wxString *arg2 = 0 ;
18517 wxString *arg3 = 0 ;
18518 wxString *arg4 = 0 ;
18519 long arg5 ;
18520 long arg6 ;
18521 long arg7 ;
18522 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18523 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18524 wxNumberEntryDialog *result = 0 ;
18525 void *argp1 = 0 ;
18526 int res1 = 0 ;
18527 bool temp2 = false ;
18528 bool temp3 = false ;
18529 bool temp4 = false ;
18530 long val5 ;
18531 int ecode5 = 0 ;
18532 long val6 ;
18533 int ecode6 = 0 ;
18534 long val7 ;
18535 int ecode7 = 0 ;
18536 wxPoint temp8 ;
18537 PyObject * obj0 = 0 ;
18538 PyObject * obj1 = 0 ;
18539 PyObject * obj2 = 0 ;
18540 PyObject * obj3 = 0 ;
18541 PyObject * obj4 = 0 ;
18542 PyObject * obj5 = 0 ;
18543 PyObject * obj6 = 0 ;
18544 PyObject * obj7 = 0 ;
18545 char * kwnames[] = {
18546 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18547 };
18548
18549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18551 if (!SWIG_IsOK(res1)) {
18552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18553 }
18554 arg1 = reinterpret_cast< wxWindow * >(argp1);
18555 {
18556 arg2 = wxString_in_helper(obj1);
18557 if (arg2 == NULL) SWIG_fail;
18558 temp2 = true;
18559 }
18560 {
18561 arg3 = wxString_in_helper(obj2);
18562 if (arg3 == NULL) SWIG_fail;
18563 temp3 = true;
18564 }
18565 {
18566 arg4 = wxString_in_helper(obj3);
18567 if (arg4 == NULL) SWIG_fail;
18568 temp4 = true;
18569 }
18570 ecode5 = SWIG_AsVal_long(obj4, &val5);
18571 if (!SWIG_IsOK(ecode5)) {
18572 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18573 }
18574 arg5 = static_cast< long >(val5);
18575 ecode6 = SWIG_AsVal_long(obj5, &val6);
18576 if (!SWIG_IsOK(ecode6)) {
18577 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18578 }
18579 arg6 = static_cast< long >(val6);
18580 ecode7 = SWIG_AsVal_long(obj6, &val7);
18581 if (!SWIG_IsOK(ecode7)) {
18582 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18583 }
18584 arg7 = static_cast< long >(val7);
18585 if (obj7) {
18586 {
18587 arg8 = &temp8;
18588 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18589 }
18590 }
18591 {
18592 if (!wxPyCheckForApp()) SWIG_fail;
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18595 wxPyEndAllowThreads(__tstate);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18599 {
18600 if (temp2)
18601 delete arg2;
18602 }
18603 {
18604 if (temp3)
18605 delete arg3;
18606 }
18607 {
18608 if (temp4)
18609 delete arg4;
18610 }
18611 return resultobj;
18612 fail:
18613 {
18614 if (temp2)
18615 delete arg2;
18616 }
18617 {
18618 if (temp3)
18619 delete arg3;
18620 }
18621 {
18622 if (temp4)
18623 delete arg4;
18624 }
18625 return NULL;
18626 }
18627
18628
18629 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18630 PyObject *resultobj = 0;
18631 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18632 long result;
18633 void *argp1 = 0 ;
18634 int res1 = 0 ;
18635 PyObject *swig_obj[1] ;
18636
18637 if (!args) SWIG_fail;
18638 swig_obj[0] = args;
18639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18640 if (!SWIG_IsOK(res1)) {
18641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18642 }
18643 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 result = (long)(arg1)->GetValue();
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 resultobj = SWIG_From_long(static_cast< long >(result));
18651 return resultobj;
18652 fail:
18653 return NULL;
18654 }
18655
18656
18657 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18658 PyObject *obj;
18659 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18660 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18661 return SWIG_Py_Void();
18662 }
18663
18664 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18665 return SWIG_Python_InitShadowInstance(args);
18666 }
18667
18668 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18669 PyObject *resultobj = 0;
18670 wxFontData *result = 0 ;
18671
18672 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18673 {
18674 PyThreadState* __tstate = wxPyBeginAllowThreads();
18675 result = (wxFontData *)new wxFontData();
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18680 return resultobj;
18681 fail:
18682 return NULL;
18683 }
18684
18685
18686 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18687 PyObject *resultobj = 0;
18688 wxFontData *arg1 = (wxFontData *) 0 ;
18689 void *argp1 = 0 ;
18690 int res1 = 0 ;
18691 PyObject *swig_obj[1] ;
18692
18693 if (!args) SWIG_fail;
18694 swig_obj[0] = args;
18695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18696 if (!SWIG_IsOK(res1)) {
18697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18698 }
18699 arg1 = reinterpret_cast< wxFontData * >(argp1);
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 delete arg1;
18703
18704 wxPyEndAllowThreads(__tstate);
18705 if (PyErr_Occurred()) SWIG_fail;
18706 }
18707 resultobj = SWIG_Py_Void();
18708 return resultobj;
18709 fail:
18710 return NULL;
18711 }
18712
18713
18714 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18715 PyObject *resultobj = 0;
18716 wxFontData *arg1 = (wxFontData *) 0 ;
18717 bool arg2 ;
18718 void *argp1 = 0 ;
18719 int res1 = 0 ;
18720 bool val2 ;
18721 int ecode2 = 0 ;
18722 PyObject * obj0 = 0 ;
18723 PyObject * obj1 = 0 ;
18724 char * kwnames[] = {
18725 (char *) "self",(char *) "enable", NULL
18726 };
18727
18728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18730 if (!SWIG_IsOK(res1)) {
18731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18732 }
18733 arg1 = reinterpret_cast< wxFontData * >(argp1);
18734 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18735 if (!SWIG_IsOK(ecode2)) {
18736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18737 }
18738 arg2 = static_cast< bool >(val2);
18739 {
18740 PyThreadState* __tstate = wxPyBeginAllowThreads();
18741 (arg1)->EnableEffects(arg2);
18742 wxPyEndAllowThreads(__tstate);
18743 if (PyErr_Occurred()) SWIG_fail;
18744 }
18745 resultobj = SWIG_Py_Void();
18746 return resultobj;
18747 fail:
18748 return NULL;
18749 }
18750
18751
18752 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18753 PyObject *resultobj = 0;
18754 wxFontData *arg1 = (wxFontData *) 0 ;
18755 bool result;
18756 void *argp1 = 0 ;
18757 int res1 = 0 ;
18758 PyObject *swig_obj[1] ;
18759
18760 if (!args) SWIG_fail;
18761 swig_obj[0] = args;
18762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18763 if (!SWIG_IsOK(res1)) {
18764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18765 }
18766 arg1 = reinterpret_cast< wxFontData * >(argp1);
18767 {
18768 PyThreadState* __tstate = wxPyBeginAllowThreads();
18769 result = (bool)(arg1)->GetAllowSymbols();
18770 wxPyEndAllowThreads(__tstate);
18771 if (PyErr_Occurred()) SWIG_fail;
18772 }
18773 {
18774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18775 }
18776 return resultobj;
18777 fail:
18778 return NULL;
18779 }
18780
18781
18782 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18783 PyObject *resultobj = 0;
18784 wxFontData *arg1 = (wxFontData *) 0 ;
18785 wxColour result;
18786 void *argp1 = 0 ;
18787 int res1 = 0 ;
18788 PyObject *swig_obj[1] ;
18789
18790 if (!args) SWIG_fail;
18791 swig_obj[0] = args;
18792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18793 if (!SWIG_IsOK(res1)) {
18794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18795 }
18796 arg1 = reinterpret_cast< wxFontData * >(argp1);
18797 {
18798 PyThreadState* __tstate = wxPyBeginAllowThreads();
18799 result = (arg1)->GetColour();
18800 wxPyEndAllowThreads(__tstate);
18801 if (PyErr_Occurred()) SWIG_fail;
18802 }
18803 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18804 return resultobj;
18805 fail:
18806 return NULL;
18807 }
18808
18809
18810 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18811 PyObject *resultobj = 0;
18812 wxFontData *arg1 = (wxFontData *) 0 ;
18813 wxFont result;
18814 void *argp1 = 0 ;
18815 int res1 = 0 ;
18816 PyObject *swig_obj[1] ;
18817
18818 if (!args) SWIG_fail;
18819 swig_obj[0] = args;
18820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18821 if (!SWIG_IsOK(res1)) {
18822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18823 }
18824 arg1 = reinterpret_cast< wxFontData * >(argp1);
18825 {
18826 PyThreadState* __tstate = wxPyBeginAllowThreads();
18827 result = (arg1)->GetChosenFont();
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18832 return resultobj;
18833 fail:
18834 return NULL;
18835 }
18836
18837
18838 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18839 PyObject *resultobj = 0;
18840 wxFontData *arg1 = (wxFontData *) 0 ;
18841 bool result;
18842 void *argp1 = 0 ;
18843 int res1 = 0 ;
18844 PyObject *swig_obj[1] ;
18845
18846 if (!args) SWIG_fail;
18847 swig_obj[0] = args;
18848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18849 if (!SWIG_IsOK(res1)) {
18850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18851 }
18852 arg1 = reinterpret_cast< wxFontData * >(argp1);
18853 {
18854 PyThreadState* __tstate = wxPyBeginAllowThreads();
18855 result = (bool)(arg1)->GetEnableEffects();
18856 wxPyEndAllowThreads(__tstate);
18857 if (PyErr_Occurred()) SWIG_fail;
18858 }
18859 {
18860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18861 }
18862 return resultobj;
18863 fail:
18864 return NULL;
18865 }
18866
18867
18868 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18869 PyObject *resultobj = 0;
18870 wxFontData *arg1 = (wxFontData *) 0 ;
18871 wxFont result;
18872 void *argp1 = 0 ;
18873 int res1 = 0 ;
18874 PyObject *swig_obj[1] ;
18875
18876 if (!args) SWIG_fail;
18877 swig_obj[0] = args;
18878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18879 if (!SWIG_IsOK(res1)) {
18880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18881 }
18882 arg1 = reinterpret_cast< wxFontData * >(argp1);
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 result = (arg1)->GetInitialFont();
18886 wxPyEndAllowThreads(__tstate);
18887 if (PyErr_Occurred()) SWIG_fail;
18888 }
18889 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18890 return resultobj;
18891 fail:
18892 return NULL;
18893 }
18894
18895
18896 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18897 PyObject *resultobj = 0;
18898 wxFontData *arg1 = (wxFontData *) 0 ;
18899 bool result;
18900 void *argp1 = 0 ;
18901 int res1 = 0 ;
18902 PyObject *swig_obj[1] ;
18903
18904 if (!args) SWIG_fail;
18905 swig_obj[0] = args;
18906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18907 if (!SWIG_IsOK(res1)) {
18908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18909 }
18910 arg1 = reinterpret_cast< wxFontData * >(argp1);
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 result = (bool)(arg1)->GetShowHelp();
18914 wxPyEndAllowThreads(__tstate);
18915 if (PyErr_Occurred()) SWIG_fail;
18916 }
18917 {
18918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18919 }
18920 return resultobj;
18921 fail:
18922 return NULL;
18923 }
18924
18925
18926 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18927 PyObject *resultobj = 0;
18928 wxFontData *arg1 = (wxFontData *) 0 ;
18929 bool arg2 ;
18930 void *argp1 = 0 ;
18931 int res1 = 0 ;
18932 bool val2 ;
18933 int ecode2 = 0 ;
18934 PyObject * obj0 = 0 ;
18935 PyObject * obj1 = 0 ;
18936 char * kwnames[] = {
18937 (char *) "self",(char *) "allowSymbols", NULL
18938 };
18939
18940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18942 if (!SWIG_IsOK(res1)) {
18943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18944 }
18945 arg1 = reinterpret_cast< wxFontData * >(argp1);
18946 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18947 if (!SWIG_IsOK(ecode2)) {
18948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18949 }
18950 arg2 = static_cast< bool >(val2);
18951 {
18952 PyThreadState* __tstate = wxPyBeginAllowThreads();
18953 (arg1)->SetAllowSymbols(arg2);
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 resultobj = SWIG_Py_Void();
18958 return resultobj;
18959 fail:
18960 return NULL;
18961 }
18962
18963
18964 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18965 PyObject *resultobj = 0;
18966 wxFontData *arg1 = (wxFontData *) 0 ;
18967 wxFont *arg2 = 0 ;
18968 void *argp1 = 0 ;
18969 int res1 = 0 ;
18970 void *argp2 = 0 ;
18971 int res2 = 0 ;
18972 PyObject * obj0 = 0 ;
18973 PyObject * obj1 = 0 ;
18974 char * kwnames[] = {
18975 (char *) "self",(char *) "font", NULL
18976 };
18977
18978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18980 if (!SWIG_IsOK(res1)) {
18981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18982 }
18983 arg1 = reinterpret_cast< wxFontData * >(argp1);
18984 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18985 if (!SWIG_IsOK(res2)) {
18986 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18987 }
18988 if (!argp2) {
18989 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18990 }
18991 arg2 = reinterpret_cast< wxFont * >(argp2);
18992 {
18993 PyThreadState* __tstate = wxPyBeginAllowThreads();
18994 (arg1)->SetChosenFont((wxFont const &)*arg2);
18995 wxPyEndAllowThreads(__tstate);
18996 if (PyErr_Occurred()) SWIG_fail;
18997 }
18998 resultobj = SWIG_Py_Void();
18999 return resultobj;
19000 fail:
19001 return NULL;
19002 }
19003
19004
19005 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19006 PyObject *resultobj = 0;
19007 wxFontData *arg1 = (wxFontData *) 0 ;
19008 wxColour *arg2 = 0 ;
19009 void *argp1 = 0 ;
19010 int res1 = 0 ;
19011 wxColour temp2 ;
19012 PyObject * obj0 = 0 ;
19013 PyObject * obj1 = 0 ;
19014 char * kwnames[] = {
19015 (char *) "self",(char *) "colour", NULL
19016 };
19017
19018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19020 if (!SWIG_IsOK(res1)) {
19021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19022 }
19023 arg1 = reinterpret_cast< wxFontData * >(argp1);
19024 {
19025 arg2 = &temp2;
19026 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19027 }
19028 {
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 (arg1)->SetColour((wxColour const &)*arg2);
19031 wxPyEndAllowThreads(__tstate);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
19034 resultobj = SWIG_Py_Void();
19035 return resultobj;
19036 fail:
19037 return NULL;
19038 }
19039
19040
19041 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19042 PyObject *resultobj = 0;
19043 wxFontData *arg1 = (wxFontData *) 0 ;
19044 wxFont *arg2 = 0 ;
19045 void *argp1 = 0 ;
19046 int res1 = 0 ;
19047 void *argp2 = 0 ;
19048 int res2 = 0 ;
19049 PyObject * obj0 = 0 ;
19050 PyObject * obj1 = 0 ;
19051 char * kwnames[] = {
19052 (char *) "self",(char *) "font", NULL
19053 };
19054
19055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19057 if (!SWIG_IsOK(res1)) {
19058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19059 }
19060 arg1 = reinterpret_cast< wxFontData * >(argp1);
19061 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19062 if (!SWIG_IsOK(res2)) {
19063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19064 }
19065 if (!argp2) {
19066 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19067 }
19068 arg2 = reinterpret_cast< wxFont * >(argp2);
19069 {
19070 PyThreadState* __tstate = wxPyBeginAllowThreads();
19071 (arg1)->SetInitialFont((wxFont const &)*arg2);
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 resultobj = SWIG_Py_Void();
19076 return resultobj;
19077 fail:
19078 return NULL;
19079 }
19080
19081
19082 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj = 0;
19084 wxFontData *arg1 = (wxFontData *) 0 ;
19085 int arg2 ;
19086 int arg3 ;
19087 void *argp1 = 0 ;
19088 int res1 = 0 ;
19089 int val2 ;
19090 int ecode2 = 0 ;
19091 int val3 ;
19092 int ecode3 = 0 ;
19093 PyObject * obj0 = 0 ;
19094 PyObject * obj1 = 0 ;
19095 PyObject * obj2 = 0 ;
19096 char * kwnames[] = {
19097 (char *) "self",(char *) "min",(char *) "max", NULL
19098 };
19099
19100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19102 if (!SWIG_IsOK(res1)) {
19103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19104 }
19105 arg1 = reinterpret_cast< wxFontData * >(argp1);
19106 ecode2 = SWIG_AsVal_int(obj1, &val2);
19107 if (!SWIG_IsOK(ecode2)) {
19108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19109 }
19110 arg2 = static_cast< int >(val2);
19111 ecode3 = SWIG_AsVal_int(obj2, &val3);
19112 if (!SWIG_IsOK(ecode3)) {
19113 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19114 }
19115 arg3 = static_cast< int >(val3);
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 (arg1)->SetRange(arg2,arg3);
19119 wxPyEndAllowThreads(__tstate);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 }
19122 resultobj = SWIG_Py_Void();
19123 return resultobj;
19124 fail:
19125 return NULL;
19126 }
19127
19128
19129 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19130 PyObject *resultobj = 0;
19131 wxFontData *arg1 = (wxFontData *) 0 ;
19132 bool arg2 ;
19133 void *argp1 = 0 ;
19134 int res1 = 0 ;
19135 bool val2 ;
19136 int ecode2 = 0 ;
19137 PyObject * obj0 = 0 ;
19138 PyObject * obj1 = 0 ;
19139 char * kwnames[] = {
19140 (char *) "self",(char *) "showHelp", NULL
19141 };
19142
19143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19145 if (!SWIG_IsOK(res1)) {
19146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19147 }
19148 arg1 = reinterpret_cast< wxFontData * >(argp1);
19149 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19150 if (!SWIG_IsOK(ecode2)) {
19151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19152 }
19153 arg2 = static_cast< bool >(val2);
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 (arg1)->SetShowHelp(arg2);
19157 wxPyEndAllowThreads(__tstate);
19158 if (PyErr_Occurred()) SWIG_fail;
19159 }
19160 resultobj = SWIG_Py_Void();
19161 return resultobj;
19162 fail:
19163 return NULL;
19164 }
19165
19166
19167 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19168 PyObject *obj;
19169 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19170 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19171 return SWIG_Py_Void();
19172 }
19173
19174 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19175 return SWIG_Python_InitShadowInstance(args);
19176 }
19177
19178 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19179 PyObject *resultobj = 0;
19180 wxWindow *arg1 = (wxWindow *) 0 ;
19181 wxFontData *arg2 = 0 ;
19182 wxFontDialog *result = 0 ;
19183 void *argp1 = 0 ;
19184 int res1 = 0 ;
19185 void *argp2 = 0 ;
19186 int res2 = 0 ;
19187 PyObject * obj0 = 0 ;
19188 PyObject * obj1 = 0 ;
19189 char * kwnames[] = {
19190 (char *) "parent",(char *) "data", NULL
19191 };
19192
19193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19195 if (!SWIG_IsOK(res1)) {
19196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19197 }
19198 arg1 = reinterpret_cast< wxWindow * >(argp1);
19199 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19200 if (!SWIG_IsOK(res2)) {
19201 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19202 }
19203 if (!argp2) {
19204 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19205 }
19206 arg2 = reinterpret_cast< wxFontData * >(argp2);
19207 {
19208 if (!wxPyCheckForApp()) SWIG_fail;
19209 PyThreadState* __tstate = wxPyBeginAllowThreads();
19210 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19211 wxPyEndAllowThreads(__tstate);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19215 return resultobj;
19216 fail:
19217 return NULL;
19218 }
19219
19220
19221 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19222 PyObject *resultobj = 0;
19223 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19224 wxFontData *result = 0 ;
19225 void *argp1 = 0 ;
19226 int res1 = 0 ;
19227 PyObject *swig_obj[1] ;
19228
19229 if (!args) SWIG_fail;
19230 swig_obj[0] = args;
19231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19232 if (!SWIG_IsOK(res1)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19234 }
19235 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19236 {
19237 PyThreadState* __tstate = wxPyBeginAllowThreads();
19238 {
19239 wxFontData &_result_ref = (arg1)->GetFontData();
19240 result = (wxFontData *) &_result_ref;
19241 }
19242 wxPyEndAllowThreads(__tstate);
19243 if (PyErr_Occurred()) SWIG_fail;
19244 }
19245 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19246 return resultobj;
19247 fail:
19248 return NULL;
19249 }
19250
19251
19252 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19253 PyObject *obj;
19254 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19255 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19256 return SWIG_Py_Void();
19257 }
19258
19259 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19260 return SWIG_Python_InitShadowInstance(args);
19261 }
19262
19263 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19264 PyObject *resultobj = 0;
19265 wxWindow *arg1 = (wxWindow *) NULL ;
19266 wxFont const &arg2_defvalue = wxNullFont ;
19267 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19268 wxString const &arg3_defvalue = wxPyEmptyString ;
19269 wxString *arg3 = (wxString *) &arg3_defvalue ;
19270 wxFont result;
19271 void *argp1 = 0 ;
19272 int res1 = 0 ;
19273 void *argp2 = 0 ;
19274 int res2 = 0 ;
19275 bool temp3 = false ;
19276 PyObject * obj0 = 0 ;
19277 PyObject * obj1 = 0 ;
19278 PyObject * obj2 = 0 ;
19279 char * kwnames[] = {
19280 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19281 };
19282
19283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19284 if (obj0) {
19285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19286 if (!SWIG_IsOK(res1)) {
19287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19288 }
19289 arg1 = reinterpret_cast< wxWindow * >(argp1);
19290 }
19291 if (obj1) {
19292 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19293 if (!SWIG_IsOK(res2)) {
19294 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19295 }
19296 if (!argp2) {
19297 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19298 }
19299 arg2 = reinterpret_cast< wxFont * >(argp2);
19300 }
19301 if (obj2) {
19302 {
19303 arg3 = wxString_in_helper(obj2);
19304 if (arg3 == NULL) SWIG_fail;
19305 temp3 = true;
19306 }
19307 }
19308 {
19309 PyThreadState* __tstate = wxPyBeginAllowThreads();
19310 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19315 {
19316 if (temp3)
19317 delete arg3;
19318 }
19319 return resultobj;
19320 fail:
19321 {
19322 if (temp3)
19323 delete arg3;
19324 }
19325 return NULL;
19326 }
19327
19328
19329 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19330 PyObject *resultobj = 0;
19331 wxWindow *arg1 = (wxWindow *) 0 ;
19332 wxString *arg2 = 0 ;
19333 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19334 wxString *arg3 = (wxString *) &arg3_defvalue ;
19335 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19336 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19337 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19338 wxMessageDialog *result = 0 ;
19339 void *argp1 = 0 ;
19340 int res1 = 0 ;
19341 bool temp2 = false ;
19342 bool temp3 = false ;
19343 long val4 ;
19344 int ecode4 = 0 ;
19345 wxPoint temp5 ;
19346 PyObject * obj0 = 0 ;
19347 PyObject * obj1 = 0 ;
19348 PyObject * obj2 = 0 ;
19349 PyObject * obj3 = 0 ;
19350 PyObject * obj4 = 0 ;
19351 char * kwnames[] = {
19352 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19353 };
19354
19355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19357 if (!SWIG_IsOK(res1)) {
19358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19359 }
19360 arg1 = reinterpret_cast< wxWindow * >(argp1);
19361 {
19362 arg2 = wxString_in_helper(obj1);
19363 if (arg2 == NULL) SWIG_fail;
19364 temp2 = true;
19365 }
19366 if (obj2) {
19367 {
19368 arg3 = wxString_in_helper(obj2);
19369 if (arg3 == NULL) SWIG_fail;
19370 temp3 = true;
19371 }
19372 }
19373 if (obj3) {
19374 ecode4 = SWIG_AsVal_long(obj3, &val4);
19375 if (!SWIG_IsOK(ecode4)) {
19376 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19377 }
19378 arg4 = static_cast< long >(val4);
19379 }
19380 if (obj4) {
19381 {
19382 arg5 = &temp5;
19383 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19384 }
19385 }
19386 {
19387 if (!wxPyCheckForApp()) SWIG_fail;
19388 PyThreadState* __tstate = wxPyBeginAllowThreads();
19389 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19390 wxPyEndAllowThreads(__tstate);
19391 if (PyErr_Occurred()) SWIG_fail;
19392 }
19393 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19394 {
19395 if (temp2)
19396 delete arg2;
19397 }
19398 {
19399 if (temp3)
19400 delete arg3;
19401 }
19402 return resultobj;
19403 fail:
19404 {
19405 if (temp2)
19406 delete arg2;
19407 }
19408 {
19409 if (temp3)
19410 delete arg3;
19411 }
19412 return NULL;
19413 }
19414
19415
19416 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19417 PyObject *obj;
19418 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19419 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19420 return SWIG_Py_Void();
19421 }
19422
19423 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19424 return SWIG_Python_InitShadowInstance(args);
19425 }
19426
19427 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19428 PyObject *resultobj = 0;
19429 wxString *arg1 = 0 ;
19430 wxString *arg2 = 0 ;
19431 int arg3 = (int) 100 ;
19432 wxWindow *arg4 = (wxWindow *) NULL ;
19433 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19434 wxProgressDialog *result = 0 ;
19435 bool temp1 = false ;
19436 bool temp2 = false ;
19437 int val3 ;
19438 int ecode3 = 0 ;
19439 void *argp4 = 0 ;
19440 int res4 = 0 ;
19441 int val5 ;
19442 int ecode5 = 0 ;
19443 PyObject * obj0 = 0 ;
19444 PyObject * obj1 = 0 ;
19445 PyObject * obj2 = 0 ;
19446 PyObject * obj3 = 0 ;
19447 PyObject * obj4 = 0 ;
19448 char * kwnames[] = {
19449 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19450 };
19451
19452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19453 {
19454 arg1 = wxString_in_helper(obj0);
19455 if (arg1 == NULL) SWIG_fail;
19456 temp1 = true;
19457 }
19458 {
19459 arg2 = wxString_in_helper(obj1);
19460 if (arg2 == NULL) SWIG_fail;
19461 temp2 = true;
19462 }
19463 if (obj2) {
19464 ecode3 = SWIG_AsVal_int(obj2, &val3);
19465 if (!SWIG_IsOK(ecode3)) {
19466 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19467 }
19468 arg3 = static_cast< int >(val3);
19469 }
19470 if (obj3) {
19471 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19472 if (!SWIG_IsOK(res4)) {
19473 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19474 }
19475 arg4 = reinterpret_cast< wxWindow * >(argp4);
19476 }
19477 if (obj4) {
19478 ecode5 = SWIG_AsVal_int(obj4, &val5);
19479 if (!SWIG_IsOK(ecode5)) {
19480 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19481 }
19482 arg5 = static_cast< int >(val5);
19483 }
19484 {
19485 if (!wxPyCheckForApp()) SWIG_fail;
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19488 wxPyEndAllowThreads(__tstate);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 }
19491 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19492 {
19493 if (temp1)
19494 delete arg1;
19495 }
19496 {
19497 if (temp2)
19498 delete arg2;
19499 }
19500 return resultobj;
19501 fail:
19502 {
19503 if (temp1)
19504 delete arg1;
19505 }
19506 {
19507 if (temp2)
19508 delete arg2;
19509 }
19510 return NULL;
19511 }
19512
19513
19514 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19515 PyObject *resultobj = 0;
19516 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19517 int arg2 ;
19518 wxString const &arg3_defvalue = wxPyEmptyString ;
19519 wxString *arg3 = (wxString *) &arg3_defvalue ;
19520 bool *arg4 = (bool *) 0 ;
19521 bool result;
19522 void *argp1 = 0 ;
19523 int res1 = 0 ;
19524 int val2 ;
19525 int ecode2 = 0 ;
19526 bool temp3 = false ;
19527 bool temp4 ;
19528 int res4 = SWIG_TMPOBJ ;
19529 PyObject * obj0 = 0 ;
19530 PyObject * obj1 = 0 ;
19531 PyObject * obj2 = 0 ;
19532 char * kwnames[] = {
19533 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19534 };
19535
19536 arg4 = &temp4;
19537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19539 if (!SWIG_IsOK(res1)) {
19540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19541 }
19542 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19543 ecode2 = SWIG_AsVal_int(obj1, &val2);
19544 if (!SWIG_IsOK(ecode2)) {
19545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19546 }
19547 arg2 = static_cast< int >(val2);
19548 if (obj2) {
19549 {
19550 arg3 = wxString_in_helper(obj2);
19551 if (arg3 == NULL) SWIG_fail;
19552 temp3 = true;
19553 }
19554 }
19555 {
19556 PyThreadState* __tstate = wxPyBeginAllowThreads();
19557 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 {
19562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19563 }
19564 if (SWIG_IsTmpObj(res4)) {
19565 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19566 } else {
19567 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19568 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19569 }
19570 {
19571 if (temp3)
19572 delete arg3;
19573 }
19574 return resultobj;
19575 fail:
19576 {
19577 if (temp3)
19578 delete arg3;
19579 }
19580 return NULL;
19581 }
19582
19583
19584 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19585 PyObject *resultobj = 0;
19586 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19587 void *argp1 = 0 ;
19588 int res1 = 0 ;
19589 PyObject *swig_obj[1] ;
19590
19591 if (!args) SWIG_fail;
19592 swig_obj[0] = args;
19593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19594 if (!SWIG_IsOK(res1)) {
19595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19596 }
19597 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 (arg1)->Resume();
19601 wxPyEndAllowThreads(__tstate);
19602 if (PyErr_Occurred()) SWIG_fail;
19603 }
19604 resultobj = SWIG_Py_Void();
19605 return resultobj;
19606 fail:
19607 return NULL;
19608 }
19609
19610
19611 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19612 PyObject *obj;
19613 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19614 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19615 return SWIG_Py_Void();
19616 }
19617
19618 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19619 return SWIG_Python_InitShadowInstance(args);
19620 }
19621
19622 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19623 PyObject *resultobj = 0;
19624 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19625 int arg2 = (int) 0 ;
19626 wxFindDialogEvent *result = 0 ;
19627 int val1 ;
19628 int ecode1 = 0 ;
19629 int val2 ;
19630 int ecode2 = 0 ;
19631 PyObject * obj0 = 0 ;
19632 PyObject * obj1 = 0 ;
19633 char * kwnames[] = {
19634 (char *) "commandType",(char *) "id", NULL
19635 };
19636
19637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19638 if (obj0) {
19639 ecode1 = SWIG_AsVal_int(obj0, &val1);
19640 if (!SWIG_IsOK(ecode1)) {
19641 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19642 }
19643 arg1 = static_cast< wxEventType >(val1);
19644 }
19645 if (obj1) {
19646 ecode2 = SWIG_AsVal_int(obj1, &val2);
19647 if (!SWIG_IsOK(ecode2)) {
19648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19649 }
19650 arg2 = static_cast< int >(val2);
19651 }
19652 {
19653 PyThreadState* __tstate = wxPyBeginAllowThreads();
19654 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19659 return resultobj;
19660 fail:
19661 return NULL;
19662 }
19663
19664
19665 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19666 PyObject *resultobj = 0;
19667 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19668 int result;
19669 void *argp1 = 0 ;
19670 int res1 = 0 ;
19671 PyObject *swig_obj[1] ;
19672
19673 if (!args) SWIG_fail;
19674 swig_obj[0] = args;
19675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19676 if (!SWIG_IsOK(res1)) {
19677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19678 }
19679 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19680 {
19681 PyThreadState* __tstate = wxPyBeginAllowThreads();
19682 result = (int)(arg1)->GetFlags();
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 resultobj = SWIG_From_int(static_cast< int >(result));
19687 return resultobj;
19688 fail:
19689 return NULL;
19690 }
19691
19692
19693 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19694 PyObject *resultobj = 0;
19695 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19696 wxString *result = 0 ;
19697 void *argp1 = 0 ;
19698 int res1 = 0 ;
19699 PyObject *swig_obj[1] ;
19700
19701 if (!args) SWIG_fail;
19702 swig_obj[0] = args;
19703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19704 if (!SWIG_IsOK(res1)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19706 }
19707 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19708 {
19709 PyThreadState* __tstate = wxPyBeginAllowThreads();
19710 {
19711 wxString const &_result_ref = (arg1)->GetFindString();
19712 result = (wxString *) &_result_ref;
19713 }
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 {
19718 #if wxUSE_UNICODE
19719 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19720 #else
19721 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19722 #endif
19723 }
19724 return resultobj;
19725 fail:
19726 return NULL;
19727 }
19728
19729
19730 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19731 PyObject *resultobj = 0;
19732 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19733 wxString *result = 0 ;
19734 void *argp1 = 0 ;
19735 int res1 = 0 ;
19736 PyObject *swig_obj[1] ;
19737
19738 if (!args) SWIG_fail;
19739 swig_obj[0] = args;
19740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19741 if (!SWIG_IsOK(res1)) {
19742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19743 }
19744 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19745 {
19746 PyThreadState* __tstate = wxPyBeginAllowThreads();
19747 {
19748 wxString const &_result_ref = (arg1)->GetReplaceString();
19749 result = (wxString *) &_result_ref;
19750 }
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 {
19755 #if wxUSE_UNICODE
19756 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19757 #else
19758 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19759 #endif
19760 }
19761 return resultobj;
19762 fail:
19763 return NULL;
19764 }
19765
19766
19767 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19768 PyObject *resultobj = 0;
19769 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19770 wxFindReplaceDialog *result = 0 ;
19771 void *argp1 = 0 ;
19772 int res1 = 0 ;
19773 PyObject *swig_obj[1] ;
19774
19775 if (!args) SWIG_fail;
19776 swig_obj[0] = args;
19777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19778 if (!SWIG_IsOK(res1)) {
19779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19780 }
19781 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19782 {
19783 PyThreadState* __tstate = wxPyBeginAllowThreads();
19784 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19785 wxPyEndAllowThreads(__tstate);
19786 if (PyErr_Occurred()) SWIG_fail;
19787 }
19788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19789 return resultobj;
19790 fail:
19791 return NULL;
19792 }
19793
19794
19795 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19796 PyObject *resultobj = 0;
19797 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19798 int arg2 ;
19799 void *argp1 = 0 ;
19800 int res1 = 0 ;
19801 int val2 ;
19802 int ecode2 = 0 ;
19803 PyObject * obj0 = 0 ;
19804 PyObject * obj1 = 0 ;
19805 char * kwnames[] = {
19806 (char *) "self",(char *) "flags", NULL
19807 };
19808
19809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19811 if (!SWIG_IsOK(res1)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19813 }
19814 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19815 ecode2 = SWIG_AsVal_int(obj1, &val2);
19816 if (!SWIG_IsOK(ecode2)) {
19817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19818 }
19819 arg2 = static_cast< int >(val2);
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 (arg1)->SetFlags(arg2);
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 resultobj = SWIG_Py_Void();
19827 return resultobj;
19828 fail:
19829 return NULL;
19830 }
19831
19832
19833 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj = 0;
19835 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19836 wxString *arg2 = 0 ;
19837 void *argp1 = 0 ;
19838 int res1 = 0 ;
19839 bool temp2 = false ;
19840 PyObject * obj0 = 0 ;
19841 PyObject * obj1 = 0 ;
19842 char * kwnames[] = {
19843 (char *) "self",(char *) "str", NULL
19844 };
19845
19846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19848 if (!SWIG_IsOK(res1)) {
19849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19850 }
19851 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19852 {
19853 arg2 = wxString_in_helper(obj1);
19854 if (arg2 == NULL) SWIG_fail;
19855 temp2 = true;
19856 }
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 (arg1)->SetFindString((wxString const &)*arg2);
19860 wxPyEndAllowThreads(__tstate);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 resultobj = SWIG_Py_Void();
19864 {
19865 if (temp2)
19866 delete arg2;
19867 }
19868 return resultobj;
19869 fail:
19870 {
19871 if (temp2)
19872 delete arg2;
19873 }
19874 return NULL;
19875 }
19876
19877
19878 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19879 PyObject *resultobj = 0;
19880 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19881 wxString *arg2 = 0 ;
19882 void *argp1 = 0 ;
19883 int res1 = 0 ;
19884 bool temp2 = false ;
19885 PyObject * obj0 = 0 ;
19886 PyObject * obj1 = 0 ;
19887 char * kwnames[] = {
19888 (char *) "self",(char *) "str", NULL
19889 };
19890
19891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19893 if (!SWIG_IsOK(res1)) {
19894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19895 }
19896 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19897 {
19898 arg2 = wxString_in_helper(obj1);
19899 if (arg2 == NULL) SWIG_fail;
19900 temp2 = true;
19901 }
19902 {
19903 PyThreadState* __tstate = wxPyBeginAllowThreads();
19904 (arg1)->SetReplaceString((wxString const &)*arg2);
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 resultobj = SWIG_Py_Void();
19909 {
19910 if (temp2)
19911 delete arg2;
19912 }
19913 return resultobj;
19914 fail:
19915 {
19916 if (temp2)
19917 delete arg2;
19918 }
19919 return NULL;
19920 }
19921
19922
19923 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19924 PyObject *obj;
19925 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19926 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19927 return SWIG_Py_Void();
19928 }
19929
19930 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19931 return SWIG_Python_InitShadowInstance(args);
19932 }
19933
19934 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19935 PyObject *resultobj = 0;
19936 int arg1 = (int) 0 ;
19937 wxFindReplaceData *result = 0 ;
19938 int val1 ;
19939 int ecode1 = 0 ;
19940 PyObject * obj0 = 0 ;
19941 char * kwnames[] = {
19942 (char *) "flags", NULL
19943 };
19944
19945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19946 if (obj0) {
19947 ecode1 = SWIG_AsVal_int(obj0, &val1);
19948 if (!SWIG_IsOK(ecode1)) {
19949 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19950 }
19951 arg1 = static_cast< int >(val1);
19952 }
19953 {
19954 PyThreadState* __tstate = wxPyBeginAllowThreads();
19955 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19956 wxPyEndAllowThreads(__tstate);
19957 if (PyErr_Occurred()) SWIG_fail;
19958 }
19959 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19960 return resultobj;
19961 fail:
19962 return NULL;
19963 }
19964
19965
19966 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19967 PyObject *resultobj = 0;
19968 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19969 void *argp1 = 0 ;
19970 int res1 = 0 ;
19971 PyObject *swig_obj[1] ;
19972
19973 if (!args) SWIG_fail;
19974 swig_obj[0] = args;
19975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19976 if (!SWIG_IsOK(res1)) {
19977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19978 }
19979 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19980 {
19981 PyThreadState* __tstate = wxPyBeginAllowThreads();
19982 delete arg1;
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
19987 resultobj = SWIG_Py_Void();
19988 return resultobj;
19989 fail:
19990 return NULL;
19991 }
19992
19993
19994 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19995 PyObject *resultobj = 0;
19996 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19997 wxString *result = 0 ;
19998 void *argp1 = 0 ;
19999 int res1 = 0 ;
20000 PyObject *swig_obj[1] ;
20001
20002 if (!args) SWIG_fail;
20003 swig_obj[0] = args;
20004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20005 if (!SWIG_IsOK(res1)) {
20006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20007 }
20008 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20009 {
20010 PyThreadState* __tstate = wxPyBeginAllowThreads();
20011 {
20012 wxString const &_result_ref = (arg1)->GetFindString();
20013 result = (wxString *) &_result_ref;
20014 }
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
20018 {
20019 #if wxUSE_UNICODE
20020 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20021 #else
20022 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20023 #endif
20024 }
20025 return resultobj;
20026 fail:
20027 return NULL;
20028 }
20029
20030
20031 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20032 PyObject *resultobj = 0;
20033 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20034 wxString *result = 0 ;
20035 void *argp1 = 0 ;
20036 int res1 = 0 ;
20037 PyObject *swig_obj[1] ;
20038
20039 if (!args) SWIG_fail;
20040 swig_obj[0] = args;
20041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20042 if (!SWIG_IsOK(res1)) {
20043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20044 }
20045 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 {
20049 wxString const &_result_ref = (arg1)->GetReplaceString();
20050 result = (wxString *) &_result_ref;
20051 }
20052 wxPyEndAllowThreads(__tstate);
20053 if (PyErr_Occurred()) SWIG_fail;
20054 }
20055 {
20056 #if wxUSE_UNICODE
20057 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20058 #else
20059 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20060 #endif
20061 }
20062 return resultobj;
20063 fail:
20064 return NULL;
20065 }
20066
20067
20068 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20069 PyObject *resultobj = 0;
20070 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20071 int result;
20072 void *argp1 = 0 ;
20073 int res1 = 0 ;
20074 PyObject *swig_obj[1] ;
20075
20076 if (!args) SWIG_fail;
20077 swig_obj[0] = args;
20078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20079 if (!SWIG_IsOK(res1)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20081 }
20082 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20083 {
20084 PyThreadState* __tstate = wxPyBeginAllowThreads();
20085 result = (int)(arg1)->GetFlags();
20086 wxPyEndAllowThreads(__tstate);
20087 if (PyErr_Occurred()) SWIG_fail;
20088 }
20089 resultobj = SWIG_From_int(static_cast< int >(result));
20090 return resultobj;
20091 fail:
20092 return NULL;
20093 }
20094
20095
20096 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20097 PyObject *resultobj = 0;
20098 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20099 int arg2 ;
20100 void *argp1 = 0 ;
20101 int res1 = 0 ;
20102 int val2 ;
20103 int ecode2 = 0 ;
20104 PyObject * obj0 = 0 ;
20105 PyObject * obj1 = 0 ;
20106 char * kwnames[] = {
20107 (char *) "self",(char *) "flags", NULL
20108 };
20109
20110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20112 if (!SWIG_IsOK(res1)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20114 }
20115 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20116 ecode2 = SWIG_AsVal_int(obj1, &val2);
20117 if (!SWIG_IsOK(ecode2)) {
20118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20119 }
20120 arg2 = static_cast< int >(val2);
20121 {
20122 PyThreadState* __tstate = wxPyBeginAllowThreads();
20123 (arg1)->SetFlags(arg2);
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 resultobj = SWIG_Py_Void();
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj = 0;
20136 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20137 wxString *arg2 = 0 ;
20138 void *argp1 = 0 ;
20139 int res1 = 0 ;
20140 bool temp2 = false ;
20141 PyObject * obj0 = 0 ;
20142 PyObject * obj1 = 0 ;
20143 char * kwnames[] = {
20144 (char *) "self",(char *) "str", NULL
20145 };
20146
20147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20149 if (!SWIG_IsOK(res1)) {
20150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20151 }
20152 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20153 {
20154 arg2 = wxString_in_helper(obj1);
20155 if (arg2 == NULL) SWIG_fail;
20156 temp2 = true;
20157 }
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 (arg1)->SetFindString((wxString const &)*arg2);
20161 wxPyEndAllowThreads(__tstate);
20162 if (PyErr_Occurred()) SWIG_fail;
20163 }
20164 resultobj = SWIG_Py_Void();
20165 {
20166 if (temp2)
20167 delete arg2;
20168 }
20169 return resultobj;
20170 fail:
20171 {
20172 if (temp2)
20173 delete arg2;
20174 }
20175 return NULL;
20176 }
20177
20178
20179 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj = 0;
20181 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20182 wxString *arg2 = 0 ;
20183 void *argp1 = 0 ;
20184 int res1 = 0 ;
20185 bool temp2 = false ;
20186 PyObject * obj0 = 0 ;
20187 PyObject * obj1 = 0 ;
20188 char * kwnames[] = {
20189 (char *) "self",(char *) "str", NULL
20190 };
20191
20192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20194 if (!SWIG_IsOK(res1)) {
20195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20196 }
20197 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20198 {
20199 arg2 = wxString_in_helper(obj1);
20200 if (arg2 == NULL) SWIG_fail;
20201 temp2 = true;
20202 }
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 (arg1)->SetReplaceString((wxString const &)*arg2);
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 resultobj = SWIG_Py_Void();
20210 {
20211 if (temp2)
20212 delete arg2;
20213 }
20214 return resultobj;
20215 fail:
20216 {
20217 if (temp2)
20218 delete arg2;
20219 }
20220 return NULL;
20221 }
20222
20223
20224 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20225 PyObject *obj;
20226 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20227 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20228 return SWIG_Py_Void();
20229 }
20230
20231 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20232 return SWIG_Python_InitShadowInstance(args);
20233 }
20234
20235 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20236 PyObject *resultobj = 0;
20237 wxWindow *arg1 = (wxWindow *) 0 ;
20238 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20239 wxString *arg3 = 0 ;
20240 int arg4 = (int) 0 ;
20241 wxFindReplaceDialog *result = 0 ;
20242 void *argp1 = 0 ;
20243 int res1 = 0 ;
20244 void *argp2 = 0 ;
20245 int res2 = 0 ;
20246 bool temp3 = false ;
20247 int val4 ;
20248 int ecode4 = 0 ;
20249 PyObject * obj0 = 0 ;
20250 PyObject * obj1 = 0 ;
20251 PyObject * obj2 = 0 ;
20252 PyObject * obj3 = 0 ;
20253 char * kwnames[] = {
20254 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20255 };
20256
20257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20259 if (!SWIG_IsOK(res1)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20261 }
20262 arg1 = reinterpret_cast< wxWindow * >(argp1);
20263 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20264 if (!SWIG_IsOK(res2)) {
20265 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20266 }
20267 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20268 {
20269 arg3 = wxString_in_helper(obj2);
20270 if (arg3 == NULL) SWIG_fail;
20271 temp3 = true;
20272 }
20273 if (obj3) {
20274 ecode4 = SWIG_AsVal_int(obj3, &val4);
20275 if (!SWIG_IsOK(ecode4)) {
20276 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20277 }
20278 arg4 = static_cast< int >(val4);
20279 }
20280 {
20281 if (!wxPyCheckForApp()) SWIG_fail;
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20288 {
20289 if (temp3)
20290 delete arg3;
20291 }
20292 return resultobj;
20293 fail:
20294 {
20295 if (temp3)
20296 delete arg3;
20297 }
20298 return NULL;
20299 }
20300
20301
20302 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20303 PyObject *resultobj = 0;
20304 wxFindReplaceDialog *result = 0 ;
20305
20306 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20307 {
20308 if (!wxPyCheckForApp()) SWIG_fail;
20309 PyThreadState* __tstate = wxPyBeginAllowThreads();
20310 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20315 return resultobj;
20316 fail:
20317 return NULL;
20318 }
20319
20320
20321 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20322 PyObject *resultobj = 0;
20323 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20324 wxWindow *arg2 = (wxWindow *) 0 ;
20325 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20326 wxString *arg4 = 0 ;
20327 int arg5 = (int) 0 ;
20328 bool result;
20329 void *argp1 = 0 ;
20330 int res1 = 0 ;
20331 void *argp2 = 0 ;
20332 int res2 = 0 ;
20333 void *argp3 = 0 ;
20334 int res3 = 0 ;
20335 bool temp4 = false ;
20336 int val5 ;
20337 int ecode5 = 0 ;
20338 PyObject * obj0 = 0 ;
20339 PyObject * obj1 = 0 ;
20340 PyObject * obj2 = 0 ;
20341 PyObject * obj3 = 0 ;
20342 PyObject * obj4 = 0 ;
20343 char * kwnames[] = {
20344 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20345 };
20346
20347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20349 if (!SWIG_IsOK(res1)) {
20350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20351 }
20352 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20353 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20354 if (!SWIG_IsOK(res2)) {
20355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20356 }
20357 arg2 = reinterpret_cast< wxWindow * >(argp2);
20358 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20359 if (!SWIG_IsOK(res3)) {
20360 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20361 }
20362 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20363 {
20364 arg4 = wxString_in_helper(obj3);
20365 if (arg4 == NULL) SWIG_fail;
20366 temp4 = true;
20367 }
20368 if (obj4) {
20369 ecode5 = SWIG_AsVal_int(obj4, &val5);
20370 if (!SWIG_IsOK(ecode5)) {
20371 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20372 }
20373 arg5 = static_cast< int >(val5);
20374 }
20375 {
20376 PyThreadState* __tstate = wxPyBeginAllowThreads();
20377 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 {
20382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20383 }
20384 {
20385 if (temp4)
20386 delete arg4;
20387 }
20388 return resultobj;
20389 fail:
20390 {
20391 if (temp4)
20392 delete arg4;
20393 }
20394 return NULL;
20395 }
20396
20397
20398 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20399 PyObject *resultobj = 0;
20400 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20401 wxFindReplaceData *result = 0 ;
20402 void *argp1 = 0 ;
20403 int res1 = 0 ;
20404 PyObject *swig_obj[1] ;
20405
20406 if (!args) SWIG_fail;
20407 swig_obj[0] = args;
20408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20409 if (!SWIG_IsOK(res1)) {
20410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20411 }
20412 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20413 {
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
20415 result = (wxFindReplaceData *)(arg1)->GetData();
20416 wxPyEndAllowThreads(__tstate);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 }
20419 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20420 return resultobj;
20421 fail:
20422 return NULL;
20423 }
20424
20425
20426 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20427 PyObject *resultobj = 0;
20428 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20429 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20430 void *argp1 = 0 ;
20431 int res1 = 0 ;
20432 void *argp2 = 0 ;
20433 int res2 = 0 ;
20434 PyObject * obj0 = 0 ;
20435 PyObject * obj1 = 0 ;
20436 char * kwnames[] = {
20437 (char *) "self",(char *) "data", NULL
20438 };
20439
20440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20442 if (!SWIG_IsOK(res1)) {
20443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20444 }
20445 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20446 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20447 if (!SWIG_IsOK(res2)) {
20448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20449 }
20450 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 (arg1)->SetData(arg2);
20454 wxPyEndAllowThreads(__tstate);
20455 if (PyErr_Occurred()) SWIG_fail;
20456 }
20457 resultobj = SWIG_Py_Void();
20458 return resultobj;
20459 fail:
20460 return NULL;
20461 }
20462
20463
20464 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20465 PyObject *obj;
20466 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20467 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20468 return SWIG_Py_Void();
20469 }
20470
20471 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20472 return SWIG_Python_InitShadowInstance(args);
20473 }
20474
20475 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20476 PyObject *resultobj = 0;
20477 wxWindow *arg1 = (wxWindow *) 0 ;
20478 int arg2 = (int) (int)-1 ;
20479 wxString const &arg3_defvalue = wxPyEmptyString ;
20480 wxString *arg3 = (wxString *) &arg3_defvalue ;
20481 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20482 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20483 wxSize const &arg5_defvalue = wxDefaultSize ;
20484 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20485 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20486 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20487 wxString *arg7 = (wxString *) &arg7_defvalue ;
20488 wxMDIParentFrame *result = 0 ;
20489 void *argp1 = 0 ;
20490 int res1 = 0 ;
20491 int val2 ;
20492 int ecode2 = 0 ;
20493 bool temp3 = false ;
20494 wxPoint temp4 ;
20495 wxSize temp5 ;
20496 long val6 ;
20497 int ecode6 = 0 ;
20498 bool temp7 = false ;
20499 PyObject * obj0 = 0 ;
20500 PyObject * obj1 = 0 ;
20501 PyObject * obj2 = 0 ;
20502 PyObject * obj3 = 0 ;
20503 PyObject * obj4 = 0 ;
20504 PyObject * obj5 = 0 ;
20505 PyObject * obj6 = 0 ;
20506 char * kwnames[] = {
20507 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20508 };
20509
20510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20512 if (!SWIG_IsOK(res1)) {
20513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20514 }
20515 arg1 = reinterpret_cast< wxWindow * >(argp1);
20516 if (obj1) {
20517 ecode2 = SWIG_AsVal_int(obj1, &val2);
20518 if (!SWIG_IsOK(ecode2)) {
20519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20520 }
20521 arg2 = static_cast< int >(val2);
20522 }
20523 if (obj2) {
20524 {
20525 arg3 = wxString_in_helper(obj2);
20526 if (arg3 == NULL) SWIG_fail;
20527 temp3 = true;
20528 }
20529 }
20530 if (obj3) {
20531 {
20532 arg4 = &temp4;
20533 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20534 }
20535 }
20536 if (obj4) {
20537 {
20538 arg5 = &temp5;
20539 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20540 }
20541 }
20542 if (obj5) {
20543 ecode6 = SWIG_AsVal_long(obj5, &val6);
20544 if (!SWIG_IsOK(ecode6)) {
20545 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20546 }
20547 arg6 = static_cast< long >(val6);
20548 }
20549 if (obj6) {
20550 {
20551 arg7 = wxString_in_helper(obj6);
20552 if (arg7 == NULL) SWIG_fail;
20553 temp7 = true;
20554 }
20555 }
20556 {
20557 if (!wxPyCheckForApp()) SWIG_fail;
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20560 wxPyEndAllowThreads(__tstate);
20561 if (PyErr_Occurred()) SWIG_fail;
20562 }
20563 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20564 {
20565 if (temp3)
20566 delete arg3;
20567 }
20568 {
20569 if (temp7)
20570 delete arg7;
20571 }
20572 return resultobj;
20573 fail:
20574 {
20575 if (temp3)
20576 delete arg3;
20577 }
20578 {
20579 if (temp7)
20580 delete arg7;
20581 }
20582 return NULL;
20583 }
20584
20585
20586 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20587 PyObject *resultobj = 0;
20588 wxMDIParentFrame *result = 0 ;
20589
20590 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20591 {
20592 if (!wxPyCheckForApp()) SWIG_fail;
20593 PyThreadState* __tstate = wxPyBeginAllowThreads();
20594 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20599 return resultobj;
20600 fail:
20601 return NULL;
20602 }
20603
20604
20605 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20606 PyObject *resultobj = 0;
20607 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20608 wxWindow *arg2 = (wxWindow *) 0 ;
20609 int arg3 = (int) (int)-1 ;
20610 wxString const &arg4_defvalue = wxPyEmptyString ;
20611 wxString *arg4 = (wxString *) &arg4_defvalue ;
20612 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20613 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20614 wxSize const &arg6_defvalue = wxDefaultSize ;
20615 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20616 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20617 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20618 wxString *arg8 = (wxString *) &arg8_defvalue ;
20619 bool result;
20620 void *argp1 = 0 ;
20621 int res1 = 0 ;
20622 void *argp2 = 0 ;
20623 int res2 = 0 ;
20624 int val3 ;
20625 int ecode3 = 0 ;
20626 bool temp4 = false ;
20627 wxPoint temp5 ;
20628 wxSize temp6 ;
20629 long val7 ;
20630 int ecode7 = 0 ;
20631 bool temp8 = false ;
20632 PyObject * obj0 = 0 ;
20633 PyObject * obj1 = 0 ;
20634 PyObject * obj2 = 0 ;
20635 PyObject * obj3 = 0 ;
20636 PyObject * obj4 = 0 ;
20637 PyObject * obj5 = 0 ;
20638 PyObject * obj6 = 0 ;
20639 PyObject * obj7 = 0 ;
20640 char * kwnames[] = {
20641 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20642 };
20643
20644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20646 if (!SWIG_IsOK(res1)) {
20647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20648 }
20649 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20650 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20651 if (!SWIG_IsOK(res2)) {
20652 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20653 }
20654 arg2 = reinterpret_cast< wxWindow * >(argp2);
20655 if (obj2) {
20656 ecode3 = SWIG_AsVal_int(obj2, &val3);
20657 if (!SWIG_IsOK(ecode3)) {
20658 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20659 }
20660 arg3 = static_cast< int >(val3);
20661 }
20662 if (obj3) {
20663 {
20664 arg4 = wxString_in_helper(obj3);
20665 if (arg4 == NULL) SWIG_fail;
20666 temp4 = true;
20667 }
20668 }
20669 if (obj4) {
20670 {
20671 arg5 = &temp5;
20672 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20673 }
20674 }
20675 if (obj5) {
20676 {
20677 arg6 = &temp6;
20678 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20679 }
20680 }
20681 if (obj6) {
20682 ecode7 = SWIG_AsVal_long(obj6, &val7);
20683 if (!SWIG_IsOK(ecode7)) {
20684 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20685 }
20686 arg7 = static_cast< long >(val7);
20687 }
20688 if (obj7) {
20689 {
20690 arg8 = wxString_in_helper(obj7);
20691 if (arg8 == NULL) SWIG_fail;
20692 temp8 = true;
20693 }
20694 }
20695 {
20696 PyThreadState* __tstate = wxPyBeginAllowThreads();
20697 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20698 wxPyEndAllowThreads(__tstate);
20699 if (PyErr_Occurred()) SWIG_fail;
20700 }
20701 {
20702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20703 }
20704 {
20705 if (temp4)
20706 delete arg4;
20707 }
20708 {
20709 if (temp8)
20710 delete arg8;
20711 }
20712 return resultobj;
20713 fail:
20714 {
20715 if (temp4)
20716 delete arg4;
20717 }
20718 {
20719 if (temp8)
20720 delete arg8;
20721 }
20722 return NULL;
20723 }
20724
20725
20726 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20727 PyObject *resultobj = 0;
20728 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20729 void *argp1 = 0 ;
20730 int res1 = 0 ;
20731 PyObject *swig_obj[1] ;
20732
20733 if (!args) SWIG_fail;
20734 swig_obj[0] = args;
20735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20736 if (!SWIG_IsOK(res1)) {
20737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20738 }
20739 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 (arg1)->ActivateNext();
20743 wxPyEndAllowThreads(__tstate);
20744 if (PyErr_Occurred()) SWIG_fail;
20745 }
20746 resultobj = SWIG_Py_Void();
20747 return resultobj;
20748 fail:
20749 return NULL;
20750 }
20751
20752
20753 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20754 PyObject *resultobj = 0;
20755 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20756 void *argp1 = 0 ;
20757 int res1 = 0 ;
20758 PyObject *swig_obj[1] ;
20759
20760 if (!args) SWIG_fail;
20761 swig_obj[0] = args;
20762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20763 if (!SWIG_IsOK(res1)) {
20764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20765 }
20766 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20767 {
20768 PyThreadState* __tstate = wxPyBeginAllowThreads();
20769 (arg1)->ActivatePrevious();
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 resultobj = SWIG_Py_Void();
20774 return resultobj;
20775 fail:
20776 return NULL;
20777 }
20778
20779
20780 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20781 PyObject *resultobj = 0;
20782 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20783 void *argp1 = 0 ;
20784 int res1 = 0 ;
20785 PyObject *swig_obj[1] ;
20786
20787 if (!args) SWIG_fail;
20788 swig_obj[0] = args;
20789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20790 if (!SWIG_IsOK(res1)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20792 }
20793 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20794 {
20795 PyThreadState* __tstate = wxPyBeginAllowThreads();
20796 (arg1)->ArrangeIcons();
20797 wxPyEndAllowThreads(__tstate);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 }
20800 resultobj = SWIG_Py_Void();
20801 return resultobj;
20802 fail:
20803 return NULL;
20804 }
20805
20806
20807 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20808 PyObject *resultobj = 0;
20809 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20810 void *argp1 = 0 ;
20811 int res1 = 0 ;
20812 PyObject *swig_obj[1] ;
20813
20814 if (!args) SWIG_fail;
20815 swig_obj[0] = args;
20816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20817 if (!SWIG_IsOK(res1)) {
20818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20819 }
20820 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20821 {
20822 PyThreadState* __tstate = wxPyBeginAllowThreads();
20823 (arg1)->Cascade();
20824 wxPyEndAllowThreads(__tstate);
20825 if (PyErr_Occurred()) SWIG_fail;
20826 }
20827 resultobj = SWIG_Py_Void();
20828 return resultobj;
20829 fail:
20830 return NULL;
20831 }
20832
20833
20834 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20835 PyObject *resultobj = 0;
20836 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20837 wxMDIChildFrame *result = 0 ;
20838 void *argp1 = 0 ;
20839 int res1 = 0 ;
20840 PyObject *swig_obj[1] ;
20841
20842 if (!args) SWIG_fail;
20843 swig_obj[0] = args;
20844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20845 if (!SWIG_IsOK(res1)) {
20846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20847 }
20848 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20849 {
20850 PyThreadState* __tstate = wxPyBeginAllowThreads();
20851 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20852 wxPyEndAllowThreads(__tstate);
20853 if (PyErr_Occurred()) SWIG_fail;
20854 }
20855 {
20856 resultobj = wxPyMake_wxObject(result, (bool)0);
20857 }
20858 return resultobj;
20859 fail:
20860 return NULL;
20861 }
20862
20863
20864 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20865 PyObject *resultobj = 0;
20866 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20867 wxMDIClientWindow *result = 0 ;
20868 void *argp1 = 0 ;
20869 int res1 = 0 ;
20870 PyObject *swig_obj[1] ;
20871
20872 if (!args) SWIG_fail;
20873 swig_obj[0] = args;
20874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20875 if (!SWIG_IsOK(res1)) {
20876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20877 }
20878 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20879 {
20880 PyThreadState* __tstate = wxPyBeginAllowThreads();
20881 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 {
20886 resultobj = wxPyMake_wxObject(result, (bool)0);
20887 }
20888 return resultobj;
20889 fail:
20890 return NULL;
20891 }
20892
20893
20894 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20895 PyObject *resultobj = 0;
20896 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20897 wxWindow *result = 0 ;
20898 void *argp1 = 0 ;
20899 int res1 = 0 ;
20900 PyObject *swig_obj[1] ;
20901
20902 if (!args) SWIG_fail;
20903 swig_obj[0] = args;
20904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20905 if (!SWIG_IsOK(res1)) {
20906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20907 }
20908 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20909 {
20910 PyThreadState* __tstate = wxPyBeginAllowThreads();
20911 result = (wxWindow *)(arg1)->GetToolBar();
20912 wxPyEndAllowThreads(__tstate);
20913 if (PyErr_Occurred()) SWIG_fail;
20914 }
20915 {
20916 resultobj = wxPyMake_wxObject(result, 0);
20917 }
20918 return resultobj;
20919 fail:
20920 return NULL;
20921 }
20922
20923
20924 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20925 PyObject *resultobj = 0;
20926 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20927 wxMenu *result = 0 ;
20928 void *argp1 = 0 ;
20929 int res1 = 0 ;
20930 PyObject *swig_obj[1] ;
20931
20932 if (!args) SWIG_fail;
20933 swig_obj[0] = args;
20934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20935 if (!SWIG_IsOK(res1)) {
20936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20937 }
20938 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 result = (wxMenu *)(arg1)->GetWindowMenu();
20942 wxPyEndAllowThreads(__tstate);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 }
20945 {
20946 resultobj = wxPyMake_wxObject(result, 0);
20947 }
20948 return resultobj;
20949 fail:
20950 return NULL;
20951 }
20952
20953
20954 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj = 0;
20956 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20957 wxMenu *arg2 = (wxMenu *) 0 ;
20958 void *argp1 = 0 ;
20959 int res1 = 0 ;
20960 void *argp2 = 0 ;
20961 int res2 = 0 ;
20962 PyObject * obj0 = 0 ;
20963 PyObject * obj1 = 0 ;
20964 char * kwnames[] = {
20965 (char *) "self",(char *) "menu", NULL
20966 };
20967
20968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
20969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20970 if (!SWIG_IsOK(res1)) {
20971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20972 }
20973 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20974 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
20975 if (!SWIG_IsOK(res2)) {
20976 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20977 }
20978 arg2 = reinterpret_cast< wxMenu * >(argp2);
20979 {
20980 PyThreadState* __tstate = wxPyBeginAllowThreads();
20981 (arg1)->SetWindowMenu(arg2);
20982 wxPyEndAllowThreads(__tstate);
20983 if (PyErr_Occurred()) SWIG_fail;
20984 }
20985 resultobj = SWIG_Py_Void();
20986 return resultobj;
20987 fail:
20988 return NULL;
20989 }
20990
20991
20992 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20993 PyObject *resultobj = 0;
20994 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20995 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20996 void *argp1 = 0 ;
20997 int res1 = 0 ;
20998 int val2 ;
20999 int ecode2 = 0 ;
21000 PyObject * obj0 = 0 ;
21001 PyObject * obj1 = 0 ;
21002 char * kwnames[] = {
21003 (char *) "self",(char *) "orient", NULL
21004 };
21005
21006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21008 if (!SWIG_IsOK(res1)) {
21009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21010 }
21011 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21012 if (obj1) {
21013 ecode2 = SWIG_AsVal_int(obj1, &val2);
21014 if (!SWIG_IsOK(ecode2)) {
21015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21016 }
21017 arg2 = static_cast< wxOrientation >(val2);
21018 }
21019 {
21020 PyThreadState* __tstate = wxPyBeginAllowThreads();
21021 (arg1)->Tile(arg2);
21022 wxPyEndAllowThreads(__tstate);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 resultobj = SWIG_Py_Void();
21026 return resultobj;
21027 fail:
21028 return NULL;
21029 }
21030
21031
21032 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21033 PyObject *obj;
21034 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21035 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21036 return SWIG_Py_Void();
21037 }
21038
21039 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21040 return SWIG_Python_InitShadowInstance(args);
21041 }
21042
21043 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21044 PyObject *resultobj = 0;
21045 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21046 int arg2 = (int) (int)-1 ;
21047 wxString const &arg3_defvalue = wxPyEmptyString ;
21048 wxString *arg3 = (wxString *) &arg3_defvalue ;
21049 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21050 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21051 wxSize const &arg5_defvalue = wxDefaultSize ;
21052 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21053 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21054 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21055 wxString *arg7 = (wxString *) &arg7_defvalue ;
21056 wxMDIChildFrame *result = 0 ;
21057 void *argp1 = 0 ;
21058 int res1 = 0 ;
21059 int val2 ;
21060 int ecode2 = 0 ;
21061 bool temp3 = false ;
21062 wxPoint temp4 ;
21063 wxSize temp5 ;
21064 long val6 ;
21065 int ecode6 = 0 ;
21066 bool temp7 = false ;
21067 PyObject * obj0 = 0 ;
21068 PyObject * obj1 = 0 ;
21069 PyObject * obj2 = 0 ;
21070 PyObject * obj3 = 0 ;
21071 PyObject * obj4 = 0 ;
21072 PyObject * obj5 = 0 ;
21073 PyObject * obj6 = 0 ;
21074 char * kwnames[] = {
21075 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21076 };
21077
21078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21080 if (!SWIG_IsOK(res1)) {
21081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21082 }
21083 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21084 if (obj1) {
21085 ecode2 = SWIG_AsVal_int(obj1, &val2);
21086 if (!SWIG_IsOK(ecode2)) {
21087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21088 }
21089 arg2 = static_cast< int >(val2);
21090 }
21091 if (obj2) {
21092 {
21093 arg3 = wxString_in_helper(obj2);
21094 if (arg3 == NULL) SWIG_fail;
21095 temp3 = true;
21096 }
21097 }
21098 if (obj3) {
21099 {
21100 arg4 = &temp4;
21101 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21102 }
21103 }
21104 if (obj4) {
21105 {
21106 arg5 = &temp5;
21107 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21108 }
21109 }
21110 if (obj5) {
21111 ecode6 = SWIG_AsVal_long(obj5, &val6);
21112 if (!SWIG_IsOK(ecode6)) {
21113 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21114 }
21115 arg6 = static_cast< long >(val6);
21116 }
21117 if (obj6) {
21118 {
21119 arg7 = wxString_in_helper(obj6);
21120 if (arg7 == NULL) SWIG_fail;
21121 temp7 = true;
21122 }
21123 }
21124 {
21125 if (!wxPyCheckForApp()) SWIG_fail;
21126 PyThreadState* __tstate = wxPyBeginAllowThreads();
21127 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21128 wxPyEndAllowThreads(__tstate);
21129 if (PyErr_Occurred()) SWIG_fail;
21130 }
21131 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21132 {
21133 if (temp3)
21134 delete arg3;
21135 }
21136 {
21137 if (temp7)
21138 delete arg7;
21139 }
21140 return resultobj;
21141 fail:
21142 {
21143 if (temp3)
21144 delete arg3;
21145 }
21146 {
21147 if (temp7)
21148 delete arg7;
21149 }
21150 return NULL;
21151 }
21152
21153
21154 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21155 PyObject *resultobj = 0;
21156 wxMDIChildFrame *result = 0 ;
21157
21158 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21159 {
21160 if (!wxPyCheckForApp()) SWIG_fail;
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
21166 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21167 return resultobj;
21168 fail:
21169 return NULL;
21170 }
21171
21172
21173 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21174 PyObject *resultobj = 0;
21175 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21176 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21177 int arg3 = (int) (int)-1 ;
21178 wxString const &arg4_defvalue = wxPyEmptyString ;
21179 wxString *arg4 = (wxString *) &arg4_defvalue ;
21180 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21181 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21182 wxSize const &arg6_defvalue = wxDefaultSize ;
21183 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21184 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21185 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21186 wxString *arg8 = (wxString *) &arg8_defvalue ;
21187 bool result;
21188 void *argp1 = 0 ;
21189 int res1 = 0 ;
21190 void *argp2 = 0 ;
21191 int res2 = 0 ;
21192 int val3 ;
21193 int ecode3 = 0 ;
21194 bool temp4 = false ;
21195 wxPoint temp5 ;
21196 wxSize temp6 ;
21197 long val7 ;
21198 int ecode7 = 0 ;
21199 bool temp8 = false ;
21200 PyObject * obj0 = 0 ;
21201 PyObject * obj1 = 0 ;
21202 PyObject * obj2 = 0 ;
21203 PyObject * obj3 = 0 ;
21204 PyObject * obj4 = 0 ;
21205 PyObject * obj5 = 0 ;
21206 PyObject * obj6 = 0 ;
21207 PyObject * obj7 = 0 ;
21208 char * kwnames[] = {
21209 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21210 };
21211
21212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21214 if (!SWIG_IsOK(res1)) {
21215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21216 }
21217 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21218 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21219 if (!SWIG_IsOK(res2)) {
21220 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21221 }
21222 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21223 if (obj2) {
21224 ecode3 = SWIG_AsVal_int(obj2, &val3);
21225 if (!SWIG_IsOK(ecode3)) {
21226 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21227 }
21228 arg3 = static_cast< int >(val3);
21229 }
21230 if (obj3) {
21231 {
21232 arg4 = wxString_in_helper(obj3);
21233 if (arg4 == NULL) SWIG_fail;
21234 temp4 = true;
21235 }
21236 }
21237 if (obj4) {
21238 {
21239 arg5 = &temp5;
21240 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21241 }
21242 }
21243 if (obj5) {
21244 {
21245 arg6 = &temp6;
21246 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21247 }
21248 }
21249 if (obj6) {
21250 ecode7 = SWIG_AsVal_long(obj6, &val7);
21251 if (!SWIG_IsOK(ecode7)) {
21252 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21253 }
21254 arg7 = static_cast< long >(val7);
21255 }
21256 if (obj7) {
21257 {
21258 arg8 = wxString_in_helper(obj7);
21259 if (arg8 == NULL) SWIG_fail;
21260 temp8 = true;
21261 }
21262 }
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21266 wxPyEndAllowThreads(__tstate);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 }
21269 {
21270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21271 }
21272 {
21273 if (temp4)
21274 delete arg4;
21275 }
21276 {
21277 if (temp8)
21278 delete arg8;
21279 }
21280 return resultobj;
21281 fail:
21282 {
21283 if (temp4)
21284 delete arg4;
21285 }
21286 {
21287 if (temp8)
21288 delete arg8;
21289 }
21290 return NULL;
21291 }
21292
21293
21294 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21295 PyObject *resultobj = 0;
21296 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21297 void *argp1 = 0 ;
21298 int res1 = 0 ;
21299 PyObject *swig_obj[1] ;
21300
21301 if (!args) SWIG_fail;
21302 swig_obj[0] = args;
21303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21304 if (!SWIG_IsOK(res1)) {
21305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21306 }
21307 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21308 {
21309 PyThreadState* __tstate = wxPyBeginAllowThreads();
21310 (arg1)->Activate();
21311 wxPyEndAllowThreads(__tstate);
21312 if (PyErr_Occurred()) SWIG_fail;
21313 }
21314 resultobj = SWIG_Py_Void();
21315 return resultobj;
21316 fail:
21317 return NULL;
21318 }
21319
21320
21321 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21322 PyObject *obj;
21323 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21324 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21325 return SWIG_Py_Void();
21326 }
21327
21328 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21329 return SWIG_Python_InitShadowInstance(args);
21330 }
21331
21332 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21333 PyObject *resultobj = 0;
21334 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21335 long arg2 = (long) 0 ;
21336 wxMDIClientWindow *result = 0 ;
21337 void *argp1 = 0 ;
21338 int res1 = 0 ;
21339 long val2 ;
21340 int ecode2 = 0 ;
21341 PyObject * obj0 = 0 ;
21342 PyObject * obj1 = 0 ;
21343 char * kwnames[] = {
21344 (char *) "parent",(char *) "style", NULL
21345 };
21346
21347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21349 if (!SWIG_IsOK(res1)) {
21350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21351 }
21352 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21353 if (obj1) {
21354 ecode2 = SWIG_AsVal_long(obj1, &val2);
21355 if (!SWIG_IsOK(ecode2)) {
21356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21357 }
21358 arg2 = static_cast< long >(val2);
21359 }
21360 {
21361 if (!wxPyCheckForApp()) SWIG_fail;
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21364 wxPyEndAllowThreads(__tstate);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 }
21367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21368 return resultobj;
21369 fail:
21370 return NULL;
21371 }
21372
21373
21374 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21375 PyObject *resultobj = 0;
21376 wxMDIClientWindow *result = 0 ;
21377
21378 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21379 {
21380 if (!wxPyCheckForApp()) SWIG_fail;
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21383 wxPyEndAllowThreads(__tstate);
21384 if (PyErr_Occurred()) SWIG_fail;
21385 }
21386 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21387 return resultobj;
21388 fail:
21389 return NULL;
21390 }
21391
21392
21393 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21394 PyObject *resultobj = 0;
21395 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21396 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21397 long arg3 = (long) 0 ;
21398 bool result;
21399 void *argp1 = 0 ;
21400 int res1 = 0 ;
21401 void *argp2 = 0 ;
21402 int res2 = 0 ;
21403 long val3 ;
21404 int ecode3 = 0 ;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 PyObject * obj2 = 0 ;
21408 char * kwnames[] = {
21409 (char *) "self",(char *) "parent",(char *) "style", NULL
21410 };
21411
21412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21414 if (!SWIG_IsOK(res1)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21416 }
21417 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21418 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21419 if (!SWIG_IsOK(res2)) {
21420 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21421 }
21422 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21423 if (obj2) {
21424 ecode3 = SWIG_AsVal_long(obj2, &val3);
21425 if (!SWIG_IsOK(ecode3)) {
21426 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21427 }
21428 arg3 = static_cast< long >(val3);
21429 }
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 result = (bool)(arg1)->Create(arg2,arg3);
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 {
21437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21438 }
21439 return resultobj;
21440 fail:
21441 return NULL;
21442 }
21443
21444
21445 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21446 PyObject *obj;
21447 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21448 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21449 return SWIG_Py_Void();
21450 }
21451
21452 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21453 return SWIG_Python_InitShadowInstance(args);
21454 }
21455
21456 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21457 PyObject *resultobj = 0;
21458 wxWindow *arg1 = (wxWindow *) 0 ;
21459 int arg2 = (int) (int)-1 ;
21460 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21461 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21462 wxSize const &arg4_defvalue = wxDefaultSize ;
21463 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21464 long arg5 = (long) 0 ;
21465 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21466 wxString *arg6 = (wxString *) &arg6_defvalue ;
21467 wxPyWindow *result = 0 ;
21468 void *argp1 = 0 ;
21469 int res1 = 0 ;
21470 int val2 ;
21471 int ecode2 = 0 ;
21472 wxPoint temp3 ;
21473 wxSize temp4 ;
21474 long val5 ;
21475 int ecode5 = 0 ;
21476 bool temp6 = false ;
21477 PyObject * obj0 = 0 ;
21478 PyObject * obj1 = 0 ;
21479 PyObject * obj2 = 0 ;
21480 PyObject * obj3 = 0 ;
21481 PyObject * obj4 = 0 ;
21482 PyObject * obj5 = 0 ;
21483 char * kwnames[] = {
21484 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21485 };
21486
21487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21489 if (!SWIG_IsOK(res1)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21491 }
21492 arg1 = reinterpret_cast< wxWindow * >(argp1);
21493 if (obj1) {
21494 ecode2 = SWIG_AsVal_int(obj1, &val2);
21495 if (!SWIG_IsOK(ecode2)) {
21496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21497 }
21498 arg2 = static_cast< int >(val2);
21499 }
21500 if (obj2) {
21501 {
21502 arg3 = &temp3;
21503 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21504 }
21505 }
21506 if (obj3) {
21507 {
21508 arg4 = &temp4;
21509 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21510 }
21511 }
21512 if (obj4) {
21513 ecode5 = SWIG_AsVal_long(obj4, &val5);
21514 if (!SWIG_IsOK(ecode5)) {
21515 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21516 }
21517 arg5 = static_cast< long >(val5);
21518 }
21519 if (obj5) {
21520 {
21521 arg6 = wxString_in_helper(obj5);
21522 if (arg6 == NULL) SWIG_fail;
21523 temp6 = true;
21524 }
21525 }
21526 {
21527 if (!wxPyCheckForApp()) SWIG_fail;
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21534 {
21535 if (temp6)
21536 delete arg6;
21537 }
21538 return resultobj;
21539 fail:
21540 {
21541 if (temp6)
21542 delete arg6;
21543 }
21544 return NULL;
21545 }
21546
21547
21548 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21549 PyObject *resultobj = 0;
21550 wxPyWindow *result = 0 ;
21551
21552 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21553 {
21554 if (!wxPyCheckForApp()) SWIG_fail;
21555 PyThreadState* __tstate = wxPyBeginAllowThreads();
21556 result = (wxPyWindow *)new wxPyWindow();
21557 wxPyEndAllowThreads(__tstate);
21558 if (PyErr_Occurred()) SWIG_fail;
21559 }
21560 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21561 return resultobj;
21562 fail:
21563 return NULL;
21564 }
21565
21566
21567 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj = 0;
21569 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21570 PyObject *arg2 = (PyObject *) 0 ;
21571 PyObject *arg3 = (PyObject *) 0 ;
21572 void *argp1 = 0 ;
21573 int res1 = 0 ;
21574 PyObject * obj0 = 0 ;
21575 PyObject * obj1 = 0 ;
21576 PyObject * obj2 = 0 ;
21577 char * kwnames[] = {
21578 (char *) "self",(char *) "self",(char *) "_class", NULL
21579 };
21580
21581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21583 if (!SWIG_IsOK(res1)) {
21584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21585 }
21586 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21587 arg2 = obj1;
21588 arg3 = obj2;
21589 {
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 (arg1)->_setCallbackInfo(arg2,arg3);
21592 wxPyEndAllowThreads(__tstate);
21593 if (PyErr_Occurred()) SWIG_fail;
21594 }
21595 resultobj = SWIG_Py_Void();
21596 return resultobj;
21597 fail:
21598 return NULL;
21599 }
21600
21601
21602 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21603 PyObject *resultobj = 0;
21604 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21605 wxSize *arg2 = 0 ;
21606 void *argp1 = 0 ;
21607 int res1 = 0 ;
21608 wxSize temp2 ;
21609 PyObject * obj0 = 0 ;
21610 PyObject * obj1 = 0 ;
21611 char * kwnames[] = {
21612 (char *) "self",(char *) "size", NULL
21613 };
21614
21615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21617 if (!SWIG_IsOK(res1)) {
21618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21619 }
21620 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21621 {
21622 arg2 = &temp2;
21623 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21624 }
21625 {
21626 PyThreadState* __tstate = wxPyBeginAllowThreads();
21627 (arg1)->SetBestSize((wxSize const &)*arg2);
21628 wxPyEndAllowThreads(__tstate);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 }
21631 resultobj = SWIG_Py_Void();
21632 return resultobj;
21633 fail:
21634 return NULL;
21635 }
21636
21637
21638 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21639 PyObject *resultobj = 0;
21640 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21641 wxDC *arg2 = (wxDC *) 0 ;
21642 bool result;
21643 void *argp1 = 0 ;
21644 int res1 = 0 ;
21645 void *argp2 = 0 ;
21646 int res2 = 0 ;
21647 PyObject * obj0 = 0 ;
21648 PyObject * obj1 = 0 ;
21649 char * kwnames[] = {
21650 (char *) "self",(char *) "dc", NULL
21651 };
21652
21653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21655 if (!SWIG_IsOK(res1)) {
21656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21657 }
21658 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21659 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21660 if (!SWIG_IsOK(res2)) {
21661 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21662 }
21663 arg2 = reinterpret_cast< wxDC * >(argp2);
21664 {
21665 PyThreadState* __tstate = wxPyBeginAllowThreads();
21666 result = (bool)(arg1)->DoEraseBackground(arg2);
21667 wxPyEndAllowThreads(__tstate);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 {
21671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21672 }
21673 return resultobj;
21674 fail:
21675 return NULL;
21676 }
21677
21678
21679 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21680 PyObject *resultobj = 0;
21681 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21682 int arg2 ;
21683 int arg3 ;
21684 int arg4 ;
21685 int arg5 ;
21686 void *argp1 = 0 ;
21687 int res1 = 0 ;
21688 int val2 ;
21689 int ecode2 = 0 ;
21690 int val3 ;
21691 int ecode3 = 0 ;
21692 int val4 ;
21693 int ecode4 = 0 ;
21694 int val5 ;
21695 int ecode5 = 0 ;
21696 PyObject * obj0 = 0 ;
21697 PyObject * obj1 = 0 ;
21698 PyObject * obj2 = 0 ;
21699 PyObject * obj3 = 0 ;
21700 PyObject * obj4 = 0 ;
21701 char * kwnames[] = {
21702 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21703 };
21704
21705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21707 if (!SWIG_IsOK(res1)) {
21708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21709 }
21710 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21711 ecode2 = SWIG_AsVal_int(obj1, &val2);
21712 if (!SWIG_IsOK(ecode2)) {
21713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21714 }
21715 arg2 = static_cast< int >(val2);
21716 ecode3 = SWIG_AsVal_int(obj2, &val3);
21717 if (!SWIG_IsOK(ecode3)) {
21718 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21719 }
21720 arg3 = static_cast< int >(val3);
21721 ecode4 = SWIG_AsVal_int(obj3, &val4);
21722 if (!SWIG_IsOK(ecode4)) {
21723 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21724 }
21725 arg4 = static_cast< int >(val4);
21726 ecode5 = SWIG_AsVal_int(obj4, &val5);
21727 if (!SWIG_IsOK(ecode5)) {
21728 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21729 }
21730 arg5 = static_cast< int >(val5);
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21734 wxPyEndAllowThreads(__tstate);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 }
21737 resultobj = SWIG_Py_Void();
21738 return resultobj;
21739 fail:
21740 return NULL;
21741 }
21742
21743
21744 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21745 PyObject *resultobj = 0;
21746 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21747 int arg2 ;
21748 int arg3 ;
21749 int arg4 ;
21750 int arg5 ;
21751 int arg6 = (int) wxSIZE_AUTO ;
21752 void *argp1 = 0 ;
21753 int res1 = 0 ;
21754 int val2 ;
21755 int ecode2 = 0 ;
21756 int val3 ;
21757 int ecode3 = 0 ;
21758 int val4 ;
21759 int ecode4 = 0 ;
21760 int val5 ;
21761 int ecode5 = 0 ;
21762 int val6 ;
21763 int ecode6 = 0 ;
21764 PyObject * obj0 = 0 ;
21765 PyObject * obj1 = 0 ;
21766 PyObject * obj2 = 0 ;
21767 PyObject * obj3 = 0 ;
21768 PyObject * obj4 = 0 ;
21769 PyObject * obj5 = 0 ;
21770 char * kwnames[] = {
21771 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21772 };
21773
21774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21776 if (!SWIG_IsOK(res1)) {
21777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21778 }
21779 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21780 ecode2 = SWIG_AsVal_int(obj1, &val2);
21781 if (!SWIG_IsOK(ecode2)) {
21782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21783 }
21784 arg2 = static_cast< int >(val2);
21785 ecode3 = SWIG_AsVal_int(obj2, &val3);
21786 if (!SWIG_IsOK(ecode3)) {
21787 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21788 }
21789 arg3 = static_cast< int >(val3);
21790 ecode4 = SWIG_AsVal_int(obj3, &val4);
21791 if (!SWIG_IsOK(ecode4)) {
21792 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21793 }
21794 arg4 = static_cast< int >(val4);
21795 ecode5 = SWIG_AsVal_int(obj4, &val5);
21796 if (!SWIG_IsOK(ecode5)) {
21797 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21798 }
21799 arg5 = static_cast< int >(val5);
21800 if (obj5) {
21801 ecode6 = SWIG_AsVal_int(obj5, &val6);
21802 if (!SWIG_IsOK(ecode6)) {
21803 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21804 }
21805 arg6 = static_cast< int >(val6);
21806 }
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21810 wxPyEndAllowThreads(__tstate);
21811 if (PyErr_Occurred()) SWIG_fail;
21812 }
21813 resultobj = SWIG_Py_Void();
21814 return resultobj;
21815 fail:
21816 return NULL;
21817 }
21818
21819
21820 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21821 PyObject *resultobj = 0;
21822 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21823 int arg2 ;
21824 int arg3 ;
21825 void *argp1 = 0 ;
21826 int res1 = 0 ;
21827 int val2 ;
21828 int ecode2 = 0 ;
21829 int val3 ;
21830 int ecode3 = 0 ;
21831 PyObject * obj0 = 0 ;
21832 PyObject * obj1 = 0 ;
21833 PyObject * obj2 = 0 ;
21834 char * kwnames[] = {
21835 (char *) "self",(char *) "width",(char *) "height", NULL
21836 };
21837
21838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21840 if (!SWIG_IsOK(res1)) {
21841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21842 }
21843 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21844 ecode2 = SWIG_AsVal_int(obj1, &val2);
21845 if (!SWIG_IsOK(ecode2)) {
21846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21847 }
21848 arg2 = static_cast< int >(val2);
21849 ecode3 = SWIG_AsVal_int(obj2, &val3);
21850 if (!SWIG_IsOK(ecode3)) {
21851 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21852 }
21853 arg3 = static_cast< int >(val3);
21854 {
21855 PyThreadState* __tstate = wxPyBeginAllowThreads();
21856 (arg1)->DoSetClientSize(arg2,arg3);
21857 wxPyEndAllowThreads(__tstate);
21858 if (PyErr_Occurred()) SWIG_fail;
21859 }
21860 resultobj = SWIG_Py_Void();
21861 return resultobj;
21862 fail:
21863 return NULL;
21864 }
21865
21866
21867 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21868 PyObject *resultobj = 0;
21869 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21870 int arg2 ;
21871 int arg3 ;
21872 void *argp1 = 0 ;
21873 int res1 = 0 ;
21874 int val2 ;
21875 int ecode2 = 0 ;
21876 int val3 ;
21877 int ecode3 = 0 ;
21878 PyObject * obj0 = 0 ;
21879 PyObject * obj1 = 0 ;
21880 PyObject * obj2 = 0 ;
21881 char * kwnames[] = {
21882 (char *) "self",(char *) "x",(char *) "y", NULL
21883 };
21884
21885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21887 if (!SWIG_IsOK(res1)) {
21888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21889 }
21890 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21891 ecode2 = SWIG_AsVal_int(obj1, &val2);
21892 if (!SWIG_IsOK(ecode2)) {
21893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21894 }
21895 arg2 = static_cast< int >(val2);
21896 ecode3 = SWIG_AsVal_int(obj2, &val3);
21897 if (!SWIG_IsOK(ecode3)) {
21898 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21899 }
21900 arg3 = static_cast< int >(val3);
21901 {
21902 PyThreadState* __tstate = wxPyBeginAllowThreads();
21903 (arg1)->DoSetVirtualSize(arg2,arg3);
21904 wxPyEndAllowThreads(__tstate);
21905 if (PyErr_Occurred()) SWIG_fail;
21906 }
21907 resultobj = SWIG_Py_Void();
21908 return resultobj;
21909 fail:
21910 return NULL;
21911 }
21912
21913
21914 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21915 PyObject *resultobj = 0;
21916 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21917 int *arg2 = (int *) 0 ;
21918 int *arg3 = (int *) 0 ;
21919 void *argp1 = 0 ;
21920 int res1 = 0 ;
21921 int temp2 ;
21922 int res2 = SWIG_TMPOBJ ;
21923 int temp3 ;
21924 int res3 = SWIG_TMPOBJ ;
21925 PyObject *swig_obj[1] ;
21926
21927 arg2 = &temp2;
21928 arg3 = &temp3;
21929 if (!args) SWIG_fail;
21930 swig_obj[0] = args;
21931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21932 if (!SWIG_IsOK(res1)) {
21933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21934 }
21935 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21936 {
21937 PyThreadState* __tstate = wxPyBeginAllowThreads();
21938 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21939 wxPyEndAllowThreads(__tstate);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 resultobj = SWIG_Py_Void();
21943 if (SWIG_IsTmpObj(res2)) {
21944 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21945 } else {
21946 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21947 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21948 }
21949 if (SWIG_IsTmpObj(res3)) {
21950 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21951 } else {
21952 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21953 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21954 }
21955 return resultobj;
21956 fail:
21957 return NULL;
21958 }
21959
21960
21961 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21962 PyObject *resultobj = 0;
21963 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21964 int *arg2 = (int *) 0 ;
21965 int *arg3 = (int *) 0 ;
21966 void *argp1 = 0 ;
21967 int res1 = 0 ;
21968 int temp2 ;
21969 int res2 = SWIG_TMPOBJ ;
21970 int temp3 ;
21971 int res3 = SWIG_TMPOBJ ;
21972 PyObject *swig_obj[1] ;
21973
21974 arg2 = &temp2;
21975 arg3 = &temp3;
21976 if (!args) SWIG_fail;
21977 swig_obj[0] = args;
21978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21979 if (!SWIG_IsOK(res1)) {
21980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21981 }
21982 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21983 {
21984 PyThreadState* __tstate = wxPyBeginAllowThreads();
21985 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21986 wxPyEndAllowThreads(__tstate);
21987 if (PyErr_Occurred()) SWIG_fail;
21988 }
21989 resultobj = SWIG_Py_Void();
21990 if (SWIG_IsTmpObj(res2)) {
21991 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21992 } else {
21993 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21994 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21995 }
21996 if (SWIG_IsTmpObj(res3)) {
21997 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21998 } else {
21999 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22000 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22001 }
22002 return resultobj;
22003 fail:
22004 return NULL;
22005 }
22006
22007
22008 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22009 PyObject *resultobj = 0;
22010 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22011 int *arg2 = (int *) 0 ;
22012 int *arg3 = (int *) 0 ;
22013 void *argp1 = 0 ;
22014 int res1 = 0 ;
22015 int temp2 ;
22016 int res2 = SWIG_TMPOBJ ;
22017 int temp3 ;
22018 int res3 = SWIG_TMPOBJ ;
22019 PyObject *swig_obj[1] ;
22020
22021 arg2 = &temp2;
22022 arg3 = &temp3;
22023 if (!args) SWIG_fail;
22024 swig_obj[0] = args;
22025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22026 if (!SWIG_IsOK(res1)) {
22027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22028 }
22029 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22030 {
22031 PyThreadState* __tstate = wxPyBeginAllowThreads();
22032 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22033 wxPyEndAllowThreads(__tstate);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
22036 resultobj = SWIG_Py_Void();
22037 if (SWIG_IsTmpObj(res2)) {
22038 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22039 } else {
22040 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22041 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22042 }
22043 if (SWIG_IsTmpObj(res3)) {
22044 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22045 } else {
22046 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22047 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22048 }
22049 return resultobj;
22050 fail:
22051 return NULL;
22052 }
22053
22054
22055 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22056 PyObject *resultobj = 0;
22057 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22058 wxSize result;
22059 void *argp1 = 0 ;
22060 int res1 = 0 ;
22061 PyObject *swig_obj[1] ;
22062
22063 if (!args) SWIG_fail;
22064 swig_obj[0] = args;
22065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22066 if (!SWIG_IsOK(res1)) {
22067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22068 }
22069 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22070 {
22071 PyThreadState* __tstate = wxPyBeginAllowThreads();
22072 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22073 wxPyEndAllowThreads(__tstate);
22074 if (PyErr_Occurred()) SWIG_fail;
22075 }
22076 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22077 return resultobj;
22078 fail:
22079 return NULL;
22080 }
22081
22082
22083 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22084 PyObject *resultobj = 0;
22085 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22086 wxSize result;
22087 void *argp1 = 0 ;
22088 int res1 = 0 ;
22089 PyObject *swig_obj[1] ;
22090
22091 if (!args) SWIG_fail;
22092 swig_obj[0] = args;
22093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22094 if (!SWIG_IsOK(res1)) {
22095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22096 }
22097 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22098 {
22099 PyThreadState* __tstate = wxPyBeginAllowThreads();
22100 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22101 wxPyEndAllowThreads(__tstate);
22102 if (PyErr_Occurred()) SWIG_fail;
22103 }
22104 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22105 return resultobj;
22106 fail:
22107 return NULL;
22108 }
22109
22110
22111 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22112 PyObject *resultobj = 0;
22113 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22114 SwigValueWrapper<wxVisualAttributes > result;
22115 void *argp1 = 0 ;
22116 int res1 = 0 ;
22117 PyObject *swig_obj[1] ;
22118
22119 if (!args) SWIG_fail;
22120 swig_obj[0] = args;
22121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22122 if (!SWIG_IsOK(res1)) {
22123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22124 }
22125 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 result = (arg1)->GetDefaultAttributes();
22129 wxPyEndAllowThreads(__tstate);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22133 return resultobj;
22134 fail:
22135 return NULL;
22136 }
22137
22138
22139 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22140 PyObject *resultobj = 0;
22141 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22142 void *argp1 = 0 ;
22143 int res1 = 0 ;
22144 PyObject *swig_obj[1] ;
22145
22146 if (!args) SWIG_fail;
22147 swig_obj[0] = args;
22148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22149 if (!SWIG_IsOK(res1)) {
22150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22151 }
22152 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22153 {
22154 PyThreadState* __tstate = wxPyBeginAllowThreads();
22155 (arg1)->OnInternalIdle();
22156 wxPyEndAllowThreads(__tstate);
22157 if (PyErr_Occurred()) SWIG_fail;
22158 }
22159 resultobj = SWIG_Py_Void();
22160 return resultobj;
22161 fail:
22162 return NULL;
22163 }
22164
22165
22166 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22167 PyObject *obj;
22168 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22169 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22170 return SWIG_Py_Void();
22171 }
22172
22173 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22174 return SWIG_Python_InitShadowInstance(args);
22175 }
22176
22177 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22178 PyObject *resultobj = 0;
22179 wxWindow *arg1 = (wxWindow *) 0 ;
22180 int arg2 = (int) (int)-1 ;
22181 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22182 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22183 wxSize const &arg4_defvalue = wxDefaultSize ;
22184 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22185 long arg5 = (long) 0 ;
22186 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22187 wxString *arg6 = (wxString *) &arg6_defvalue ;
22188 wxPyPanel *result = 0 ;
22189 void *argp1 = 0 ;
22190 int res1 = 0 ;
22191 int val2 ;
22192 int ecode2 = 0 ;
22193 wxPoint temp3 ;
22194 wxSize temp4 ;
22195 long val5 ;
22196 int ecode5 = 0 ;
22197 bool temp6 = false ;
22198 PyObject * obj0 = 0 ;
22199 PyObject * obj1 = 0 ;
22200 PyObject * obj2 = 0 ;
22201 PyObject * obj3 = 0 ;
22202 PyObject * obj4 = 0 ;
22203 PyObject * obj5 = 0 ;
22204 char * kwnames[] = {
22205 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22206 };
22207
22208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22210 if (!SWIG_IsOK(res1)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22212 }
22213 arg1 = reinterpret_cast< wxWindow * >(argp1);
22214 if (obj1) {
22215 ecode2 = SWIG_AsVal_int(obj1, &val2);
22216 if (!SWIG_IsOK(ecode2)) {
22217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22218 }
22219 arg2 = static_cast< int >(val2);
22220 }
22221 if (obj2) {
22222 {
22223 arg3 = &temp3;
22224 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22225 }
22226 }
22227 if (obj3) {
22228 {
22229 arg4 = &temp4;
22230 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22231 }
22232 }
22233 if (obj4) {
22234 ecode5 = SWIG_AsVal_long(obj4, &val5);
22235 if (!SWIG_IsOK(ecode5)) {
22236 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22237 }
22238 arg5 = static_cast< long >(val5);
22239 }
22240 if (obj5) {
22241 {
22242 arg6 = wxString_in_helper(obj5);
22243 if (arg6 == NULL) SWIG_fail;
22244 temp6 = true;
22245 }
22246 }
22247 {
22248 if (!wxPyCheckForApp()) SWIG_fail;
22249 PyThreadState* __tstate = wxPyBeginAllowThreads();
22250 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22251 wxPyEndAllowThreads(__tstate);
22252 if (PyErr_Occurred()) SWIG_fail;
22253 }
22254 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22255 {
22256 if (temp6)
22257 delete arg6;
22258 }
22259 return resultobj;
22260 fail:
22261 {
22262 if (temp6)
22263 delete arg6;
22264 }
22265 return NULL;
22266 }
22267
22268
22269 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22270 PyObject *resultobj = 0;
22271 wxPyPanel *result = 0 ;
22272
22273 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22274 {
22275 if (!wxPyCheckForApp()) SWIG_fail;
22276 PyThreadState* __tstate = wxPyBeginAllowThreads();
22277 result = (wxPyPanel *)new wxPyPanel();
22278 wxPyEndAllowThreads(__tstate);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 }
22281 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22282 return resultobj;
22283 fail:
22284 return NULL;
22285 }
22286
22287
22288 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22289 PyObject *resultobj = 0;
22290 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22291 PyObject *arg2 = (PyObject *) 0 ;
22292 PyObject *arg3 = (PyObject *) 0 ;
22293 void *argp1 = 0 ;
22294 int res1 = 0 ;
22295 PyObject * obj0 = 0 ;
22296 PyObject * obj1 = 0 ;
22297 PyObject * obj2 = 0 ;
22298 char * kwnames[] = {
22299 (char *) "self",(char *) "self",(char *) "_class", NULL
22300 };
22301
22302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22304 if (!SWIG_IsOK(res1)) {
22305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22306 }
22307 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22308 arg2 = obj1;
22309 arg3 = obj2;
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 (arg1)->_setCallbackInfo(arg2,arg3);
22313 wxPyEndAllowThreads(__tstate);
22314 if (PyErr_Occurred()) SWIG_fail;
22315 }
22316 resultobj = SWIG_Py_Void();
22317 return resultobj;
22318 fail:
22319 return NULL;
22320 }
22321
22322
22323 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22324 PyObject *resultobj = 0;
22325 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22326 wxSize *arg2 = 0 ;
22327 void *argp1 = 0 ;
22328 int res1 = 0 ;
22329 wxSize temp2 ;
22330 PyObject * obj0 = 0 ;
22331 PyObject * obj1 = 0 ;
22332 char * kwnames[] = {
22333 (char *) "self",(char *) "size", NULL
22334 };
22335
22336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22338 if (!SWIG_IsOK(res1)) {
22339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22340 }
22341 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22342 {
22343 arg2 = &temp2;
22344 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22345 }
22346 {
22347 PyThreadState* __tstate = wxPyBeginAllowThreads();
22348 (arg1)->SetBestSize((wxSize const &)*arg2);
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 resultobj = SWIG_Py_Void();
22353 return resultobj;
22354 fail:
22355 return NULL;
22356 }
22357
22358
22359 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22360 PyObject *resultobj = 0;
22361 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22362 wxDC *arg2 = (wxDC *) 0 ;
22363 bool result;
22364 void *argp1 = 0 ;
22365 int res1 = 0 ;
22366 void *argp2 = 0 ;
22367 int res2 = 0 ;
22368 PyObject * obj0 = 0 ;
22369 PyObject * obj1 = 0 ;
22370 char * kwnames[] = {
22371 (char *) "self",(char *) "dc", NULL
22372 };
22373
22374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22376 if (!SWIG_IsOK(res1)) {
22377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22378 }
22379 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22380 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22381 if (!SWIG_IsOK(res2)) {
22382 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22383 }
22384 arg2 = reinterpret_cast< wxDC * >(argp2);
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 result = (bool)(arg1)->DoEraseBackground(arg2);
22388 wxPyEndAllowThreads(__tstate);
22389 if (PyErr_Occurred()) SWIG_fail;
22390 }
22391 {
22392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22393 }
22394 return resultobj;
22395 fail:
22396 return NULL;
22397 }
22398
22399
22400 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22401 PyObject *resultobj = 0;
22402 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22403 int arg2 ;
22404 int arg3 ;
22405 int arg4 ;
22406 int arg5 ;
22407 void *argp1 = 0 ;
22408 int res1 = 0 ;
22409 int val2 ;
22410 int ecode2 = 0 ;
22411 int val3 ;
22412 int ecode3 = 0 ;
22413 int val4 ;
22414 int ecode4 = 0 ;
22415 int val5 ;
22416 int ecode5 = 0 ;
22417 PyObject * obj0 = 0 ;
22418 PyObject * obj1 = 0 ;
22419 PyObject * obj2 = 0 ;
22420 PyObject * obj3 = 0 ;
22421 PyObject * obj4 = 0 ;
22422 char * kwnames[] = {
22423 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22424 };
22425
22426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22428 if (!SWIG_IsOK(res1)) {
22429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22430 }
22431 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22432 ecode2 = SWIG_AsVal_int(obj1, &val2);
22433 if (!SWIG_IsOK(ecode2)) {
22434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22435 }
22436 arg2 = static_cast< int >(val2);
22437 ecode3 = SWIG_AsVal_int(obj2, &val3);
22438 if (!SWIG_IsOK(ecode3)) {
22439 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22440 }
22441 arg3 = static_cast< int >(val3);
22442 ecode4 = SWIG_AsVal_int(obj3, &val4);
22443 if (!SWIG_IsOK(ecode4)) {
22444 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22445 }
22446 arg4 = static_cast< int >(val4);
22447 ecode5 = SWIG_AsVal_int(obj4, &val5);
22448 if (!SWIG_IsOK(ecode5)) {
22449 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22450 }
22451 arg5 = static_cast< int >(val5);
22452 {
22453 PyThreadState* __tstate = wxPyBeginAllowThreads();
22454 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22455 wxPyEndAllowThreads(__tstate);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 }
22458 resultobj = SWIG_Py_Void();
22459 return resultobj;
22460 fail:
22461 return NULL;
22462 }
22463
22464
22465 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22466 PyObject *resultobj = 0;
22467 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22468 int arg2 ;
22469 int arg3 ;
22470 int arg4 ;
22471 int arg5 ;
22472 int arg6 = (int) wxSIZE_AUTO ;
22473 void *argp1 = 0 ;
22474 int res1 = 0 ;
22475 int val2 ;
22476 int ecode2 = 0 ;
22477 int val3 ;
22478 int ecode3 = 0 ;
22479 int val4 ;
22480 int ecode4 = 0 ;
22481 int val5 ;
22482 int ecode5 = 0 ;
22483 int val6 ;
22484 int ecode6 = 0 ;
22485 PyObject * obj0 = 0 ;
22486 PyObject * obj1 = 0 ;
22487 PyObject * obj2 = 0 ;
22488 PyObject * obj3 = 0 ;
22489 PyObject * obj4 = 0 ;
22490 PyObject * obj5 = 0 ;
22491 char * kwnames[] = {
22492 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22493 };
22494
22495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22497 if (!SWIG_IsOK(res1)) {
22498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22499 }
22500 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22501 ecode2 = SWIG_AsVal_int(obj1, &val2);
22502 if (!SWIG_IsOK(ecode2)) {
22503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22504 }
22505 arg2 = static_cast< int >(val2);
22506 ecode3 = SWIG_AsVal_int(obj2, &val3);
22507 if (!SWIG_IsOK(ecode3)) {
22508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22509 }
22510 arg3 = static_cast< int >(val3);
22511 ecode4 = SWIG_AsVal_int(obj3, &val4);
22512 if (!SWIG_IsOK(ecode4)) {
22513 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22514 }
22515 arg4 = static_cast< int >(val4);
22516 ecode5 = SWIG_AsVal_int(obj4, &val5);
22517 if (!SWIG_IsOK(ecode5)) {
22518 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22519 }
22520 arg5 = static_cast< int >(val5);
22521 if (obj5) {
22522 ecode6 = SWIG_AsVal_int(obj5, &val6);
22523 if (!SWIG_IsOK(ecode6)) {
22524 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22525 }
22526 arg6 = static_cast< int >(val6);
22527 }
22528 {
22529 PyThreadState* __tstate = wxPyBeginAllowThreads();
22530 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22531 wxPyEndAllowThreads(__tstate);
22532 if (PyErr_Occurred()) SWIG_fail;
22533 }
22534 resultobj = SWIG_Py_Void();
22535 return resultobj;
22536 fail:
22537 return NULL;
22538 }
22539
22540
22541 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22542 PyObject *resultobj = 0;
22543 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22544 int arg2 ;
22545 int arg3 ;
22546 void *argp1 = 0 ;
22547 int res1 = 0 ;
22548 int val2 ;
22549 int ecode2 = 0 ;
22550 int val3 ;
22551 int ecode3 = 0 ;
22552 PyObject * obj0 = 0 ;
22553 PyObject * obj1 = 0 ;
22554 PyObject * obj2 = 0 ;
22555 char * kwnames[] = {
22556 (char *) "self",(char *) "width",(char *) "height", NULL
22557 };
22558
22559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22561 if (!SWIG_IsOK(res1)) {
22562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22563 }
22564 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22565 ecode2 = SWIG_AsVal_int(obj1, &val2);
22566 if (!SWIG_IsOK(ecode2)) {
22567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22568 }
22569 arg2 = static_cast< int >(val2);
22570 ecode3 = SWIG_AsVal_int(obj2, &val3);
22571 if (!SWIG_IsOK(ecode3)) {
22572 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22573 }
22574 arg3 = static_cast< int >(val3);
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 (arg1)->DoSetClientSize(arg2,arg3);
22578 wxPyEndAllowThreads(__tstate);
22579 if (PyErr_Occurred()) SWIG_fail;
22580 }
22581 resultobj = SWIG_Py_Void();
22582 return resultobj;
22583 fail:
22584 return NULL;
22585 }
22586
22587
22588 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22589 PyObject *resultobj = 0;
22590 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22591 int arg2 ;
22592 int arg3 ;
22593 void *argp1 = 0 ;
22594 int res1 = 0 ;
22595 int val2 ;
22596 int ecode2 = 0 ;
22597 int val3 ;
22598 int ecode3 = 0 ;
22599 PyObject * obj0 = 0 ;
22600 PyObject * obj1 = 0 ;
22601 PyObject * obj2 = 0 ;
22602 char * kwnames[] = {
22603 (char *) "self",(char *) "x",(char *) "y", NULL
22604 };
22605
22606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22608 if (!SWIG_IsOK(res1)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22610 }
22611 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22612 ecode2 = SWIG_AsVal_int(obj1, &val2);
22613 if (!SWIG_IsOK(ecode2)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22615 }
22616 arg2 = static_cast< int >(val2);
22617 ecode3 = SWIG_AsVal_int(obj2, &val3);
22618 if (!SWIG_IsOK(ecode3)) {
22619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22620 }
22621 arg3 = static_cast< int >(val3);
22622 {
22623 PyThreadState* __tstate = wxPyBeginAllowThreads();
22624 (arg1)->DoSetVirtualSize(arg2,arg3);
22625 wxPyEndAllowThreads(__tstate);
22626 if (PyErr_Occurred()) SWIG_fail;
22627 }
22628 resultobj = SWIG_Py_Void();
22629 return resultobj;
22630 fail:
22631 return NULL;
22632 }
22633
22634
22635 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22636 PyObject *resultobj = 0;
22637 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22638 int *arg2 = (int *) 0 ;
22639 int *arg3 = (int *) 0 ;
22640 void *argp1 = 0 ;
22641 int res1 = 0 ;
22642 int temp2 ;
22643 int res2 = SWIG_TMPOBJ ;
22644 int temp3 ;
22645 int res3 = SWIG_TMPOBJ ;
22646 PyObject *swig_obj[1] ;
22647
22648 arg2 = &temp2;
22649 arg3 = &temp3;
22650 if (!args) SWIG_fail;
22651 swig_obj[0] = args;
22652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22653 if (!SWIG_IsOK(res1)) {
22654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22655 }
22656 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22657 {
22658 PyThreadState* __tstate = wxPyBeginAllowThreads();
22659 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22660 wxPyEndAllowThreads(__tstate);
22661 if (PyErr_Occurred()) SWIG_fail;
22662 }
22663 resultobj = SWIG_Py_Void();
22664 if (SWIG_IsTmpObj(res2)) {
22665 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22666 } else {
22667 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22668 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22669 }
22670 if (SWIG_IsTmpObj(res3)) {
22671 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22672 } else {
22673 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22674 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22675 }
22676 return resultobj;
22677 fail:
22678 return NULL;
22679 }
22680
22681
22682 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22683 PyObject *resultobj = 0;
22684 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22685 int *arg2 = (int *) 0 ;
22686 int *arg3 = (int *) 0 ;
22687 void *argp1 = 0 ;
22688 int res1 = 0 ;
22689 int temp2 ;
22690 int res2 = SWIG_TMPOBJ ;
22691 int temp3 ;
22692 int res3 = SWIG_TMPOBJ ;
22693 PyObject *swig_obj[1] ;
22694
22695 arg2 = &temp2;
22696 arg3 = &temp3;
22697 if (!args) SWIG_fail;
22698 swig_obj[0] = args;
22699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22700 if (!SWIG_IsOK(res1)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22702 }
22703 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22704 {
22705 PyThreadState* __tstate = wxPyBeginAllowThreads();
22706 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 resultobj = SWIG_Py_Void();
22711 if (SWIG_IsTmpObj(res2)) {
22712 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22713 } else {
22714 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22715 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22716 }
22717 if (SWIG_IsTmpObj(res3)) {
22718 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22719 } else {
22720 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22721 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22722 }
22723 return resultobj;
22724 fail:
22725 return NULL;
22726 }
22727
22728
22729 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22730 PyObject *resultobj = 0;
22731 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22732 int *arg2 = (int *) 0 ;
22733 int *arg3 = (int *) 0 ;
22734 void *argp1 = 0 ;
22735 int res1 = 0 ;
22736 int temp2 ;
22737 int res2 = SWIG_TMPOBJ ;
22738 int temp3 ;
22739 int res3 = SWIG_TMPOBJ ;
22740 PyObject *swig_obj[1] ;
22741
22742 arg2 = &temp2;
22743 arg3 = &temp3;
22744 if (!args) SWIG_fail;
22745 swig_obj[0] = args;
22746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22747 if (!SWIG_IsOK(res1)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22749 }
22750 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22751 {
22752 PyThreadState* __tstate = wxPyBeginAllowThreads();
22753 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22754 wxPyEndAllowThreads(__tstate);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
22757 resultobj = SWIG_Py_Void();
22758 if (SWIG_IsTmpObj(res2)) {
22759 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22760 } else {
22761 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22762 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22763 }
22764 if (SWIG_IsTmpObj(res3)) {
22765 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22766 } else {
22767 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22768 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22769 }
22770 return resultobj;
22771 fail:
22772 return NULL;
22773 }
22774
22775
22776 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22777 PyObject *resultobj = 0;
22778 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22779 wxSize result;
22780 void *argp1 = 0 ;
22781 int res1 = 0 ;
22782 PyObject *swig_obj[1] ;
22783
22784 if (!args) SWIG_fail;
22785 swig_obj[0] = args;
22786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22787 if (!SWIG_IsOK(res1)) {
22788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22789 }
22790 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22791 {
22792 PyThreadState* __tstate = wxPyBeginAllowThreads();
22793 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22794 wxPyEndAllowThreads(__tstate);
22795 if (PyErr_Occurred()) SWIG_fail;
22796 }
22797 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22798 return resultobj;
22799 fail:
22800 return NULL;
22801 }
22802
22803
22804 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22805 PyObject *resultobj = 0;
22806 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22807 wxSize result;
22808 void *argp1 = 0 ;
22809 int res1 = 0 ;
22810 PyObject *swig_obj[1] ;
22811
22812 if (!args) SWIG_fail;
22813 swig_obj[0] = args;
22814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22815 if (!SWIG_IsOK(res1)) {
22816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22817 }
22818 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22819 {
22820 PyThreadState* __tstate = wxPyBeginAllowThreads();
22821 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22822 wxPyEndAllowThreads(__tstate);
22823 if (PyErr_Occurred()) SWIG_fail;
22824 }
22825 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22826 return resultobj;
22827 fail:
22828 return NULL;
22829 }
22830
22831
22832 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22833 PyObject *resultobj = 0;
22834 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22835 SwigValueWrapper<wxVisualAttributes > result;
22836 void *argp1 = 0 ;
22837 int res1 = 0 ;
22838 PyObject *swig_obj[1] ;
22839
22840 if (!args) SWIG_fail;
22841 swig_obj[0] = args;
22842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22843 if (!SWIG_IsOK(res1)) {
22844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22845 }
22846 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22847 {
22848 PyThreadState* __tstate = wxPyBeginAllowThreads();
22849 result = (arg1)->GetDefaultAttributes();
22850 wxPyEndAllowThreads(__tstate);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 }
22853 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22854 return resultobj;
22855 fail:
22856 return NULL;
22857 }
22858
22859
22860 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22861 PyObject *resultobj = 0;
22862 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22863 void *argp1 = 0 ;
22864 int res1 = 0 ;
22865 PyObject *swig_obj[1] ;
22866
22867 if (!args) SWIG_fail;
22868 swig_obj[0] = args;
22869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22870 if (!SWIG_IsOK(res1)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22872 }
22873 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22874 {
22875 PyThreadState* __tstate = wxPyBeginAllowThreads();
22876 (arg1)->OnInternalIdle();
22877 wxPyEndAllowThreads(__tstate);
22878 if (PyErr_Occurred()) SWIG_fail;
22879 }
22880 resultobj = SWIG_Py_Void();
22881 return resultobj;
22882 fail:
22883 return NULL;
22884 }
22885
22886
22887 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22888 PyObject *obj;
22889 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22890 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22891 return SWIG_Py_Void();
22892 }
22893
22894 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22895 return SWIG_Python_InitShadowInstance(args);
22896 }
22897
22898 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22899 PyObject *resultobj = 0;
22900 wxWindow *arg1 = (wxWindow *) 0 ;
22901 int arg2 = (int) (int)-1 ;
22902 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22903 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22904 wxSize const &arg4_defvalue = wxDefaultSize ;
22905 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22906 long arg5 = (long) 0 ;
22907 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22908 wxString *arg6 = (wxString *) &arg6_defvalue ;
22909 wxPyScrolledWindow *result = 0 ;
22910 void *argp1 = 0 ;
22911 int res1 = 0 ;
22912 int val2 ;
22913 int ecode2 = 0 ;
22914 wxPoint temp3 ;
22915 wxSize temp4 ;
22916 long val5 ;
22917 int ecode5 = 0 ;
22918 bool temp6 = false ;
22919 PyObject * obj0 = 0 ;
22920 PyObject * obj1 = 0 ;
22921 PyObject * obj2 = 0 ;
22922 PyObject * obj3 = 0 ;
22923 PyObject * obj4 = 0 ;
22924 PyObject * obj5 = 0 ;
22925 char * kwnames[] = {
22926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22927 };
22928
22929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22931 if (!SWIG_IsOK(res1)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22933 }
22934 arg1 = reinterpret_cast< wxWindow * >(argp1);
22935 if (obj1) {
22936 ecode2 = SWIG_AsVal_int(obj1, &val2);
22937 if (!SWIG_IsOK(ecode2)) {
22938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22939 }
22940 arg2 = static_cast< int >(val2);
22941 }
22942 if (obj2) {
22943 {
22944 arg3 = &temp3;
22945 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22946 }
22947 }
22948 if (obj3) {
22949 {
22950 arg4 = &temp4;
22951 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22952 }
22953 }
22954 if (obj4) {
22955 ecode5 = SWIG_AsVal_long(obj4, &val5);
22956 if (!SWIG_IsOK(ecode5)) {
22957 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22958 }
22959 arg5 = static_cast< long >(val5);
22960 }
22961 if (obj5) {
22962 {
22963 arg6 = wxString_in_helper(obj5);
22964 if (arg6 == NULL) SWIG_fail;
22965 temp6 = true;
22966 }
22967 }
22968 {
22969 if (!wxPyCheckForApp()) SWIG_fail;
22970 PyThreadState* __tstate = wxPyBeginAllowThreads();
22971 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22972 wxPyEndAllowThreads(__tstate);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 }
22975 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22976 {
22977 if (temp6)
22978 delete arg6;
22979 }
22980 return resultobj;
22981 fail:
22982 {
22983 if (temp6)
22984 delete arg6;
22985 }
22986 return NULL;
22987 }
22988
22989
22990 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22991 PyObject *resultobj = 0;
22992 wxPyScrolledWindow *result = 0 ;
22993
22994 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22995 {
22996 if (!wxPyCheckForApp()) SWIG_fail;
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22999 wxPyEndAllowThreads(__tstate);
23000 if (PyErr_Occurred()) SWIG_fail;
23001 }
23002 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23003 return resultobj;
23004 fail:
23005 return NULL;
23006 }
23007
23008
23009 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23010 PyObject *resultobj = 0;
23011 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23012 PyObject *arg2 = (PyObject *) 0 ;
23013 PyObject *arg3 = (PyObject *) 0 ;
23014 void *argp1 = 0 ;
23015 int res1 = 0 ;
23016 PyObject * obj0 = 0 ;
23017 PyObject * obj1 = 0 ;
23018 PyObject * obj2 = 0 ;
23019 char * kwnames[] = {
23020 (char *) "self",(char *) "self",(char *) "_class", NULL
23021 };
23022
23023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23025 if (!SWIG_IsOK(res1)) {
23026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23027 }
23028 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23029 arg2 = obj1;
23030 arg3 = obj2;
23031 {
23032 PyThreadState* __tstate = wxPyBeginAllowThreads();
23033 (arg1)->_setCallbackInfo(arg2,arg3);
23034 wxPyEndAllowThreads(__tstate);
23035 if (PyErr_Occurred()) SWIG_fail;
23036 }
23037 resultobj = SWIG_Py_Void();
23038 return resultobj;
23039 fail:
23040 return NULL;
23041 }
23042
23043
23044 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23045 PyObject *resultobj = 0;
23046 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23047 wxSize *arg2 = 0 ;
23048 void *argp1 = 0 ;
23049 int res1 = 0 ;
23050 wxSize temp2 ;
23051 PyObject * obj0 = 0 ;
23052 PyObject * obj1 = 0 ;
23053 char * kwnames[] = {
23054 (char *) "self",(char *) "size", NULL
23055 };
23056
23057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
23058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23059 if (!SWIG_IsOK(res1)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23061 }
23062 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23063 {
23064 arg2 = &temp2;
23065 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23066 }
23067 {
23068 PyThreadState* __tstate = wxPyBeginAllowThreads();
23069 (arg1)->SetBestSize((wxSize const &)*arg2);
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 resultobj = SWIG_Py_Void();
23074 return resultobj;
23075 fail:
23076 return NULL;
23077 }
23078
23079
23080 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23081 PyObject *resultobj = 0;
23082 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23083 wxDC *arg2 = (wxDC *) 0 ;
23084 bool result;
23085 void *argp1 = 0 ;
23086 int res1 = 0 ;
23087 void *argp2 = 0 ;
23088 int res2 = 0 ;
23089 PyObject * obj0 = 0 ;
23090 PyObject * obj1 = 0 ;
23091 char * kwnames[] = {
23092 (char *) "self",(char *) "dc", NULL
23093 };
23094
23095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23097 if (!SWIG_IsOK(res1)) {
23098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23099 }
23100 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23101 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23102 if (!SWIG_IsOK(res2)) {
23103 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23104 }
23105 arg2 = reinterpret_cast< wxDC * >(argp2);
23106 {
23107 PyThreadState* __tstate = wxPyBeginAllowThreads();
23108 result = (bool)(arg1)->DoEraseBackground(arg2);
23109 wxPyEndAllowThreads(__tstate);
23110 if (PyErr_Occurred()) SWIG_fail;
23111 }
23112 {
23113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23114 }
23115 return resultobj;
23116 fail:
23117 return NULL;
23118 }
23119
23120
23121 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23122 PyObject *resultobj = 0;
23123 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23124 int arg2 ;
23125 int arg3 ;
23126 int arg4 ;
23127 int arg5 ;
23128 void *argp1 = 0 ;
23129 int res1 = 0 ;
23130 int val2 ;
23131 int ecode2 = 0 ;
23132 int val3 ;
23133 int ecode3 = 0 ;
23134 int val4 ;
23135 int ecode4 = 0 ;
23136 int val5 ;
23137 int ecode5 = 0 ;
23138 PyObject * obj0 = 0 ;
23139 PyObject * obj1 = 0 ;
23140 PyObject * obj2 = 0 ;
23141 PyObject * obj3 = 0 ;
23142 PyObject * obj4 = 0 ;
23143 char * kwnames[] = {
23144 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23145 };
23146
23147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23149 if (!SWIG_IsOK(res1)) {
23150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23151 }
23152 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23153 ecode2 = SWIG_AsVal_int(obj1, &val2);
23154 if (!SWIG_IsOK(ecode2)) {
23155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23156 }
23157 arg2 = static_cast< int >(val2);
23158 ecode3 = SWIG_AsVal_int(obj2, &val3);
23159 if (!SWIG_IsOK(ecode3)) {
23160 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23161 }
23162 arg3 = static_cast< int >(val3);
23163 ecode4 = SWIG_AsVal_int(obj3, &val4);
23164 if (!SWIG_IsOK(ecode4)) {
23165 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23166 }
23167 arg4 = static_cast< int >(val4);
23168 ecode5 = SWIG_AsVal_int(obj4, &val5);
23169 if (!SWIG_IsOK(ecode5)) {
23170 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23171 }
23172 arg5 = static_cast< int >(val5);
23173 {
23174 PyThreadState* __tstate = wxPyBeginAllowThreads();
23175 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 resultobj = SWIG_Py_Void();
23180 return resultobj;
23181 fail:
23182 return NULL;
23183 }
23184
23185
23186 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23187 PyObject *resultobj = 0;
23188 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23189 int arg2 ;
23190 int arg3 ;
23191 int arg4 ;
23192 int arg5 ;
23193 int arg6 = (int) wxSIZE_AUTO ;
23194 void *argp1 = 0 ;
23195 int res1 = 0 ;
23196 int val2 ;
23197 int ecode2 = 0 ;
23198 int val3 ;
23199 int ecode3 = 0 ;
23200 int val4 ;
23201 int ecode4 = 0 ;
23202 int val5 ;
23203 int ecode5 = 0 ;
23204 int val6 ;
23205 int ecode6 = 0 ;
23206 PyObject * obj0 = 0 ;
23207 PyObject * obj1 = 0 ;
23208 PyObject * obj2 = 0 ;
23209 PyObject * obj3 = 0 ;
23210 PyObject * obj4 = 0 ;
23211 PyObject * obj5 = 0 ;
23212 char * kwnames[] = {
23213 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23214 };
23215
23216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23218 if (!SWIG_IsOK(res1)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23220 }
23221 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23222 ecode2 = SWIG_AsVal_int(obj1, &val2);
23223 if (!SWIG_IsOK(ecode2)) {
23224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23225 }
23226 arg2 = static_cast< int >(val2);
23227 ecode3 = SWIG_AsVal_int(obj2, &val3);
23228 if (!SWIG_IsOK(ecode3)) {
23229 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23230 }
23231 arg3 = static_cast< int >(val3);
23232 ecode4 = SWIG_AsVal_int(obj3, &val4);
23233 if (!SWIG_IsOK(ecode4)) {
23234 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23235 }
23236 arg4 = static_cast< int >(val4);
23237 ecode5 = SWIG_AsVal_int(obj4, &val5);
23238 if (!SWIG_IsOK(ecode5)) {
23239 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23240 }
23241 arg5 = static_cast< int >(val5);
23242 if (obj5) {
23243 ecode6 = SWIG_AsVal_int(obj5, &val6);
23244 if (!SWIG_IsOK(ecode6)) {
23245 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23246 }
23247 arg6 = static_cast< int >(val6);
23248 }
23249 {
23250 PyThreadState* __tstate = wxPyBeginAllowThreads();
23251 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23252 wxPyEndAllowThreads(__tstate);
23253 if (PyErr_Occurred()) SWIG_fail;
23254 }
23255 resultobj = SWIG_Py_Void();
23256 return resultobj;
23257 fail:
23258 return NULL;
23259 }
23260
23261
23262 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23263 PyObject *resultobj = 0;
23264 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23265 int arg2 ;
23266 int arg3 ;
23267 void *argp1 = 0 ;
23268 int res1 = 0 ;
23269 int val2 ;
23270 int ecode2 = 0 ;
23271 int val3 ;
23272 int ecode3 = 0 ;
23273 PyObject * obj0 = 0 ;
23274 PyObject * obj1 = 0 ;
23275 PyObject * obj2 = 0 ;
23276 char * kwnames[] = {
23277 (char *) "self",(char *) "width",(char *) "height", NULL
23278 };
23279
23280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23282 if (!SWIG_IsOK(res1)) {
23283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23284 }
23285 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23286 ecode2 = SWIG_AsVal_int(obj1, &val2);
23287 if (!SWIG_IsOK(ecode2)) {
23288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23289 }
23290 arg2 = static_cast< int >(val2);
23291 ecode3 = SWIG_AsVal_int(obj2, &val3);
23292 if (!SWIG_IsOK(ecode3)) {
23293 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23294 }
23295 arg3 = static_cast< int >(val3);
23296 {
23297 PyThreadState* __tstate = wxPyBeginAllowThreads();
23298 (arg1)->DoSetClientSize(arg2,arg3);
23299 wxPyEndAllowThreads(__tstate);
23300 if (PyErr_Occurred()) SWIG_fail;
23301 }
23302 resultobj = SWIG_Py_Void();
23303 return resultobj;
23304 fail:
23305 return NULL;
23306 }
23307
23308
23309 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23310 PyObject *resultobj = 0;
23311 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23312 int arg2 ;
23313 int arg3 ;
23314 void *argp1 = 0 ;
23315 int res1 = 0 ;
23316 int val2 ;
23317 int ecode2 = 0 ;
23318 int val3 ;
23319 int ecode3 = 0 ;
23320 PyObject * obj0 = 0 ;
23321 PyObject * obj1 = 0 ;
23322 PyObject * obj2 = 0 ;
23323 char * kwnames[] = {
23324 (char *) "self",(char *) "x",(char *) "y", NULL
23325 };
23326
23327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23329 if (!SWIG_IsOK(res1)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23331 }
23332 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23333 ecode2 = SWIG_AsVal_int(obj1, &val2);
23334 if (!SWIG_IsOK(ecode2)) {
23335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23336 }
23337 arg2 = static_cast< int >(val2);
23338 ecode3 = SWIG_AsVal_int(obj2, &val3);
23339 if (!SWIG_IsOK(ecode3)) {
23340 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23341 }
23342 arg3 = static_cast< int >(val3);
23343 {
23344 PyThreadState* __tstate = wxPyBeginAllowThreads();
23345 (arg1)->DoSetVirtualSize(arg2,arg3);
23346 wxPyEndAllowThreads(__tstate);
23347 if (PyErr_Occurred()) SWIG_fail;
23348 }
23349 resultobj = SWIG_Py_Void();
23350 return resultobj;
23351 fail:
23352 return NULL;
23353 }
23354
23355
23356 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23357 PyObject *resultobj = 0;
23358 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23359 int *arg2 = (int *) 0 ;
23360 int *arg3 = (int *) 0 ;
23361 void *argp1 = 0 ;
23362 int res1 = 0 ;
23363 int temp2 ;
23364 int res2 = SWIG_TMPOBJ ;
23365 int temp3 ;
23366 int res3 = SWIG_TMPOBJ ;
23367 PyObject *swig_obj[1] ;
23368
23369 arg2 = &temp2;
23370 arg3 = &temp3;
23371 if (!args) SWIG_fail;
23372 swig_obj[0] = args;
23373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23374 if (!SWIG_IsOK(res1)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23376 }
23377 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23378 {
23379 PyThreadState* __tstate = wxPyBeginAllowThreads();
23380 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 resultobj = SWIG_Py_Void();
23385 if (SWIG_IsTmpObj(res2)) {
23386 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23387 } else {
23388 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23389 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23390 }
23391 if (SWIG_IsTmpObj(res3)) {
23392 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23393 } else {
23394 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23395 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23396 }
23397 return resultobj;
23398 fail:
23399 return NULL;
23400 }
23401
23402
23403 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23404 PyObject *resultobj = 0;
23405 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23406 int *arg2 = (int *) 0 ;
23407 int *arg3 = (int *) 0 ;
23408 void *argp1 = 0 ;
23409 int res1 = 0 ;
23410 int temp2 ;
23411 int res2 = SWIG_TMPOBJ ;
23412 int temp3 ;
23413 int res3 = SWIG_TMPOBJ ;
23414 PyObject *swig_obj[1] ;
23415
23416 arg2 = &temp2;
23417 arg3 = &temp3;
23418 if (!args) SWIG_fail;
23419 swig_obj[0] = args;
23420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23421 if (!SWIG_IsOK(res1)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23423 }
23424 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23425 {
23426 PyThreadState* __tstate = wxPyBeginAllowThreads();
23427 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 resultobj = SWIG_Py_Void();
23432 if (SWIG_IsTmpObj(res2)) {
23433 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23434 } else {
23435 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23436 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23437 }
23438 if (SWIG_IsTmpObj(res3)) {
23439 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23440 } else {
23441 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23442 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23443 }
23444 return resultobj;
23445 fail:
23446 return NULL;
23447 }
23448
23449
23450 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23451 PyObject *resultobj = 0;
23452 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23453 int *arg2 = (int *) 0 ;
23454 int *arg3 = (int *) 0 ;
23455 void *argp1 = 0 ;
23456 int res1 = 0 ;
23457 int temp2 ;
23458 int res2 = SWIG_TMPOBJ ;
23459 int temp3 ;
23460 int res3 = SWIG_TMPOBJ ;
23461 PyObject *swig_obj[1] ;
23462
23463 arg2 = &temp2;
23464 arg3 = &temp3;
23465 if (!args) SWIG_fail;
23466 swig_obj[0] = args;
23467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23468 if (!SWIG_IsOK(res1)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23470 }
23471 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23472 {
23473 PyThreadState* __tstate = wxPyBeginAllowThreads();
23474 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23475 wxPyEndAllowThreads(__tstate);
23476 if (PyErr_Occurred()) SWIG_fail;
23477 }
23478 resultobj = SWIG_Py_Void();
23479 if (SWIG_IsTmpObj(res2)) {
23480 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23481 } else {
23482 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23483 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23484 }
23485 if (SWIG_IsTmpObj(res3)) {
23486 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23487 } else {
23488 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23489 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23490 }
23491 return resultobj;
23492 fail:
23493 return NULL;
23494 }
23495
23496
23497 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23498 PyObject *resultobj = 0;
23499 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23500 wxSize 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_wxPyScrolledWindow, 0 | 0 );
23508 if (!SWIG_IsOK(res1)) {
23509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23510 }
23511 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23512 {
23513 PyThreadState* __tstate = wxPyBeginAllowThreads();
23514 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23519 return resultobj;
23520 fail:
23521 return NULL;
23522 }
23523
23524
23525 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23526 PyObject *resultobj = 0;
23527 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23528 wxSize 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_wxPyScrolledWindow, 0 | 0 );
23536 if (!SWIG_IsOK(res1)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23538 }
23539 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23540 {
23541 PyThreadState* __tstate = wxPyBeginAllowThreads();
23542 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23547 return resultobj;
23548 fail:
23549 return NULL;
23550 }
23551
23552
23553 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23554 PyObject *resultobj = 0;
23555 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23556 SwigValueWrapper<wxVisualAttributes > result;
23557 void *argp1 = 0 ;
23558 int res1 = 0 ;
23559 PyObject *swig_obj[1] ;
23560
23561 if (!args) SWIG_fail;
23562 swig_obj[0] = args;
23563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23564 if (!SWIG_IsOK(res1)) {
23565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23566 }
23567 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23568 {
23569 PyThreadState* __tstate = wxPyBeginAllowThreads();
23570 result = (arg1)->GetDefaultAttributes();
23571 wxPyEndAllowThreads(__tstate);
23572 if (PyErr_Occurred()) SWIG_fail;
23573 }
23574 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23575 return resultobj;
23576 fail:
23577 return NULL;
23578 }
23579
23580
23581 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23582 PyObject *resultobj = 0;
23583 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23584 void *argp1 = 0 ;
23585 int res1 = 0 ;
23586 PyObject *swig_obj[1] ;
23587
23588 if (!args) SWIG_fail;
23589 swig_obj[0] = args;
23590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23591 if (!SWIG_IsOK(res1)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23593 }
23594 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
23597 (arg1)->OnInternalIdle();
23598 wxPyEndAllowThreads(__tstate);
23599 if (PyErr_Occurred()) SWIG_fail;
23600 }
23601 resultobj = SWIG_Py_Void();
23602 return resultobj;
23603 fail:
23604 return NULL;
23605 }
23606
23607
23608 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23609 PyObject *obj;
23610 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23611 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23612 return SWIG_Py_Void();
23613 }
23614
23615 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23616 return SWIG_Python_InitShadowInstance(args);
23617 }
23618
23619 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23620 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23621 return 1;
23622 }
23623
23624
23625 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23626 PyObject *pyobj = 0;
23627
23628 {
23629 #if wxUSE_UNICODE
23630 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23631 #else
23632 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23633 #endif
23634 }
23635 return pyobj;
23636 }
23637
23638
23639 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23640 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23641 return 1;
23642 }
23643
23644
23645 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23646 PyObject *pyobj = 0;
23647
23648 {
23649 #if wxUSE_UNICODE
23650 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23651 #else
23652 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23653 #endif
23654 }
23655 return pyobj;
23656 }
23657
23658
23659 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23660 PyObject *resultobj = 0;
23661 wxPrintData *result = 0 ;
23662
23663 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23664 {
23665 PyThreadState* __tstate = wxPyBeginAllowThreads();
23666 result = (wxPrintData *)new wxPrintData();
23667 wxPyEndAllowThreads(__tstate);
23668 if (PyErr_Occurred()) SWIG_fail;
23669 }
23670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23671 return resultobj;
23672 fail:
23673 return NULL;
23674 }
23675
23676
23677 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23678 PyObject *resultobj = 0;
23679 wxPrintData *arg1 = 0 ;
23680 wxPrintData *result = 0 ;
23681 void *argp1 = 0 ;
23682 int res1 = 0 ;
23683
23684 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23686 if (!SWIG_IsOK(res1)) {
23687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23688 }
23689 if (!argp1) {
23690 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23691 }
23692 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23693 {
23694 PyThreadState* __tstate = wxPyBeginAllowThreads();
23695 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23696 wxPyEndAllowThreads(__tstate);
23697 if (PyErr_Occurred()) SWIG_fail;
23698 }
23699 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23700 return resultobj;
23701 fail:
23702 return NULL;
23703 }
23704
23705
23706 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23707 int argc;
23708 PyObject *argv[2];
23709
23710 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23711 --argc;
23712 if (argc == 0) {
23713 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23714 }
23715 if (argc == 1) {
23716 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23717 }
23718
23719 fail:
23720 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23721 return NULL;
23722 }
23723
23724
23725 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23726 PyObject *resultobj = 0;
23727 wxPrintData *arg1 = (wxPrintData *) 0 ;
23728 void *argp1 = 0 ;
23729 int res1 = 0 ;
23730 PyObject *swig_obj[1] ;
23731
23732 if (!args) SWIG_fail;
23733 swig_obj[0] = args;
23734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23735 if (!SWIG_IsOK(res1)) {
23736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23737 }
23738 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23739 {
23740 PyThreadState* __tstate = wxPyBeginAllowThreads();
23741 delete arg1;
23742
23743 wxPyEndAllowThreads(__tstate);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 resultobj = SWIG_Py_Void();
23747 return resultobj;
23748 fail:
23749 return NULL;
23750 }
23751
23752
23753 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23754 PyObject *resultobj = 0;
23755 wxPrintData *arg1 = (wxPrintData *) 0 ;
23756 int result;
23757 void *argp1 = 0 ;
23758 int res1 = 0 ;
23759 PyObject *swig_obj[1] ;
23760
23761 if (!args) SWIG_fail;
23762 swig_obj[0] = args;
23763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23764 if (!SWIG_IsOK(res1)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23766 }
23767 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 result = (int)(arg1)->GetNoCopies();
23771 wxPyEndAllowThreads(__tstate);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 }
23774 resultobj = SWIG_From_int(static_cast< int >(result));
23775 return resultobj;
23776 fail:
23777 return NULL;
23778 }
23779
23780
23781 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23782 PyObject *resultobj = 0;
23783 wxPrintData *arg1 = (wxPrintData *) 0 ;
23784 bool result;
23785 void *argp1 = 0 ;
23786 int res1 = 0 ;
23787 PyObject *swig_obj[1] ;
23788
23789 if (!args) SWIG_fail;
23790 swig_obj[0] = args;
23791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23792 if (!SWIG_IsOK(res1)) {
23793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23794 }
23795 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23796 {
23797 PyThreadState* __tstate = wxPyBeginAllowThreads();
23798 result = (bool)(arg1)->GetCollate();
23799 wxPyEndAllowThreads(__tstate);
23800 if (PyErr_Occurred()) SWIG_fail;
23801 }
23802 {
23803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23804 }
23805 return resultobj;
23806 fail:
23807 return NULL;
23808 }
23809
23810
23811 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23812 PyObject *resultobj = 0;
23813 wxPrintData *arg1 = (wxPrintData *) 0 ;
23814 int result;
23815 void *argp1 = 0 ;
23816 int res1 = 0 ;
23817 PyObject *swig_obj[1] ;
23818
23819 if (!args) SWIG_fail;
23820 swig_obj[0] = args;
23821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23822 if (!SWIG_IsOK(res1)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23824 }
23825 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23826 {
23827 PyThreadState* __tstate = wxPyBeginAllowThreads();
23828 result = (int)(arg1)->GetOrientation();
23829 wxPyEndAllowThreads(__tstate);
23830 if (PyErr_Occurred()) SWIG_fail;
23831 }
23832 resultobj = SWIG_From_int(static_cast< int >(result));
23833 return resultobj;
23834 fail:
23835 return NULL;
23836 }
23837
23838
23839 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23840 PyObject *resultobj = 0;
23841 wxPrintData *arg1 = (wxPrintData *) 0 ;
23842 bool result;
23843 void *argp1 = 0 ;
23844 int res1 = 0 ;
23845 PyObject *swig_obj[1] ;
23846
23847 if (!args) SWIG_fail;
23848 swig_obj[0] = args;
23849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23850 if (!SWIG_IsOK(res1)) {
23851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23852 }
23853 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 result = (bool)(arg1)->Ok();
23857 wxPyEndAllowThreads(__tstate);
23858 if (PyErr_Occurred()) SWIG_fail;
23859 }
23860 {
23861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23862 }
23863 return resultobj;
23864 fail:
23865 return NULL;
23866 }
23867
23868
23869 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23870 PyObject *resultobj = 0;
23871 wxPrintData *arg1 = (wxPrintData *) 0 ;
23872 wxString *result = 0 ;
23873 void *argp1 = 0 ;
23874 int res1 = 0 ;
23875 PyObject *swig_obj[1] ;
23876
23877 if (!args) SWIG_fail;
23878 swig_obj[0] = args;
23879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23880 if (!SWIG_IsOK(res1)) {
23881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23882 }
23883 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23884 {
23885 PyThreadState* __tstate = wxPyBeginAllowThreads();
23886 {
23887 wxString const &_result_ref = (arg1)->GetPrinterName();
23888 result = (wxString *) &_result_ref;
23889 }
23890 wxPyEndAllowThreads(__tstate);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 }
23893 {
23894 #if wxUSE_UNICODE
23895 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23896 #else
23897 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23898 #endif
23899 }
23900 return resultobj;
23901 fail:
23902 return NULL;
23903 }
23904
23905
23906 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23907 PyObject *resultobj = 0;
23908 wxPrintData *arg1 = (wxPrintData *) 0 ;
23909 bool result;
23910 void *argp1 = 0 ;
23911 int res1 = 0 ;
23912 PyObject *swig_obj[1] ;
23913
23914 if (!args) SWIG_fail;
23915 swig_obj[0] = args;
23916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23917 if (!SWIG_IsOK(res1)) {
23918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23919 }
23920 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23921 {
23922 PyThreadState* __tstate = wxPyBeginAllowThreads();
23923 result = (bool)(arg1)->GetColour();
23924 wxPyEndAllowThreads(__tstate);
23925 if (PyErr_Occurred()) SWIG_fail;
23926 }
23927 {
23928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23929 }
23930 return resultobj;
23931 fail:
23932 return NULL;
23933 }
23934
23935
23936 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23937 PyObject *resultobj = 0;
23938 wxPrintData *arg1 = (wxPrintData *) 0 ;
23939 wxDuplexMode result;
23940 void *argp1 = 0 ;
23941 int res1 = 0 ;
23942 PyObject *swig_obj[1] ;
23943
23944 if (!args) SWIG_fail;
23945 swig_obj[0] = args;
23946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23947 if (!SWIG_IsOK(res1)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23949 }
23950 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23951 {
23952 PyThreadState* __tstate = wxPyBeginAllowThreads();
23953 result = (wxDuplexMode)(arg1)->GetDuplex();
23954 wxPyEndAllowThreads(__tstate);
23955 if (PyErr_Occurred()) SWIG_fail;
23956 }
23957 resultobj = SWIG_From_int(static_cast< int >(result));
23958 return resultobj;
23959 fail:
23960 return NULL;
23961 }
23962
23963
23964 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23965 PyObject *resultobj = 0;
23966 wxPrintData *arg1 = (wxPrintData *) 0 ;
23967 wxPaperSize result;
23968 void *argp1 = 0 ;
23969 int res1 = 0 ;
23970 PyObject *swig_obj[1] ;
23971
23972 if (!args) SWIG_fail;
23973 swig_obj[0] = args;
23974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23975 if (!SWIG_IsOK(res1)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23977 }
23978 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23979 {
23980 PyThreadState* __tstate = wxPyBeginAllowThreads();
23981 result = (wxPaperSize)(arg1)->GetPaperId();
23982 wxPyEndAllowThreads(__tstate);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 }
23985 resultobj = SWIG_From_int(static_cast< int >(result));
23986 return resultobj;
23987 fail:
23988 return NULL;
23989 }
23990
23991
23992 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23993 PyObject *resultobj = 0;
23994 wxPrintData *arg1 = (wxPrintData *) 0 ;
23995 wxSize *result = 0 ;
23996 void *argp1 = 0 ;
23997 int res1 = 0 ;
23998 PyObject *swig_obj[1] ;
23999
24000 if (!args) SWIG_fail;
24001 swig_obj[0] = args;
24002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24003 if (!SWIG_IsOK(res1)) {
24004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24005 }
24006 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24007 {
24008 PyThreadState* __tstate = wxPyBeginAllowThreads();
24009 {
24010 wxSize const &_result_ref = (arg1)->GetPaperSize();
24011 result = (wxSize *) &_result_ref;
24012 }
24013 wxPyEndAllowThreads(__tstate);
24014 if (PyErr_Occurred()) SWIG_fail;
24015 }
24016 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24017 return resultobj;
24018 fail:
24019 return NULL;
24020 }
24021
24022
24023 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24024 PyObject *resultobj = 0;
24025 wxPrintData *arg1 = (wxPrintData *) 0 ;
24026 int result;
24027 void *argp1 = 0 ;
24028 int res1 = 0 ;
24029 PyObject *swig_obj[1] ;
24030
24031 if (!args) SWIG_fail;
24032 swig_obj[0] = args;
24033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24034 if (!SWIG_IsOK(res1)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24036 }
24037 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24038 {
24039 PyThreadState* __tstate = wxPyBeginAllowThreads();
24040 result = (int)(arg1)->GetQuality();
24041 wxPyEndAllowThreads(__tstate);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 resultobj = SWIG_From_int(static_cast< int >(result));
24045 return resultobj;
24046 fail:
24047 return NULL;
24048 }
24049
24050
24051 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24052 PyObject *resultobj = 0;
24053 wxPrintData *arg1 = (wxPrintData *) 0 ;
24054 wxPrintBin result;
24055 void *argp1 = 0 ;
24056 int res1 = 0 ;
24057 PyObject *swig_obj[1] ;
24058
24059 if (!args) SWIG_fail;
24060 swig_obj[0] = args;
24061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24062 if (!SWIG_IsOK(res1)) {
24063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24064 }
24065 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24066 {
24067 PyThreadState* __tstate = wxPyBeginAllowThreads();
24068 result = (wxPrintBin)(arg1)->GetBin();
24069 wxPyEndAllowThreads(__tstate);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 }
24072 resultobj = SWIG_From_int(static_cast< int >(result));
24073 return resultobj;
24074 fail:
24075 return NULL;
24076 }
24077
24078
24079 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24080 PyObject *resultobj = 0;
24081 wxPrintData *arg1 = (wxPrintData *) 0 ;
24082 wxPrintMode result;
24083 void *argp1 = 0 ;
24084 int res1 = 0 ;
24085 PyObject *swig_obj[1] ;
24086
24087 if (!args) SWIG_fail;
24088 swig_obj[0] = args;
24089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24090 if (!SWIG_IsOK(res1)) {
24091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24092 }
24093 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24094 {
24095 PyThreadState* __tstate = wxPyBeginAllowThreads();
24096 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24097 wxPyEndAllowThreads(__tstate);
24098 if (PyErr_Occurred()) SWIG_fail;
24099 }
24100 resultobj = SWIG_From_int(static_cast< int >(result));
24101 return resultobj;
24102 fail:
24103 return NULL;
24104 }
24105
24106
24107 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24108 PyObject *resultobj = 0;
24109 wxPrintData *arg1 = (wxPrintData *) 0 ;
24110 int arg2 ;
24111 void *argp1 = 0 ;
24112 int res1 = 0 ;
24113 int val2 ;
24114 int ecode2 = 0 ;
24115 PyObject * obj0 = 0 ;
24116 PyObject * obj1 = 0 ;
24117 char * kwnames[] = {
24118 (char *) "self",(char *) "v", NULL
24119 };
24120
24121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24123 if (!SWIG_IsOK(res1)) {
24124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24125 }
24126 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24127 ecode2 = SWIG_AsVal_int(obj1, &val2);
24128 if (!SWIG_IsOK(ecode2)) {
24129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24130 }
24131 arg2 = static_cast< int >(val2);
24132 {
24133 PyThreadState* __tstate = wxPyBeginAllowThreads();
24134 (arg1)->SetNoCopies(arg2);
24135 wxPyEndAllowThreads(__tstate);
24136 if (PyErr_Occurred()) SWIG_fail;
24137 }
24138 resultobj = SWIG_Py_Void();
24139 return resultobj;
24140 fail:
24141 return NULL;
24142 }
24143
24144
24145 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24146 PyObject *resultobj = 0;
24147 wxPrintData *arg1 = (wxPrintData *) 0 ;
24148 bool arg2 ;
24149 void *argp1 = 0 ;
24150 int res1 = 0 ;
24151 bool val2 ;
24152 int ecode2 = 0 ;
24153 PyObject * obj0 = 0 ;
24154 PyObject * obj1 = 0 ;
24155 char * kwnames[] = {
24156 (char *) "self",(char *) "flag", NULL
24157 };
24158
24159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24161 if (!SWIG_IsOK(res1)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24163 }
24164 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24165 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24166 if (!SWIG_IsOK(ecode2)) {
24167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24168 }
24169 arg2 = static_cast< bool >(val2);
24170 {
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 (arg1)->SetCollate(arg2);
24173 wxPyEndAllowThreads(__tstate);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 }
24176 resultobj = SWIG_Py_Void();
24177 return resultobj;
24178 fail:
24179 return NULL;
24180 }
24181
24182
24183 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24184 PyObject *resultobj = 0;
24185 wxPrintData *arg1 = (wxPrintData *) 0 ;
24186 int arg2 ;
24187 void *argp1 = 0 ;
24188 int res1 = 0 ;
24189 int val2 ;
24190 int ecode2 = 0 ;
24191 PyObject * obj0 = 0 ;
24192 PyObject * obj1 = 0 ;
24193 char * kwnames[] = {
24194 (char *) "self",(char *) "orient", NULL
24195 };
24196
24197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24199 if (!SWIG_IsOK(res1)) {
24200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24201 }
24202 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24203 ecode2 = SWIG_AsVal_int(obj1, &val2);
24204 if (!SWIG_IsOK(ecode2)) {
24205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24206 }
24207 arg2 = static_cast< int >(val2);
24208 {
24209 PyThreadState* __tstate = wxPyBeginAllowThreads();
24210 (arg1)->SetOrientation(arg2);
24211 wxPyEndAllowThreads(__tstate);
24212 if (PyErr_Occurred()) SWIG_fail;
24213 }
24214 resultobj = SWIG_Py_Void();
24215 return resultobj;
24216 fail:
24217 return NULL;
24218 }
24219
24220
24221 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24222 PyObject *resultobj = 0;
24223 wxPrintData *arg1 = (wxPrintData *) 0 ;
24224 wxString *arg2 = 0 ;
24225 void *argp1 = 0 ;
24226 int res1 = 0 ;
24227 bool temp2 = false ;
24228 PyObject * obj0 = 0 ;
24229 PyObject * obj1 = 0 ;
24230 char * kwnames[] = {
24231 (char *) "self",(char *) "name", NULL
24232 };
24233
24234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24236 if (!SWIG_IsOK(res1)) {
24237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24238 }
24239 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24240 {
24241 arg2 = wxString_in_helper(obj1);
24242 if (arg2 == NULL) SWIG_fail;
24243 temp2 = true;
24244 }
24245 {
24246 PyThreadState* __tstate = wxPyBeginAllowThreads();
24247 (arg1)->SetPrinterName((wxString const &)*arg2);
24248 wxPyEndAllowThreads(__tstate);
24249 if (PyErr_Occurred()) SWIG_fail;
24250 }
24251 resultobj = SWIG_Py_Void();
24252 {
24253 if (temp2)
24254 delete arg2;
24255 }
24256 return resultobj;
24257 fail:
24258 {
24259 if (temp2)
24260 delete arg2;
24261 }
24262 return NULL;
24263 }
24264
24265
24266 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24267 PyObject *resultobj = 0;
24268 wxPrintData *arg1 = (wxPrintData *) 0 ;
24269 bool arg2 ;
24270 void *argp1 = 0 ;
24271 int res1 = 0 ;
24272 bool val2 ;
24273 int ecode2 = 0 ;
24274 PyObject * obj0 = 0 ;
24275 PyObject * obj1 = 0 ;
24276 char * kwnames[] = {
24277 (char *) "self",(char *) "colour", NULL
24278 };
24279
24280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24282 if (!SWIG_IsOK(res1)) {
24283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24284 }
24285 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24286 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24287 if (!SWIG_IsOK(ecode2)) {
24288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24289 }
24290 arg2 = static_cast< bool >(val2);
24291 {
24292 PyThreadState* __tstate = wxPyBeginAllowThreads();
24293 (arg1)->SetColour(arg2);
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
24297 resultobj = SWIG_Py_Void();
24298 return resultobj;
24299 fail:
24300 return NULL;
24301 }
24302
24303
24304 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24305 PyObject *resultobj = 0;
24306 wxPrintData *arg1 = (wxPrintData *) 0 ;
24307 wxDuplexMode arg2 ;
24308 void *argp1 = 0 ;
24309 int res1 = 0 ;
24310 int val2 ;
24311 int ecode2 = 0 ;
24312 PyObject * obj0 = 0 ;
24313 PyObject * obj1 = 0 ;
24314 char * kwnames[] = {
24315 (char *) "self",(char *) "duplex", NULL
24316 };
24317
24318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24320 if (!SWIG_IsOK(res1)) {
24321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24322 }
24323 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24324 ecode2 = SWIG_AsVal_int(obj1, &val2);
24325 if (!SWIG_IsOK(ecode2)) {
24326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24327 }
24328 arg2 = static_cast< wxDuplexMode >(val2);
24329 {
24330 PyThreadState* __tstate = wxPyBeginAllowThreads();
24331 (arg1)->SetDuplex(arg2);
24332 wxPyEndAllowThreads(__tstate);
24333 if (PyErr_Occurred()) SWIG_fail;
24334 }
24335 resultobj = SWIG_Py_Void();
24336 return resultobj;
24337 fail:
24338 return NULL;
24339 }
24340
24341
24342 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24343 PyObject *resultobj = 0;
24344 wxPrintData *arg1 = (wxPrintData *) 0 ;
24345 wxPaperSize arg2 ;
24346 void *argp1 = 0 ;
24347 int res1 = 0 ;
24348 int val2 ;
24349 int ecode2 = 0 ;
24350 PyObject * obj0 = 0 ;
24351 PyObject * obj1 = 0 ;
24352 char * kwnames[] = {
24353 (char *) "self",(char *) "sizeId", NULL
24354 };
24355
24356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24358 if (!SWIG_IsOK(res1)) {
24359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24360 }
24361 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24362 ecode2 = SWIG_AsVal_int(obj1, &val2);
24363 if (!SWIG_IsOK(ecode2)) {
24364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24365 }
24366 arg2 = static_cast< wxPaperSize >(val2);
24367 {
24368 PyThreadState* __tstate = wxPyBeginAllowThreads();
24369 (arg1)->SetPaperId(arg2);
24370 wxPyEndAllowThreads(__tstate);
24371 if (PyErr_Occurred()) SWIG_fail;
24372 }
24373 resultobj = SWIG_Py_Void();
24374 return resultobj;
24375 fail:
24376 return NULL;
24377 }
24378
24379
24380 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24381 PyObject *resultobj = 0;
24382 wxPrintData *arg1 = (wxPrintData *) 0 ;
24383 wxSize *arg2 = 0 ;
24384 void *argp1 = 0 ;
24385 int res1 = 0 ;
24386 wxSize temp2 ;
24387 PyObject * obj0 = 0 ;
24388 PyObject * obj1 = 0 ;
24389 char * kwnames[] = {
24390 (char *) "self",(char *) "sz", NULL
24391 };
24392
24393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24395 if (!SWIG_IsOK(res1)) {
24396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24397 }
24398 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24399 {
24400 arg2 = &temp2;
24401 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24402 }
24403 {
24404 PyThreadState* __tstate = wxPyBeginAllowThreads();
24405 (arg1)->SetPaperSize((wxSize const &)*arg2);
24406 wxPyEndAllowThreads(__tstate);
24407 if (PyErr_Occurred()) SWIG_fail;
24408 }
24409 resultobj = SWIG_Py_Void();
24410 return resultobj;
24411 fail:
24412 return NULL;
24413 }
24414
24415
24416 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24417 PyObject *resultobj = 0;
24418 wxPrintData *arg1 = (wxPrintData *) 0 ;
24419 int arg2 ;
24420 void *argp1 = 0 ;
24421 int res1 = 0 ;
24422 int val2 ;
24423 int ecode2 = 0 ;
24424 PyObject * obj0 = 0 ;
24425 PyObject * obj1 = 0 ;
24426 char * kwnames[] = {
24427 (char *) "self",(char *) "quality", NULL
24428 };
24429
24430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24432 if (!SWIG_IsOK(res1)) {
24433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24434 }
24435 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24436 ecode2 = SWIG_AsVal_int(obj1, &val2);
24437 if (!SWIG_IsOK(ecode2)) {
24438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24439 }
24440 arg2 = static_cast< int >(val2);
24441 {
24442 PyThreadState* __tstate = wxPyBeginAllowThreads();
24443 (arg1)->SetQuality(arg2);
24444 wxPyEndAllowThreads(__tstate);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
24447 resultobj = SWIG_Py_Void();
24448 return resultobj;
24449 fail:
24450 return NULL;
24451 }
24452
24453
24454 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj = 0;
24456 wxPrintData *arg1 = (wxPrintData *) 0 ;
24457 wxPrintBin arg2 ;
24458 void *argp1 = 0 ;
24459 int res1 = 0 ;
24460 int val2 ;
24461 int ecode2 = 0 ;
24462 PyObject * obj0 = 0 ;
24463 PyObject * obj1 = 0 ;
24464 char * kwnames[] = {
24465 (char *) "self",(char *) "bin", NULL
24466 };
24467
24468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24470 if (!SWIG_IsOK(res1)) {
24471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24472 }
24473 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24474 ecode2 = SWIG_AsVal_int(obj1, &val2);
24475 if (!SWIG_IsOK(ecode2)) {
24476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24477 }
24478 arg2 = static_cast< wxPrintBin >(val2);
24479 {
24480 PyThreadState* __tstate = wxPyBeginAllowThreads();
24481 (arg1)->SetBin(arg2);
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 resultobj = SWIG_Py_Void();
24486 return resultobj;
24487 fail:
24488 return NULL;
24489 }
24490
24491
24492 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24493 PyObject *resultobj = 0;
24494 wxPrintData *arg1 = (wxPrintData *) 0 ;
24495 wxPrintMode arg2 ;
24496 void *argp1 = 0 ;
24497 int res1 = 0 ;
24498 int val2 ;
24499 int ecode2 = 0 ;
24500 PyObject * obj0 = 0 ;
24501 PyObject * obj1 = 0 ;
24502 char * kwnames[] = {
24503 (char *) "self",(char *) "printMode", NULL
24504 };
24505
24506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24508 if (!SWIG_IsOK(res1)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24510 }
24511 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24512 ecode2 = SWIG_AsVal_int(obj1, &val2);
24513 if (!SWIG_IsOK(ecode2)) {
24514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24515 }
24516 arg2 = static_cast< wxPrintMode >(val2);
24517 {
24518 PyThreadState* __tstate = wxPyBeginAllowThreads();
24519 (arg1)->SetPrintMode(arg2);
24520 wxPyEndAllowThreads(__tstate);
24521 if (PyErr_Occurred()) SWIG_fail;
24522 }
24523 resultobj = SWIG_Py_Void();
24524 return resultobj;
24525 fail:
24526 return NULL;
24527 }
24528
24529
24530 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24531 PyObject *resultobj = 0;
24532 wxPrintData *arg1 = (wxPrintData *) 0 ;
24533 wxString result;
24534 void *argp1 = 0 ;
24535 int res1 = 0 ;
24536 PyObject *swig_obj[1] ;
24537
24538 if (!args) SWIG_fail;
24539 swig_obj[0] = args;
24540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24541 if (!SWIG_IsOK(res1)) {
24542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24543 }
24544 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24545 {
24546 PyThreadState* __tstate = wxPyBeginAllowThreads();
24547 result = ((wxPrintData const *)arg1)->GetFilename();
24548 wxPyEndAllowThreads(__tstate);
24549 if (PyErr_Occurred()) SWIG_fail;
24550 }
24551 {
24552 #if wxUSE_UNICODE
24553 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24554 #else
24555 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24556 #endif
24557 }
24558 return resultobj;
24559 fail:
24560 return NULL;
24561 }
24562
24563
24564 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24565 PyObject *resultobj = 0;
24566 wxPrintData *arg1 = (wxPrintData *) 0 ;
24567 wxString *arg2 = 0 ;
24568 void *argp1 = 0 ;
24569 int res1 = 0 ;
24570 bool temp2 = false ;
24571 PyObject * obj0 = 0 ;
24572 PyObject * obj1 = 0 ;
24573 char * kwnames[] = {
24574 (char *) "self",(char *) "filename", NULL
24575 };
24576
24577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24579 if (!SWIG_IsOK(res1)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24581 }
24582 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24583 {
24584 arg2 = wxString_in_helper(obj1);
24585 if (arg2 == NULL) SWIG_fail;
24586 temp2 = true;
24587 }
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 (arg1)->SetFilename((wxString const &)*arg2);
24591 wxPyEndAllowThreads(__tstate);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 resultobj = SWIG_Py_Void();
24595 {
24596 if (temp2)
24597 delete arg2;
24598 }
24599 return resultobj;
24600 fail:
24601 {
24602 if (temp2)
24603 delete arg2;
24604 }
24605 return NULL;
24606 }
24607
24608
24609 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24610 PyObject *resultobj = 0;
24611 wxPrintData *arg1 = (wxPrintData *) 0 ;
24612 PyObject *result = 0 ;
24613 void *argp1 = 0 ;
24614 int res1 = 0 ;
24615 PyObject *swig_obj[1] ;
24616
24617 if (!args) SWIG_fail;
24618 swig_obj[0] = args;
24619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24620 if (!SWIG_IsOK(res1)) {
24621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24622 }
24623 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24624 {
24625 PyThreadState* __tstate = wxPyBeginAllowThreads();
24626 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24627 wxPyEndAllowThreads(__tstate);
24628 if (PyErr_Occurred()) SWIG_fail;
24629 }
24630 resultobj = result;
24631 return resultobj;
24632 fail:
24633 return NULL;
24634 }
24635
24636
24637 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24638 PyObject *resultobj = 0;
24639 wxPrintData *arg1 = (wxPrintData *) 0 ;
24640 PyObject *arg2 = (PyObject *) 0 ;
24641 void *argp1 = 0 ;
24642 int res1 = 0 ;
24643 PyObject * obj0 = 0 ;
24644 PyObject * obj1 = 0 ;
24645 char * kwnames[] = {
24646 (char *) "self",(char *) "data", NULL
24647 };
24648
24649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24651 if (!SWIG_IsOK(res1)) {
24652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24653 }
24654 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24655 arg2 = obj1;
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 wxPrintData_SetPrivData(arg1,arg2);
24659 wxPyEndAllowThreads(__tstate);
24660 if (PyErr_Occurred()) SWIG_fail;
24661 }
24662 resultobj = SWIG_Py_Void();
24663 return resultobj;
24664 fail:
24665 return NULL;
24666 }
24667
24668
24669 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24670 PyObject *obj;
24671 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24672 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24673 return SWIG_Py_Void();
24674 }
24675
24676 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24677 return SWIG_Python_InitShadowInstance(args);
24678 }
24679
24680 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24681 PyObject *resultobj = 0;
24682 wxPageSetupDialogData *result = 0 ;
24683
24684 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24685 {
24686 PyThreadState* __tstate = wxPyBeginAllowThreads();
24687 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24692 return resultobj;
24693 fail:
24694 return NULL;
24695 }
24696
24697
24698 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24699 PyObject *resultobj = 0;
24700 wxPageSetupDialogData *arg1 = 0 ;
24701 wxPageSetupDialogData *result = 0 ;
24702 void *argp1 = 0 ;
24703 int res1 = 0 ;
24704
24705 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24707 if (!SWIG_IsOK(res1)) {
24708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24709 }
24710 if (!argp1) {
24711 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24712 }
24713 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24714 {
24715 PyThreadState* __tstate = wxPyBeginAllowThreads();
24716 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24717 wxPyEndAllowThreads(__tstate);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24721 return resultobj;
24722 fail:
24723 return NULL;
24724 }
24725
24726
24727 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24728 PyObject *resultobj = 0;
24729 wxPrintData *arg1 = 0 ;
24730 wxPageSetupDialogData *result = 0 ;
24731 void *argp1 = 0 ;
24732 int res1 = 0 ;
24733
24734 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24736 if (!SWIG_IsOK(res1)) {
24737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24738 }
24739 if (!argp1) {
24740 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24741 }
24742 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24743 {
24744 PyThreadState* __tstate = wxPyBeginAllowThreads();
24745 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24746 wxPyEndAllowThreads(__tstate);
24747 if (PyErr_Occurred()) SWIG_fail;
24748 }
24749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24750 return resultobj;
24751 fail:
24752 return NULL;
24753 }
24754
24755
24756 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24757 int argc;
24758 PyObject *argv[2];
24759
24760 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24761 --argc;
24762 if (argc == 0) {
24763 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24764 }
24765 if (argc == 1) {
24766 int _v = 0;
24767 {
24768 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24769 _v = SWIG_CheckState(res);
24770 }
24771 if (!_v) goto check_2;
24772 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24773 }
24774 check_2:
24775
24776 if (argc == 1) {
24777 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24778 }
24779
24780 fail:
24781 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24782 return NULL;
24783 }
24784
24785
24786 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24787 PyObject *resultobj = 0;
24788 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24789 void *argp1 = 0 ;
24790 int res1 = 0 ;
24791 PyObject *swig_obj[1] ;
24792
24793 if (!args) SWIG_fail;
24794 swig_obj[0] = args;
24795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24796 if (!SWIG_IsOK(res1)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24798 }
24799 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 delete arg1;
24803
24804 wxPyEndAllowThreads(__tstate);
24805 if (PyErr_Occurred()) SWIG_fail;
24806 }
24807 resultobj = SWIG_Py_Void();
24808 return resultobj;
24809 fail:
24810 return NULL;
24811 }
24812
24813
24814 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24815 PyObject *resultobj = 0;
24816 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24817 bool arg2 ;
24818 void *argp1 = 0 ;
24819 int res1 = 0 ;
24820 bool val2 ;
24821 int ecode2 = 0 ;
24822 PyObject * obj0 = 0 ;
24823 PyObject * obj1 = 0 ;
24824 char * kwnames[] = {
24825 (char *) "self",(char *) "flag", NULL
24826 };
24827
24828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24830 if (!SWIG_IsOK(res1)) {
24831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24832 }
24833 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24834 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24835 if (!SWIG_IsOK(ecode2)) {
24836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24837 }
24838 arg2 = static_cast< bool >(val2);
24839 {
24840 PyThreadState* __tstate = wxPyBeginAllowThreads();
24841 (arg1)->EnableHelp(arg2);
24842 wxPyEndAllowThreads(__tstate);
24843 if (PyErr_Occurred()) SWIG_fail;
24844 }
24845 resultobj = SWIG_Py_Void();
24846 return resultobj;
24847 fail:
24848 return NULL;
24849 }
24850
24851
24852 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24853 PyObject *resultobj = 0;
24854 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24855 bool arg2 ;
24856 void *argp1 = 0 ;
24857 int res1 = 0 ;
24858 bool val2 ;
24859 int ecode2 = 0 ;
24860 PyObject * obj0 = 0 ;
24861 PyObject * obj1 = 0 ;
24862 char * kwnames[] = {
24863 (char *) "self",(char *) "flag", NULL
24864 };
24865
24866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24868 if (!SWIG_IsOK(res1)) {
24869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24870 }
24871 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24872 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24873 if (!SWIG_IsOK(ecode2)) {
24874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24875 }
24876 arg2 = static_cast< bool >(val2);
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 (arg1)->EnableMargins(arg2);
24880 wxPyEndAllowThreads(__tstate);
24881 if (PyErr_Occurred()) SWIG_fail;
24882 }
24883 resultobj = SWIG_Py_Void();
24884 return resultobj;
24885 fail:
24886 return NULL;
24887 }
24888
24889
24890 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24891 PyObject *resultobj = 0;
24892 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24893 bool arg2 ;
24894 void *argp1 = 0 ;
24895 int res1 = 0 ;
24896 bool val2 ;
24897 int ecode2 = 0 ;
24898 PyObject * obj0 = 0 ;
24899 PyObject * obj1 = 0 ;
24900 char * kwnames[] = {
24901 (char *) "self",(char *) "flag", NULL
24902 };
24903
24904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24906 if (!SWIG_IsOK(res1)) {
24907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24908 }
24909 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24910 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24911 if (!SWIG_IsOK(ecode2)) {
24912 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24913 }
24914 arg2 = static_cast< bool >(val2);
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 (arg1)->EnableOrientation(arg2);
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
24921 resultobj = SWIG_Py_Void();
24922 return resultobj;
24923 fail:
24924 return NULL;
24925 }
24926
24927
24928 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24929 PyObject *resultobj = 0;
24930 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24931 bool arg2 ;
24932 void *argp1 = 0 ;
24933 int res1 = 0 ;
24934 bool val2 ;
24935 int ecode2 = 0 ;
24936 PyObject * obj0 = 0 ;
24937 PyObject * obj1 = 0 ;
24938 char * kwnames[] = {
24939 (char *) "self",(char *) "flag", NULL
24940 };
24941
24942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24944 if (!SWIG_IsOK(res1)) {
24945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24946 }
24947 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24948 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24949 if (!SWIG_IsOK(ecode2)) {
24950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24951 }
24952 arg2 = static_cast< bool >(val2);
24953 {
24954 PyThreadState* __tstate = wxPyBeginAllowThreads();
24955 (arg1)->EnablePaper(arg2);
24956 wxPyEndAllowThreads(__tstate);
24957 if (PyErr_Occurred()) SWIG_fail;
24958 }
24959 resultobj = SWIG_Py_Void();
24960 return resultobj;
24961 fail:
24962 return NULL;
24963 }
24964
24965
24966 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24967 PyObject *resultobj = 0;
24968 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24969 bool arg2 ;
24970 void *argp1 = 0 ;
24971 int res1 = 0 ;
24972 bool val2 ;
24973 int ecode2 = 0 ;
24974 PyObject * obj0 = 0 ;
24975 PyObject * obj1 = 0 ;
24976 char * kwnames[] = {
24977 (char *) "self",(char *) "flag", NULL
24978 };
24979
24980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24982 if (!SWIG_IsOK(res1)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24984 }
24985 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24986 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24987 if (!SWIG_IsOK(ecode2)) {
24988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24989 }
24990 arg2 = static_cast< bool >(val2);
24991 {
24992 PyThreadState* __tstate = wxPyBeginAllowThreads();
24993 (arg1)->EnablePrinter(arg2);
24994 wxPyEndAllowThreads(__tstate);
24995 if (PyErr_Occurred()) SWIG_fail;
24996 }
24997 resultobj = SWIG_Py_Void();
24998 return resultobj;
24999 fail:
25000 return NULL;
25001 }
25002
25003
25004 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25005 PyObject *resultobj = 0;
25006 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25007 bool result;
25008 void *argp1 = 0 ;
25009 int res1 = 0 ;
25010 PyObject *swig_obj[1] ;
25011
25012 if (!args) SWIG_fail;
25013 swig_obj[0] = args;
25014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25015 if (!SWIG_IsOK(res1)) {
25016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25017 }
25018 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25019 {
25020 PyThreadState* __tstate = wxPyBeginAllowThreads();
25021 result = (bool)(arg1)->GetDefaultMinMargins();
25022 wxPyEndAllowThreads(__tstate);
25023 if (PyErr_Occurred()) SWIG_fail;
25024 }
25025 {
25026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25027 }
25028 return resultobj;
25029 fail:
25030 return NULL;
25031 }
25032
25033
25034 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25035 PyObject *resultobj = 0;
25036 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25037 bool result;
25038 void *argp1 = 0 ;
25039 int res1 = 0 ;
25040 PyObject *swig_obj[1] ;
25041
25042 if (!args) SWIG_fail;
25043 swig_obj[0] = args;
25044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25045 if (!SWIG_IsOK(res1)) {
25046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25047 }
25048 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25049 {
25050 PyThreadState* __tstate = wxPyBeginAllowThreads();
25051 result = (bool)(arg1)->GetEnableMargins();
25052 wxPyEndAllowThreads(__tstate);
25053 if (PyErr_Occurred()) SWIG_fail;
25054 }
25055 {
25056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25057 }
25058 return resultobj;
25059 fail:
25060 return NULL;
25061 }
25062
25063
25064 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25065 PyObject *resultobj = 0;
25066 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25067 bool result;
25068 void *argp1 = 0 ;
25069 int res1 = 0 ;
25070 PyObject *swig_obj[1] ;
25071
25072 if (!args) SWIG_fail;
25073 swig_obj[0] = args;
25074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25075 if (!SWIG_IsOK(res1)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25077 }
25078 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 result = (bool)(arg1)->GetEnableOrientation();
25082 wxPyEndAllowThreads(__tstate);
25083 if (PyErr_Occurred()) SWIG_fail;
25084 }
25085 {
25086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25087 }
25088 return resultobj;
25089 fail:
25090 return NULL;
25091 }
25092
25093
25094 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25095 PyObject *resultobj = 0;
25096 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25097 bool result;
25098 void *argp1 = 0 ;
25099 int res1 = 0 ;
25100 PyObject *swig_obj[1] ;
25101
25102 if (!args) SWIG_fail;
25103 swig_obj[0] = args;
25104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25105 if (!SWIG_IsOK(res1)) {
25106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25107 }
25108 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25109 {
25110 PyThreadState* __tstate = wxPyBeginAllowThreads();
25111 result = (bool)(arg1)->GetEnablePaper();
25112 wxPyEndAllowThreads(__tstate);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 }
25115 {
25116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25117 }
25118 return resultobj;
25119 fail:
25120 return NULL;
25121 }
25122
25123
25124 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25125 PyObject *resultobj = 0;
25126 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25127 bool result;
25128 void *argp1 = 0 ;
25129 int res1 = 0 ;
25130 PyObject *swig_obj[1] ;
25131
25132 if (!args) SWIG_fail;
25133 swig_obj[0] = args;
25134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25135 if (!SWIG_IsOK(res1)) {
25136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25137 }
25138 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25139 {
25140 PyThreadState* __tstate = wxPyBeginAllowThreads();
25141 result = (bool)(arg1)->GetEnablePrinter();
25142 wxPyEndAllowThreads(__tstate);
25143 if (PyErr_Occurred()) SWIG_fail;
25144 }
25145 {
25146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25147 }
25148 return resultobj;
25149 fail:
25150 return NULL;
25151 }
25152
25153
25154 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25155 PyObject *resultobj = 0;
25156 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25157 bool result;
25158 void *argp1 = 0 ;
25159 int res1 = 0 ;
25160 PyObject *swig_obj[1] ;
25161
25162 if (!args) SWIG_fail;
25163 swig_obj[0] = args;
25164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25165 if (!SWIG_IsOK(res1)) {
25166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25167 }
25168 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25169 {
25170 PyThreadState* __tstate = wxPyBeginAllowThreads();
25171 result = (bool)(arg1)->GetEnableHelp();
25172 wxPyEndAllowThreads(__tstate);
25173 if (PyErr_Occurred()) SWIG_fail;
25174 }
25175 {
25176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25177 }
25178 return resultobj;
25179 fail:
25180 return NULL;
25181 }
25182
25183
25184 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25185 PyObject *resultobj = 0;
25186 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25187 bool result;
25188 void *argp1 = 0 ;
25189 int res1 = 0 ;
25190 PyObject *swig_obj[1] ;
25191
25192 if (!args) SWIG_fail;
25193 swig_obj[0] = args;
25194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25195 if (!SWIG_IsOK(res1)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25197 }
25198 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25199 {
25200 PyThreadState* __tstate = wxPyBeginAllowThreads();
25201 result = (bool)(arg1)->GetDefaultInfo();
25202 wxPyEndAllowThreads(__tstate);
25203 if (PyErr_Occurred()) SWIG_fail;
25204 }
25205 {
25206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25207 }
25208 return resultobj;
25209 fail:
25210 return NULL;
25211 }
25212
25213
25214 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25215 PyObject *resultobj = 0;
25216 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25217 wxPoint result;
25218 void *argp1 = 0 ;
25219 int res1 = 0 ;
25220 PyObject *swig_obj[1] ;
25221
25222 if (!args) SWIG_fail;
25223 swig_obj[0] = args;
25224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25225 if (!SWIG_IsOK(res1)) {
25226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25227 }
25228 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 result = (arg1)->GetMarginTopLeft();
25232 wxPyEndAllowThreads(__tstate);
25233 if (PyErr_Occurred()) SWIG_fail;
25234 }
25235 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25236 return resultobj;
25237 fail:
25238 return NULL;
25239 }
25240
25241
25242 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25243 PyObject *resultobj = 0;
25244 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25245 wxPoint result;
25246 void *argp1 = 0 ;
25247 int res1 = 0 ;
25248 PyObject *swig_obj[1] ;
25249
25250 if (!args) SWIG_fail;
25251 swig_obj[0] = args;
25252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25253 if (!SWIG_IsOK(res1)) {
25254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25255 }
25256 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25257 {
25258 PyThreadState* __tstate = wxPyBeginAllowThreads();
25259 result = (arg1)->GetMarginBottomRight();
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
25263 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25264 return resultobj;
25265 fail:
25266 return NULL;
25267 }
25268
25269
25270 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25271 PyObject *resultobj = 0;
25272 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25273 wxPoint result;
25274 void *argp1 = 0 ;
25275 int res1 = 0 ;
25276 PyObject *swig_obj[1] ;
25277
25278 if (!args) SWIG_fail;
25279 swig_obj[0] = args;
25280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25281 if (!SWIG_IsOK(res1)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25283 }
25284 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25285 {
25286 PyThreadState* __tstate = wxPyBeginAllowThreads();
25287 result = (arg1)->GetMinMarginTopLeft();
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25292 return resultobj;
25293 fail:
25294 return NULL;
25295 }
25296
25297
25298 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25299 PyObject *resultobj = 0;
25300 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25301 wxPoint result;
25302 void *argp1 = 0 ;
25303 int res1 = 0 ;
25304 PyObject *swig_obj[1] ;
25305
25306 if (!args) SWIG_fail;
25307 swig_obj[0] = args;
25308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25309 if (!SWIG_IsOK(res1)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25311 }
25312 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 result = (arg1)->GetMinMarginBottomRight();
25316 wxPyEndAllowThreads(__tstate);
25317 if (PyErr_Occurred()) SWIG_fail;
25318 }
25319 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25320 return resultobj;
25321 fail:
25322 return NULL;
25323 }
25324
25325
25326 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25327 PyObject *resultobj = 0;
25328 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25329 wxPaperSize result;
25330 void *argp1 = 0 ;
25331 int res1 = 0 ;
25332 PyObject *swig_obj[1] ;
25333
25334 if (!args) SWIG_fail;
25335 swig_obj[0] = args;
25336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25337 if (!SWIG_IsOK(res1)) {
25338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25339 }
25340 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25341 {
25342 PyThreadState* __tstate = wxPyBeginAllowThreads();
25343 result = (wxPaperSize)(arg1)->GetPaperId();
25344 wxPyEndAllowThreads(__tstate);
25345 if (PyErr_Occurred()) SWIG_fail;
25346 }
25347 resultobj = SWIG_From_int(static_cast< int >(result));
25348 return resultobj;
25349 fail:
25350 return NULL;
25351 }
25352
25353
25354 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25355 PyObject *resultobj = 0;
25356 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25357 wxSize result;
25358 void *argp1 = 0 ;
25359 int res1 = 0 ;
25360 PyObject *swig_obj[1] ;
25361
25362 if (!args) SWIG_fail;
25363 swig_obj[0] = args;
25364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25365 if (!SWIG_IsOK(res1)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25367 }
25368 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25369 {
25370 PyThreadState* __tstate = wxPyBeginAllowThreads();
25371 result = (arg1)->GetPaperSize();
25372 wxPyEndAllowThreads(__tstate);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 }
25375 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25376 return resultobj;
25377 fail:
25378 return NULL;
25379 }
25380
25381
25382 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25383 PyObject *resultobj = 0;
25384 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25385 wxPrintData *result = 0 ;
25386 void *argp1 = 0 ;
25387 int res1 = 0 ;
25388 PyObject *swig_obj[1] ;
25389
25390 if (!args) SWIG_fail;
25391 swig_obj[0] = args;
25392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25393 if (!SWIG_IsOK(res1)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25395 }
25396 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25397 {
25398 PyThreadState* __tstate = wxPyBeginAllowThreads();
25399 {
25400 wxPrintData &_result_ref = (arg1)->GetPrintData();
25401 result = (wxPrintData *) &_result_ref;
25402 }
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25407 return resultobj;
25408 fail:
25409 return NULL;
25410 }
25411
25412
25413 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25414 PyObject *resultobj = 0;
25415 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25416 bool result;
25417 void *argp1 = 0 ;
25418 int res1 = 0 ;
25419 PyObject *swig_obj[1] ;
25420
25421 if (!args) SWIG_fail;
25422 swig_obj[0] = args;
25423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25424 if (!SWIG_IsOK(res1)) {
25425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25426 }
25427 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25428 {
25429 PyThreadState* __tstate = wxPyBeginAllowThreads();
25430 result = (bool)(arg1)->Ok();
25431 wxPyEndAllowThreads(__tstate);
25432 if (PyErr_Occurred()) SWIG_fail;
25433 }
25434 {
25435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25436 }
25437 return resultobj;
25438 fail:
25439 return NULL;
25440 }
25441
25442
25443 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25444 PyObject *resultobj = 0;
25445 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25446 bool arg2 ;
25447 void *argp1 = 0 ;
25448 int res1 = 0 ;
25449 bool val2 ;
25450 int ecode2 = 0 ;
25451 PyObject * obj0 = 0 ;
25452 PyObject * obj1 = 0 ;
25453 char * kwnames[] = {
25454 (char *) "self",(char *) "flag", NULL
25455 };
25456
25457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25459 if (!SWIG_IsOK(res1)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25461 }
25462 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25463 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25464 if (!SWIG_IsOK(ecode2)) {
25465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25466 }
25467 arg2 = static_cast< bool >(val2);
25468 {
25469 PyThreadState* __tstate = wxPyBeginAllowThreads();
25470 (arg1)->SetDefaultInfo(arg2);
25471 wxPyEndAllowThreads(__tstate);
25472 if (PyErr_Occurred()) SWIG_fail;
25473 }
25474 resultobj = SWIG_Py_Void();
25475 return resultobj;
25476 fail:
25477 return NULL;
25478 }
25479
25480
25481 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25482 PyObject *resultobj = 0;
25483 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25484 bool arg2 ;
25485 void *argp1 = 0 ;
25486 int res1 = 0 ;
25487 bool val2 ;
25488 int ecode2 = 0 ;
25489 PyObject * obj0 = 0 ;
25490 PyObject * obj1 = 0 ;
25491 char * kwnames[] = {
25492 (char *) "self",(char *) "flag", NULL
25493 };
25494
25495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25497 if (!SWIG_IsOK(res1)) {
25498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25499 }
25500 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25501 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25502 if (!SWIG_IsOK(ecode2)) {
25503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25504 }
25505 arg2 = static_cast< bool >(val2);
25506 {
25507 PyThreadState* __tstate = wxPyBeginAllowThreads();
25508 (arg1)->SetDefaultMinMargins(arg2);
25509 wxPyEndAllowThreads(__tstate);
25510 if (PyErr_Occurred()) SWIG_fail;
25511 }
25512 resultobj = SWIG_Py_Void();
25513 return resultobj;
25514 fail:
25515 return NULL;
25516 }
25517
25518
25519 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25520 PyObject *resultobj = 0;
25521 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25522 wxPoint *arg2 = 0 ;
25523 void *argp1 = 0 ;
25524 int res1 = 0 ;
25525 wxPoint temp2 ;
25526 PyObject * obj0 = 0 ;
25527 PyObject * obj1 = 0 ;
25528 char * kwnames[] = {
25529 (char *) "self",(char *) "pt", NULL
25530 };
25531
25532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25534 if (!SWIG_IsOK(res1)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25536 }
25537 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25538 {
25539 arg2 = &temp2;
25540 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25541 }
25542 {
25543 PyThreadState* __tstate = wxPyBeginAllowThreads();
25544 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25545 wxPyEndAllowThreads(__tstate);
25546 if (PyErr_Occurred()) SWIG_fail;
25547 }
25548 resultobj = SWIG_Py_Void();
25549 return resultobj;
25550 fail:
25551 return NULL;
25552 }
25553
25554
25555 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25556 PyObject *resultobj = 0;
25557 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25558 wxPoint *arg2 = 0 ;
25559 void *argp1 = 0 ;
25560 int res1 = 0 ;
25561 wxPoint temp2 ;
25562 PyObject * obj0 = 0 ;
25563 PyObject * obj1 = 0 ;
25564 char * kwnames[] = {
25565 (char *) "self",(char *) "pt", NULL
25566 };
25567
25568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25570 if (!SWIG_IsOK(res1)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25572 }
25573 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25574 {
25575 arg2 = &temp2;
25576 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25577 }
25578 {
25579 PyThreadState* __tstate = wxPyBeginAllowThreads();
25580 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25581 wxPyEndAllowThreads(__tstate);
25582 if (PyErr_Occurred()) SWIG_fail;
25583 }
25584 resultobj = SWIG_Py_Void();
25585 return resultobj;
25586 fail:
25587 return NULL;
25588 }
25589
25590
25591 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25592 PyObject *resultobj = 0;
25593 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25594 wxPoint *arg2 = 0 ;
25595 void *argp1 = 0 ;
25596 int res1 = 0 ;
25597 wxPoint temp2 ;
25598 PyObject * obj0 = 0 ;
25599 PyObject * obj1 = 0 ;
25600 char * kwnames[] = {
25601 (char *) "self",(char *) "pt", NULL
25602 };
25603
25604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25606 if (!SWIG_IsOK(res1)) {
25607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25608 }
25609 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25610 {
25611 arg2 = &temp2;
25612 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25613 }
25614 {
25615 PyThreadState* __tstate = wxPyBeginAllowThreads();
25616 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25617 wxPyEndAllowThreads(__tstate);
25618 if (PyErr_Occurred()) SWIG_fail;
25619 }
25620 resultobj = SWIG_Py_Void();
25621 return resultobj;
25622 fail:
25623 return NULL;
25624 }
25625
25626
25627 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25628 PyObject *resultobj = 0;
25629 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25630 wxPoint *arg2 = 0 ;
25631 void *argp1 = 0 ;
25632 int res1 = 0 ;
25633 wxPoint temp2 ;
25634 PyObject * obj0 = 0 ;
25635 PyObject * obj1 = 0 ;
25636 char * kwnames[] = {
25637 (char *) "self",(char *) "pt", NULL
25638 };
25639
25640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25642 if (!SWIG_IsOK(res1)) {
25643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25644 }
25645 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25646 {
25647 arg2 = &temp2;
25648 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25649 }
25650 {
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25653 wxPyEndAllowThreads(__tstate);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 }
25656 resultobj = SWIG_Py_Void();
25657 return resultobj;
25658 fail:
25659 return NULL;
25660 }
25661
25662
25663 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25664 PyObject *resultobj = 0;
25665 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25666 wxPaperSize arg2 ;
25667 void *argp1 = 0 ;
25668 int res1 = 0 ;
25669 int val2 ;
25670 int ecode2 = 0 ;
25671 PyObject * obj0 = 0 ;
25672 PyObject * obj1 = 0 ;
25673 char * kwnames[] = {
25674 (char *) "self",(char *) "id", NULL
25675 };
25676
25677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25679 if (!SWIG_IsOK(res1)) {
25680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25681 }
25682 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25683 ecode2 = SWIG_AsVal_int(obj1, &val2);
25684 if (!SWIG_IsOK(ecode2)) {
25685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25686 }
25687 arg2 = static_cast< wxPaperSize >(val2);
25688 {
25689 PyThreadState* __tstate = wxPyBeginAllowThreads();
25690 (arg1)->SetPaperId(arg2);
25691 wxPyEndAllowThreads(__tstate);
25692 if (PyErr_Occurred()) SWIG_fail;
25693 }
25694 resultobj = SWIG_Py_Void();
25695 return resultobj;
25696 fail:
25697 return NULL;
25698 }
25699
25700
25701 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25702 PyObject *resultobj = 0;
25703 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25704 wxSize *arg2 = 0 ;
25705 void *argp1 = 0 ;
25706 int res1 = 0 ;
25707 wxSize temp2 ;
25708 PyObject * obj0 = 0 ;
25709 PyObject * obj1 = 0 ;
25710 char * kwnames[] = {
25711 (char *) "self",(char *) "size", NULL
25712 };
25713
25714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25716 if (!SWIG_IsOK(res1)) {
25717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25718 }
25719 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25720 {
25721 arg2 = &temp2;
25722 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25723 }
25724 {
25725 PyThreadState* __tstate = wxPyBeginAllowThreads();
25726 (arg1)->SetPaperSize((wxSize const &)*arg2);
25727 wxPyEndAllowThreads(__tstate);
25728 if (PyErr_Occurred()) SWIG_fail;
25729 }
25730 resultobj = SWIG_Py_Void();
25731 return resultobj;
25732 fail:
25733 return NULL;
25734 }
25735
25736
25737 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25738 PyObject *resultobj = 0;
25739 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25740 wxPrintData *arg2 = 0 ;
25741 void *argp1 = 0 ;
25742 int res1 = 0 ;
25743 void *argp2 = 0 ;
25744 int res2 = 0 ;
25745 PyObject * obj0 = 0 ;
25746 PyObject * obj1 = 0 ;
25747 char * kwnames[] = {
25748 (char *) "self",(char *) "printData", NULL
25749 };
25750
25751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25753 if (!SWIG_IsOK(res1)) {
25754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25755 }
25756 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25757 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25758 if (!SWIG_IsOK(res2)) {
25759 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25760 }
25761 if (!argp2) {
25762 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25763 }
25764 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25765 {
25766 PyThreadState* __tstate = wxPyBeginAllowThreads();
25767 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25768 wxPyEndAllowThreads(__tstate);
25769 if (PyErr_Occurred()) SWIG_fail;
25770 }
25771 resultobj = SWIG_Py_Void();
25772 return resultobj;
25773 fail:
25774 return NULL;
25775 }
25776
25777
25778 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25779 PyObject *resultobj = 0;
25780 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25781 void *argp1 = 0 ;
25782 int res1 = 0 ;
25783 PyObject *swig_obj[1] ;
25784
25785 if (!args) SWIG_fail;
25786 swig_obj[0] = args;
25787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25788 if (!SWIG_IsOK(res1)) {
25789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25790 }
25791 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25792 {
25793 PyThreadState* __tstate = wxPyBeginAllowThreads();
25794 (arg1)->CalculateIdFromPaperSize();
25795 wxPyEndAllowThreads(__tstate);
25796 if (PyErr_Occurred()) SWIG_fail;
25797 }
25798 resultobj = SWIG_Py_Void();
25799 return resultobj;
25800 fail:
25801 return NULL;
25802 }
25803
25804
25805 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25806 PyObject *resultobj = 0;
25807 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25808 void *argp1 = 0 ;
25809 int res1 = 0 ;
25810 PyObject *swig_obj[1] ;
25811
25812 if (!args) SWIG_fail;
25813 swig_obj[0] = args;
25814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25815 if (!SWIG_IsOK(res1)) {
25816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25817 }
25818 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 (arg1)->CalculatePaperSizeFromId();
25822 wxPyEndAllowThreads(__tstate);
25823 if (PyErr_Occurred()) SWIG_fail;
25824 }
25825 resultobj = SWIG_Py_Void();
25826 return resultobj;
25827 fail:
25828 return NULL;
25829 }
25830
25831
25832 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25833 PyObject *obj;
25834 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25835 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25836 return SWIG_Py_Void();
25837 }
25838
25839 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25840 return SWIG_Python_InitShadowInstance(args);
25841 }
25842
25843 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25844 PyObject *resultobj = 0;
25845 wxWindow *arg1 = (wxWindow *) 0 ;
25846 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25847 wxPageSetupDialog *result = 0 ;
25848 void *argp1 = 0 ;
25849 int res1 = 0 ;
25850 void *argp2 = 0 ;
25851 int res2 = 0 ;
25852 PyObject * obj0 = 0 ;
25853 PyObject * obj1 = 0 ;
25854 char * kwnames[] = {
25855 (char *) "parent",(char *) "data", NULL
25856 };
25857
25858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25860 if (!SWIG_IsOK(res1)) {
25861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25862 }
25863 arg1 = reinterpret_cast< wxWindow * >(argp1);
25864 if (obj1) {
25865 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25866 if (!SWIG_IsOK(res2)) {
25867 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25868 }
25869 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25870 }
25871 {
25872 if (!wxPyCheckForApp()) SWIG_fail;
25873 PyThreadState* __tstate = wxPyBeginAllowThreads();
25874 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25875 wxPyEndAllowThreads(__tstate);
25876 if (PyErr_Occurred()) SWIG_fail;
25877 }
25878 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25879 return resultobj;
25880 fail:
25881 return NULL;
25882 }
25883
25884
25885 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25886 PyObject *resultobj = 0;
25887 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25888 void *argp1 = 0 ;
25889 int res1 = 0 ;
25890 PyObject *swig_obj[1] ;
25891
25892 if (!args) SWIG_fail;
25893 swig_obj[0] = args;
25894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25895 if (!SWIG_IsOK(res1)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25897 }
25898 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25899 {
25900 PyThreadState* __tstate = wxPyBeginAllowThreads();
25901 delete arg1;
25902
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 resultobj = SWIG_Py_Void();
25907 return resultobj;
25908 fail:
25909 return NULL;
25910 }
25911
25912
25913 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25914 PyObject *resultobj = 0;
25915 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25916 wxPageSetupDialogData *result = 0 ;
25917 void *argp1 = 0 ;
25918 int res1 = 0 ;
25919 PyObject *swig_obj[1] ;
25920
25921 if (!args) SWIG_fail;
25922 swig_obj[0] = args;
25923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25924 if (!SWIG_IsOK(res1)) {
25925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25926 }
25927 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25928 {
25929 PyThreadState* __tstate = wxPyBeginAllowThreads();
25930 {
25931 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25932 result = (wxPageSetupDialogData *) &_result_ref;
25933 }
25934 wxPyEndAllowThreads(__tstate);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
25937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25938 return resultobj;
25939 fail:
25940 return NULL;
25941 }
25942
25943
25944 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25945 PyObject *resultobj = 0;
25946 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25947 wxPageSetupDialogData *result = 0 ;
25948 void *argp1 = 0 ;
25949 int res1 = 0 ;
25950 PyObject *swig_obj[1] ;
25951
25952 if (!args) SWIG_fail;
25953 swig_obj[0] = args;
25954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25955 if (!SWIG_IsOK(res1)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25957 }
25958 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25959 {
25960 PyThreadState* __tstate = wxPyBeginAllowThreads();
25961 {
25962 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25963 result = (wxPageSetupDialogData *) &_result_ref;
25964 }
25965 wxPyEndAllowThreads(__tstate);
25966 if (PyErr_Occurred()) SWIG_fail;
25967 }
25968 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25969 return resultobj;
25970 fail:
25971 return NULL;
25972 }
25973
25974
25975 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25976 PyObject *resultobj = 0;
25977 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25978 int result;
25979 void *argp1 = 0 ;
25980 int res1 = 0 ;
25981 PyObject *swig_obj[1] ;
25982
25983 if (!args) SWIG_fail;
25984 swig_obj[0] = args;
25985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25986 if (!SWIG_IsOK(res1)) {
25987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25988 }
25989 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25990 {
25991 PyThreadState* __tstate = wxPyBeginAllowThreads();
25992 result = (int)(arg1)->ShowModal();
25993 wxPyEndAllowThreads(__tstate);
25994 if (PyErr_Occurred()) SWIG_fail;
25995 }
25996 resultobj = SWIG_From_int(static_cast< int >(result));
25997 return resultobj;
25998 fail:
25999 return NULL;
26000 }
26001
26002
26003 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26004 PyObject *obj;
26005 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26006 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26007 return SWIG_Py_Void();
26008 }
26009
26010 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26011 return SWIG_Python_InitShadowInstance(args);
26012 }
26013
26014 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26015 PyObject *resultobj = 0;
26016 wxPrintDialogData *result = 0 ;
26017
26018 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26019 {
26020 PyThreadState* __tstate = wxPyBeginAllowThreads();
26021 result = (wxPrintDialogData *)new wxPrintDialogData();
26022 wxPyEndAllowThreads(__tstate);
26023 if (PyErr_Occurred()) SWIG_fail;
26024 }
26025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26026 return resultobj;
26027 fail:
26028 return NULL;
26029 }
26030
26031
26032 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26033 PyObject *resultobj = 0;
26034 wxPrintData *arg1 = 0 ;
26035 wxPrintDialogData *result = 0 ;
26036 void *argp1 = 0 ;
26037 int res1 = 0 ;
26038
26039 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26041 if (!SWIG_IsOK(res1)) {
26042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26043 }
26044 if (!argp1) {
26045 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26046 }
26047 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26048 {
26049 PyThreadState* __tstate = wxPyBeginAllowThreads();
26050 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26051 wxPyEndAllowThreads(__tstate);
26052 if (PyErr_Occurred()) SWIG_fail;
26053 }
26054 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26055 return resultobj;
26056 fail:
26057 return NULL;
26058 }
26059
26060
26061 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26062 PyObject *resultobj = 0;
26063 wxPrintDialogData *arg1 = 0 ;
26064 wxPrintDialogData *result = 0 ;
26065 void *argp1 = 0 ;
26066 int res1 = 0 ;
26067
26068 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26070 if (!SWIG_IsOK(res1)) {
26071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26072 }
26073 if (!argp1) {
26074 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26075 }
26076 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26077 {
26078 PyThreadState* __tstate = wxPyBeginAllowThreads();
26079 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26080 wxPyEndAllowThreads(__tstate);
26081 if (PyErr_Occurred()) SWIG_fail;
26082 }
26083 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26084 return resultobj;
26085 fail:
26086 return NULL;
26087 }
26088
26089
26090 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26091 int argc;
26092 PyObject *argv[2];
26093
26094 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26095 --argc;
26096 if (argc == 0) {
26097 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26098 }
26099 if (argc == 1) {
26100 int _v = 0;
26101 {
26102 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26103 _v = SWIG_CheckState(res);
26104 }
26105 if (!_v) goto check_2;
26106 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26107 }
26108 check_2:
26109
26110 if (argc == 1) {
26111 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26112 }
26113
26114 fail:
26115 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26116 return NULL;
26117 }
26118
26119
26120 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26121 PyObject *resultobj = 0;
26122 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26123 void *argp1 = 0 ;
26124 int res1 = 0 ;
26125 PyObject *swig_obj[1] ;
26126
26127 if (!args) SWIG_fail;
26128 swig_obj[0] = args;
26129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26130 if (!SWIG_IsOK(res1)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26132 }
26133 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26134 {
26135 PyThreadState* __tstate = wxPyBeginAllowThreads();
26136 delete arg1;
26137
26138 wxPyEndAllowThreads(__tstate);
26139 if (PyErr_Occurred()) SWIG_fail;
26140 }
26141 resultobj = SWIG_Py_Void();
26142 return resultobj;
26143 fail:
26144 return NULL;
26145 }
26146
26147
26148 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26149 PyObject *resultobj = 0;
26150 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26151 int result;
26152 void *argp1 = 0 ;
26153 int res1 = 0 ;
26154 PyObject *swig_obj[1] ;
26155
26156 if (!args) SWIG_fail;
26157 swig_obj[0] = args;
26158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26159 if (!SWIG_IsOK(res1)) {
26160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26161 }
26162 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26163 {
26164 PyThreadState* __tstate = wxPyBeginAllowThreads();
26165 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26166 wxPyEndAllowThreads(__tstate);
26167 if (PyErr_Occurred()) SWIG_fail;
26168 }
26169 resultobj = SWIG_From_int(static_cast< int >(result));
26170 return resultobj;
26171 fail:
26172 return NULL;
26173 }
26174
26175
26176 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26177 PyObject *resultobj = 0;
26178 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26179 int result;
26180 void *argp1 = 0 ;
26181 int res1 = 0 ;
26182 PyObject *swig_obj[1] ;
26183
26184 if (!args) SWIG_fail;
26185 swig_obj[0] = args;
26186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26187 if (!SWIG_IsOK(res1)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26189 }
26190 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26191 {
26192 PyThreadState* __tstate = wxPyBeginAllowThreads();
26193 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26194 wxPyEndAllowThreads(__tstate);
26195 if (PyErr_Occurred()) SWIG_fail;
26196 }
26197 resultobj = SWIG_From_int(static_cast< int >(result));
26198 return resultobj;
26199 fail:
26200 return NULL;
26201 }
26202
26203
26204 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26205 PyObject *resultobj = 0;
26206 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26207 int result;
26208 void *argp1 = 0 ;
26209 int res1 = 0 ;
26210 PyObject *swig_obj[1] ;
26211
26212 if (!args) SWIG_fail;
26213 swig_obj[0] = args;
26214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26215 if (!SWIG_IsOK(res1)) {
26216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26217 }
26218 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26219 {
26220 PyThreadState* __tstate = wxPyBeginAllowThreads();
26221 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26222 wxPyEndAllowThreads(__tstate);
26223 if (PyErr_Occurred()) SWIG_fail;
26224 }
26225 resultobj = SWIG_From_int(static_cast< int >(result));
26226 return resultobj;
26227 fail:
26228 return NULL;
26229 }
26230
26231
26232 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26233 PyObject *resultobj = 0;
26234 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26235 int result;
26236 void *argp1 = 0 ;
26237 int res1 = 0 ;
26238 PyObject *swig_obj[1] ;
26239
26240 if (!args) SWIG_fail;
26241 swig_obj[0] = args;
26242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26243 if (!SWIG_IsOK(res1)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26245 }
26246 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26247 {
26248 PyThreadState* __tstate = wxPyBeginAllowThreads();
26249 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
26253 resultobj = SWIG_From_int(static_cast< int >(result));
26254 return resultobj;
26255 fail:
26256 return NULL;
26257 }
26258
26259
26260 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26261 PyObject *resultobj = 0;
26262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26263 int result;
26264 void *argp1 = 0 ;
26265 int res1 = 0 ;
26266 PyObject *swig_obj[1] ;
26267
26268 if (!args) SWIG_fail;
26269 swig_obj[0] = args;
26270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26271 if (!SWIG_IsOK(res1)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26273 }
26274 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26275 {
26276 PyThreadState* __tstate = wxPyBeginAllowThreads();
26277 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26278 wxPyEndAllowThreads(__tstate);
26279 if (PyErr_Occurred()) SWIG_fail;
26280 }
26281 resultobj = SWIG_From_int(static_cast< int >(result));
26282 return resultobj;
26283 fail:
26284 return NULL;
26285 }
26286
26287
26288 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26289 PyObject *resultobj = 0;
26290 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26291 bool result;
26292 void *argp1 = 0 ;
26293 int res1 = 0 ;
26294 PyObject *swig_obj[1] ;
26295
26296 if (!args) SWIG_fail;
26297 swig_obj[0] = args;
26298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26299 if (!SWIG_IsOK(res1)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26301 }
26302 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26303 {
26304 PyThreadState* __tstate = wxPyBeginAllowThreads();
26305 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26306 wxPyEndAllowThreads(__tstate);
26307 if (PyErr_Occurred()) SWIG_fail;
26308 }
26309 {
26310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26311 }
26312 return resultobj;
26313 fail:
26314 return NULL;
26315 }
26316
26317
26318 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26319 PyObject *resultobj = 0;
26320 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26321 bool result;
26322 void *argp1 = 0 ;
26323 int res1 = 0 ;
26324 PyObject *swig_obj[1] ;
26325
26326 if (!args) SWIG_fail;
26327 swig_obj[0] = args;
26328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26329 if (!SWIG_IsOK(res1)) {
26330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26331 }
26332 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26333 {
26334 PyThreadState* __tstate = wxPyBeginAllowThreads();
26335 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26336 wxPyEndAllowThreads(__tstate);
26337 if (PyErr_Occurred()) SWIG_fail;
26338 }
26339 {
26340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26341 }
26342 return resultobj;
26343 fail:
26344 return NULL;
26345 }
26346
26347
26348 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(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_GetCollate" "', 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)->GetCollate();
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_GetPrintToFile(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_GetPrintToFile" "', 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)->GetPrintToFile();
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_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26409 PyObject *resultobj = 0;
26410 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26411 int arg2 ;
26412 void *argp1 = 0 ;
26413 int res1 = 0 ;
26414 int val2 ;
26415 int ecode2 = 0 ;
26416 PyObject * obj0 = 0 ;
26417 PyObject * obj1 = 0 ;
26418 char * kwnames[] = {
26419 (char *) "self",(char *) "v", NULL
26420 };
26421
26422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26424 if (!SWIG_IsOK(res1)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26426 }
26427 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26428 ecode2 = SWIG_AsVal_int(obj1, &val2);
26429 if (!SWIG_IsOK(ecode2)) {
26430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26431 }
26432 arg2 = static_cast< int >(val2);
26433 {
26434 PyThreadState* __tstate = wxPyBeginAllowThreads();
26435 (arg1)->SetFromPage(arg2);
26436 wxPyEndAllowThreads(__tstate);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 }
26439 resultobj = SWIG_Py_Void();
26440 return resultobj;
26441 fail:
26442 return NULL;
26443 }
26444
26445
26446 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26447 PyObject *resultobj = 0;
26448 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26449 int arg2 ;
26450 void *argp1 = 0 ;
26451 int res1 = 0 ;
26452 int val2 ;
26453 int ecode2 = 0 ;
26454 PyObject * obj0 = 0 ;
26455 PyObject * obj1 = 0 ;
26456 char * kwnames[] = {
26457 (char *) "self",(char *) "v", NULL
26458 };
26459
26460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26462 if (!SWIG_IsOK(res1)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26464 }
26465 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26466 ecode2 = SWIG_AsVal_int(obj1, &val2);
26467 if (!SWIG_IsOK(ecode2)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26469 }
26470 arg2 = static_cast< int >(val2);
26471 {
26472 PyThreadState* __tstate = wxPyBeginAllowThreads();
26473 (arg1)->SetToPage(arg2);
26474 wxPyEndAllowThreads(__tstate);
26475 if (PyErr_Occurred()) SWIG_fail;
26476 }
26477 resultobj = SWIG_Py_Void();
26478 return resultobj;
26479 fail:
26480 return NULL;
26481 }
26482
26483
26484 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26485 PyObject *resultobj = 0;
26486 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26487 int arg2 ;
26488 void *argp1 = 0 ;
26489 int res1 = 0 ;
26490 int val2 ;
26491 int ecode2 = 0 ;
26492 PyObject * obj0 = 0 ;
26493 PyObject * obj1 = 0 ;
26494 char * kwnames[] = {
26495 (char *) "self",(char *) "v", NULL
26496 };
26497
26498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26500 if (!SWIG_IsOK(res1)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26502 }
26503 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26504 ecode2 = SWIG_AsVal_int(obj1, &val2);
26505 if (!SWIG_IsOK(ecode2)) {
26506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26507 }
26508 arg2 = static_cast< int >(val2);
26509 {
26510 PyThreadState* __tstate = wxPyBeginAllowThreads();
26511 (arg1)->SetMinPage(arg2);
26512 wxPyEndAllowThreads(__tstate);
26513 if (PyErr_Occurred()) SWIG_fail;
26514 }
26515 resultobj = SWIG_Py_Void();
26516 return resultobj;
26517 fail:
26518 return NULL;
26519 }
26520
26521
26522 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26523 PyObject *resultobj = 0;
26524 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26525 int arg2 ;
26526 void *argp1 = 0 ;
26527 int res1 = 0 ;
26528 int val2 ;
26529 int ecode2 = 0 ;
26530 PyObject * obj0 = 0 ;
26531 PyObject * obj1 = 0 ;
26532 char * kwnames[] = {
26533 (char *) "self",(char *) "v", NULL
26534 };
26535
26536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26538 if (!SWIG_IsOK(res1)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26540 }
26541 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26542 ecode2 = SWIG_AsVal_int(obj1, &val2);
26543 if (!SWIG_IsOK(ecode2)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26545 }
26546 arg2 = static_cast< int >(val2);
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 (arg1)->SetMaxPage(arg2);
26550 wxPyEndAllowThreads(__tstate);
26551 if (PyErr_Occurred()) SWIG_fail;
26552 }
26553 resultobj = SWIG_Py_Void();
26554 return resultobj;
26555 fail:
26556 return NULL;
26557 }
26558
26559
26560 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26561 PyObject *resultobj = 0;
26562 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26563 int arg2 ;
26564 void *argp1 = 0 ;
26565 int res1 = 0 ;
26566 int val2 ;
26567 int ecode2 = 0 ;
26568 PyObject * obj0 = 0 ;
26569 PyObject * obj1 = 0 ;
26570 char * kwnames[] = {
26571 (char *) "self",(char *) "v", NULL
26572 };
26573
26574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26576 if (!SWIG_IsOK(res1)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26578 }
26579 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26580 ecode2 = SWIG_AsVal_int(obj1, &val2);
26581 if (!SWIG_IsOK(ecode2)) {
26582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26583 }
26584 arg2 = static_cast< int >(val2);
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 (arg1)->SetNoCopies(arg2);
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 resultobj = SWIG_Py_Void();
26592 return resultobj;
26593 fail:
26594 return NULL;
26595 }
26596
26597
26598 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26599 PyObject *resultobj = 0;
26600 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26601 bool arg2 ;
26602 void *argp1 = 0 ;
26603 int res1 = 0 ;
26604 bool val2 ;
26605 int ecode2 = 0 ;
26606 PyObject * obj0 = 0 ;
26607 PyObject * obj1 = 0 ;
26608 char * kwnames[] = {
26609 (char *) "self",(char *) "flag", NULL
26610 };
26611
26612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26614 if (!SWIG_IsOK(res1)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26616 }
26617 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26618 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26619 if (!SWIG_IsOK(ecode2)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26621 }
26622 arg2 = static_cast< bool >(val2);
26623 {
26624 PyThreadState* __tstate = wxPyBeginAllowThreads();
26625 (arg1)->SetAllPages(arg2);
26626 wxPyEndAllowThreads(__tstate);
26627 if (PyErr_Occurred()) SWIG_fail;
26628 }
26629 resultobj = SWIG_Py_Void();
26630 return resultobj;
26631 fail:
26632 return NULL;
26633 }
26634
26635
26636 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26637 PyObject *resultobj = 0;
26638 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26639 bool arg2 ;
26640 void *argp1 = 0 ;
26641 int res1 = 0 ;
26642 bool val2 ;
26643 int ecode2 = 0 ;
26644 PyObject * obj0 = 0 ;
26645 PyObject * obj1 = 0 ;
26646 char * kwnames[] = {
26647 (char *) "self",(char *) "flag", NULL
26648 };
26649
26650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26652 if (!SWIG_IsOK(res1)) {
26653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26654 }
26655 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26656 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26657 if (!SWIG_IsOK(ecode2)) {
26658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26659 }
26660 arg2 = static_cast< bool >(val2);
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 (arg1)->SetSelection(arg2);
26664 wxPyEndAllowThreads(__tstate);
26665 if (PyErr_Occurred()) SWIG_fail;
26666 }
26667 resultobj = SWIG_Py_Void();
26668 return resultobj;
26669 fail:
26670 return NULL;
26671 }
26672
26673
26674 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26675 PyObject *resultobj = 0;
26676 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26677 bool arg2 ;
26678 void *argp1 = 0 ;
26679 int res1 = 0 ;
26680 bool val2 ;
26681 int ecode2 = 0 ;
26682 PyObject * obj0 = 0 ;
26683 PyObject * obj1 = 0 ;
26684 char * kwnames[] = {
26685 (char *) "self",(char *) "flag", NULL
26686 };
26687
26688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26690 if (!SWIG_IsOK(res1)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26692 }
26693 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26694 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26695 if (!SWIG_IsOK(ecode2)) {
26696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26697 }
26698 arg2 = static_cast< bool >(val2);
26699 {
26700 PyThreadState* __tstate = wxPyBeginAllowThreads();
26701 (arg1)->SetCollate(arg2);
26702 wxPyEndAllowThreads(__tstate);
26703 if (PyErr_Occurred()) SWIG_fail;
26704 }
26705 resultobj = SWIG_Py_Void();
26706 return resultobj;
26707 fail:
26708 return NULL;
26709 }
26710
26711
26712 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26713 PyObject *resultobj = 0;
26714 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26715 bool arg2 ;
26716 void *argp1 = 0 ;
26717 int res1 = 0 ;
26718 bool val2 ;
26719 int ecode2 = 0 ;
26720 PyObject * obj0 = 0 ;
26721 PyObject * obj1 = 0 ;
26722 char * kwnames[] = {
26723 (char *) "self",(char *) "flag", NULL
26724 };
26725
26726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26728 if (!SWIG_IsOK(res1)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26730 }
26731 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26732 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26733 if (!SWIG_IsOK(ecode2)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26735 }
26736 arg2 = static_cast< bool >(val2);
26737 {
26738 PyThreadState* __tstate = wxPyBeginAllowThreads();
26739 (arg1)->SetPrintToFile(arg2);
26740 wxPyEndAllowThreads(__tstate);
26741 if (PyErr_Occurred()) SWIG_fail;
26742 }
26743 resultobj = SWIG_Py_Void();
26744 return resultobj;
26745 fail:
26746 return NULL;
26747 }
26748
26749
26750 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26751 PyObject *resultobj = 0;
26752 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26753 bool arg2 ;
26754 void *argp1 = 0 ;
26755 int res1 = 0 ;
26756 bool val2 ;
26757 int ecode2 = 0 ;
26758 PyObject * obj0 = 0 ;
26759 PyObject * obj1 = 0 ;
26760 char * kwnames[] = {
26761 (char *) "self",(char *) "flag", NULL
26762 };
26763
26764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26766 if (!SWIG_IsOK(res1)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26768 }
26769 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26770 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26771 if (!SWIG_IsOK(ecode2)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26773 }
26774 arg2 = static_cast< bool >(val2);
26775 {
26776 PyThreadState* __tstate = wxPyBeginAllowThreads();
26777 (arg1)->EnablePrintToFile(arg2);
26778 wxPyEndAllowThreads(__tstate);
26779 if (PyErr_Occurred()) SWIG_fail;
26780 }
26781 resultobj = SWIG_Py_Void();
26782 return resultobj;
26783 fail:
26784 return NULL;
26785 }
26786
26787
26788 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26789 PyObject *resultobj = 0;
26790 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26791 bool arg2 ;
26792 void *argp1 = 0 ;
26793 int res1 = 0 ;
26794 bool val2 ;
26795 int ecode2 = 0 ;
26796 PyObject * obj0 = 0 ;
26797 PyObject * obj1 = 0 ;
26798 char * kwnames[] = {
26799 (char *) "self",(char *) "flag", NULL
26800 };
26801
26802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26804 if (!SWIG_IsOK(res1)) {
26805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26806 }
26807 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26808 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26809 if (!SWIG_IsOK(ecode2)) {
26810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26811 }
26812 arg2 = static_cast< bool >(val2);
26813 {
26814 PyThreadState* __tstate = wxPyBeginAllowThreads();
26815 (arg1)->EnableSelection(arg2);
26816 wxPyEndAllowThreads(__tstate);
26817 if (PyErr_Occurred()) SWIG_fail;
26818 }
26819 resultobj = SWIG_Py_Void();
26820 return resultobj;
26821 fail:
26822 return NULL;
26823 }
26824
26825
26826 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26827 PyObject *resultobj = 0;
26828 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26829 bool arg2 ;
26830 void *argp1 = 0 ;
26831 int res1 = 0 ;
26832 bool val2 ;
26833 int ecode2 = 0 ;
26834 PyObject * obj0 = 0 ;
26835 PyObject * obj1 = 0 ;
26836 char * kwnames[] = {
26837 (char *) "self",(char *) "flag", NULL
26838 };
26839
26840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26842 if (!SWIG_IsOK(res1)) {
26843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26844 }
26845 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26846 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26847 if (!SWIG_IsOK(ecode2)) {
26848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26849 }
26850 arg2 = static_cast< bool >(val2);
26851 {
26852 PyThreadState* __tstate = wxPyBeginAllowThreads();
26853 (arg1)->EnablePageNumbers(arg2);
26854 wxPyEndAllowThreads(__tstate);
26855 if (PyErr_Occurred()) SWIG_fail;
26856 }
26857 resultobj = SWIG_Py_Void();
26858 return resultobj;
26859 fail:
26860 return NULL;
26861 }
26862
26863
26864 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26865 PyObject *resultobj = 0;
26866 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26867 bool arg2 ;
26868 void *argp1 = 0 ;
26869 int res1 = 0 ;
26870 bool val2 ;
26871 int ecode2 = 0 ;
26872 PyObject * obj0 = 0 ;
26873 PyObject * obj1 = 0 ;
26874 char * kwnames[] = {
26875 (char *) "self",(char *) "flag", NULL
26876 };
26877
26878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26880 if (!SWIG_IsOK(res1)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26882 }
26883 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26884 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26885 if (!SWIG_IsOK(ecode2)) {
26886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26887 }
26888 arg2 = static_cast< bool >(val2);
26889 {
26890 PyThreadState* __tstate = wxPyBeginAllowThreads();
26891 (arg1)->EnableHelp(arg2);
26892 wxPyEndAllowThreads(__tstate);
26893 if (PyErr_Occurred()) SWIG_fail;
26894 }
26895 resultobj = SWIG_Py_Void();
26896 return resultobj;
26897 fail:
26898 return NULL;
26899 }
26900
26901
26902 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26903 PyObject *resultobj = 0;
26904 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26905 bool result;
26906 void *argp1 = 0 ;
26907 int res1 = 0 ;
26908 PyObject *swig_obj[1] ;
26909
26910 if (!args) SWIG_fail;
26911 swig_obj[0] = args;
26912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26913 if (!SWIG_IsOK(res1)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26915 }
26916 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26917 {
26918 PyThreadState* __tstate = wxPyBeginAllowThreads();
26919 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26920 wxPyEndAllowThreads(__tstate);
26921 if (PyErr_Occurred()) SWIG_fail;
26922 }
26923 {
26924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26925 }
26926 return resultobj;
26927 fail:
26928 return NULL;
26929 }
26930
26931
26932 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26933 PyObject *resultobj = 0;
26934 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26935 bool result;
26936 void *argp1 = 0 ;
26937 int res1 = 0 ;
26938 PyObject *swig_obj[1] ;
26939
26940 if (!args) SWIG_fail;
26941 swig_obj[0] = args;
26942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26943 if (!SWIG_IsOK(res1)) {
26944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26945 }
26946 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26947 {
26948 PyThreadState* __tstate = wxPyBeginAllowThreads();
26949 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26950 wxPyEndAllowThreads(__tstate);
26951 if (PyErr_Occurred()) SWIG_fail;
26952 }
26953 {
26954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26955 }
26956 return resultobj;
26957 fail:
26958 return NULL;
26959 }
26960
26961
26962 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26963 PyObject *resultobj = 0;
26964 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26965 bool result;
26966 void *argp1 = 0 ;
26967 int res1 = 0 ;
26968 PyObject *swig_obj[1] ;
26969
26970 if (!args) SWIG_fail;
26971 swig_obj[0] = args;
26972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26973 if (!SWIG_IsOK(res1)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26975 }
26976 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26977 {
26978 PyThreadState* __tstate = wxPyBeginAllowThreads();
26979 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26980 wxPyEndAllowThreads(__tstate);
26981 if (PyErr_Occurred()) SWIG_fail;
26982 }
26983 {
26984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26985 }
26986 return resultobj;
26987 fail:
26988 return NULL;
26989 }
26990
26991
26992 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26993 PyObject *resultobj = 0;
26994 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26995 bool result;
26996 void *argp1 = 0 ;
26997 int res1 = 0 ;
26998 PyObject *swig_obj[1] ;
26999
27000 if (!args) SWIG_fail;
27001 swig_obj[0] = args;
27002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27003 if (!SWIG_IsOK(res1)) {
27004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27005 }
27006 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27007 {
27008 PyThreadState* __tstate = wxPyBeginAllowThreads();
27009 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27010 wxPyEndAllowThreads(__tstate);
27011 if (PyErr_Occurred()) SWIG_fail;
27012 }
27013 {
27014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27015 }
27016 return resultobj;
27017 fail:
27018 return NULL;
27019 }
27020
27021
27022 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27023 PyObject *resultobj = 0;
27024 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27025 bool result;
27026 void *argp1 = 0 ;
27027 int res1 = 0 ;
27028 PyObject *swig_obj[1] ;
27029
27030 if (!args) SWIG_fail;
27031 swig_obj[0] = args;
27032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27033 if (!SWIG_IsOK(res1)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27035 }
27036 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 {
27044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27045 }
27046 return resultobj;
27047 fail:
27048 return NULL;
27049 }
27050
27051
27052 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27053 PyObject *resultobj = 0;
27054 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27055 wxPrintData *result = 0 ;
27056 void *argp1 = 0 ;
27057 int res1 = 0 ;
27058 PyObject *swig_obj[1] ;
27059
27060 if (!args) SWIG_fail;
27061 swig_obj[0] = args;
27062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27063 if (!SWIG_IsOK(res1)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27065 }
27066 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27067 {
27068 PyThreadState* __tstate = wxPyBeginAllowThreads();
27069 {
27070 wxPrintData &_result_ref = (arg1)->GetPrintData();
27071 result = (wxPrintData *) &_result_ref;
27072 }
27073 wxPyEndAllowThreads(__tstate);
27074 if (PyErr_Occurred()) SWIG_fail;
27075 }
27076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27077 return resultobj;
27078 fail:
27079 return NULL;
27080 }
27081
27082
27083 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27084 PyObject *resultobj = 0;
27085 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27086 wxPrintData *arg2 = 0 ;
27087 void *argp1 = 0 ;
27088 int res1 = 0 ;
27089 void *argp2 = 0 ;
27090 int res2 = 0 ;
27091 PyObject * obj0 = 0 ;
27092 PyObject * obj1 = 0 ;
27093 char * kwnames[] = {
27094 (char *) "self",(char *) "printData", NULL
27095 };
27096
27097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27099 if (!SWIG_IsOK(res1)) {
27100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27101 }
27102 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27103 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27104 if (!SWIG_IsOK(res2)) {
27105 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27106 }
27107 if (!argp2) {
27108 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27109 }
27110 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27111 {
27112 PyThreadState* __tstate = wxPyBeginAllowThreads();
27113 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27114 wxPyEndAllowThreads(__tstate);
27115 if (PyErr_Occurred()) SWIG_fail;
27116 }
27117 resultobj = SWIG_Py_Void();
27118 return resultobj;
27119 fail:
27120 return NULL;
27121 }
27122
27123
27124 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27125 PyObject *obj;
27126 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27127 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27128 return SWIG_Py_Void();
27129 }
27130
27131 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27132 return SWIG_Python_InitShadowInstance(args);
27133 }
27134
27135 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27136 PyObject *resultobj = 0;
27137 wxWindow *arg1 = (wxWindow *) 0 ;
27138 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27139 wxPrintDialog *result = 0 ;
27140 void *argp1 = 0 ;
27141 int res1 = 0 ;
27142 void *argp2 = 0 ;
27143 int res2 = 0 ;
27144 PyObject * obj0 = 0 ;
27145 PyObject * obj1 = 0 ;
27146 char * kwnames[] = {
27147 (char *) "parent",(char *) "data", NULL
27148 };
27149
27150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27152 if (!SWIG_IsOK(res1)) {
27153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27154 }
27155 arg1 = reinterpret_cast< wxWindow * >(argp1);
27156 if (obj1) {
27157 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27158 if (!SWIG_IsOK(res2)) {
27159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27160 }
27161 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27162 }
27163 {
27164 if (!wxPyCheckForApp()) SWIG_fail;
27165 PyThreadState* __tstate = wxPyBeginAllowThreads();
27166 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27167 wxPyEndAllowThreads(__tstate);
27168 if (PyErr_Occurred()) SWIG_fail;
27169 }
27170 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27171 return resultobj;
27172 fail:
27173 return NULL;
27174 }
27175
27176
27177 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27178 PyObject *resultobj = 0;
27179 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27180 void *argp1 = 0 ;
27181 int res1 = 0 ;
27182 PyObject *swig_obj[1] ;
27183
27184 if (!args) SWIG_fail;
27185 swig_obj[0] = args;
27186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27187 if (!SWIG_IsOK(res1)) {
27188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27189 }
27190 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27191 {
27192 PyThreadState* __tstate = wxPyBeginAllowThreads();
27193 delete arg1;
27194
27195 wxPyEndAllowThreads(__tstate);
27196 if (PyErr_Occurred()) SWIG_fail;
27197 }
27198 resultobj = SWIG_Py_Void();
27199 return resultobj;
27200 fail:
27201 return NULL;
27202 }
27203
27204
27205 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27206 PyObject *resultobj = 0;
27207 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27208 int result;
27209 void *argp1 = 0 ;
27210 int res1 = 0 ;
27211 PyObject *swig_obj[1] ;
27212
27213 if (!args) SWIG_fail;
27214 swig_obj[0] = args;
27215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27216 if (!SWIG_IsOK(res1)) {
27217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27218 }
27219 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27220 {
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 result = (int)(arg1)->ShowModal();
27223 wxPyEndAllowThreads(__tstate);
27224 if (PyErr_Occurred()) SWIG_fail;
27225 }
27226 resultobj = SWIG_From_int(static_cast< int >(result));
27227 return resultobj;
27228 fail:
27229 return NULL;
27230 }
27231
27232
27233 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27234 PyObject *resultobj = 0;
27235 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27236 wxPrintDialogData *result = 0 ;
27237 void *argp1 = 0 ;
27238 int res1 = 0 ;
27239 PyObject *swig_obj[1] ;
27240
27241 if (!args) SWIG_fail;
27242 swig_obj[0] = args;
27243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27244 if (!SWIG_IsOK(res1)) {
27245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27246 }
27247 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27248 {
27249 PyThreadState* __tstate = wxPyBeginAllowThreads();
27250 {
27251 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27252 result = (wxPrintDialogData *) &_result_ref;
27253 }
27254 wxPyEndAllowThreads(__tstate);
27255 if (PyErr_Occurred()) SWIG_fail;
27256 }
27257 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27258 return resultobj;
27259 fail:
27260 return NULL;
27261 }
27262
27263
27264 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27265 PyObject *resultobj = 0;
27266 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27267 wxPrintData *result = 0 ;
27268 void *argp1 = 0 ;
27269 int res1 = 0 ;
27270 PyObject *swig_obj[1] ;
27271
27272 if (!args) SWIG_fail;
27273 swig_obj[0] = args;
27274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27275 if (!SWIG_IsOK(res1)) {
27276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27277 }
27278 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27279 {
27280 PyThreadState* __tstate = wxPyBeginAllowThreads();
27281 {
27282 wxPrintData &_result_ref = (arg1)->GetPrintData();
27283 result = (wxPrintData *) &_result_ref;
27284 }
27285 wxPyEndAllowThreads(__tstate);
27286 if (PyErr_Occurred()) SWIG_fail;
27287 }
27288 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27289 return resultobj;
27290 fail:
27291 return NULL;
27292 }
27293
27294
27295 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27296 PyObject *resultobj = 0;
27297 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27298 wxDC *result = 0 ;
27299 void *argp1 = 0 ;
27300 int res1 = 0 ;
27301 PyObject *swig_obj[1] ;
27302
27303 if (!args) SWIG_fail;
27304 swig_obj[0] = args;
27305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27306 if (!SWIG_IsOK(res1)) {
27307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27308 }
27309 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27310 {
27311 PyThreadState* __tstate = wxPyBeginAllowThreads();
27312 result = (wxDC *)(arg1)->GetPrintDC();
27313 wxPyEndAllowThreads(__tstate);
27314 if (PyErr_Occurred()) SWIG_fail;
27315 }
27316 {
27317 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27318 }
27319 return resultobj;
27320 fail:
27321 return NULL;
27322 }
27323
27324
27325 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27326 PyObject *obj;
27327 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27328 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27329 return SWIG_Py_Void();
27330 }
27331
27332 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27333 return SWIG_Python_InitShadowInstance(args);
27334 }
27335
27336 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27337 PyObject *resultobj = 0;
27338 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27339 wxPrinter *result = 0 ;
27340 void *argp1 = 0 ;
27341 int res1 = 0 ;
27342 PyObject * obj0 = 0 ;
27343 char * kwnames[] = {
27344 (char *) "data", NULL
27345 };
27346
27347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27348 if (obj0) {
27349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27350 if (!SWIG_IsOK(res1)) {
27351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27352 }
27353 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27354 }
27355 {
27356 if (!wxPyCheckForApp()) SWIG_fail;
27357 PyThreadState* __tstate = wxPyBeginAllowThreads();
27358 result = (wxPrinter *)new wxPrinter(arg1);
27359 wxPyEndAllowThreads(__tstate);
27360 if (PyErr_Occurred()) SWIG_fail;
27361 }
27362 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27363 return resultobj;
27364 fail:
27365 return NULL;
27366 }
27367
27368
27369 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27370 PyObject *resultobj = 0;
27371 wxPrinter *arg1 = (wxPrinter *) 0 ;
27372 void *argp1 = 0 ;
27373 int res1 = 0 ;
27374 PyObject *swig_obj[1] ;
27375
27376 if (!args) SWIG_fail;
27377 swig_obj[0] = args;
27378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27379 if (!SWIG_IsOK(res1)) {
27380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27381 }
27382 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27383 {
27384 PyThreadState* __tstate = wxPyBeginAllowThreads();
27385 delete arg1;
27386
27387 wxPyEndAllowThreads(__tstate);
27388 if (PyErr_Occurred()) SWIG_fail;
27389 }
27390 resultobj = SWIG_Py_Void();
27391 return resultobj;
27392 fail:
27393 return NULL;
27394 }
27395
27396
27397 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27398 PyObject *resultobj = 0;
27399 wxPrinter *arg1 = (wxPrinter *) 0 ;
27400 wxWindow *arg2 = (wxWindow *) 0 ;
27401 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27402 wxWindow *result = 0 ;
27403 void *argp1 = 0 ;
27404 int res1 = 0 ;
27405 void *argp2 = 0 ;
27406 int res2 = 0 ;
27407 void *argp3 = 0 ;
27408 int res3 = 0 ;
27409 PyObject * obj0 = 0 ;
27410 PyObject * obj1 = 0 ;
27411 PyObject * obj2 = 0 ;
27412 char * kwnames[] = {
27413 (char *) "self",(char *) "parent",(char *) "printout", NULL
27414 };
27415
27416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27418 if (!SWIG_IsOK(res1)) {
27419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27420 }
27421 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27422 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27423 if (!SWIG_IsOK(res2)) {
27424 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27425 }
27426 arg2 = reinterpret_cast< wxWindow * >(argp2);
27427 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27428 if (!SWIG_IsOK(res3)) {
27429 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27430 }
27431 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27432 {
27433 PyThreadState* __tstate = wxPyBeginAllowThreads();
27434 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27435 wxPyEndAllowThreads(__tstate);
27436 if (PyErr_Occurred()) SWIG_fail;
27437 }
27438 {
27439 resultobj = wxPyMake_wxObject(result, 0);
27440 }
27441 return resultobj;
27442 fail:
27443 return NULL;
27444 }
27445
27446
27447 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27448 PyObject *resultobj = 0;
27449 wxPrinter *arg1 = (wxPrinter *) 0 ;
27450 wxWindow *arg2 = (wxWindow *) 0 ;
27451 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27452 wxString *arg4 = 0 ;
27453 void *argp1 = 0 ;
27454 int res1 = 0 ;
27455 void *argp2 = 0 ;
27456 int res2 = 0 ;
27457 void *argp3 = 0 ;
27458 int res3 = 0 ;
27459 bool temp4 = false ;
27460 PyObject * obj0 = 0 ;
27461 PyObject * obj1 = 0 ;
27462 PyObject * obj2 = 0 ;
27463 PyObject * obj3 = 0 ;
27464 char * kwnames[] = {
27465 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27466 };
27467
27468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27470 if (!SWIG_IsOK(res1)) {
27471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27472 }
27473 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27474 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27475 if (!SWIG_IsOK(res2)) {
27476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27477 }
27478 arg2 = reinterpret_cast< wxWindow * >(argp2);
27479 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27480 if (!SWIG_IsOK(res3)) {
27481 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27482 }
27483 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27484 {
27485 arg4 = wxString_in_helper(obj3);
27486 if (arg4 == NULL) SWIG_fail;
27487 temp4 = true;
27488 }
27489 {
27490 PyThreadState* __tstate = wxPyBeginAllowThreads();
27491 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27492 wxPyEndAllowThreads(__tstate);
27493 if (PyErr_Occurred()) SWIG_fail;
27494 }
27495 resultobj = SWIG_Py_Void();
27496 {
27497 if (temp4)
27498 delete arg4;
27499 }
27500 return resultobj;
27501 fail:
27502 {
27503 if (temp4)
27504 delete arg4;
27505 }
27506 return NULL;
27507 }
27508
27509
27510 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27511 PyObject *resultobj = 0;
27512 wxPrinter *arg1 = (wxPrinter *) 0 ;
27513 wxWindow *arg2 = (wxWindow *) 0 ;
27514 bool result;
27515 void *argp1 = 0 ;
27516 int res1 = 0 ;
27517 void *argp2 = 0 ;
27518 int res2 = 0 ;
27519 PyObject * obj0 = 0 ;
27520 PyObject * obj1 = 0 ;
27521 char * kwnames[] = {
27522 (char *) "self",(char *) "parent", NULL
27523 };
27524
27525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27527 if (!SWIG_IsOK(res1)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27529 }
27530 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27531 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27532 if (!SWIG_IsOK(res2)) {
27533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27534 }
27535 arg2 = reinterpret_cast< wxWindow * >(argp2);
27536 {
27537 PyThreadState* __tstate = wxPyBeginAllowThreads();
27538 result = (bool)(arg1)->Setup(arg2);
27539 wxPyEndAllowThreads(__tstate);
27540 if (PyErr_Occurred()) SWIG_fail;
27541 }
27542 {
27543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27544 }
27545 return resultobj;
27546 fail:
27547 return NULL;
27548 }
27549
27550
27551 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27552 PyObject *resultobj = 0;
27553 wxPrinter *arg1 = (wxPrinter *) 0 ;
27554 wxWindow *arg2 = (wxWindow *) 0 ;
27555 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27556 bool arg4 = (bool) true ;
27557 bool result;
27558 void *argp1 = 0 ;
27559 int res1 = 0 ;
27560 void *argp2 = 0 ;
27561 int res2 = 0 ;
27562 void *argp3 = 0 ;
27563 int res3 = 0 ;
27564 bool val4 ;
27565 int ecode4 = 0 ;
27566 PyObject * obj0 = 0 ;
27567 PyObject * obj1 = 0 ;
27568 PyObject * obj2 = 0 ;
27569 PyObject * obj3 = 0 ;
27570 char * kwnames[] = {
27571 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27572 };
27573
27574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27576 if (!SWIG_IsOK(res1)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27578 }
27579 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27580 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27581 if (!SWIG_IsOK(res2)) {
27582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27583 }
27584 arg2 = reinterpret_cast< wxWindow * >(argp2);
27585 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27586 if (!SWIG_IsOK(res3)) {
27587 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27588 }
27589 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27590 if (obj3) {
27591 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27592 if (!SWIG_IsOK(ecode4)) {
27593 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27594 }
27595 arg4 = static_cast< bool >(val4);
27596 }
27597 {
27598 PyThreadState* __tstate = wxPyBeginAllowThreads();
27599 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27600 wxPyEndAllowThreads(__tstate);
27601 if (PyErr_Occurred()) SWIG_fail;
27602 }
27603 {
27604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27605 }
27606 return resultobj;
27607 fail:
27608 return NULL;
27609 }
27610
27611
27612 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27613 PyObject *resultobj = 0;
27614 wxPrinter *arg1 = (wxPrinter *) 0 ;
27615 wxWindow *arg2 = (wxWindow *) 0 ;
27616 wxDC *result = 0 ;
27617 void *argp1 = 0 ;
27618 int res1 = 0 ;
27619 void *argp2 = 0 ;
27620 int res2 = 0 ;
27621 PyObject * obj0 = 0 ;
27622 PyObject * obj1 = 0 ;
27623 char * kwnames[] = {
27624 (char *) "self",(char *) "parent", NULL
27625 };
27626
27627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27629 if (!SWIG_IsOK(res1)) {
27630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27631 }
27632 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27633 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27634 if (!SWIG_IsOK(res2)) {
27635 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27636 }
27637 arg2 = reinterpret_cast< wxWindow * >(argp2);
27638 {
27639 PyThreadState* __tstate = wxPyBeginAllowThreads();
27640 result = (wxDC *)(arg1)->PrintDialog(arg2);
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
27644 {
27645 resultobj = wxPyMake_wxObject(result, (bool)0);
27646 }
27647 return resultobj;
27648 fail:
27649 return NULL;
27650 }
27651
27652
27653 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27654 PyObject *resultobj = 0;
27655 wxPrinter *arg1 = (wxPrinter *) 0 ;
27656 wxPrintDialogData *result = 0 ;
27657 void *argp1 = 0 ;
27658 int res1 = 0 ;
27659 PyObject *swig_obj[1] ;
27660
27661 if (!args) SWIG_fail;
27662 swig_obj[0] = args;
27663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27664 if (!SWIG_IsOK(res1)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27666 }
27667 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27668 {
27669 PyThreadState* __tstate = wxPyBeginAllowThreads();
27670 {
27671 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27672 result = (wxPrintDialogData *) &_result_ref;
27673 }
27674 wxPyEndAllowThreads(__tstate);
27675 if (PyErr_Occurred()) SWIG_fail;
27676 }
27677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27678 return resultobj;
27679 fail:
27680 return NULL;
27681 }
27682
27683
27684 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27685 PyObject *resultobj = 0;
27686 wxPrinter *arg1 = (wxPrinter *) 0 ;
27687 bool result;
27688 void *argp1 = 0 ;
27689 int res1 = 0 ;
27690 PyObject *swig_obj[1] ;
27691
27692 if (!args) SWIG_fail;
27693 swig_obj[0] = args;
27694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27695 if (!SWIG_IsOK(res1)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27697 }
27698 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27699 {
27700 PyThreadState* __tstate = wxPyBeginAllowThreads();
27701 result = (bool)(arg1)->GetAbort();
27702 wxPyEndAllowThreads(__tstate);
27703 if (PyErr_Occurred()) SWIG_fail;
27704 }
27705 {
27706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27707 }
27708 return resultobj;
27709 fail:
27710 return NULL;
27711 }
27712
27713
27714 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27715 PyObject *resultobj = 0;
27716 wxPrinterError result;
27717
27718 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27719 {
27720 PyThreadState* __tstate = wxPyBeginAllowThreads();
27721 result = (wxPrinterError)wxPrinter::GetLastError();
27722 wxPyEndAllowThreads(__tstate);
27723 if (PyErr_Occurred()) SWIG_fail;
27724 }
27725 resultobj = SWIG_From_int(static_cast< int >(result));
27726 return resultobj;
27727 fail:
27728 return NULL;
27729 }
27730
27731
27732 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27733 PyObject *obj;
27734 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27735 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27736 return SWIG_Py_Void();
27737 }
27738
27739 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27740 return SWIG_Python_InitShadowInstance(args);
27741 }
27742
27743 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27744 PyObject *resultobj = 0;
27745 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27746 wxString *arg1 = (wxString *) &arg1_defvalue ;
27747 wxPyPrintout *result = 0 ;
27748 bool temp1 = false ;
27749 PyObject * obj0 = 0 ;
27750 char * kwnames[] = {
27751 (char *) "title", NULL
27752 };
27753
27754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27755 if (obj0) {
27756 {
27757 arg1 = wxString_in_helper(obj0);
27758 if (arg1 == NULL) SWIG_fail;
27759 temp1 = true;
27760 }
27761 }
27762 {
27763 if (!wxPyCheckForApp()) SWIG_fail;
27764 PyThreadState* __tstate = wxPyBeginAllowThreads();
27765 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27766 wxPyEndAllowThreads(__tstate);
27767 if (PyErr_Occurred()) SWIG_fail;
27768 }
27769 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27770 {
27771 if (temp1)
27772 delete arg1;
27773 }
27774 return resultobj;
27775 fail:
27776 {
27777 if (temp1)
27778 delete arg1;
27779 }
27780 return NULL;
27781 }
27782
27783
27784 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27785 PyObject *resultobj = 0;
27786 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27787 void *argp1 = 0 ;
27788 int res1 = 0 ;
27789 PyObject *swig_obj[1] ;
27790
27791 if (!args) SWIG_fail;
27792 swig_obj[0] = args;
27793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27794 if (!SWIG_IsOK(res1)) {
27795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27796 }
27797 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27798 {
27799 PyThreadState* __tstate = wxPyBeginAllowThreads();
27800 delete arg1;
27801
27802 wxPyEndAllowThreads(__tstate);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 }
27805 resultobj = SWIG_Py_Void();
27806 return resultobj;
27807 fail:
27808 return NULL;
27809 }
27810
27811
27812 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27813 PyObject *resultobj = 0;
27814 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27815 PyObject *arg2 = (PyObject *) 0 ;
27816 PyObject *arg3 = (PyObject *) 0 ;
27817 void *argp1 = 0 ;
27818 int res1 = 0 ;
27819 PyObject * obj0 = 0 ;
27820 PyObject * obj1 = 0 ;
27821 PyObject * obj2 = 0 ;
27822 char * kwnames[] = {
27823 (char *) "self",(char *) "self",(char *) "_class", NULL
27824 };
27825
27826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27828 if (!SWIG_IsOK(res1)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27830 }
27831 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27832 arg2 = obj1;
27833 arg3 = obj2;
27834 {
27835 PyThreadState* __tstate = wxPyBeginAllowThreads();
27836 (arg1)->_setCallbackInfo(arg2,arg3);
27837 wxPyEndAllowThreads(__tstate);
27838 if (PyErr_Occurred()) SWIG_fail;
27839 }
27840 resultobj = SWIG_Py_Void();
27841 return resultobj;
27842 fail:
27843 return NULL;
27844 }
27845
27846
27847 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27848 PyObject *resultobj = 0;
27849 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27850 wxString result;
27851 void *argp1 = 0 ;
27852 int res1 = 0 ;
27853 PyObject *swig_obj[1] ;
27854
27855 if (!args) SWIG_fail;
27856 swig_obj[0] = args;
27857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27858 if (!SWIG_IsOK(res1)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27860 }
27861 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27862 {
27863 PyThreadState* __tstate = wxPyBeginAllowThreads();
27864 result = ((wxPyPrintout const *)arg1)->GetTitle();
27865 wxPyEndAllowThreads(__tstate);
27866 if (PyErr_Occurred()) SWIG_fail;
27867 }
27868 {
27869 #if wxUSE_UNICODE
27870 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27871 #else
27872 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27873 #endif
27874 }
27875 return resultobj;
27876 fail:
27877 return NULL;
27878 }
27879
27880
27881 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27882 PyObject *resultobj = 0;
27883 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27884 wxDC *result = 0 ;
27885 void *argp1 = 0 ;
27886 int res1 = 0 ;
27887 PyObject *swig_obj[1] ;
27888
27889 if (!args) SWIG_fail;
27890 swig_obj[0] = args;
27891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27892 if (!SWIG_IsOK(res1)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27894 }
27895 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27896 {
27897 PyThreadState* __tstate = wxPyBeginAllowThreads();
27898 result = (wxDC *)(arg1)->GetDC();
27899 wxPyEndAllowThreads(__tstate);
27900 if (PyErr_Occurred()) SWIG_fail;
27901 }
27902 {
27903 resultobj = wxPyMake_wxObject(result, (bool)0);
27904 }
27905 return resultobj;
27906 fail:
27907 return NULL;
27908 }
27909
27910
27911 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27912 PyObject *resultobj = 0;
27913 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27914 wxDC *arg2 = (wxDC *) 0 ;
27915 void *argp1 = 0 ;
27916 int res1 = 0 ;
27917 void *argp2 = 0 ;
27918 int res2 = 0 ;
27919 PyObject * obj0 = 0 ;
27920 PyObject * obj1 = 0 ;
27921 char * kwnames[] = {
27922 (char *) "self",(char *) "dc", NULL
27923 };
27924
27925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27927 if (!SWIG_IsOK(res1)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27929 }
27930 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27931 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27932 if (!SWIG_IsOK(res2)) {
27933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27934 }
27935 arg2 = reinterpret_cast< wxDC * >(argp2);
27936 {
27937 PyThreadState* __tstate = wxPyBeginAllowThreads();
27938 (arg1)->SetDC(arg2);
27939 wxPyEndAllowThreads(__tstate);
27940 if (PyErr_Occurred()) SWIG_fail;
27941 }
27942 resultobj = SWIG_Py_Void();
27943 return resultobj;
27944 fail:
27945 return NULL;
27946 }
27947
27948
27949 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27950 PyObject *resultobj = 0;
27951 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27952 int arg2 ;
27953 int arg3 ;
27954 void *argp1 = 0 ;
27955 int res1 = 0 ;
27956 int val2 ;
27957 int ecode2 = 0 ;
27958 int val3 ;
27959 int ecode3 = 0 ;
27960 PyObject * obj0 = 0 ;
27961 PyObject * obj1 = 0 ;
27962 PyObject * obj2 = 0 ;
27963 char * kwnames[] = {
27964 (char *) "self",(char *) "w",(char *) "h", NULL
27965 };
27966
27967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27969 if (!SWIG_IsOK(res1)) {
27970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27971 }
27972 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27973 ecode2 = SWIG_AsVal_int(obj1, &val2);
27974 if (!SWIG_IsOK(ecode2)) {
27975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27976 }
27977 arg2 = static_cast< int >(val2);
27978 ecode3 = SWIG_AsVal_int(obj2, &val3);
27979 if (!SWIG_IsOK(ecode3)) {
27980 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27981 }
27982 arg3 = static_cast< int >(val3);
27983 {
27984 PyThreadState* __tstate = wxPyBeginAllowThreads();
27985 (arg1)->SetPageSizePixels(arg2,arg3);
27986 wxPyEndAllowThreads(__tstate);
27987 if (PyErr_Occurred()) SWIG_fail;
27988 }
27989 resultobj = SWIG_Py_Void();
27990 return resultobj;
27991 fail:
27992 return NULL;
27993 }
27994
27995
27996 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27997 PyObject *resultobj = 0;
27998 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27999 int *arg2 = (int *) 0 ;
28000 int *arg3 = (int *) 0 ;
28001 void *argp1 = 0 ;
28002 int res1 = 0 ;
28003 int temp2 ;
28004 int res2 = SWIG_TMPOBJ ;
28005 int temp3 ;
28006 int res3 = SWIG_TMPOBJ ;
28007 PyObject *swig_obj[1] ;
28008
28009 arg2 = &temp2;
28010 arg3 = &temp3;
28011 if (!args) SWIG_fail;
28012 swig_obj[0] = args;
28013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28014 if (!SWIG_IsOK(res1)) {
28015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28016 }
28017 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28018 {
28019 PyThreadState* __tstate = wxPyBeginAllowThreads();
28020 (arg1)->GetPageSizePixels(arg2,arg3);
28021 wxPyEndAllowThreads(__tstate);
28022 if (PyErr_Occurred()) SWIG_fail;
28023 }
28024 resultobj = SWIG_Py_Void();
28025 if (SWIG_IsTmpObj(res2)) {
28026 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28027 } else {
28028 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28029 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28030 }
28031 if (SWIG_IsTmpObj(res3)) {
28032 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28033 } else {
28034 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28035 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28036 }
28037 return resultobj;
28038 fail:
28039 return NULL;
28040 }
28041
28042
28043 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28044 PyObject *resultobj = 0;
28045 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28046 int arg2 ;
28047 int arg3 ;
28048 void *argp1 = 0 ;
28049 int res1 = 0 ;
28050 int val2 ;
28051 int ecode2 = 0 ;
28052 int val3 ;
28053 int ecode3 = 0 ;
28054 PyObject * obj0 = 0 ;
28055 PyObject * obj1 = 0 ;
28056 PyObject * obj2 = 0 ;
28057 char * kwnames[] = {
28058 (char *) "self",(char *) "w",(char *) "h", NULL
28059 };
28060
28061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28063 if (!SWIG_IsOK(res1)) {
28064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28065 }
28066 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28067 ecode2 = SWIG_AsVal_int(obj1, &val2);
28068 if (!SWIG_IsOK(ecode2)) {
28069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28070 }
28071 arg2 = static_cast< int >(val2);
28072 ecode3 = SWIG_AsVal_int(obj2, &val3);
28073 if (!SWIG_IsOK(ecode3)) {
28074 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28075 }
28076 arg3 = static_cast< int >(val3);
28077 {
28078 PyThreadState* __tstate = wxPyBeginAllowThreads();
28079 (arg1)->SetPageSizeMM(arg2,arg3);
28080 wxPyEndAllowThreads(__tstate);
28081 if (PyErr_Occurred()) SWIG_fail;
28082 }
28083 resultobj = SWIG_Py_Void();
28084 return resultobj;
28085 fail:
28086 return NULL;
28087 }
28088
28089
28090 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28091 PyObject *resultobj = 0;
28092 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28093 int *arg2 = (int *) 0 ;
28094 int *arg3 = (int *) 0 ;
28095 void *argp1 = 0 ;
28096 int res1 = 0 ;
28097 int temp2 ;
28098 int res2 = SWIG_TMPOBJ ;
28099 int temp3 ;
28100 int res3 = SWIG_TMPOBJ ;
28101 PyObject *swig_obj[1] ;
28102
28103 arg2 = &temp2;
28104 arg3 = &temp3;
28105 if (!args) SWIG_fail;
28106 swig_obj[0] = args;
28107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28108 if (!SWIG_IsOK(res1)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28110 }
28111 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28112 {
28113 PyThreadState* __tstate = wxPyBeginAllowThreads();
28114 (arg1)->GetPageSizeMM(arg2,arg3);
28115 wxPyEndAllowThreads(__tstate);
28116 if (PyErr_Occurred()) SWIG_fail;
28117 }
28118 resultobj = SWIG_Py_Void();
28119 if (SWIG_IsTmpObj(res2)) {
28120 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28121 } else {
28122 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28123 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28124 }
28125 if (SWIG_IsTmpObj(res3)) {
28126 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28127 } else {
28128 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28129 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28130 }
28131 return resultobj;
28132 fail:
28133 return NULL;
28134 }
28135
28136
28137 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28138 PyObject *resultobj = 0;
28139 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28140 int arg2 ;
28141 int arg3 ;
28142 void *argp1 = 0 ;
28143 int res1 = 0 ;
28144 int val2 ;
28145 int ecode2 = 0 ;
28146 int val3 ;
28147 int ecode3 = 0 ;
28148 PyObject * obj0 = 0 ;
28149 PyObject * obj1 = 0 ;
28150 PyObject * obj2 = 0 ;
28151 char * kwnames[] = {
28152 (char *) "self",(char *) "x",(char *) "y", NULL
28153 };
28154
28155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28157 if (!SWIG_IsOK(res1)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28159 }
28160 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28161 ecode2 = SWIG_AsVal_int(obj1, &val2);
28162 if (!SWIG_IsOK(ecode2)) {
28163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28164 }
28165 arg2 = static_cast< int >(val2);
28166 ecode3 = SWIG_AsVal_int(obj2, &val3);
28167 if (!SWIG_IsOK(ecode3)) {
28168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28169 }
28170 arg3 = static_cast< int >(val3);
28171 {
28172 PyThreadState* __tstate = wxPyBeginAllowThreads();
28173 (arg1)->SetPPIScreen(arg2,arg3);
28174 wxPyEndAllowThreads(__tstate);
28175 if (PyErr_Occurred()) SWIG_fail;
28176 }
28177 resultobj = SWIG_Py_Void();
28178 return resultobj;
28179 fail:
28180 return NULL;
28181 }
28182
28183
28184 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28185 PyObject *resultobj = 0;
28186 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28187 int *arg2 = (int *) 0 ;
28188 int *arg3 = (int *) 0 ;
28189 void *argp1 = 0 ;
28190 int res1 = 0 ;
28191 int temp2 ;
28192 int res2 = SWIG_TMPOBJ ;
28193 int temp3 ;
28194 int res3 = SWIG_TMPOBJ ;
28195 PyObject *swig_obj[1] ;
28196
28197 arg2 = &temp2;
28198 arg3 = &temp3;
28199 if (!args) SWIG_fail;
28200 swig_obj[0] = args;
28201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28202 if (!SWIG_IsOK(res1)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28204 }
28205 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28206 {
28207 PyThreadState* __tstate = wxPyBeginAllowThreads();
28208 (arg1)->GetPPIScreen(arg2,arg3);
28209 wxPyEndAllowThreads(__tstate);
28210 if (PyErr_Occurred()) SWIG_fail;
28211 }
28212 resultobj = SWIG_Py_Void();
28213 if (SWIG_IsTmpObj(res2)) {
28214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28215 } else {
28216 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28217 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28218 }
28219 if (SWIG_IsTmpObj(res3)) {
28220 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28221 } else {
28222 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28223 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28224 }
28225 return resultobj;
28226 fail:
28227 return NULL;
28228 }
28229
28230
28231 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28232 PyObject *resultobj = 0;
28233 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28234 int arg2 ;
28235 int arg3 ;
28236 void *argp1 = 0 ;
28237 int res1 = 0 ;
28238 int val2 ;
28239 int ecode2 = 0 ;
28240 int val3 ;
28241 int ecode3 = 0 ;
28242 PyObject * obj0 = 0 ;
28243 PyObject * obj1 = 0 ;
28244 PyObject * obj2 = 0 ;
28245 char * kwnames[] = {
28246 (char *) "self",(char *) "x",(char *) "y", NULL
28247 };
28248
28249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28251 if (!SWIG_IsOK(res1)) {
28252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28253 }
28254 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28255 ecode2 = SWIG_AsVal_int(obj1, &val2);
28256 if (!SWIG_IsOK(ecode2)) {
28257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28258 }
28259 arg2 = static_cast< int >(val2);
28260 ecode3 = SWIG_AsVal_int(obj2, &val3);
28261 if (!SWIG_IsOK(ecode3)) {
28262 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28263 }
28264 arg3 = static_cast< int >(val3);
28265 {
28266 PyThreadState* __tstate = wxPyBeginAllowThreads();
28267 (arg1)->SetPPIPrinter(arg2,arg3);
28268 wxPyEndAllowThreads(__tstate);
28269 if (PyErr_Occurred()) SWIG_fail;
28270 }
28271 resultobj = SWIG_Py_Void();
28272 return resultobj;
28273 fail:
28274 return NULL;
28275 }
28276
28277
28278 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28279 PyObject *resultobj = 0;
28280 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28281 int *arg2 = (int *) 0 ;
28282 int *arg3 = (int *) 0 ;
28283 void *argp1 = 0 ;
28284 int res1 = 0 ;
28285 int temp2 ;
28286 int res2 = SWIG_TMPOBJ ;
28287 int temp3 ;
28288 int res3 = SWIG_TMPOBJ ;
28289 PyObject *swig_obj[1] ;
28290
28291 arg2 = &temp2;
28292 arg3 = &temp3;
28293 if (!args) SWIG_fail;
28294 swig_obj[0] = args;
28295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28296 if (!SWIG_IsOK(res1)) {
28297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28298 }
28299 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28300 {
28301 PyThreadState* __tstate = wxPyBeginAllowThreads();
28302 (arg1)->GetPPIPrinter(arg2,arg3);
28303 wxPyEndAllowThreads(__tstate);
28304 if (PyErr_Occurred()) SWIG_fail;
28305 }
28306 resultobj = SWIG_Py_Void();
28307 if (SWIG_IsTmpObj(res2)) {
28308 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28309 } else {
28310 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28311 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28312 }
28313 if (SWIG_IsTmpObj(res3)) {
28314 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28315 } else {
28316 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28317 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28318 }
28319 return resultobj;
28320 fail:
28321 return NULL;
28322 }
28323
28324
28325 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28326 PyObject *resultobj = 0;
28327 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28328 bool result;
28329 void *argp1 = 0 ;
28330 int res1 = 0 ;
28331 PyObject *swig_obj[1] ;
28332
28333 if (!args) SWIG_fail;
28334 swig_obj[0] = args;
28335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28336 if (!SWIG_IsOK(res1)) {
28337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28338 }
28339 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28340 {
28341 PyThreadState* __tstate = wxPyBeginAllowThreads();
28342 result = (bool)(arg1)->IsPreview();
28343 wxPyEndAllowThreads(__tstate);
28344 if (PyErr_Occurred()) SWIG_fail;
28345 }
28346 {
28347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28348 }
28349 return resultobj;
28350 fail:
28351 return NULL;
28352 }
28353
28354
28355 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28356 PyObject *resultobj = 0;
28357 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28358 bool arg2 ;
28359 void *argp1 = 0 ;
28360 int res1 = 0 ;
28361 bool val2 ;
28362 int ecode2 = 0 ;
28363 PyObject * obj0 = 0 ;
28364 PyObject * obj1 = 0 ;
28365 char * kwnames[] = {
28366 (char *) "self",(char *) "p", NULL
28367 };
28368
28369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28371 if (!SWIG_IsOK(res1)) {
28372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28373 }
28374 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28375 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28376 if (!SWIG_IsOK(ecode2)) {
28377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28378 }
28379 arg2 = static_cast< bool >(val2);
28380 {
28381 PyThreadState* __tstate = wxPyBeginAllowThreads();
28382 (arg1)->SetIsPreview(arg2);
28383 wxPyEndAllowThreads(__tstate);
28384 if (PyErr_Occurred()) SWIG_fail;
28385 }
28386 resultobj = SWIG_Py_Void();
28387 return resultobj;
28388 fail:
28389 return NULL;
28390 }
28391
28392
28393 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28394 PyObject *resultobj = 0;
28395 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28396 int arg2 ;
28397 int arg3 ;
28398 bool result;
28399 void *argp1 = 0 ;
28400 int res1 = 0 ;
28401 int val2 ;
28402 int ecode2 = 0 ;
28403 int val3 ;
28404 int ecode3 = 0 ;
28405 PyObject * obj0 = 0 ;
28406 PyObject * obj1 = 0 ;
28407 PyObject * obj2 = 0 ;
28408 char * kwnames[] = {
28409 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28410 };
28411
28412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28414 if (!SWIG_IsOK(res1)) {
28415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28416 }
28417 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28418 ecode2 = SWIG_AsVal_int(obj1, &val2);
28419 if (!SWIG_IsOK(ecode2)) {
28420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28421 }
28422 arg2 = static_cast< int >(val2);
28423 ecode3 = SWIG_AsVal_int(obj2, &val3);
28424 if (!SWIG_IsOK(ecode3)) {
28425 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28426 }
28427 arg3 = static_cast< int >(val3);
28428 {
28429 PyThreadState* __tstate = wxPyBeginAllowThreads();
28430 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28431 wxPyEndAllowThreads(__tstate);
28432 if (PyErr_Occurred()) SWIG_fail;
28433 }
28434 {
28435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28436 }
28437 return resultobj;
28438 fail:
28439 return NULL;
28440 }
28441
28442
28443 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28444 PyObject *resultobj = 0;
28445 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28446 void *argp1 = 0 ;
28447 int res1 = 0 ;
28448 PyObject *swig_obj[1] ;
28449
28450 if (!args) SWIG_fail;
28451 swig_obj[0] = args;
28452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28453 if (!SWIG_IsOK(res1)) {
28454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28455 }
28456 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28457 {
28458 PyThreadState* __tstate = wxPyBeginAllowThreads();
28459 (arg1)->OnEndDocument();
28460 wxPyEndAllowThreads(__tstate);
28461 if (PyErr_Occurred()) SWIG_fail;
28462 }
28463 resultobj = SWIG_Py_Void();
28464 return resultobj;
28465 fail:
28466 return NULL;
28467 }
28468
28469
28470 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28471 PyObject *resultobj = 0;
28472 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28473 void *argp1 = 0 ;
28474 int res1 = 0 ;
28475 PyObject *swig_obj[1] ;
28476
28477 if (!args) SWIG_fail;
28478 swig_obj[0] = args;
28479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28480 if (!SWIG_IsOK(res1)) {
28481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28482 }
28483 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28484 {
28485 PyThreadState* __tstate = wxPyBeginAllowThreads();
28486 (arg1)->OnBeginPrinting();
28487 wxPyEndAllowThreads(__tstate);
28488 if (PyErr_Occurred()) SWIG_fail;
28489 }
28490 resultobj = SWIG_Py_Void();
28491 return resultobj;
28492 fail:
28493 return NULL;
28494 }
28495
28496
28497 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28498 PyObject *resultobj = 0;
28499 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28500 void *argp1 = 0 ;
28501 int res1 = 0 ;
28502 PyObject *swig_obj[1] ;
28503
28504 if (!args) SWIG_fail;
28505 swig_obj[0] = args;
28506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28507 if (!SWIG_IsOK(res1)) {
28508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28509 }
28510 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28511 {
28512 PyThreadState* __tstate = wxPyBeginAllowThreads();
28513 (arg1)->OnEndPrinting();
28514 wxPyEndAllowThreads(__tstate);
28515 if (PyErr_Occurred()) SWIG_fail;
28516 }
28517 resultobj = SWIG_Py_Void();
28518 return resultobj;
28519 fail:
28520 return NULL;
28521 }
28522
28523
28524 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28525 PyObject *resultobj = 0;
28526 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28527 void *argp1 = 0 ;
28528 int res1 = 0 ;
28529 PyObject *swig_obj[1] ;
28530
28531 if (!args) SWIG_fail;
28532 swig_obj[0] = args;
28533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28534 if (!SWIG_IsOK(res1)) {
28535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28536 }
28537 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28538 {
28539 PyThreadState* __tstate = wxPyBeginAllowThreads();
28540 (arg1)->OnPreparePrinting();
28541 wxPyEndAllowThreads(__tstate);
28542 if (PyErr_Occurred()) SWIG_fail;
28543 }
28544 resultobj = SWIG_Py_Void();
28545 return resultobj;
28546 fail:
28547 return NULL;
28548 }
28549
28550
28551 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28552 PyObject *resultobj = 0;
28553 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28554 int arg2 ;
28555 bool result;
28556 void *argp1 = 0 ;
28557 int res1 = 0 ;
28558 int val2 ;
28559 int ecode2 = 0 ;
28560 PyObject * obj0 = 0 ;
28561 PyObject * obj1 = 0 ;
28562 char * kwnames[] = {
28563 (char *) "self",(char *) "page", NULL
28564 };
28565
28566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28568 if (!SWIG_IsOK(res1)) {
28569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28570 }
28571 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28572 ecode2 = SWIG_AsVal_int(obj1, &val2);
28573 if (!SWIG_IsOK(ecode2)) {
28574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28575 }
28576 arg2 = static_cast< int >(val2);
28577 {
28578 PyThreadState* __tstate = wxPyBeginAllowThreads();
28579 result = (bool)(arg1)->HasPage(arg2);
28580 wxPyEndAllowThreads(__tstate);
28581 if (PyErr_Occurred()) SWIG_fail;
28582 }
28583 {
28584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28585 }
28586 return resultobj;
28587 fail:
28588 return NULL;
28589 }
28590
28591
28592 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28593 PyObject *resultobj = 0;
28594 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28595 int *arg2 = (int *) 0 ;
28596 int *arg3 = (int *) 0 ;
28597 int *arg4 = (int *) 0 ;
28598 int *arg5 = (int *) 0 ;
28599 void *argp1 = 0 ;
28600 int res1 = 0 ;
28601 int temp2 ;
28602 int res2 = SWIG_TMPOBJ ;
28603 int temp3 ;
28604 int res3 = SWIG_TMPOBJ ;
28605 int temp4 ;
28606 int res4 = SWIG_TMPOBJ ;
28607 int temp5 ;
28608 int res5 = SWIG_TMPOBJ ;
28609 PyObject *swig_obj[1] ;
28610
28611 arg2 = &temp2;
28612 arg3 = &temp3;
28613 arg4 = &temp4;
28614 arg5 = &temp5;
28615 if (!args) SWIG_fail;
28616 swig_obj[0] = args;
28617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28618 if (!SWIG_IsOK(res1)) {
28619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28620 }
28621 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28622 {
28623 PyThreadState* __tstate = wxPyBeginAllowThreads();
28624 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28625 wxPyEndAllowThreads(__tstate);
28626 if (PyErr_Occurred()) SWIG_fail;
28627 }
28628 resultobj = SWIG_Py_Void();
28629 if (SWIG_IsTmpObj(res2)) {
28630 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28631 } else {
28632 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28633 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28634 }
28635 if (SWIG_IsTmpObj(res3)) {
28636 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28637 } else {
28638 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28639 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28640 }
28641 if (SWIG_IsTmpObj(res4)) {
28642 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28643 } else {
28644 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28645 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28646 }
28647 if (SWIG_IsTmpObj(res5)) {
28648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28649 } else {
28650 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28652 }
28653 return resultobj;
28654 fail:
28655 return NULL;
28656 }
28657
28658
28659 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28660 PyObject *obj;
28661 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28662 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28663 return SWIG_Py_Void();
28664 }
28665
28666 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28667 return SWIG_Python_InitShadowInstance(args);
28668 }
28669
28670 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28671 PyObject *resultobj = 0;
28672 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28673 wxWindow *arg2 = (wxWindow *) 0 ;
28674 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28675 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28676 wxSize const &arg4_defvalue = wxDefaultSize ;
28677 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28678 long arg5 = (long) 0 ;
28679 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28680 wxString *arg6 = (wxString *) &arg6_defvalue ;
28681 wxPreviewCanvas *result = 0 ;
28682 void *argp1 = 0 ;
28683 int res1 = 0 ;
28684 void *argp2 = 0 ;
28685 int res2 = 0 ;
28686 wxPoint temp3 ;
28687 wxSize temp4 ;
28688 long val5 ;
28689 int ecode5 = 0 ;
28690 bool temp6 = false ;
28691 PyObject * obj0 = 0 ;
28692 PyObject * obj1 = 0 ;
28693 PyObject * obj2 = 0 ;
28694 PyObject * obj3 = 0 ;
28695 PyObject * obj4 = 0 ;
28696 PyObject * obj5 = 0 ;
28697 char * kwnames[] = {
28698 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28699 };
28700
28701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28703 if (!SWIG_IsOK(res1)) {
28704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28705 }
28706 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28707 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28708 if (!SWIG_IsOK(res2)) {
28709 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28710 }
28711 arg2 = reinterpret_cast< wxWindow * >(argp2);
28712 if (obj2) {
28713 {
28714 arg3 = &temp3;
28715 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28716 }
28717 }
28718 if (obj3) {
28719 {
28720 arg4 = &temp4;
28721 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28722 }
28723 }
28724 if (obj4) {
28725 ecode5 = SWIG_AsVal_long(obj4, &val5);
28726 if (!SWIG_IsOK(ecode5)) {
28727 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28728 }
28729 arg5 = static_cast< long >(val5);
28730 }
28731 if (obj5) {
28732 {
28733 arg6 = wxString_in_helper(obj5);
28734 if (arg6 == NULL) SWIG_fail;
28735 temp6 = true;
28736 }
28737 }
28738 {
28739 if (!wxPyCheckForApp()) SWIG_fail;
28740 PyThreadState* __tstate = wxPyBeginAllowThreads();
28741 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28742 wxPyEndAllowThreads(__tstate);
28743 if (PyErr_Occurred()) SWIG_fail;
28744 }
28745 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28746 {
28747 if (temp6)
28748 delete arg6;
28749 }
28750 return resultobj;
28751 fail:
28752 {
28753 if (temp6)
28754 delete arg6;
28755 }
28756 return NULL;
28757 }
28758
28759
28760 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28761 PyObject *obj;
28762 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28763 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28764 return SWIG_Py_Void();
28765 }
28766
28767 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28768 return SWIG_Python_InitShadowInstance(args);
28769 }
28770
28771 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28772 PyObject *resultobj = 0;
28773 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28774 wxFrame *arg2 = (wxFrame *) 0 ;
28775 wxString *arg3 = 0 ;
28776 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28777 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28778 wxSize const &arg5_defvalue = wxDefaultSize ;
28779 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28780 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28781 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28782 wxString *arg7 = (wxString *) &arg7_defvalue ;
28783 wxPreviewFrame *result = 0 ;
28784 int res1 = 0 ;
28785 void *argp2 = 0 ;
28786 int res2 = 0 ;
28787 bool temp3 = false ;
28788 wxPoint temp4 ;
28789 wxSize temp5 ;
28790 long val6 ;
28791 int ecode6 = 0 ;
28792 bool temp7 = false ;
28793 PyObject * obj0 = 0 ;
28794 PyObject * obj1 = 0 ;
28795 PyObject * obj2 = 0 ;
28796 PyObject * obj3 = 0 ;
28797 PyObject * obj4 = 0 ;
28798 PyObject * obj5 = 0 ;
28799 PyObject * obj6 = 0 ;
28800 char * kwnames[] = {
28801 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28802 };
28803
28804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28805 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28806 if (!SWIG_IsOK(res1)) {
28807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28808 }
28809 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28810 if (!SWIG_IsOK(res2)) {
28811 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28812 }
28813 arg2 = reinterpret_cast< wxFrame * >(argp2);
28814 {
28815 arg3 = wxString_in_helper(obj2);
28816 if (arg3 == NULL) SWIG_fail;
28817 temp3 = true;
28818 }
28819 if (obj3) {
28820 {
28821 arg4 = &temp4;
28822 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28823 }
28824 }
28825 if (obj4) {
28826 {
28827 arg5 = &temp5;
28828 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28829 }
28830 }
28831 if (obj5) {
28832 ecode6 = SWIG_AsVal_long(obj5, &val6);
28833 if (!SWIG_IsOK(ecode6)) {
28834 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28835 }
28836 arg6 = static_cast< long >(val6);
28837 }
28838 if (obj6) {
28839 {
28840 arg7 = wxString_in_helper(obj6);
28841 if (arg7 == NULL) SWIG_fail;
28842 temp7 = true;
28843 }
28844 }
28845 {
28846 if (!wxPyCheckForApp()) SWIG_fail;
28847 PyThreadState* __tstate = wxPyBeginAllowThreads();
28848 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28849 wxPyEndAllowThreads(__tstate);
28850 if (PyErr_Occurred()) SWIG_fail;
28851 }
28852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28853 {
28854 if (temp3)
28855 delete arg3;
28856 }
28857 {
28858 if (temp7)
28859 delete arg7;
28860 }
28861 return resultobj;
28862 fail:
28863 {
28864 if (temp3)
28865 delete arg3;
28866 }
28867 {
28868 if (temp7)
28869 delete arg7;
28870 }
28871 return NULL;
28872 }
28873
28874
28875 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28876 PyObject *resultobj = 0;
28877 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28878 void *argp1 = 0 ;
28879 int res1 = 0 ;
28880 PyObject *swig_obj[1] ;
28881
28882 if (!args) SWIG_fail;
28883 swig_obj[0] = args;
28884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28885 if (!SWIG_IsOK(res1)) {
28886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28887 }
28888 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28889 {
28890 PyThreadState* __tstate = wxPyBeginAllowThreads();
28891 (arg1)->Initialize();
28892 wxPyEndAllowThreads(__tstate);
28893 if (PyErr_Occurred()) SWIG_fail;
28894 }
28895 resultobj = SWIG_Py_Void();
28896 return resultobj;
28897 fail:
28898 return NULL;
28899 }
28900
28901
28902 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28903 PyObject *resultobj = 0;
28904 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28905 void *argp1 = 0 ;
28906 int res1 = 0 ;
28907 PyObject *swig_obj[1] ;
28908
28909 if (!args) SWIG_fail;
28910 swig_obj[0] = args;
28911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28912 if (!SWIG_IsOK(res1)) {
28913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28914 }
28915 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28916 {
28917 PyThreadState* __tstate = wxPyBeginAllowThreads();
28918 (arg1)->CreateControlBar();
28919 wxPyEndAllowThreads(__tstate);
28920 if (PyErr_Occurred()) SWIG_fail;
28921 }
28922 resultobj = SWIG_Py_Void();
28923 return resultobj;
28924 fail:
28925 return NULL;
28926 }
28927
28928
28929 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28930 PyObject *resultobj = 0;
28931 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28932 void *argp1 = 0 ;
28933 int res1 = 0 ;
28934 PyObject *swig_obj[1] ;
28935
28936 if (!args) SWIG_fail;
28937 swig_obj[0] = args;
28938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28939 if (!SWIG_IsOK(res1)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28941 }
28942 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28943 {
28944 PyThreadState* __tstate = wxPyBeginAllowThreads();
28945 (arg1)->CreateCanvas();
28946 wxPyEndAllowThreads(__tstate);
28947 if (PyErr_Occurred()) SWIG_fail;
28948 }
28949 resultobj = SWIG_Py_Void();
28950 return resultobj;
28951 fail:
28952 return NULL;
28953 }
28954
28955
28956 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28957 PyObject *resultobj = 0;
28958 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28959 wxPreviewControlBar *result = 0 ;
28960 void *argp1 = 0 ;
28961 int res1 = 0 ;
28962 PyObject *swig_obj[1] ;
28963
28964 if (!args) SWIG_fail;
28965 swig_obj[0] = args;
28966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28967 if (!SWIG_IsOK(res1)) {
28968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28969 }
28970 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28971 {
28972 PyThreadState* __tstate = wxPyBeginAllowThreads();
28973 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28974 wxPyEndAllowThreads(__tstate);
28975 if (PyErr_Occurred()) SWIG_fail;
28976 }
28977 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28978 return resultobj;
28979 fail:
28980 return NULL;
28981 }
28982
28983
28984 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28985 PyObject *obj;
28986 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28987 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28988 return SWIG_Py_Void();
28989 }
28990
28991 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28992 return SWIG_Python_InitShadowInstance(args);
28993 }
28994
28995 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28996 PyObject *resultobj = 0;
28997 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28998 long arg2 ;
28999 wxWindow *arg3 = (wxWindow *) 0 ;
29000 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29001 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29002 wxSize const &arg5_defvalue = wxDefaultSize ;
29003 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29004 long arg6 = (long) wxTAB_TRAVERSAL ;
29005 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29006 wxString *arg7 = (wxString *) &arg7_defvalue ;
29007 wxPreviewControlBar *result = 0 ;
29008 void *argp1 = 0 ;
29009 int res1 = 0 ;
29010 long val2 ;
29011 int ecode2 = 0 ;
29012 void *argp3 = 0 ;
29013 int res3 = 0 ;
29014 wxPoint temp4 ;
29015 wxSize temp5 ;
29016 long val6 ;
29017 int ecode6 = 0 ;
29018 bool temp7 = false ;
29019 PyObject * obj0 = 0 ;
29020 PyObject * obj1 = 0 ;
29021 PyObject * obj2 = 0 ;
29022 PyObject * obj3 = 0 ;
29023 PyObject * obj4 = 0 ;
29024 PyObject * obj5 = 0 ;
29025 PyObject * obj6 = 0 ;
29026 char * kwnames[] = {
29027 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29028 };
29029
29030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29032 if (!SWIG_IsOK(res1)) {
29033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29034 }
29035 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29036 ecode2 = SWIG_AsVal_long(obj1, &val2);
29037 if (!SWIG_IsOK(ecode2)) {
29038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29039 }
29040 arg2 = static_cast< long >(val2);
29041 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29042 if (!SWIG_IsOK(res3)) {
29043 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29044 }
29045 arg3 = reinterpret_cast< wxWindow * >(argp3);
29046 if (obj3) {
29047 {
29048 arg4 = &temp4;
29049 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29050 }
29051 }
29052 if (obj4) {
29053 {
29054 arg5 = &temp5;
29055 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29056 }
29057 }
29058 if (obj5) {
29059 ecode6 = SWIG_AsVal_long(obj5, &val6);
29060 if (!SWIG_IsOK(ecode6)) {
29061 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29062 }
29063 arg6 = static_cast< long >(val6);
29064 }
29065 if (obj6) {
29066 {
29067 arg7 = wxString_in_helper(obj6);
29068 if (arg7 == NULL) SWIG_fail;
29069 temp7 = true;
29070 }
29071 }
29072 {
29073 if (!wxPyCheckForApp()) SWIG_fail;
29074 PyThreadState* __tstate = wxPyBeginAllowThreads();
29075 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29076 wxPyEndAllowThreads(__tstate);
29077 if (PyErr_Occurred()) SWIG_fail;
29078 }
29079 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29080 {
29081 if (temp7)
29082 delete arg7;
29083 }
29084 return resultobj;
29085 fail:
29086 {
29087 if (temp7)
29088 delete arg7;
29089 }
29090 return NULL;
29091 }
29092
29093
29094 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29095 PyObject *resultobj = 0;
29096 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29097 int result;
29098 void *argp1 = 0 ;
29099 int res1 = 0 ;
29100 PyObject *swig_obj[1] ;
29101
29102 if (!args) SWIG_fail;
29103 swig_obj[0] = args;
29104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29105 if (!SWIG_IsOK(res1)) {
29106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29107 }
29108 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29109 {
29110 PyThreadState* __tstate = wxPyBeginAllowThreads();
29111 result = (int)(arg1)->GetZoomControl();
29112 wxPyEndAllowThreads(__tstate);
29113 if (PyErr_Occurred()) SWIG_fail;
29114 }
29115 resultobj = SWIG_From_int(static_cast< int >(result));
29116 return resultobj;
29117 fail:
29118 return NULL;
29119 }
29120
29121
29122 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29123 PyObject *resultobj = 0;
29124 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29125 int arg2 ;
29126 void *argp1 = 0 ;
29127 int res1 = 0 ;
29128 int val2 ;
29129 int ecode2 = 0 ;
29130 PyObject * obj0 = 0 ;
29131 PyObject * obj1 = 0 ;
29132 char * kwnames[] = {
29133 (char *) "self",(char *) "zoom", NULL
29134 };
29135
29136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29138 if (!SWIG_IsOK(res1)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29140 }
29141 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29142 ecode2 = SWIG_AsVal_int(obj1, &val2);
29143 if (!SWIG_IsOK(ecode2)) {
29144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29145 }
29146 arg2 = static_cast< int >(val2);
29147 {
29148 PyThreadState* __tstate = wxPyBeginAllowThreads();
29149 (arg1)->SetZoomControl(arg2);
29150 wxPyEndAllowThreads(__tstate);
29151 if (PyErr_Occurred()) SWIG_fail;
29152 }
29153 resultobj = SWIG_Py_Void();
29154 return resultobj;
29155 fail:
29156 return NULL;
29157 }
29158
29159
29160 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29161 PyObject *resultobj = 0;
29162 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29163 wxPrintPreview *result = 0 ;
29164 void *argp1 = 0 ;
29165 int res1 = 0 ;
29166 PyObject *swig_obj[1] ;
29167
29168 if (!args) SWIG_fail;
29169 swig_obj[0] = args;
29170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29171 if (!SWIG_IsOK(res1)) {
29172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29173 }
29174 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29175 {
29176 PyThreadState* __tstate = wxPyBeginAllowThreads();
29177 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29178 wxPyEndAllowThreads(__tstate);
29179 if (PyErr_Occurred()) SWIG_fail;
29180 }
29181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29182 return resultobj;
29183 fail:
29184 return NULL;
29185 }
29186
29187
29188 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29189 PyObject *resultobj = 0;
29190 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29191 void *argp1 = 0 ;
29192 int res1 = 0 ;
29193 PyObject *swig_obj[1] ;
29194
29195 if (!args) SWIG_fail;
29196 swig_obj[0] = args;
29197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29198 if (!SWIG_IsOK(res1)) {
29199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29200 }
29201 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29202 {
29203 PyThreadState* __tstate = wxPyBeginAllowThreads();
29204 (arg1)->OnNext();
29205 wxPyEndAllowThreads(__tstate);
29206 if (PyErr_Occurred()) SWIG_fail;
29207 }
29208 resultobj = SWIG_Py_Void();
29209 return resultobj;
29210 fail:
29211 return NULL;
29212 }
29213
29214
29215 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29216 PyObject *resultobj = 0;
29217 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29218 void *argp1 = 0 ;
29219 int res1 = 0 ;
29220 PyObject *swig_obj[1] ;
29221
29222 if (!args) SWIG_fail;
29223 swig_obj[0] = args;
29224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29225 if (!SWIG_IsOK(res1)) {
29226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29227 }
29228 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29229 {
29230 PyThreadState* __tstate = wxPyBeginAllowThreads();
29231 (arg1)->OnPrevious();
29232 wxPyEndAllowThreads(__tstate);
29233 if (PyErr_Occurred()) SWIG_fail;
29234 }
29235 resultobj = SWIG_Py_Void();
29236 return resultobj;
29237 fail:
29238 return NULL;
29239 }
29240
29241
29242 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29243 PyObject *resultobj = 0;
29244 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29245 void *argp1 = 0 ;
29246 int res1 = 0 ;
29247 PyObject *swig_obj[1] ;
29248
29249 if (!args) SWIG_fail;
29250 swig_obj[0] = args;
29251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29252 if (!SWIG_IsOK(res1)) {
29253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29254 }
29255 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29256 {
29257 PyThreadState* __tstate = wxPyBeginAllowThreads();
29258 (arg1)->OnFirst();
29259 wxPyEndAllowThreads(__tstate);
29260 if (PyErr_Occurred()) SWIG_fail;
29261 }
29262 resultobj = SWIG_Py_Void();
29263 return resultobj;
29264 fail:
29265 return NULL;
29266 }
29267
29268
29269 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29270 PyObject *resultobj = 0;
29271 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29272 void *argp1 = 0 ;
29273 int res1 = 0 ;
29274 PyObject *swig_obj[1] ;
29275
29276 if (!args) SWIG_fail;
29277 swig_obj[0] = args;
29278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29279 if (!SWIG_IsOK(res1)) {
29280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29281 }
29282 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29283 {
29284 PyThreadState* __tstate = wxPyBeginAllowThreads();
29285 (arg1)->OnLast();
29286 wxPyEndAllowThreads(__tstate);
29287 if (PyErr_Occurred()) SWIG_fail;
29288 }
29289 resultobj = SWIG_Py_Void();
29290 return resultobj;
29291 fail:
29292 return NULL;
29293 }
29294
29295
29296 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29297 PyObject *resultobj = 0;
29298 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29299 void *argp1 = 0 ;
29300 int res1 = 0 ;
29301 PyObject *swig_obj[1] ;
29302
29303 if (!args) SWIG_fail;
29304 swig_obj[0] = args;
29305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29306 if (!SWIG_IsOK(res1)) {
29307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29308 }
29309 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29310 {
29311 PyThreadState* __tstate = wxPyBeginAllowThreads();
29312 (arg1)->OnGoto();
29313 wxPyEndAllowThreads(__tstate);
29314 if (PyErr_Occurred()) SWIG_fail;
29315 }
29316 resultobj = SWIG_Py_Void();
29317 return resultobj;
29318 fail:
29319 return NULL;
29320 }
29321
29322
29323 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29324 PyObject *obj;
29325 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29326 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29327 return SWIG_Py_Void();
29328 }
29329
29330 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29331 return SWIG_Python_InitShadowInstance(args);
29332 }
29333
29334 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29335 PyObject *resultobj = 0;
29336 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29337 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29338 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29339 wxPrintPreview *result = 0 ;
29340 int res1 = 0 ;
29341 int res2 = 0 ;
29342 void *argp3 = 0 ;
29343 int res3 = 0 ;
29344
29345 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29346 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29347 if (!SWIG_IsOK(res1)) {
29348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29349 }
29350 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29351 if (!SWIG_IsOK(res2)) {
29352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29353 }
29354 if (swig_obj[2]) {
29355 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29356 if (!SWIG_IsOK(res3)) {
29357 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29358 }
29359 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29360 }
29361 {
29362 if (!wxPyCheckForApp()) SWIG_fail;
29363 PyThreadState* __tstate = wxPyBeginAllowThreads();
29364 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29365 wxPyEndAllowThreads(__tstate);
29366 if (PyErr_Occurred()) SWIG_fail;
29367 }
29368 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29369 return resultobj;
29370 fail:
29371 return NULL;
29372 }
29373
29374
29375 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29376 PyObject *resultobj = 0;
29377 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29378 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29379 wxPrintData *arg3 = (wxPrintData *) 0 ;
29380 wxPrintPreview *result = 0 ;
29381 int res1 = 0 ;
29382 int res2 = 0 ;
29383 void *argp3 = 0 ;
29384 int res3 = 0 ;
29385
29386 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29387 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29388 if (!SWIG_IsOK(res1)) {
29389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29390 }
29391 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29392 if (!SWIG_IsOK(res2)) {
29393 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29394 }
29395 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29396 if (!SWIG_IsOK(res3)) {
29397 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29398 }
29399 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29400 {
29401 if (!wxPyCheckForApp()) SWIG_fail;
29402 PyThreadState* __tstate = wxPyBeginAllowThreads();
29403 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29404 wxPyEndAllowThreads(__tstate);
29405 if (PyErr_Occurred()) SWIG_fail;
29406 }
29407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29408 return resultobj;
29409 fail:
29410 return NULL;
29411 }
29412
29413
29414 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29415 int argc;
29416 PyObject *argv[4];
29417
29418 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29419 --argc;
29420 if ((argc >= 2) && (argc <= 3)) {
29421 int _v = 0;
29422 if (argc > 2) {
29423 {
29424 void *vptr = 0;
29425 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29426 _v = SWIG_CheckState(res);
29427 }
29428 if (!_v) goto check_1;
29429 }
29430 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29431 }
29432 check_1:
29433
29434 if (argc == 3) {
29435 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29436 }
29437
29438 fail:
29439 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29440 return NULL;
29441 }
29442
29443
29444 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29445 PyObject *resultobj = 0;
29446 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29447 void *argp1 = 0 ;
29448 int res1 = 0 ;
29449 PyObject *swig_obj[1] ;
29450
29451 if (!args) SWIG_fail;
29452 swig_obj[0] = args;
29453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29454 if (!SWIG_IsOK(res1)) {
29455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29456 }
29457 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29458 {
29459 PyThreadState* __tstate = wxPyBeginAllowThreads();
29460 delete arg1;
29461
29462 wxPyEndAllowThreads(__tstate);
29463 if (PyErr_Occurred()) SWIG_fail;
29464 }
29465 resultobj = SWIG_Py_Void();
29466 return resultobj;
29467 fail:
29468 return NULL;
29469 }
29470
29471
29472 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29473 PyObject *resultobj = 0;
29474 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29475 int arg2 ;
29476 bool result;
29477 void *argp1 = 0 ;
29478 int res1 = 0 ;
29479 int val2 ;
29480 int ecode2 = 0 ;
29481 PyObject * obj0 = 0 ;
29482 PyObject * obj1 = 0 ;
29483 char * kwnames[] = {
29484 (char *) "self",(char *) "pageNum", NULL
29485 };
29486
29487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29489 if (!SWIG_IsOK(res1)) {
29490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29491 }
29492 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29493 ecode2 = SWIG_AsVal_int(obj1, &val2);
29494 if (!SWIG_IsOK(ecode2)) {
29495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29496 }
29497 arg2 = static_cast< int >(val2);
29498 {
29499 PyThreadState* __tstate = wxPyBeginAllowThreads();
29500 result = (bool)(arg1)->SetCurrentPage(arg2);
29501 wxPyEndAllowThreads(__tstate);
29502 if (PyErr_Occurred()) SWIG_fail;
29503 }
29504 {
29505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29506 }
29507 return resultobj;
29508 fail:
29509 return NULL;
29510 }
29511
29512
29513 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29514 PyObject *resultobj = 0;
29515 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29516 int result;
29517 void *argp1 = 0 ;
29518 int res1 = 0 ;
29519 PyObject *swig_obj[1] ;
29520
29521 if (!args) SWIG_fail;
29522 swig_obj[0] = args;
29523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29524 if (!SWIG_IsOK(res1)) {
29525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29526 }
29527 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29528 {
29529 PyThreadState* __tstate = wxPyBeginAllowThreads();
29530 result = (int)(arg1)->GetCurrentPage();
29531 wxPyEndAllowThreads(__tstate);
29532 if (PyErr_Occurred()) SWIG_fail;
29533 }
29534 resultobj = SWIG_From_int(static_cast< int >(result));
29535 return resultobj;
29536 fail:
29537 return NULL;
29538 }
29539
29540
29541 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29542 PyObject *resultobj = 0;
29543 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29544 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29545 void *argp1 = 0 ;
29546 int res1 = 0 ;
29547 int res2 = 0 ;
29548 PyObject * obj0 = 0 ;
29549 PyObject * obj1 = 0 ;
29550 char * kwnames[] = {
29551 (char *) "self",(char *) "printout", NULL
29552 };
29553
29554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29556 if (!SWIG_IsOK(res1)) {
29557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29558 }
29559 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29560 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29561 if (!SWIG_IsOK(res2)) {
29562 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29563 }
29564 {
29565 PyThreadState* __tstate = wxPyBeginAllowThreads();
29566 (arg1)->SetPrintout(arg2);
29567 wxPyEndAllowThreads(__tstate);
29568 if (PyErr_Occurred()) SWIG_fail;
29569 }
29570 resultobj = SWIG_Py_Void();
29571 return resultobj;
29572 fail:
29573 return NULL;
29574 }
29575
29576
29577 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29578 PyObject *resultobj = 0;
29579 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29580 wxPyPrintout *result = 0 ;
29581 void *argp1 = 0 ;
29582 int res1 = 0 ;
29583 PyObject *swig_obj[1] ;
29584
29585 if (!args) SWIG_fail;
29586 swig_obj[0] = args;
29587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29588 if (!SWIG_IsOK(res1)) {
29589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29590 }
29591 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29592 {
29593 PyThreadState* __tstate = wxPyBeginAllowThreads();
29594 result = (wxPyPrintout *)(arg1)->GetPrintout();
29595 wxPyEndAllowThreads(__tstate);
29596 if (PyErr_Occurred()) SWIG_fail;
29597 }
29598 {
29599 resultobj = wxPyMake_wxObject(result, 0);
29600 }
29601 return resultobj;
29602 fail:
29603 return NULL;
29604 }
29605
29606
29607 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29608 PyObject *resultobj = 0;
29609 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29610 wxPyPrintout *result = 0 ;
29611 void *argp1 = 0 ;
29612 int res1 = 0 ;
29613 PyObject *swig_obj[1] ;
29614
29615 if (!args) SWIG_fail;
29616 swig_obj[0] = args;
29617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29618 if (!SWIG_IsOK(res1)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29620 }
29621 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29622 {
29623 PyThreadState* __tstate = wxPyBeginAllowThreads();
29624 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29625 wxPyEndAllowThreads(__tstate);
29626 if (PyErr_Occurred()) SWIG_fail;
29627 }
29628 {
29629 resultobj = wxPyMake_wxObject(result, 0);
29630 }
29631 return resultobj;
29632 fail:
29633 return NULL;
29634 }
29635
29636
29637 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29638 PyObject *resultobj = 0;
29639 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29640 wxFrame *arg2 = (wxFrame *) 0 ;
29641 void *argp1 = 0 ;
29642 int res1 = 0 ;
29643 void *argp2 = 0 ;
29644 int res2 = 0 ;
29645 PyObject * obj0 = 0 ;
29646 PyObject * obj1 = 0 ;
29647 char * kwnames[] = {
29648 (char *) "self",(char *) "frame", NULL
29649 };
29650
29651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29653 if (!SWIG_IsOK(res1)) {
29654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29655 }
29656 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29657 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29658 if (!SWIG_IsOK(res2)) {
29659 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29660 }
29661 arg2 = reinterpret_cast< wxFrame * >(argp2);
29662 {
29663 PyThreadState* __tstate = wxPyBeginAllowThreads();
29664 (arg1)->SetFrame(arg2);
29665 wxPyEndAllowThreads(__tstate);
29666 if (PyErr_Occurred()) SWIG_fail;
29667 }
29668 resultobj = SWIG_Py_Void();
29669 return resultobj;
29670 fail:
29671 return NULL;
29672 }
29673
29674
29675 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29676 PyObject *resultobj = 0;
29677 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29678 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29679 void *argp1 = 0 ;
29680 int res1 = 0 ;
29681 void *argp2 = 0 ;
29682 int res2 = 0 ;
29683 PyObject * obj0 = 0 ;
29684 PyObject * obj1 = 0 ;
29685 char * kwnames[] = {
29686 (char *) "self",(char *) "canvas", NULL
29687 };
29688
29689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29691 if (!SWIG_IsOK(res1)) {
29692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29693 }
29694 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29695 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29696 if (!SWIG_IsOK(res2)) {
29697 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29698 }
29699 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29700 {
29701 PyThreadState* __tstate = wxPyBeginAllowThreads();
29702 (arg1)->SetCanvas(arg2);
29703 wxPyEndAllowThreads(__tstate);
29704 if (PyErr_Occurred()) SWIG_fail;
29705 }
29706 resultobj = SWIG_Py_Void();
29707 return resultobj;
29708 fail:
29709 return NULL;
29710 }
29711
29712
29713 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29714 PyObject *resultobj = 0;
29715 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29716 wxFrame *result = 0 ;
29717 void *argp1 = 0 ;
29718 int res1 = 0 ;
29719 PyObject *swig_obj[1] ;
29720
29721 if (!args) SWIG_fail;
29722 swig_obj[0] = args;
29723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29724 if (!SWIG_IsOK(res1)) {
29725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29726 }
29727 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29728 {
29729 PyThreadState* __tstate = wxPyBeginAllowThreads();
29730 result = (wxFrame *)(arg1)->GetFrame();
29731 wxPyEndAllowThreads(__tstate);
29732 if (PyErr_Occurred()) SWIG_fail;
29733 }
29734 {
29735 resultobj = wxPyMake_wxObject(result, 0);
29736 }
29737 return resultobj;
29738 fail:
29739 return NULL;
29740 }
29741
29742
29743 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29744 PyObject *resultobj = 0;
29745 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29746 wxPreviewCanvas *result = 0 ;
29747 void *argp1 = 0 ;
29748 int res1 = 0 ;
29749 PyObject *swig_obj[1] ;
29750
29751 if (!args) SWIG_fail;
29752 swig_obj[0] = args;
29753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29754 if (!SWIG_IsOK(res1)) {
29755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29756 }
29757 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29758 {
29759 PyThreadState* __tstate = wxPyBeginAllowThreads();
29760 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29761 wxPyEndAllowThreads(__tstate);
29762 if (PyErr_Occurred()) SWIG_fail;
29763 }
29764 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29765 return resultobj;
29766 fail:
29767 return NULL;
29768 }
29769
29770
29771 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29772 PyObject *resultobj = 0;
29773 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29774 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29775 wxDC *arg3 = 0 ;
29776 bool result;
29777 void *argp1 = 0 ;
29778 int res1 = 0 ;
29779 void *argp2 = 0 ;
29780 int res2 = 0 ;
29781 void *argp3 = 0 ;
29782 int res3 = 0 ;
29783 PyObject * obj0 = 0 ;
29784 PyObject * obj1 = 0 ;
29785 PyObject * obj2 = 0 ;
29786 char * kwnames[] = {
29787 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29788 };
29789
29790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29792 if (!SWIG_IsOK(res1)) {
29793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29794 }
29795 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29796 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29797 if (!SWIG_IsOK(res2)) {
29798 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29799 }
29800 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29801 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29802 if (!SWIG_IsOK(res3)) {
29803 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29804 }
29805 if (!argp3) {
29806 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29807 }
29808 arg3 = reinterpret_cast< wxDC * >(argp3);
29809 {
29810 PyThreadState* __tstate = wxPyBeginAllowThreads();
29811 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29812 wxPyEndAllowThreads(__tstate);
29813 if (PyErr_Occurred()) SWIG_fail;
29814 }
29815 {
29816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29817 }
29818 return resultobj;
29819 fail:
29820 return NULL;
29821 }
29822
29823
29824 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29825 PyObject *resultobj = 0;
29826 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29827 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29828 wxDC *arg3 = 0 ;
29829 bool result;
29830 void *argp1 = 0 ;
29831 int res1 = 0 ;
29832 void *argp2 = 0 ;
29833 int res2 = 0 ;
29834 void *argp3 = 0 ;
29835 int res3 = 0 ;
29836 PyObject * obj0 = 0 ;
29837 PyObject * obj1 = 0 ;
29838 PyObject * obj2 = 0 ;
29839 char * kwnames[] = {
29840 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29841 };
29842
29843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29845 if (!SWIG_IsOK(res1)) {
29846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29847 }
29848 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29849 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29850 if (!SWIG_IsOK(res2)) {
29851 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29852 }
29853 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29854 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29855 if (!SWIG_IsOK(res3)) {
29856 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29857 }
29858 if (!argp3) {
29859 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29860 }
29861 arg3 = reinterpret_cast< wxDC * >(argp3);
29862 {
29863 PyThreadState* __tstate = wxPyBeginAllowThreads();
29864 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29865 wxPyEndAllowThreads(__tstate);
29866 if (PyErr_Occurred()) SWIG_fail;
29867 }
29868 {
29869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29870 }
29871 return resultobj;
29872 fail:
29873 return NULL;
29874 }
29875
29876
29877 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29878 PyObject *resultobj = 0;
29879 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29880 int arg2 ;
29881 bool result;
29882 void *argp1 = 0 ;
29883 int res1 = 0 ;
29884 int val2 ;
29885 int ecode2 = 0 ;
29886 PyObject * obj0 = 0 ;
29887 PyObject * obj1 = 0 ;
29888 char * kwnames[] = {
29889 (char *) "self",(char *) "pageNum", NULL
29890 };
29891
29892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) 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 '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29896 }
29897 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29898 ecode2 = SWIG_AsVal_int(obj1, &val2);
29899 if (!SWIG_IsOK(ecode2)) {
29900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29901 }
29902 arg2 = static_cast< int >(val2);
29903 {
29904 PyThreadState* __tstate = wxPyBeginAllowThreads();
29905 result = (bool)(arg1)->RenderPage(arg2);
29906 wxPyEndAllowThreads(__tstate);
29907 if (PyErr_Occurred()) SWIG_fail;
29908 }
29909 {
29910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29911 }
29912 return resultobj;
29913 fail:
29914 return NULL;
29915 }
29916
29917
29918 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29919 PyObject *resultobj = 0;
29920 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29921 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29922 void *argp1 = 0 ;
29923 int res1 = 0 ;
29924 void *argp2 = 0 ;
29925 int res2 = 0 ;
29926 PyObject * obj0 = 0 ;
29927 PyObject * obj1 = 0 ;
29928 char * kwnames[] = {
29929 (char *) "self",(char *) "canvas", NULL
29930 };
29931
29932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29934 if (!SWIG_IsOK(res1)) {
29935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29936 }
29937 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29938 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29939 if (!SWIG_IsOK(res2)) {
29940 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29941 }
29942 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29943 {
29944 PyThreadState* __tstate = wxPyBeginAllowThreads();
29945 (arg1)->AdjustScrollbars(arg2);
29946 wxPyEndAllowThreads(__tstate);
29947 if (PyErr_Occurred()) SWIG_fail;
29948 }
29949 resultobj = SWIG_Py_Void();
29950 return resultobj;
29951 fail:
29952 return NULL;
29953 }
29954
29955
29956 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29957 PyObject *resultobj = 0;
29958 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29959 wxPrintDialogData *result = 0 ;
29960 void *argp1 = 0 ;
29961 int res1 = 0 ;
29962 PyObject *swig_obj[1] ;
29963
29964 if (!args) SWIG_fail;
29965 swig_obj[0] = args;
29966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29967 if (!SWIG_IsOK(res1)) {
29968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29969 }
29970 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29971 {
29972 PyThreadState* __tstate = wxPyBeginAllowThreads();
29973 {
29974 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29975 result = (wxPrintDialogData *) &_result_ref;
29976 }
29977 wxPyEndAllowThreads(__tstate);
29978 if (PyErr_Occurred()) SWIG_fail;
29979 }
29980 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29981 return resultobj;
29982 fail:
29983 return NULL;
29984 }
29985
29986
29987 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29988 PyObject *resultobj = 0;
29989 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29990 int arg2 ;
29991 void *argp1 = 0 ;
29992 int res1 = 0 ;
29993 int val2 ;
29994 int ecode2 = 0 ;
29995 PyObject * obj0 = 0 ;
29996 PyObject * obj1 = 0 ;
29997 char * kwnames[] = {
29998 (char *) "self",(char *) "percent", NULL
29999 };
30000
30001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30003 if (!SWIG_IsOK(res1)) {
30004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30005 }
30006 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30007 ecode2 = SWIG_AsVal_int(obj1, &val2);
30008 if (!SWIG_IsOK(ecode2)) {
30009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30010 }
30011 arg2 = static_cast< int >(val2);
30012 {
30013 PyThreadState* __tstate = wxPyBeginAllowThreads();
30014 (arg1)->SetZoom(arg2);
30015 wxPyEndAllowThreads(__tstate);
30016 if (PyErr_Occurred()) SWIG_fail;
30017 }
30018 resultobj = SWIG_Py_Void();
30019 return resultobj;
30020 fail:
30021 return NULL;
30022 }
30023
30024
30025 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30026 PyObject *resultobj = 0;
30027 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30028 int result;
30029 void *argp1 = 0 ;
30030 int res1 = 0 ;
30031 PyObject *swig_obj[1] ;
30032
30033 if (!args) SWIG_fail;
30034 swig_obj[0] = args;
30035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30036 if (!SWIG_IsOK(res1)) {
30037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30038 }
30039 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30040 {
30041 PyThreadState* __tstate = wxPyBeginAllowThreads();
30042 result = (int)(arg1)->GetZoom();
30043 wxPyEndAllowThreads(__tstate);
30044 if (PyErr_Occurred()) SWIG_fail;
30045 }
30046 resultobj = SWIG_From_int(static_cast< int >(result));
30047 return resultobj;
30048 fail:
30049 return NULL;
30050 }
30051
30052
30053 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30054 PyObject *resultobj = 0;
30055 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30056 int result;
30057 void *argp1 = 0 ;
30058 int res1 = 0 ;
30059 PyObject *swig_obj[1] ;
30060
30061 if (!args) SWIG_fail;
30062 swig_obj[0] = args;
30063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30064 if (!SWIG_IsOK(res1)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30066 }
30067 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30068 {
30069 PyThreadState* __tstate = wxPyBeginAllowThreads();
30070 result = (int)(arg1)->GetMaxPage();
30071 wxPyEndAllowThreads(__tstate);
30072 if (PyErr_Occurred()) SWIG_fail;
30073 }
30074 resultobj = SWIG_From_int(static_cast< int >(result));
30075 return resultobj;
30076 fail:
30077 return NULL;
30078 }
30079
30080
30081 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30082 PyObject *resultobj = 0;
30083 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30084 int result;
30085 void *argp1 = 0 ;
30086 int res1 = 0 ;
30087 PyObject *swig_obj[1] ;
30088
30089 if (!args) SWIG_fail;
30090 swig_obj[0] = args;
30091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30092 if (!SWIG_IsOK(res1)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30094 }
30095 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30096 {
30097 PyThreadState* __tstate = wxPyBeginAllowThreads();
30098 result = (int)(arg1)->GetMinPage();
30099 wxPyEndAllowThreads(__tstate);
30100 if (PyErr_Occurred()) SWIG_fail;
30101 }
30102 resultobj = SWIG_From_int(static_cast< int >(result));
30103 return resultobj;
30104 fail:
30105 return NULL;
30106 }
30107
30108
30109 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30110 PyObject *resultobj = 0;
30111 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30112 bool result;
30113 void *argp1 = 0 ;
30114 int res1 = 0 ;
30115 PyObject *swig_obj[1] ;
30116
30117 if (!args) SWIG_fail;
30118 swig_obj[0] = args;
30119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30120 if (!SWIG_IsOK(res1)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30122 }
30123 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30124 {
30125 PyThreadState* __tstate = wxPyBeginAllowThreads();
30126 result = (bool)(arg1)->Ok();
30127 wxPyEndAllowThreads(__tstate);
30128 if (PyErr_Occurred()) SWIG_fail;
30129 }
30130 {
30131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30132 }
30133 return resultobj;
30134 fail:
30135 return NULL;
30136 }
30137
30138
30139 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30140 PyObject *resultobj = 0;
30141 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30142 bool arg2 ;
30143 void *argp1 = 0 ;
30144 int res1 = 0 ;
30145 bool val2 ;
30146 int ecode2 = 0 ;
30147 PyObject * obj0 = 0 ;
30148 PyObject * obj1 = 0 ;
30149 char * kwnames[] = {
30150 (char *) "self",(char *) "ok", NULL
30151 };
30152
30153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30155 if (!SWIG_IsOK(res1)) {
30156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30157 }
30158 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30159 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30160 if (!SWIG_IsOK(ecode2)) {
30161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30162 }
30163 arg2 = static_cast< bool >(val2);
30164 {
30165 PyThreadState* __tstate = wxPyBeginAllowThreads();
30166 (arg1)->SetOk(arg2);
30167 wxPyEndAllowThreads(__tstate);
30168 if (PyErr_Occurred()) SWIG_fail;
30169 }
30170 resultobj = SWIG_Py_Void();
30171 return resultobj;
30172 fail:
30173 return NULL;
30174 }
30175
30176
30177 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30178 PyObject *resultobj = 0;
30179 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30180 bool arg2 ;
30181 bool result;
30182 void *argp1 = 0 ;
30183 int res1 = 0 ;
30184 bool val2 ;
30185 int ecode2 = 0 ;
30186 PyObject * obj0 = 0 ;
30187 PyObject * obj1 = 0 ;
30188 char * kwnames[] = {
30189 (char *) "self",(char *) "interactive", NULL
30190 };
30191
30192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30194 if (!SWIG_IsOK(res1)) {
30195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30196 }
30197 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30198 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30199 if (!SWIG_IsOK(ecode2)) {
30200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30201 }
30202 arg2 = static_cast< bool >(val2);
30203 {
30204 PyThreadState* __tstate = wxPyBeginAllowThreads();
30205 result = (bool)(arg1)->Print(arg2);
30206 wxPyEndAllowThreads(__tstate);
30207 if (PyErr_Occurred()) SWIG_fail;
30208 }
30209 {
30210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30211 }
30212 return resultobj;
30213 fail:
30214 return NULL;
30215 }
30216
30217
30218 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30219 PyObject *resultobj = 0;
30220 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30221 void *argp1 = 0 ;
30222 int res1 = 0 ;
30223 PyObject *swig_obj[1] ;
30224
30225 if (!args) SWIG_fail;
30226 swig_obj[0] = args;
30227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30228 if (!SWIG_IsOK(res1)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30230 }
30231 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30232 {
30233 PyThreadState* __tstate = wxPyBeginAllowThreads();
30234 (arg1)->DetermineScaling();
30235 wxPyEndAllowThreads(__tstate);
30236 if (PyErr_Occurred()) SWIG_fail;
30237 }
30238 resultobj = SWIG_Py_Void();
30239 return resultobj;
30240 fail:
30241 return NULL;
30242 }
30243
30244
30245 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30246 PyObject *obj;
30247 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30248 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30249 return SWIG_Py_Void();
30250 }
30251
30252 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30253 return SWIG_Python_InitShadowInstance(args);
30254 }
30255
30256 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30257 PyObject *resultobj = 0;
30258 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30259 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30260 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30261 wxPyPrintPreview *result = 0 ;
30262 int res1 = 0 ;
30263 int res2 = 0 ;
30264 void *argp3 = 0 ;
30265 int res3 = 0 ;
30266
30267 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30268 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30269 if (!SWIG_IsOK(res1)) {
30270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30271 }
30272 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30273 if (!SWIG_IsOK(res2)) {
30274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30275 }
30276 if (swig_obj[2]) {
30277 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30278 if (!SWIG_IsOK(res3)) {
30279 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30280 }
30281 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30282 }
30283 {
30284 if (!wxPyCheckForApp()) SWIG_fail;
30285 PyThreadState* __tstate = wxPyBeginAllowThreads();
30286 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30287 wxPyEndAllowThreads(__tstate);
30288 if (PyErr_Occurred()) SWIG_fail;
30289 }
30290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30291 return resultobj;
30292 fail:
30293 return NULL;
30294 }
30295
30296
30297 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30298 PyObject *resultobj = 0;
30299 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30300 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30301 wxPrintData *arg3 = (wxPrintData *) 0 ;
30302 wxPyPrintPreview *result = 0 ;
30303 int res1 = 0 ;
30304 int res2 = 0 ;
30305 void *argp3 = 0 ;
30306 int res3 = 0 ;
30307
30308 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30309 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30310 if (!SWIG_IsOK(res1)) {
30311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30312 }
30313 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30314 if (!SWIG_IsOK(res2)) {
30315 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30316 }
30317 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30318 if (!SWIG_IsOK(res3)) {
30319 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30320 }
30321 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30322 {
30323 if (!wxPyCheckForApp()) SWIG_fail;
30324 PyThreadState* __tstate = wxPyBeginAllowThreads();
30325 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30326 wxPyEndAllowThreads(__tstate);
30327 if (PyErr_Occurred()) SWIG_fail;
30328 }
30329 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30330 return resultobj;
30331 fail:
30332 return NULL;
30333 }
30334
30335
30336 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30337 int argc;
30338 PyObject *argv[4];
30339
30340 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30341 --argc;
30342 if ((argc >= 2) && (argc <= 3)) {
30343 int _v = 0;
30344 if (argc > 2) {
30345 {
30346 void *vptr = 0;
30347 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30348 _v = SWIG_CheckState(res);
30349 }
30350 if (!_v) goto check_1;
30351 }
30352 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30353 }
30354 check_1:
30355
30356 if (argc == 3) {
30357 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30358 }
30359
30360 fail:
30361 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30362 return NULL;
30363 }
30364
30365
30366 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30367 PyObject *resultobj = 0;
30368 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30369 PyObject *arg2 = (PyObject *) 0 ;
30370 PyObject *arg3 = (PyObject *) 0 ;
30371 void *argp1 = 0 ;
30372 int res1 = 0 ;
30373 PyObject * obj0 = 0 ;
30374 PyObject * obj1 = 0 ;
30375 PyObject * obj2 = 0 ;
30376 char * kwnames[] = {
30377 (char *) "self",(char *) "self",(char *) "_class", NULL
30378 };
30379
30380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30382 if (!SWIG_IsOK(res1)) {
30383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30384 }
30385 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30386 arg2 = obj1;
30387 arg3 = obj2;
30388 {
30389 PyThreadState* __tstate = wxPyBeginAllowThreads();
30390 (arg1)->_setCallbackInfo(arg2,arg3);
30391 wxPyEndAllowThreads(__tstate);
30392 if (PyErr_Occurred()) SWIG_fail;
30393 }
30394 resultobj = SWIG_Py_Void();
30395 return resultobj;
30396 fail:
30397 return NULL;
30398 }
30399
30400
30401 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30402 PyObject *obj;
30403 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30404 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30405 return SWIG_Py_Void();
30406 }
30407
30408 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30409 return SWIG_Python_InitShadowInstance(args);
30410 }
30411
30412 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30413 PyObject *resultobj = 0;
30414 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30415 wxFrame *arg2 = (wxFrame *) 0 ;
30416 wxString *arg3 = 0 ;
30417 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30418 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30419 wxSize const &arg5_defvalue = wxDefaultSize ;
30420 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30421 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30422 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30423 wxString *arg7 = (wxString *) &arg7_defvalue ;
30424 wxPyPreviewFrame *result = 0 ;
30425 void *argp1 = 0 ;
30426 int res1 = 0 ;
30427 void *argp2 = 0 ;
30428 int res2 = 0 ;
30429 bool temp3 = false ;
30430 wxPoint temp4 ;
30431 wxSize temp5 ;
30432 long val6 ;
30433 int ecode6 = 0 ;
30434 bool temp7 = false ;
30435 PyObject * obj0 = 0 ;
30436 PyObject * obj1 = 0 ;
30437 PyObject * obj2 = 0 ;
30438 PyObject * obj3 = 0 ;
30439 PyObject * obj4 = 0 ;
30440 PyObject * obj5 = 0 ;
30441 PyObject * obj6 = 0 ;
30442 char * kwnames[] = {
30443 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30444 };
30445
30446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30448 if (!SWIG_IsOK(res1)) {
30449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30450 }
30451 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30452 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30453 if (!SWIG_IsOK(res2)) {
30454 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30455 }
30456 arg2 = reinterpret_cast< wxFrame * >(argp2);
30457 {
30458 arg3 = wxString_in_helper(obj2);
30459 if (arg3 == NULL) SWIG_fail;
30460 temp3 = true;
30461 }
30462 if (obj3) {
30463 {
30464 arg4 = &temp4;
30465 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30466 }
30467 }
30468 if (obj4) {
30469 {
30470 arg5 = &temp5;
30471 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30472 }
30473 }
30474 if (obj5) {
30475 ecode6 = SWIG_AsVal_long(obj5, &val6);
30476 if (!SWIG_IsOK(ecode6)) {
30477 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30478 }
30479 arg6 = static_cast< long >(val6);
30480 }
30481 if (obj6) {
30482 {
30483 arg7 = wxString_in_helper(obj6);
30484 if (arg7 == NULL) SWIG_fail;
30485 temp7 = true;
30486 }
30487 }
30488 {
30489 if (!wxPyCheckForApp()) SWIG_fail;
30490 PyThreadState* __tstate = wxPyBeginAllowThreads();
30491 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30492 wxPyEndAllowThreads(__tstate);
30493 if (PyErr_Occurred()) SWIG_fail;
30494 }
30495 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30496 {
30497 if (temp3)
30498 delete arg3;
30499 }
30500 {
30501 if (temp7)
30502 delete arg7;
30503 }
30504 return resultobj;
30505 fail:
30506 {
30507 if (temp3)
30508 delete arg3;
30509 }
30510 {
30511 if (temp7)
30512 delete arg7;
30513 }
30514 return NULL;
30515 }
30516
30517
30518 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30519 PyObject *resultobj = 0;
30520 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30521 PyObject *arg2 = (PyObject *) 0 ;
30522 PyObject *arg3 = (PyObject *) 0 ;
30523 void *argp1 = 0 ;
30524 int res1 = 0 ;
30525 PyObject * obj0 = 0 ;
30526 PyObject * obj1 = 0 ;
30527 PyObject * obj2 = 0 ;
30528 char * kwnames[] = {
30529 (char *) "self",(char *) "self",(char *) "_class", NULL
30530 };
30531
30532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30534 if (!SWIG_IsOK(res1)) {
30535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30536 }
30537 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30538 arg2 = obj1;
30539 arg3 = obj2;
30540 {
30541 PyThreadState* __tstate = wxPyBeginAllowThreads();
30542 (arg1)->_setCallbackInfo(arg2,arg3);
30543 wxPyEndAllowThreads(__tstate);
30544 if (PyErr_Occurred()) SWIG_fail;
30545 }
30546 resultobj = SWIG_Py_Void();
30547 return resultobj;
30548 fail:
30549 return NULL;
30550 }
30551
30552
30553 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30554 PyObject *resultobj = 0;
30555 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30556 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30557 void *argp1 = 0 ;
30558 int res1 = 0 ;
30559 void *argp2 = 0 ;
30560 int res2 = 0 ;
30561 PyObject * obj0 = 0 ;
30562 PyObject * obj1 = 0 ;
30563 char * kwnames[] = {
30564 (char *) "self",(char *) "canvas", NULL
30565 };
30566
30567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30569 if (!SWIG_IsOK(res1)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30571 }
30572 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30573 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30574 if (!SWIG_IsOK(res2)) {
30575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30576 }
30577 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30578 {
30579 PyThreadState* __tstate = wxPyBeginAllowThreads();
30580 (arg1)->SetPreviewCanvas(arg2);
30581 wxPyEndAllowThreads(__tstate);
30582 if (PyErr_Occurred()) SWIG_fail;
30583 }
30584 resultobj = SWIG_Py_Void();
30585 return resultobj;
30586 fail:
30587 return NULL;
30588 }
30589
30590
30591 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30592 PyObject *resultobj = 0;
30593 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30594 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30595 void *argp1 = 0 ;
30596 int res1 = 0 ;
30597 void *argp2 = 0 ;
30598 int res2 = 0 ;
30599 PyObject * obj0 = 0 ;
30600 PyObject * obj1 = 0 ;
30601 char * kwnames[] = {
30602 (char *) "self",(char *) "bar", NULL
30603 };
30604
30605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30607 if (!SWIG_IsOK(res1)) {
30608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30609 }
30610 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30611 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30612 if (!SWIG_IsOK(res2)) {
30613 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30614 }
30615 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30616 {
30617 PyThreadState* __tstate = wxPyBeginAllowThreads();
30618 (arg1)->SetControlBar(arg2);
30619 wxPyEndAllowThreads(__tstate);
30620 if (PyErr_Occurred()) SWIG_fail;
30621 }
30622 resultobj = SWIG_Py_Void();
30623 return resultobj;
30624 fail:
30625 return NULL;
30626 }
30627
30628
30629 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30630 PyObject *resultobj = 0;
30631 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30632 void *argp1 = 0 ;
30633 int res1 = 0 ;
30634 PyObject *swig_obj[1] ;
30635
30636 if (!args) SWIG_fail;
30637 swig_obj[0] = args;
30638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30639 if (!SWIG_IsOK(res1)) {
30640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30641 }
30642 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30643 {
30644 PyThreadState* __tstate = wxPyBeginAllowThreads();
30645 (arg1)->Initialize();
30646 wxPyEndAllowThreads(__tstate);
30647 if (PyErr_Occurred()) SWIG_fail;
30648 }
30649 resultobj = SWIG_Py_Void();
30650 return resultobj;
30651 fail:
30652 return NULL;
30653 }
30654
30655
30656 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30657 PyObject *resultobj = 0;
30658 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30659 void *argp1 = 0 ;
30660 int res1 = 0 ;
30661 PyObject *swig_obj[1] ;
30662
30663 if (!args) SWIG_fail;
30664 swig_obj[0] = args;
30665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30666 if (!SWIG_IsOK(res1)) {
30667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30668 }
30669 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30670 {
30671 PyThreadState* __tstate = wxPyBeginAllowThreads();
30672 (arg1)->CreateCanvas();
30673 wxPyEndAllowThreads(__tstate);
30674 if (PyErr_Occurred()) SWIG_fail;
30675 }
30676 resultobj = SWIG_Py_Void();
30677 return resultobj;
30678 fail:
30679 return NULL;
30680 }
30681
30682
30683 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30684 PyObject *resultobj = 0;
30685 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30686 void *argp1 = 0 ;
30687 int res1 = 0 ;
30688 PyObject *swig_obj[1] ;
30689
30690 if (!args) SWIG_fail;
30691 swig_obj[0] = args;
30692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30693 if (!SWIG_IsOK(res1)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30695 }
30696 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30697 {
30698 PyThreadState* __tstate = wxPyBeginAllowThreads();
30699 (arg1)->CreateControlBar();
30700 wxPyEndAllowThreads(__tstate);
30701 if (PyErr_Occurred()) SWIG_fail;
30702 }
30703 resultobj = SWIG_Py_Void();
30704 return resultobj;
30705 fail:
30706 return NULL;
30707 }
30708
30709
30710 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30711 PyObject *obj;
30712 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30713 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30714 return SWIG_Py_Void();
30715 }
30716
30717 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30718 return SWIG_Python_InitShadowInstance(args);
30719 }
30720
30721 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30722 PyObject *resultobj = 0;
30723 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30724 long arg2 ;
30725 wxWindow *arg3 = (wxWindow *) 0 ;
30726 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30727 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30728 wxSize const &arg5_defvalue = wxDefaultSize ;
30729 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30730 long arg6 = (long) 0 ;
30731 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30732 wxString *arg7 = (wxString *) &arg7_defvalue ;
30733 wxPyPreviewControlBar *result = 0 ;
30734 void *argp1 = 0 ;
30735 int res1 = 0 ;
30736 long val2 ;
30737 int ecode2 = 0 ;
30738 void *argp3 = 0 ;
30739 int res3 = 0 ;
30740 wxPoint temp4 ;
30741 wxSize temp5 ;
30742 long val6 ;
30743 int ecode6 = 0 ;
30744 bool temp7 = false ;
30745 PyObject * obj0 = 0 ;
30746 PyObject * obj1 = 0 ;
30747 PyObject * obj2 = 0 ;
30748 PyObject * obj3 = 0 ;
30749 PyObject * obj4 = 0 ;
30750 PyObject * obj5 = 0 ;
30751 PyObject * obj6 = 0 ;
30752 char * kwnames[] = {
30753 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30754 };
30755
30756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30758 if (!SWIG_IsOK(res1)) {
30759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30760 }
30761 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30762 ecode2 = SWIG_AsVal_long(obj1, &val2);
30763 if (!SWIG_IsOK(ecode2)) {
30764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30765 }
30766 arg2 = static_cast< long >(val2);
30767 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30768 if (!SWIG_IsOK(res3)) {
30769 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30770 }
30771 arg3 = reinterpret_cast< wxWindow * >(argp3);
30772 if (obj3) {
30773 {
30774 arg4 = &temp4;
30775 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30776 }
30777 }
30778 if (obj4) {
30779 {
30780 arg5 = &temp5;
30781 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30782 }
30783 }
30784 if (obj5) {
30785 ecode6 = SWIG_AsVal_long(obj5, &val6);
30786 if (!SWIG_IsOK(ecode6)) {
30787 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30788 }
30789 arg6 = static_cast< long >(val6);
30790 }
30791 if (obj6) {
30792 {
30793 arg7 = wxString_in_helper(obj6);
30794 if (arg7 == NULL) SWIG_fail;
30795 temp7 = true;
30796 }
30797 }
30798 {
30799 if (!wxPyCheckForApp()) SWIG_fail;
30800 PyThreadState* __tstate = wxPyBeginAllowThreads();
30801 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30802 wxPyEndAllowThreads(__tstate);
30803 if (PyErr_Occurred()) SWIG_fail;
30804 }
30805 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30806 {
30807 if (temp7)
30808 delete arg7;
30809 }
30810 return resultobj;
30811 fail:
30812 {
30813 if (temp7)
30814 delete arg7;
30815 }
30816 return NULL;
30817 }
30818
30819
30820 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30821 PyObject *resultobj = 0;
30822 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30823 PyObject *arg2 = (PyObject *) 0 ;
30824 PyObject *arg3 = (PyObject *) 0 ;
30825 void *argp1 = 0 ;
30826 int res1 = 0 ;
30827 PyObject * obj0 = 0 ;
30828 PyObject * obj1 = 0 ;
30829 PyObject * obj2 = 0 ;
30830 char * kwnames[] = {
30831 (char *) "self",(char *) "self",(char *) "_class", NULL
30832 };
30833
30834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30836 if (!SWIG_IsOK(res1)) {
30837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30838 }
30839 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30840 arg2 = obj1;
30841 arg3 = obj2;
30842 {
30843 PyThreadState* __tstate = wxPyBeginAllowThreads();
30844 (arg1)->_setCallbackInfo(arg2,arg3);
30845 wxPyEndAllowThreads(__tstate);
30846 if (PyErr_Occurred()) SWIG_fail;
30847 }
30848 resultobj = SWIG_Py_Void();
30849 return resultobj;
30850 fail:
30851 return NULL;
30852 }
30853
30854
30855 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30856 PyObject *resultobj = 0;
30857 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30858 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30859 void *argp1 = 0 ;
30860 int res1 = 0 ;
30861 void *argp2 = 0 ;
30862 int res2 = 0 ;
30863 PyObject * obj0 = 0 ;
30864 PyObject * obj1 = 0 ;
30865 char * kwnames[] = {
30866 (char *) "self",(char *) "preview", NULL
30867 };
30868
30869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30871 if (!SWIG_IsOK(res1)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30873 }
30874 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30875 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30876 if (!SWIG_IsOK(res2)) {
30877 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30878 }
30879 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30880 {
30881 PyThreadState* __tstate = wxPyBeginAllowThreads();
30882 (arg1)->SetPrintPreview(arg2);
30883 wxPyEndAllowThreads(__tstate);
30884 if (PyErr_Occurred()) SWIG_fail;
30885 }
30886 resultobj = SWIG_Py_Void();
30887 return resultobj;
30888 fail:
30889 return NULL;
30890 }
30891
30892
30893 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30894 PyObject *resultobj = 0;
30895 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30896 void *argp1 = 0 ;
30897 int res1 = 0 ;
30898 PyObject *swig_obj[1] ;
30899
30900 if (!args) SWIG_fail;
30901 swig_obj[0] = args;
30902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30903 if (!SWIG_IsOK(res1)) {
30904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30905 }
30906 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30907 {
30908 PyThreadState* __tstate = wxPyBeginAllowThreads();
30909 (arg1)->CreateButtons();
30910 wxPyEndAllowThreads(__tstate);
30911 if (PyErr_Occurred()) SWIG_fail;
30912 }
30913 resultobj = SWIG_Py_Void();
30914 return resultobj;
30915 fail:
30916 return NULL;
30917 }
30918
30919
30920 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30921 PyObject *resultobj = 0;
30922 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30923 int arg2 ;
30924 void *argp1 = 0 ;
30925 int res1 = 0 ;
30926 int val2 ;
30927 int ecode2 = 0 ;
30928 PyObject * obj0 = 0 ;
30929 PyObject * obj1 = 0 ;
30930 char * kwnames[] = {
30931 (char *) "self",(char *) "zoom", NULL
30932 };
30933
30934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30936 if (!SWIG_IsOK(res1)) {
30937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30938 }
30939 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30940 ecode2 = SWIG_AsVal_int(obj1, &val2);
30941 if (!SWIG_IsOK(ecode2)) {
30942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30943 }
30944 arg2 = static_cast< int >(val2);
30945 {
30946 PyThreadState* __tstate = wxPyBeginAllowThreads();
30947 (arg1)->SetZoomControl(arg2);
30948 wxPyEndAllowThreads(__tstate);
30949 if (PyErr_Occurred()) SWIG_fail;
30950 }
30951 resultobj = SWIG_Py_Void();
30952 return resultobj;
30953 fail:
30954 return NULL;
30955 }
30956
30957
30958 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30959 PyObject *obj;
30960 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30961 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30962 return SWIG_Py_Void();
30963 }
30964
30965 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30966 return SWIG_Python_InitShadowInstance(args);
30967 }
30968
30969 static PyMethodDef SwigMethods[] = {
30970 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30971 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30972 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30973 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30974 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30975 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30976 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30977 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30978 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30979 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30982 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30983 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30985 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30986 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30988 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30990 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30991 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30992 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30993 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30994 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30996 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30997 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30998 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30999 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31000 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31002 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31003 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31004 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31005 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31006 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31007 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31008 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31009 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31010 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31014 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31016 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31019 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31021 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction) _wrap_TopLevelWindow_SetTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
31024 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction)_wrap_TopLevelWindow_CanSetTransparent, METH_O, NULL},
31025 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31026 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31027 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31028 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31030 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31032 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31034 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31035 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31038 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31039 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31041 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31042 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31043 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31044 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31046 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31048 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31049 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31050 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31052 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31055 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31056 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31057 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31059 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31060 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31061 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31063 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31064 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31066 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31067 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31068 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31069 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31070 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31071 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31072 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31073 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31074 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31075 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31076 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31077 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31078 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31080 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31081 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31082 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31083 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31084 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31086 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31089 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31090 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31092 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31093 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31094 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31095 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31096 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31098 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31099 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31101 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31102 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31104 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31106 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31107 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31109 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31112 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31115 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31116 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31117 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31119 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31120 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31122 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31124 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31126 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31128 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31130 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31131 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31132 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31133 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31134 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31136 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31137 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31138 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31139 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31140 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31141 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31142 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31143 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31146 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31147 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31148 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31149 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31150 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31151 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31153 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31155 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31156 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31157 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31159 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31160 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31161 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31163 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31164 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31165 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31166 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31168 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31170 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31172 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31173 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31174 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31176 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31177 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31179 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31181 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31183 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31185 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31186 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31187 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31188 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31190 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31192 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31193 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31194 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31195 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31196 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31198 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31199 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31200 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31202 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31203 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31204 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31205 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31206 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31207 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31208 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31210 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31211 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31212 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31213 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31214 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31215 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31216 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31217 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31218 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31219 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31221 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31222 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31223 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31224 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31225 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31226 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31227 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31228 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31229 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31230 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31231 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31232 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31233 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31234 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31235 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31236 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31237 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31238 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31239 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31240 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31241 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31242 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31243 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31244 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31245 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31246 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31249 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31250 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31252 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31255 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31256 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31257 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31259 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31260 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31261 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31263 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31264 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31265 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31266 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31270 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31271 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31272 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31273 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31274 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31275 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31276 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31277 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31278 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31279 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31280 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31281 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31282 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31283 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31284 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31285 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31287 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31288 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31289 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31290 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31292 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31293 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31294 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31295 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31296 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31297 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31298 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31299 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31300 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31301 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31302 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31303 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31304 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31305 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31306 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31307 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31308 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31309 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31310 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31311 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31312 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31313 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31314 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31315 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31316 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31317 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31318 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31319 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31320 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31321 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31322 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31323 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31324 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31325 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31327 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31329 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31330 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31331 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31332 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31333 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31334 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31335 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31336 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31337 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31338 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31339 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31340 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31341 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31342 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31343 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31344 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31345 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31346 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31347 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31348 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31349 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31350 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31351 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31352 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31353 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31354 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31355 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31356 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31357 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31358 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31359 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31360 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31361 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31362 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31363 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31364 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31365 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31366 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31367 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31368 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31369 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31370 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31371 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31372 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31373 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31374 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31375 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31376 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31377 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31378 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31379 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31380 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31381 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31382 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31383 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31384 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31385 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31387 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31388 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31389 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31390 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31391 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31392 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31393 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31394 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31395 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31396 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31397 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31398 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31399 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31400 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31403 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31404 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31406 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31407 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31408 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31409 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31410 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31412 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31413 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31414 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31415 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31416 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31417 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31418 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31419 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31420 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31421 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31422 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31423 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31424 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31425 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31426 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31427 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31428 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31429 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31430 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31431 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
31432 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31433 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31435 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31436 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31438 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31439 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31440 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31441 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31442 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31443 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31444 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31446 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31447 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31448 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31449 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31450 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31451 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31454 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31455 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31457 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31458 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31459 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31460 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31461 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31462 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31463 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31464 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31465 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31467 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31468 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31469 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31470 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31472 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31473 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31474 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31475 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31476 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31477 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31478 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31479 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31480 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31481 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31482 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31483 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31484 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31485 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31487 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31488 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31489 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31490 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31491 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31492 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31493 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31494 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31495 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31496 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31497 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31498 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31499 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31500 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31501 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31502 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31503 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31504 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31505 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31506 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31507 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31508 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31509 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31510 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31511 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31512 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31513 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31514 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31515 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31516 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31517 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31522 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31523 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31524 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31525 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31526 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31527 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31528 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31529 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31531 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31532 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31533 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31534 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31535 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31536 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31537 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31540 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31541 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31542 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31543 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31544 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31545 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31546 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31547 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31548 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31549 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31550 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31551 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31552 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31553 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31554 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31557 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31560 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31561 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31563 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31564 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31565 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31566 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31567 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31569 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31570 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31571 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31572 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31573 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31574 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31575 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31576 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31577 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31578 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31579 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31580 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31581 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31582 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31583 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31584 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31585 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31586 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31587 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31588 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31589 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31590 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31591 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31592 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31599 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31600 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31601 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31602 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31603 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31604 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31605 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31606 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31607 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31608 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31609 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31610 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31611 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31612 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31613 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31614 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31615 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31617 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31618 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31619 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31620 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31621 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31622 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31623 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31624 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31625 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31626 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31627 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31628 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31629 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31630 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31631 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31632 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31633 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31635 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31637 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31639 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31640 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31641 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31642 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31643 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31644 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31645 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31646 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31647 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31648 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31649 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31650 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31651 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31652 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31653 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31654 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31655 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31656 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31657 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31658 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31659 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31660 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31661 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31662 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31664 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31666 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31667 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31668 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31669 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31670 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31671 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31672 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31673 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31674 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31675 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31677 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31679 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31680 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31682 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31683 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31684 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31685 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31688 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31689 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31690 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31691 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31692 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31693 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31694 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31695 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31697 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31698 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31699 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31700 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31702 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31703 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31708 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31709 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31710 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31711 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31712 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31713 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31714 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31716 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31717 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31718 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31719 { NULL, NULL, 0, NULL }
31720 };
31721
31722
31723 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31724
31725 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31726 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31727 }
31728 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31729 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31730 }
31731 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31732 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31733 }
31734 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31735 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31736 }
31737 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31738 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31739 }
31740 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31741 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31742 }
31743 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31744 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31745 }
31746 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31747 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31748 }
31749 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31750 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31751 }
31752 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31753 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31754 }
31755 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31756 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31757 }
31758 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31759 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31760 }
31761 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31762 return (void *)((wxEvent *) ((wxPyEvent *) x));
31763 }
31764 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31765 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31766 }
31767 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31768 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31769 }
31770 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31771 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31772 }
31773 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31774 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31775 }
31776 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31777 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31778 }
31779 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31780 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31781 }
31782 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31783 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31784 }
31785 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31786 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31787 }
31788 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31789 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31790 }
31791 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31792 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31793 }
31794 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31795 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31796 }
31797 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31798 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31799 }
31800 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31801 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31802 }
31803 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31804 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31805 }
31806 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31807 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31808 }
31809 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31810 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31811 }
31812 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31813 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31814 }
31815 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31816 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31817 }
31818 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31819 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31820 }
31821 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31822 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31823 }
31824 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31825 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31826 }
31827 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31828 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31829 }
31830 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31831 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31832 }
31833 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31834 return (void *)((wxEvent *) ((wxShowEvent *) x));
31835 }
31836 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31837 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31838 }
31839 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31840 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31841 }
31842 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31843 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31844 }
31845 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31846 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31847 }
31848 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31849 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31850 }
31851 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31852 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31853 }
31854 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31855 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31856 }
31857 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31858 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31859 }
31860 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31861 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31862 }
31863 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31864 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31865 }
31866 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31867 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31868 }
31869 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31870 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31871 }
31872 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31873 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31874 }
31875 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31876 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31877 }
31878 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31879 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31880 }
31881 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31882 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31883 }
31884 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31885 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31886 }
31887 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31888 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31889 }
31890 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31891 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31892 }
31893 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31894 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31895 }
31896 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31897 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31898 }
31899 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31900 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31901 }
31902 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31903 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31904 }
31905 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31906 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31907 }
31908 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31909 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31910 }
31911 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31912 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31913 }
31914 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31915 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31916 }
31917 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31918 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31919 }
31920 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31921 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31922 }
31923 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31924 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31925 }
31926 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31927 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31928 }
31929 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31930 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31931 }
31932 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31933 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31934 }
31935 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31936 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31937 }
31938 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31939 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31940 }
31941 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31942 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31943 }
31944 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31945 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31946 }
31947 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31948 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31949 }
31950 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31951 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31952 }
31953 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31954 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31955 }
31956 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31957 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31958 }
31959 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31960 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31961 }
31962 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31963 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31964 }
31965 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31966 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31967 }
31968 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31969 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31970 }
31971 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31972 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31973 }
31974 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31975 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31976 }
31977 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31978 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31979 }
31980 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31981 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31982 }
31983 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31984 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31985 }
31986 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31987 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31988 }
31989 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31990 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31991 }
31992 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31993 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31994 }
31995 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31996 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31997 }
31998 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31999 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32000 }
32001 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32002 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32003 }
32004 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32005 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32006 }
32007 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32008 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32009 }
32010 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32011 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32012 }
32013 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32014 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32015 }
32016 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32017 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32018 }
32019 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32020 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32021 }
32022 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32023 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32024 }
32025 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32026 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32027 }
32028 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32029 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32030 }
32031 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32032 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32033 }
32034 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32035 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32036 }
32037 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32038 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32039 }
32040 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32041 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32042 }
32043 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32045 }
32046 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32048 }
32049 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32050 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32051 }
32052 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32053 return (void *)((wxObject *) ((wxSizerItem *) x));
32054 }
32055 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32056 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32057 }
32058 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32059 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32060 }
32061 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32062 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32063 }
32064 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32065 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32066 }
32067 static void *_p_wxSizerTo_p_wxObject(void *x) {
32068 return (void *)((wxObject *) ((wxSizer *) x));
32069 }
32070 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32071 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32072 }
32073 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32074 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32075 }
32076 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32078 }
32079 static void *_p_wxEventTo_p_wxObject(void *x) {
32080 return (void *)((wxObject *) ((wxEvent *) x));
32081 }
32082 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32083 return (void *)((wxObject *) ((wxFontData *) x));
32084 }
32085 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32086 return (void *)((wxObject *) ((wxPrintData *) x));
32087 }
32088 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32089 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32090 }
32091 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32092 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32093 }
32094 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32095 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32096 }
32097 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32098 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32099 }
32100 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32101 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32102 }
32103 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32104 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32105 }
32106 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32107 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32108 }
32109 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32110 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32111 }
32112 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32113 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32114 }
32115 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32116 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32117 }
32118 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32119 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32120 }
32121 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32122 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32123 }
32124 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32125 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32126 }
32127 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32128 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32129 }
32130 static void *_p_wxControlTo_p_wxObject(void *x) {
32131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32132 }
32133 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32134 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32135 }
32136 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32137 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32138 }
32139 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32140 return (void *)((wxObject *) ((wxFSFile *) x));
32141 }
32142 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32143 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32144 }
32145 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32146 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32147 }
32148 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32150 }
32151 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32152 return (void *)((wxObject *) ((wxColourData *) x));
32153 }
32154 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32155 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32156 }
32157 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32158 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32159 }
32160 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32162 }
32163 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32165 }
32166 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32168 }
32169 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32171 }
32172 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32174 }
32175 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32177 }
32178 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32180 }
32181 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32183 }
32184 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32186 }
32187 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32189 }
32190 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32192 }
32193 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32194 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32195 }
32196 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32197 return (void *)((wxObject *) ((wxPrinter *) x));
32198 }
32199 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32200 return (void *)((wxObject *) ((wxMenuItem *) x));
32201 }
32202 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32203 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32204 }
32205 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32206 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32207 }
32208 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32209 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32210 }
32211 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32212 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32213 }
32214 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32215 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32216 }
32217 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32218 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32219 }
32220 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32221 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32222 }
32223 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32224 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32225 }
32226 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32227 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32228 }
32229 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32230 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32231 }
32232 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32233 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32234 }
32235 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32236 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32237 }
32238 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32239 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32240 }
32241 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32242 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32243 }
32244 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32245 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32246 }
32247 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32248 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32249 }
32250 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32251 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32252 }
32253 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32254 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32255 }
32256 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32257 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32258 }
32259 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32260 return (void *)((wxObject *) ((wxImageHandler *) x));
32261 }
32262 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32263 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32264 }
32265 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32266 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32267 }
32268 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32269 return (void *)((wxObject *) ((wxEvtHandler *) x));
32270 }
32271 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32272 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32273 }
32274 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32276 }
32277 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32279 }
32280 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32281 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32282 }
32283 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32284 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32285 }
32286 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32288 }
32289 static void *_p_wxImageTo_p_wxObject(void *x) {
32290 return (void *)((wxObject *) ((wxImage *) x));
32291 }
32292 static void *_p_wxFrameTo_p_wxObject(void *x) {
32293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32294 }
32295 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32296 return (void *)((wxObject *) ((wxPyPrintout *) x));
32297 }
32298 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32299 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32300 }
32301 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32302 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32303 }
32304 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32306 }
32307 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32309 }
32310 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32312 }
32313 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32314 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32315 }
32316 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32317 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32318 }
32319 static void *_p_wxWindowTo_p_wxObject(void *x) {
32320 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32321 }
32322 static void *_p_wxMenuTo_p_wxObject(void *x) {
32323 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32324 }
32325 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32327 }
32328 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32330 }
32331 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32333 }
32334 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32336 }
32337 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32339 }
32340 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32342 }
32343 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32345 }
32346 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32348 }
32349 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32351 }
32352 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32354 }
32355 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32357 }
32358 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32360 }
32361 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32363 }
32364 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32365 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32366 }
32367 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32368 return (void *)((wxObject *) ((wxPrintPreview *) x));
32369 }
32370 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32371 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32372 }
32373 static void *_p_wxPanelTo_p_wxObject(void *x) {
32374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32375 }
32376 static void *_p_wxDialogTo_p_wxObject(void *x) {
32377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32378 }
32379 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32381 }
32382 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32384 }
32385 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32387 }
32388 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32389 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32390 }
32391 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32392 return (void *)((wxObject *) ((wxPrintDialog *) x));
32393 }
32394 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32395 return (void *)((wxObject *) ((wxFileSystem *) x));
32396 }
32397 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32399 }
32400 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32401 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32402 }
32403 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32404 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32405 }
32406 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32407 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32408 }
32409 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32410 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32411 }
32412 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32413 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32414 }
32415 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32416 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32417 }
32418 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32419 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32420 }
32421 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32422 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32423 }
32424 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32426 }
32427 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32428 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32429 }
32430 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32431 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32432 }
32433 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32434 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32435 }
32436 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32438 }
32439 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32440 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32441 }
32442 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32443 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32444 }
32445 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32446 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32447 }
32448 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32449 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32450 }
32451 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32452 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32453 }
32454 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32455 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32456 }
32457 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32458 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32459 }
32460 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32461 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32462 }
32463 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32464 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32465 }
32466 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32467 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32468 }
32469 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32470 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32471 }
32472 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32473 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32474 }
32475 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32476 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32477 }
32478 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32479 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32480 }
32481 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32482 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32483 }
32484 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32485 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32486 }
32487 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32488 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32489 }
32490 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32491 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32492 }
32493 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32494 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32495 }
32496 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32497 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32498 }
32499 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32500 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32501 }
32502 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32503 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32504 }
32505 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32506 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32507 }
32508 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32509 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32510 }
32511 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32512 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32513 }
32514 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32515 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32516 }
32517 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32518 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32519 }
32520 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32521 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32522 }
32523 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32524 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32525 }
32526 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32527 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32528 }
32529 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32530 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32531 }
32532 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32533 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32534 }
32535 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32536 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32537 }
32538 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32539 return (void *)((wxWindow *) ((wxMenuBar *) x));
32540 }
32541 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32543 }
32544 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32545 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32546 }
32547 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32549 }
32550 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32551 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32552 }
32553 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32554 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32555 }
32556 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32557 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32558 }
32559 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32560 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32561 }
32562 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32563 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32564 }
32565 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32566 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32567 }
32568 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32569 return (void *)((wxWindow *) ((wxPanel *) x));
32570 }
32571 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32572 return (void *)((wxWindow *) ((wxStatusBar *) x));
32573 }
32574 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32575 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32576 }
32577 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32578 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32579 }
32580 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32581 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32582 }
32583 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32584 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32585 }
32586 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32587 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32588 }
32589 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32590 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32591 }
32592 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32593 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32594 }
32595 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32596 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32597 }
32598 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32599 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32600 }
32601 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32602 return (void *)((wxWindow *) ((wxSashWindow *) x));
32603 }
32604 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32605 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32606 }
32607 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32608 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32609 }
32610 static void *_p_wxControlTo_p_wxWindow(void *x) {
32611 return (void *)((wxWindow *) ((wxControl *) x));
32612 }
32613 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32614 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32615 }
32616 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32617 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32618 }
32619 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32620 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32621 }
32622 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32623 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32624 }
32625 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32626 return (void *)((wxWindow *) ((wxPyWindow *) x));
32627 }
32628 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32629 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32630 }
32631 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32632 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32633 }
32634 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32635 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32636 }
32637 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32638 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32639 }
32640 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32641 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32642 }
32643 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32644 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32645 }
32646 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32647 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32648 }
32649 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32650 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32651 }
32652 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32653 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32654 }
32655 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32656 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32657 }
32658 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32659 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32660 }
32661 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32662 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32663 }
32664 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32665 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32666 }
32667 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32668 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32669 }
32670 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32671 return (void *)((wxDialog *) ((wxColourDialog *) x));
32672 }
32673 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32674 return (void *)((wxDialog *) ((wxDirDialog *) x));
32675 }
32676 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32677 return (void *)((wxDialog *) ((wxFontDialog *) x));
32678 }
32679 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32680 return (void *)((wxDialog *) ((wxFileDialog *) x));
32681 }
32682 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32683 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32684 }
32685 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32686 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32687 }
32688 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32689 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32690 }
32691 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32692 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32693 }
32694 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32695 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32696 }
32697 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32698 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32699 }
32700 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32701 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32702 }
32703 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32704 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32705 }
32706 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32707 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32708 }
32709 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32710 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32711 }
32712 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32713 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32714 }
32715 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32716 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32717 }
32718 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32719 return (void *)((wxPanel *) ((wxPyPanel *) x));
32720 }
32721 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32722 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32723 }
32724 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32725 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32726 }
32727 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32728 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32729 }
32730 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32731 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32732 }
32733 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32734 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32735 }
32736 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32737 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32738 }
32739 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32740 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32741 }
32742 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32743 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32744 }
32745 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32746 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32747 }
32748 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32749 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32750 }
32751 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32752 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32753 }
32754 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32755 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32756 }
32757 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32758 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32759 }
32760 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32761 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32762 }
32763 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32764 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32765 }
32766 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32767 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32768 }
32769 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32770 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32771 }
32772 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32774 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};
32775 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32778 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32779 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32780 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32782 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32783 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32786 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32787 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32788 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32789 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32790 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32791 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32792 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32793 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32794 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32795 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32796 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32797 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32798 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32799 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32800 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32801 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32802 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32803 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32804 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32805 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32806 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32807 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32808 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32809 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32810 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32811 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32812 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32813 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32814 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32815 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32816 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32817 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32818 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32819 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32820 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32821 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32822 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32823 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32824 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32825 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32826 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32827 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32828 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32829 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32830 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32831 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32832 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32833 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32834 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32835 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32836 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32837 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32838 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32839 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32840 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32841 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32842 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32843 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32844 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32845 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32846 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32847 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32848 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32849 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32850 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32851 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32852 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32853 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32854 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32855 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32856 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32857 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32858 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32859 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32860 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32861 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32862 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32863 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32864 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32865 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32866 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32867 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32868 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32869 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32870 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32871 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32872 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32873 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32874 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32875 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32876 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32877 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32878 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32879 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32880 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32881 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32882 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32883 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32884 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32885 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32886 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32887 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32888 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32889 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32890 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32891 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32892 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32893 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32894 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32895 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32896 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32897 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32898 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32899 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32900 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32901 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32902 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32903 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32904 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32905 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32906 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32907 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32908 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32909 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32910 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32911 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32912 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32913 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32914 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32915 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32916 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32917 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32918 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32919 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32920 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32921 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32922 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32923 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32924 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32925 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32926 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32927 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32928 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32929 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32930 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32931 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32932 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32933 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32934 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32935 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32936
32937 static swig_type_info *swig_type_initial[] = {
32938 &_swigt__p_bool,
32939 &_swigt__p_char,
32940 &_swigt__p_form_ops_t,
32941 &_swigt__p_int,
32942 &_swigt__p_unsigned_char,
32943 &_swigt__p_unsigned_int,
32944 &_swigt__p_unsigned_long,
32945 &_swigt__p_wxANIHandler,
32946 &_swigt__p_wxAcceleratorTable,
32947 &_swigt__p_wxActivateEvent,
32948 &_swigt__p_wxArrayInt,
32949 &_swigt__p_wxBMPHandler,
32950 &_swigt__p_wxBitmap,
32951 &_swigt__p_wxBoxSizer,
32952 &_swigt__p_wxCURHandler,
32953 &_swigt__p_wxCalculateLayoutEvent,
32954 &_swigt__p_wxChildFocusEvent,
32955 &_swigt__p_wxClipboardTextEvent,
32956 &_swigt__p_wxCloseEvent,
32957 &_swigt__p_wxColour,
32958 &_swigt__p_wxColourData,
32959 &_swigt__p_wxColourDialog,
32960 &_swigt__p_wxCommandEvent,
32961 &_swigt__p_wxContextMenuEvent,
32962 &_swigt__p_wxControl,
32963 &_swigt__p_wxControlWithItems,
32964 &_swigt__p_wxDC,
32965 &_swigt__p_wxDateEvent,
32966 &_swigt__p_wxDialog,
32967 &_swigt__p_wxDirDialog,
32968 &_swigt__p_wxDisplayChangedEvent,
32969 &_swigt__p_wxDropFilesEvent,
32970 &_swigt__p_wxDuplexMode,
32971 &_swigt__p_wxEraseEvent,
32972 &_swigt__p_wxEvent,
32973 &_swigt__p_wxEvtHandler,
32974 &_swigt__p_wxFSFile,
32975 &_swigt__p_wxFileDialog,
32976 &_swigt__p_wxFileSystem,
32977 &_swigt__p_wxFindDialogEvent,
32978 &_swigt__p_wxFindReplaceData,
32979 &_swigt__p_wxFindReplaceDialog,
32980 &_swigt__p_wxFlexGridSizer,
32981 &_swigt__p_wxFocusEvent,
32982 &_swigt__p_wxFont,
32983 &_swigt__p_wxFontData,
32984 &_swigt__p_wxFontDialog,
32985 &_swigt__p_wxFrame,
32986 &_swigt__p_wxGBSizerItem,
32987 &_swigt__p_wxGIFHandler,
32988 &_swigt__p_wxGridBagSizer,
32989 &_swigt__p_wxGridSizer,
32990 &_swigt__p_wxHtmlLinkInfo,
32991 &_swigt__p_wxICOHandler,
32992 &_swigt__p_wxIcon,
32993 &_swigt__p_wxIconBundle,
32994 &_swigt__p_wxIconizeEvent,
32995 &_swigt__p_wxIdleEvent,
32996 &_swigt__p_wxImage,
32997 &_swigt__p_wxImageHandler,
32998 &_swigt__p_wxIndividualLayoutConstraint,
32999 &_swigt__p_wxInitDialogEvent,
33000 &_swigt__p_wxJPEGHandler,
33001 &_swigt__p_wxKeyEvent,
33002 &_swigt__p_wxLayoutAlgorithm,
33003 &_swigt__p_wxLayoutConstraints,
33004 &_swigt__p_wxMDIChildFrame,
33005 &_swigt__p_wxMDIClientWindow,
33006 &_swigt__p_wxMDIParentFrame,
33007 &_swigt__p_wxMaximizeEvent,
33008 &_swigt__p_wxMenu,
33009 &_swigt__p_wxMenuBar,
33010 &_swigt__p_wxMenuEvent,
33011 &_swigt__p_wxMenuItem,
33012 &_swigt__p_wxMessageDialog,
33013 &_swigt__p_wxMiniFrame,
33014 &_swigt__p_wxMouseCaptureChangedEvent,
33015 &_swigt__p_wxMouseEvent,
33016 &_swigt__p_wxMoveEvent,
33017 &_swigt__p_wxMultiChoiceDialog,
33018 &_swigt__p_wxNavigationKeyEvent,
33019 &_swigt__p_wxNcPaintEvent,
33020 &_swigt__p_wxNotifyEvent,
33021 &_swigt__p_wxNumberEntryDialog,
33022 &_swigt__p_wxObject,
33023 &_swigt__p_wxPCXHandler,
33024 &_swigt__p_wxPNGHandler,
33025 &_swigt__p_wxPNMHandler,
33026 &_swigt__p_wxPageSetupDialog,
33027 &_swigt__p_wxPageSetupDialogData,
33028 &_swigt__p_wxPaintEvent,
33029 &_swigt__p_wxPaletteChangedEvent,
33030 &_swigt__p_wxPanel,
33031 &_swigt__p_wxPaperSize,
33032 &_swigt__p_wxPasswordEntryDialog,
33033 &_swigt__p_wxPoint,
33034 &_swigt__p_wxPopupWindow,
33035 &_swigt__p_wxPreviewCanvas,
33036 &_swigt__p_wxPreviewControlBar,
33037 &_swigt__p_wxPreviewFrame,
33038 &_swigt__p_wxPrintData,
33039 &_swigt__p_wxPrintDialog,
33040 &_swigt__p_wxPrintDialogData,
33041 &_swigt__p_wxPrintPreview,
33042 &_swigt__p_wxPrinter,
33043 &_swigt__p_wxProgressDialog,
33044 &_swigt__p_wxPyApp,
33045 &_swigt__p_wxPyCommandEvent,
33046 &_swigt__p_wxPyEvent,
33047 &_swigt__p_wxPyHtmlListBox,
33048 &_swigt__p_wxPyImageHandler,
33049 &_swigt__p_wxPyPanel,
33050 &_swigt__p_wxPyPopupTransientWindow,
33051 &_swigt__p_wxPyPreviewControlBar,
33052 &_swigt__p_wxPyPreviewFrame,
33053 &_swigt__p_wxPyPrintPreview,
33054 &_swigt__p_wxPyPrintout,
33055 &_swigt__p_wxPyScrolledWindow,
33056 &_swigt__p_wxPySizer,
33057 &_swigt__p_wxPyTaskBarIcon,
33058 &_swigt__p_wxPyVListBox,
33059 &_swigt__p_wxPyVScrolledWindow,
33060 &_swigt__p_wxPyValidator,
33061 &_swigt__p_wxPyWindow,
33062 &_swigt__p_wxQueryLayoutInfoEvent,
33063 &_swigt__p_wxQueryNewPaletteEvent,
33064 &_swigt__p_wxRect,
33065 &_swigt__p_wxRegion,
33066 &_swigt__p_wxSashEvent,
33067 &_swigt__p_wxSashLayoutWindow,
33068 &_swigt__p_wxSashWindow,
33069 &_swigt__p_wxScrollEvent,
33070 &_swigt__p_wxScrollWinEvent,
33071 &_swigt__p_wxScrolledWindow,
33072 &_swigt__p_wxSetCursorEvent,
33073 &_swigt__p_wxShowEvent,
33074 &_swigt__p_wxSingleChoiceDialog,
33075 &_swigt__p_wxSize,
33076 &_swigt__p_wxSizeEvent,
33077 &_swigt__p_wxSizer,
33078 &_swigt__p_wxSizerItem,
33079 &_swigt__p_wxSplashScreen,
33080 &_swigt__p_wxSplashScreenWindow,
33081 &_swigt__p_wxSplitterEvent,
33082 &_swigt__p_wxSplitterWindow,
33083 &_swigt__p_wxStaticBoxSizer,
33084 &_swigt__p_wxStatusBar,
33085 &_swigt__p_wxStdDialogButtonSizer,
33086 &_swigt__p_wxString,
33087 &_swigt__p_wxSysColourChangedEvent,
33088 &_swigt__p_wxTIFFHandler,
33089 &_swigt__p_wxTaskBarIcon,
33090 &_swigt__p_wxTaskBarIconEvent,
33091 &_swigt__p_wxTextEntryDialog,
33092 &_swigt__p_wxTipWindow,
33093 &_swigt__p_wxToolBar,
33094 &_swigt__p_wxTopLevelWindow,
33095 &_swigt__p_wxUpdateUIEvent,
33096 &_swigt__p_wxValidator,
33097 &_swigt__p_wxVisualAttributes,
33098 &_swigt__p_wxWindow,
33099 &_swigt__p_wxWindowCreateEvent,
33100 &_swigt__p_wxWindowDestroyEvent,
33101 &_swigt__p_wxXPMHandler,
33102 };
33103
33104 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33105 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33106 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33107 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33108 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33109 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33110 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33111 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33112 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33114 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33115 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33116 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33117 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33118 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33119 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33120 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33121 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33126 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}};
33127 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33128 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
33129 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33130 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33131 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33132 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33133 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33134 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33135 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33136 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33137 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33138 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33139 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33140 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33141 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33142 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33143 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33144 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33145 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33146 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33147 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33148 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33149 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33150 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33151 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33152 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33153 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33154 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33155 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33156 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}};
33157 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33158 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33159 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33160 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33161 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33162 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
33163 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33164 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33165 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33166 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33167 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33168 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33169 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33170 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33171 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
33172 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33173 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33174 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33175 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33176 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33177 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33178 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33179 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33180 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33181 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33182 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33183 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33184 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}};
33185 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33186 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33187 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33188 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33189 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33190 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33191 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33192 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33193 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33194 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33195 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33196 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33197 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33198 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33199 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33200 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33201 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33202 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33203 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33204 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33205 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33206 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33207 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33208 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33209 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33210 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33211 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33212 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33213 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33214 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33215 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33216 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33217 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}};
33218 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33219 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33220 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33221 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
33222 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33223 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}};
33224 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}};
33225 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33226 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33227 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33228 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}};
33229 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33230 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33231 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33232 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33233 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
33234 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33235 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33236 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33237 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33238 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33239 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33240 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}};
33241 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}};
33242 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33243 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33244 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33245 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33246 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33247 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33248 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}};
33249 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33250 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}};
33251 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33252 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33253 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33254 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33255 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33256 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33257 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33258 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33259 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33260 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33261 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33262 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}};
33263 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33264 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33265 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
33266 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33267 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33268
33269 static swig_cast_info *swig_cast_initial[] = {
33270 _swigc__p_bool,
33271 _swigc__p_char,
33272 _swigc__p_form_ops_t,
33273 _swigc__p_int,
33274 _swigc__p_unsigned_char,
33275 _swigc__p_unsigned_int,
33276 _swigc__p_unsigned_long,
33277 _swigc__p_wxANIHandler,
33278 _swigc__p_wxAcceleratorTable,
33279 _swigc__p_wxActivateEvent,
33280 _swigc__p_wxArrayInt,
33281 _swigc__p_wxBMPHandler,
33282 _swigc__p_wxBitmap,
33283 _swigc__p_wxBoxSizer,
33284 _swigc__p_wxCURHandler,
33285 _swigc__p_wxCalculateLayoutEvent,
33286 _swigc__p_wxChildFocusEvent,
33287 _swigc__p_wxClipboardTextEvent,
33288 _swigc__p_wxCloseEvent,
33289 _swigc__p_wxColour,
33290 _swigc__p_wxColourData,
33291 _swigc__p_wxColourDialog,
33292 _swigc__p_wxCommandEvent,
33293 _swigc__p_wxContextMenuEvent,
33294 _swigc__p_wxControl,
33295 _swigc__p_wxControlWithItems,
33296 _swigc__p_wxDC,
33297 _swigc__p_wxDateEvent,
33298 _swigc__p_wxDialog,
33299 _swigc__p_wxDirDialog,
33300 _swigc__p_wxDisplayChangedEvent,
33301 _swigc__p_wxDropFilesEvent,
33302 _swigc__p_wxDuplexMode,
33303 _swigc__p_wxEraseEvent,
33304 _swigc__p_wxEvent,
33305 _swigc__p_wxEvtHandler,
33306 _swigc__p_wxFSFile,
33307 _swigc__p_wxFileDialog,
33308 _swigc__p_wxFileSystem,
33309 _swigc__p_wxFindDialogEvent,
33310 _swigc__p_wxFindReplaceData,
33311 _swigc__p_wxFindReplaceDialog,
33312 _swigc__p_wxFlexGridSizer,
33313 _swigc__p_wxFocusEvent,
33314 _swigc__p_wxFont,
33315 _swigc__p_wxFontData,
33316 _swigc__p_wxFontDialog,
33317 _swigc__p_wxFrame,
33318 _swigc__p_wxGBSizerItem,
33319 _swigc__p_wxGIFHandler,
33320 _swigc__p_wxGridBagSizer,
33321 _swigc__p_wxGridSizer,
33322 _swigc__p_wxHtmlLinkInfo,
33323 _swigc__p_wxICOHandler,
33324 _swigc__p_wxIcon,
33325 _swigc__p_wxIconBundle,
33326 _swigc__p_wxIconizeEvent,
33327 _swigc__p_wxIdleEvent,
33328 _swigc__p_wxImage,
33329 _swigc__p_wxImageHandler,
33330 _swigc__p_wxIndividualLayoutConstraint,
33331 _swigc__p_wxInitDialogEvent,
33332 _swigc__p_wxJPEGHandler,
33333 _swigc__p_wxKeyEvent,
33334 _swigc__p_wxLayoutAlgorithm,
33335 _swigc__p_wxLayoutConstraints,
33336 _swigc__p_wxMDIChildFrame,
33337 _swigc__p_wxMDIClientWindow,
33338 _swigc__p_wxMDIParentFrame,
33339 _swigc__p_wxMaximizeEvent,
33340 _swigc__p_wxMenu,
33341 _swigc__p_wxMenuBar,
33342 _swigc__p_wxMenuEvent,
33343 _swigc__p_wxMenuItem,
33344 _swigc__p_wxMessageDialog,
33345 _swigc__p_wxMiniFrame,
33346 _swigc__p_wxMouseCaptureChangedEvent,
33347 _swigc__p_wxMouseEvent,
33348 _swigc__p_wxMoveEvent,
33349 _swigc__p_wxMultiChoiceDialog,
33350 _swigc__p_wxNavigationKeyEvent,
33351 _swigc__p_wxNcPaintEvent,
33352 _swigc__p_wxNotifyEvent,
33353 _swigc__p_wxNumberEntryDialog,
33354 _swigc__p_wxObject,
33355 _swigc__p_wxPCXHandler,
33356 _swigc__p_wxPNGHandler,
33357 _swigc__p_wxPNMHandler,
33358 _swigc__p_wxPageSetupDialog,
33359 _swigc__p_wxPageSetupDialogData,
33360 _swigc__p_wxPaintEvent,
33361 _swigc__p_wxPaletteChangedEvent,
33362 _swigc__p_wxPanel,
33363 _swigc__p_wxPaperSize,
33364 _swigc__p_wxPasswordEntryDialog,
33365 _swigc__p_wxPoint,
33366 _swigc__p_wxPopupWindow,
33367 _swigc__p_wxPreviewCanvas,
33368 _swigc__p_wxPreviewControlBar,
33369 _swigc__p_wxPreviewFrame,
33370 _swigc__p_wxPrintData,
33371 _swigc__p_wxPrintDialog,
33372 _swigc__p_wxPrintDialogData,
33373 _swigc__p_wxPrintPreview,
33374 _swigc__p_wxPrinter,
33375 _swigc__p_wxProgressDialog,
33376 _swigc__p_wxPyApp,
33377 _swigc__p_wxPyCommandEvent,
33378 _swigc__p_wxPyEvent,
33379 _swigc__p_wxPyHtmlListBox,
33380 _swigc__p_wxPyImageHandler,
33381 _swigc__p_wxPyPanel,
33382 _swigc__p_wxPyPopupTransientWindow,
33383 _swigc__p_wxPyPreviewControlBar,
33384 _swigc__p_wxPyPreviewFrame,
33385 _swigc__p_wxPyPrintPreview,
33386 _swigc__p_wxPyPrintout,
33387 _swigc__p_wxPyScrolledWindow,
33388 _swigc__p_wxPySizer,
33389 _swigc__p_wxPyTaskBarIcon,
33390 _swigc__p_wxPyVListBox,
33391 _swigc__p_wxPyVScrolledWindow,
33392 _swigc__p_wxPyValidator,
33393 _swigc__p_wxPyWindow,
33394 _swigc__p_wxQueryLayoutInfoEvent,
33395 _swigc__p_wxQueryNewPaletteEvent,
33396 _swigc__p_wxRect,
33397 _swigc__p_wxRegion,
33398 _swigc__p_wxSashEvent,
33399 _swigc__p_wxSashLayoutWindow,
33400 _swigc__p_wxSashWindow,
33401 _swigc__p_wxScrollEvent,
33402 _swigc__p_wxScrollWinEvent,
33403 _swigc__p_wxScrolledWindow,
33404 _swigc__p_wxSetCursorEvent,
33405 _swigc__p_wxShowEvent,
33406 _swigc__p_wxSingleChoiceDialog,
33407 _swigc__p_wxSize,
33408 _swigc__p_wxSizeEvent,
33409 _swigc__p_wxSizer,
33410 _swigc__p_wxSizerItem,
33411 _swigc__p_wxSplashScreen,
33412 _swigc__p_wxSplashScreenWindow,
33413 _swigc__p_wxSplitterEvent,
33414 _swigc__p_wxSplitterWindow,
33415 _swigc__p_wxStaticBoxSizer,
33416 _swigc__p_wxStatusBar,
33417 _swigc__p_wxStdDialogButtonSizer,
33418 _swigc__p_wxString,
33419 _swigc__p_wxSysColourChangedEvent,
33420 _swigc__p_wxTIFFHandler,
33421 _swigc__p_wxTaskBarIcon,
33422 _swigc__p_wxTaskBarIconEvent,
33423 _swigc__p_wxTextEntryDialog,
33424 _swigc__p_wxTipWindow,
33425 _swigc__p_wxToolBar,
33426 _swigc__p_wxTopLevelWindow,
33427 _swigc__p_wxUpdateUIEvent,
33428 _swigc__p_wxValidator,
33429 _swigc__p_wxVisualAttributes,
33430 _swigc__p_wxWindow,
33431 _swigc__p_wxWindowCreateEvent,
33432 _swigc__p_wxWindowDestroyEvent,
33433 _swigc__p_wxXPMHandler,
33434 };
33435
33436
33437 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33438
33439 static swig_const_info swig_const_table[] = {
33440 {0, 0, 0, 0.0, 0, 0}};
33441
33442 #ifdef __cplusplus
33443 }
33444 #endif
33445 /* -----------------------------------------------------------------------------
33446 * Type initialization:
33447 * This problem is tough by the requirement that no dynamic
33448 * memory is used. Also, since swig_type_info structures store pointers to
33449 * swig_cast_info structures and swig_cast_info structures store pointers back
33450 * to swig_type_info structures, we need some lookup code at initialization.
33451 * The idea is that swig generates all the structures that are needed.
33452 * The runtime then collects these partially filled structures.
33453 * The SWIG_InitializeModule function takes these initial arrays out of
33454 * swig_module, and does all the lookup, filling in the swig_module.types
33455 * array with the correct data and linking the correct swig_cast_info
33456 * structures together.
33457 *
33458 * The generated swig_type_info structures are assigned staticly to an initial
33459 * array. We just loop though that array, and handle each type individually.
33460 * First we lookup if this type has been already loaded, and if so, use the
33461 * loaded structure instead of the generated one. Then we have to fill in the
33462 * cast linked list. The cast data is initially stored in something like a
33463 * two-dimensional array. Each row corresponds to a type (there are the same
33464 * number of rows as there are in the swig_type_initial array). Each entry in
33465 * a column is one of the swig_cast_info structures for that type.
33466 * The cast_initial array is actually an array of arrays, because each row has
33467 * a variable number of columns. So to actually build the cast linked list,
33468 * we find the array of casts associated with the type, and loop through it
33469 * adding the casts to the list. The one last trick we need to do is making
33470 * sure the type pointer in the swig_cast_info struct is correct.
33471 *
33472 * First off, we lookup the cast->type name to see if it is already loaded.
33473 * There are three cases to handle:
33474 * 1) If the cast->type has already been loaded AND the type we are adding
33475 * casting info to has not been loaded (it is in this module), THEN we
33476 * replace the cast->type pointer with the type pointer that has already
33477 * been loaded.
33478 * 2) If BOTH types (the one we are adding casting info to, and the
33479 * cast->type) are loaded, THEN the cast info has already been loaded by
33480 * the previous module so we just ignore it.
33481 * 3) Finally, if cast->type has not already been loaded, then we add that
33482 * swig_cast_info to the linked list (because the cast->type) pointer will
33483 * be correct.
33484 * ----------------------------------------------------------------------------- */
33485
33486 #ifdef __cplusplus
33487 extern "C" {
33488 #if 0
33489 } /* c-mode */
33490 #endif
33491 #endif
33492
33493 #if 0
33494 #define SWIGRUNTIME_DEBUG
33495 #endif
33496
33497 SWIGRUNTIME void
33498 SWIG_InitializeModule(void *clientdata) {
33499 size_t i;
33500 swig_module_info *module_head;
33501 static int init_run = 0;
33502
33503 clientdata = clientdata;
33504
33505 if (init_run) return;
33506 init_run = 1;
33507
33508 /* Initialize the swig_module */
33509 swig_module.type_initial = swig_type_initial;
33510 swig_module.cast_initial = swig_cast_initial;
33511
33512 /* Try and load any already created modules */
33513 module_head = SWIG_GetModule(clientdata);
33514 if (module_head) {
33515 swig_module.next = module_head->next;
33516 module_head->next = &swig_module;
33517 } else {
33518 /* This is the first module loaded */
33519 swig_module.next = &swig_module;
33520 SWIG_SetModule(clientdata, &swig_module);
33521 }
33522
33523 /* Now work on filling in swig_module.types */
33524 #ifdef SWIGRUNTIME_DEBUG
33525 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33526 #endif
33527 for (i = 0; i < swig_module.size; ++i) {
33528 swig_type_info *type = 0;
33529 swig_type_info *ret;
33530 swig_cast_info *cast;
33531
33532 #ifdef SWIGRUNTIME_DEBUG
33533 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33534 #endif
33535
33536 /* if there is another module already loaded */
33537 if (swig_module.next != &swig_module) {
33538 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33539 }
33540 if (type) {
33541 /* Overwrite clientdata field */
33542 #ifdef SWIGRUNTIME_DEBUG
33543 printf("SWIG_InitializeModule: found type %s\n", type->name);
33544 #endif
33545 if (swig_module.type_initial[i]->clientdata) {
33546 type->clientdata = swig_module.type_initial[i]->clientdata;
33547 #ifdef SWIGRUNTIME_DEBUG
33548 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33549 #endif
33550 }
33551 } else {
33552 type = swig_module.type_initial[i];
33553 }
33554
33555 /* Insert casting types */
33556 cast = swig_module.cast_initial[i];
33557 while (cast->type) {
33558 /* Don't need to add information already in the list */
33559 ret = 0;
33560 #ifdef SWIGRUNTIME_DEBUG
33561 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33562 #endif
33563 if (swig_module.next != &swig_module) {
33564 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33565 #ifdef SWIGRUNTIME_DEBUG
33566 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33567 #endif
33568 }
33569 if (ret) {
33570 if (type == swig_module.type_initial[i]) {
33571 #ifdef SWIGRUNTIME_DEBUG
33572 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33573 #endif
33574 cast->type = ret;
33575 ret = 0;
33576 } else {
33577 /* Check for casting already in the list */
33578 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33579 #ifdef SWIGRUNTIME_DEBUG
33580 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33581 #endif
33582 if (!ocast) ret = 0;
33583 }
33584 }
33585
33586 if (!ret) {
33587 #ifdef SWIGRUNTIME_DEBUG
33588 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33589 #endif
33590 if (type->cast) {
33591 type->cast->prev = cast;
33592 cast->next = type->cast;
33593 }
33594 type->cast = cast;
33595 }
33596 cast++;
33597 }
33598 /* Set entry in modules->types array equal to the type */
33599 swig_module.types[i] = type;
33600 }
33601 swig_module.types[i] = 0;
33602
33603 #ifdef SWIGRUNTIME_DEBUG
33604 printf("**** SWIG_InitializeModule: Cast List ******\n");
33605 for (i = 0; i < swig_module.size; ++i) {
33606 int j = 0;
33607 swig_cast_info *cast = swig_module.cast_initial[i];
33608 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33609 while (cast->type) {
33610 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33611 cast++;
33612 ++j;
33613 }
33614 printf("---- Total casts: %d\n",j);
33615 }
33616 printf("**** SWIG_InitializeModule: Cast List ******\n");
33617 #endif
33618 }
33619
33620 /* This function will propagate the clientdata field of type to
33621 * any new swig_type_info structures that have been added into the list
33622 * of equivalent types. It is like calling
33623 * SWIG_TypeClientData(type, clientdata) a second time.
33624 */
33625 SWIGRUNTIME void
33626 SWIG_PropagateClientData(void) {
33627 size_t i;
33628 swig_cast_info *equiv;
33629 static int init_run = 0;
33630
33631 if (init_run) return;
33632 init_run = 1;
33633
33634 for (i = 0; i < swig_module.size; i++) {
33635 if (swig_module.types[i]->clientdata) {
33636 equiv = swig_module.types[i]->cast;
33637 while (equiv) {
33638 if (!equiv->converter) {
33639 if (equiv->type && !equiv->type->clientdata)
33640 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33641 }
33642 equiv = equiv->next;
33643 }
33644 }
33645 }
33646 }
33647
33648 #ifdef __cplusplus
33649 #if 0
33650 {
33651 /* c-mode */
33652 #endif
33653 }
33654 #endif
33655
33656
33657
33658 #ifdef __cplusplus
33659 extern "C" {
33660 #endif
33661
33662 /* Python-specific SWIG API */
33663 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33664 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33665 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33666
33667 /* -----------------------------------------------------------------------------
33668 * global variable support code.
33669 * ----------------------------------------------------------------------------- */
33670
33671 typedef struct swig_globalvar {
33672 char *name; /* Name of global variable */
33673 PyObject *(*get_attr)(void); /* Return the current value */
33674 int (*set_attr)(PyObject *); /* Set the value */
33675 struct swig_globalvar *next;
33676 } swig_globalvar;
33677
33678 typedef struct swig_varlinkobject {
33679 PyObject_HEAD
33680 swig_globalvar *vars;
33681 } swig_varlinkobject;
33682
33683 SWIGINTERN PyObject *
33684 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33685 return PyString_FromString("<Swig global variables>");
33686 }
33687
33688 SWIGINTERN PyObject *
33689 swig_varlink_str(swig_varlinkobject *v) {
33690 PyObject *str = PyString_FromString("(");
33691 swig_globalvar *var;
33692 for (var = v->vars; var; var=var->next) {
33693 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33694 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33695 }
33696 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33697 return str;
33698 }
33699
33700 SWIGINTERN int
33701 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33702 PyObject *str = swig_varlink_str(v);
33703 fprintf(fp,"Swig global variables ");
33704 fprintf(fp,"%s\n", PyString_AsString(str));
33705 Py_DECREF(str);
33706 return 0;
33707 }
33708
33709 SWIGINTERN void
33710 swig_varlink_dealloc(swig_varlinkobject *v) {
33711 swig_globalvar *var = v->vars;
33712 while (var) {
33713 swig_globalvar *n = var->next;
33714 free(var->name);
33715 free(var);
33716 var = n;
33717 }
33718 }
33719
33720 SWIGINTERN PyObject *
33721 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33722 PyObject *res = NULL;
33723 swig_globalvar *var = v->vars;
33724 while (var) {
33725 if (strcmp(var->name,n) == 0) {
33726 res = (*var->get_attr)();
33727 break;
33728 }
33729 var = var->next;
33730 }
33731 if (res == NULL && !PyErr_Occurred()) {
33732 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33733 }
33734 return res;
33735 }
33736
33737 SWIGINTERN int
33738 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33739 int res = 1;
33740 swig_globalvar *var = v->vars;
33741 while (var) {
33742 if (strcmp(var->name,n) == 0) {
33743 res = (*var->set_attr)(p);
33744 break;
33745 }
33746 var = var->next;
33747 }
33748 if (res == 1 && !PyErr_Occurred()) {
33749 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33750 }
33751 return res;
33752 }
33753
33754 SWIGINTERN PyTypeObject*
33755 swig_varlink_type(void) {
33756 static char varlink__doc__[] = "Swig var link object";
33757 static PyTypeObject varlink_type;
33758 static int type_init = 0;
33759 if (!type_init) {
33760 const PyTypeObject tmp
33761 = {
33762 PyObject_HEAD_INIT(NULL)
33763 0, /* Number of items in variable part (ob_size) */
33764 (char *)"swigvarlink", /* Type name (tp_name) */
33765 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33766 0, /* Itemsize (tp_itemsize) */
33767 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33768 (printfunc) swig_varlink_print, /* Print (tp_print) */
33769 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33770 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33771 0, /* tp_compare */
33772 (reprfunc) swig_varlink_repr, /* tp_repr */
33773 0, /* tp_as_number */
33774 0, /* tp_as_sequence */
33775 0, /* tp_as_mapping */
33776 0, /* tp_hash */
33777 0, /* tp_call */
33778 (reprfunc)swig_varlink_str, /* tp_str */
33779 0, /* tp_getattro */
33780 0, /* tp_setattro */
33781 0, /* tp_as_buffer */
33782 0, /* tp_flags */
33783 varlink__doc__, /* tp_doc */
33784 0, /* tp_traverse */
33785 0, /* tp_clear */
33786 0, /* tp_richcompare */
33787 0, /* tp_weaklistoffset */
33788 #if PY_VERSION_HEX >= 0x02020000
33789 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33790 #endif
33791 #if PY_VERSION_HEX >= 0x02030000
33792 0, /* tp_del */
33793 #endif
33794 #ifdef COUNT_ALLOCS
33795 0,0,0,0 /* tp_alloc -> tp_next */
33796 #endif
33797 };
33798 varlink_type = tmp;
33799 varlink_type.ob_type = &PyType_Type;
33800 type_init = 1;
33801 }
33802 return &varlink_type;
33803 }
33804
33805 /* Create a variable linking object for use later */
33806 SWIGINTERN PyObject *
33807 SWIG_Python_newvarlink(void) {
33808 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33809 if (result) {
33810 result->vars = 0;
33811 }
33812 return ((PyObject*) result);
33813 }
33814
33815 SWIGINTERN void
33816 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33817 swig_varlinkobject *v = (swig_varlinkobject *) p;
33818 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33819 if (gv) {
33820 size_t size = strlen(name)+1;
33821 gv->name = (char *)malloc(size);
33822 if (gv->name) {
33823 strncpy(gv->name,name,size);
33824 gv->get_attr = get_attr;
33825 gv->set_attr = set_attr;
33826 gv->next = v->vars;
33827 }
33828 }
33829 v->vars = gv;
33830 }
33831
33832 SWIGINTERN PyObject *
33833 SWIG_globals() {
33834 static PyObject *_SWIG_globals = 0;
33835 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33836 return _SWIG_globals;
33837 }
33838
33839 /* -----------------------------------------------------------------------------
33840 * constants/methods manipulation
33841 * ----------------------------------------------------------------------------- */
33842
33843 /* Install Constants */
33844 SWIGINTERN void
33845 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33846 PyObject *obj = 0;
33847 size_t i;
33848 for (i = 0; constants[i].type; ++i) {
33849 switch(constants[i].type) {
33850 case SWIG_PY_POINTER:
33851 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33852 break;
33853 case SWIG_PY_BINARY:
33854 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33855 break;
33856 default:
33857 obj = 0;
33858 break;
33859 }
33860 if (obj) {
33861 PyDict_SetItemString(d, constants[i].name, obj);
33862 Py_DECREF(obj);
33863 }
33864 }
33865 }
33866
33867 /* -----------------------------------------------------------------------------*/
33868 /* Fix SwigMethods to carry the callback ptrs when needed */
33869 /* -----------------------------------------------------------------------------*/
33870
33871 SWIGINTERN void
33872 SWIG_Python_FixMethods(PyMethodDef *methods,
33873 swig_const_info *const_table,
33874 swig_type_info **types,
33875 swig_type_info **types_initial) {
33876 size_t i;
33877 for (i = 0; methods[i].ml_name; ++i) {
33878 const char *c = methods[i].ml_doc;
33879 if (c && (c = strstr(c, "swig_ptr: "))) {
33880 int j;
33881 swig_const_info *ci = 0;
33882 const char *name = c + 10;
33883 for (j = 0; const_table[j].type; ++j) {
33884 if (strncmp(const_table[j].name, name,
33885 strlen(const_table[j].name)) == 0) {
33886 ci = &(const_table[j]);
33887 break;
33888 }
33889 }
33890 if (ci) {
33891 size_t shift = (ci->ptype) - types;
33892 swig_type_info *ty = types_initial[shift];
33893 size_t ldoc = (c - methods[i].ml_doc);
33894 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33895 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33896 if (ndoc) {
33897 char *buff = ndoc;
33898 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33899 if (ptr) {
33900 strncpy(buff, methods[i].ml_doc, ldoc);
33901 buff += ldoc;
33902 strncpy(buff, "swig_ptr: ", 10);
33903 buff += 10;
33904 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33905 methods[i].ml_doc = ndoc;
33906 }
33907 }
33908 }
33909 }
33910 }
33911 }
33912
33913 #ifdef __cplusplus
33914 }
33915 #endif
33916
33917 /* -----------------------------------------------------------------------------*
33918 * Partial Init method
33919 * -----------------------------------------------------------------------------*/
33920
33921 #ifdef __cplusplus
33922 extern "C"
33923 #endif
33924 SWIGEXPORT void SWIG_init(void) {
33925 PyObject *m, *d;
33926
33927 /* Fix SwigMethods to carry the callback ptrs when needed */
33928 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33929
33930 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33931 d = PyModule_GetDict(m);
33932
33933 SWIG_InitializeModule(0);
33934 SWIG_InstallConstants(d,swig_const_table);
33935
33936
33937 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33938 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33939 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33940 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33941 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33942 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33943 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33944 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33945 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33946 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33947 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33948 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33949 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33950 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33951 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33952 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33953 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33954 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33955 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33956 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33957 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33958 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33959 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33960 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33961 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33962 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33963 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33964 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33965 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33966 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33967 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33968 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33969 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33970 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33971 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33972 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33973 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33974 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33975 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33976 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33977 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33978 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33979 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33980 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33981 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33982 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33983 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33984 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33985 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33986 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33987 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33988 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33989 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33990 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33991 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33992 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33993 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33994 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33995 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33996 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33997 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33998 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33999 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34000 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34001 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34002 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34003 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34004 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34005 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34006 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34007 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34008 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34009 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34010 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34011 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34012 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34013 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34014 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34015 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34016 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34017 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34018 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34019 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34020 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34021 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34022 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34023 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34024 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34025 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34026 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34027 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34028 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34029 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34030 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34031 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34032 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34033 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34034 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34035 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34036 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34037 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34038 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34039
34040 // Map renamed classes back to their common name for OOR
34041 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34042 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34043 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34044
34045 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34046 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34047 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34048 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34049 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34050 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34051 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34052 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34053 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34054 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34055 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34056 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34057 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34058 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34059 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34060 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34061 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34062 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34063 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34064 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34065 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34066 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34067 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34068 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34069 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34070 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34071 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34072 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34073 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34074 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34075 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34076 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34077 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34078 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34079 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34080 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34081 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34082 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34083 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34084 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34085 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34086 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34087 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34088 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34089 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34090 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34091 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34092 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34093 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34094 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34095 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34096 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34097 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34098 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34099 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34100 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34101 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34102 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34103 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34104 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34105 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34106 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34107 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34108 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34109 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34110 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34111 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34112 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34113 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34114 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34115 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34116 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34117 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34118 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34119 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34120 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34121 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34122 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34123 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34124 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34125 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34126 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34127 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34128 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34129 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34130 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34131 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34132 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34133 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34134 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34135 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34136 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34137 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34138 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34139 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34140
34141 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34142
34143 }
34144