]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
bitwise vs. logical operator
[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_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
2503 #define SWIGTYPE_p_wxFSFile swig_types[37]
2504 #define SWIGTYPE_p_wxFileDialog swig_types[38]
2505 #define SWIGTYPE_p_wxFileSystem swig_types[39]
2506 #define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceData swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
2509 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2510 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
2511 #define SWIGTYPE_p_wxFont swig_types[45]
2512 #define SWIGTYPE_p_wxFontData swig_types[46]
2513 #define SWIGTYPE_p_wxFontDialog swig_types[47]
2514 #define SWIGTYPE_p_wxFrame swig_types[48]
2515 #define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[53]
2520 #define SWIGTYPE_p_wxICOHandler swig_types[54]
2521 #define SWIGTYPE_p_wxIcon swig_types[55]
2522 #define SWIGTYPE_p_wxIconBundle swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[61]
2528 #define SWIGTYPE_p_wxInitDialogEvent swig_types[62]
2529 #define SWIGTYPE_p_wxItemContainer swig_types[63]
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534 #define SWIGTYPE_p_wxMDIChildFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMDIClientWindow swig_types[69]
2536 #define SWIGTYPE_p_wxMDIParentFrame swig_types[70]
2537 #define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2542 #define SWIGTYPE_p_wxMessageDialog swig_types[76]
2543 #define SWIGTYPE_p_wxMiniFrame swig_types[77]
2544 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[82]
2549 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[86]
2553 #define SWIGTYPE_p_wxObject swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPageSetupDialog swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[92]
2559 #define SWIGTYPE_p_wxPaintEvent swig_types[93]
2560 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPanel swig_types[95]
2562 #define SWIGTYPE_p_wxPaperSize swig_types[96]
2563 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[97]
2564 #define SWIGTYPE_p_wxPoint swig_types[98]
2565 #define SWIGTYPE_p_wxPopupWindow swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewCanvas swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewControlBar swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewFrame swig_types[102]
2569 #define SWIGTYPE_p_wxPrintData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintDialog swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialogData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintPreview swig_types[106]
2573 #define SWIGTYPE_p_wxPrinter swig_types[107]
2574 #define SWIGTYPE_p_wxProgressDialog swig_types[108]
2575 #define SWIGTYPE_p_wxPyApp swig_types[109]
2576 #define SWIGTYPE_p_wxPyCommandEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[112]
2579 #define SWIGTYPE_p_wxPyImageHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPyPanel swig_types[114]
2581 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[117]
2584 #define SWIGTYPE_p_wxPyPrintPreview swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintout swig_types[119]
2586 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPySizer swig_types[121]
2588 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[122]
2589 #define SWIGTYPE_p_wxPyVListBox swig_types[123]
2590 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxPyWindow swig_types[126]
2593 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[127]
2594 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxRegion swig_types[130]
2597 #define SWIGTYPE_p_wxSashEvent swig_types[131]
2598 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[132]
2599 #define SWIGTYPE_p_wxSashWindow swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrolledWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[139]
2606 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSplashScreen swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[146]
2613 #define SWIGTYPE_p_wxSplitterEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterWindow swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStatusBar swig_types[150]
2617 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151]
2618 #define SWIGTYPE_p_wxString swig_types[152]
2619 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTGAHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTIFFHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTaskBarIcon swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTextEntryDialog swig_types[158]
2625 #define SWIGTYPE_p_wxTipWindow swig_types[159]
2626 #define SWIGTYPE_p_wxToolBar swig_types[160]
2627 #define SWIGTYPE_p_wxTopLevelWindow swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxVisualAttributes swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info *swig_types[170];
2636 static swig_module_info swig_module = {swig_types, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2639
2640 /* -------- TYPES TABLE (END) -------- */
2641
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2645 # endif
2646 #endif
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2649 #endif
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2652 #endif
2653 #ifndef METH_O
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2655 #endif
2656
2657 /*-----------------------------------------------
2658 @(target):= _windows_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_windows_
2661
2662 #define SWIG_name "_windows_"
2663
2664 #define SWIGVERSION 0x010329
2665
2666
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2669
2670
2671 #include <stdexcept>
2672
2673
2674 namespace swig {
2675 class PyObject_ptr {
2676 protected:
2677 PyObject *_obj;
2678
2679 public:
2680 PyObject_ptr() :_obj(0)
2681 {
2682 }
2683
2684 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2685 {
2686 Py_XINCREF(_obj);
2687 }
2688
2689 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2690 {
2691 if (initial_ref) Py_XINCREF(_obj);
2692 }
2693
2694 PyObject_ptr & operator=(const PyObject_ptr& item)
2695 {
2696 Py_XINCREF(item._obj);
2697 Py_XDECREF(_obj);
2698 _obj = item._obj;
2699 return *this;
2700 }
2701
2702 ~PyObject_ptr()
2703 {
2704 Py_XDECREF(_obj);
2705 }
2706
2707 operator PyObject *() const
2708 {
2709 return _obj;
2710 }
2711
2712 PyObject *operator->() const
2713 {
2714 return _obj;
2715 }
2716 };
2717 }
2718
2719
2720 namespace swig {
2721 struct PyObject_var : PyObject_ptr {
2722 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2723
2724 PyObject_var & operator = (PyObject* obj)
2725 {
2726 Py_XDECREF(_obj);
2727 _obj = obj;
2728 return *this;
2729 }
2730 };
2731 }
2732
2733
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2736
2737
2738 static const wxString wxPyEmptyString(wxEmptyString);
2739 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2740
2741
2742
2743 #include <limits.h>
2744 #ifndef LLONG_MIN
2745 # define LLONG_MIN LONG_LONG_MIN
2746 #endif
2747 #ifndef LLONG_MAX
2748 # define LLONG_MAX LONG_LONG_MAX
2749 #endif
2750 #ifndef ULLONG_MAX
2751 # define ULLONG_MAX ULONG_LONG_MAX
2752 #endif
2753
2754
2755 SWIGINTERN int
2756 SWIG_AsVal_long (PyObject* obj, long* val)
2757 {
2758 if (PyNumber_Check(obj)) {
2759 if (val) *val = PyInt_AsLong(obj);
2760 return SWIG_OK;
2761 }
2762 return SWIG_TypeError;
2763 }
2764
2765
2766 SWIGINTERN int
2767 SWIG_AsVal_int (PyObject * obj, int *val)
2768 {
2769 long v;
2770 int res = SWIG_AsVal_long (obj, &v);
2771 if (SWIG_IsOK(res)) {
2772 if ((v < INT_MIN || v > INT_MAX)) {
2773 return SWIG_OverflowError;
2774 } else {
2775 if (val) *val = static_cast< int >(v);
2776 }
2777 }
2778 return res;
2779 }
2780
2781
2782 SWIGINTERN int
2783 SWIG_AsVal_bool (PyObject *obj, bool *val)
2784 {
2785 if (obj == Py_True) {
2786 if (val) *val = true;
2787 return SWIG_OK;
2788 } else if (obj == Py_False) {
2789 if (val) *val = false;
2790 return SWIG_OK;
2791 } else {
2792 long v = 0;
2793 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2794 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2795 return res;
2796 }
2797 }
2798
2799
2800 #define SWIG_From_long PyInt_FromLong
2801
2802
2803 SWIGINTERNINLINE PyObject *
2804 SWIG_From_int (int value)
2805 {
2806 return SWIG_From_long (value);
2807 }
2808
2809
2810 SWIGINTERN int
2811 SWIG_AsVal_double (PyObject *obj, double* val)
2812 {
2813 if (PyNumber_Check(obj)) {
2814 if (val) *val = PyFloat_AsDouble(obj);
2815 return SWIG_OK;
2816 }
2817 return SWIG_TypeError;
2818 }
2819
2820
2821 #define SWIG_From_double PyFloat_FromDouble
2822
2823 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2824 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2825 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2826 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2827 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2828 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2829
2830 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2831
2832
2833
2834 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2835 wxRect r;
2836 self->GetFieldRect(i, r);
2837 return r;
2838 }
2839 static const wxString wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2842
2843 #include <wx/popupwin.h>
2844
2845
2846 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2847 {
2848 public:
2849 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2850 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2851 : wxPopupTransientWindow(parent, style) {}
2852
2853 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2854 DEC_PYCALLBACK__(OnDismiss);
2855 DEC_PYCALLBACK_BOOL_(CanDismiss);
2856 PYPRIVATE;
2857 };
2858
2859
2860 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2861 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2862 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2863
2864
2865 #include <wx/tipwin.h>
2866
2867 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2868 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2869 }
2870
2871 #include <wx/tipwin.h>
2872
2873
2874 #include <wx/vscroll.h>
2875
2876
2877 class wxPyVScrolledWindow : public wxVScrolledWindow
2878 {
2879 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2880 public:
2881 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2882
2883 wxPyVScrolledWindow(wxWindow *parent,
2884 wxWindowID id = wxID_ANY,
2885 const wxPoint& pos = wxDefaultPosition,
2886 const wxSize& size = wxDefaultSize,
2887 long style = 0,
2888 const wxString& name = wxPyPanelNameStr)
2889 : wxVScrolledWindow(parent, id, pos, size, style, name)
2890 {}
2891
2892 // Overridable virtuals
2893
2894 // this function must be overridden in the derived class and it should
2895 // return the height of the given line in pixels
2896 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2897
2898
2899 // this function doesn't have to be overridden but it may be useful to do
2900 // it if calculating the lines heights is a relatively expensive operation
2901 // as it gives the user code a possibility to calculate several of them at
2902 // once
2903 //
2904 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2905 // shouldn't rely on the latter being called for all lines in the interval
2906 // specified here. It is also possible that OnGetLineHeight() will be
2907 // called for the lines outside of this interval, so this is really just a
2908 // hint, not a promise.
2909 //
2910 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2911 // usual
2912 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2913
2914
2915 // when the number of lines changes, we try to estimate the total height
2916 // of all lines which is a rather expensive operation in terms of lines
2917 // access, so if the user code may estimate the average height
2918 // better/faster than we do, it should override this function to implement
2919 // its own logic
2920 //
2921 // this function should return the best guess for the total height it may
2922 // make
2923 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2924
2925
2926 // Also expose some other interesting protected methods
2927
2928
2929 // find the index of the line we need to show at the top of the window such
2930 // that the last (fully or partially) visible line is the given one
2931 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2932 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2933
2934 // get the total height of the lines between lineMin (inclusive) and
2935 // lineMax (exclusive)
2936 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2937 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2938
2939 // update the thumb size shown by the scrollbar
2940 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2941
2942 // remove the scrollbar completely because we don't need it
2943 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2944
2945 PYPRIVATE;
2946 };
2947
2948 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2949
2950 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2951 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2952 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2953
2954
2955 SWIGINTERN int
2956 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2957 {
2958 long v = 0;
2959 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2960 return SWIG_TypeError;
2961 }
2962 else if (val)
2963 *val = (unsigned long)v;
2964 return SWIG_OK;
2965 }
2966
2967
2968 SWIGINTERNINLINE int
2969 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2970 {
2971 unsigned long v;
2972 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2973 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2974 return res;
2975 }
2976
2977
2978 SWIGINTERNINLINE PyObject*
2979 SWIG_From_unsigned_SS_long (unsigned long value)
2980 {
2981 return (value > LONG_MAX) ?
2982 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2983 }
2984
2985
2986 SWIGINTERNINLINE PyObject *
2987 SWIG_From_size_t (size_t value)
2988 {
2989 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2990 }
2991
2992
2993 #include <wx/vlbox.h>
2994
2995 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2996
2997 class wxPyVListBox : public wxVListBox
2998 {
2999 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3000 public:
3001 wxPyVListBox() : wxVListBox() {}
3002
3003 wxPyVListBox(wxWindow *parent,
3004 wxWindowID id = wxID_ANY,
3005 const wxPoint& pos = wxDefaultPosition,
3006 const wxSize& size = wxDefaultSize,
3007 long style = 0,
3008 const wxString& name = wxPyVListBoxNameStr)
3009 : wxVListBox(parent, id, pos, size, style, name)
3010 {}
3011
3012 // Overridable virtuals
3013
3014 // the derived class must implement this function to actually draw the item
3015 // with the given index on the provided DC
3016 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3017 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3018
3019
3020 // the derived class must implement this method to return the height of the
3021 // specified item
3022 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3023 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3024
3025
3026 // this method may be used to draw separators between the lines; note that
3027 // the rectangle may be modified, typically to deflate it a bit before
3028 // passing to OnDrawItem()
3029 //
3030 // the base class version doesn't do anything
3031 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3032 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3033
3034
3035 // this method is used to draw the items background and, maybe, a border
3036 // around it
3037 //
3038 // the base class version implements a reasonable default behaviour which
3039 // consists in drawing the selected item with the standard background
3040 // colour and drawing a border around the item if it is either selected or
3041 // current
3042 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3043 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3044
3045
3046 PYPRIVATE;
3047 };
3048
3049 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3050
3051 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3052 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3053 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3054 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3055
3056
3057 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3058 unsigned long cookie = 0;
3059 int selected = self->GetFirstSelected(cookie);
3060 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3061 PyObject* tup = PyTuple_New(2);
3062 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3063 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3064 wxPyEndBlockThreads(blocked);
3065 return tup;
3066 }
3067 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3068 int selected = self->GetNextSelected(cookie);
3069 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3070 PyObject* tup = PyTuple_New(2);
3071 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3072 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3073 wxPyEndBlockThreads(blocked);
3074 return tup;
3075 }
3076
3077 #include <wx/htmllbox.h>
3078
3079
3080 class wxPyHtmlListBox : public wxHtmlListBox
3081 {
3082 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3083 public:
3084 wxPyHtmlListBox() : wxHtmlListBox() {}
3085
3086 wxPyHtmlListBox(wxWindow *parent,
3087 wxWindowID id = wxID_ANY,
3088 const wxPoint& pos = wxDefaultPosition,
3089 const wxSize& size = wxDefaultSize,
3090 long style = 0,
3091 const wxString& name = wxPyVListBoxNameStr)
3092 : wxHtmlListBox(parent, id, pos, size, style, name)
3093 {}
3094
3095 // Overridable virtuals
3096
3097 // this method must be implemented in the derived class and should return
3098 // the body (i.e. without <html>) of the HTML for the given item
3099 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3100
3101 // this function may be overridden to decorate HTML returned by OnGetItem()
3102 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3103
3104 // These are from wxVListBox
3105 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3106 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3107
3108 // TODO:
3109 // // this method allows to customize the selection appearance: it may be used
3110 // // to specify the colour of the text which normally has the given colour
3111 // // colFg when it is inside the selection
3112 // //
3113 // // by default, the original colour is not used at all and all text has the
3114 // // same (default for this system) colour inside selection
3115 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3116
3117 // // this is the same as GetSelectedTextColour() but allows to customize the
3118 // // background colour -- this is even more rarely used as you can change it
3119 // // globally using SetSelectionBackground()
3120 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3121
3122
3123 // This method may be overriden to handle clicking on a link in
3124 // the listbox. By default, clicking links is ignored.
3125 virtual void OnLinkClicked(size_t n,
3126 const wxHtmlLinkInfo& link);
3127
3128 PYPRIVATE;
3129 };
3130
3131
3132 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3133
3134 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3135 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3136 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3137 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3138
3139
3140 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3141 const wxHtmlLinkInfo& link) {
3142 bool found;
3143 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3144 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3145 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3146 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3147 Py_DECREF(obj);
3148 }
3149 wxPyEndBlockThreads(blocked);
3150 if (! found)
3151 wxPyHtmlListBox::OnLinkClicked(n, link);
3152 }
3153
3154
3155
3156 const wxArrayString wxPyEmptyStringArray;
3157
3158 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3159
3160
3161
3162 #ifndef wxHAS_TASK_BAR_ICON
3163 // implement dummy classes for platforms that don't have it
3164
3165 class wxTaskBarIcon : public wxEvtHandler
3166 {
3167 public:
3168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3169 };
3170
3171
3172 class wxTaskBarIconEvent : public wxEvent
3173 {
3174 public:
3175 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3176 { wxPyRaiseNotImplemented(); }
3177 virtual wxEvent* Clone() const { return NULL; }
3178 bool IsOk() const { return false; }
3179 bool IsIconInstalled() const { return false; }
3180 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3181 bool RemoveIcon() { return false; }
3182 bool PopupMenu(wxMenu *menu) { return false; }
3183 };
3184
3185 enum {
3186 wxEVT_TASKBAR_MOVE = 0,
3187 wxEVT_TASKBAR_LEFT_DOWN = 0,
3188 wxEVT_TASKBAR_LEFT_UP = 0,
3189 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3190 wxEVT_TASKBAR_RIGHT_UP = 0,
3191 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3192 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3193 };
3194
3195
3196 #else
3197 // Otherwise make a class that can virtualize CreatePopupMenu
3198 class wxPyTaskBarIcon : public wxTaskBarIcon
3199 {
3200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3201 public:
3202 wxPyTaskBarIcon() : wxTaskBarIcon()
3203 {}
3204
3205 wxMenu* CreatePopupMenu() {
3206 wxMenu *rval = NULL;
3207 bool found;
3208 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3209 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3210 PyObject* ro;
3211 wxMenu* ptr;
3212 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3213 if (ro) {
3214 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3215 rval = ptr;
3216 Py_DECREF(ro);
3217 }
3218 }
3219 wxPyEndBlockThreads(blocked);
3220 if (! found)
3221 rval = wxTaskBarIcon::CreatePopupMenu();
3222 return rval;
3223 }
3224
3225 PYPRIVATE;
3226 };
3227
3228 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3229
3230 #endif
3231
3232 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3233 self->RemoveIcon();
3234 delete self;
3235 }
3236 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3237 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3238 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3239 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3240 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3241 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3242
3243 // for compatibility only
3244 #define wxHIDE_READONLY 0
3245
3246 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3247 wxArrayString arr;
3248 self->GetFilenames(arr);
3249 return wxArrayString2PyList_helper(arr);
3250 }
3251 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3252 wxArrayString arr;
3253 self->GetPaths(arr);
3254 return wxArrayString2PyList_helper(arr);
3255 }
3256 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3257 return wxArrayInt2PyList_helper(self->GetSelections());
3258 }
3259 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){
3260 return new wxSingleChoiceDialog(parent, message, caption,
3261 choices, choices_array, NULL, style, pos);
3262 }
3263 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3264
3265 SWIGINTERNINLINE PyObject*
3266 SWIG_From_bool (bool value)
3267 {
3268 return PyBool_FromLong(value ? 1 : 0);
3269 }
3270
3271
3272 #include <wx/mdi.h>
3273
3274 // C++ version of Python aware wxWindow
3275 class wxPyWindow : public wxWindow
3276 {
3277 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3278 public:
3279 wxPyWindow() : wxWindow() {}
3280 wxPyWindow(wxWindow* parent, const wxWindowID id,
3281 const wxPoint& pos = wxDefaultPosition,
3282 const wxSize& size = wxDefaultSize,
3283 long style = 0,
3284 const wxString& name = wxPyPanelNameStr)
3285 : wxWindow(parent, id, pos, size, style, name) {}
3286
3287
3288 bool DoEraseBackground(wxDC* dc) {
3289 #ifdef __WXMSW__
3290 return wxWindow::DoEraseBackground(dc->GetHDC());
3291 #else
3292 dc->SetBackground(wxBrush(GetBackgroundColour()));
3293 dc->Clear();
3294 return true;
3295 #endif
3296 }
3297
3298 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3299 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3300 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3302
3303 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3306
3307 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3308 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3309
3310 DEC_PYCALLBACK__(InitDialog);
3311 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3312 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3313 DEC_PYCALLBACK_BOOL_(Validate);
3314
3315 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3317 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3318
3319 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3320 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3321
3322 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3323 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3324
3325 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3326
3327 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3328
3329 PYPRIVATE;
3330 };
3331
3332 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3333
3334 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3335 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3336 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3337 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3338
3339 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3340 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3342
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3345
3346 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3347 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3348 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3350
3351 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3353 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3354
3355 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3356 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3357
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3359 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3360
3361 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3362
3363 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3364
3365 // C++ version of Python aware wxPanel
3366 class wxPyPanel : public wxPanel
3367 {
3368 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3369 public:
3370 wxPyPanel() : wxPanel() {}
3371 wxPyPanel(wxWindow* parent, const wxWindowID id,
3372 const wxPoint& pos = wxDefaultPosition,
3373 const wxSize& size = wxDefaultSize,
3374 long style = 0,
3375 const wxString& name = wxPyPanelNameStr)
3376 : wxPanel(parent, id, pos, size, style, name) {}
3377
3378 bool DoEraseBackground(wxDC* dc) {
3379 #ifdef __WXMSW__
3380 return wxWindow::DoEraseBackground(dc->GetHDC());
3381 #else
3382 dc->SetBackground(wxBrush(GetBackgroundColour()));
3383 dc->Clear();
3384 return true;
3385 #endif
3386 }
3387
3388
3389 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3390 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3391 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3393
3394 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3397
3398 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3399 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3400
3401 DEC_PYCALLBACK__(InitDialog);
3402 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3403 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3404 DEC_PYCALLBACK_BOOL_(Validate);
3405
3406 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3408 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3409
3410 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3411 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3412
3413 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3414 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3415
3416 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3417
3418 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3419
3420 PYPRIVATE;
3421 };
3422
3423 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3424
3425 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3426 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3427 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3428 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3429
3430 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3431 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3433
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3436
3437 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3438 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3439 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3441
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3444 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3445
3446 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3447 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3448
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3450 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3451
3452 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3453
3454 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3455
3456 // C++ version of Python aware wxScrolledWindow
3457 class wxPyScrolledWindow : public wxScrolledWindow
3458 {
3459 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3460 public:
3461 wxPyScrolledWindow() : wxScrolledWindow() {}
3462 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3463 const wxPoint& pos = wxDefaultPosition,
3464 const wxSize& size = wxDefaultSize,
3465 long style = 0,
3466 const wxString& name = wxPyPanelNameStr)
3467 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3468
3469 bool DoEraseBackground(wxDC* dc) {
3470 #ifdef __WXMSW__
3471 return wxWindow::DoEraseBackground(dc->GetHDC());
3472 #else
3473 dc->SetBackground(wxBrush(GetBackgroundColour()));
3474 dc->Clear();
3475 return true;
3476 #endif
3477 }
3478
3479 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3480 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3481 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3483
3484 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3487
3488 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3489 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3490
3491 DEC_PYCALLBACK__(InitDialog);
3492 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3493 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3494 DEC_PYCALLBACK_BOOL_(Validate);
3495
3496 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3498 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3499
3500 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3501 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3502
3503 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3504 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3505
3506 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3507
3508 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3509
3510 PYPRIVATE;
3511 };
3512
3513 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3514
3515 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3516 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3517 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3518 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3519
3520 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3521 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3523
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3526
3527 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3528 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3531
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3535
3536 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3537 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3538
3539 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3540 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3541
3542 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3543
3544 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3545
3546
3547 #include "wx/wxPython/printfw.h"
3548
3549
3550 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3551 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3552 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3553 PyObject* data;
3554 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3555 data = PyString_FromStringAndSize(self->GetPrivData(),
3556 self->GetPrivDataLen());
3557 wxPyEndBlockThreads(blocked);
3558 return data;
3559 }
3560 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3561 if (! PyString_Check(data)) {
3562 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3563 "Expected string object"));
3564 return /* NULL */ ;
3565 }
3566
3567 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3568 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3569 wxPyEndBlockThreads(blocked);
3570 }
3571
3572
3573 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3574
3575 // Since this one would be tough and ugly to do with the Macros...
3576 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3577 bool hadErr = false;
3578 bool found;
3579
3580 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3581 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3582 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3583 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3584 PyObject* val;
3585
3586 val = PyTuple_GetItem(result, 0);
3587 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3588 else hadErr = true;
3589
3590 val = PyTuple_GetItem(result, 1);
3591 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3592 else hadErr = true;
3593
3594 val = PyTuple_GetItem(result, 2);
3595 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3596 else hadErr = true;
3597
3598 val = PyTuple_GetItem(result, 3);
3599 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3600 else hadErr = true;
3601 }
3602 else
3603 hadErr = true;
3604
3605 if (hadErr) {
3606 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3607 PyErr_Print();
3608 }
3609 Py_DECREF(result);
3610 }
3611 wxPyEndBlockThreads(blocked);
3612 if (! found)
3613 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3614 }
3615
3616
3617
3618 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3619 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3620 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3621 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3622 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3623 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3624 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3625
3626
3627
3628
3629
3630 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3631 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3632
3633
3634 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3635 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3636 bool rval=false; \
3637 bool found; \
3638 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3639 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3640 PyObject* win = wxPyMake_wxObject(a,false); \
3641 PyObject* dc = wxPyMake_wxObject(&b,false); \
3642 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3643 Py_DECREF(win); \
3644 Py_DECREF(dc); \
3645 } \
3646 wxPyEndBlockThreads(blocked); \
3647 if (! found) \
3648 rval = PCLASS::CBNAME(a, b); \
3649 return rval; \
3650 }
3651
3652
3653
3654
3655 class wxPyPrintPreview : public wxPrintPreview
3656 {
3657 DECLARE_CLASS(wxPyPrintPreview)
3658 public:
3659 wxPyPrintPreview(wxPyPrintout* printout,
3660 wxPyPrintout* printoutForPrinting,
3661 wxPrintDialogData* data=NULL)
3662 : wxPrintPreview(printout, printoutForPrinting, data)
3663 {}
3664 wxPyPrintPreview(wxPyPrintout* printout,
3665 wxPyPrintout* printoutForPrinting,
3666 wxPrintData* data)
3667 : wxPrintPreview(printout, printoutForPrinting, data)
3668 {}
3669
3670 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3671 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3673 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3674 DEC_PYCALLBACK_VOID_INT(SetZoom);
3675 DEC_PYCALLBACK_BOOL_BOOL(Print);
3676 DEC_PYCALLBACK_VOID_(DetermineScaling);
3677
3678 PYPRIVATE;
3679 };
3680
3681 // Stupid renamed classes... Fix this in 2.5...
3682 #if defined(__WXMSW__)
3683 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3684 #elif defined(__WXMAC__)
3685 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3686 #else
3687 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3688 #endif
3689
3690 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3691 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3692 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3693 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3694 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3695 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3696 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3697
3698
3699 class wxPyPreviewFrame : public wxPreviewFrame
3700 {
3701 DECLARE_CLASS(wxPyPreviewFrame)
3702 public:
3703 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3704 const wxString& title,
3705 const wxPoint& pos = wxDefaultPosition,
3706 const wxSize& size = wxDefaultSize,
3707 long style = wxDEFAULT_FRAME_STYLE,
3708 const wxString& name = wxPyFrameNameStr)
3709 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3710 {}
3711
3712 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3713 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3714
3715 DEC_PYCALLBACK_VOID_(Initialize);
3716 DEC_PYCALLBACK_VOID_(CreateCanvas);
3717 DEC_PYCALLBACK_VOID_(CreateControlBar);
3718
3719 PYPRIVATE;
3720 };
3721
3722 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3723
3724 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3727
3728
3729 class wxPyPreviewControlBar : public wxPreviewControlBar
3730 {
3731 DECLARE_CLASS(wxPyPreviewControlBar)
3732 public:
3733 wxPyPreviewControlBar(wxPrintPreview *preview,
3734 long buttons,
3735 wxWindow *parent,
3736 const wxPoint& pos = wxDefaultPosition,
3737 const wxSize& size = wxDefaultSize,
3738 long style = 0,
3739 const wxString& name = wxPyPanelNameStr)
3740 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3741 {}
3742
3743 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3744
3745 DEC_PYCALLBACK_VOID_(CreateButtons);
3746 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3747
3748 PYPRIVATE;
3749 };
3750
3751 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3752 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3753 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3754
3755 #ifdef __cplusplus
3756 extern "C" {
3757 #endif
3758 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3759 PyObject *resultobj = 0;
3760 wxWindow *arg1 = (wxWindow *) 0 ;
3761 int arg2 = (int) (int)-1 ;
3762 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3763 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3764 wxSize const &arg4_defvalue = wxDefaultSize ;
3765 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3766 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3767 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3768 wxString *arg6 = (wxString *) &arg6_defvalue ;
3769 wxPanel *result = 0 ;
3770 void *argp1 = 0 ;
3771 int res1 = 0 ;
3772 int val2 ;
3773 int ecode2 = 0 ;
3774 wxPoint temp3 ;
3775 wxSize temp4 ;
3776 long val5 ;
3777 int ecode5 = 0 ;
3778 bool temp6 = false ;
3779 PyObject * obj0 = 0 ;
3780 PyObject * obj1 = 0 ;
3781 PyObject * obj2 = 0 ;
3782 PyObject * obj3 = 0 ;
3783 PyObject * obj4 = 0 ;
3784 PyObject * obj5 = 0 ;
3785 char * kwnames[] = {
3786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3787 };
3788
3789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3791 if (!SWIG_IsOK(res1)) {
3792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3793 }
3794 arg1 = reinterpret_cast< wxWindow * >(argp1);
3795 if (obj1) {
3796 ecode2 = SWIG_AsVal_int(obj1, &val2);
3797 if (!SWIG_IsOK(ecode2)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3799 }
3800 arg2 = static_cast< int >(val2);
3801 }
3802 if (obj2) {
3803 {
3804 arg3 = &temp3;
3805 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3806 }
3807 }
3808 if (obj3) {
3809 {
3810 arg4 = &temp4;
3811 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3812 }
3813 }
3814 if (obj4) {
3815 ecode5 = SWIG_AsVal_long(obj4, &val5);
3816 if (!SWIG_IsOK(ecode5)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3818 }
3819 arg5 = static_cast< long >(val5);
3820 }
3821 if (obj5) {
3822 {
3823 arg6 = wxString_in_helper(obj5);
3824 if (arg6 == NULL) SWIG_fail;
3825 temp6 = true;
3826 }
3827 }
3828 {
3829 if (!wxPyCheckForApp()) SWIG_fail;
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3836 {
3837 if (temp6)
3838 delete arg6;
3839 }
3840 return resultobj;
3841 fail:
3842 {
3843 if (temp6)
3844 delete arg6;
3845 }
3846 return NULL;
3847 }
3848
3849
3850 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3851 PyObject *resultobj = 0;
3852 wxPanel *result = 0 ;
3853
3854 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3855 {
3856 if (!wxPyCheckForApp()) SWIG_fail;
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 result = (wxPanel *)new wxPanel();
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3863 return resultobj;
3864 fail:
3865 return NULL;
3866 }
3867
3868
3869 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3870 PyObject *resultobj = 0;
3871 wxPanel *arg1 = (wxPanel *) 0 ;
3872 wxWindow *arg2 = (wxWindow *) 0 ;
3873 int arg3 = (int) (int)-1 ;
3874 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3875 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3876 wxSize const &arg5_defvalue = wxDefaultSize ;
3877 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3878 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3879 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3880 wxString *arg7 = (wxString *) &arg7_defvalue ;
3881 bool result;
3882 void *argp1 = 0 ;
3883 int res1 = 0 ;
3884 void *argp2 = 0 ;
3885 int res2 = 0 ;
3886 int val3 ;
3887 int ecode3 = 0 ;
3888 wxPoint temp4 ;
3889 wxSize temp5 ;
3890 long val6 ;
3891 int ecode6 = 0 ;
3892 bool temp7 = false ;
3893 PyObject * obj0 = 0 ;
3894 PyObject * obj1 = 0 ;
3895 PyObject * obj2 = 0 ;
3896 PyObject * obj3 = 0 ;
3897 PyObject * obj4 = 0 ;
3898 PyObject * obj5 = 0 ;
3899 PyObject * obj6 = 0 ;
3900 char * kwnames[] = {
3901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3902 };
3903
3904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3906 if (!SWIG_IsOK(res1)) {
3907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3908 }
3909 arg1 = reinterpret_cast< wxPanel * >(argp1);
3910 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3911 if (!SWIG_IsOK(res2)) {
3912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3913 }
3914 arg2 = reinterpret_cast< wxWindow * >(argp2);
3915 if (obj2) {
3916 ecode3 = SWIG_AsVal_int(obj2, &val3);
3917 if (!SWIG_IsOK(ecode3)) {
3918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3919 }
3920 arg3 = static_cast< int >(val3);
3921 }
3922 if (obj3) {
3923 {
3924 arg4 = &temp4;
3925 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3926 }
3927 }
3928 if (obj4) {
3929 {
3930 arg5 = &temp5;
3931 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3932 }
3933 }
3934 if (obj5) {
3935 ecode6 = SWIG_AsVal_long(obj5, &val6);
3936 if (!SWIG_IsOK(ecode6)) {
3937 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3938 }
3939 arg6 = static_cast< long >(val6);
3940 }
3941 if (obj6) {
3942 {
3943 arg7 = wxString_in_helper(obj6);
3944 if (arg7 == NULL) SWIG_fail;
3945 temp7 = true;
3946 }
3947 }
3948 {
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3951 wxPyEndAllowThreads(__tstate);
3952 if (PyErr_Occurred()) SWIG_fail;
3953 }
3954 {
3955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3956 }
3957 {
3958 if (temp7)
3959 delete arg7;
3960 }
3961 return resultobj;
3962 fail:
3963 {
3964 if (temp7)
3965 delete arg7;
3966 }
3967 return NULL;
3968 }
3969
3970
3971 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3972 PyObject *resultobj = 0;
3973 wxPanel *arg1 = (wxPanel *) 0 ;
3974 void *argp1 = 0 ;
3975 int res1 = 0 ;
3976 PyObject *swig_obj[1] ;
3977
3978 if (!args) SWIG_fail;
3979 swig_obj[0] = args;
3980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3981 if (!SWIG_IsOK(res1)) {
3982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3983 }
3984 arg1 = reinterpret_cast< wxPanel * >(argp1);
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 (arg1)->SetFocusIgnoringChildren();
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 resultobj = SWIG_Py_Void();
3992 return resultobj;
3993 fail:
3994 return NULL;
3995 }
3996
3997
3998 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3999 PyObject *resultobj = 0;
4000 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4001 SwigValueWrapper<wxVisualAttributes > result;
4002 int val1 ;
4003 int ecode1 = 0 ;
4004 PyObject * obj0 = 0 ;
4005 char * kwnames[] = {
4006 (char *) "variant", NULL
4007 };
4008
4009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4010 if (obj0) {
4011 ecode1 = SWIG_AsVal_int(obj0, &val1);
4012 if (!SWIG_IsOK(ecode1)) {
4013 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4014 }
4015 arg1 = static_cast< wxWindowVariant >(val1);
4016 }
4017 {
4018 if (!wxPyCheckForApp()) SWIG_fail;
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = wxPanel::GetClassDefaultAttributes(arg1);
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4025 return resultobj;
4026 fail:
4027 return NULL;
4028 }
4029
4030
4031 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4032 PyObject *obj;
4033 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4035 return SWIG_Py_Void();
4036 }
4037
4038 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4039 return SWIG_Python_InitShadowInstance(args);
4040 }
4041
4042 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4043 PyObject *resultobj = 0;
4044 wxWindow *arg1 = (wxWindow *) 0 ;
4045 int arg2 = (int) (int)-1 ;
4046 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4047 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4048 wxSize const &arg4_defvalue = wxDefaultSize ;
4049 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4050 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4051 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4052 wxString *arg6 = (wxString *) &arg6_defvalue ;
4053 wxScrolledWindow *result = 0 ;
4054 void *argp1 = 0 ;
4055 int res1 = 0 ;
4056 int val2 ;
4057 int ecode2 = 0 ;
4058 wxPoint temp3 ;
4059 wxSize temp4 ;
4060 long val5 ;
4061 int ecode5 = 0 ;
4062 bool temp6 = false ;
4063 PyObject * obj0 = 0 ;
4064 PyObject * obj1 = 0 ;
4065 PyObject * obj2 = 0 ;
4066 PyObject * obj3 = 0 ;
4067 PyObject * obj4 = 0 ;
4068 PyObject * obj5 = 0 ;
4069 char * kwnames[] = {
4070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4071 };
4072
4073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4075 if (!SWIG_IsOK(res1)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4077 }
4078 arg1 = reinterpret_cast< wxWindow * >(argp1);
4079 if (obj1) {
4080 ecode2 = SWIG_AsVal_int(obj1, &val2);
4081 if (!SWIG_IsOK(ecode2)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4083 }
4084 arg2 = static_cast< int >(val2);
4085 }
4086 if (obj2) {
4087 {
4088 arg3 = &temp3;
4089 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4090 }
4091 }
4092 if (obj3) {
4093 {
4094 arg4 = &temp4;
4095 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4096 }
4097 }
4098 if (obj4) {
4099 ecode5 = SWIG_AsVal_long(obj4, &val5);
4100 if (!SWIG_IsOK(ecode5)) {
4101 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4102 }
4103 arg5 = static_cast< long >(val5);
4104 }
4105 if (obj5) {
4106 {
4107 arg6 = wxString_in_helper(obj5);
4108 if (arg6 == NULL) SWIG_fail;
4109 temp6 = true;
4110 }
4111 }
4112 {
4113 if (!wxPyCheckForApp()) SWIG_fail;
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4120 {
4121 if (temp6)
4122 delete arg6;
4123 }
4124 return resultobj;
4125 fail:
4126 {
4127 if (temp6)
4128 delete arg6;
4129 }
4130 return NULL;
4131 }
4132
4133
4134 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4135 PyObject *resultobj = 0;
4136 wxScrolledWindow *result = 0 ;
4137
4138 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4139 {
4140 if (!wxPyCheckForApp()) SWIG_fail;
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (wxScrolledWindow *)new wxScrolledWindow();
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4147 return resultobj;
4148 fail:
4149 return NULL;
4150 }
4151
4152
4153 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4154 PyObject *resultobj = 0;
4155 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4156 wxWindow *arg2 = (wxWindow *) 0 ;
4157 int arg3 = (int) (int)-1 ;
4158 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4159 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4160 wxSize const &arg5_defvalue = wxDefaultSize ;
4161 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4162 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4163 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4164 wxString *arg7 = (wxString *) &arg7_defvalue ;
4165 bool result;
4166 void *argp1 = 0 ;
4167 int res1 = 0 ;
4168 void *argp2 = 0 ;
4169 int res2 = 0 ;
4170 int val3 ;
4171 int ecode3 = 0 ;
4172 wxPoint temp4 ;
4173 wxSize temp5 ;
4174 long val6 ;
4175 int ecode6 = 0 ;
4176 bool temp7 = false ;
4177 PyObject * obj0 = 0 ;
4178 PyObject * obj1 = 0 ;
4179 PyObject * obj2 = 0 ;
4180 PyObject * obj3 = 0 ;
4181 PyObject * obj4 = 0 ;
4182 PyObject * obj5 = 0 ;
4183 PyObject * obj6 = 0 ;
4184 char * kwnames[] = {
4185 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4186 };
4187
4188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4190 if (!SWIG_IsOK(res1)) {
4191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4192 }
4193 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4194 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4195 if (!SWIG_IsOK(res2)) {
4196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4197 }
4198 arg2 = reinterpret_cast< wxWindow * >(argp2);
4199 if (obj2) {
4200 ecode3 = SWIG_AsVal_int(obj2, &val3);
4201 if (!SWIG_IsOK(ecode3)) {
4202 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4203 }
4204 arg3 = static_cast< int >(val3);
4205 }
4206 if (obj3) {
4207 {
4208 arg4 = &temp4;
4209 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4210 }
4211 }
4212 if (obj4) {
4213 {
4214 arg5 = &temp5;
4215 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4216 }
4217 }
4218 if (obj5) {
4219 ecode6 = SWIG_AsVal_long(obj5, &val6);
4220 if (!SWIG_IsOK(ecode6)) {
4221 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4222 }
4223 arg6 = static_cast< long >(val6);
4224 }
4225 if (obj6) {
4226 {
4227 arg7 = wxString_in_helper(obj6);
4228 if (arg7 == NULL) SWIG_fail;
4229 temp7 = true;
4230 }
4231 }
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4235 wxPyEndAllowThreads(__tstate);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
4238 {
4239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4240 }
4241 {
4242 if (temp7)
4243 delete arg7;
4244 }
4245 return resultobj;
4246 fail:
4247 {
4248 if (temp7)
4249 delete arg7;
4250 }
4251 return NULL;
4252 }
4253
4254
4255 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4256 PyObject *resultobj = 0;
4257 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4258 int arg2 ;
4259 int arg3 ;
4260 int arg4 ;
4261 int arg5 ;
4262 int arg6 = (int) 0 ;
4263 int arg7 = (int) 0 ;
4264 bool arg8 = (bool) false ;
4265 void *argp1 = 0 ;
4266 int res1 = 0 ;
4267 int val2 ;
4268 int ecode2 = 0 ;
4269 int val3 ;
4270 int ecode3 = 0 ;
4271 int val4 ;
4272 int ecode4 = 0 ;
4273 int val5 ;
4274 int ecode5 = 0 ;
4275 int val6 ;
4276 int ecode6 = 0 ;
4277 int val7 ;
4278 int ecode7 = 0 ;
4279 bool val8 ;
4280 int ecode8 = 0 ;
4281 PyObject * obj0 = 0 ;
4282 PyObject * obj1 = 0 ;
4283 PyObject * obj2 = 0 ;
4284 PyObject * obj3 = 0 ;
4285 PyObject * obj4 = 0 ;
4286 PyObject * obj5 = 0 ;
4287 PyObject * obj6 = 0 ;
4288 PyObject * obj7 = 0 ;
4289 char * kwnames[] = {
4290 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4291 };
4292
4293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4295 if (!SWIG_IsOK(res1)) {
4296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4297 }
4298 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4299 ecode2 = SWIG_AsVal_int(obj1, &val2);
4300 if (!SWIG_IsOK(ecode2)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4302 }
4303 arg2 = static_cast< int >(val2);
4304 ecode3 = SWIG_AsVal_int(obj2, &val3);
4305 if (!SWIG_IsOK(ecode3)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4307 }
4308 arg3 = static_cast< int >(val3);
4309 ecode4 = SWIG_AsVal_int(obj3, &val4);
4310 if (!SWIG_IsOK(ecode4)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4312 }
4313 arg4 = static_cast< int >(val4);
4314 ecode5 = SWIG_AsVal_int(obj4, &val5);
4315 if (!SWIG_IsOK(ecode5)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4317 }
4318 arg5 = static_cast< int >(val5);
4319 if (obj5) {
4320 ecode6 = SWIG_AsVal_int(obj5, &val6);
4321 if (!SWIG_IsOK(ecode6)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4323 }
4324 arg6 = static_cast< int >(val6);
4325 }
4326 if (obj6) {
4327 ecode7 = SWIG_AsVal_int(obj6, &val7);
4328 if (!SWIG_IsOK(ecode7)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4330 }
4331 arg7 = static_cast< int >(val7);
4332 }
4333 if (obj7) {
4334 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4335 if (!SWIG_IsOK(ecode8)) {
4336 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4337 }
4338 arg8 = static_cast< bool >(val8);
4339 }
4340 {
4341 PyThreadState* __tstate = wxPyBeginAllowThreads();
4342 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
4346 resultobj = SWIG_Py_Void();
4347 return resultobj;
4348 fail:
4349 return NULL;
4350 }
4351
4352
4353 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4354 PyObject *resultobj = 0;
4355 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4356 int arg2 ;
4357 int arg3 ;
4358 void *argp1 = 0 ;
4359 int res1 = 0 ;
4360 int val2 ;
4361 int ecode2 = 0 ;
4362 int val3 ;
4363 int ecode3 = 0 ;
4364 PyObject * obj0 = 0 ;
4365 PyObject * obj1 = 0 ;
4366 PyObject * obj2 = 0 ;
4367 char * kwnames[] = {
4368 (char *) "self",(char *) "x",(char *) "y", NULL
4369 };
4370
4371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4373 if (!SWIG_IsOK(res1)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4375 }
4376 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4377 ecode2 = SWIG_AsVal_int(obj1, &val2);
4378 if (!SWIG_IsOK(ecode2)) {
4379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4380 }
4381 arg2 = static_cast< int >(val2);
4382 ecode3 = SWIG_AsVal_int(obj2, &val3);
4383 if (!SWIG_IsOK(ecode3)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4385 }
4386 arg3 = static_cast< int >(val3);
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 (arg1)->Scroll(arg2,arg3);
4390 wxPyEndAllowThreads(__tstate);
4391 if (PyErr_Occurred()) SWIG_fail;
4392 }
4393 resultobj = SWIG_Py_Void();
4394 return resultobj;
4395 fail:
4396 return NULL;
4397 }
4398
4399
4400 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4401 PyObject *resultobj = 0;
4402 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4403 int arg2 ;
4404 int result;
4405 void *argp1 = 0 ;
4406 int res1 = 0 ;
4407 int val2 ;
4408 int ecode2 = 0 ;
4409 PyObject * obj0 = 0 ;
4410 PyObject * obj1 = 0 ;
4411 char * kwnames[] = {
4412 (char *) "self",(char *) "orient", NULL
4413 };
4414
4415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4417 if (!SWIG_IsOK(res1)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4419 }
4420 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4421 ecode2 = SWIG_AsVal_int(obj1, &val2);
4422 if (!SWIG_IsOK(ecode2)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4424 }
4425 arg2 = static_cast< int >(val2);
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 resultobj = SWIG_From_int(static_cast< int >(result));
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj = 0;
4441 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4442 int arg2 ;
4443 int arg3 ;
4444 void *argp1 = 0 ;
4445 int res1 = 0 ;
4446 int val2 ;
4447 int ecode2 = 0 ;
4448 int val3 ;
4449 int ecode3 = 0 ;
4450 PyObject * obj0 = 0 ;
4451 PyObject * obj1 = 0 ;
4452 PyObject * obj2 = 0 ;
4453 char * kwnames[] = {
4454 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4455 };
4456
4457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4459 if (!SWIG_IsOK(res1)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4461 }
4462 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4463 ecode2 = SWIG_AsVal_int(obj1, &val2);
4464 if (!SWIG_IsOK(ecode2)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4466 }
4467 arg2 = static_cast< int >(val2);
4468 ecode3 = SWIG_AsVal_int(obj2, &val3);
4469 if (!SWIG_IsOK(ecode3)) {
4470 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4471 }
4472 arg3 = static_cast< int >(val3);
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 (arg1)->SetScrollPageSize(arg2,arg3);
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 resultobj = SWIG_Py_Void();
4480 return resultobj;
4481 fail:
4482 return NULL;
4483 }
4484
4485
4486 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4487 PyObject *resultobj = 0;
4488 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4489 int arg2 ;
4490 int arg3 ;
4491 void *argp1 = 0 ;
4492 int res1 = 0 ;
4493 int val2 ;
4494 int ecode2 = 0 ;
4495 int val3 ;
4496 int ecode3 = 0 ;
4497 PyObject * obj0 = 0 ;
4498 PyObject * obj1 = 0 ;
4499 PyObject * obj2 = 0 ;
4500 char * kwnames[] = {
4501 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4502 };
4503
4504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4506 if (!SWIG_IsOK(res1)) {
4507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4508 }
4509 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4510 ecode2 = SWIG_AsVal_int(obj1, &val2);
4511 if (!SWIG_IsOK(ecode2)) {
4512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4513 }
4514 arg2 = static_cast< int >(val2);
4515 ecode3 = SWIG_AsVal_int(obj2, &val3);
4516 if (!SWIG_IsOK(ecode3)) {
4517 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4518 }
4519 arg3 = static_cast< int >(val3);
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 (arg1)->SetScrollRate(arg2,arg3);
4523 wxPyEndAllowThreads(__tstate);
4524 if (PyErr_Occurred()) SWIG_fail;
4525 }
4526 resultobj = SWIG_Py_Void();
4527 return resultobj;
4528 fail:
4529 return NULL;
4530 }
4531
4532
4533 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4534 PyObject *resultobj = 0;
4535 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4536 int *arg2 = (int *) 0 ;
4537 int *arg3 = (int *) 0 ;
4538 void *argp1 = 0 ;
4539 int res1 = 0 ;
4540 int temp2 ;
4541 int res2 = SWIG_TMPOBJ ;
4542 int temp3 ;
4543 int res3 = SWIG_TMPOBJ ;
4544 PyObject *swig_obj[1] ;
4545
4546 arg2 = &temp2;
4547 arg3 = &temp3;
4548 if (!args) SWIG_fail;
4549 swig_obj[0] = args;
4550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4551 if (!SWIG_IsOK(res1)) {
4552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4553 }
4554 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 resultobj = SWIG_Py_Void();
4562 if (SWIG_IsTmpObj(res2)) {
4563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4564 } else {
4565 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4566 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4567 }
4568 if (SWIG_IsTmpObj(res3)) {
4569 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4570 } else {
4571 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4572 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4573 }
4574 return resultobj;
4575 fail:
4576 return NULL;
4577 }
4578
4579
4580 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4581 PyObject *resultobj = 0;
4582 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4583 bool arg2 ;
4584 bool arg3 ;
4585 void *argp1 = 0 ;
4586 int res1 = 0 ;
4587 bool val2 ;
4588 int ecode2 = 0 ;
4589 bool val3 ;
4590 int ecode3 = 0 ;
4591 PyObject * obj0 = 0 ;
4592 PyObject * obj1 = 0 ;
4593 PyObject * obj2 = 0 ;
4594 char * kwnames[] = {
4595 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4596 };
4597
4598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4600 if (!SWIG_IsOK(res1)) {
4601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4602 }
4603 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4604 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4605 if (!SWIG_IsOK(ecode2)) {
4606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4607 }
4608 arg2 = static_cast< bool >(val2);
4609 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4610 if (!SWIG_IsOK(ecode3)) {
4611 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4612 }
4613 arg3 = static_cast< bool >(val3);
4614 {
4615 PyThreadState* __tstate = wxPyBeginAllowThreads();
4616 (arg1)->EnableScrolling(arg2,arg3);
4617 wxPyEndAllowThreads(__tstate);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 }
4620 resultobj = SWIG_Py_Void();
4621 return resultobj;
4622 fail:
4623 return NULL;
4624 }
4625
4626
4627 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4628 PyObject *resultobj = 0;
4629 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4630 int *arg2 = (int *) 0 ;
4631 int *arg3 = (int *) 0 ;
4632 void *argp1 = 0 ;
4633 int res1 = 0 ;
4634 int temp2 ;
4635 int res2 = SWIG_TMPOBJ ;
4636 int temp3 ;
4637 int res3 = SWIG_TMPOBJ ;
4638 PyObject *swig_obj[1] ;
4639
4640 arg2 = &temp2;
4641 arg3 = &temp3;
4642 if (!args) SWIG_fail;
4643 swig_obj[0] = args;
4644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4645 if (!SWIG_IsOK(res1)) {
4646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4647 }
4648 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 resultobj = SWIG_Py_Void();
4656 if (SWIG_IsTmpObj(res2)) {
4657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4658 } else {
4659 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4661 }
4662 if (SWIG_IsTmpObj(res3)) {
4663 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4664 } else {
4665 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4666 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4667 }
4668 return resultobj;
4669 fail:
4670 return NULL;
4671 }
4672
4673
4674 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4675 PyObject *resultobj = 0;
4676 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4677 double arg2 ;
4678 double arg3 ;
4679 void *argp1 = 0 ;
4680 int res1 = 0 ;
4681 double val2 ;
4682 int ecode2 = 0 ;
4683 double val3 ;
4684 int ecode3 = 0 ;
4685 PyObject * obj0 = 0 ;
4686 PyObject * obj1 = 0 ;
4687 PyObject * obj2 = 0 ;
4688 char * kwnames[] = {
4689 (char *) "self",(char *) "xs",(char *) "ys", NULL
4690 };
4691
4692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4694 if (!SWIG_IsOK(res1)) {
4695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4696 }
4697 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4698 ecode2 = SWIG_AsVal_double(obj1, &val2);
4699 if (!SWIG_IsOK(ecode2)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4701 }
4702 arg2 = static_cast< double >(val2);
4703 ecode3 = SWIG_AsVal_double(obj2, &val3);
4704 if (!SWIG_IsOK(ecode3)) {
4705 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4706 }
4707 arg3 = static_cast< double >(val3);
4708 {
4709 PyThreadState* __tstate = wxPyBeginAllowThreads();
4710 (arg1)->SetScale(arg2,arg3);
4711 wxPyEndAllowThreads(__tstate);
4712 if (PyErr_Occurred()) SWIG_fail;
4713 }
4714 resultobj = SWIG_Py_Void();
4715 return resultobj;
4716 fail:
4717 return NULL;
4718 }
4719
4720
4721 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4722 PyObject *resultobj = 0;
4723 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4724 double result;
4725 void *argp1 = 0 ;
4726 int res1 = 0 ;
4727 PyObject *swig_obj[1] ;
4728
4729 if (!args) SWIG_fail;
4730 swig_obj[0] = args;
4731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4732 if (!SWIG_IsOK(res1)) {
4733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4734 }
4735 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4736 {
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 resultobj = SWIG_From_double(static_cast< double >(result));
4743 return resultobj;
4744 fail:
4745 return NULL;
4746 }
4747
4748
4749 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4750 PyObject *resultobj = 0;
4751 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4752 double result;
4753 void *argp1 = 0 ;
4754 int res1 = 0 ;
4755 PyObject *swig_obj[1] ;
4756
4757 if (!args) SWIG_fail;
4758 swig_obj[0] = args;
4759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4760 if (!SWIG_IsOK(res1)) {
4761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4762 }
4763 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4767 wxPyEndAllowThreads(__tstate);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 }
4770 resultobj = SWIG_From_double(static_cast< double >(result));
4771 return resultobj;
4772 fail:
4773 return NULL;
4774 }
4775
4776
4777 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4778 PyObject *resultobj = 0;
4779 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4780 wxPoint *arg2 = 0 ;
4781 wxPoint result;
4782 void *argp1 = 0 ;
4783 int res1 = 0 ;
4784 wxPoint temp2 ;
4785
4786 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4788 if (!SWIG_IsOK(res1)) {
4789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4790 }
4791 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4792 {
4793 arg2 = &temp2;
4794 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4795 }
4796 {
4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
4798 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4803 return resultobj;
4804 fail:
4805 return NULL;
4806 }
4807
4808
4809 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4810 PyObject *resultobj = 0;
4811 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4812 int arg2 ;
4813 int arg3 ;
4814 int *arg4 = (int *) 0 ;
4815 int *arg5 = (int *) 0 ;
4816 void *argp1 = 0 ;
4817 int res1 = 0 ;
4818 int val2 ;
4819 int ecode2 = 0 ;
4820 int val3 ;
4821 int ecode3 = 0 ;
4822 int temp4 ;
4823 int res4 = SWIG_TMPOBJ ;
4824 int temp5 ;
4825 int res5 = SWIG_TMPOBJ ;
4826
4827 arg4 = &temp4;
4828 arg5 = &temp5;
4829 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4831 if (!SWIG_IsOK(res1)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4833 }
4834 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4835 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4836 if (!SWIG_IsOK(ecode2)) {
4837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4838 }
4839 arg2 = static_cast< int >(val2);
4840 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4841 if (!SWIG_IsOK(ecode3)) {
4842 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4843 }
4844 arg3 = static_cast< int >(val3);
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
4851 resultobj = SWIG_Py_Void();
4852 if (SWIG_IsTmpObj(res4)) {
4853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4854 } else {
4855 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4857 }
4858 if (SWIG_IsTmpObj(res5)) {
4859 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4860 } else {
4861 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4862 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4863 }
4864 return resultobj;
4865 fail:
4866 return NULL;
4867 }
4868
4869
4870 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4871 int argc;
4872 PyObject *argv[4];
4873
4874 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4875 --argc;
4876 if (argc == 2) {
4877 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4878 }
4879 if (argc == 3) {
4880 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4881 }
4882
4883 fail:
4884 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4885 return NULL;
4886 }
4887
4888
4889 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4890 PyObject *resultobj = 0;
4891 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4892 wxPoint *arg2 = 0 ;
4893 wxPoint result;
4894 void *argp1 = 0 ;
4895 int res1 = 0 ;
4896 wxPoint temp2 ;
4897
4898 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4900 if (!SWIG_IsOK(res1)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4902 }
4903 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4904 {
4905 arg2 = &temp2;
4906 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4907 }
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4915 return resultobj;
4916 fail:
4917 return NULL;
4918 }
4919
4920
4921 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4922 PyObject *resultobj = 0;
4923 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4924 int arg2 ;
4925 int arg3 ;
4926 int *arg4 = (int *) 0 ;
4927 int *arg5 = (int *) 0 ;
4928 void *argp1 = 0 ;
4929 int res1 = 0 ;
4930 int val2 ;
4931 int ecode2 = 0 ;
4932 int val3 ;
4933 int ecode3 = 0 ;
4934 int temp4 ;
4935 int res4 = SWIG_TMPOBJ ;
4936 int temp5 ;
4937 int res5 = SWIG_TMPOBJ ;
4938
4939 arg4 = &temp4;
4940 arg5 = &temp5;
4941 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4943 if (!SWIG_IsOK(res1)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4945 }
4946 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4947 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4948 if (!SWIG_IsOK(ecode2)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4950 }
4951 arg2 = static_cast< int >(val2);
4952 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4953 if (!SWIG_IsOK(ecode3)) {
4954 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4955 }
4956 arg3 = static_cast< int >(val3);
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 resultobj = SWIG_Py_Void();
4964 if (SWIG_IsTmpObj(res4)) {
4965 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4966 } else {
4967 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4968 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4969 }
4970 if (SWIG_IsTmpObj(res5)) {
4971 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4972 } else {
4973 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4974 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4975 }
4976 return resultobj;
4977 fail:
4978 return NULL;
4979 }
4980
4981
4982 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4983 int argc;
4984 PyObject *argv[4];
4985
4986 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4987 --argc;
4988 if (argc == 2) {
4989 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4990 }
4991 if (argc == 3) {
4992 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4993 }
4994
4995 fail:
4996 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4997 return NULL;
4998 }
4999
5000
5001 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5002 PyObject *resultobj = 0;
5003 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5004 void *argp1 = 0 ;
5005 int res1 = 0 ;
5006 PyObject *swig_obj[1] ;
5007
5008 if (!args) SWIG_fail;
5009 swig_obj[0] = args;
5010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5011 if (!SWIG_IsOK(res1)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5013 }
5014 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 (arg1)->AdjustScrollbars();
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 resultobj = SWIG_Py_Void();
5022 return resultobj;
5023 fail:
5024 return NULL;
5025 }
5026
5027
5028 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj = 0;
5030 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5031 wxScrollWinEvent *arg2 = 0 ;
5032 int result;
5033 void *argp1 = 0 ;
5034 int res1 = 0 ;
5035 void *argp2 = 0 ;
5036 int res2 = 0 ;
5037 PyObject * obj0 = 0 ;
5038 PyObject * obj1 = 0 ;
5039 char * kwnames[] = {
5040 (char *) "self",(char *) "event", NULL
5041 };
5042
5043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5045 if (!SWIG_IsOK(res1)) {
5046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5047 }
5048 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5049 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5050 if (!SWIG_IsOK(res2)) {
5051 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5052 }
5053 if (!argp2) {
5054 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5055 }
5056 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5057 {
5058 PyThreadState* __tstate = wxPyBeginAllowThreads();
5059 result = (int)(arg1)->CalcScrollInc(*arg2);
5060 wxPyEndAllowThreads(__tstate);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 }
5063 resultobj = SWIG_From_int(static_cast< int >(result));
5064 return resultobj;
5065 fail:
5066 return NULL;
5067 }
5068
5069
5070 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5071 PyObject *resultobj = 0;
5072 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5073 wxWindow *arg2 = (wxWindow *) 0 ;
5074 void *argp1 = 0 ;
5075 int res1 = 0 ;
5076 void *argp2 = 0 ;
5077 int res2 = 0 ;
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 char * kwnames[] = {
5081 (char *) "self",(char *) "target", NULL
5082 };
5083
5084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5086 if (!SWIG_IsOK(res1)) {
5087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5088 }
5089 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5090 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5091 if (!SWIG_IsOK(res2)) {
5092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5093 }
5094 arg2 = reinterpret_cast< wxWindow * >(argp2);
5095 {
5096 PyThreadState* __tstate = wxPyBeginAllowThreads();
5097 (arg1)->SetTargetWindow(arg2);
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 resultobj = SWIG_Py_Void();
5102 return resultobj;
5103 fail:
5104 return NULL;
5105 }
5106
5107
5108 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5109 PyObject *resultobj = 0;
5110 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5111 wxWindow *result = 0 ;
5112 void *argp1 = 0 ;
5113 int res1 = 0 ;
5114 PyObject *swig_obj[1] ;
5115
5116 if (!args) SWIG_fail;
5117 swig_obj[0] = args;
5118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5119 if (!SWIG_IsOK(res1)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5121 }
5122 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5123 {
5124 PyThreadState* __tstate = wxPyBeginAllowThreads();
5125 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5126 wxPyEndAllowThreads(__tstate);
5127 if (PyErr_Occurred()) SWIG_fail;
5128 }
5129 {
5130 resultobj = wxPyMake_wxObject(result, 0);
5131 }
5132 return resultobj;
5133 fail:
5134 return NULL;
5135 }
5136
5137
5138 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5139 PyObject *resultobj = 0;
5140 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5141 wxRect *arg2 = 0 ;
5142 void *argp1 = 0 ;
5143 int res1 = 0 ;
5144 wxRect temp2 ;
5145 PyObject * obj0 = 0 ;
5146 PyObject * obj1 = 0 ;
5147 char * kwnames[] = {
5148 (char *) "self",(char *) "rect", NULL
5149 };
5150
5151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5153 if (!SWIG_IsOK(res1)) {
5154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5155 }
5156 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5157 {
5158 arg2 = &temp2;
5159 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5160 }
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 (arg1)->SetTargetRect((wxRect const &)*arg2);
5164 wxPyEndAllowThreads(__tstate);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 resultobj = SWIG_Py_Void();
5168 return resultobj;
5169 fail:
5170 return NULL;
5171 }
5172
5173
5174 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5175 PyObject *resultobj = 0;
5176 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5177 wxRect result;
5178 void *argp1 = 0 ;
5179 int res1 = 0 ;
5180 PyObject *swig_obj[1] ;
5181
5182 if (!args) SWIG_fail;
5183 swig_obj[0] = args;
5184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5185 if (!SWIG_IsOK(res1)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5187 }
5188 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5192 wxPyEndAllowThreads(__tstate);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 }
5195 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5196 return resultobj;
5197 fail:
5198 return NULL;
5199 }
5200
5201
5202 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5203 PyObject *resultobj = 0;
5204 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5205 wxDC *arg2 = 0 ;
5206 void *argp1 = 0 ;
5207 int res1 = 0 ;
5208 void *argp2 = 0 ;
5209 int res2 = 0 ;
5210 PyObject * obj0 = 0 ;
5211 PyObject * obj1 = 0 ;
5212 char * kwnames[] = {
5213 (char *) "self",(char *) "dc", NULL
5214 };
5215
5216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5218 if (!SWIG_IsOK(res1)) {
5219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5220 }
5221 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5222 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5223 if (!SWIG_IsOK(res2)) {
5224 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5225 }
5226 if (!argp2) {
5227 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5228 }
5229 arg2 = reinterpret_cast< wxDC * >(argp2);
5230 {
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 (arg1)->DoPrepareDC(*arg2);
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 resultobj = SWIG_Py_Void();
5237 return resultobj;
5238 fail:
5239 return NULL;
5240 }
5241
5242
5243 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5244 PyObject *resultobj = 0;
5245 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5246 SwigValueWrapper<wxVisualAttributes > result;
5247 int val1 ;
5248 int ecode1 = 0 ;
5249 PyObject * obj0 = 0 ;
5250 char * kwnames[] = {
5251 (char *) "variant", NULL
5252 };
5253
5254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5255 if (obj0) {
5256 ecode1 = SWIG_AsVal_int(obj0, &val1);
5257 if (!SWIG_IsOK(ecode1)) {
5258 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5259 }
5260 arg1 = static_cast< wxWindowVariant >(val1);
5261 }
5262 {
5263 if (!wxPyCheckForApp()) SWIG_fail;
5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
5265 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5270 return resultobj;
5271 fail:
5272 return NULL;
5273 }
5274
5275
5276 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5277 PyObject *obj;
5278 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5279 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5280 return SWIG_Py_Void();
5281 }
5282
5283 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5284 return SWIG_Python_InitShadowInstance(args);
5285 }
5286
5287 SWIGINTERN int FrameNameStr_set(PyObject *) {
5288 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5289 return 1;
5290 }
5291
5292
5293 SWIGINTERN PyObject *FrameNameStr_get(void) {
5294 PyObject *pyobj = 0;
5295
5296 {
5297 #if wxUSE_UNICODE
5298 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5299 #else
5300 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5301 #endif
5302 }
5303 return pyobj;
5304 }
5305
5306
5307 SWIGINTERN int DialogNameStr_set(PyObject *) {
5308 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5309 return 1;
5310 }
5311
5312
5313 SWIGINTERN PyObject *DialogNameStr_get(void) {
5314 PyObject *pyobj = 0;
5315
5316 {
5317 #if wxUSE_UNICODE
5318 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5319 #else
5320 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5321 #endif
5322 }
5323 return pyobj;
5324 }
5325
5326
5327 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5328 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5329 return 1;
5330 }
5331
5332
5333 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5334 PyObject *pyobj = 0;
5335
5336 {
5337 #if wxUSE_UNICODE
5338 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5339 #else
5340 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5341 #endif
5342 }
5343 return pyobj;
5344 }
5345
5346
5347 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5348 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5349 return 1;
5350 }
5351
5352
5353 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5354 PyObject *pyobj = 0;
5355
5356 {
5357 #if wxUSE_UNICODE
5358 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5359 #else
5360 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5361 #endif
5362 }
5363 return pyobj;
5364 }
5365
5366
5367 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5368 PyObject *resultobj = 0;
5369 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5370 bool arg2 = (bool) true ;
5371 void *argp1 = 0 ;
5372 int res1 = 0 ;
5373 bool val2 ;
5374 int ecode2 = 0 ;
5375 PyObject * obj0 = 0 ;
5376 PyObject * obj1 = 0 ;
5377 char * kwnames[] = {
5378 (char *) "self",(char *) "maximize", NULL
5379 };
5380
5381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5383 if (!SWIG_IsOK(res1)) {
5384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5385 }
5386 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5387 if (obj1) {
5388 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5389 if (!SWIG_IsOK(ecode2)) {
5390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5391 }
5392 arg2 = static_cast< bool >(val2);
5393 }
5394 {
5395 PyThreadState* __tstate = wxPyBeginAllowThreads();
5396 (arg1)->Maximize(arg2);
5397 wxPyEndAllowThreads(__tstate);
5398 if (PyErr_Occurred()) SWIG_fail;
5399 }
5400 resultobj = SWIG_Py_Void();
5401 return resultobj;
5402 fail:
5403 return NULL;
5404 }
5405
5406
5407 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5408 PyObject *resultobj = 0;
5409 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5410 void *argp1 = 0 ;
5411 int res1 = 0 ;
5412 PyObject *swig_obj[1] ;
5413
5414 if (!args) SWIG_fail;
5415 swig_obj[0] = args;
5416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5417 if (!SWIG_IsOK(res1)) {
5418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5419 }
5420 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5421 {
5422 PyThreadState* __tstate = wxPyBeginAllowThreads();
5423 (arg1)->Restore();
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 resultobj = SWIG_Py_Void();
5428 return resultobj;
5429 fail:
5430 return NULL;
5431 }
5432
5433
5434 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5435 PyObject *resultobj = 0;
5436 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5437 bool arg2 = (bool) true ;
5438 void *argp1 = 0 ;
5439 int res1 = 0 ;
5440 bool val2 ;
5441 int ecode2 = 0 ;
5442 PyObject * obj0 = 0 ;
5443 PyObject * obj1 = 0 ;
5444 char * kwnames[] = {
5445 (char *) "self",(char *) "iconize", NULL
5446 };
5447
5448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5450 if (!SWIG_IsOK(res1)) {
5451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5452 }
5453 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5454 if (obj1) {
5455 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5456 if (!SWIG_IsOK(ecode2)) {
5457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5458 }
5459 arg2 = static_cast< bool >(val2);
5460 }
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 (arg1)->Iconize(arg2);
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 resultobj = SWIG_Py_Void();
5468 return resultobj;
5469 fail:
5470 return NULL;
5471 }
5472
5473
5474 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5475 PyObject *resultobj = 0;
5476 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5477 bool result;
5478 void *argp1 = 0 ;
5479 int res1 = 0 ;
5480 PyObject *swig_obj[1] ;
5481
5482 if (!args) SWIG_fail;
5483 swig_obj[0] = args;
5484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5485 if (!SWIG_IsOK(res1)) {
5486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5487 }
5488 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5492 wxPyEndAllowThreads(__tstate);
5493 if (PyErr_Occurred()) SWIG_fail;
5494 }
5495 {
5496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5497 }
5498 return resultobj;
5499 fail:
5500 return NULL;
5501 }
5502
5503
5504 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5505 PyObject *resultobj = 0;
5506 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5507 bool result;
5508 void *argp1 = 0 ;
5509 int res1 = 0 ;
5510 PyObject *swig_obj[1] ;
5511
5512 if (!args) SWIG_fail;
5513 swig_obj[0] = args;
5514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5515 if (!SWIG_IsOK(res1)) {
5516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5517 }
5518 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5519 {
5520 PyThreadState* __tstate = wxPyBeginAllowThreads();
5521 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5522 wxPyEndAllowThreads(__tstate);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
5525 {
5526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5527 }
5528 return resultobj;
5529 fail:
5530 return NULL;
5531 }
5532
5533
5534 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5535 PyObject *resultobj = 0;
5536 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5537 bool result;
5538 void *argp1 = 0 ;
5539 int res1 = 0 ;
5540 PyObject *swig_obj[1] ;
5541
5542 if (!args) SWIG_fail;
5543 swig_obj[0] = args;
5544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5545 if (!SWIG_IsOK(res1)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5547 }
5548 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5552 wxPyEndAllowThreads(__tstate);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 {
5556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5557 }
5558 return resultobj;
5559 fail:
5560 return NULL;
5561 }
5562
5563
5564 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5565 PyObject *resultobj = 0;
5566 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5567 wxIcon result;
5568 void *argp1 = 0 ;
5569 int res1 = 0 ;
5570 PyObject *swig_obj[1] ;
5571
5572 if (!args) SWIG_fail;
5573 swig_obj[0] = args;
5574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5575 if (!SWIG_IsOK(res1)) {
5576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5577 }
5578 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
5585 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5586 return resultobj;
5587 fail:
5588 return NULL;
5589 }
5590
5591
5592 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5593 PyObject *resultobj = 0;
5594 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5595 wxIcon *arg2 = 0 ;
5596 void *argp1 = 0 ;
5597 int res1 = 0 ;
5598 void *argp2 = 0 ;
5599 int res2 = 0 ;
5600 PyObject * obj0 = 0 ;
5601 PyObject * obj1 = 0 ;
5602 char * kwnames[] = {
5603 (char *) "self",(char *) "icon", NULL
5604 };
5605
5606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5608 if (!SWIG_IsOK(res1)) {
5609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5610 }
5611 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5612 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5613 if (!SWIG_IsOK(res2)) {
5614 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5615 }
5616 if (!argp2) {
5617 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5618 }
5619 arg2 = reinterpret_cast< wxIcon * >(argp2);
5620 {
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 (arg1)->SetIcon((wxIcon const &)*arg2);
5623 wxPyEndAllowThreads(__tstate);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
5626 resultobj = SWIG_Py_Void();
5627 return resultobj;
5628 fail:
5629 return NULL;
5630 }
5631
5632
5633 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5634 PyObject *resultobj = 0;
5635 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5636 wxIconBundle *arg2 = 0 ;
5637 void *argp1 = 0 ;
5638 int res1 = 0 ;
5639 void *argp2 = 0 ;
5640 int res2 = 0 ;
5641 PyObject * obj0 = 0 ;
5642 PyObject * obj1 = 0 ;
5643 char * kwnames[] = {
5644 (char *) "self",(char *) "icons", NULL
5645 };
5646
5647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5649 if (!SWIG_IsOK(res1)) {
5650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5651 }
5652 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5653 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5654 if (!SWIG_IsOK(res2)) {
5655 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5656 }
5657 if (!argp2) {
5658 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5659 }
5660 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5661 {
5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
5663 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5664 wxPyEndAllowThreads(__tstate);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 resultobj = SWIG_Py_Void();
5668 return resultobj;
5669 fail:
5670 return NULL;
5671 }
5672
5673
5674 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5675 PyObject *resultobj = 0;
5676 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5677 bool arg2 ;
5678 long arg3 = (long) wxFULLSCREEN_ALL ;
5679 bool result;
5680 void *argp1 = 0 ;
5681 int res1 = 0 ;
5682 bool val2 ;
5683 int ecode2 = 0 ;
5684 long val3 ;
5685 int ecode3 = 0 ;
5686 PyObject * obj0 = 0 ;
5687 PyObject * obj1 = 0 ;
5688 PyObject * obj2 = 0 ;
5689 char * kwnames[] = {
5690 (char *) "self",(char *) "show",(char *) "style", NULL
5691 };
5692
5693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5695 if (!SWIG_IsOK(res1)) {
5696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5697 }
5698 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5699 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5700 if (!SWIG_IsOK(ecode2)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5702 }
5703 arg2 = static_cast< bool >(val2);
5704 if (obj2) {
5705 ecode3 = SWIG_AsVal_long(obj2, &val3);
5706 if (!SWIG_IsOK(ecode3)) {
5707 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5708 }
5709 arg3 = static_cast< long >(val3);
5710 }
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 {
5718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5719 }
5720 return resultobj;
5721 fail:
5722 return NULL;
5723 }
5724
5725
5726 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5727 PyObject *resultobj = 0;
5728 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5729 bool result;
5730 void *argp1 = 0 ;
5731 int res1 = 0 ;
5732 PyObject *swig_obj[1] ;
5733
5734 if (!args) SWIG_fail;
5735 swig_obj[0] = args;
5736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5737 if (!SWIG_IsOK(res1)) {
5738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5739 }
5740 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5741 {
5742 PyThreadState* __tstate = wxPyBeginAllowThreads();
5743 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5744 wxPyEndAllowThreads(__tstate);
5745 if (PyErr_Occurred()) SWIG_fail;
5746 }
5747 {
5748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5749 }
5750 return resultobj;
5751 fail:
5752 return NULL;
5753 }
5754
5755
5756 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5757 PyObject *resultobj = 0;
5758 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5759 wxString *arg2 = 0 ;
5760 void *argp1 = 0 ;
5761 int res1 = 0 ;
5762 bool temp2 = false ;
5763 PyObject * obj0 = 0 ;
5764 PyObject * obj1 = 0 ;
5765 char * kwnames[] = {
5766 (char *) "self",(char *) "title", NULL
5767 };
5768
5769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5771 if (!SWIG_IsOK(res1)) {
5772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5773 }
5774 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5775 {
5776 arg2 = wxString_in_helper(obj1);
5777 if (arg2 == NULL) SWIG_fail;
5778 temp2 = true;
5779 }
5780 {
5781 PyThreadState* __tstate = wxPyBeginAllowThreads();
5782 (arg1)->SetTitle((wxString const &)*arg2);
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 resultobj = SWIG_Py_Void();
5787 {
5788 if (temp2)
5789 delete arg2;
5790 }
5791 return resultobj;
5792 fail:
5793 {
5794 if (temp2)
5795 delete arg2;
5796 }
5797 return NULL;
5798 }
5799
5800
5801 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5802 PyObject *resultobj = 0;
5803 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5804 wxString result;
5805 void *argp1 = 0 ;
5806 int res1 = 0 ;
5807 PyObject *swig_obj[1] ;
5808
5809 if (!args) SWIG_fail;
5810 swig_obj[0] = args;
5811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5812 if (!SWIG_IsOK(res1)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5814 }
5815 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5816 {
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5819 wxPyEndAllowThreads(__tstate);
5820 if (PyErr_Occurred()) SWIG_fail;
5821 }
5822 {
5823 #if wxUSE_UNICODE
5824 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5825 #else
5826 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5827 #endif
5828 }
5829 return resultobj;
5830 fail:
5831 return NULL;
5832 }
5833
5834
5835 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5836 PyObject *resultobj = 0;
5837 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5838 bool arg2 ;
5839 bool result;
5840 void *argp1 = 0 ;
5841 int res1 = 0 ;
5842 bool val2 ;
5843 int ecode2 = 0 ;
5844 PyObject * obj0 = 0 ;
5845 PyObject * obj1 = 0 ;
5846 char * kwnames[] = {
5847 (char *) "self",(char *) "enable", NULL
5848 };
5849
5850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5852 if (!SWIG_IsOK(res1)) {
5853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5854 }
5855 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5856 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5857 if (!SWIG_IsOK(ecode2)) {
5858 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5859 }
5860 arg2 = static_cast< bool >(val2);
5861 {
5862 PyThreadState* __tstate = wxPyBeginAllowThreads();
5863 result = (bool)(arg1)->EnableCloseButton(arg2);
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 {
5868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5869 }
5870 return resultobj;
5871 fail:
5872 return NULL;
5873 }
5874
5875
5876 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5877 PyObject *resultobj = 0;
5878 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5879 wxRegion *arg2 = 0 ;
5880 bool result;
5881 void *argp1 = 0 ;
5882 int res1 = 0 ;
5883 void *argp2 = 0 ;
5884 int res2 = 0 ;
5885 PyObject * obj0 = 0 ;
5886 PyObject * obj1 = 0 ;
5887 char * kwnames[] = {
5888 (char *) "self",(char *) "region", NULL
5889 };
5890
5891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5893 if (!SWIG_IsOK(res1)) {
5894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5895 }
5896 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5897 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5898 if (!SWIG_IsOK(res2)) {
5899 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5900 }
5901 if (!argp2) {
5902 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5903 }
5904 arg2 = reinterpret_cast< wxRegion * >(argp2);
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 {
5912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5913 }
5914 return resultobj;
5915 fail:
5916 return NULL;
5917 }
5918
5919
5920 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5921 PyObject *resultobj = 0;
5922 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5923 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5924 void *argp1 = 0 ;
5925 int res1 = 0 ;
5926 int val2 ;
5927 int ecode2 = 0 ;
5928 PyObject * obj0 = 0 ;
5929 PyObject * obj1 = 0 ;
5930 char * kwnames[] = {
5931 (char *) "self",(char *) "flags", NULL
5932 };
5933
5934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5936 if (!SWIG_IsOK(res1)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5938 }
5939 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5940 if (obj1) {
5941 ecode2 = SWIG_AsVal_int(obj1, &val2);
5942 if (!SWIG_IsOK(ecode2)) {
5943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5944 }
5945 arg2 = static_cast< int >(val2);
5946 }
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 (arg1)->RequestUserAttention(arg2);
5950 wxPyEndAllowThreads(__tstate);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
5953 resultobj = SWIG_Py_Void();
5954 return resultobj;
5955 fail:
5956 return NULL;
5957 }
5958
5959
5960 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5961 PyObject *resultobj = 0;
5962 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5963 bool result;
5964 void *argp1 = 0 ;
5965 int res1 = 0 ;
5966 PyObject *swig_obj[1] ;
5967
5968 if (!args) SWIG_fail;
5969 swig_obj[0] = args;
5970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5971 if (!SWIG_IsOK(res1)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5973 }
5974 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5975 {
5976 PyThreadState* __tstate = wxPyBeginAllowThreads();
5977 result = (bool)(arg1)->IsActive();
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 {
5982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5983 }
5984 return resultobj;
5985 fail:
5986 return NULL;
5987 }
5988
5989
5990 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5991 PyObject *resultobj = 0;
5992 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5993 bool arg2 ;
5994 void *argp1 = 0 ;
5995 int res1 = 0 ;
5996 bool val2 ;
5997 int ecode2 = 0 ;
5998 PyObject * obj0 = 0 ;
5999 PyObject * obj1 = 0 ;
6000 char * kwnames[] = {
6001 (char *) "self",(char *) "on", NULL
6002 };
6003
6004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6006 if (!SWIG_IsOK(res1)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6008 }
6009 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6010 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6011 if (!SWIG_IsOK(ecode2)) {
6012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6013 }
6014 arg2 = static_cast< bool >(val2);
6015 {
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
6017 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 resultobj = SWIG_Py_Void();
6022 return resultobj;
6023 fail:
6024 return NULL;
6025 }
6026
6027
6028 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6029 PyObject *resultobj = 0;
6030 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6031 bool result;
6032 void *argp1 = 0 ;
6033 int res1 = 0 ;
6034 PyObject *swig_obj[1] ;
6035
6036 if (!args) SWIG_fail;
6037 swig_obj[0] = args;
6038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6039 if (!SWIG_IsOK(res1)) {
6040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6041 }
6042 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 {
6050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6051 }
6052 return resultobj;
6053 fail:
6054 return NULL;
6055 }
6056
6057
6058 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6059 PyObject *resultobj = 0;
6060 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6061 int arg2 = (int) wxBOTH ;
6062 void *argp1 = 0 ;
6063 int res1 = 0 ;
6064 int val2 ;
6065 int ecode2 = 0 ;
6066 PyObject * obj0 = 0 ;
6067 PyObject * obj1 = 0 ;
6068 char * kwnames[] = {
6069 (char *) "self",(char *) "dir", NULL
6070 };
6071
6072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6074 if (!SWIG_IsOK(res1)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6076 }
6077 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6078 if (obj1) {
6079 ecode2 = SWIG_AsVal_int(obj1, &val2);
6080 if (!SWIG_IsOK(ecode2)) {
6081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6082 }
6083 arg2 = static_cast< int >(val2);
6084 }
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 (arg1)->CenterOnScreen(arg2);
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 resultobj = SWIG_Py_Void();
6092 return resultobj;
6093 fail:
6094 return NULL;
6095 }
6096
6097
6098 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6099 PyObject *resultobj = 0;
6100 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6101 wxWindow *result = 0 ;
6102 void *argp1 = 0 ;
6103 int res1 = 0 ;
6104 PyObject *swig_obj[1] ;
6105
6106 if (!args) SWIG_fail;
6107 swig_obj[0] = args;
6108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6109 if (!SWIG_IsOK(res1)) {
6110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6111 }
6112 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 {
6120 resultobj = wxPyMake_wxObject(result, 0);
6121 }
6122 return resultobj;
6123 fail:
6124 return NULL;
6125 }
6126
6127
6128 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6129 PyObject *resultobj = 0;
6130 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6131 wxWindow *arg2 = (wxWindow *) 0 ;
6132 wxWindow *result = 0 ;
6133 void *argp1 = 0 ;
6134 int res1 = 0 ;
6135 void *argp2 = 0 ;
6136 int res2 = 0 ;
6137 PyObject * obj0 = 0 ;
6138 PyObject * obj1 = 0 ;
6139 char * kwnames[] = {
6140 (char *) "self",(char *) "child", NULL
6141 };
6142
6143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6145 if (!SWIG_IsOK(res1)) {
6146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6147 }
6148 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6149 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6150 if (!SWIG_IsOK(res2)) {
6151 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6152 }
6153 arg2 = reinterpret_cast< wxWindow * >(argp2);
6154 {
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6157 wxPyEndAllowThreads(__tstate);
6158 if (PyErr_Occurred()) SWIG_fail;
6159 }
6160 {
6161 resultobj = wxPyMake_wxObject(result, 0);
6162 }
6163 return resultobj;
6164 fail:
6165 return NULL;
6166 }
6167
6168
6169 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj = 0;
6171 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6172 wxWindow *arg2 = (wxWindow *) 0 ;
6173 void *argp1 = 0 ;
6174 int res1 = 0 ;
6175 void *argp2 = 0 ;
6176 int res2 = 0 ;
6177 PyObject * obj0 = 0 ;
6178 PyObject * obj1 = 0 ;
6179 char * kwnames[] = {
6180 (char *) "self",(char *) "win", NULL
6181 };
6182
6183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6185 if (!SWIG_IsOK(res1)) {
6186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6187 }
6188 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6189 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6190 if (!SWIG_IsOK(res2)) {
6191 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6192 }
6193 arg2 = reinterpret_cast< wxWindow * >(argp2);
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 (arg1)->SetTmpDefaultItem(arg2);
6197 wxPyEndAllowThreads(__tstate);
6198 if (PyErr_Occurred()) SWIG_fail;
6199 }
6200 resultobj = SWIG_Py_Void();
6201 return resultobj;
6202 fail:
6203 return NULL;
6204 }
6205
6206
6207 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6208 PyObject *resultobj = 0;
6209 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6210 wxWindow *result = 0 ;
6211 void *argp1 = 0 ;
6212 int res1 = 0 ;
6213 PyObject *swig_obj[1] ;
6214
6215 if (!args) SWIG_fail;
6216 swig_obj[0] = args;
6217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6218 if (!SWIG_IsOK(res1)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6220 }
6221 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6222 {
6223 PyThreadState* __tstate = wxPyBeginAllowThreads();
6224 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6225 wxPyEndAllowThreads(__tstate);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
6228 {
6229 resultobj = wxPyMake_wxObject(result, 0);
6230 }
6231 return resultobj;
6232 fail:
6233 return NULL;
6234 }
6235
6236
6237 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6238 PyObject *obj;
6239 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6240 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6241 return SWIG_Py_Void();
6242 }
6243
6244 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6245 PyObject *resultobj = 0;
6246 wxWindow *arg1 = (wxWindow *) 0 ;
6247 int arg2 = (int) (int)-1 ;
6248 wxString const &arg3_defvalue = wxPyEmptyString ;
6249 wxString *arg3 = (wxString *) &arg3_defvalue ;
6250 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6251 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6252 wxSize const &arg5_defvalue = wxDefaultSize ;
6253 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6254 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6255 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6256 wxString *arg7 = (wxString *) &arg7_defvalue ;
6257 wxFrame *result = 0 ;
6258 void *argp1 = 0 ;
6259 int res1 = 0 ;
6260 int val2 ;
6261 int ecode2 = 0 ;
6262 bool temp3 = false ;
6263 wxPoint temp4 ;
6264 wxSize temp5 ;
6265 long val6 ;
6266 int ecode6 = 0 ;
6267 bool temp7 = false ;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 PyObject * obj2 = 0 ;
6271 PyObject * obj3 = 0 ;
6272 PyObject * obj4 = 0 ;
6273 PyObject * obj5 = 0 ;
6274 PyObject * obj6 = 0 ;
6275 char * kwnames[] = {
6276 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6277 };
6278
6279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6281 if (!SWIG_IsOK(res1)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6283 }
6284 arg1 = reinterpret_cast< wxWindow * >(argp1);
6285 if (obj1) {
6286 ecode2 = SWIG_AsVal_int(obj1, &val2);
6287 if (!SWIG_IsOK(ecode2)) {
6288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6289 }
6290 arg2 = static_cast< int >(val2);
6291 }
6292 if (obj2) {
6293 {
6294 arg3 = wxString_in_helper(obj2);
6295 if (arg3 == NULL) SWIG_fail;
6296 temp3 = true;
6297 }
6298 }
6299 if (obj3) {
6300 {
6301 arg4 = &temp4;
6302 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6303 }
6304 }
6305 if (obj4) {
6306 {
6307 arg5 = &temp5;
6308 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6309 }
6310 }
6311 if (obj5) {
6312 ecode6 = SWIG_AsVal_long(obj5, &val6);
6313 if (!SWIG_IsOK(ecode6)) {
6314 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6315 }
6316 arg6 = static_cast< long >(val6);
6317 }
6318 if (obj6) {
6319 {
6320 arg7 = wxString_in_helper(obj6);
6321 if (arg7 == NULL) SWIG_fail;
6322 temp7 = true;
6323 }
6324 }
6325 {
6326 if (!wxPyCheckForApp()) SWIG_fail;
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
6328 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6333 {
6334 if (temp3)
6335 delete arg3;
6336 }
6337 {
6338 if (temp7)
6339 delete arg7;
6340 }
6341 return resultobj;
6342 fail:
6343 {
6344 if (temp3)
6345 delete arg3;
6346 }
6347 {
6348 if (temp7)
6349 delete arg7;
6350 }
6351 return NULL;
6352 }
6353
6354
6355 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6356 PyObject *resultobj = 0;
6357 wxFrame *result = 0 ;
6358
6359 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6360 {
6361 if (!wxPyCheckForApp()) SWIG_fail;
6362 PyThreadState* __tstate = wxPyBeginAllowThreads();
6363 result = (wxFrame *)new wxFrame();
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
6367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6368 return resultobj;
6369 fail:
6370 return NULL;
6371 }
6372
6373
6374 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6375 PyObject *resultobj = 0;
6376 wxFrame *arg1 = (wxFrame *) 0 ;
6377 wxWindow *arg2 = (wxWindow *) 0 ;
6378 int arg3 = (int) (int)-1 ;
6379 wxString const &arg4_defvalue = wxPyEmptyString ;
6380 wxString *arg4 = (wxString *) &arg4_defvalue ;
6381 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6382 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6383 wxSize const &arg6_defvalue = wxDefaultSize ;
6384 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6385 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6386 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6387 wxString *arg8 = (wxString *) &arg8_defvalue ;
6388 bool result;
6389 void *argp1 = 0 ;
6390 int res1 = 0 ;
6391 void *argp2 = 0 ;
6392 int res2 = 0 ;
6393 int val3 ;
6394 int ecode3 = 0 ;
6395 bool temp4 = false ;
6396 wxPoint temp5 ;
6397 wxSize temp6 ;
6398 long val7 ;
6399 int ecode7 = 0 ;
6400 bool temp8 = false ;
6401 PyObject * obj0 = 0 ;
6402 PyObject * obj1 = 0 ;
6403 PyObject * obj2 = 0 ;
6404 PyObject * obj3 = 0 ;
6405 PyObject * obj4 = 0 ;
6406 PyObject * obj5 = 0 ;
6407 PyObject * obj6 = 0 ;
6408 PyObject * obj7 = 0 ;
6409 char * kwnames[] = {
6410 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6411 };
6412
6413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6415 if (!SWIG_IsOK(res1)) {
6416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6417 }
6418 arg1 = reinterpret_cast< wxFrame * >(argp1);
6419 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6420 if (!SWIG_IsOK(res2)) {
6421 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6422 }
6423 arg2 = reinterpret_cast< wxWindow * >(argp2);
6424 if (obj2) {
6425 ecode3 = SWIG_AsVal_int(obj2, &val3);
6426 if (!SWIG_IsOK(ecode3)) {
6427 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6428 }
6429 arg3 = static_cast< int >(val3);
6430 }
6431 if (obj3) {
6432 {
6433 arg4 = wxString_in_helper(obj3);
6434 if (arg4 == NULL) SWIG_fail;
6435 temp4 = true;
6436 }
6437 }
6438 if (obj4) {
6439 {
6440 arg5 = &temp5;
6441 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6442 }
6443 }
6444 if (obj5) {
6445 {
6446 arg6 = &temp6;
6447 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6448 }
6449 }
6450 if (obj6) {
6451 ecode7 = SWIG_AsVal_long(obj6, &val7);
6452 if (!SWIG_IsOK(ecode7)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6454 }
6455 arg7 = static_cast< long >(val7);
6456 }
6457 if (obj7) {
6458 {
6459 arg8 = wxString_in_helper(obj7);
6460 if (arg8 == NULL) SWIG_fail;
6461 temp8 = true;
6462 }
6463 }
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6467 wxPyEndAllowThreads(__tstate);
6468 if (PyErr_Occurred()) SWIG_fail;
6469 }
6470 {
6471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6472 }
6473 {
6474 if (temp4)
6475 delete arg4;
6476 }
6477 {
6478 if (temp8)
6479 delete arg8;
6480 }
6481 return resultobj;
6482 fail:
6483 {
6484 if (temp4)
6485 delete arg4;
6486 }
6487 {
6488 if (temp8)
6489 delete arg8;
6490 }
6491 return NULL;
6492 }
6493
6494
6495 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6496 PyObject *resultobj = 0;
6497 wxFrame *arg1 = (wxFrame *) 0 ;
6498 void *argp1 = 0 ;
6499 int res1 = 0 ;
6500 PyObject *swig_obj[1] ;
6501
6502 if (!args) SWIG_fail;
6503 swig_obj[0] = args;
6504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6505 if (!SWIG_IsOK(res1)) {
6506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6507 }
6508 arg1 = reinterpret_cast< wxFrame * >(argp1);
6509 {
6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
6511 (arg1)->SendSizeEvent();
6512 wxPyEndAllowThreads(__tstate);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 }
6515 resultobj = SWIG_Py_Void();
6516 return resultobj;
6517 fail:
6518 return NULL;
6519 }
6520
6521
6522 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6523 PyObject *resultobj = 0;
6524 wxFrame *arg1 = (wxFrame *) 0 ;
6525 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6526 void *argp1 = 0 ;
6527 int res1 = 0 ;
6528 void *argp2 = 0 ;
6529 int res2 = 0 ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 char * kwnames[] = {
6533 (char *) "self",(char *) "menubar", NULL
6534 };
6535
6536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6538 if (!SWIG_IsOK(res1)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6540 }
6541 arg1 = reinterpret_cast< wxFrame * >(argp1);
6542 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6543 if (!SWIG_IsOK(res2)) {
6544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6545 }
6546 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 (arg1)->SetMenuBar(arg2);
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
6553 resultobj = SWIG_Py_Void();
6554 return resultobj;
6555 fail:
6556 return NULL;
6557 }
6558
6559
6560 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6561 PyObject *resultobj = 0;
6562 wxFrame *arg1 = (wxFrame *) 0 ;
6563 wxMenuBar *result = 0 ;
6564 void *argp1 = 0 ;
6565 int res1 = 0 ;
6566 PyObject *swig_obj[1] ;
6567
6568 if (!args) SWIG_fail;
6569 swig_obj[0] = args;
6570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6571 if (!SWIG_IsOK(res1)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6573 }
6574 arg1 = reinterpret_cast< wxFrame * >(argp1);
6575 {
6576 PyThreadState* __tstate = wxPyBeginAllowThreads();
6577 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6578 wxPyEndAllowThreads(__tstate);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 }
6581 {
6582 resultobj = wxPyMake_wxObject(result, 0);
6583 }
6584 return resultobj;
6585 fail:
6586 return NULL;
6587 }
6588
6589
6590 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6591 PyObject *resultobj = 0;
6592 wxFrame *arg1 = (wxFrame *) 0 ;
6593 int arg2 ;
6594 bool result;
6595 void *argp1 = 0 ;
6596 int res1 = 0 ;
6597 int val2 ;
6598 int ecode2 = 0 ;
6599 PyObject * obj0 = 0 ;
6600 PyObject * obj1 = 0 ;
6601 char * kwnames[] = {
6602 (char *) "self",(char *) "winid", NULL
6603 };
6604
6605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6607 if (!SWIG_IsOK(res1)) {
6608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6609 }
6610 arg1 = reinterpret_cast< wxFrame * >(argp1);
6611 ecode2 = SWIG_AsVal_int(obj1, &val2);
6612 if (!SWIG_IsOK(ecode2)) {
6613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6614 }
6615 arg2 = static_cast< int >(val2);
6616 {
6617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6618 result = (bool)(arg1)->ProcessCommand(arg2);
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 {
6623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6624 }
6625 return resultobj;
6626 fail:
6627 return NULL;
6628 }
6629
6630
6631 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6632 PyObject *resultobj = 0;
6633 wxFrame *arg1 = (wxFrame *) 0 ;
6634 int arg2 = (int) 1 ;
6635 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6636 int arg4 = (int) 0 ;
6637 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6638 wxString *arg5 = (wxString *) &arg5_defvalue ;
6639 wxStatusBar *result = 0 ;
6640 void *argp1 = 0 ;
6641 int res1 = 0 ;
6642 int val2 ;
6643 int ecode2 = 0 ;
6644 long val3 ;
6645 int ecode3 = 0 ;
6646 int val4 ;
6647 int ecode4 = 0 ;
6648 bool temp5 = false ;
6649 PyObject * obj0 = 0 ;
6650 PyObject * obj1 = 0 ;
6651 PyObject * obj2 = 0 ;
6652 PyObject * obj3 = 0 ;
6653 PyObject * obj4 = 0 ;
6654 char * kwnames[] = {
6655 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6656 };
6657
6658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6660 if (!SWIG_IsOK(res1)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6662 }
6663 arg1 = reinterpret_cast< wxFrame * >(argp1);
6664 if (obj1) {
6665 ecode2 = SWIG_AsVal_int(obj1, &val2);
6666 if (!SWIG_IsOK(ecode2)) {
6667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6668 }
6669 arg2 = static_cast< int >(val2);
6670 }
6671 if (obj2) {
6672 ecode3 = SWIG_AsVal_long(obj2, &val3);
6673 if (!SWIG_IsOK(ecode3)) {
6674 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6675 }
6676 arg3 = static_cast< long >(val3);
6677 }
6678 if (obj3) {
6679 ecode4 = SWIG_AsVal_int(obj3, &val4);
6680 if (!SWIG_IsOK(ecode4)) {
6681 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6682 }
6683 arg4 = static_cast< int >(val4);
6684 }
6685 if (obj4) {
6686 {
6687 arg5 = wxString_in_helper(obj4);
6688 if (arg5 == NULL) SWIG_fail;
6689 temp5 = true;
6690 }
6691 }
6692 {
6693 PyThreadState* __tstate = wxPyBeginAllowThreads();
6694 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 {
6699 resultobj = wxPyMake_wxObject(result, (bool)0);
6700 }
6701 {
6702 if (temp5)
6703 delete arg5;
6704 }
6705 return resultobj;
6706 fail:
6707 {
6708 if (temp5)
6709 delete arg5;
6710 }
6711 return NULL;
6712 }
6713
6714
6715 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6716 PyObject *resultobj = 0;
6717 wxFrame *arg1 = (wxFrame *) 0 ;
6718 wxStatusBar *result = 0 ;
6719 void *argp1 = 0 ;
6720 int res1 = 0 ;
6721 PyObject *swig_obj[1] ;
6722
6723 if (!args) SWIG_fail;
6724 swig_obj[0] = args;
6725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6726 if (!SWIG_IsOK(res1)) {
6727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6728 }
6729 arg1 = reinterpret_cast< wxFrame * >(argp1);
6730 {
6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
6732 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6733 wxPyEndAllowThreads(__tstate);
6734 if (PyErr_Occurred()) SWIG_fail;
6735 }
6736 {
6737 resultobj = wxPyMake_wxObject(result, (bool)0);
6738 }
6739 return resultobj;
6740 fail:
6741 return NULL;
6742 }
6743
6744
6745 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6746 PyObject *resultobj = 0;
6747 wxFrame *arg1 = (wxFrame *) 0 ;
6748 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6749 void *argp1 = 0 ;
6750 int res1 = 0 ;
6751 void *argp2 = 0 ;
6752 int res2 = 0 ;
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 char * kwnames[] = {
6756 (char *) "self",(char *) "statBar", NULL
6757 };
6758
6759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6761 if (!SWIG_IsOK(res1)) {
6762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6763 }
6764 arg1 = reinterpret_cast< wxFrame * >(argp1);
6765 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6766 if (!SWIG_IsOK(res2)) {
6767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6768 }
6769 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6770 {
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 (arg1)->SetStatusBar(arg2);
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 resultobj = SWIG_Py_Void();
6777 return resultobj;
6778 fail:
6779 return NULL;
6780 }
6781
6782
6783 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj = 0;
6785 wxFrame *arg1 = (wxFrame *) 0 ;
6786 wxString *arg2 = 0 ;
6787 int arg3 = (int) 0 ;
6788 void *argp1 = 0 ;
6789 int res1 = 0 ;
6790 bool temp2 = false ;
6791 int val3 ;
6792 int ecode3 = 0 ;
6793 PyObject * obj0 = 0 ;
6794 PyObject * obj1 = 0 ;
6795 PyObject * obj2 = 0 ;
6796 char * kwnames[] = {
6797 (char *) "self",(char *) "text",(char *) "number", NULL
6798 };
6799
6800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6802 if (!SWIG_IsOK(res1)) {
6803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6804 }
6805 arg1 = reinterpret_cast< wxFrame * >(argp1);
6806 {
6807 arg2 = wxString_in_helper(obj1);
6808 if (arg2 == NULL) SWIG_fail;
6809 temp2 = true;
6810 }
6811 if (obj2) {
6812 ecode3 = SWIG_AsVal_int(obj2, &val3);
6813 if (!SWIG_IsOK(ecode3)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6815 }
6816 arg3 = static_cast< int >(val3);
6817 }
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6821 wxPyEndAllowThreads(__tstate);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 }
6824 resultobj = SWIG_Py_Void();
6825 {
6826 if (temp2)
6827 delete arg2;
6828 }
6829 return resultobj;
6830 fail:
6831 {
6832 if (temp2)
6833 delete arg2;
6834 }
6835 return NULL;
6836 }
6837
6838
6839 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6840 PyObject *resultobj = 0;
6841 wxFrame *arg1 = (wxFrame *) 0 ;
6842 int arg2 ;
6843 int *arg3 = (int *) 0 ;
6844 void *argp1 = 0 ;
6845 int res1 = 0 ;
6846 PyObject * obj0 = 0 ;
6847 PyObject * obj1 = 0 ;
6848 char * kwnames[] = {
6849 (char *) "self",(char *) "widths", NULL
6850 };
6851
6852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6854 if (!SWIG_IsOK(res1)) {
6855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6856 }
6857 arg1 = reinterpret_cast< wxFrame * >(argp1);
6858 {
6859 arg2 = PyList_Size(obj1);
6860 arg3 = int_LIST_helper(obj1);
6861 if (arg3 == NULL) SWIG_fail;
6862 }
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 resultobj = SWIG_Py_Void();
6870 {
6871 if (arg3) delete [] arg3;
6872 }
6873 return resultobj;
6874 fail:
6875 {
6876 if (arg3) delete [] arg3;
6877 }
6878 return NULL;
6879 }
6880
6881
6882 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6883 PyObject *resultobj = 0;
6884 wxFrame *arg1 = (wxFrame *) 0 ;
6885 wxString *arg2 = 0 ;
6886 int arg3 = (int) 0 ;
6887 void *argp1 = 0 ;
6888 int res1 = 0 ;
6889 bool temp2 = false ;
6890 int val3 ;
6891 int ecode3 = 0 ;
6892 PyObject * obj0 = 0 ;
6893 PyObject * obj1 = 0 ;
6894 PyObject * obj2 = 0 ;
6895 char * kwnames[] = {
6896 (char *) "self",(char *) "text",(char *) "number", NULL
6897 };
6898
6899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6901 if (!SWIG_IsOK(res1)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6903 }
6904 arg1 = reinterpret_cast< wxFrame * >(argp1);
6905 {
6906 arg2 = wxString_in_helper(obj1);
6907 if (arg2 == NULL) SWIG_fail;
6908 temp2 = true;
6909 }
6910 if (obj2) {
6911 ecode3 = SWIG_AsVal_int(obj2, &val3);
6912 if (!SWIG_IsOK(ecode3)) {
6913 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6914 }
6915 arg3 = static_cast< int >(val3);
6916 }
6917 {
6918 PyThreadState* __tstate = wxPyBeginAllowThreads();
6919 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6920 wxPyEndAllowThreads(__tstate);
6921 if (PyErr_Occurred()) SWIG_fail;
6922 }
6923 resultobj = SWIG_Py_Void();
6924 {
6925 if (temp2)
6926 delete arg2;
6927 }
6928 return resultobj;
6929 fail:
6930 {
6931 if (temp2)
6932 delete arg2;
6933 }
6934 return NULL;
6935 }
6936
6937
6938 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6939 PyObject *resultobj = 0;
6940 wxFrame *arg1 = (wxFrame *) 0 ;
6941 int arg2 = (int) 0 ;
6942 void *argp1 = 0 ;
6943 int res1 = 0 ;
6944 int val2 ;
6945 int ecode2 = 0 ;
6946 PyObject * obj0 = 0 ;
6947 PyObject * obj1 = 0 ;
6948 char * kwnames[] = {
6949 (char *) "self",(char *) "number", NULL
6950 };
6951
6952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6954 if (!SWIG_IsOK(res1)) {
6955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6956 }
6957 arg1 = reinterpret_cast< wxFrame * >(argp1);
6958 if (obj1) {
6959 ecode2 = SWIG_AsVal_int(obj1, &val2);
6960 if (!SWIG_IsOK(ecode2)) {
6961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6962 }
6963 arg2 = static_cast< int >(val2);
6964 }
6965 {
6966 PyThreadState* __tstate = wxPyBeginAllowThreads();
6967 (arg1)->PopStatusText(arg2);
6968 wxPyEndAllowThreads(__tstate);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 resultobj = SWIG_Py_Void();
6972 return resultobj;
6973 fail:
6974 return NULL;
6975 }
6976
6977
6978 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6979 PyObject *resultobj = 0;
6980 wxFrame *arg1 = (wxFrame *) 0 ;
6981 int arg2 ;
6982 void *argp1 = 0 ;
6983 int res1 = 0 ;
6984 int val2 ;
6985 int ecode2 = 0 ;
6986 PyObject * obj0 = 0 ;
6987 PyObject * obj1 = 0 ;
6988 char * kwnames[] = {
6989 (char *) "self",(char *) "n", NULL
6990 };
6991
6992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6994 if (!SWIG_IsOK(res1)) {
6995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6996 }
6997 arg1 = reinterpret_cast< wxFrame * >(argp1);
6998 ecode2 = SWIG_AsVal_int(obj1, &val2);
6999 if (!SWIG_IsOK(ecode2)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7001 }
7002 arg2 = static_cast< int >(val2);
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->SetStatusBarPane(arg2);
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 resultobj = SWIG_Py_Void();
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7017 PyObject *resultobj = 0;
7018 wxFrame *arg1 = (wxFrame *) 0 ;
7019 int result;
7020 void *argp1 = 0 ;
7021 int res1 = 0 ;
7022 PyObject *swig_obj[1] ;
7023
7024 if (!args) SWIG_fail;
7025 swig_obj[0] = args;
7026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7027 if (!SWIG_IsOK(res1)) {
7028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7029 }
7030 arg1 = reinterpret_cast< wxFrame * >(argp1);
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 resultobj = SWIG_From_int(static_cast< int >(result));
7038 return resultobj;
7039 fail:
7040 return NULL;
7041 }
7042
7043
7044 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj = 0;
7046 wxFrame *arg1 = (wxFrame *) 0 ;
7047 long arg2 = (long) -1 ;
7048 int arg3 = (int) -1 ;
7049 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7050 wxString *arg4 = (wxString *) &arg4_defvalue ;
7051 wxToolBar *result = 0 ;
7052 void *argp1 = 0 ;
7053 int res1 = 0 ;
7054 long val2 ;
7055 int ecode2 = 0 ;
7056 int val3 ;
7057 int ecode3 = 0 ;
7058 bool temp4 = false ;
7059 PyObject * obj0 = 0 ;
7060 PyObject * obj1 = 0 ;
7061 PyObject * obj2 = 0 ;
7062 PyObject * obj3 = 0 ;
7063 char * kwnames[] = {
7064 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7065 };
7066
7067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7069 if (!SWIG_IsOK(res1)) {
7070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7071 }
7072 arg1 = reinterpret_cast< wxFrame * >(argp1);
7073 if (obj1) {
7074 ecode2 = SWIG_AsVal_long(obj1, &val2);
7075 if (!SWIG_IsOK(ecode2)) {
7076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7077 }
7078 arg2 = static_cast< long >(val2);
7079 }
7080 if (obj2) {
7081 ecode3 = SWIG_AsVal_int(obj2, &val3);
7082 if (!SWIG_IsOK(ecode3)) {
7083 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7084 }
7085 arg3 = static_cast< int >(val3);
7086 }
7087 if (obj3) {
7088 {
7089 arg4 = wxString_in_helper(obj3);
7090 if (arg4 == NULL) SWIG_fail;
7091 temp4 = true;
7092 }
7093 }
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7097 wxPyEndAllowThreads(__tstate);
7098 if (PyErr_Occurred()) SWIG_fail;
7099 }
7100 {
7101 resultobj = wxPyMake_wxObject(result, (bool)0);
7102 }
7103 {
7104 if (temp4)
7105 delete arg4;
7106 }
7107 return resultobj;
7108 fail:
7109 {
7110 if (temp4)
7111 delete arg4;
7112 }
7113 return NULL;
7114 }
7115
7116
7117 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7118 PyObject *resultobj = 0;
7119 wxFrame *arg1 = (wxFrame *) 0 ;
7120 wxToolBar *result = 0 ;
7121 void *argp1 = 0 ;
7122 int res1 = 0 ;
7123 PyObject *swig_obj[1] ;
7124
7125 if (!args) SWIG_fail;
7126 swig_obj[0] = args;
7127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7128 if (!SWIG_IsOK(res1)) {
7129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7130 }
7131 arg1 = reinterpret_cast< wxFrame * >(argp1);
7132 {
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
7138 {
7139 resultobj = wxPyMake_wxObject(result, (bool)0);
7140 }
7141 return resultobj;
7142 fail:
7143 return NULL;
7144 }
7145
7146
7147 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7148 PyObject *resultobj = 0;
7149 wxFrame *arg1 = (wxFrame *) 0 ;
7150 wxToolBar *arg2 = (wxToolBar *) 0 ;
7151 void *argp1 = 0 ;
7152 int res1 = 0 ;
7153 void *argp2 = 0 ;
7154 int res2 = 0 ;
7155 PyObject * obj0 = 0 ;
7156 PyObject * obj1 = 0 ;
7157 char * kwnames[] = {
7158 (char *) "self",(char *) "toolbar", NULL
7159 };
7160
7161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7163 if (!SWIG_IsOK(res1)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7165 }
7166 arg1 = reinterpret_cast< wxFrame * >(argp1);
7167 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7168 if (!SWIG_IsOK(res2)) {
7169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7170 }
7171 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 (arg1)->SetToolBar(arg2);
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 resultobj = SWIG_Py_Void();
7179 return resultobj;
7180 fail:
7181 return NULL;
7182 }
7183
7184
7185 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7186 PyObject *resultobj = 0;
7187 wxFrame *arg1 = (wxFrame *) 0 ;
7188 wxString *arg2 = 0 ;
7189 bool arg3 ;
7190 void *argp1 = 0 ;
7191 int res1 = 0 ;
7192 bool temp2 = false ;
7193 bool val3 ;
7194 int ecode3 = 0 ;
7195 PyObject * obj0 = 0 ;
7196 PyObject * obj1 = 0 ;
7197 PyObject * obj2 = 0 ;
7198 char * kwnames[] = {
7199 (char *) "self",(char *) "text",(char *) "show", NULL
7200 };
7201
7202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7204 if (!SWIG_IsOK(res1)) {
7205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7206 }
7207 arg1 = reinterpret_cast< wxFrame * >(argp1);
7208 {
7209 arg2 = wxString_in_helper(obj1);
7210 if (arg2 == NULL) SWIG_fail;
7211 temp2 = true;
7212 }
7213 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7214 if (!SWIG_IsOK(ecode3)) {
7215 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7216 }
7217 arg3 = static_cast< bool >(val3);
7218 {
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7221 wxPyEndAllowThreads(__tstate);
7222 if (PyErr_Occurred()) SWIG_fail;
7223 }
7224 resultobj = SWIG_Py_Void();
7225 {
7226 if (temp2)
7227 delete arg2;
7228 }
7229 return resultobj;
7230 fail:
7231 {
7232 if (temp2)
7233 delete arg2;
7234 }
7235 return NULL;
7236 }
7237
7238
7239 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj = 0;
7241 wxFrame *arg1 = (wxFrame *) 0 ;
7242 wxMenu *arg2 = (wxMenu *) NULL ;
7243 void *argp1 = 0 ;
7244 int res1 = 0 ;
7245 void *argp2 = 0 ;
7246 int res2 = 0 ;
7247 PyObject * obj0 = 0 ;
7248 PyObject * obj1 = 0 ;
7249 char * kwnames[] = {
7250 (char *) "self",(char *) "menu", NULL
7251 };
7252
7253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7255 if (!SWIG_IsOK(res1)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7257 }
7258 arg1 = reinterpret_cast< wxFrame * >(argp1);
7259 if (obj1) {
7260 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7261 if (!SWIG_IsOK(res2)) {
7262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7263 }
7264 arg2 = reinterpret_cast< wxMenu * >(argp2);
7265 }
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 (arg1)->DoMenuUpdates(arg2);
7269 wxPyEndAllowThreads(__tstate);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 resultobj = SWIG_Py_Void();
7273 return resultobj;
7274 fail:
7275 return NULL;
7276 }
7277
7278
7279 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7280 PyObject *resultobj = 0;
7281 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7282 SwigValueWrapper<wxVisualAttributes > result;
7283 int val1 ;
7284 int ecode1 = 0 ;
7285 PyObject * obj0 = 0 ;
7286 char * kwnames[] = {
7287 (char *) "variant", NULL
7288 };
7289
7290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7291 if (obj0) {
7292 ecode1 = SWIG_AsVal_int(obj0, &val1);
7293 if (!SWIG_IsOK(ecode1)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7295 }
7296 arg1 = static_cast< wxWindowVariant >(val1);
7297 }
7298 {
7299 if (!wxPyCheckForApp()) SWIG_fail;
7300 PyThreadState* __tstate = wxPyBeginAllowThreads();
7301 result = wxFrame::GetClassDefaultAttributes(arg1);
7302 wxPyEndAllowThreads(__tstate);
7303 if (PyErr_Occurred()) SWIG_fail;
7304 }
7305 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7306 return resultobj;
7307 fail:
7308 return NULL;
7309 }
7310
7311
7312 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7313 PyObject *obj;
7314 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7315 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7316 return SWIG_Py_Void();
7317 }
7318
7319 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7320 return SWIG_Python_InitShadowInstance(args);
7321 }
7322
7323 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj = 0;
7325 wxWindow *arg1 = (wxWindow *) 0 ;
7326 int arg2 = (int) (int)-1 ;
7327 wxString const &arg3_defvalue = wxPyEmptyString ;
7328 wxString *arg3 = (wxString *) &arg3_defvalue ;
7329 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7330 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7331 wxSize const &arg5_defvalue = wxDefaultSize ;
7332 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7333 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7334 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7335 wxString *arg7 = (wxString *) &arg7_defvalue ;
7336 wxDialog *result = 0 ;
7337 void *argp1 = 0 ;
7338 int res1 = 0 ;
7339 int val2 ;
7340 int ecode2 = 0 ;
7341 bool temp3 = false ;
7342 wxPoint temp4 ;
7343 wxSize temp5 ;
7344 long val6 ;
7345 int ecode6 = 0 ;
7346 bool temp7 = false ;
7347 PyObject * obj0 = 0 ;
7348 PyObject * obj1 = 0 ;
7349 PyObject * obj2 = 0 ;
7350 PyObject * obj3 = 0 ;
7351 PyObject * obj4 = 0 ;
7352 PyObject * obj5 = 0 ;
7353 PyObject * obj6 = 0 ;
7354 char * kwnames[] = {
7355 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7356 };
7357
7358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7360 if (!SWIG_IsOK(res1)) {
7361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7362 }
7363 arg1 = reinterpret_cast< wxWindow * >(argp1);
7364 if (obj1) {
7365 ecode2 = SWIG_AsVal_int(obj1, &val2);
7366 if (!SWIG_IsOK(ecode2)) {
7367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7368 }
7369 arg2 = static_cast< int >(val2);
7370 }
7371 if (obj2) {
7372 {
7373 arg3 = wxString_in_helper(obj2);
7374 if (arg3 == NULL) SWIG_fail;
7375 temp3 = true;
7376 }
7377 }
7378 if (obj3) {
7379 {
7380 arg4 = &temp4;
7381 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7382 }
7383 }
7384 if (obj4) {
7385 {
7386 arg5 = &temp5;
7387 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7388 }
7389 }
7390 if (obj5) {
7391 ecode6 = SWIG_AsVal_long(obj5, &val6);
7392 if (!SWIG_IsOK(ecode6)) {
7393 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7394 }
7395 arg6 = static_cast< long >(val6);
7396 }
7397 if (obj6) {
7398 {
7399 arg7 = wxString_in_helper(obj6);
7400 if (arg7 == NULL) SWIG_fail;
7401 temp7 = true;
7402 }
7403 }
7404 {
7405 if (!wxPyCheckForApp()) SWIG_fail;
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7412 {
7413 if (temp3)
7414 delete arg3;
7415 }
7416 {
7417 if (temp7)
7418 delete arg7;
7419 }
7420 return resultobj;
7421 fail:
7422 {
7423 if (temp3)
7424 delete arg3;
7425 }
7426 {
7427 if (temp7)
7428 delete arg7;
7429 }
7430 return NULL;
7431 }
7432
7433
7434 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7435 PyObject *resultobj = 0;
7436 wxDialog *result = 0 ;
7437
7438 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7439 {
7440 if (!wxPyCheckForApp()) SWIG_fail;
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 result = (wxDialog *)new wxDialog();
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7447 return resultobj;
7448 fail:
7449 return NULL;
7450 }
7451
7452
7453 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj = 0;
7455 wxDialog *arg1 = (wxDialog *) 0 ;
7456 wxWindow *arg2 = (wxWindow *) 0 ;
7457 int arg3 = (int) (int)-1 ;
7458 wxString const &arg4_defvalue = wxPyEmptyString ;
7459 wxString *arg4 = (wxString *) &arg4_defvalue ;
7460 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7461 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7462 wxSize const &arg6_defvalue = wxDefaultSize ;
7463 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7464 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7465 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7466 wxString *arg8 = (wxString *) &arg8_defvalue ;
7467 bool result;
7468 void *argp1 = 0 ;
7469 int res1 = 0 ;
7470 void *argp2 = 0 ;
7471 int res2 = 0 ;
7472 int val3 ;
7473 int ecode3 = 0 ;
7474 bool temp4 = false ;
7475 wxPoint temp5 ;
7476 wxSize temp6 ;
7477 long val7 ;
7478 int ecode7 = 0 ;
7479 bool temp8 = false ;
7480 PyObject * obj0 = 0 ;
7481 PyObject * obj1 = 0 ;
7482 PyObject * obj2 = 0 ;
7483 PyObject * obj3 = 0 ;
7484 PyObject * obj4 = 0 ;
7485 PyObject * obj5 = 0 ;
7486 PyObject * obj6 = 0 ;
7487 PyObject * obj7 = 0 ;
7488 char * kwnames[] = {
7489 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7490 };
7491
7492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7494 if (!SWIG_IsOK(res1)) {
7495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7496 }
7497 arg1 = reinterpret_cast< wxDialog * >(argp1);
7498 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7499 if (!SWIG_IsOK(res2)) {
7500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7501 }
7502 arg2 = reinterpret_cast< wxWindow * >(argp2);
7503 if (obj2) {
7504 ecode3 = SWIG_AsVal_int(obj2, &val3);
7505 if (!SWIG_IsOK(ecode3)) {
7506 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7507 }
7508 arg3 = static_cast< int >(val3);
7509 }
7510 if (obj3) {
7511 {
7512 arg4 = wxString_in_helper(obj3);
7513 if (arg4 == NULL) SWIG_fail;
7514 temp4 = true;
7515 }
7516 }
7517 if (obj4) {
7518 {
7519 arg5 = &temp5;
7520 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7521 }
7522 }
7523 if (obj5) {
7524 {
7525 arg6 = &temp6;
7526 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7527 }
7528 }
7529 if (obj6) {
7530 ecode7 = SWIG_AsVal_long(obj6, &val7);
7531 if (!SWIG_IsOK(ecode7)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7533 }
7534 arg7 = static_cast< long >(val7);
7535 }
7536 if (obj7) {
7537 {
7538 arg8 = wxString_in_helper(obj7);
7539 if (arg8 == NULL) SWIG_fail;
7540 temp8 = true;
7541 }
7542 }
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 {
7550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7551 }
7552 {
7553 if (temp4)
7554 delete arg4;
7555 }
7556 {
7557 if (temp8)
7558 delete arg8;
7559 }
7560 return resultobj;
7561 fail:
7562 {
7563 if (temp4)
7564 delete arg4;
7565 }
7566 {
7567 if (temp8)
7568 delete arg8;
7569 }
7570 return NULL;
7571 }
7572
7573
7574 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7575 PyObject *resultobj = 0;
7576 wxDialog *arg1 = (wxDialog *) 0 ;
7577 int arg2 ;
7578 void *argp1 = 0 ;
7579 int res1 = 0 ;
7580 int val2 ;
7581 int ecode2 = 0 ;
7582 PyObject * obj0 = 0 ;
7583 PyObject * obj1 = 0 ;
7584 char * kwnames[] = {
7585 (char *) "self",(char *) "returnCode", NULL
7586 };
7587
7588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7590 if (!SWIG_IsOK(res1)) {
7591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7592 }
7593 arg1 = reinterpret_cast< wxDialog * >(argp1);
7594 ecode2 = SWIG_AsVal_int(obj1, &val2);
7595 if (!SWIG_IsOK(ecode2)) {
7596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7597 }
7598 arg2 = static_cast< int >(val2);
7599 {
7600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7601 (arg1)->SetReturnCode(arg2);
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 resultobj = SWIG_Py_Void();
7606 return resultobj;
7607 fail:
7608 return NULL;
7609 }
7610
7611
7612 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7613 PyObject *resultobj = 0;
7614 wxDialog *arg1 = (wxDialog *) 0 ;
7615 int result;
7616 void *argp1 = 0 ;
7617 int res1 = 0 ;
7618 PyObject *swig_obj[1] ;
7619
7620 if (!args) SWIG_fail;
7621 swig_obj[0] = args;
7622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7623 if (!SWIG_IsOK(res1)) {
7624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7625 }
7626 arg1 = reinterpret_cast< wxDialog * >(argp1);
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 resultobj = SWIG_From_int(static_cast< int >(result));
7634 return resultobj;
7635 fail:
7636 return NULL;
7637 }
7638
7639
7640 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7641 PyObject *resultobj = 0;
7642 wxDialog *arg1 = (wxDialog *) 0 ;
7643 int arg2 ;
7644 void *argp1 = 0 ;
7645 int res1 = 0 ;
7646 int val2 ;
7647 int ecode2 = 0 ;
7648 PyObject * obj0 = 0 ;
7649 PyObject * obj1 = 0 ;
7650 char * kwnames[] = {
7651 (char *) "self",(char *) "affirmativeId", NULL
7652 };
7653
7654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7656 if (!SWIG_IsOK(res1)) {
7657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7658 }
7659 arg1 = reinterpret_cast< wxDialog * >(argp1);
7660 ecode2 = SWIG_AsVal_int(obj1, &val2);
7661 if (!SWIG_IsOK(ecode2)) {
7662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7663 }
7664 arg2 = static_cast< int >(val2);
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 (arg1)->SetAffirmativeId(arg2);
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
7671 resultobj = SWIG_Py_Void();
7672 return resultobj;
7673 fail:
7674 return NULL;
7675 }
7676
7677
7678 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7679 PyObject *resultobj = 0;
7680 wxDialog *arg1 = (wxDialog *) 0 ;
7681 int result;
7682 void *argp1 = 0 ;
7683 int res1 = 0 ;
7684 PyObject *swig_obj[1] ;
7685
7686 if (!args) SWIG_fail;
7687 swig_obj[0] = args;
7688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7689 if (!SWIG_IsOK(res1)) {
7690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7691 }
7692 arg1 = reinterpret_cast< wxDialog * >(argp1);
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7696 wxPyEndAllowThreads(__tstate);
7697 if (PyErr_Occurred()) SWIG_fail;
7698 }
7699 resultobj = SWIG_From_int(static_cast< int >(result));
7700 return resultobj;
7701 fail:
7702 return NULL;
7703 }
7704
7705
7706 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7707 PyObject *resultobj = 0;
7708 wxDialog *arg1 = (wxDialog *) 0 ;
7709 int arg2 ;
7710 void *argp1 = 0 ;
7711 int res1 = 0 ;
7712 int val2 ;
7713 int ecode2 = 0 ;
7714 PyObject * obj0 = 0 ;
7715 PyObject * obj1 = 0 ;
7716 char * kwnames[] = {
7717 (char *) "self",(char *) "escapeId", NULL
7718 };
7719
7720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7722 if (!SWIG_IsOK(res1)) {
7723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7724 }
7725 arg1 = reinterpret_cast< wxDialog * >(argp1);
7726 ecode2 = SWIG_AsVal_int(obj1, &val2);
7727 if (!SWIG_IsOK(ecode2)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7729 }
7730 arg2 = static_cast< int >(val2);
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 (arg1)->SetEscapeId(arg2);
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 resultobj = SWIG_Py_Void();
7738 return resultobj;
7739 fail:
7740 return NULL;
7741 }
7742
7743
7744 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7745 PyObject *resultobj = 0;
7746 wxDialog *arg1 = (wxDialog *) 0 ;
7747 int result;
7748 void *argp1 = 0 ;
7749 int res1 = 0 ;
7750 PyObject *swig_obj[1] ;
7751
7752 if (!args) SWIG_fail;
7753 swig_obj[0] = args;
7754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7755 if (!SWIG_IsOK(res1)) {
7756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7757 }
7758 arg1 = reinterpret_cast< wxDialog * >(argp1);
7759 {
7760 PyThreadState* __tstate = wxPyBeginAllowThreads();
7761 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
7765 resultobj = SWIG_From_int(static_cast< int >(result));
7766 return resultobj;
7767 fail:
7768 return NULL;
7769 }
7770
7771
7772 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj = 0;
7774 wxDialog *arg1 = (wxDialog *) 0 ;
7775 wxString *arg2 = 0 ;
7776 wxSizer *result = 0 ;
7777 void *argp1 = 0 ;
7778 int res1 = 0 ;
7779 bool temp2 = false ;
7780 PyObject * obj0 = 0 ;
7781 PyObject * obj1 = 0 ;
7782 char * kwnames[] = {
7783 (char *) "self",(char *) "message", NULL
7784 };
7785
7786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7788 if (!SWIG_IsOK(res1)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7790 }
7791 arg1 = reinterpret_cast< wxDialog * >(argp1);
7792 {
7793 arg2 = wxString_in_helper(obj1);
7794 if (arg2 == NULL) SWIG_fail;
7795 temp2 = true;
7796 }
7797 {
7798 PyThreadState* __tstate = wxPyBeginAllowThreads();
7799 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7800 wxPyEndAllowThreads(__tstate);
7801 if (PyErr_Occurred()) SWIG_fail;
7802 }
7803 {
7804 resultobj = wxPyMake_wxObject(result, (bool)0);
7805 }
7806 {
7807 if (temp2)
7808 delete arg2;
7809 }
7810 return resultobj;
7811 fail:
7812 {
7813 if (temp2)
7814 delete arg2;
7815 }
7816 return NULL;
7817 }
7818
7819
7820 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7821 PyObject *resultobj = 0;
7822 wxDialog *arg1 = (wxDialog *) 0 ;
7823 long arg2 ;
7824 wxSizer *result = 0 ;
7825 void *argp1 = 0 ;
7826 int res1 = 0 ;
7827 long val2 ;
7828 int ecode2 = 0 ;
7829 PyObject * obj0 = 0 ;
7830 PyObject * obj1 = 0 ;
7831 char * kwnames[] = {
7832 (char *) "self",(char *) "flags", NULL
7833 };
7834
7835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7837 if (!SWIG_IsOK(res1)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7839 }
7840 arg1 = reinterpret_cast< wxDialog * >(argp1);
7841 ecode2 = SWIG_AsVal_long(obj1, &val2);
7842 if (!SWIG_IsOK(ecode2)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7844 }
7845 arg2 = static_cast< long >(val2);
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7849 wxPyEndAllowThreads(__tstate);
7850 if (PyErr_Occurred()) SWIG_fail;
7851 }
7852 {
7853 resultobj = wxPyMake_wxObject(result, (bool)0);
7854 }
7855 return resultobj;
7856 fail:
7857 return NULL;
7858 }
7859
7860
7861 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7862 PyObject *resultobj = 0;
7863 wxDialog *arg1 = (wxDialog *) 0 ;
7864 long arg2 ;
7865 wxSizer *result = 0 ;
7866 void *argp1 = 0 ;
7867 int res1 = 0 ;
7868 long val2 ;
7869 int ecode2 = 0 ;
7870 PyObject * obj0 = 0 ;
7871 PyObject * obj1 = 0 ;
7872 char * kwnames[] = {
7873 (char *) "self",(char *) "flags", NULL
7874 };
7875
7876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7878 if (!SWIG_IsOK(res1)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7880 }
7881 arg1 = reinterpret_cast< wxDialog * >(argp1);
7882 ecode2 = SWIG_AsVal_long(obj1, &val2);
7883 if (!SWIG_IsOK(ecode2)) {
7884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7885 }
7886 arg2 = static_cast< long >(val2);
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7890 wxPyEndAllowThreads(__tstate);
7891 if (PyErr_Occurred()) SWIG_fail;
7892 }
7893 {
7894 resultobj = wxPyMake_wxObject(result, (bool)0);
7895 }
7896 return resultobj;
7897 fail:
7898 return NULL;
7899 }
7900
7901
7902 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj = 0;
7904 wxDialog *arg1 = (wxDialog *) 0 ;
7905 long arg2 ;
7906 wxStdDialogButtonSizer *result = 0 ;
7907 void *argp1 = 0 ;
7908 int res1 = 0 ;
7909 long val2 ;
7910 int ecode2 = 0 ;
7911 PyObject * obj0 = 0 ;
7912 PyObject * obj1 = 0 ;
7913 char * kwnames[] = {
7914 (char *) "self",(char *) "flags", NULL
7915 };
7916
7917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7919 if (!SWIG_IsOK(res1)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7921 }
7922 arg1 = reinterpret_cast< wxDialog * >(argp1);
7923 ecode2 = SWIG_AsVal_long(obj1, &val2);
7924 if (!SWIG_IsOK(ecode2)) {
7925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7926 }
7927 arg2 = static_cast< long >(val2);
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
7934 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7935 return resultobj;
7936 fail:
7937 return NULL;
7938 }
7939
7940
7941 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7942 PyObject *resultobj = 0;
7943 wxDialog *arg1 = (wxDialog *) 0 ;
7944 bool result;
7945 void *argp1 = 0 ;
7946 int res1 = 0 ;
7947 PyObject *swig_obj[1] ;
7948
7949 if (!args) SWIG_fail;
7950 swig_obj[0] = args;
7951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7952 if (!SWIG_IsOK(res1)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7954 }
7955 arg1 = reinterpret_cast< wxDialog * >(argp1);
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 result = (bool)((wxDialog const *)arg1)->IsModal();
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 {
7963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7964 }
7965 return resultobj;
7966 fail:
7967 return NULL;
7968 }
7969
7970
7971 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7972 PyObject *resultobj = 0;
7973 wxDialog *arg1 = (wxDialog *) 0 ;
7974 int result;
7975 void *argp1 = 0 ;
7976 int res1 = 0 ;
7977 PyObject *swig_obj[1] ;
7978
7979 if (!args) SWIG_fail;
7980 swig_obj[0] = args;
7981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7982 if (!SWIG_IsOK(res1)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7984 }
7985 arg1 = reinterpret_cast< wxDialog * >(argp1);
7986 {
7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
7988 result = (int)(arg1)->ShowModal();
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 resultobj = SWIG_From_int(static_cast< int >(result));
7993 return resultobj;
7994 fail:
7995 return NULL;
7996 }
7997
7998
7999 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8000 PyObject *resultobj = 0;
8001 wxDialog *arg1 = (wxDialog *) 0 ;
8002 int arg2 ;
8003 void *argp1 = 0 ;
8004 int res1 = 0 ;
8005 int val2 ;
8006 int ecode2 = 0 ;
8007 PyObject * obj0 = 0 ;
8008 PyObject * obj1 = 0 ;
8009 char * kwnames[] = {
8010 (char *) "self",(char *) "retCode", NULL
8011 };
8012
8013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8015 if (!SWIG_IsOK(res1)) {
8016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8017 }
8018 arg1 = reinterpret_cast< wxDialog * >(argp1);
8019 ecode2 = SWIG_AsVal_int(obj1, &val2);
8020 if (!SWIG_IsOK(ecode2)) {
8021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8022 }
8023 arg2 = static_cast< int >(val2);
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 (arg1)->EndModal(arg2);
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 resultobj = SWIG_Py_Void();
8031 return resultobj;
8032 fail:
8033 return NULL;
8034 }
8035
8036
8037 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj = 0;
8039 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8040 SwigValueWrapper<wxVisualAttributes > result;
8041 int val1 ;
8042 int ecode1 = 0 ;
8043 PyObject * obj0 = 0 ;
8044 char * kwnames[] = {
8045 (char *) "variant", NULL
8046 };
8047
8048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8049 if (obj0) {
8050 ecode1 = SWIG_AsVal_int(obj0, &val1);
8051 if (!SWIG_IsOK(ecode1)) {
8052 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8053 }
8054 arg1 = static_cast< wxWindowVariant >(val1);
8055 }
8056 {
8057 if (!wxPyCheckForApp()) SWIG_fail;
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 result = wxDialog::GetClassDefaultAttributes(arg1);
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8064 return resultobj;
8065 fail:
8066 return NULL;
8067 }
8068
8069
8070 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8071 PyObject *obj;
8072 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8073 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8074 return SWIG_Py_Void();
8075 }
8076
8077 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8078 return SWIG_Python_InitShadowInstance(args);
8079 }
8080
8081 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8082 PyObject *resultobj = 0;
8083 wxWindow *arg1 = (wxWindow *) 0 ;
8084 int arg2 = (int) (int)-1 ;
8085 wxString const &arg3_defvalue = wxPyEmptyString ;
8086 wxString *arg3 = (wxString *) &arg3_defvalue ;
8087 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8088 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8089 wxSize const &arg5_defvalue = wxDefaultSize ;
8090 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8091 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8092 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8093 wxString *arg7 = (wxString *) &arg7_defvalue ;
8094 wxMiniFrame *result = 0 ;
8095 void *argp1 = 0 ;
8096 int res1 = 0 ;
8097 int val2 ;
8098 int ecode2 = 0 ;
8099 bool temp3 = false ;
8100 wxPoint temp4 ;
8101 wxSize temp5 ;
8102 long val6 ;
8103 int ecode6 = 0 ;
8104 bool temp7 = false ;
8105 PyObject * obj0 = 0 ;
8106 PyObject * obj1 = 0 ;
8107 PyObject * obj2 = 0 ;
8108 PyObject * obj3 = 0 ;
8109 PyObject * obj4 = 0 ;
8110 PyObject * obj5 = 0 ;
8111 PyObject * obj6 = 0 ;
8112 char * kwnames[] = {
8113 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8114 };
8115
8116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8118 if (!SWIG_IsOK(res1)) {
8119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8120 }
8121 arg1 = reinterpret_cast< wxWindow * >(argp1);
8122 if (obj1) {
8123 ecode2 = SWIG_AsVal_int(obj1, &val2);
8124 if (!SWIG_IsOK(ecode2)) {
8125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8126 }
8127 arg2 = static_cast< int >(val2);
8128 }
8129 if (obj2) {
8130 {
8131 arg3 = wxString_in_helper(obj2);
8132 if (arg3 == NULL) SWIG_fail;
8133 temp3 = true;
8134 }
8135 }
8136 if (obj3) {
8137 {
8138 arg4 = &temp4;
8139 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8140 }
8141 }
8142 if (obj4) {
8143 {
8144 arg5 = &temp5;
8145 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8146 }
8147 }
8148 if (obj5) {
8149 ecode6 = SWIG_AsVal_long(obj5, &val6);
8150 if (!SWIG_IsOK(ecode6)) {
8151 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8152 }
8153 arg6 = static_cast< long >(val6);
8154 }
8155 if (obj6) {
8156 {
8157 arg7 = wxString_in_helper(obj6);
8158 if (arg7 == NULL) SWIG_fail;
8159 temp7 = true;
8160 }
8161 }
8162 {
8163 if (!wxPyCheckForApp()) SWIG_fail;
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8170 {
8171 if (temp3)
8172 delete arg3;
8173 }
8174 {
8175 if (temp7)
8176 delete arg7;
8177 }
8178 return resultobj;
8179 fail:
8180 {
8181 if (temp3)
8182 delete arg3;
8183 }
8184 {
8185 if (temp7)
8186 delete arg7;
8187 }
8188 return NULL;
8189 }
8190
8191
8192 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8193 PyObject *resultobj = 0;
8194 wxMiniFrame *result = 0 ;
8195
8196 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8197 {
8198 if (!wxPyCheckForApp()) SWIG_fail;
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 result = (wxMiniFrame *)new wxMiniFrame();
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8205 return resultobj;
8206 fail:
8207 return NULL;
8208 }
8209
8210
8211 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj = 0;
8213 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8214 wxWindow *arg2 = (wxWindow *) 0 ;
8215 int arg3 = (int) (int)-1 ;
8216 wxString const &arg4_defvalue = wxPyEmptyString ;
8217 wxString *arg4 = (wxString *) &arg4_defvalue ;
8218 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8219 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8220 wxSize const &arg6_defvalue = wxDefaultSize ;
8221 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8222 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8223 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8224 wxString *arg8 = (wxString *) &arg8_defvalue ;
8225 bool result;
8226 void *argp1 = 0 ;
8227 int res1 = 0 ;
8228 void *argp2 = 0 ;
8229 int res2 = 0 ;
8230 int val3 ;
8231 int ecode3 = 0 ;
8232 bool temp4 = false ;
8233 wxPoint temp5 ;
8234 wxSize temp6 ;
8235 long val7 ;
8236 int ecode7 = 0 ;
8237 bool temp8 = false ;
8238 PyObject * obj0 = 0 ;
8239 PyObject * obj1 = 0 ;
8240 PyObject * obj2 = 0 ;
8241 PyObject * obj3 = 0 ;
8242 PyObject * obj4 = 0 ;
8243 PyObject * obj5 = 0 ;
8244 PyObject * obj6 = 0 ;
8245 PyObject * obj7 = 0 ;
8246 char * kwnames[] = {
8247 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8248 };
8249
8250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8252 if (!SWIG_IsOK(res1)) {
8253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8254 }
8255 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8256 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8257 if (!SWIG_IsOK(res2)) {
8258 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8259 }
8260 arg2 = reinterpret_cast< wxWindow * >(argp2);
8261 if (obj2) {
8262 ecode3 = SWIG_AsVal_int(obj2, &val3);
8263 if (!SWIG_IsOK(ecode3)) {
8264 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8265 }
8266 arg3 = static_cast< int >(val3);
8267 }
8268 if (obj3) {
8269 {
8270 arg4 = wxString_in_helper(obj3);
8271 if (arg4 == NULL) SWIG_fail;
8272 temp4 = true;
8273 }
8274 }
8275 if (obj4) {
8276 {
8277 arg5 = &temp5;
8278 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8279 }
8280 }
8281 if (obj5) {
8282 {
8283 arg6 = &temp6;
8284 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8285 }
8286 }
8287 if (obj6) {
8288 ecode7 = SWIG_AsVal_long(obj6, &val7);
8289 if (!SWIG_IsOK(ecode7)) {
8290 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8291 }
8292 arg7 = static_cast< long >(val7);
8293 }
8294 if (obj7) {
8295 {
8296 arg8 = wxString_in_helper(obj7);
8297 if (arg8 == NULL) SWIG_fail;
8298 temp8 = true;
8299 }
8300 }
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
8307 {
8308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8309 }
8310 {
8311 if (temp4)
8312 delete arg4;
8313 }
8314 {
8315 if (temp8)
8316 delete arg8;
8317 }
8318 return resultobj;
8319 fail:
8320 {
8321 if (temp4)
8322 delete arg4;
8323 }
8324 {
8325 if (temp8)
8326 delete arg8;
8327 }
8328 return NULL;
8329 }
8330
8331
8332 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8333 PyObject *obj;
8334 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8335 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8336 return SWIG_Py_Void();
8337 }
8338
8339 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8340 return SWIG_Python_InitShadowInstance(args);
8341 }
8342
8343 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8344 PyObject *resultobj = 0;
8345 wxBitmap *arg1 = 0 ;
8346 wxWindow *arg2 = (wxWindow *) 0 ;
8347 int arg3 ;
8348 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8349 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8350 wxSize const &arg5_defvalue = wxDefaultSize ;
8351 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8352 long arg6 = (long) wxNO_BORDER ;
8353 wxSplashScreenWindow *result = 0 ;
8354 void *argp1 = 0 ;
8355 int res1 = 0 ;
8356 void *argp2 = 0 ;
8357 int res2 = 0 ;
8358 int val3 ;
8359 int ecode3 = 0 ;
8360 wxPoint temp4 ;
8361 wxSize temp5 ;
8362 long val6 ;
8363 int ecode6 = 0 ;
8364 PyObject * obj0 = 0 ;
8365 PyObject * obj1 = 0 ;
8366 PyObject * obj2 = 0 ;
8367 PyObject * obj3 = 0 ;
8368 PyObject * obj4 = 0 ;
8369 PyObject * obj5 = 0 ;
8370 char * kwnames[] = {
8371 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8372 };
8373
8374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8375 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8376 if (!SWIG_IsOK(res1)) {
8377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8378 }
8379 if (!argp1) {
8380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8381 }
8382 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8383 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8384 if (!SWIG_IsOK(res2)) {
8385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8386 }
8387 arg2 = reinterpret_cast< wxWindow * >(argp2);
8388 ecode3 = SWIG_AsVal_int(obj2, &val3);
8389 if (!SWIG_IsOK(ecode3)) {
8390 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8391 }
8392 arg3 = static_cast< int >(val3);
8393 if (obj3) {
8394 {
8395 arg4 = &temp4;
8396 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8397 }
8398 }
8399 if (obj4) {
8400 {
8401 arg5 = &temp5;
8402 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8403 }
8404 }
8405 if (obj5) {
8406 ecode6 = SWIG_AsVal_long(obj5, &val6);
8407 if (!SWIG_IsOK(ecode6)) {
8408 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8409 }
8410 arg6 = static_cast< long >(val6);
8411 }
8412 {
8413 if (!wxPyCheckForApp()) SWIG_fail;
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8420 return resultobj;
8421 fail:
8422 return NULL;
8423 }
8424
8425
8426 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8427 PyObject *resultobj = 0;
8428 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8429 wxBitmap *arg2 = 0 ;
8430 void *argp1 = 0 ;
8431 int res1 = 0 ;
8432 void *argp2 = 0 ;
8433 int res2 = 0 ;
8434 PyObject * obj0 = 0 ;
8435 PyObject * obj1 = 0 ;
8436 char * kwnames[] = {
8437 (char *) "self",(char *) "bitmap", NULL
8438 };
8439
8440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8442 if (!SWIG_IsOK(res1)) {
8443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8444 }
8445 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8446 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8447 if (!SWIG_IsOK(res2)) {
8448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8449 }
8450 if (!argp2) {
8451 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8452 }
8453 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8454 {
8455 PyThreadState* __tstate = wxPyBeginAllowThreads();
8456 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8457 wxPyEndAllowThreads(__tstate);
8458 if (PyErr_Occurred()) SWIG_fail;
8459 }
8460 resultobj = SWIG_Py_Void();
8461 return resultobj;
8462 fail:
8463 return NULL;
8464 }
8465
8466
8467 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8468 PyObject *resultobj = 0;
8469 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8470 wxBitmap *result = 0 ;
8471 void *argp1 = 0 ;
8472 int res1 = 0 ;
8473 PyObject *swig_obj[1] ;
8474
8475 if (!args) SWIG_fail;
8476 swig_obj[0] = args;
8477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8478 if (!SWIG_IsOK(res1)) {
8479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8480 }
8481 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
8484 {
8485 wxBitmap &_result_ref = (arg1)->GetBitmap();
8486 result = (wxBitmap *) &_result_ref;
8487 }
8488 wxPyEndAllowThreads(__tstate);
8489 if (PyErr_Occurred()) SWIG_fail;
8490 }
8491 {
8492 wxBitmap* resultptr = new wxBitmap(*result);
8493 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8494 }
8495 return resultobj;
8496 fail:
8497 return NULL;
8498 }
8499
8500
8501 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8502 PyObject *obj;
8503 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8504 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8505 return SWIG_Py_Void();
8506 }
8507
8508 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8509 return SWIG_Python_InitShadowInstance(args);
8510 }
8511
8512 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8513 PyObject *resultobj = 0;
8514 wxBitmap *arg1 = 0 ;
8515 long arg2 ;
8516 int arg3 ;
8517 wxWindow *arg4 = (wxWindow *) 0 ;
8518 int arg5 = (int) -1 ;
8519 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8520 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8521 wxSize const &arg7_defvalue = wxDefaultSize ;
8522 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8523 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8524 wxSplashScreen *result = 0 ;
8525 void *argp1 = 0 ;
8526 int res1 = 0 ;
8527 long val2 ;
8528 int ecode2 = 0 ;
8529 int val3 ;
8530 int ecode3 = 0 ;
8531 void *argp4 = 0 ;
8532 int res4 = 0 ;
8533 int val5 ;
8534 int ecode5 = 0 ;
8535 wxPoint temp6 ;
8536 wxSize temp7 ;
8537 long val8 ;
8538 int ecode8 = 0 ;
8539 PyObject * obj0 = 0 ;
8540 PyObject * obj1 = 0 ;
8541 PyObject * obj2 = 0 ;
8542 PyObject * obj3 = 0 ;
8543 PyObject * obj4 = 0 ;
8544 PyObject * obj5 = 0 ;
8545 PyObject * obj6 = 0 ;
8546 PyObject * obj7 = 0 ;
8547 char * kwnames[] = {
8548 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8549 };
8550
8551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8552 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8553 if (!SWIG_IsOK(res1)) {
8554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8555 }
8556 if (!argp1) {
8557 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8558 }
8559 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8560 ecode2 = SWIG_AsVal_long(obj1, &val2);
8561 if (!SWIG_IsOK(ecode2)) {
8562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8563 }
8564 arg2 = static_cast< long >(val2);
8565 ecode3 = SWIG_AsVal_int(obj2, &val3);
8566 if (!SWIG_IsOK(ecode3)) {
8567 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8568 }
8569 arg3 = static_cast< int >(val3);
8570 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8571 if (!SWIG_IsOK(res4)) {
8572 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8573 }
8574 arg4 = reinterpret_cast< wxWindow * >(argp4);
8575 if (obj4) {
8576 ecode5 = SWIG_AsVal_int(obj4, &val5);
8577 if (!SWIG_IsOK(ecode5)) {
8578 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8579 }
8580 arg5 = static_cast< int >(val5);
8581 }
8582 if (obj5) {
8583 {
8584 arg6 = &temp6;
8585 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8586 }
8587 }
8588 if (obj6) {
8589 {
8590 arg7 = &temp7;
8591 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8592 }
8593 }
8594 if (obj7) {
8595 ecode8 = SWIG_AsVal_long(obj7, &val8);
8596 if (!SWIG_IsOK(ecode8)) {
8597 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8598 }
8599 arg8 = static_cast< long >(val8);
8600 }
8601 {
8602 if (!wxPyCheckForApp()) SWIG_fail;
8603 PyThreadState* __tstate = wxPyBeginAllowThreads();
8604 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8605 wxPyEndAllowThreads(__tstate);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 }
8608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8609 return resultobj;
8610 fail:
8611 return NULL;
8612 }
8613
8614
8615 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8616 PyObject *resultobj = 0;
8617 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8618 long result;
8619 void *argp1 = 0 ;
8620 int res1 = 0 ;
8621 PyObject *swig_obj[1] ;
8622
8623 if (!args) SWIG_fail;
8624 swig_obj[0] = args;
8625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8626 if (!SWIG_IsOK(res1)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8628 }
8629 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 resultobj = SWIG_From_long(static_cast< long >(result));
8637 return resultobj;
8638 fail:
8639 return NULL;
8640 }
8641
8642
8643 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8644 PyObject *resultobj = 0;
8645 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8646 wxSplashScreenWindow *result = 0 ;
8647 void *argp1 = 0 ;
8648 int res1 = 0 ;
8649 PyObject *swig_obj[1] ;
8650
8651 if (!args) SWIG_fail;
8652 swig_obj[0] = args;
8653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8654 if (!SWIG_IsOK(res1)) {
8655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8656 }
8657 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8658 {
8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
8660 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8665 return resultobj;
8666 fail:
8667 return NULL;
8668 }
8669
8670
8671 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8672 PyObject *resultobj = 0;
8673 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8674 int result;
8675 void *argp1 = 0 ;
8676 int res1 = 0 ;
8677 PyObject *swig_obj[1] ;
8678
8679 if (!args) SWIG_fail;
8680 swig_obj[0] = args;
8681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8682 if (!SWIG_IsOK(res1)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8684 }
8685 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8689 wxPyEndAllowThreads(__tstate);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 }
8692 resultobj = SWIG_From_int(static_cast< int >(result));
8693 return resultobj;
8694 fail:
8695 return NULL;
8696 }
8697
8698
8699 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8700 PyObject *obj;
8701 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8702 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8703 return SWIG_Py_Void();
8704 }
8705
8706 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8707 return SWIG_Python_InitShadowInstance(args);
8708 }
8709
8710 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8711 PyObject *resultobj = 0;
8712 wxWindow *arg1 = (wxWindow *) 0 ;
8713 int arg2 = (int) -1 ;
8714 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8715 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8716 wxString *arg4 = (wxString *) &arg4_defvalue ;
8717 wxStatusBar *result = 0 ;
8718 void *argp1 = 0 ;
8719 int res1 = 0 ;
8720 int val2 ;
8721 int ecode2 = 0 ;
8722 long val3 ;
8723 int ecode3 = 0 ;
8724 bool temp4 = false ;
8725 PyObject * obj0 = 0 ;
8726 PyObject * obj1 = 0 ;
8727 PyObject * obj2 = 0 ;
8728 PyObject * obj3 = 0 ;
8729 char * kwnames[] = {
8730 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8731 };
8732
8733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8735 if (!SWIG_IsOK(res1)) {
8736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8737 }
8738 arg1 = reinterpret_cast< wxWindow * >(argp1);
8739 if (obj1) {
8740 ecode2 = SWIG_AsVal_int(obj1, &val2);
8741 if (!SWIG_IsOK(ecode2)) {
8742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8743 }
8744 arg2 = static_cast< int >(val2);
8745 }
8746 if (obj2) {
8747 ecode3 = SWIG_AsVal_long(obj2, &val3);
8748 if (!SWIG_IsOK(ecode3)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8750 }
8751 arg3 = static_cast< long >(val3);
8752 }
8753 if (obj3) {
8754 {
8755 arg4 = wxString_in_helper(obj3);
8756 if (arg4 == NULL) SWIG_fail;
8757 temp4 = true;
8758 }
8759 }
8760 {
8761 if (!wxPyCheckForApp()) SWIG_fail;
8762 PyThreadState* __tstate = wxPyBeginAllowThreads();
8763 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8768 {
8769 if (temp4)
8770 delete arg4;
8771 }
8772 return resultobj;
8773 fail:
8774 {
8775 if (temp4)
8776 delete arg4;
8777 }
8778 return NULL;
8779 }
8780
8781
8782 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8783 PyObject *resultobj = 0;
8784 wxStatusBar *result = 0 ;
8785
8786 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8787 {
8788 if (!wxPyCheckForApp()) SWIG_fail;
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 result = (wxStatusBar *)new wxStatusBar();
8791 wxPyEndAllowThreads(__tstate);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 }
8794 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8795 return resultobj;
8796 fail:
8797 return NULL;
8798 }
8799
8800
8801 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8802 PyObject *resultobj = 0;
8803 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8804 wxWindow *arg2 = (wxWindow *) 0 ;
8805 int arg3 = (int) -1 ;
8806 long arg4 = (long) wxST_SIZEGRIP ;
8807 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8808 wxString *arg5 = (wxString *) &arg5_defvalue ;
8809 bool result;
8810 void *argp1 = 0 ;
8811 int res1 = 0 ;
8812 void *argp2 = 0 ;
8813 int res2 = 0 ;
8814 int val3 ;
8815 int ecode3 = 0 ;
8816 long val4 ;
8817 int ecode4 = 0 ;
8818 bool temp5 = false ;
8819 PyObject * obj0 = 0 ;
8820 PyObject * obj1 = 0 ;
8821 PyObject * obj2 = 0 ;
8822 PyObject * obj3 = 0 ;
8823 PyObject * obj4 = 0 ;
8824 char * kwnames[] = {
8825 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8826 };
8827
8828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8830 if (!SWIG_IsOK(res1)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8832 }
8833 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8834 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8835 if (!SWIG_IsOK(res2)) {
8836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8837 }
8838 arg2 = reinterpret_cast< wxWindow * >(argp2);
8839 if (obj2) {
8840 ecode3 = SWIG_AsVal_int(obj2, &val3);
8841 if (!SWIG_IsOK(ecode3)) {
8842 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8843 }
8844 arg3 = static_cast< int >(val3);
8845 }
8846 if (obj3) {
8847 ecode4 = SWIG_AsVal_long(obj3, &val4);
8848 if (!SWIG_IsOK(ecode4)) {
8849 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8850 }
8851 arg4 = static_cast< long >(val4);
8852 }
8853 if (obj4) {
8854 {
8855 arg5 = wxString_in_helper(obj4);
8856 if (arg5 == NULL) SWIG_fail;
8857 temp5 = true;
8858 }
8859 }
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
8866 {
8867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8868 }
8869 {
8870 if (temp5)
8871 delete arg5;
8872 }
8873 return resultobj;
8874 fail:
8875 {
8876 if (temp5)
8877 delete arg5;
8878 }
8879 return NULL;
8880 }
8881
8882
8883 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8884 PyObject *resultobj = 0;
8885 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8886 int arg2 = (int) 1 ;
8887 void *argp1 = 0 ;
8888 int res1 = 0 ;
8889 int val2 ;
8890 int ecode2 = 0 ;
8891 PyObject * obj0 = 0 ;
8892 PyObject * obj1 = 0 ;
8893 char * kwnames[] = {
8894 (char *) "self",(char *) "number", NULL
8895 };
8896
8897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8899 if (!SWIG_IsOK(res1)) {
8900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8901 }
8902 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8903 if (obj1) {
8904 ecode2 = SWIG_AsVal_int(obj1, &val2);
8905 if (!SWIG_IsOK(ecode2)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8907 }
8908 arg2 = static_cast< int >(val2);
8909 }
8910 {
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 (arg1)->SetFieldsCount(arg2);
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 resultobj = SWIG_Py_Void();
8917 return resultobj;
8918 fail:
8919 return NULL;
8920 }
8921
8922
8923 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8924 PyObject *resultobj = 0;
8925 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8926 int result;
8927 void *argp1 = 0 ;
8928 int res1 = 0 ;
8929 PyObject *swig_obj[1] ;
8930
8931 if (!args) SWIG_fail;
8932 swig_obj[0] = args;
8933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8934 if (!SWIG_IsOK(res1)) {
8935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8936 }
8937 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8938 {
8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
8940 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 resultobj = SWIG_From_int(static_cast< int >(result));
8945 return resultobj;
8946 fail:
8947 return NULL;
8948 }
8949
8950
8951 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj = 0;
8953 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8954 wxString *arg2 = 0 ;
8955 int arg3 = (int) 0 ;
8956 void *argp1 = 0 ;
8957 int res1 = 0 ;
8958 bool temp2 = false ;
8959 int val3 ;
8960 int ecode3 = 0 ;
8961 PyObject * obj0 = 0 ;
8962 PyObject * obj1 = 0 ;
8963 PyObject * obj2 = 0 ;
8964 char * kwnames[] = {
8965 (char *) "self",(char *) "text",(char *) "number", NULL
8966 };
8967
8968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8970 if (!SWIG_IsOK(res1)) {
8971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8972 }
8973 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8974 {
8975 arg2 = wxString_in_helper(obj1);
8976 if (arg2 == NULL) SWIG_fail;
8977 temp2 = true;
8978 }
8979 if (obj2) {
8980 ecode3 = SWIG_AsVal_int(obj2, &val3);
8981 if (!SWIG_IsOK(ecode3)) {
8982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8983 }
8984 arg3 = static_cast< int >(val3);
8985 }
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8989 wxPyEndAllowThreads(__tstate);
8990 if (PyErr_Occurred()) SWIG_fail;
8991 }
8992 resultobj = SWIG_Py_Void();
8993 {
8994 if (temp2)
8995 delete arg2;
8996 }
8997 return resultobj;
8998 fail:
8999 {
9000 if (temp2)
9001 delete arg2;
9002 }
9003 return NULL;
9004 }
9005
9006
9007 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9008 PyObject *resultobj = 0;
9009 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9010 int arg2 = (int) 0 ;
9011 wxString result;
9012 void *argp1 = 0 ;
9013 int res1 = 0 ;
9014 int val2 ;
9015 int ecode2 = 0 ;
9016 PyObject * obj0 = 0 ;
9017 PyObject * obj1 = 0 ;
9018 char * kwnames[] = {
9019 (char *) "self",(char *) "number", NULL
9020 };
9021
9022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9024 if (!SWIG_IsOK(res1)) {
9025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9026 }
9027 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9028 if (obj1) {
9029 ecode2 = SWIG_AsVal_int(obj1, &val2);
9030 if (!SWIG_IsOK(ecode2)) {
9031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9032 }
9033 arg2 = static_cast< int >(val2);
9034 }
9035 {
9036 PyThreadState* __tstate = wxPyBeginAllowThreads();
9037 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9038 wxPyEndAllowThreads(__tstate);
9039 if (PyErr_Occurred()) SWIG_fail;
9040 }
9041 {
9042 #if wxUSE_UNICODE
9043 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9044 #else
9045 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9046 #endif
9047 }
9048 return resultobj;
9049 fail:
9050 return NULL;
9051 }
9052
9053
9054 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9055 PyObject *resultobj = 0;
9056 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9057 wxString *arg2 = 0 ;
9058 int arg3 = (int) 0 ;
9059 void *argp1 = 0 ;
9060 int res1 = 0 ;
9061 bool temp2 = false ;
9062 int val3 ;
9063 int ecode3 = 0 ;
9064 PyObject * obj0 = 0 ;
9065 PyObject * obj1 = 0 ;
9066 PyObject * obj2 = 0 ;
9067 char * kwnames[] = {
9068 (char *) "self",(char *) "text",(char *) "number", NULL
9069 };
9070
9071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9073 if (!SWIG_IsOK(res1)) {
9074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9075 }
9076 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9077 {
9078 arg2 = wxString_in_helper(obj1);
9079 if (arg2 == NULL) SWIG_fail;
9080 temp2 = true;
9081 }
9082 if (obj2) {
9083 ecode3 = SWIG_AsVal_int(obj2, &val3);
9084 if (!SWIG_IsOK(ecode3)) {
9085 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9086 }
9087 arg3 = static_cast< int >(val3);
9088 }
9089 {
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 resultobj = SWIG_Py_Void();
9096 {
9097 if (temp2)
9098 delete arg2;
9099 }
9100 return resultobj;
9101 fail:
9102 {
9103 if (temp2)
9104 delete arg2;
9105 }
9106 return NULL;
9107 }
9108
9109
9110 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9111 PyObject *resultobj = 0;
9112 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9113 int arg2 = (int) 0 ;
9114 void *argp1 = 0 ;
9115 int res1 = 0 ;
9116 int val2 ;
9117 int ecode2 = 0 ;
9118 PyObject * obj0 = 0 ;
9119 PyObject * obj1 = 0 ;
9120 char * kwnames[] = {
9121 (char *) "self",(char *) "number", NULL
9122 };
9123
9124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9126 if (!SWIG_IsOK(res1)) {
9127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9128 }
9129 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9130 if (obj1) {
9131 ecode2 = SWIG_AsVal_int(obj1, &val2);
9132 if (!SWIG_IsOK(ecode2)) {
9133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9134 }
9135 arg2 = static_cast< int >(val2);
9136 }
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 (arg1)->PopStatusText(arg2);
9140 wxPyEndAllowThreads(__tstate);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 resultobj = SWIG_Py_Void();
9144 return resultobj;
9145 fail:
9146 return NULL;
9147 }
9148
9149
9150 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9151 PyObject *resultobj = 0;
9152 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9153 int arg2 ;
9154 int *arg3 = (int *) 0 ;
9155 void *argp1 = 0 ;
9156 int res1 = 0 ;
9157 PyObject * obj0 = 0 ;
9158 PyObject * obj1 = 0 ;
9159 char * kwnames[] = {
9160 (char *) "self",(char *) "widths", NULL
9161 };
9162
9163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9165 if (!SWIG_IsOK(res1)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9167 }
9168 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9169 {
9170 arg2 = PyList_Size(obj1);
9171 arg3 = int_LIST_helper(obj1);
9172 if (arg3 == NULL) SWIG_fail;
9173 }
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9177 wxPyEndAllowThreads(__tstate);
9178 if (PyErr_Occurred()) SWIG_fail;
9179 }
9180 resultobj = SWIG_Py_Void();
9181 {
9182 if (arg3) delete [] arg3;
9183 }
9184 return resultobj;
9185 fail:
9186 {
9187 if (arg3) delete [] arg3;
9188 }
9189 return NULL;
9190 }
9191
9192
9193 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9194 PyObject *resultobj = 0;
9195 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9196 int arg2 ;
9197 int *arg3 = (int *) 0 ;
9198 void *argp1 = 0 ;
9199 int res1 = 0 ;
9200 PyObject * obj0 = 0 ;
9201 PyObject * obj1 = 0 ;
9202 char * kwnames[] = {
9203 (char *) "self",(char *) "styles", NULL
9204 };
9205
9206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9208 if (!SWIG_IsOK(res1)) {
9209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9210 }
9211 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9212 {
9213 arg2 = PyList_Size(obj1);
9214 arg3 = int_LIST_helper(obj1);
9215 if (arg3 == NULL) SWIG_fail;
9216 }
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 resultobj = SWIG_Py_Void();
9224 {
9225 if (arg3) delete [] arg3;
9226 }
9227 return resultobj;
9228 fail:
9229 {
9230 if (arg3) delete [] arg3;
9231 }
9232 return NULL;
9233 }
9234
9235
9236 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj = 0;
9238 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9239 int arg2 ;
9240 wxRect result;
9241 void *argp1 = 0 ;
9242 int res1 = 0 ;
9243 int val2 ;
9244 int ecode2 = 0 ;
9245 PyObject * obj0 = 0 ;
9246 PyObject * obj1 = 0 ;
9247 char * kwnames[] = {
9248 (char *) "self",(char *) "i", NULL
9249 };
9250
9251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9253 if (!SWIG_IsOK(res1)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9255 }
9256 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9257 ecode2 = SWIG_AsVal_int(obj1, &val2);
9258 if (!SWIG_IsOK(ecode2)) {
9259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9260 }
9261 arg2 = static_cast< int >(val2);
9262 {
9263 PyThreadState* __tstate = wxPyBeginAllowThreads();
9264 result = wxStatusBar_GetFieldRect(arg1,arg2);
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9269 return resultobj;
9270 fail:
9271 return NULL;
9272 }
9273
9274
9275 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj = 0;
9277 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9278 int arg2 ;
9279 void *argp1 = 0 ;
9280 int res1 = 0 ;
9281 int val2 ;
9282 int ecode2 = 0 ;
9283 PyObject * obj0 = 0 ;
9284 PyObject * obj1 = 0 ;
9285 char * kwnames[] = {
9286 (char *) "self",(char *) "height", NULL
9287 };
9288
9289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9291 if (!SWIG_IsOK(res1)) {
9292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9293 }
9294 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9295 ecode2 = SWIG_AsVal_int(obj1, &val2);
9296 if (!SWIG_IsOK(ecode2)) {
9297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9298 }
9299 arg2 = static_cast< int >(val2);
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 (arg1)->SetMinHeight(arg2);
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 resultobj = SWIG_Py_Void();
9307 return resultobj;
9308 fail:
9309 return NULL;
9310 }
9311
9312
9313 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9314 PyObject *resultobj = 0;
9315 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9316 int result;
9317 void *argp1 = 0 ;
9318 int res1 = 0 ;
9319 PyObject *swig_obj[1] ;
9320
9321 if (!args) SWIG_fail;
9322 swig_obj[0] = args;
9323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9324 if (!SWIG_IsOK(res1)) {
9325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9326 }
9327 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9328 {
9329 PyThreadState* __tstate = wxPyBeginAllowThreads();
9330 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 resultobj = SWIG_From_int(static_cast< int >(result));
9335 return resultobj;
9336 fail:
9337 return NULL;
9338 }
9339
9340
9341 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9342 PyObject *resultobj = 0;
9343 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9344 int result;
9345 void *argp1 = 0 ;
9346 int res1 = 0 ;
9347 PyObject *swig_obj[1] ;
9348
9349 if (!args) SWIG_fail;
9350 swig_obj[0] = args;
9351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9352 if (!SWIG_IsOK(res1)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9354 }
9355 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9359 wxPyEndAllowThreads(__tstate);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 }
9362 resultobj = SWIG_From_int(static_cast< int >(result));
9363 return resultobj;
9364 fail:
9365 return NULL;
9366 }
9367
9368
9369 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9370 PyObject *resultobj = 0;
9371 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9372 SwigValueWrapper<wxVisualAttributes > result;
9373 int val1 ;
9374 int ecode1 = 0 ;
9375 PyObject * obj0 = 0 ;
9376 char * kwnames[] = {
9377 (char *) "variant", NULL
9378 };
9379
9380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9381 if (obj0) {
9382 ecode1 = SWIG_AsVal_int(obj0, &val1);
9383 if (!SWIG_IsOK(ecode1)) {
9384 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9385 }
9386 arg1 = static_cast< wxWindowVariant >(val1);
9387 }
9388 {
9389 if (!wxPyCheckForApp()) SWIG_fail;
9390 PyThreadState* __tstate = wxPyBeginAllowThreads();
9391 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9392 wxPyEndAllowThreads(__tstate);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 }
9395 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9396 return resultobj;
9397 fail:
9398 return NULL;
9399 }
9400
9401
9402 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9403 PyObject *obj;
9404 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9405 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9406 return SWIG_Py_Void();
9407 }
9408
9409 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9410 return SWIG_Python_InitShadowInstance(args);
9411 }
9412
9413 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9414 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9415 return 1;
9416 }
9417
9418
9419 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9420 PyObject *pyobj = 0;
9421
9422 {
9423 #if wxUSE_UNICODE
9424 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9425 #else
9426 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9427 #endif
9428 }
9429 return pyobj;
9430 }
9431
9432
9433 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj = 0;
9435 wxWindow *arg1 = (wxWindow *) 0 ;
9436 int arg2 = (int) -1 ;
9437 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9438 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9439 wxSize const &arg4_defvalue = wxDefaultSize ;
9440 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9441 long arg5 = (long) wxSP_3D ;
9442 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9443 wxString *arg6 = (wxString *) &arg6_defvalue ;
9444 wxSplitterWindow *result = 0 ;
9445 void *argp1 = 0 ;
9446 int res1 = 0 ;
9447 int val2 ;
9448 int ecode2 = 0 ;
9449 wxPoint temp3 ;
9450 wxSize temp4 ;
9451 long val5 ;
9452 int ecode5 = 0 ;
9453 bool temp6 = false ;
9454 PyObject * obj0 = 0 ;
9455 PyObject * obj1 = 0 ;
9456 PyObject * obj2 = 0 ;
9457 PyObject * obj3 = 0 ;
9458 PyObject * obj4 = 0 ;
9459 PyObject * obj5 = 0 ;
9460 char * kwnames[] = {
9461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9462 };
9463
9464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9466 if (!SWIG_IsOK(res1)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9468 }
9469 arg1 = reinterpret_cast< wxWindow * >(argp1);
9470 if (obj1) {
9471 ecode2 = SWIG_AsVal_int(obj1, &val2);
9472 if (!SWIG_IsOK(ecode2)) {
9473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9474 }
9475 arg2 = static_cast< int >(val2);
9476 }
9477 if (obj2) {
9478 {
9479 arg3 = &temp3;
9480 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9481 }
9482 }
9483 if (obj3) {
9484 {
9485 arg4 = &temp4;
9486 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9487 }
9488 }
9489 if (obj4) {
9490 ecode5 = SWIG_AsVal_long(obj4, &val5);
9491 if (!SWIG_IsOK(ecode5)) {
9492 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9493 }
9494 arg5 = static_cast< long >(val5);
9495 }
9496 if (obj5) {
9497 {
9498 arg6 = wxString_in_helper(obj5);
9499 if (arg6 == NULL) SWIG_fail;
9500 temp6 = true;
9501 }
9502 }
9503 {
9504 if (!wxPyCheckForApp()) SWIG_fail;
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9511 {
9512 if (temp6)
9513 delete arg6;
9514 }
9515 return resultobj;
9516 fail:
9517 {
9518 if (temp6)
9519 delete arg6;
9520 }
9521 return NULL;
9522 }
9523
9524
9525 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9526 PyObject *resultobj = 0;
9527 wxSplitterWindow *result = 0 ;
9528
9529 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9530 {
9531 if (!wxPyCheckForApp()) SWIG_fail;
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = (wxSplitterWindow *)new wxSplitterWindow();
9534 wxPyEndAllowThreads(__tstate);
9535 if (PyErr_Occurred()) SWIG_fail;
9536 }
9537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9538 return resultobj;
9539 fail:
9540 return NULL;
9541 }
9542
9543
9544 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9545 PyObject *resultobj = 0;
9546 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9547 wxWindow *arg2 = (wxWindow *) 0 ;
9548 int arg3 = (int) -1 ;
9549 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9550 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9551 wxSize const &arg5_defvalue = wxDefaultSize ;
9552 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9553 long arg6 = (long) wxSP_3D ;
9554 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9555 wxString *arg7 = (wxString *) &arg7_defvalue ;
9556 bool result;
9557 void *argp1 = 0 ;
9558 int res1 = 0 ;
9559 void *argp2 = 0 ;
9560 int res2 = 0 ;
9561 int val3 ;
9562 int ecode3 = 0 ;
9563 wxPoint temp4 ;
9564 wxSize temp5 ;
9565 long val6 ;
9566 int ecode6 = 0 ;
9567 bool temp7 = false ;
9568 PyObject * obj0 = 0 ;
9569 PyObject * obj1 = 0 ;
9570 PyObject * obj2 = 0 ;
9571 PyObject * obj3 = 0 ;
9572 PyObject * obj4 = 0 ;
9573 PyObject * obj5 = 0 ;
9574 PyObject * obj6 = 0 ;
9575 char * kwnames[] = {
9576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9577 };
9578
9579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9581 if (!SWIG_IsOK(res1)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9583 }
9584 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9585 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9586 if (!SWIG_IsOK(res2)) {
9587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9588 }
9589 arg2 = reinterpret_cast< wxWindow * >(argp2);
9590 if (obj2) {
9591 ecode3 = SWIG_AsVal_int(obj2, &val3);
9592 if (!SWIG_IsOK(ecode3)) {
9593 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9594 }
9595 arg3 = static_cast< int >(val3);
9596 }
9597 if (obj3) {
9598 {
9599 arg4 = &temp4;
9600 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9601 }
9602 }
9603 if (obj4) {
9604 {
9605 arg5 = &temp5;
9606 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9607 }
9608 }
9609 if (obj5) {
9610 ecode6 = SWIG_AsVal_long(obj5, &val6);
9611 if (!SWIG_IsOK(ecode6)) {
9612 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9613 }
9614 arg6 = static_cast< long >(val6);
9615 }
9616 if (obj6) {
9617 {
9618 arg7 = wxString_in_helper(obj6);
9619 if (arg7 == NULL) SWIG_fail;
9620 temp7 = true;
9621 }
9622 }
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 {
9630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9631 }
9632 {
9633 if (temp7)
9634 delete arg7;
9635 }
9636 return resultobj;
9637 fail:
9638 {
9639 if (temp7)
9640 delete arg7;
9641 }
9642 return NULL;
9643 }
9644
9645
9646 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9647 PyObject *resultobj = 0;
9648 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9649 wxWindow *result = 0 ;
9650 void *argp1 = 0 ;
9651 int res1 = 0 ;
9652 PyObject *swig_obj[1] ;
9653
9654 if (!args) SWIG_fail;
9655 swig_obj[0] = args;
9656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9657 if (!SWIG_IsOK(res1)) {
9658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9659 }
9660 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9664 wxPyEndAllowThreads(__tstate);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 }
9667 {
9668 resultobj = wxPyMake_wxObject(result, 0);
9669 }
9670 return resultobj;
9671 fail:
9672 return NULL;
9673 }
9674
9675
9676 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9677 PyObject *resultobj = 0;
9678 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9679 wxWindow *result = 0 ;
9680 void *argp1 = 0 ;
9681 int res1 = 0 ;
9682 PyObject *swig_obj[1] ;
9683
9684 if (!args) SWIG_fail;
9685 swig_obj[0] = args;
9686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9687 if (!SWIG_IsOK(res1)) {
9688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9689 }
9690 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9694 wxPyEndAllowThreads(__tstate);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 }
9697 {
9698 resultobj = wxPyMake_wxObject(result, 0);
9699 }
9700 return resultobj;
9701 fail:
9702 return NULL;
9703 }
9704
9705
9706 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9707 PyObject *resultobj = 0;
9708 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9709 int arg2 ;
9710 void *argp1 = 0 ;
9711 int res1 = 0 ;
9712 int val2 ;
9713 int ecode2 = 0 ;
9714 PyObject * obj0 = 0 ;
9715 PyObject * obj1 = 0 ;
9716 char * kwnames[] = {
9717 (char *) "self",(char *) "mode", NULL
9718 };
9719
9720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9722 if (!SWIG_IsOK(res1)) {
9723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9724 }
9725 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9726 ecode2 = SWIG_AsVal_int(obj1, &val2);
9727 if (!SWIG_IsOK(ecode2)) {
9728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9729 }
9730 arg2 = static_cast< int >(val2);
9731 {
9732 PyThreadState* __tstate = wxPyBeginAllowThreads();
9733 (arg1)->SetSplitMode(arg2);
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 }
9737 resultobj = SWIG_Py_Void();
9738 return resultobj;
9739 fail:
9740 return NULL;
9741 }
9742
9743
9744 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9745 PyObject *resultobj = 0;
9746 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9747 wxSplitMode result;
9748 void *argp1 = 0 ;
9749 int res1 = 0 ;
9750 PyObject *swig_obj[1] ;
9751
9752 if (!args) SWIG_fail;
9753 swig_obj[0] = args;
9754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9755 if (!SWIG_IsOK(res1)) {
9756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9757 }
9758 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9759 {
9760 PyThreadState* __tstate = wxPyBeginAllowThreads();
9761 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9762 wxPyEndAllowThreads(__tstate);
9763 if (PyErr_Occurred()) SWIG_fail;
9764 }
9765 resultobj = SWIG_From_int(static_cast< int >(result));
9766 return resultobj;
9767 fail:
9768 return NULL;
9769 }
9770
9771
9772 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9773 PyObject *resultobj = 0;
9774 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9775 wxWindow *arg2 = (wxWindow *) 0 ;
9776 void *argp1 = 0 ;
9777 int res1 = 0 ;
9778 void *argp2 = 0 ;
9779 int res2 = 0 ;
9780 PyObject * obj0 = 0 ;
9781 PyObject * obj1 = 0 ;
9782 char * kwnames[] = {
9783 (char *) "self",(char *) "window", NULL
9784 };
9785
9786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9788 if (!SWIG_IsOK(res1)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9790 }
9791 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9792 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9793 if (!SWIG_IsOK(res2)) {
9794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9795 }
9796 arg2 = reinterpret_cast< wxWindow * >(argp2);
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 (arg1)->Initialize(arg2);
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 resultobj = SWIG_Py_Void();
9804 return resultobj;
9805 fail:
9806 return NULL;
9807 }
9808
9809
9810 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9811 PyObject *resultobj = 0;
9812 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9813 wxWindow *arg2 = (wxWindow *) 0 ;
9814 wxWindow *arg3 = (wxWindow *) 0 ;
9815 int arg4 = (int) 0 ;
9816 bool result;
9817 void *argp1 = 0 ;
9818 int res1 = 0 ;
9819 void *argp2 = 0 ;
9820 int res2 = 0 ;
9821 void *argp3 = 0 ;
9822 int res3 = 0 ;
9823 int val4 ;
9824 int ecode4 = 0 ;
9825 PyObject * obj0 = 0 ;
9826 PyObject * obj1 = 0 ;
9827 PyObject * obj2 = 0 ;
9828 PyObject * obj3 = 0 ;
9829 char * kwnames[] = {
9830 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9831 };
9832
9833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9835 if (!SWIG_IsOK(res1)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9837 }
9838 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9839 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9840 if (!SWIG_IsOK(res2)) {
9841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9842 }
9843 arg2 = reinterpret_cast< wxWindow * >(argp2);
9844 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9845 if (!SWIG_IsOK(res3)) {
9846 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9847 }
9848 arg3 = reinterpret_cast< wxWindow * >(argp3);
9849 if (obj3) {
9850 ecode4 = SWIG_AsVal_int(obj3, &val4);
9851 if (!SWIG_IsOK(ecode4)) {
9852 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9853 }
9854 arg4 = static_cast< int >(val4);
9855 }
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) SWIG_fail;
9861 }
9862 {
9863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9864 }
9865 return resultobj;
9866 fail:
9867 return NULL;
9868 }
9869
9870
9871 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9872 PyObject *resultobj = 0;
9873 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9874 wxWindow *arg2 = (wxWindow *) 0 ;
9875 wxWindow *arg3 = (wxWindow *) 0 ;
9876 int arg4 = (int) 0 ;
9877 bool result;
9878 void *argp1 = 0 ;
9879 int res1 = 0 ;
9880 void *argp2 = 0 ;
9881 int res2 = 0 ;
9882 void *argp3 = 0 ;
9883 int res3 = 0 ;
9884 int val4 ;
9885 int ecode4 = 0 ;
9886 PyObject * obj0 = 0 ;
9887 PyObject * obj1 = 0 ;
9888 PyObject * obj2 = 0 ;
9889 PyObject * obj3 = 0 ;
9890 char * kwnames[] = {
9891 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9892 };
9893
9894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9896 if (!SWIG_IsOK(res1)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9898 }
9899 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9900 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9901 if (!SWIG_IsOK(res2)) {
9902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9903 }
9904 arg2 = reinterpret_cast< wxWindow * >(argp2);
9905 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9906 if (!SWIG_IsOK(res3)) {
9907 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9908 }
9909 arg3 = reinterpret_cast< wxWindow * >(argp3);
9910 if (obj3) {
9911 ecode4 = SWIG_AsVal_int(obj3, &val4);
9912 if (!SWIG_IsOK(ecode4)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9914 }
9915 arg4 = static_cast< int >(val4);
9916 }
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
9923 {
9924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9925 }
9926 return resultobj;
9927 fail:
9928 return NULL;
9929 }
9930
9931
9932 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj = 0;
9934 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9935 wxWindow *arg2 = (wxWindow *) NULL ;
9936 bool result;
9937 void *argp1 = 0 ;
9938 int res1 = 0 ;
9939 void *argp2 = 0 ;
9940 int res2 = 0 ;
9941 PyObject * obj0 = 0 ;
9942 PyObject * obj1 = 0 ;
9943 char * kwnames[] = {
9944 (char *) "self",(char *) "toRemove", NULL
9945 };
9946
9947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9949 if (!SWIG_IsOK(res1)) {
9950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9951 }
9952 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9953 if (obj1) {
9954 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9955 if (!SWIG_IsOK(res2)) {
9956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9957 }
9958 arg2 = reinterpret_cast< wxWindow * >(argp2);
9959 }
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (bool)(arg1)->Unsplit(arg2);
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 {
9967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9968 }
9969 return resultobj;
9970 fail:
9971 return NULL;
9972 }
9973
9974
9975 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9976 PyObject *resultobj = 0;
9977 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9978 wxWindow *arg2 = (wxWindow *) 0 ;
9979 wxWindow *arg3 = (wxWindow *) 0 ;
9980 bool result;
9981 void *argp1 = 0 ;
9982 int res1 = 0 ;
9983 void *argp2 = 0 ;
9984 int res2 = 0 ;
9985 void *argp3 = 0 ;
9986 int res3 = 0 ;
9987 PyObject * obj0 = 0 ;
9988 PyObject * obj1 = 0 ;
9989 PyObject * obj2 = 0 ;
9990 char * kwnames[] = {
9991 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9992 };
9993
9994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9996 if (!SWIG_IsOK(res1)) {
9997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9998 }
9999 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10000 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10001 if (!SWIG_IsOK(res2)) {
10002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10003 }
10004 arg2 = reinterpret_cast< wxWindow * >(argp2);
10005 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10006 if (!SWIG_IsOK(res3)) {
10007 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10008 }
10009 arg3 = reinterpret_cast< wxWindow * >(argp3);
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 {
10017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10018 }
10019 return resultobj;
10020 fail:
10021 return NULL;
10022 }
10023
10024
10025 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10026 PyObject *resultobj = 0;
10027 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10028 void *argp1 = 0 ;
10029 int res1 = 0 ;
10030 PyObject *swig_obj[1] ;
10031
10032 if (!args) SWIG_fail;
10033 swig_obj[0] = args;
10034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10035 if (!SWIG_IsOK(res1)) {
10036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10037 }
10038 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 (arg1)->UpdateSize();
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 resultobj = SWIG_Py_Void();
10046 return resultobj;
10047 fail:
10048 return NULL;
10049 }
10050
10051
10052 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10053 PyObject *resultobj = 0;
10054 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10055 bool result;
10056 void *argp1 = 0 ;
10057 int res1 = 0 ;
10058 PyObject *swig_obj[1] ;
10059
10060 if (!args) SWIG_fail;
10061 swig_obj[0] = args;
10062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10063 if (!SWIG_IsOK(res1)) {
10064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10065 }
10066 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10070 wxPyEndAllowThreads(__tstate);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 }
10073 {
10074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10075 }
10076 return resultobj;
10077 fail:
10078 return NULL;
10079 }
10080
10081
10082 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10083 PyObject *resultobj = 0;
10084 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10085 int arg2 ;
10086 void *argp1 = 0 ;
10087 int res1 = 0 ;
10088 int val2 ;
10089 int ecode2 = 0 ;
10090 PyObject * obj0 = 0 ;
10091 PyObject * obj1 = 0 ;
10092 char * kwnames[] = {
10093 (char *) "self",(char *) "width", NULL
10094 };
10095
10096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10098 if (!SWIG_IsOK(res1)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10100 }
10101 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10102 ecode2 = SWIG_AsVal_int(obj1, &val2);
10103 if (!SWIG_IsOK(ecode2)) {
10104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10105 }
10106 arg2 = static_cast< int >(val2);
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
10109 (arg1)->SetSashSize(arg2);
10110 wxPyEndAllowThreads(__tstate);
10111 if (PyErr_Occurred()) SWIG_fail;
10112 }
10113 resultobj = SWIG_Py_Void();
10114 return resultobj;
10115 fail:
10116 return NULL;
10117 }
10118
10119
10120 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10121 PyObject *resultobj = 0;
10122 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10123 int arg2 ;
10124 void *argp1 = 0 ;
10125 int res1 = 0 ;
10126 int val2 ;
10127 int ecode2 = 0 ;
10128 PyObject * obj0 = 0 ;
10129 PyObject * obj1 = 0 ;
10130 char * kwnames[] = {
10131 (char *) "self",(char *) "width", NULL
10132 };
10133
10134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10136 if (!SWIG_IsOK(res1)) {
10137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10138 }
10139 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10140 ecode2 = SWIG_AsVal_int(obj1, &val2);
10141 if (!SWIG_IsOK(ecode2)) {
10142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10143 }
10144 arg2 = static_cast< int >(val2);
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 (arg1)->SetBorderSize(arg2);
10148 wxPyEndAllowThreads(__tstate);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
10151 resultobj = SWIG_Py_Void();
10152 return resultobj;
10153 fail:
10154 return NULL;
10155 }
10156
10157
10158 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10159 PyObject *resultobj = 0;
10160 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10161 int result;
10162 void *argp1 = 0 ;
10163 int res1 = 0 ;
10164 PyObject *swig_obj[1] ;
10165
10166 if (!args) SWIG_fail;
10167 swig_obj[0] = args;
10168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10169 if (!SWIG_IsOK(res1)) {
10170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10171 }
10172 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10173 {
10174 PyThreadState* __tstate = wxPyBeginAllowThreads();
10175 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 resultobj = SWIG_From_int(static_cast< int >(result));
10180 return resultobj;
10181 fail:
10182 return NULL;
10183 }
10184
10185
10186 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10187 PyObject *resultobj = 0;
10188 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10189 int result;
10190 void *argp1 = 0 ;
10191 int res1 = 0 ;
10192 PyObject *swig_obj[1] ;
10193
10194 if (!args) SWIG_fail;
10195 swig_obj[0] = args;
10196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10197 if (!SWIG_IsOK(res1)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10199 }
10200 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 resultobj = SWIG_From_int(static_cast< int >(result));
10208 return resultobj;
10209 fail:
10210 return NULL;
10211 }
10212
10213
10214 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10215 PyObject *resultobj = 0;
10216 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10217 int arg2 ;
10218 bool arg3 = (bool) true ;
10219 void *argp1 = 0 ;
10220 int res1 = 0 ;
10221 int val2 ;
10222 int ecode2 = 0 ;
10223 bool val3 ;
10224 int ecode3 = 0 ;
10225 PyObject * obj0 = 0 ;
10226 PyObject * obj1 = 0 ;
10227 PyObject * obj2 = 0 ;
10228 char * kwnames[] = {
10229 (char *) "self",(char *) "position",(char *) "redraw", NULL
10230 };
10231
10232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10234 if (!SWIG_IsOK(res1)) {
10235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10236 }
10237 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10238 ecode2 = SWIG_AsVal_int(obj1, &val2);
10239 if (!SWIG_IsOK(ecode2)) {
10240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10241 }
10242 arg2 = static_cast< int >(val2);
10243 if (obj2) {
10244 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10245 if (!SWIG_IsOK(ecode3)) {
10246 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10247 }
10248 arg3 = static_cast< bool >(val3);
10249 }
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 (arg1)->SetSashPosition(arg2,arg3);
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 resultobj = SWIG_Py_Void();
10257 return resultobj;
10258 fail:
10259 return NULL;
10260 }
10261
10262
10263 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10264 PyObject *resultobj = 0;
10265 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10266 int result;
10267 void *argp1 = 0 ;
10268 int res1 = 0 ;
10269 PyObject *swig_obj[1] ;
10270
10271 if (!args) SWIG_fail;
10272 swig_obj[0] = args;
10273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10274 if (!SWIG_IsOK(res1)) {
10275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10276 }
10277 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10281 wxPyEndAllowThreads(__tstate);
10282 if (PyErr_Occurred()) SWIG_fail;
10283 }
10284 resultobj = SWIG_From_int(static_cast< int >(result));
10285 return resultobj;
10286 fail:
10287 return NULL;
10288 }
10289
10290
10291 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj = 0;
10293 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10294 double arg2 ;
10295 void *argp1 = 0 ;
10296 int res1 = 0 ;
10297 double val2 ;
10298 int ecode2 = 0 ;
10299 PyObject * obj0 = 0 ;
10300 PyObject * obj1 = 0 ;
10301 char * kwnames[] = {
10302 (char *) "self",(char *) "gravity", NULL
10303 };
10304
10305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10307 if (!SWIG_IsOK(res1)) {
10308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10309 }
10310 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10311 ecode2 = SWIG_AsVal_double(obj1, &val2);
10312 if (!SWIG_IsOK(ecode2)) {
10313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10314 }
10315 arg2 = static_cast< double >(val2);
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 (arg1)->SetSashGravity(arg2);
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 resultobj = SWIG_Py_Void();
10323 return resultobj;
10324 fail:
10325 return NULL;
10326 }
10327
10328
10329 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10330 PyObject *resultobj = 0;
10331 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10332 double result;
10333 void *argp1 = 0 ;
10334 int res1 = 0 ;
10335 PyObject *swig_obj[1] ;
10336
10337 if (!args) SWIG_fail;
10338 swig_obj[0] = args;
10339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10340 if (!SWIG_IsOK(res1)) {
10341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10342 }
10343 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10344 {
10345 PyThreadState* __tstate = wxPyBeginAllowThreads();
10346 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) SWIG_fail;
10349 }
10350 resultobj = SWIG_From_double(static_cast< double >(result));
10351 return resultobj;
10352 fail:
10353 return NULL;
10354 }
10355
10356
10357 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10358 PyObject *resultobj = 0;
10359 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10360 int arg2 ;
10361 void *argp1 = 0 ;
10362 int res1 = 0 ;
10363 int val2 ;
10364 int ecode2 = 0 ;
10365 PyObject * obj0 = 0 ;
10366 PyObject * obj1 = 0 ;
10367 char * kwnames[] = {
10368 (char *) "self",(char *) "min", NULL
10369 };
10370
10371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10373 if (!SWIG_IsOK(res1)) {
10374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10375 }
10376 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10377 ecode2 = SWIG_AsVal_int(obj1, &val2);
10378 if (!SWIG_IsOK(ecode2)) {
10379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10380 }
10381 arg2 = static_cast< int >(val2);
10382 {
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 (arg1)->SetMinimumPaneSize(arg2);
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 resultobj = SWIG_Py_Void();
10389 return resultobj;
10390 fail:
10391 return NULL;
10392 }
10393
10394
10395 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10396 PyObject *resultobj = 0;
10397 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10398 int result;
10399 void *argp1 = 0 ;
10400 int res1 = 0 ;
10401 PyObject *swig_obj[1] ;
10402
10403 if (!args) SWIG_fail;
10404 swig_obj[0] = args;
10405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10406 if (!SWIG_IsOK(res1)) {
10407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10408 }
10409 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = SWIG_From_int(static_cast< int >(result));
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj = 0;
10425 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10426 int arg2 ;
10427 int arg3 ;
10428 int arg4 = (int) 5 ;
10429 bool result;
10430 void *argp1 = 0 ;
10431 int res1 = 0 ;
10432 int val2 ;
10433 int ecode2 = 0 ;
10434 int val3 ;
10435 int ecode3 = 0 ;
10436 int val4 ;
10437 int ecode4 = 0 ;
10438 PyObject * obj0 = 0 ;
10439 PyObject * obj1 = 0 ;
10440 PyObject * obj2 = 0 ;
10441 PyObject * obj3 = 0 ;
10442 char * kwnames[] = {
10443 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10444 };
10445
10446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10448 if (!SWIG_IsOK(res1)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10450 }
10451 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10452 ecode2 = SWIG_AsVal_int(obj1, &val2);
10453 if (!SWIG_IsOK(ecode2)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10455 }
10456 arg2 = static_cast< int >(val2);
10457 ecode3 = SWIG_AsVal_int(obj2, &val3);
10458 if (!SWIG_IsOK(ecode3)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10460 }
10461 arg3 = static_cast< int >(val3);
10462 if (obj3) {
10463 ecode4 = SWIG_AsVal_int(obj3, &val4);
10464 if (!SWIG_IsOK(ecode4)) {
10465 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10466 }
10467 arg4 = static_cast< int >(val4);
10468 }
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 {
10476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10477 }
10478 return resultobj;
10479 fail:
10480 return NULL;
10481 }
10482
10483
10484 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10485 PyObject *resultobj = 0;
10486 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10487 void *argp1 = 0 ;
10488 int res1 = 0 ;
10489 PyObject *swig_obj[1] ;
10490
10491 if (!args) SWIG_fail;
10492 swig_obj[0] = args;
10493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10494 if (!SWIG_IsOK(res1)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10496 }
10497 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10498 {
10499 PyThreadState* __tstate = wxPyBeginAllowThreads();
10500 (arg1)->SizeWindows();
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 resultobj = SWIG_Py_Void();
10505 return resultobj;
10506 fail:
10507 return NULL;
10508 }
10509
10510
10511 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10512 PyObject *resultobj = 0;
10513 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10514 bool arg2 ;
10515 void *argp1 = 0 ;
10516 int res1 = 0 ;
10517 bool val2 ;
10518 int ecode2 = 0 ;
10519 PyObject * obj0 = 0 ;
10520 PyObject * obj1 = 0 ;
10521 char * kwnames[] = {
10522 (char *) "self",(char *) "needUpdating", NULL
10523 };
10524
10525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10527 if (!SWIG_IsOK(res1)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10529 }
10530 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10531 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10532 if (!SWIG_IsOK(ecode2)) {
10533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10534 }
10535 arg2 = static_cast< bool >(val2);
10536 {
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 (arg1)->SetNeedUpdating(arg2);
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 resultobj = SWIG_Py_Void();
10543 return resultobj;
10544 fail:
10545 return NULL;
10546 }
10547
10548
10549 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10550 PyObject *resultobj = 0;
10551 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10552 bool result;
10553 void *argp1 = 0 ;
10554 int res1 = 0 ;
10555 PyObject *swig_obj[1] ;
10556
10557 if (!args) SWIG_fail;
10558 swig_obj[0] = args;
10559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10560 if (!SWIG_IsOK(res1)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10562 }
10563 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10564 {
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
10566 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 {
10571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10572 }
10573 return resultobj;
10574 fail:
10575 return NULL;
10576 }
10577
10578
10579 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10580 PyObject *resultobj = 0;
10581 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10582 SwigValueWrapper<wxVisualAttributes > result;
10583 int val1 ;
10584 int ecode1 = 0 ;
10585 PyObject * obj0 = 0 ;
10586 char * kwnames[] = {
10587 (char *) "variant", NULL
10588 };
10589
10590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10591 if (obj0) {
10592 ecode1 = SWIG_AsVal_int(obj0, &val1);
10593 if (!SWIG_IsOK(ecode1)) {
10594 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10595 }
10596 arg1 = static_cast< wxWindowVariant >(val1);
10597 }
10598 {
10599 if (!wxPyCheckForApp()) SWIG_fail;
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10606 return resultobj;
10607 fail:
10608 return NULL;
10609 }
10610
10611
10612 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10613 PyObject *obj;
10614 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10615 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10616 return SWIG_Py_Void();
10617 }
10618
10619 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10620 return SWIG_Python_InitShadowInstance(args);
10621 }
10622
10623 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10624 PyObject *resultobj = 0;
10625 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10626 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10627 wxSplitterEvent *result = 0 ;
10628 int val1 ;
10629 int ecode1 = 0 ;
10630 void *argp2 = 0 ;
10631 int res2 = 0 ;
10632 PyObject * obj0 = 0 ;
10633 PyObject * obj1 = 0 ;
10634 char * kwnames[] = {
10635 (char *) "type",(char *) "splitter", NULL
10636 };
10637
10638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10639 if (obj0) {
10640 ecode1 = SWIG_AsVal_int(obj0, &val1);
10641 if (!SWIG_IsOK(ecode1)) {
10642 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10643 }
10644 arg1 = static_cast< wxEventType >(val1);
10645 }
10646 if (obj1) {
10647 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10648 if (!SWIG_IsOK(res2)) {
10649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10650 }
10651 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10652 }
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10660 return resultobj;
10661 fail:
10662 return NULL;
10663 }
10664
10665
10666 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10667 PyObject *resultobj = 0;
10668 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10669 int arg2 ;
10670 void *argp1 = 0 ;
10671 int res1 = 0 ;
10672 int val2 ;
10673 int ecode2 = 0 ;
10674 PyObject * obj0 = 0 ;
10675 PyObject * obj1 = 0 ;
10676 char * kwnames[] = {
10677 (char *) "self",(char *) "pos", NULL
10678 };
10679
10680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10682 if (!SWIG_IsOK(res1)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10684 }
10685 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10686 ecode2 = SWIG_AsVal_int(obj1, &val2);
10687 if (!SWIG_IsOK(ecode2)) {
10688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10689 }
10690 arg2 = static_cast< int >(val2);
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 (arg1)->SetSashPosition(arg2);
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
10697 resultobj = SWIG_Py_Void();
10698 return resultobj;
10699 fail:
10700 return NULL;
10701 }
10702
10703
10704 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10705 PyObject *resultobj = 0;
10706 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10707 int result;
10708 void *argp1 = 0 ;
10709 int res1 = 0 ;
10710 PyObject *swig_obj[1] ;
10711
10712 if (!args) SWIG_fail;
10713 swig_obj[0] = args;
10714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10715 if (!SWIG_IsOK(res1)) {
10716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10717 }
10718 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10722 wxPyEndAllowThreads(__tstate);
10723 if (PyErr_Occurred()) SWIG_fail;
10724 }
10725 resultobj = SWIG_From_int(static_cast< int >(result));
10726 return resultobj;
10727 fail:
10728 return NULL;
10729 }
10730
10731
10732 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10733 PyObject *resultobj = 0;
10734 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10735 wxWindow *result = 0 ;
10736 void *argp1 = 0 ;
10737 int res1 = 0 ;
10738 PyObject *swig_obj[1] ;
10739
10740 if (!args) SWIG_fail;
10741 swig_obj[0] = args;
10742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10743 if (!SWIG_IsOK(res1)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10745 }
10746 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 {
10754 resultobj = wxPyMake_wxObject(result, 0);
10755 }
10756 return resultobj;
10757 fail:
10758 return NULL;
10759 }
10760
10761
10762 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10763 PyObject *resultobj = 0;
10764 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10765 int result;
10766 void *argp1 = 0 ;
10767 int res1 = 0 ;
10768 PyObject *swig_obj[1] ;
10769
10770 if (!args) SWIG_fail;
10771 swig_obj[0] = args;
10772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10773 if (!SWIG_IsOK(res1)) {
10774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10775 }
10776 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 resultobj = SWIG_From_int(static_cast< int >(result));
10784 return resultobj;
10785 fail:
10786 return NULL;
10787 }
10788
10789
10790 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10791 PyObject *resultobj = 0;
10792 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10793 int result;
10794 void *argp1 = 0 ;
10795 int res1 = 0 ;
10796 PyObject *swig_obj[1] ;
10797
10798 if (!args) SWIG_fail;
10799 swig_obj[0] = args;
10800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10801 if (!SWIG_IsOK(res1)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10803 }
10804 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10808 wxPyEndAllowThreads(__tstate);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 }
10811 resultobj = SWIG_From_int(static_cast< int >(result));
10812 return resultobj;
10813 fail:
10814 return NULL;
10815 }
10816
10817
10818 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10819 PyObject *obj;
10820 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10821 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10822 return SWIG_Py_Void();
10823 }
10824
10825 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10826 return SWIG_Python_InitShadowInstance(args);
10827 }
10828
10829 SWIGINTERN int SashNameStr_set(PyObject *) {
10830 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10831 return 1;
10832 }
10833
10834
10835 SWIGINTERN PyObject *SashNameStr_get(void) {
10836 PyObject *pyobj = 0;
10837
10838 {
10839 #if wxUSE_UNICODE
10840 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10841 #else
10842 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10843 #endif
10844 }
10845 return pyobj;
10846 }
10847
10848
10849 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10850 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10851 return 1;
10852 }
10853
10854
10855 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10856 PyObject *pyobj = 0;
10857
10858 {
10859 #if wxUSE_UNICODE
10860 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10861 #else
10862 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10863 #endif
10864 }
10865 return pyobj;
10866 }
10867
10868
10869 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10870 PyObject *resultobj = 0;
10871 wxWindow *arg1 = (wxWindow *) 0 ;
10872 int arg2 = (int) -1 ;
10873 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10874 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10875 wxSize const &arg4_defvalue = wxDefaultSize ;
10876 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10877 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10878 wxString const &arg6_defvalue = wxPySashNameStr ;
10879 wxString *arg6 = (wxString *) &arg6_defvalue ;
10880 wxSashWindow *result = 0 ;
10881 void *argp1 = 0 ;
10882 int res1 = 0 ;
10883 int val2 ;
10884 int ecode2 = 0 ;
10885 wxPoint temp3 ;
10886 wxSize temp4 ;
10887 long val5 ;
10888 int ecode5 = 0 ;
10889 bool temp6 = false ;
10890 PyObject * obj0 = 0 ;
10891 PyObject * obj1 = 0 ;
10892 PyObject * obj2 = 0 ;
10893 PyObject * obj3 = 0 ;
10894 PyObject * obj4 = 0 ;
10895 PyObject * obj5 = 0 ;
10896 char * kwnames[] = {
10897 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10898 };
10899
10900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10902 if (!SWIG_IsOK(res1)) {
10903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10904 }
10905 arg1 = reinterpret_cast< wxWindow * >(argp1);
10906 if (obj1) {
10907 ecode2 = SWIG_AsVal_int(obj1, &val2);
10908 if (!SWIG_IsOK(ecode2)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10910 }
10911 arg2 = static_cast< int >(val2);
10912 }
10913 if (obj2) {
10914 {
10915 arg3 = &temp3;
10916 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10917 }
10918 }
10919 if (obj3) {
10920 {
10921 arg4 = &temp4;
10922 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10923 }
10924 }
10925 if (obj4) {
10926 ecode5 = SWIG_AsVal_long(obj4, &val5);
10927 if (!SWIG_IsOK(ecode5)) {
10928 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10929 }
10930 arg5 = static_cast< long >(val5);
10931 }
10932 if (obj5) {
10933 {
10934 arg6 = wxString_in_helper(obj5);
10935 if (arg6 == NULL) SWIG_fail;
10936 temp6 = true;
10937 }
10938 }
10939 {
10940 if (!wxPyCheckForApp()) SWIG_fail;
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10943 wxPyEndAllowThreads(__tstate);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 }
10946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10947 {
10948 if (temp6)
10949 delete arg6;
10950 }
10951 return resultobj;
10952 fail:
10953 {
10954 if (temp6)
10955 delete arg6;
10956 }
10957 return NULL;
10958 }
10959
10960
10961 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10962 PyObject *resultobj = 0;
10963 wxSashWindow *result = 0 ;
10964
10965 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10966 {
10967 if (!wxPyCheckForApp()) SWIG_fail;
10968 PyThreadState* __tstate = wxPyBeginAllowThreads();
10969 result = (wxSashWindow *)new wxSashWindow();
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10974 return resultobj;
10975 fail:
10976 return NULL;
10977 }
10978
10979
10980 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10981 PyObject *resultobj = 0;
10982 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10983 wxWindow *arg2 = (wxWindow *) 0 ;
10984 int arg3 = (int) -1 ;
10985 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10986 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10987 wxSize const &arg5_defvalue = wxDefaultSize ;
10988 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10989 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10990 wxString const &arg7_defvalue = wxPySashNameStr ;
10991 wxString *arg7 = (wxString *) &arg7_defvalue ;
10992 bool result;
10993 void *argp1 = 0 ;
10994 int res1 = 0 ;
10995 void *argp2 = 0 ;
10996 int res2 = 0 ;
10997 int val3 ;
10998 int ecode3 = 0 ;
10999 wxPoint temp4 ;
11000 wxSize temp5 ;
11001 long val6 ;
11002 int ecode6 = 0 ;
11003 bool temp7 = false ;
11004 PyObject * obj0 = 0 ;
11005 PyObject * obj1 = 0 ;
11006 PyObject * obj2 = 0 ;
11007 PyObject * obj3 = 0 ;
11008 PyObject * obj4 = 0 ;
11009 PyObject * obj5 = 0 ;
11010 PyObject * obj6 = 0 ;
11011 char * kwnames[] = {
11012 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11013 };
11014
11015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11017 if (!SWIG_IsOK(res1)) {
11018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11019 }
11020 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11021 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11022 if (!SWIG_IsOK(res2)) {
11023 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11024 }
11025 arg2 = reinterpret_cast< wxWindow * >(argp2);
11026 if (obj2) {
11027 ecode3 = SWIG_AsVal_int(obj2, &val3);
11028 if (!SWIG_IsOK(ecode3)) {
11029 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11030 }
11031 arg3 = static_cast< int >(val3);
11032 }
11033 if (obj3) {
11034 {
11035 arg4 = &temp4;
11036 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11037 }
11038 }
11039 if (obj4) {
11040 {
11041 arg5 = &temp5;
11042 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11043 }
11044 }
11045 if (obj5) {
11046 ecode6 = SWIG_AsVal_long(obj5, &val6);
11047 if (!SWIG_IsOK(ecode6)) {
11048 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11049 }
11050 arg6 = static_cast< long >(val6);
11051 }
11052 if (obj6) {
11053 {
11054 arg7 = wxString_in_helper(obj6);
11055 if (arg7 == NULL) SWIG_fail;
11056 temp7 = true;
11057 }
11058 }
11059 {
11060 PyThreadState* __tstate = wxPyBeginAllowThreads();
11061 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11062 wxPyEndAllowThreads(__tstate);
11063 if (PyErr_Occurred()) SWIG_fail;
11064 }
11065 {
11066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11067 }
11068 {
11069 if (temp7)
11070 delete arg7;
11071 }
11072 return resultobj;
11073 fail:
11074 {
11075 if (temp7)
11076 delete arg7;
11077 }
11078 return NULL;
11079 }
11080
11081
11082 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj = 0;
11084 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11085 wxSashEdgePosition arg2 ;
11086 bool arg3 ;
11087 void *argp1 = 0 ;
11088 int res1 = 0 ;
11089 int val2 ;
11090 int ecode2 = 0 ;
11091 bool val3 ;
11092 int ecode3 = 0 ;
11093 PyObject * obj0 = 0 ;
11094 PyObject * obj1 = 0 ;
11095 PyObject * obj2 = 0 ;
11096 char * kwnames[] = {
11097 (char *) "self",(char *) "edge",(char *) "sash", NULL
11098 };
11099
11100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11102 if (!SWIG_IsOK(res1)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11104 }
11105 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11106 ecode2 = SWIG_AsVal_int(obj1, &val2);
11107 if (!SWIG_IsOK(ecode2)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11109 }
11110 arg2 = static_cast< wxSashEdgePosition >(val2);
11111 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11112 if (!SWIG_IsOK(ecode3)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11114 }
11115 arg3 = static_cast< bool >(val3);
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 (arg1)->SetSashVisible(arg2,arg3);
11119 wxPyEndAllowThreads(__tstate);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 resultobj = SWIG_Py_Void();
11123 return resultobj;
11124 fail:
11125 return NULL;
11126 }
11127
11128
11129 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11130 PyObject *resultobj = 0;
11131 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11132 wxSashEdgePosition arg2 ;
11133 bool result;
11134 void *argp1 = 0 ;
11135 int res1 = 0 ;
11136 int val2 ;
11137 int ecode2 = 0 ;
11138 PyObject * obj0 = 0 ;
11139 PyObject * obj1 = 0 ;
11140 char * kwnames[] = {
11141 (char *) "self",(char *) "edge", NULL
11142 };
11143
11144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11146 if (!SWIG_IsOK(res1)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11148 }
11149 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11150 ecode2 = SWIG_AsVal_int(obj1, &val2);
11151 if (!SWIG_IsOK(ecode2)) {
11152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11153 }
11154 arg2 = static_cast< wxSashEdgePosition >(val2);
11155 {
11156 PyThreadState* __tstate = wxPyBeginAllowThreads();
11157 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 {
11162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11163 }
11164 return resultobj;
11165 fail:
11166 return NULL;
11167 }
11168
11169
11170 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj = 0;
11172 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11173 wxSashEdgePosition arg2 ;
11174 bool arg3 ;
11175 void *argp1 = 0 ;
11176 int res1 = 0 ;
11177 int val2 ;
11178 int ecode2 = 0 ;
11179 bool val3 ;
11180 int ecode3 = 0 ;
11181 PyObject * obj0 = 0 ;
11182 PyObject * obj1 = 0 ;
11183 PyObject * obj2 = 0 ;
11184 char * kwnames[] = {
11185 (char *) "self",(char *) "edge",(char *) "border", NULL
11186 };
11187
11188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11190 if (!SWIG_IsOK(res1)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11192 }
11193 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11194 ecode2 = SWIG_AsVal_int(obj1, &val2);
11195 if (!SWIG_IsOK(ecode2)) {
11196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11197 }
11198 arg2 = static_cast< wxSashEdgePosition >(val2);
11199 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11200 if (!SWIG_IsOK(ecode3)) {
11201 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11202 }
11203 arg3 = static_cast< bool >(val3);
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 (arg1)->SetSashBorder(arg2,arg3);
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 resultobj = SWIG_Py_Void();
11211 return resultobj;
11212 fail:
11213 return NULL;
11214 }
11215
11216
11217 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11218 PyObject *resultobj = 0;
11219 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11220 wxSashEdgePosition arg2 ;
11221 bool result;
11222 void *argp1 = 0 ;
11223 int res1 = 0 ;
11224 int val2 ;
11225 int ecode2 = 0 ;
11226 PyObject * obj0 = 0 ;
11227 PyObject * obj1 = 0 ;
11228 char * kwnames[] = {
11229 (char *) "self",(char *) "edge", NULL
11230 };
11231
11232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11234 if (!SWIG_IsOK(res1)) {
11235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11236 }
11237 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11238 ecode2 = SWIG_AsVal_int(obj1, &val2);
11239 if (!SWIG_IsOK(ecode2)) {
11240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11241 }
11242 arg2 = static_cast< wxSashEdgePosition >(val2);
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11246 wxPyEndAllowThreads(__tstate);
11247 if (PyErr_Occurred()) SWIG_fail;
11248 }
11249 {
11250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11251 }
11252 return resultobj;
11253 fail:
11254 return NULL;
11255 }
11256
11257
11258 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11259 PyObject *resultobj = 0;
11260 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11261 wxSashEdgePosition arg2 ;
11262 int result;
11263 void *argp1 = 0 ;
11264 int res1 = 0 ;
11265 int val2 ;
11266 int ecode2 = 0 ;
11267 PyObject * obj0 = 0 ;
11268 PyObject * obj1 = 0 ;
11269 char * kwnames[] = {
11270 (char *) "self",(char *) "edge", NULL
11271 };
11272
11273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11275 if (!SWIG_IsOK(res1)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11277 }
11278 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11279 ecode2 = SWIG_AsVal_int(obj1, &val2);
11280 if (!SWIG_IsOK(ecode2)) {
11281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11282 }
11283 arg2 = static_cast< wxSashEdgePosition >(val2);
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 resultobj = SWIG_From_int(static_cast< int >(result));
11291 return resultobj;
11292 fail:
11293 return NULL;
11294 }
11295
11296
11297 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11298 PyObject *resultobj = 0;
11299 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11300 int arg2 ;
11301 void *argp1 = 0 ;
11302 int res1 = 0 ;
11303 int val2 ;
11304 int ecode2 = 0 ;
11305 PyObject * obj0 = 0 ;
11306 PyObject * obj1 = 0 ;
11307 char * kwnames[] = {
11308 (char *) "self",(char *) "width", NULL
11309 };
11310
11311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11313 if (!SWIG_IsOK(res1)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11315 }
11316 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11317 ecode2 = SWIG_AsVal_int(obj1, &val2);
11318 if (!SWIG_IsOK(ecode2)) {
11319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11320 }
11321 arg2 = static_cast< int >(val2);
11322 {
11323 PyThreadState* __tstate = wxPyBeginAllowThreads();
11324 (arg1)->SetDefaultBorderSize(arg2);
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 resultobj = SWIG_Py_Void();
11329 return resultobj;
11330 fail:
11331 return NULL;
11332 }
11333
11334
11335 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11336 PyObject *resultobj = 0;
11337 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11338 int result;
11339 void *argp1 = 0 ;
11340 int res1 = 0 ;
11341 PyObject *swig_obj[1] ;
11342
11343 if (!args) SWIG_fail;
11344 swig_obj[0] = args;
11345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11346 if (!SWIG_IsOK(res1)) {
11347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11348 }
11349 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11350 {
11351 PyThreadState* __tstate = wxPyBeginAllowThreads();
11352 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 resultobj = SWIG_From_int(static_cast< int >(result));
11357 return resultobj;
11358 fail:
11359 return NULL;
11360 }
11361
11362
11363 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj = 0;
11365 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11366 int arg2 ;
11367 void *argp1 = 0 ;
11368 int res1 = 0 ;
11369 int val2 ;
11370 int ecode2 = 0 ;
11371 PyObject * obj0 = 0 ;
11372 PyObject * obj1 = 0 ;
11373 char * kwnames[] = {
11374 (char *) "self",(char *) "width", NULL
11375 };
11376
11377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11379 if (!SWIG_IsOK(res1)) {
11380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11381 }
11382 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11383 ecode2 = SWIG_AsVal_int(obj1, &val2);
11384 if (!SWIG_IsOK(ecode2)) {
11385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11386 }
11387 arg2 = static_cast< int >(val2);
11388 {
11389 PyThreadState* __tstate = wxPyBeginAllowThreads();
11390 (arg1)->SetExtraBorderSize(arg2);
11391 wxPyEndAllowThreads(__tstate);
11392 if (PyErr_Occurred()) SWIG_fail;
11393 }
11394 resultobj = SWIG_Py_Void();
11395 return resultobj;
11396 fail:
11397 return NULL;
11398 }
11399
11400
11401 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11402 PyObject *resultobj = 0;
11403 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11404 int result;
11405 void *argp1 = 0 ;
11406 int res1 = 0 ;
11407 PyObject *swig_obj[1] ;
11408
11409 if (!args) SWIG_fail;
11410 swig_obj[0] = args;
11411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11412 if (!SWIG_IsOK(res1)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11414 }
11415 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 resultobj = SWIG_From_int(static_cast< int >(result));
11423 return resultobj;
11424 fail:
11425 return NULL;
11426 }
11427
11428
11429 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11430 PyObject *resultobj = 0;
11431 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11432 int arg2 ;
11433 void *argp1 = 0 ;
11434 int res1 = 0 ;
11435 int val2 ;
11436 int ecode2 = 0 ;
11437 PyObject * obj0 = 0 ;
11438 PyObject * obj1 = 0 ;
11439 char * kwnames[] = {
11440 (char *) "self",(char *) "min", NULL
11441 };
11442
11443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11445 if (!SWIG_IsOK(res1)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11447 }
11448 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11449 ecode2 = SWIG_AsVal_int(obj1, &val2);
11450 if (!SWIG_IsOK(ecode2)) {
11451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11452 }
11453 arg2 = static_cast< int >(val2);
11454 {
11455 PyThreadState* __tstate = wxPyBeginAllowThreads();
11456 (arg1)->SetMinimumSizeX(arg2);
11457 wxPyEndAllowThreads(__tstate);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 }
11460 resultobj = SWIG_Py_Void();
11461 return resultobj;
11462 fail:
11463 return NULL;
11464 }
11465
11466
11467 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11468 PyObject *resultobj = 0;
11469 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11470 int arg2 ;
11471 void *argp1 = 0 ;
11472 int res1 = 0 ;
11473 int val2 ;
11474 int ecode2 = 0 ;
11475 PyObject * obj0 = 0 ;
11476 PyObject * obj1 = 0 ;
11477 char * kwnames[] = {
11478 (char *) "self",(char *) "min", NULL
11479 };
11480
11481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11483 if (!SWIG_IsOK(res1)) {
11484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11485 }
11486 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11487 ecode2 = SWIG_AsVal_int(obj1, &val2);
11488 if (!SWIG_IsOK(ecode2)) {
11489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11490 }
11491 arg2 = static_cast< int >(val2);
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 (arg1)->SetMinimumSizeY(arg2);
11495 wxPyEndAllowThreads(__tstate);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
11498 resultobj = SWIG_Py_Void();
11499 return resultobj;
11500 fail:
11501 return NULL;
11502 }
11503
11504
11505 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11506 PyObject *resultobj = 0;
11507 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11508 int result;
11509 void *argp1 = 0 ;
11510 int res1 = 0 ;
11511 PyObject *swig_obj[1] ;
11512
11513 if (!args) SWIG_fail;
11514 swig_obj[0] = args;
11515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11516 if (!SWIG_IsOK(res1)) {
11517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11518 }
11519 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11520 {
11521 PyThreadState* __tstate = wxPyBeginAllowThreads();
11522 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 resultobj = SWIG_From_int(static_cast< int >(result));
11527 return resultobj;
11528 fail:
11529 return NULL;
11530 }
11531
11532
11533 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11534 PyObject *resultobj = 0;
11535 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11536 int result;
11537 void *argp1 = 0 ;
11538 int res1 = 0 ;
11539 PyObject *swig_obj[1] ;
11540
11541 if (!args) SWIG_fail;
11542 swig_obj[0] = args;
11543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11544 if (!SWIG_IsOK(res1)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11546 }
11547 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 resultobj = SWIG_From_int(static_cast< int >(result));
11555 return resultobj;
11556 fail:
11557 return NULL;
11558 }
11559
11560
11561 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11562 PyObject *resultobj = 0;
11563 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11564 int arg2 ;
11565 void *argp1 = 0 ;
11566 int res1 = 0 ;
11567 int val2 ;
11568 int ecode2 = 0 ;
11569 PyObject * obj0 = 0 ;
11570 PyObject * obj1 = 0 ;
11571 char * kwnames[] = {
11572 (char *) "self",(char *) "max", NULL
11573 };
11574
11575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11577 if (!SWIG_IsOK(res1)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11579 }
11580 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11581 ecode2 = SWIG_AsVal_int(obj1, &val2);
11582 if (!SWIG_IsOK(ecode2)) {
11583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11584 }
11585 arg2 = static_cast< int >(val2);
11586 {
11587 PyThreadState* __tstate = wxPyBeginAllowThreads();
11588 (arg1)->SetMaximumSizeX(arg2);
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
11592 resultobj = SWIG_Py_Void();
11593 return resultobj;
11594 fail:
11595 return NULL;
11596 }
11597
11598
11599 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11600 PyObject *resultobj = 0;
11601 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11602 int arg2 ;
11603 void *argp1 = 0 ;
11604 int res1 = 0 ;
11605 int val2 ;
11606 int ecode2 = 0 ;
11607 PyObject * obj0 = 0 ;
11608 PyObject * obj1 = 0 ;
11609 char * kwnames[] = {
11610 (char *) "self",(char *) "max", NULL
11611 };
11612
11613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11615 if (!SWIG_IsOK(res1)) {
11616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11617 }
11618 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11619 ecode2 = SWIG_AsVal_int(obj1, &val2);
11620 if (!SWIG_IsOK(ecode2)) {
11621 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11622 }
11623 arg2 = static_cast< int >(val2);
11624 {
11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
11626 (arg1)->SetMaximumSizeY(arg2);
11627 wxPyEndAllowThreads(__tstate);
11628 if (PyErr_Occurred()) SWIG_fail;
11629 }
11630 resultobj = SWIG_Py_Void();
11631 return resultobj;
11632 fail:
11633 return NULL;
11634 }
11635
11636
11637 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11638 PyObject *resultobj = 0;
11639 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11640 int result;
11641 void *argp1 = 0 ;
11642 int res1 = 0 ;
11643 PyObject *swig_obj[1] ;
11644
11645 if (!args) SWIG_fail;
11646 swig_obj[0] = args;
11647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11648 if (!SWIG_IsOK(res1)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11650 }
11651 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 resultobj = SWIG_From_int(static_cast< int >(result));
11659 return resultobj;
11660 fail:
11661 return NULL;
11662 }
11663
11664
11665 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11666 PyObject *resultobj = 0;
11667 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11668 int result;
11669 void *argp1 = 0 ;
11670 int res1 = 0 ;
11671 PyObject *swig_obj[1] ;
11672
11673 if (!args) SWIG_fail;
11674 swig_obj[0] = args;
11675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11676 if (!SWIG_IsOK(res1)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11678 }
11679 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11680 {
11681 PyThreadState* __tstate = wxPyBeginAllowThreads();
11682 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 resultobj = SWIG_From_int(static_cast< int >(result));
11687 return resultobj;
11688 fail:
11689 return NULL;
11690 }
11691
11692
11693 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11694 PyObject *resultobj = 0;
11695 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11696 int arg2 ;
11697 int arg3 ;
11698 int arg4 = (int) 2 ;
11699 wxSashEdgePosition result;
11700 void *argp1 = 0 ;
11701 int res1 = 0 ;
11702 int val2 ;
11703 int ecode2 = 0 ;
11704 int val3 ;
11705 int ecode3 = 0 ;
11706 int val4 ;
11707 int ecode4 = 0 ;
11708 PyObject * obj0 = 0 ;
11709 PyObject * obj1 = 0 ;
11710 PyObject * obj2 = 0 ;
11711 PyObject * obj3 = 0 ;
11712 char * kwnames[] = {
11713 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11714 };
11715
11716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11718 if (!SWIG_IsOK(res1)) {
11719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11720 }
11721 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11722 ecode2 = SWIG_AsVal_int(obj1, &val2);
11723 if (!SWIG_IsOK(ecode2)) {
11724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11725 }
11726 arg2 = static_cast< int >(val2);
11727 ecode3 = SWIG_AsVal_int(obj2, &val3);
11728 if (!SWIG_IsOK(ecode3)) {
11729 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11730 }
11731 arg3 = static_cast< int >(val3);
11732 if (obj3) {
11733 ecode4 = SWIG_AsVal_int(obj3, &val4);
11734 if (!SWIG_IsOK(ecode4)) {
11735 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11736 }
11737 arg4 = static_cast< int >(val4);
11738 }
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 resultobj = SWIG_From_int(static_cast< int >(result));
11746 return resultobj;
11747 fail:
11748 return NULL;
11749 }
11750
11751
11752 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11753 PyObject *resultobj = 0;
11754 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11755 void *argp1 = 0 ;
11756 int res1 = 0 ;
11757 PyObject *swig_obj[1] ;
11758
11759 if (!args) SWIG_fail;
11760 swig_obj[0] = args;
11761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11762 if (!SWIG_IsOK(res1)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11764 }
11765 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 (arg1)->SizeWindows();
11769 wxPyEndAllowThreads(__tstate);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 resultobj = SWIG_Py_Void();
11773 return resultobj;
11774 fail:
11775 return NULL;
11776 }
11777
11778
11779 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11780 PyObject *obj;
11781 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11782 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11783 return SWIG_Py_Void();
11784 }
11785
11786 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11787 return SWIG_Python_InitShadowInstance(args);
11788 }
11789
11790 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11791 PyObject *resultobj = 0;
11792 int arg1 = (int) 0 ;
11793 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11794 wxSashEvent *result = 0 ;
11795 int val1 ;
11796 int ecode1 = 0 ;
11797 int val2 ;
11798 int ecode2 = 0 ;
11799 PyObject * obj0 = 0 ;
11800 PyObject * obj1 = 0 ;
11801 char * kwnames[] = {
11802 (char *) "id",(char *) "edge", NULL
11803 };
11804
11805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11806 if (obj0) {
11807 ecode1 = SWIG_AsVal_int(obj0, &val1);
11808 if (!SWIG_IsOK(ecode1)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11810 }
11811 arg1 = static_cast< int >(val1);
11812 }
11813 if (obj1) {
11814 ecode2 = SWIG_AsVal_int(obj1, &val2);
11815 if (!SWIG_IsOK(ecode2)) {
11816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11817 }
11818 arg2 = static_cast< wxSashEdgePosition >(val2);
11819 }
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11827 return resultobj;
11828 fail:
11829 return NULL;
11830 }
11831
11832
11833 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj = 0;
11835 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11836 wxSashEdgePosition arg2 ;
11837 void *argp1 = 0 ;
11838 int res1 = 0 ;
11839 int val2 ;
11840 int ecode2 = 0 ;
11841 PyObject * obj0 = 0 ;
11842 PyObject * obj1 = 0 ;
11843 char * kwnames[] = {
11844 (char *) "self",(char *) "edge", NULL
11845 };
11846
11847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11849 if (!SWIG_IsOK(res1)) {
11850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11851 }
11852 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11853 ecode2 = SWIG_AsVal_int(obj1, &val2);
11854 if (!SWIG_IsOK(ecode2)) {
11855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11856 }
11857 arg2 = static_cast< wxSashEdgePosition >(val2);
11858 {
11859 PyThreadState* __tstate = wxPyBeginAllowThreads();
11860 (arg1)->SetEdge(arg2);
11861 wxPyEndAllowThreads(__tstate);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 resultobj = SWIG_Py_Void();
11865 return resultobj;
11866 fail:
11867 return NULL;
11868 }
11869
11870
11871 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11872 PyObject *resultobj = 0;
11873 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11874 wxSashEdgePosition result;
11875 void *argp1 = 0 ;
11876 int res1 = 0 ;
11877 PyObject *swig_obj[1] ;
11878
11879 if (!args) SWIG_fail;
11880 swig_obj[0] = args;
11881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11882 if (!SWIG_IsOK(res1)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11884 }
11885 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11889 wxPyEndAllowThreads(__tstate);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 resultobj = SWIG_From_int(static_cast< int >(result));
11893 return resultobj;
11894 fail:
11895 return NULL;
11896 }
11897
11898
11899 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11900 PyObject *resultobj = 0;
11901 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11902 wxRect *arg2 = 0 ;
11903 void *argp1 = 0 ;
11904 int res1 = 0 ;
11905 wxRect temp2 ;
11906 PyObject * obj0 = 0 ;
11907 PyObject * obj1 = 0 ;
11908 char * kwnames[] = {
11909 (char *) "self",(char *) "rect", NULL
11910 };
11911
11912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11914 if (!SWIG_IsOK(res1)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11916 }
11917 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11918 {
11919 arg2 = &temp2;
11920 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11921 }
11922 {
11923 PyThreadState* __tstate = wxPyBeginAllowThreads();
11924 (arg1)->SetDragRect((wxRect const &)*arg2);
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 resultobj = SWIG_Py_Void();
11929 return resultobj;
11930 fail:
11931 return NULL;
11932 }
11933
11934
11935 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11936 PyObject *resultobj = 0;
11937 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11938 wxRect result;
11939 void *argp1 = 0 ;
11940 int res1 = 0 ;
11941 PyObject *swig_obj[1] ;
11942
11943 if (!args) SWIG_fail;
11944 swig_obj[0] = args;
11945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11946 if (!SWIG_IsOK(res1)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11948 }
11949 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 result = ((wxSashEvent const *)arg1)->GetDragRect();
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11957 return resultobj;
11958 fail:
11959 return NULL;
11960 }
11961
11962
11963 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj = 0;
11965 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11966 wxSashDragStatus arg2 ;
11967 void *argp1 = 0 ;
11968 int res1 = 0 ;
11969 int val2 ;
11970 int ecode2 = 0 ;
11971 PyObject * obj0 = 0 ;
11972 PyObject * obj1 = 0 ;
11973 char * kwnames[] = {
11974 (char *) "self",(char *) "status", NULL
11975 };
11976
11977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11979 if (!SWIG_IsOK(res1)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11981 }
11982 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11983 ecode2 = SWIG_AsVal_int(obj1, &val2);
11984 if (!SWIG_IsOK(ecode2)) {
11985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11986 }
11987 arg2 = static_cast< wxSashDragStatus >(val2);
11988 {
11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
11990 (arg1)->SetDragStatus(arg2);
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
11994 resultobj = SWIG_Py_Void();
11995 return resultobj;
11996 fail:
11997 return NULL;
11998 }
11999
12000
12001 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12002 PyObject *resultobj = 0;
12003 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12004 wxSashDragStatus result;
12005 void *argp1 = 0 ;
12006 int res1 = 0 ;
12007 PyObject *swig_obj[1] ;
12008
12009 if (!args) SWIG_fail;
12010 swig_obj[0] = args;
12011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12012 if (!SWIG_IsOK(res1)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12014 }
12015 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12016 {
12017 PyThreadState* __tstate = wxPyBeginAllowThreads();
12018 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12019 wxPyEndAllowThreads(__tstate);
12020 if (PyErr_Occurred()) SWIG_fail;
12021 }
12022 resultobj = SWIG_From_int(static_cast< int >(result));
12023 return resultobj;
12024 fail:
12025 return NULL;
12026 }
12027
12028
12029 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12030 PyObject *obj;
12031 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12032 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12033 return SWIG_Py_Void();
12034 }
12035
12036 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12037 return SWIG_Python_InitShadowInstance(args);
12038 }
12039
12040 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj = 0;
12042 int arg1 = (int) 0 ;
12043 wxQueryLayoutInfoEvent *result = 0 ;
12044 int val1 ;
12045 int ecode1 = 0 ;
12046 PyObject * obj0 = 0 ;
12047 char * kwnames[] = {
12048 (char *) "id", NULL
12049 };
12050
12051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12052 if (obj0) {
12053 ecode1 = SWIG_AsVal_int(obj0, &val1);
12054 if (!SWIG_IsOK(ecode1)) {
12055 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12056 }
12057 arg1 = static_cast< int >(val1);
12058 }
12059 {
12060 PyThreadState* __tstate = wxPyBeginAllowThreads();
12061 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12062 wxPyEndAllowThreads(__tstate);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 }
12065 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12066 return resultobj;
12067 fail:
12068 return NULL;
12069 }
12070
12071
12072 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12073 PyObject *resultobj = 0;
12074 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12075 int arg2 ;
12076 void *argp1 = 0 ;
12077 int res1 = 0 ;
12078 int val2 ;
12079 int ecode2 = 0 ;
12080 PyObject * obj0 = 0 ;
12081 PyObject * obj1 = 0 ;
12082 char * kwnames[] = {
12083 (char *) "self",(char *) "length", NULL
12084 };
12085
12086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12088 if (!SWIG_IsOK(res1)) {
12089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12090 }
12091 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12092 ecode2 = SWIG_AsVal_int(obj1, &val2);
12093 if (!SWIG_IsOK(ecode2)) {
12094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12095 }
12096 arg2 = static_cast< int >(val2);
12097 {
12098 PyThreadState* __tstate = wxPyBeginAllowThreads();
12099 (arg1)->SetRequestedLength(arg2);
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 resultobj = SWIG_Py_Void();
12104 return resultobj;
12105 fail:
12106 return NULL;
12107 }
12108
12109
12110 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12111 PyObject *resultobj = 0;
12112 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12113 int result;
12114 void *argp1 = 0 ;
12115 int res1 = 0 ;
12116 PyObject *swig_obj[1] ;
12117
12118 if (!args) SWIG_fail;
12119 swig_obj[0] = args;
12120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12121 if (!SWIG_IsOK(res1)) {
12122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12123 }
12124 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12125 {
12126 PyThreadState* __tstate = wxPyBeginAllowThreads();
12127 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 resultobj = SWIG_From_int(static_cast< int >(result));
12132 return resultobj;
12133 fail:
12134 return NULL;
12135 }
12136
12137
12138 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12139 PyObject *resultobj = 0;
12140 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12141 int arg2 ;
12142 void *argp1 = 0 ;
12143 int res1 = 0 ;
12144 int val2 ;
12145 int ecode2 = 0 ;
12146 PyObject * obj0 = 0 ;
12147 PyObject * obj1 = 0 ;
12148 char * kwnames[] = {
12149 (char *) "self",(char *) "flags", NULL
12150 };
12151
12152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12154 if (!SWIG_IsOK(res1)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12156 }
12157 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12158 ecode2 = SWIG_AsVal_int(obj1, &val2);
12159 if (!SWIG_IsOK(ecode2)) {
12160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12161 }
12162 arg2 = static_cast< int >(val2);
12163 {
12164 PyThreadState* __tstate = wxPyBeginAllowThreads();
12165 (arg1)->SetFlags(arg2);
12166 wxPyEndAllowThreads(__tstate);
12167 if (PyErr_Occurred()) SWIG_fail;
12168 }
12169 resultobj = SWIG_Py_Void();
12170 return resultobj;
12171 fail:
12172 return NULL;
12173 }
12174
12175
12176 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12177 PyObject *resultobj = 0;
12178 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12179 int result;
12180 void *argp1 = 0 ;
12181 int res1 = 0 ;
12182 PyObject *swig_obj[1] ;
12183
12184 if (!args) SWIG_fail;
12185 swig_obj[0] = args;
12186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12187 if (!SWIG_IsOK(res1)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12189 }
12190 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12191 {
12192 PyThreadState* __tstate = wxPyBeginAllowThreads();
12193 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 resultobj = SWIG_From_int(static_cast< int >(result));
12198 return resultobj;
12199 fail:
12200 return NULL;
12201 }
12202
12203
12204 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12205 PyObject *resultobj = 0;
12206 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12207 wxSize *arg2 = 0 ;
12208 void *argp1 = 0 ;
12209 int res1 = 0 ;
12210 wxSize temp2 ;
12211 PyObject * obj0 = 0 ;
12212 PyObject * obj1 = 0 ;
12213 char * kwnames[] = {
12214 (char *) "self",(char *) "size", NULL
12215 };
12216
12217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12219 if (!SWIG_IsOK(res1)) {
12220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12221 }
12222 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12223 {
12224 arg2 = &temp2;
12225 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12226 }
12227 {
12228 PyThreadState* __tstate = wxPyBeginAllowThreads();
12229 (arg1)->SetSize((wxSize const &)*arg2);
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 resultobj = SWIG_Py_Void();
12234 return resultobj;
12235 fail:
12236 return NULL;
12237 }
12238
12239
12240 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12241 PyObject *resultobj = 0;
12242 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12243 wxSize result;
12244 void *argp1 = 0 ;
12245 int res1 = 0 ;
12246 PyObject *swig_obj[1] ;
12247
12248 if (!args) SWIG_fail;
12249 swig_obj[0] = args;
12250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12251 if (!SWIG_IsOK(res1)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12253 }
12254 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12262 return resultobj;
12263 fail:
12264 return NULL;
12265 }
12266
12267
12268 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12269 PyObject *resultobj = 0;
12270 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12271 wxLayoutOrientation arg2 ;
12272 void *argp1 = 0 ;
12273 int res1 = 0 ;
12274 int val2 ;
12275 int ecode2 = 0 ;
12276 PyObject * obj0 = 0 ;
12277 PyObject * obj1 = 0 ;
12278 char * kwnames[] = {
12279 (char *) "self",(char *) "orient", NULL
12280 };
12281
12282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12284 if (!SWIG_IsOK(res1)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12286 }
12287 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12288 ecode2 = SWIG_AsVal_int(obj1, &val2);
12289 if (!SWIG_IsOK(ecode2)) {
12290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12291 }
12292 arg2 = static_cast< wxLayoutOrientation >(val2);
12293 {
12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
12295 (arg1)->SetOrientation(arg2);
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
12299 resultobj = SWIG_Py_Void();
12300 return resultobj;
12301 fail:
12302 return NULL;
12303 }
12304
12305
12306 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12307 PyObject *resultobj = 0;
12308 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12309 wxLayoutOrientation result;
12310 void *argp1 = 0 ;
12311 int res1 = 0 ;
12312 PyObject *swig_obj[1] ;
12313
12314 if (!args) SWIG_fail;
12315 swig_obj[0] = args;
12316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12317 if (!SWIG_IsOK(res1)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12319 }
12320 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12324 wxPyEndAllowThreads(__tstate);
12325 if (PyErr_Occurred()) SWIG_fail;
12326 }
12327 resultobj = SWIG_From_int(static_cast< int >(result));
12328 return resultobj;
12329 fail:
12330 return NULL;
12331 }
12332
12333
12334 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12335 PyObject *resultobj = 0;
12336 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12337 wxLayoutAlignment arg2 ;
12338 void *argp1 = 0 ;
12339 int res1 = 0 ;
12340 int val2 ;
12341 int ecode2 = 0 ;
12342 PyObject * obj0 = 0 ;
12343 PyObject * obj1 = 0 ;
12344 char * kwnames[] = {
12345 (char *) "self",(char *) "align", NULL
12346 };
12347
12348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12350 if (!SWIG_IsOK(res1)) {
12351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12352 }
12353 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12354 ecode2 = SWIG_AsVal_int(obj1, &val2);
12355 if (!SWIG_IsOK(ecode2)) {
12356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12357 }
12358 arg2 = static_cast< wxLayoutAlignment >(val2);
12359 {
12360 PyThreadState* __tstate = wxPyBeginAllowThreads();
12361 (arg1)->SetAlignment(arg2);
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 resultobj = SWIG_Py_Void();
12366 return resultobj;
12367 fail:
12368 return NULL;
12369 }
12370
12371
12372 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12373 PyObject *resultobj = 0;
12374 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12375 wxLayoutAlignment result;
12376 void *argp1 = 0 ;
12377 int res1 = 0 ;
12378 PyObject *swig_obj[1] ;
12379
12380 if (!args) SWIG_fail;
12381 swig_obj[0] = args;
12382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12383 if (!SWIG_IsOK(res1)) {
12384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12385 }
12386 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12387 {
12388 PyThreadState* __tstate = wxPyBeginAllowThreads();
12389 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12390 wxPyEndAllowThreads(__tstate);
12391 if (PyErr_Occurred()) SWIG_fail;
12392 }
12393 resultobj = SWIG_From_int(static_cast< int >(result));
12394 return resultobj;
12395 fail:
12396 return NULL;
12397 }
12398
12399
12400 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12401 PyObject *obj;
12402 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12403 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12404 return SWIG_Py_Void();
12405 }
12406
12407 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12408 return SWIG_Python_InitShadowInstance(args);
12409 }
12410
12411 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12412 PyObject *resultobj = 0;
12413 int arg1 = (int) 0 ;
12414 wxCalculateLayoutEvent *result = 0 ;
12415 int val1 ;
12416 int ecode1 = 0 ;
12417 PyObject * obj0 = 0 ;
12418 char * kwnames[] = {
12419 (char *) "id", NULL
12420 };
12421
12422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12423 if (obj0) {
12424 ecode1 = SWIG_AsVal_int(obj0, &val1);
12425 if (!SWIG_IsOK(ecode1)) {
12426 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12427 }
12428 arg1 = static_cast< int >(val1);
12429 }
12430 {
12431 PyThreadState* __tstate = wxPyBeginAllowThreads();
12432 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12433 wxPyEndAllowThreads(__tstate);
12434 if (PyErr_Occurred()) SWIG_fail;
12435 }
12436 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12437 return resultobj;
12438 fail:
12439 return NULL;
12440 }
12441
12442
12443 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj = 0;
12445 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12446 int arg2 ;
12447 void *argp1 = 0 ;
12448 int res1 = 0 ;
12449 int val2 ;
12450 int ecode2 = 0 ;
12451 PyObject * obj0 = 0 ;
12452 PyObject * obj1 = 0 ;
12453 char * kwnames[] = {
12454 (char *) "self",(char *) "flags", NULL
12455 };
12456
12457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12459 if (!SWIG_IsOK(res1)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12461 }
12462 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12463 ecode2 = SWIG_AsVal_int(obj1, &val2);
12464 if (!SWIG_IsOK(ecode2)) {
12465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12466 }
12467 arg2 = static_cast< int >(val2);
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 (arg1)->SetFlags(arg2);
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 resultobj = SWIG_Py_Void();
12475 return resultobj;
12476 fail:
12477 return NULL;
12478 }
12479
12480
12481 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12482 PyObject *resultobj = 0;
12483 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12484 int result;
12485 void *argp1 = 0 ;
12486 int res1 = 0 ;
12487 PyObject *swig_obj[1] ;
12488
12489 if (!args) SWIG_fail;
12490 swig_obj[0] = args;
12491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12492 if (!SWIG_IsOK(res1)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12494 }
12495 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12499 wxPyEndAllowThreads(__tstate);
12500 if (PyErr_Occurred()) SWIG_fail;
12501 }
12502 resultobj = SWIG_From_int(static_cast< int >(result));
12503 return resultobj;
12504 fail:
12505 return NULL;
12506 }
12507
12508
12509 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12510 PyObject *resultobj = 0;
12511 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12512 wxRect *arg2 = 0 ;
12513 void *argp1 = 0 ;
12514 int res1 = 0 ;
12515 wxRect temp2 ;
12516 PyObject * obj0 = 0 ;
12517 PyObject * obj1 = 0 ;
12518 char * kwnames[] = {
12519 (char *) "self",(char *) "rect", NULL
12520 };
12521
12522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12524 if (!SWIG_IsOK(res1)) {
12525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12526 }
12527 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12528 {
12529 arg2 = &temp2;
12530 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12531 }
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 (arg1)->SetRect((wxRect const &)*arg2);
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 resultobj = SWIG_Py_Void();
12539 return resultobj;
12540 fail:
12541 return NULL;
12542 }
12543
12544
12545 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12546 PyObject *resultobj = 0;
12547 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12548 wxRect result;
12549 void *argp1 = 0 ;
12550 int res1 = 0 ;
12551 PyObject *swig_obj[1] ;
12552
12553 if (!args) SWIG_fail;
12554 swig_obj[0] = args;
12555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12556 if (!SWIG_IsOK(res1)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12558 }
12559 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12560 {
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12563 wxPyEndAllowThreads(__tstate);
12564 if (PyErr_Occurred()) SWIG_fail;
12565 }
12566 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12567 return resultobj;
12568 fail:
12569 return NULL;
12570 }
12571
12572
12573 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12574 PyObject *obj;
12575 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12576 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12577 return SWIG_Py_Void();
12578 }
12579
12580 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12581 return SWIG_Python_InitShadowInstance(args);
12582 }
12583
12584 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj = 0;
12586 wxWindow *arg1 = (wxWindow *) 0 ;
12587 int arg2 = (int) -1 ;
12588 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12589 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12590 wxSize const &arg4_defvalue = wxDefaultSize ;
12591 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12592 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12593 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12594 wxString *arg6 = (wxString *) &arg6_defvalue ;
12595 wxSashLayoutWindow *result = 0 ;
12596 void *argp1 = 0 ;
12597 int res1 = 0 ;
12598 int val2 ;
12599 int ecode2 = 0 ;
12600 wxPoint temp3 ;
12601 wxSize temp4 ;
12602 long val5 ;
12603 int ecode5 = 0 ;
12604 bool temp6 = false ;
12605 PyObject * obj0 = 0 ;
12606 PyObject * obj1 = 0 ;
12607 PyObject * obj2 = 0 ;
12608 PyObject * obj3 = 0 ;
12609 PyObject * obj4 = 0 ;
12610 PyObject * obj5 = 0 ;
12611 char * kwnames[] = {
12612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12613 };
12614
12615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12617 if (!SWIG_IsOK(res1)) {
12618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12619 }
12620 arg1 = reinterpret_cast< wxWindow * >(argp1);
12621 if (obj1) {
12622 ecode2 = SWIG_AsVal_int(obj1, &val2);
12623 if (!SWIG_IsOK(ecode2)) {
12624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12625 }
12626 arg2 = static_cast< int >(val2);
12627 }
12628 if (obj2) {
12629 {
12630 arg3 = &temp3;
12631 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12632 }
12633 }
12634 if (obj3) {
12635 {
12636 arg4 = &temp4;
12637 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12638 }
12639 }
12640 if (obj4) {
12641 ecode5 = SWIG_AsVal_long(obj4, &val5);
12642 if (!SWIG_IsOK(ecode5)) {
12643 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12644 }
12645 arg5 = static_cast< long >(val5);
12646 }
12647 if (obj5) {
12648 {
12649 arg6 = wxString_in_helper(obj5);
12650 if (arg6 == NULL) SWIG_fail;
12651 temp6 = true;
12652 }
12653 }
12654 {
12655 if (!wxPyCheckForApp()) SWIG_fail;
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12658 wxPyEndAllowThreads(__tstate);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
12661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12662 {
12663 if (temp6)
12664 delete arg6;
12665 }
12666 return resultobj;
12667 fail:
12668 {
12669 if (temp6)
12670 delete arg6;
12671 }
12672 return NULL;
12673 }
12674
12675
12676 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12677 PyObject *resultobj = 0;
12678 wxSashLayoutWindow *result = 0 ;
12679
12680 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12681 {
12682 if (!wxPyCheckForApp()) SWIG_fail;
12683 PyThreadState* __tstate = wxPyBeginAllowThreads();
12684 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12685 wxPyEndAllowThreads(__tstate);
12686 if (PyErr_Occurred()) SWIG_fail;
12687 }
12688 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12689 return resultobj;
12690 fail:
12691 return NULL;
12692 }
12693
12694
12695 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12696 PyObject *resultobj = 0;
12697 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12698 wxWindow *arg2 = (wxWindow *) 0 ;
12699 int arg3 = (int) -1 ;
12700 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12701 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12702 wxSize const &arg5_defvalue = wxDefaultSize ;
12703 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12704 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12705 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12706 wxString *arg7 = (wxString *) &arg7_defvalue ;
12707 bool result;
12708 void *argp1 = 0 ;
12709 int res1 = 0 ;
12710 void *argp2 = 0 ;
12711 int res2 = 0 ;
12712 int val3 ;
12713 int ecode3 = 0 ;
12714 wxPoint temp4 ;
12715 wxSize temp5 ;
12716 long val6 ;
12717 int ecode6 = 0 ;
12718 bool temp7 = false ;
12719 PyObject * obj0 = 0 ;
12720 PyObject * obj1 = 0 ;
12721 PyObject * obj2 = 0 ;
12722 PyObject * obj3 = 0 ;
12723 PyObject * obj4 = 0 ;
12724 PyObject * obj5 = 0 ;
12725 PyObject * obj6 = 0 ;
12726 char * kwnames[] = {
12727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12728 };
12729
12730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12732 if (!SWIG_IsOK(res1)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12734 }
12735 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12736 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12737 if (!SWIG_IsOK(res2)) {
12738 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12739 }
12740 arg2 = reinterpret_cast< wxWindow * >(argp2);
12741 if (obj2) {
12742 ecode3 = SWIG_AsVal_int(obj2, &val3);
12743 if (!SWIG_IsOK(ecode3)) {
12744 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12745 }
12746 arg3 = static_cast< int >(val3);
12747 }
12748 if (obj3) {
12749 {
12750 arg4 = &temp4;
12751 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12752 }
12753 }
12754 if (obj4) {
12755 {
12756 arg5 = &temp5;
12757 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12758 }
12759 }
12760 if (obj5) {
12761 ecode6 = SWIG_AsVal_long(obj5, &val6);
12762 if (!SWIG_IsOK(ecode6)) {
12763 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12764 }
12765 arg6 = static_cast< long >(val6);
12766 }
12767 if (obj6) {
12768 {
12769 arg7 = wxString_in_helper(obj6);
12770 if (arg7 == NULL) SWIG_fail;
12771 temp7 = true;
12772 }
12773 }
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12777 wxPyEndAllowThreads(__tstate);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 }
12780 {
12781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12782 }
12783 {
12784 if (temp7)
12785 delete arg7;
12786 }
12787 return resultobj;
12788 fail:
12789 {
12790 if (temp7)
12791 delete arg7;
12792 }
12793 return NULL;
12794 }
12795
12796
12797 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12798 PyObject *resultobj = 0;
12799 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12800 wxLayoutAlignment result;
12801 void *argp1 = 0 ;
12802 int res1 = 0 ;
12803 PyObject *swig_obj[1] ;
12804
12805 if (!args) SWIG_fail;
12806 swig_obj[0] = args;
12807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12808 if (!SWIG_IsOK(res1)) {
12809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12810 }
12811 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12815 wxPyEndAllowThreads(__tstate);
12816 if (PyErr_Occurred()) SWIG_fail;
12817 }
12818 resultobj = SWIG_From_int(static_cast< int >(result));
12819 return resultobj;
12820 fail:
12821 return NULL;
12822 }
12823
12824
12825 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12826 PyObject *resultobj = 0;
12827 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12828 wxLayoutOrientation result;
12829 void *argp1 = 0 ;
12830 int res1 = 0 ;
12831 PyObject *swig_obj[1] ;
12832
12833 if (!args) SWIG_fail;
12834 swig_obj[0] = args;
12835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12836 if (!SWIG_IsOK(res1)) {
12837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12838 }
12839 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12843 wxPyEndAllowThreads(__tstate);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 }
12846 resultobj = SWIG_From_int(static_cast< int >(result));
12847 return resultobj;
12848 fail:
12849 return NULL;
12850 }
12851
12852
12853 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12854 PyObject *resultobj = 0;
12855 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12856 wxLayoutAlignment arg2 ;
12857 void *argp1 = 0 ;
12858 int res1 = 0 ;
12859 int val2 ;
12860 int ecode2 = 0 ;
12861 PyObject * obj0 = 0 ;
12862 PyObject * obj1 = 0 ;
12863 char * kwnames[] = {
12864 (char *) "self",(char *) "alignment", NULL
12865 };
12866
12867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12869 if (!SWIG_IsOK(res1)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12871 }
12872 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12873 ecode2 = SWIG_AsVal_int(obj1, &val2);
12874 if (!SWIG_IsOK(ecode2)) {
12875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12876 }
12877 arg2 = static_cast< wxLayoutAlignment >(val2);
12878 {
12879 PyThreadState* __tstate = wxPyBeginAllowThreads();
12880 (arg1)->SetAlignment(arg2);
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = SWIG_Py_Void();
12885 return resultobj;
12886 fail:
12887 return NULL;
12888 }
12889
12890
12891 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj = 0;
12893 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12894 wxSize *arg2 = 0 ;
12895 void *argp1 = 0 ;
12896 int res1 = 0 ;
12897 wxSize temp2 ;
12898 PyObject * obj0 = 0 ;
12899 PyObject * obj1 = 0 ;
12900 char * kwnames[] = {
12901 (char *) "self",(char *) "size", NULL
12902 };
12903
12904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12906 if (!SWIG_IsOK(res1)) {
12907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12908 }
12909 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12910 {
12911 arg2 = &temp2;
12912 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12913 }
12914 {
12915 PyThreadState* __tstate = wxPyBeginAllowThreads();
12916 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
12920 resultobj = SWIG_Py_Void();
12921 return resultobj;
12922 fail:
12923 return NULL;
12924 }
12925
12926
12927 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12928 PyObject *resultobj = 0;
12929 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12930 wxLayoutOrientation arg2 ;
12931 void *argp1 = 0 ;
12932 int res1 = 0 ;
12933 int val2 ;
12934 int ecode2 = 0 ;
12935 PyObject * obj0 = 0 ;
12936 PyObject * obj1 = 0 ;
12937 char * kwnames[] = {
12938 (char *) "self",(char *) "orientation", NULL
12939 };
12940
12941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12943 if (!SWIG_IsOK(res1)) {
12944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12945 }
12946 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12947 ecode2 = SWIG_AsVal_int(obj1, &val2);
12948 if (!SWIG_IsOK(ecode2)) {
12949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12950 }
12951 arg2 = static_cast< wxLayoutOrientation >(val2);
12952 {
12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
12954 (arg1)->SetOrientation(arg2);
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 resultobj = SWIG_Py_Void();
12959 return resultobj;
12960 fail:
12961 return NULL;
12962 }
12963
12964
12965 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12966 PyObject *obj;
12967 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12968 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12969 return SWIG_Py_Void();
12970 }
12971
12972 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12973 return SWIG_Python_InitShadowInstance(args);
12974 }
12975
12976 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12977 PyObject *resultobj = 0;
12978 wxLayoutAlgorithm *result = 0 ;
12979
12980 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12981 {
12982 PyThreadState* __tstate = wxPyBeginAllowThreads();
12983 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12988 return resultobj;
12989 fail:
12990 return NULL;
12991 }
12992
12993
12994 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12995 PyObject *resultobj = 0;
12996 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12997 void *argp1 = 0 ;
12998 int res1 = 0 ;
12999 PyObject *swig_obj[1] ;
13000
13001 if (!args) SWIG_fail;
13002 swig_obj[0] = args;
13003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13004 if (!SWIG_IsOK(res1)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13006 }
13007 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13008 {
13009 PyThreadState* __tstate = wxPyBeginAllowThreads();
13010 delete arg1;
13011
13012 wxPyEndAllowThreads(__tstate);
13013 if (PyErr_Occurred()) SWIG_fail;
13014 }
13015 resultobj = SWIG_Py_Void();
13016 return resultobj;
13017 fail:
13018 return NULL;
13019 }
13020
13021
13022 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13023 PyObject *resultobj = 0;
13024 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13025 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13026 wxRect *arg3 = (wxRect *) NULL ;
13027 bool result;
13028 void *argp1 = 0 ;
13029 int res1 = 0 ;
13030 void *argp2 = 0 ;
13031 int res2 = 0 ;
13032 void *argp3 = 0 ;
13033 int res3 = 0 ;
13034 PyObject * obj0 = 0 ;
13035 PyObject * obj1 = 0 ;
13036 PyObject * obj2 = 0 ;
13037 char * kwnames[] = {
13038 (char *) "self",(char *) "frame",(char *) "rect", NULL
13039 };
13040
13041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13043 if (!SWIG_IsOK(res1)) {
13044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13045 }
13046 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13047 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13048 if (!SWIG_IsOK(res2)) {
13049 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13050 }
13051 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13052 if (obj2) {
13053 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13054 if (!SWIG_IsOK(res3)) {
13055 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13056 }
13057 arg3 = reinterpret_cast< wxRect * >(argp3);
13058 }
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 {
13066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13067 }
13068 return resultobj;
13069 fail:
13070 return NULL;
13071 }
13072
13073
13074 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13075 PyObject *resultobj = 0;
13076 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13077 wxFrame *arg2 = (wxFrame *) 0 ;
13078 wxWindow *arg3 = (wxWindow *) NULL ;
13079 bool result;
13080 void *argp1 = 0 ;
13081 int res1 = 0 ;
13082 void *argp2 = 0 ;
13083 int res2 = 0 ;
13084 void *argp3 = 0 ;
13085 int res3 = 0 ;
13086 PyObject * obj0 = 0 ;
13087 PyObject * obj1 = 0 ;
13088 PyObject * obj2 = 0 ;
13089 char * kwnames[] = {
13090 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13091 };
13092
13093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13095 if (!SWIG_IsOK(res1)) {
13096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13097 }
13098 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13099 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13100 if (!SWIG_IsOK(res2)) {
13101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13102 }
13103 arg2 = reinterpret_cast< wxFrame * >(argp2);
13104 if (obj2) {
13105 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13106 if (!SWIG_IsOK(res3)) {
13107 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13108 }
13109 arg3 = reinterpret_cast< wxWindow * >(argp3);
13110 }
13111 {
13112 PyThreadState* __tstate = wxPyBeginAllowThreads();
13113 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 {
13118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13119 }
13120 return resultobj;
13121 fail:
13122 return NULL;
13123 }
13124
13125
13126 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj = 0;
13128 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13129 wxWindow *arg2 = (wxWindow *) 0 ;
13130 wxWindow *arg3 = (wxWindow *) NULL ;
13131 bool result;
13132 void *argp1 = 0 ;
13133 int res1 = 0 ;
13134 void *argp2 = 0 ;
13135 int res2 = 0 ;
13136 void *argp3 = 0 ;
13137 int res3 = 0 ;
13138 PyObject * obj0 = 0 ;
13139 PyObject * obj1 = 0 ;
13140 PyObject * obj2 = 0 ;
13141 char * kwnames[] = {
13142 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13143 };
13144
13145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13147 if (!SWIG_IsOK(res1)) {
13148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13149 }
13150 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13151 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13152 if (!SWIG_IsOK(res2)) {
13153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13154 }
13155 arg2 = reinterpret_cast< wxWindow * >(argp2);
13156 if (obj2) {
13157 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13158 if (!SWIG_IsOK(res3)) {
13159 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13160 }
13161 arg3 = reinterpret_cast< wxWindow * >(argp3);
13162 }
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 {
13170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13171 }
13172 return resultobj;
13173 fail:
13174 return NULL;
13175 }
13176
13177
13178 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13179 PyObject *obj;
13180 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13181 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13182 return SWIG_Py_Void();
13183 }
13184
13185 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13186 return SWIG_Python_InitShadowInstance(args);
13187 }
13188
13189 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13190 PyObject *resultobj = 0;
13191 wxWindow *arg1 = (wxWindow *) 0 ;
13192 int arg2 = (int) wxBORDER_NONE ;
13193 wxPopupWindow *result = 0 ;
13194 void *argp1 = 0 ;
13195 int res1 = 0 ;
13196 int val2 ;
13197 int ecode2 = 0 ;
13198 PyObject * obj0 = 0 ;
13199 PyObject * obj1 = 0 ;
13200 char * kwnames[] = {
13201 (char *) "parent",(char *) "flags", NULL
13202 };
13203
13204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13206 if (!SWIG_IsOK(res1)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13208 }
13209 arg1 = reinterpret_cast< wxWindow * >(argp1);
13210 if (obj1) {
13211 ecode2 = SWIG_AsVal_int(obj1, &val2);
13212 if (!SWIG_IsOK(ecode2)) {
13213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13214 }
13215 arg2 = static_cast< int >(val2);
13216 }
13217 {
13218 if (!wxPyCheckForApp()) SWIG_fail;
13219 PyThreadState* __tstate = wxPyBeginAllowThreads();
13220 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13221 wxPyEndAllowThreads(__tstate);
13222 if (PyErr_Occurred()) SWIG_fail;
13223 }
13224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13225 return resultobj;
13226 fail:
13227 return NULL;
13228 }
13229
13230
13231 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13232 PyObject *resultobj = 0;
13233 wxPopupWindow *result = 0 ;
13234
13235 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13236 {
13237 if (!wxPyCheckForApp()) SWIG_fail;
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 result = (wxPopupWindow *)new wxPopupWindow();
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
13243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13244 return resultobj;
13245 fail:
13246 return NULL;
13247 }
13248
13249
13250 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13251 PyObject *resultobj = 0;
13252 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13253 wxWindow *arg2 = (wxWindow *) 0 ;
13254 int arg3 = (int) wxBORDER_NONE ;
13255 bool result;
13256 void *argp1 = 0 ;
13257 int res1 = 0 ;
13258 void *argp2 = 0 ;
13259 int res2 = 0 ;
13260 int val3 ;
13261 int ecode3 = 0 ;
13262 PyObject * obj0 = 0 ;
13263 PyObject * obj1 = 0 ;
13264 PyObject * obj2 = 0 ;
13265 char * kwnames[] = {
13266 (char *) "self",(char *) "parent",(char *) "flags", NULL
13267 };
13268
13269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13271 if (!SWIG_IsOK(res1)) {
13272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13273 }
13274 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13275 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13276 if (!SWIG_IsOK(res2)) {
13277 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13278 }
13279 arg2 = reinterpret_cast< wxWindow * >(argp2);
13280 if (obj2) {
13281 ecode3 = SWIG_AsVal_int(obj2, &val3);
13282 if (!SWIG_IsOK(ecode3)) {
13283 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13284 }
13285 arg3 = static_cast< int >(val3);
13286 }
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 result = (bool)(arg1)->Create(arg2,arg3);
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 {
13294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13295 }
13296 return resultobj;
13297 fail:
13298 return NULL;
13299 }
13300
13301
13302 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj = 0;
13304 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13305 wxPoint *arg2 = 0 ;
13306 wxSize *arg3 = 0 ;
13307 void *argp1 = 0 ;
13308 int res1 = 0 ;
13309 wxPoint temp2 ;
13310 wxSize temp3 ;
13311 PyObject * obj0 = 0 ;
13312 PyObject * obj1 = 0 ;
13313 PyObject * obj2 = 0 ;
13314 char * kwnames[] = {
13315 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13316 };
13317
13318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13320 if (!SWIG_IsOK(res1)) {
13321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13322 }
13323 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13324 {
13325 arg2 = &temp2;
13326 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13327 }
13328 {
13329 arg3 = &temp3;
13330 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13331 }
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 resultobj = SWIG_Py_Void();
13339 return resultobj;
13340 fail:
13341 return NULL;
13342 }
13343
13344
13345 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13346 PyObject *obj;
13347 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13348 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13349 return SWIG_Py_Void();
13350 }
13351
13352 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13353 return SWIG_Python_InitShadowInstance(args);
13354 }
13355
13356 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj = 0;
13358 wxWindow *arg1 = (wxWindow *) 0 ;
13359 int arg2 = (int) wxBORDER_NONE ;
13360 wxPyPopupTransientWindow *result = 0 ;
13361 void *argp1 = 0 ;
13362 int res1 = 0 ;
13363 int val2 ;
13364 int ecode2 = 0 ;
13365 PyObject * obj0 = 0 ;
13366 PyObject * obj1 = 0 ;
13367 char * kwnames[] = {
13368 (char *) "parent",(char *) "style", NULL
13369 };
13370
13371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13373 if (!SWIG_IsOK(res1)) {
13374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13375 }
13376 arg1 = reinterpret_cast< wxWindow * >(argp1);
13377 if (obj1) {
13378 ecode2 = SWIG_AsVal_int(obj1, &val2);
13379 if (!SWIG_IsOK(ecode2)) {
13380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13381 }
13382 arg2 = static_cast< int >(val2);
13383 }
13384 {
13385 if (!wxPyCheckForApp()) SWIG_fail;
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13388 wxPyEndAllowThreads(__tstate);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 }
13391 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13392 return resultobj;
13393 fail:
13394 return NULL;
13395 }
13396
13397
13398 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13399 PyObject *resultobj = 0;
13400 wxPyPopupTransientWindow *result = 0 ;
13401
13402 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13403 {
13404 if (!wxPyCheckForApp()) SWIG_fail;
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13407 wxPyEndAllowThreads(__tstate);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 }
13410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13411 return resultobj;
13412 fail:
13413 return NULL;
13414 }
13415
13416
13417 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13418 PyObject *resultobj = 0;
13419 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13420 PyObject *arg2 = (PyObject *) 0 ;
13421 PyObject *arg3 = (PyObject *) 0 ;
13422 void *argp1 = 0 ;
13423 int res1 = 0 ;
13424 PyObject * obj0 = 0 ;
13425 PyObject * obj1 = 0 ;
13426 PyObject * obj2 = 0 ;
13427 char * kwnames[] = {
13428 (char *) "self",(char *) "self",(char *) "_class", NULL
13429 };
13430
13431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13433 if (!SWIG_IsOK(res1)) {
13434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13435 }
13436 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13437 arg2 = obj1;
13438 arg3 = obj2;
13439 {
13440 PyThreadState* __tstate = wxPyBeginAllowThreads();
13441 (arg1)->_setCallbackInfo(arg2,arg3);
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 resultobj = SWIG_Py_Void();
13446 return resultobj;
13447 fail:
13448 return NULL;
13449 }
13450
13451
13452 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj = 0;
13454 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13455 wxWindow *arg2 = (wxWindow *) NULL ;
13456 void *argp1 = 0 ;
13457 int res1 = 0 ;
13458 void *argp2 = 0 ;
13459 int res2 = 0 ;
13460 PyObject * obj0 = 0 ;
13461 PyObject * obj1 = 0 ;
13462 char * kwnames[] = {
13463 (char *) "self",(char *) "focus", NULL
13464 };
13465
13466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13468 if (!SWIG_IsOK(res1)) {
13469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13470 }
13471 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13472 if (obj1) {
13473 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13474 if (!SWIG_IsOK(res2)) {
13475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13476 }
13477 arg2 = reinterpret_cast< wxWindow * >(argp2);
13478 }
13479 {
13480 PyThreadState* __tstate = wxPyBeginAllowThreads();
13481 (arg1)->Popup(arg2);
13482 wxPyEndAllowThreads(__tstate);
13483 if (PyErr_Occurred()) SWIG_fail;
13484 }
13485 resultobj = SWIG_Py_Void();
13486 return resultobj;
13487 fail:
13488 return NULL;
13489 }
13490
13491
13492 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13493 PyObject *resultobj = 0;
13494 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13495 void *argp1 = 0 ;
13496 int res1 = 0 ;
13497 PyObject *swig_obj[1] ;
13498
13499 if (!args) SWIG_fail;
13500 swig_obj[0] = args;
13501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13502 if (!SWIG_IsOK(res1)) {
13503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13504 }
13505 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 (arg1)->Dismiss();
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 resultobj = SWIG_Py_Void();
13513 return resultobj;
13514 fail:
13515 return NULL;
13516 }
13517
13518
13519 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13520 PyObject *obj;
13521 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13522 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13523 return SWIG_Py_Void();
13524 }
13525
13526 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13527 return SWIG_Python_InitShadowInstance(args);
13528 }
13529
13530 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj = 0;
13532 wxWindow *arg1 = (wxWindow *) 0 ;
13533 wxString *arg2 = 0 ;
13534 int arg3 = (int) 100 ;
13535 wxRect *arg4 = (wxRect *) NULL ;
13536 wxTipWindow *result = 0 ;
13537 void *argp1 = 0 ;
13538 int res1 = 0 ;
13539 bool temp2 = false ;
13540 int val3 ;
13541 int ecode3 = 0 ;
13542 void *argp4 = 0 ;
13543 int res4 = 0 ;
13544 PyObject * obj0 = 0 ;
13545 PyObject * obj1 = 0 ;
13546 PyObject * obj2 = 0 ;
13547 PyObject * obj3 = 0 ;
13548 char * kwnames[] = {
13549 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13550 };
13551
13552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13554 if (!SWIG_IsOK(res1)) {
13555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13556 }
13557 arg1 = reinterpret_cast< wxWindow * >(argp1);
13558 {
13559 arg2 = wxString_in_helper(obj1);
13560 if (arg2 == NULL) SWIG_fail;
13561 temp2 = true;
13562 }
13563 if (obj2) {
13564 ecode3 = SWIG_AsVal_int(obj2, &val3);
13565 if (!SWIG_IsOK(ecode3)) {
13566 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13567 }
13568 arg3 = static_cast< int >(val3);
13569 }
13570 if (obj3) {
13571 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13572 if (!SWIG_IsOK(res4)) {
13573 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13574 }
13575 arg4 = reinterpret_cast< wxRect * >(argp4);
13576 }
13577 {
13578 if (!wxPyCheckForApp()) SWIG_fail;
13579 PyThreadState* __tstate = wxPyBeginAllowThreads();
13580 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13581 wxPyEndAllowThreads(__tstate);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 }
13584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13585 {
13586 if (temp2)
13587 delete arg2;
13588 }
13589 return resultobj;
13590 fail:
13591 {
13592 if (temp2)
13593 delete arg2;
13594 }
13595 return NULL;
13596 }
13597
13598
13599 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13600 PyObject *resultobj = 0;
13601 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13602 wxRect *arg2 = 0 ;
13603 void *argp1 = 0 ;
13604 int res1 = 0 ;
13605 wxRect temp2 ;
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608 char * kwnames[] = {
13609 (char *) "self",(char *) "rectBound", NULL
13610 };
13611
13612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13614 if (!SWIG_IsOK(res1)) {
13615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13616 }
13617 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13618 {
13619 arg2 = &temp2;
13620 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13621 }
13622 {
13623 PyThreadState* __tstate = wxPyBeginAllowThreads();
13624 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13625 wxPyEndAllowThreads(__tstate);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
13628 resultobj = SWIG_Py_Void();
13629 return resultobj;
13630 fail:
13631 return NULL;
13632 }
13633
13634
13635 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13636 PyObject *resultobj = 0;
13637 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13638 void *argp1 = 0 ;
13639 int res1 = 0 ;
13640 PyObject *swig_obj[1] ;
13641
13642 if (!args) SWIG_fail;
13643 swig_obj[0] = args;
13644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13645 if (!SWIG_IsOK(res1)) {
13646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13647 }
13648 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13649 {
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 (arg1)->Close();
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 }
13655 resultobj = SWIG_Py_Void();
13656 return resultobj;
13657 fail:
13658 return NULL;
13659 }
13660
13661
13662 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13663 PyObject *obj;
13664 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13665 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13666 return SWIG_Py_Void();
13667 }
13668
13669 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13670 return SWIG_Python_InitShadowInstance(args);
13671 }
13672
13673 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13674 PyObject *resultobj = 0;
13675 wxWindow *arg1 = (wxWindow *) 0 ;
13676 int arg2 = (int) wxID_ANY ;
13677 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13678 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13679 wxSize const &arg4_defvalue = wxDefaultSize ;
13680 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13681 long arg5 = (long) 0 ;
13682 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13683 wxString *arg6 = (wxString *) &arg6_defvalue ;
13684 wxPyVScrolledWindow *result = 0 ;
13685 void *argp1 = 0 ;
13686 int res1 = 0 ;
13687 int val2 ;
13688 int ecode2 = 0 ;
13689 wxPoint temp3 ;
13690 wxSize temp4 ;
13691 long val5 ;
13692 int ecode5 = 0 ;
13693 bool temp6 = false ;
13694 PyObject * obj0 = 0 ;
13695 PyObject * obj1 = 0 ;
13696 PyObject * obj2 = 0 ;
13697 PyObject * obj3 = 0 ;
13698 PyObject * obj4 = 0 ;
13699 PyObject * obj5 = 0 ;
13700 char * kwnames[] = {
13701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13702 };
13703
13704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13706 if (!SWIG_IsOK(res1)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13708 }
13709 arg1 = reinterpret_cast< wxWindow * >(argp1);
13710 if (obj1) {
13711 ecode2 = SWIG_AsVal_int(obj1, &val2);
13712 if (!SWIG_IsOK(ecode2)) {
13713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13714 }
13715 arg2 = static_cast< int >(val2);
13716 }
13717 if (obj2) {
13718 {
13719 arg3 = &temp3;
13720 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13721 }
13722 }
13723 if (obj3) {
13724 {
13725 arg4 = &temp4;
13726 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13727 }
13728 }
13729 if (obj4) {
13730 ecode5 = SWIG_AsVal_long(obj4, &val5);
13731 if (!SWIG_IsOK(ecode5)) {
13732 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13733 }
13734 arg5 = static_cast< long >(val5);
13735 }
13736 if (obj5) {
13737 {
13738 arg6 = wxString_in_helper(obj5);
13739 if (arg6 == NULL) SWIG_fail;
13740 temp6 = true;
13741 }
13742 }
13743 {
13744 if (!wxPyCheckForApp()) SWIG_fail;
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13751 {
13752 if (temp6)
13753 delete arg6;
13754 }
13755 return resultobj;
13756 fail:
13757 {
13758 if (temp6)
13759 delete arg6;
13760 }
13761 return NULL;
13762 }
13763
13764
13765 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13766 PyObject *resultobj = 0;
13767 wxPyVScrolledWindow *result = 0 ;
13768
13769 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13770 {
13771 if (!wxPyCheckForApp()) SWIG_fail;
13772 PyThreadState* __tstate = wxPyBeginAllowThreads();
13773 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13774 wxPyEndAllowThreads(__tstate);
13775 if (PyErr_Occurred()) SWIG_fail;
13776 }
13777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13778 return resultobj;
13779 fail:
13780 return NULL;
13781 }
13782
13783
13784 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13785 PyObject *resultobj = 0;
13786 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13787 PyObject *arg2 = (PyObject *) 0 ;
13788 PyObject *arg3 = (PyObject *) 0 ;
13789 void *argp1 = 0 ;
13790 int res1 = 0 ;
13791 PyObject * obj0 = 0 ;
13792 PyObject * obj1 = 0 ;
13793 PyObject * obj2 = 0 ;
13794 char * kwnames[] = {
13795 (char *) "self",(char *) "self",(char *) "_class", NULL
13796 };
13797
13798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13800 if (!SWIG_IsOK(res1)) {
13801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13802 }
13803 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13804 arg2 = obj1;
13805 arg3 = obj2;
13806 {
13807 PyThreadState* __tstate = wxPyBeginAllowThreads();
13808 (arg1)->_setCallbackInfo(arg2,arg3);
13809 wxPyEndAllowThreads(__tstate);
13810 if (PyErr_Occurred()) SWIG_fail;
13811 }
13812 resultobj = SWIG_Py_Void();
13813 return resultobj;
13814 fail:
13815 return NULL;
13816 }
13817
13818
13819 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13820 PyObject *resultobj = 0;
13821 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13822 wxWindow *arg2 = (wxWindow *) 0 ;
13823 int arg3 = (int) wxID_ANY ;
13824 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13825 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13826 wxSize const &arg5_defvalue = wxDefaultSize ;
13827 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13828 long arg6 = (long) 0 ;
13829 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13830 wxString *arg7 = (wxString *) &arg7_defvalue ;
13831 bool result;
13832 void *argp1 = 0 ;
13833 int res1 = 0 ;
13834 void *argp2 = 0 ;
13835 int res2 = 0 ;
13836 int val3 ;
13837 int ecode3 = 0 ;
13838 wxPoint temp4 ;
13839 wxSize temp5 ;
13840 long val6 ;
13841 int ecode6 = 0 ;
13842 bool temp7 = false ;
13843 PyObject * obj0 = 0 ;
13844 PyObject * obj1 = 0 ;
13845 PyObject * obj2 = 0 ;
13846 PyObject * obj3 = 0 ;
13847 PyObject * obj4 = 0 ;
13848 PyObject * obj5 = 0 ;
13849 PyObject * obj6 = 0 ;
13850 char * kwnames[] = {
13851 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13852 };
13853
13854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13856 if (!SWIG_IsOK(res1)) {
13857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13858 }
13859 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13860 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13861 if (!SWIG_IsOK(res2)) {
13862 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13863 }
13864 arg2 = reinterpret_cast< wxWindow * >(argp2);
13865 if (obj2) {
13866 ecode3 = SWIG_AsVal_int(obj2, &val3);
13867 if (!SWIG_IsOK(ecode3)) {
13868 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13869 }
13870 arg3 = static_cast< int >(val3);
13871 }
13872 if (obj3) {
13873 {
13874 arg4 = &temp4;
13875 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13876 }
13877 }
13878 if (obj4) {
13879 {
13880 arg5 = &temp5;
13881 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13882 }
13883 }
13884 if (obj5) {
13885 ecode6 = SWIG_AsVal_long(obj5, &val6);
13886 if (!SWIG_IsOK(ecode6)) {
13887 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13888 }
13889 arg6 = static_cast< long >(val6);
13890 }
13891 if (obj6) {
13892 {
13893 arg7 = wxString_in_helper(obj6);
13894 if (arg7 == NULL) SWIG_fail;
13895 temp7 = true;
13896 }
13897 }
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 {
13905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13906 }
13907 {
13908 if (temp7)
13909 delete arg7;
13910 }
13911 return resultobj;
13912 fail:
13913 {
13914 if (temp7)
13915 delete arg7;
13916 }
13917 return NULL;
13918 }
13919
13920
13921 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13922 PyObject *resultobj = 0;
13923 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13924 size_t arg2 ;
13925 void *argp1 = 0 ;
13926 int res1 = 0 ;
13927 size_t val2 ;
13928 int ecode2 = 0 ;
13929 PyObject * obj0 = 0 ;
13930 PyObject * obj1 = 0 ;
13931 char * kwnames[] = {
13932 (char *) "self",(char *) "count", NULL
13933 };
13934
13935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13937 if (!SWIG_IsOK(res1)) {
13938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13939 }
13940 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13941 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13942 if (!SWIG_IsOK(ecode2)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13944 }
13945 arg2 = static_cast< size_t >(val2);
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 (arg1)->SetLineCount(arg2);
13949 wxPyEndAllowThreads(__tstate);
13950 if (PyErr_Occurred()) SWIG_fail;
13951 }
13952 resultobj = SWIG_Py_Void();
13953 return resultobj;
13954 fail:
13955 return NULL;
13956 }
13957
13958
13959 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13960 PyObject *resultobj = 0;
13961 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13962 size_t arg2 ;
13963 bool result;
13964 void *argp1 = 0 ;
13965 int res1 = 0 ;
13966 size_t val2 ;
13967 int ecode2 = 0 ;
13968 PyObject * obj0 = 0 ;
13969 PyObject * obj1 = 0 ;
13970 char * kwnames[] = {
13971 (char *) "self",(char *) "line", NULL
13972 };
13973
13974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13976 if (!SWIG_IsOK(res1)) {
13977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13978 }
13979 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13980 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13981 if (!SWIG_IsOK(ecode2)) {
13982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13983 }
13984 arg2 = static_cast< size_t >(val2);
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 result = (bool)(arg1)->ScrollToLine(arg2);
13988 wxPyEndAllowThreads(__tstate);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
13991 {
13992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13993 }
13994 return resultobj;
13995 fail:
13996 return NULL;
13997 }
13998
13999
14000 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14001 PyObject *resultobj = 0;
14002 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14003 size_t arg2 ;
14004 void *argp1 = 0 ;
14005 int res1 = 0 ;
14006 size_t val2 ;
14007 int ecode2 = 0 ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char * kwnames[] = {
14011 (char *) "self",(char *) "line", NULL
14012 };
14013
14014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14016 if (!SWIG_IsOK(res1)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14018 }
14019 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14020 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14021 if (!SWIG_IsOK(ecode2)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14023 }
14024 arg2 = static_cast< size_t >(val2);
14025 {
14026 PyThreadState* __tstate = wxPyBeginAllowThreads();
14027 (arg1)->RefreshLine(arg2);
14028 wxPyEndAllowThreads(__tstate);
14029 if (PyErr_Occurred()) SWIG_fail;
14030 }
14031 resultobj = SWIG_Py_Void();
14032 return resultobj;
14033 fail:
14034 return NULL;
14035 }
14036
14037
14038 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14039 PyObject *resultobj = 0;
14040 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14041 size_t arg2 ;
14042 size_t arg3 ;
14043 void *argp1 = 0 ;
14044 int res1 = 0 ;
14045 size_t val2 ;
14046 int ecode2 = 0 ;
14047 size_t val3 ;
14048 int ecode3 = 0 ;
14049 PyObject * obj0 = 0 ;
14050 PyObject * obj1 = 0 ;
14051 PyObject * obj2 = 0 ;
14052 char * kwnames[] = {
14053 (char *) "self",(char *) "from",(char *) "to", NULL
14054 };
14055
14056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14058 if (!SWIG_IsOK(res1)) {
14059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14060 }
14061 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14062 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14063 if (!SWIG_IsOK(ecode2)) {
14064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14065 }
14066 arg2 = static_cast< size_t >(val2);
14067 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14068 if (!SWIG_IsOK(ecode3)) {
14069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14070 }
14071 arg3 = static_cast< size_t >(val3);
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 (arg1)->RefreshLines(arg2,arg3);
14075 wxPyEndAllowThreads(__tstate);
14076 if (PyErr_Occurred()) SWIG_fail;
14077 }
14078 resultobj = SWIG_Py_Void();
14079 return resultobj;
14080 fail:
14081 return NULL;
14082 }
14083
14084
14085 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14086 PyObject *resultobj = 0;
14087 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14088 int arg2 ;
14089 int arg3 ;
14090 int result;
14091 void *argp1 = 0 ;
14092 int res1 = 0 ;
14093 int val2 ;
14094 int ecode2 = 0 ;
14095 int val3 ;
14096 int ecode3 = 0 ;
14097 PyObject * obj0 = 0 ;
14098 PyObject * obj1 = 0 ;
14099 PyObject * obj2 = 0 ;
14100 char * kwnames[] = {
14101 (char *) "self",(char *) "x",(char *) "y", NULL
14102 };
14103
14104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14106 if (!SWIG_IsOK(res1)) {
14107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14108 }
14109 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14110 ecode2 = SWIG_AsVal_int(obj1, &val2);
14111 if (!SWIG_IsOK(ecode2)) {
14112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14113 }
14114 arg2 = static_cast< int >(val2);
14115 ecode3 = SWIG_AsVal_int(obj2, &val3);
14116 if (!SWIG_IsOK(ecode3)) {
14117 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14118 }
14119 arg3 = static_cast< int >(val3);
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 resultobj = SWIG_From_int(static_cast< int >(result));
14127 return resultobj;
14128 fail:
14129 return NULL;
14130 }
14131
14132
14133 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14134 PyObject *resultobj = 0;
14135 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14136 wxPoint *arg2 = 0 ;
14137 int result;
14138 void *argp1 = 0 ;
14139 int res1 = 0 ;
14140 wxPoint temp2 ;
14141 PyObject * obj0 = 0 ;
14142 PyObject * obj1 = 0 ;
14143 char * kwnames[] = {
14144 (char *) "self",(char *) "pt", NULL
14145 };
14146
14147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14149 if (!SWIG_IsOK(res1)) {
14150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14151 }
14152 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14153 {
14154 arg2 = &temp2;
14155 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14156 }
14157 {
14158 PyThreadState* __tstate = wxPyBeginAllowThreads();
14159 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 resultobj = SWIG_From_int(static_cast< int >(result));
14164 return resultobj;
14165 fail:
14166 return NULL;
14167 }
14168
14169
14170 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14171 PyObject *resultobj = 0;
14172 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14173 void *argp1 = 0 ;
14174 int res1 = 0 ;
14175 PyObject *swig_obj[1] ;
14176
14177 if (!args) SWIG_fail;
14178 swig_obj[0] = args;
14179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14180 if (!SWIG_IsOK(res1)) {
14181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14182 }
14183 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14184 {
14185 PyThreadState* __tstate = wxPyBeginAllowThreads();
14186 (arg1)->RefreshAll();
14187 wxPyEndAllowThreads(__tstate);
14188 if (PyErr_Occurred()) SWIG_fail;
14189 }
14190 resultobj = SWIG_Py_Void();
14191 return resultobj;
14192 fail:
14193 return NULL;
14194 }
14195
14196
14197 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14198 PyObject *resultobj = 0;
14199 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14200 size_t result;
14201 void *argp1 = 0 ;
14202 int res1 = 0 ;
14203 PyObject *swig_obj[1] ;
14204
14205 if (!args) SWIG_fail;
14206 swig_obj[0] = args;
14207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14208 if (!SWIG_IsOK(res1)) {
14209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14210 }
14211 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14212 {
14213 PyThreadState* __tstate = wxPyBeginAllowThreads();
14214 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14215 wxPyEndAllowThreads(__tstate);
14216 if (PyErr_Occurred()) SWIG_fail;
14217 }
14218 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14219 return resultobj;
14220 fail:
14221 return NULL;
14222 }
14223
14224
14225 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14226 PyObject *resultobj = 0;
14227 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14228 size_t result;
14229 void *argp1 = 0 ;
14230 int res1 = 0 ;
14231 PyObject *swig_obj[1] ;
14232
14233 if (!args) SWIG_fail;
14234 swig_obj[0] = args;
14235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14236 if (!SWIG_IsOK(res1)) {
14237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14238 }
14239 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14240 {
14241 PyThreadState* __tstate = wxPyBeginAllowThreads();
14242 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14243 wxPyEndAllowThreads(__tstate);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 }
14246 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14247 return resultobj;
14248 fail:
14249 return NULL;
14250 }
14251
14252
14253 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14254 PyObject *resultobj = 0;
14255 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14256 size_t result;
14257 void *argp1 = 0 ;
14258 int res1 = 0 ;
14259 PyObject *swig_obj[1] ;
14260
14261 if (!args) SWIG_fail;
14262 swig_obj[0] = args;
14263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14264 if (!SWIG_IsOK(res1)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14266 }
14267 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14271 wxPyEndAllowThreads(__tstate);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
14274 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14275 return resultobj;
14276 fail:
14277 return NULL;
14278 }
14279
14280
14281 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14282 PyObject *resultobj = 0;
14283 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14284 size_t arg2 ;
14285 bool result;
14286 void *argp1 = 0 ;
14287 int res1 = 0 ;
14288 size_t val2 ;
14289 int ecode2 = 0 ;
14290 PyObject * obj0 = 0 ;
14291 PyObject * obj1 = 0 ;
14292 char * kwnames[] = {
14293 (char *) "self",(char *) "line", NULL
14294 };
14295
14296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14298 if (!SWIG_IsOK(res1)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14300 }
14301 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14302 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14303 if (!SWIG_IsOK(ecode2)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14305 }
14306 arg2 = static_cast< size_t >(val2);
14307 {
14308 PyThreadState* __tstate = wxPyBeginAllowThreads();
14309 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14310 wxPyEndAllowThreads(__tstate);
14311 if (PyErr_Occurred()) SWIG_fail;
14312 }
14313 {
14314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14315 }
14316 return resultobj;
14317 fail:
14318 return NULL;
14319 }
14320
14321
14322 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14323 PyObject *resultobj = 0;
14324 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14325 size_t result;
14326 void *argp1 = 0 ;
14327 int res1 = 0 ;
14328 PyObject *swig_obj[1] ;
14329
14330 if (!args) SWIG_fail;
14331 swig_obj[0] = args;
14332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14333 if (!SWIG_IsOK(res1)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14335 }
14336 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
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_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14351 PyObject *resultobj = 0;
14352 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14353 size_t result;
14354 void *argp1 = 0 ;
14355 int res1 = 0 ;
14356 PyObject *swig_obj[1] ;
14357
14358 if (!args) SWIG_fail;
14359 swig_obj[0] = args;
14360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14361 if (!SWIG_IsOK(res1)) {
14362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14363 }
14364 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14365 {
14366 PyThreadState* __tstate = wxPyBeginAllowThreads();
14367 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14368 wxPyEndAllowThreads(__tstate);
14369 if (PyErr_Occurred()) SWIG_fail;
14370 }
14371 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14372 return resultobj;
14373 fail:
14374 return NULL;
14375 }
14376
14377
14378 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14379 PyObject *resultobj = 0;
14380 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14381 size_t arg2 ;
14382 bool arg3 = (bool) false ;
14383 size_t result;
14384 void *argp1 = 0 ;
14385 int res1 = 0 ;
14386 size_t val2 ;
14387 int ecode2 = 0 ;
14388 bool val3 ;
14389 int ecode3 = 0 ;
14390 PyObject * obj0 = 0 ;
14391 PyObject * obj1 = 0 ;
14392 PyObject * obj2 = 0 ;
14393 char * kwnames[] = {
14394 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14395 };
14396
14397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14399 if (!SWIG_IsOK(res1)) {
14400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14401 }
14402 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14403 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14404 if (!SWIG_IsOK(ecode2)) {
14405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14406 }
14407 arg2 = static_cast< size_t >(val2);
14408 if (obj2) {
14409 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14410 if (!SWIG_IsOK(ecode3)) {
14411 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14412 }
14413 arg3 = static_cast< bool >(val3);
14414 }
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14418 wxPyEndAllowThreads(__tstate);
14419 if (PyErr_Occurred()) SWIG_fail;
14420 }
14421 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14422 return resultobj;
14423 fail:
14424 return NULL;
14425 }
14426
14427
14428 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14429 PyObject *resultobj = 0;
14430 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14431 size_t arg2 ;
14432 size_t arg3 ;
14433 int result;
14434 void *argp1 = 0 ;
14435 int res1 = 0 ;
14436 size_t val2 ;
14437 int ecode2 = 0 ;
14438 size_t val3 ;
14439 int ecode3 = 0 ;
14440 PyObject * obj0 = 0 ;
14441 PyObject * obj1 = 0 ;
14442 PyObject * obj2 = 0 ;
14443 char * kwnames[] = {
14444 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14445 };
14446
14447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14449 if (!SWIG_IsOK(res1)) {
14450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14451 }
14452 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14453 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14454 if (!SWIG_IsOK(ecode2)) {
14455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14456 }
14457 arg2 = static_cast< size_t >(val2);
14458 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14459 if (!SWIG_IsOK(ecode3)) {
14460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14461 }
14462 arg3 = static_cast< size_t >(val3);
14463 {
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 resultobj = SWIG_From_int(static_cast< int >(result));
14470 return resultobj;
14471 fail:
14472 return NULL;
14473 }
14474
14475
14476 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14477 PyObject *obj;
14478 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14480 return SWIG_Py_Void();
14481 }
14482
14483 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14484 return SWIG_Python_InitShadowInstance(args);
14485 }
14486
14487 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14488 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14489 return 1;
14490 }
14491
14492
14493 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14494 PyObject *pyobj = 0;
14495
14496 {
14497 #if wxUSE_UNICODE
14498 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14499 #else
14500 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14501 #endif
14502 }
14503 return pyobj;
14504 }
14505
14506
14507 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14508 PyObject *resultobj = 0;
14509 wxWindow *arg1 = (wxWindow *) 0 ;
14510 int arg2 = (int) wxID_ANY ;
14511 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14512 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14513 wxSize const &arg4_defvalue = wxDefaultSize ;
14514 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14515 long arg5 = (long) 0 ;
14516 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14517 wxString *arg6 = (wxString *) &arg6_defvalue ;
14518 wxPyVListBox *result = 0 ;
14519 void *argp1 = 0 ;
14520 int res1 = 0 ;
14521 int val2 ;
14522 int ecode2 = 0 ;
14523 wxPoint temp3 ;
14524 wxSize temp4 ;
14525 long val5 ;
14526 int ecode5 = 0 ;
14527 bool temp6 = false ;
14528 PyObject * obj0 = 0 ;
14529 PyObject * obj1 = 0 ;
14530 PyObject * obj2 = 0 ;
14531 PyObject * obj3 = 0 ;
14532 PyObject * obj4 = 0 ;
14533 PyObject * obj5 = 0 ;
14534 char * kwnames[] = {
14535 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14536 };
14537
14538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14540 if (!SWIG_IsOK(res1)) {
14541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14542 }
14543 arg1 = reinterpret_cast< wxWindow * >(argp1);
14544 if (obj1) {
14545 ecode2 = SWIG_AsVal_int(obj1, &val2);
14546 if (!SWIG_IsOK(ecode2)) {
14547 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14548 }
14549 arg2 = static_cast< int >(val2);
14550 }
14551 if (obj2) {
14552 {
14553 arg3 = &temp3;
14554 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14555 }
14556 }
14557 if (obj3) {
14558 {
14559 arg4 = &temp4;
14560 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14561 }
14562 }
14563 if (obj4) {
14564 ecode5 = SWIG_AsVal_long(obj4, &val5);
14565 if (!SWIG_IsOK(ecode5)) {
14566 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14567 }
14568 arg5 = static_cast< long >(val5);
14569 }
14570 if (obj5) {
14571 {
14572 arg6 = wxString_in_helper(obj5);
14573 if (arg6 == NULL) SWIG_fail;
14574 temp6 = true;
14575 }
14576 }
14577 {
14578 if (!wxPyCheckForApp()) SWIG_fail;
14579 PyThreadState* __tstate = wxPyBeginAllowThreads();
14580 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14581 wxPyEndAllowThreads(__tstate);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 }
14584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14585 {
14586 if (temp6)
14587 delete arg6;
14588 }
14589 return resultobj;
14590 fail:
14591 {
14592 if (temp6)
14593 delete arg6;
14594 }
14595 return NULL;
14596 }
14597
14598
14599 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14600 PyObject *resultobj = 0;
14601 wxPyVListBox *result = 0 ;
14602
14603 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14604 {
14605 if (!wxPyCheckForApp()) SWIG_fail;
14606 PyThreadState* __tstate = wxPyBeginAllowThreads();
14607 result = (wxPyVListBox *)new wxPyVListBox();
14608 wxPyEndAllowThreads(__tstate);
14609 if (PyErr_Occurred()) SWIG_fail;
14610 }
14611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14612 return resultobj;
14613 fail:
14614 return NULL;
14615 }
14616
14617
14618 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj = 0;
14620 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14621 PyObject *arg2 = (PyObject *) 0 ;
14622 PyObject *arg3 = (PyObject *) 0 ;
14623 void *argp1 = 0 ;
14624 int res1 = 0 ;
14625 PyObject * obj0 = 0 ;
14626 PyObject * obj1 = 0 ;
14627 PyObject * obj2 = 0 ;
14628 char * kwnames[] = {
14629 (char *) "self",(char *) "self",(char *) "_class", NULL
14630 };
14631
14632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14634 if (!SWIG_IsOK(res1)) {
14635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14636 }
14637 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14638 arg2 = obj1;
14639 arg3 = obj2;
14640 {
14641 PyThreadState* __tstate = wxPyBeginAllowThreads();
14642 (arg1)->_setCallbackInfo(arg2,arg3);
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 resultobj = SWIG_Py_Void();
14647 return resultobj;
14648 fail:
14649 return NULL;
14650 }
14651
14652
14653 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14654 PyObject *resultobj = 0;
14655 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14656 wxWindow *arg2 = (wxWindow *) 0 ;
14657 int arg3 = (int) wxID_ANY ;
14658 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14659 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14660 wxSize const &arg5_defvalue = wxDefaultSize ;
14661 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14662 long arg6 = (long) 0 ;
14663 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14664 wxString *arg7 = (wxString *) &arg7_defvalue ;
14665 bool result;
14666 void *argp1 = 0 ;
14667 int res1 = 0 ;
14668 void *argp2 = 0 ;
14669 int res2 = 0 ;
14670 int val3 ;
14671 int ecode3 = 0 ;
14672 wxPoint temp4 ;
14673 wxSize temp5 ;
14674 long val6 ;
14675 int ecode6 = 0 ;
14676 bool temp7 = false ;
14677 PyObject * obj0 = 0 ;
14678 PyObject * obj1 = 0 ;
14679 PyObject * obj2 = 0 ;
14680 PyObject * obj3 = 0 ;
14681 PyObject * obj4 = 0 ;
14682 PyObject * obj5 = 0 ;
14683 PyObject * obj6 = 0 ;
14684 char * kwnames[] = {
14685 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14686 };
14687
14688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14690 if (!SWIG_IsOK(res1)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14692 }
14693 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14694 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14695 if (!SWIG_IsOK(res2)) {
14696 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14697 }
14698 arg2 = reinterpret_cast< wxWindow * >(argp2);
14699 if (obj2) {
14700 ecode3 = SWIG_AsVal_int(obj2, &val3);
14701 if (!SWIG_IsOK(ecode3)) {
14702 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14703 }
14704 arg3 = static_cast< int >(val3);
14705 }
14706 if (obj3) {
14707 {
14708 arg4 = &temp4;
14709 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14710 }
14711 }
14712 if (obj4) {
14713 {
14714 arg5 = &temp5;
14715 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14716 }
14717 }
14718 if (obj5) {
14719 ecode6 = SWIG_AsVal_long(obj5, &val6);
14720 if (!SWIG_IsOK(ecode6)) {
14721 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14722 }
14723 arg6 = static_cast< long >(val6);
14724 }
14725 if (obj6) {
14726 {
14727 arg7 = wxString_in_helper(obj6);
14728 if (arg7 == NULL) SWIG_fail;
14729 temp7 = true;
14730 }
14731 }
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14735 wxPyEndAllowThreads(__tstate);
14736 if (PyErr_Occurred()) SWIG_fail;
14737 }
14738 {
14739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14740 }
14741 {
14742 if (temp7)
14743 delete arg7;
14744 }
14745 return resultobj;
14746 fail:
14747 {
14748 if (temp7)
14749 delete arg7;
14750 }
14751 return NULL;
14752 }
14753
14754
14755 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14756 PyObject *resultobj = 0;
14757 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14758 size_t result;
14759 void *argp1 = 0 ;
14760 int res1 = 0 ;
14761 PyObject *swig_obj[1] ;
14762
14763 if (!args) SWIG_fail;
14764 swig_obj[0] = args;
14765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14766 if (!SWIG_IsOK(res1)) {
14767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14768 }
14769 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14773 wxPyEndAllowThreads(__tstate);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14777 return resultobj;
14778 fail:
14779 return NULL;
14780 }
14781
14782
14783 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14784 PyObject *resultobj = 0;
14785 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14786 bool result;
14787 void *argp1 = 0 ;
14788 int res1 = 0 ;
14789 PyObject *swig_obj[1] ;
14790
14791 if (!args) SWIG_fail;
14792 swig_obj[0] = args;
14793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14794 if (!SWIG_IsOK(res1)) {
14795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14796 }
14797 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14801 wxPyEndAllowThreads(__tstate);
14802 if (PyErr_Occurred()) SWIG_fail;
14803 }
14804 {
14805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14806 }
14807 return resultobj;
14808 fail:
14809 return NULL;
14810 }
14811
14812
14813 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14814 PyObject *resultobj = 0;
14815 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14816 int result;
14817 void *argp1 = 0 ;
14818 int res1 = 0 ;
14819 PyObject *swig_obj[1] ;
14820
14821 if (!args) SWIG_fail;
14822 swig_obj[0] = args;
14823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14824 if (!SWIG_IsOK(res1)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14826 }
14827 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = SWIG_From_int(static_cast< int >(result));
14835 return resultobj;
14836 fail:
14837 return NULL;
14838 }
14839
14840
14841 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj = 0;
14843 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14844 size_t arg2 ;
14845 bool result;
14846 void *argp1 = 0 ;
14847 int res1 = 0 ;
14848 size_t val2 ;
14849 int ecode2 = 0 ;
14850 PyObject * obj0 = 0 ;
14851 PyObject * obj1 = 0 ;
14852 char * kwnames[] = {
14853 (char *) "self",(char *) "item", NULL
14854 };
14855
14856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14858 if (!SWIG_IsOK(res1)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14860 }
14861 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14862 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14863 if (!SWIG_IsOK(ecode2)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14865 }
14866 arg2 = static_cast< size_t >(val2);
14867 {
14868 PyThreadState* __tstate = wxPyBeginAllowThreads();
14869 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 {
14874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14875 }
14876 return resultobj;
14877 fail:
14878 return NULL;
14879 }
14880
14881
14882 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14883 PyObject *resultobj = 0;
14884 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14885 size_t arg2 ;
14886 bool result;
14887 void *argp1 = 0 ;
14888 int res1 = 0 ;
14889 size_t val2 ;
14890 int ecode2 = 0 ;
14891 PyObject * obj0 = 0 ;
14892 PyObject * obj1 = 0 ;
14893 char * kwnames[] = {
14894 (char *) "self",(char *) "item", NULL
14895 };
14896
14897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14899 if (!SWIG_IsOK(res1)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14901 }
14902 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14903 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14904 if (!SWIG_IsOK(ecode2)) {
14905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14906 }
14907 arg2 = static_cast< size_t >(val2);
14908 {
14909 PyThreadState* __tstate = wxPyBeginAllowThreads();
14910 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
14914 {
14915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14916 }
14917 return resultobj;
14918 fail:
14919 return NULL;
14920 }
14921
14922
14923 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14924 PyObject *resultobj = 0;
14925 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14926 size_t result;
14927 void *argp1 = 0 ;
14928 int res1 = 0 ;
14929 PyObject *swig_obj[1] ;
14930
14931 if (!args) SWIG_fail;
14932 swig_obj[0] = args;
14933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14934 if (!SWIG_IsOK(res1)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14936 }
14937 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14938 {
14939 PyThreadState* __tstate = wxPyBeginAllowThreads();
14940 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14941 wxPyEndAllowThreads(__tstate);
14942 if (PyErr_Occurred()) SWIG_fail;
14943 }
14944 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14945 return resultobj;
14946 fail:
14947 return NULL;
14948 }
14949
14950
14951 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14952 PyObject *resultobj = 0;
14953 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14954 PyObject *result = 0 ;
14955 void *argp1 = 0 ;
14956 int res1 = 0 ;
14957 PyObject *swig_obj[1] ;
14958
14959 if (!args) SWIG_fail;
14960 swig_obj[0] = args;
14961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14962 if (!SWIG_IsOK(res1)) {
14963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14964 }
14965 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14969 wxPyEndAllowThreads(__tstate);
14970 if (PyErr_Occurred()) SWIG_fail;
14971 }
14972 resultobj = result;
14973 return resultobj;
14974 fail:
14975 return NULL;
14976 }
14977
14978
14979 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14980 PyObject *resultobj = 0;
14981 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14982 unsigned long arg2 ;
14983 PyObject *result = 0 ;
14984 void *argp1 = 0 ;
14985 int res1 = 0 ;
14986 unsigned long val2 ;
14987 int ecode2 = 0 ;
14988 PyObject * obj0 = 0 ;
14989 PyObject * obj1 = 0 ;
14990 char * kwnames[] = {
14991 (char *) "self",(char *) "cookie", NULL
14992 };
14993
14994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14996 if (!SWIG_IsOK(res1)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14998 }
14999 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15000 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
15001 if (!SWIG_IsOK(ecode2)) {
15002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15003 }
15004 arg2 = static_cast< unsigned long >(val2);
15005 {
15006 PyThreadState* __tstate = wxPyBeginAllowThreads();
15007 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
15008 wxPyEndAllowThreads(__tstate);
15009 if (PyErr_Occurred()) SWIG_fail;
15010 }
15011 resultobj = result;
15012 return resultobj;
15013 fail:
15014 return NULL;
15015 }
15016
15017
15018 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15019 PyObject *resultobj = 0;
15020 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15021 wxPoint result;
15022 void *argp1 = 0 ;
15023 int res1 = 0 ;
15024 PyObject *swig_obj[1] ;
15025
15026 if (!args) SWIG_fail;
15027 swig_obj[0] = args;
15028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15029 if (!SWIG_IsOK(res1)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15031 }
15032 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 result = ((wxPyVListBox const *)arg1)->GetMargins();
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15040 return resultobj;
15041 fail:
15042 return NULL;
15043 }
15044
15045
15046 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15047 PyObject *resultobj = 0;
15048 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15049 wxColour *result = 0 ;
15050 void *argp1 = 0 ;
15051 int res1 = 0 ;
15052 PyObject *swig_obj[1] ;
15053
15054 if (!args) SWIG_fail;
15055 swig_obj[0] = args;
15056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15057 if (!SWIG_IsOK(res1)) {
15058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15059 }
15060 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15061 {
15062 PyThreadState* __tstate = wxPyBeginAllowThreads();
15063 {
15064 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15065 result = (wxColour *) &_result_ref;
15066 }
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15071 return resultobj;
15072 fail:
15073 return NULL;
15074 }
15075
15076
15077 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15078 PyObject *resultobj = 0;
15079 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15080 size_t arg2 ;
15081 void *argp1 = 0 ;
15082 int res1 = 0 ;
15083 size_t val2 ;
15084 int ecode2 = 0 ;
15085 PyObject * obj0 = 0 ;
15086 PyObject * obj1 = 0 ;
15087 char * kwnames[] = {
15088 (char *) "self",(char *) "count", NULL
15089 };
15090
15091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15093 if (!SWIG_IsOK(res1)) {
15094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15095 }
15096 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15097 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15098 if (!SWIG_IsOK(ecode2)) {
15099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15100 }
15101 arg2 = static_cast< size_t >(val2);
15102 {
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 (arg1)->SetItemCount(arg2);
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 resultobj = SWIG_Py_Void();
15109 return resultobj;
15110 fail:
15111 return NULL;
15112 }
15113
15114
15115 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15116 PyObject *resultobj = 0;
15117 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15118 void *argp1 = 0 ;
15119 int res1 = 0 ;
15120 PyObject *swig_obj[1] ;
15121
15122 if (!args) SWIG_fail;
15123 swig_obj[0] = args;
15124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15125 if (!SWIG_IsOK(res1)) {
15126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15127 }
15128 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 (arg1)->Clear();
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 resultobj = SWIG_Py_Void();
15136 return resultobj;
15137 fail:
15138 return NULL;
15139 }
15140
15141
15142 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj = 0;
15144 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15145 int arg2 ;
15146 void *argp1 = 0 ;
15147 int res1 = 0 ;
15148 int val2 ;
15149 int ecode2 = 0 ;
15150 PyObject * obj0 = 0 ;
15151 PyObject * obj1 = 0 ;
15152 char * kwnames[] = {
15153 (char *) "self",(char *) "selection", NULL
15154 };
15155
15156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15158 if (!SWIG_IsOK(res1)) {
15159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15160 }
15161 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15162 ecode2 = SWIG_AsVal_int(obj1, &val2);
15163 if (!SWIG_IsOK(ecode2)) {
15164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15165 }
15166 arg2 = static_cast< int >(val2);
15167 {
15168 PyThreadState* __tstate = wxPyBeginAllowThreads();
15169 (arg1)->SetSelection(arg2);
15170 wxPyEndAllowThreads(__tstate);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
15173 resultobj = SWIG_Py_Void();
15174 return resultobj;
15175 fail:
15176 return NULL;
15177 }
15178
15179
15180 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15181 PyObject *resultobj = 0;
15182 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15183 size_t arg2 ;
15184 bool arg3 = (bool) true ;
15185 bool result;
15186 void *argp1 = 0 ;
15187 int res1 = 0 ;
15188 size_t val2 ;
15189 int ecode2 = 0 ;
15190 bool val3 ;
15191 int ecode3 = 0 ;
15192 PyObject * obj0 = 0 ;
15193 PyObject * obj1 = 0 ;
15194 PyObject * obj2 = 0 ;
15195 char * kwnames[] = {
15196 (char *) "self",(char *) "item",(char *) "select", NULL
15197 };
15198
15199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15201 if (!SWIG_IsOK(res1)) {
15202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15203 }
15204 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15205 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15206 if (!SWIG_IsOK(ecode2)) {
15207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15208 }
15209 arg2 = static_cast< size_t >(val2);
15210 if (obj2) {
15211 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15212 if (!SWIG_IsOK(ecode3)) {
15213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15214 }
15215 arg3 = static_cast< bool >(val3);
15216 }
15217 {
15218 PyThreadState* __tstate = wxPyBeginAllowThreads();
15219 result = (bool)(arg1)->Select(arg2,arg3);
15220 wxPyEndAllowThreads(__tstate);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
15223 {
15224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15225 }
15226 return resultobj;
15227 fail:
15228 return NULL;
15229 }
15230
15231
15232 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15233 PyObject *resultobj = 0;
15234 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15235 size_t arg2 ;
15236 size_t arg3 ;
15237 bool result;
15238 void *argp1 = 0 ;
15239 int res1 = 0 ;
15240 size_t val2 ;
15241 int ecode2 = 0 ;
15242 size_t val3 ;
15243 int ecode3 = 0 ;
15244 PyObject * obj0 = 0 ;
15245 PyObject * obj1 = 0 ;
15246 PyObject * obj2 = 0 ;
15247 char * kwnames[] = {
15248 (char *) "self",(char *) "from",(char *) "to", NULL
15249 };
15250
15251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15253 if (!SWIG_IsOK(res1)) {
15254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15255 }
15256 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15257 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15258 if (!SWIG_IsOK(ecode2)) {
15259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15260 }
15261 arg2 = static_cast< size_t >(val2);
15262 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15263 if (!SWIG_IsOK(ecode3)) {
15264 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15265 }
15266 arg3 = static_cast< size_t >(val3);
15267 {
15268 PyThreadState* __tstate = wxPyBeginAllowThreads();
15269 result = (bool)(arg1)->SelectRange(arg2,arg3);
15270 wxPyEndAllowThreads(__tstate);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 }
15273 {
15274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15275 }
15276 return resultobj;
15277 fail:
15278 return NULL;
15279 }
15280
15281
15282 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj = 0;
15284 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15285 size_t arg2 ;
15286 void *argp1 = 0 ;
15287 int res1 = 0 ;
15288 size_t val2 ;
15289 int ecode2 = 0 ;
15290 PyObject * obj0 = 0 ;
15291 PyObject * obj1 = 0 ;
15292 char * kwnames[] = {
15293 (char *) "self",(char *) "item", NULL
15294 };
15295
15296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15298 if (!SWIG_IsOK(res1)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15300 }
15301 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15302 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15303 if (!SWIG_IsOK(ecode2)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15305 }
15306 arg2 = static_cast< size_t >(val2);
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 (arg1)->Toggle(arg2);
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 resultobj = SWIG_Py_Void();
15314 return resultobj;
15315 fail:
15316 return NULL;
15317 }
15318
15319
15320 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15321 PyObject *resultobj = 0;
15322 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15323 bool result;
15324 void *argp1 = 0 ;
15325 int res1 = 0 ;
15326 PyObject *swig_obj[1] ;
15327
15328 if (!args) SWIG_fail;
15329 swig_obj[0] = args;
15330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15331 if (!SWIG_IsOK(res1)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15333 }
15334 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 result = (bool)(arg1)->SelectAll();
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 {
15342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15343 }
15344 return resultobj;
15345 fail:
15346 return NULL;
15347 }
15348
15349
15350 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15351 PyObject *resultobj = 0;
15352 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15353 bool result;
15354 void *argp1 = 0 ;
15355 int res1 = 0 ;
15356 PyObject *swig_obj[1] ;
15357
15358 if (!args) SWIG_fail;
15359 swig_obj[0] = args;
15360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15361 if (!SWIG_IsOK(res1)) {
15362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15363 }
15364 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15365 {
15366 PyThreadState* __tstate = wxPyBeginAllowThreads();
15367 result = (bool)(arg1)->DeselectAll();
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 {
15372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15373 }
15374 return resultobj;
15375 fail:
15376 return NULL;
15377 }
15378
15379
15380 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15381 PyObject *resultobj = 0;
15382 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15383 wxPoint *arg2 = 0 ;
15384 void *argp1 = 0 ;
15385 int res1 = 0 ;
15386 wxPoint temp2 ;
15387 PyObject * obj0 = 0 ;
15388 PyObject * obj1 = 0 ;
15389 char * kwnames[] = {
15390 (char *) "self",(char *) "pt", NULL
15391 };
15392
15393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15395 if (!SWIG_IsOK(res1)) {
15396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15397 }
15398 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15399 {
15400 arg2 = &temp2;
15401 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15402 }
15403 {
15404 PyThreadState* __tstate = wxPyBeginAllowThreads();
15405 (arg1)->SetMargins((wxPoint const &)*arg2);
15406 wxPyEndAllowThreads(__tstate);
15407 if (PyErr_Occurred()) SWIG_fail;
15408 }
15409 resultobj = SWIG_Py_Void();
15410 return resultobj;
15411 fail:
15412 return NULL;
15413 }
15414
15415
15416 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15417 PyObject *resultobj = 0;
15418 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15419 int arg2 ;
15420 int arg3 ;
15421 void *argp1 = 0 ;
15422 int res1 = 0 ;
15423 int val2 ;
15424 int ecode2 = 0 ;
15425 int val3 ;
15426 int ecode3 = 0 ;
15427 PyObject * obj0 = 0 ;
15428 PyObject * obj1 = 0 ;
15429 PyObject * obj2 = 0 ;
15430 char * kwnames[] = {
15431 (char *) "self",(char *) "x",(char *) "y", NULL
15432 };
15433
15434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15436 if (!SWIG_IsOK(res1)) {
15437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15438 }
15439 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15440 ecode2 = SWIG_AsVal_int(obj1, &val2);
15441 if (!SWIG_IsOK(ecode2)) {
15442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15443 }
15444 arg2 = static_cast< int >(val2);
15445 ecode3 = SWIG_AsVal_int(obj2, &val3);
15446 if (!SWIG_IsOK(ecode3)) {
15447 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15448 }
15449 arg3 = static_cast< int >(val3);
15450 {
15451 PyThreadState* __tstate = wxPyBeginAllowThreads();
15452 (arg1)->SetMargins(arg2,arg3);
15453 wxPyEndAllowThreads(__tstate);
15454 if (PyErr_Occurred()) SWIG_fail;
15455 }
15456 resultobj = SWIG_Py_Void();
15457 return resultobj;
15458 fail:
15459 return NULL;
15460 }
15461
15462
15463 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15464 PyObject *resultobj = 0;
15465 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15466 wxColour *arg2 = 0 ;
15467 void *argp1 = 0 ;
15468 int res1 = 0 ;
15469 wxColour temp2 ;
15470 PyObject * obj0 = 0 ;
15471 PyObject * obj1 = 0 ;
15472 char * kwnames[] = {
15473 (char *) "self",(char *) "col", NULL
15474 };
15475
15476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15478 if (!SWIG_IsOK(res1)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15480 }
15481 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15482 {
15483 arg2 = &temp2;
15484 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15485 }
15486 {
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15489 wxPyEndAllowThreads(__tstate);
15490 if (PyErr_Occurred()) SWIG_fail;
15491 }
15492 resultobj = SWIG_Py_Void();
15493 return resultobj;
15494 fail:
15495 return NULL;
15496 }
15497
15498
15499 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15500 PyObject *resultobj = 0;
15501 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15502 wxDC *arg2 = 0 ;
15503 wxRect *arg3 = 0 ;
15504 size_t arg4 ;
15505 void *argp1 = 0 ;
15506 int res1 = 0 ;
15507 void *argp2 = 0 ;
15508 int res2 = 0 ;
15509 wxRect temp3 ;
15510 size_t val4 ;
15511 int ecode4 = 0 ;
15512 PyObject * obj0 = 0 ;
15513 PyObject * obj1 = 0 ;
15514 PyObject * obj2 = 0 ;
15515 PyObject * obj3 = 0 ;
15516 char * kwnames[] = {
15517 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15518 };
15519
15520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15522 if (!SWIG_IsOK(res1)) {
15523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15524 }
15525 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15526 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15527 if (!SWIG_IsOK(res2)) {
15528 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15529 }
15530 if (!argp2) {
15531 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15532 }
15533 arg2 = reinterpret_cast< wxDC * >(argp2);
15534 {
15535 arg3 = &temp3;
15536 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15537 }
15538 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15539 if (!SWIG_IsOK(ecode4)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15541 }
15542 arg4 = static_cast< size_t >(val4);
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15546 wxPyEndAllowThreads(__tstate);
15547 if (PyErr_Occurred()) SWIG_fail;
15548 }
15549 resultobj = SWIG_Py_Void();
15550 return resultobj;
15551 fail:
15552 return NULL;
15553 }
15554
15555
15556 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15557 PyObject *resultobj = 0;
15558 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15559 wxDC *arg2 = 0 ;
15560 wxRect *arg3 = 0 ;
15561 size_t arg4 ;
15562 void *argp1 = 0 ;
15563 int res1 = 0 ;
15564 void *argp2 = 0 ;
15565 int res2 = 0 ;
15566 wxRect temp3 ;
15567 size_t val4 ;
15568 int ecode4 = 0 ;
15569 PyObject * obj0 = 0 ;
15570 PyObject * obj1 = 0 ;
15571 PyObject * obj2 = 0 ;
15572 PyObject * obj3 = 0 ;
15573 char * kwnames[] = {
15574 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15575 };
15576
15577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15579 if (!SWIG_IsOK(res1)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15581 }
15582 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15583 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15584 if (!SWIG_IsOK(res2)) {
15585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15586 }
15587 if (!argp2) {
15588 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15589 }
15590 arg2 = reinterpret_cast< wxDC * >(argp2);
15591 {
15592 arg3 = &temp3;
15593 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15594 }
15595 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15596 if (!SWIG_IsOK(ecode4)) {
15597 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15598 }
15599 arg4 = static_cast< size_t >(val4);
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15603 wxPyEndAllowThreads(__tstate);
15604 if (PyErr_Occurred()) SWIG_fail;
15605 }
15606 resultobj = SWIG_Py_Void();
15607 return resultobj;
15608 fail:
15609 return NULL;
15610 }
15611
15612
15613 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15614 PyObject *obj;
15615 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15616 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15617 return SWIG_Py_Void();
15618 }
15619
15620 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15621 return SWIG_Python_InitShadowInstance(args);
15622 }
15623
15624 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15625 PyObject *resultobj = 0;
15626 wxWindow *arg1 = (wxWindow *) 0 ;
15627 int arg2 = (int) wxID_ANY ;
15628 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15629 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15630 wxSize const &arg4_defvalue = wxDefaultSize ;
15631 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15632 long arg5 = (long) 0 ;
15633 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15634 wxString *arg6 = (wxString *) &arg6_defvalue ;
15635 wxPyHtmlListBox *result = 0 ;
15636 void *argp1 = 0 ;
15637 int res1 = 0 ;
15638 int val2 ;
15639 int ecode2 = 0 ;
15640 wxPoint temp3 ;
15641 wxSize temp4 ;
15642 long val5 ;
15643 int ecode5 = 0 ;
15644 bool temp6 = false ;
15645 PyObject * obj0 = 0 ;
15646 PyObject * obj1 = 0 ;
15647 PyObject * obj2 = 0 ;
15648 PyObject * obj3 = 0 ;
15649 PyObject * obj4 = 0 ;
15650 PyObject * obj5 = 0 ;
15651 char * kwnames[] = {
15652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15653 };
15654
15655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15657 if (!SWIG_IsOK(res1)) {
15658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15659 }
15660 arg1 = reinterpret_cast< wxWindow * >(argp1);
15661 if (obj1) {
15662 ecode2 = SWIG_AsVal_int(obj1, &val2);
15663 if (!SWIG_IsOK(ecode2)) {
15664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15665 }
15666 arg2 = static_cast< int >(val2);
15667 }
15668 if (obj2) {
15669 {
15670 arg3 = &temp3;
15671 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15672 }
15673 }
15674 if (obj3) {
15675 {
15676 arg4 = &temp4;
15677 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15678 }
15679 }
15680 if (obj4) {
15681 ecode5 = SWIG_AsVal_long(obj4, &val5);
15682 if (!SWIG_IsOK(ecode5)) {
15683 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15684 }
15685 arg5 = static_cast< long >(val5);
15686 }
15687 if (obj5) {
15688 {
15689 arg6 = wxString_in_helper(obj5);
15690 if (arg6 == NULL) SWIG_fail;
15691 temp6 = true;
15692 }
15693 }
15694 {
15695 if (!wxPyCheckForApp()) SWIG_fail;
15696 PyThreadState* __tstate = wxPyBeginAllowThreads();
15697 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15698 wxPyEndAllowThreads(__tstate);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15702 {
15703 if (temp6)
15704 delete arg6;
15705 }
15706 return resultobj;
15707 fail:
15708 {
15709 if (temp6)
15710 delete arg6;
15711 }
15712 return NULL;
15713 }
15714
15715
15716 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15717 PyObject *resultobj = 0;
15718 wxPyHtmlListBox *result = 0 ;
15719
15720 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15721 {
15722 if (!wxPyCheckForApp()) SWIG_fail;
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15729 return resultobj;
15730 fail:
15731 return NULL;
15732 }
15733
15734
15735 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj = 0;
15737 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15738 PyObject *arg2 = (PyObject *) 0 ;
15739 PyObject *arg3 = (PyObject *) 0 ;
15740 void *argp1 = 0 ;
15741 int res1 = 0 ;
15742 PyObject * obj0 = 0 ;
15743 PyObject * obj1 = 0 ;
15744 PyObject * obj2 = 0 ;
15745 char * kwnames[] = {
15746 (char *) "self",(char *) "self",(char *) "_class", NULL
15747 };
15748
15749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15751 if (!SWIG_IsOK(res1)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15753 }
15754 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15755 arg2 = obj1;
15756 arg3 = obj2;
15757 {
15758 PyThreadState* __tstate = wxPyBeginAllowThreads();
15759 (arg1)->_setCallbackInfo(arg2,arg3);
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 resultobj = SWIG_Py_Void();
15764 return resultobj;
15765 fail:
15766 return NULL;
15767 }
15768
15769
15770 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15771 PyObject *resultobj = 0;
15772 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15773 wxWindow *arg2 = (wxWindow *) 0 ;
15774 int arg3 = (int) wxID_ANY ;
15775 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15776 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15777 wxSize const &arg5_defvalue = wxDefaultSize ;
15778 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15779 long arg6 = (long) 0 ;
15780 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15781 wxString *arg7 = (wxString *) &arg7_defvalue ;
15782 bool result;
15783 void *argp1 = 0 ;
15784 int res1 = 0 ;
15785 void *argp2 = 0 ;
15786 int res2 = 0 ;
15787 int val3 ;
15788 int ecode3 = 0 ;
15789 wxPoint temp4 ;
15790 wxSize temp5 ;
15791 long val6 ;
15792 int ecode6 = 0 ;
15793 bool temp7 = false ;
15794 PyObject * obj0 = 0 ;
15795 PyObject * obj1 = 0 ;
15796 PyObject * obj2 = 0 ;
15797 PyObject * obj3 = 0 ;
15798 PyObject * obj4 = 0 ;
15799 PyObject * obj5 = 0 ;
15800 PyObject * obj6 = 0 ;
15801 char * kwnames[] = {
15802 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15803 };
15804
15805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15807 if (!SWIG_IsOK(res1)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15809 }
15810 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15811 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15812 if (!SWIG_IsOK(res2)) {
15813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15814 }
15815 arg2 = reinterpret_cast< wxWindow * >(argp2);
15816 if (obj2) {
15817 ecode3 = SWIG_AsVal_int(obj2, &val3);
15818 if (!SWIG_IsOK(ecode3)) {
15819 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15820 }
15821 arg3 = static_cast< int >(val3);
15822 }
15823 if (obj3) {
15824 {
15825 arg4 = &temp4;
15826 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15827 }
15828 }
15829 if (obj4) {
15830 {
15831 arg5 = &temp5;
15832 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15833 }
15834 }
15835 if (obj5) {
15836 ecode6 = SWIG_AsVal_long(obj5, &val6);
15837 if (!SWIG_IsOK(ecode6)) {
15838 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15839 }
15840 arg6 = static_cast< long >(val6);
15841 }
15842 if (obj6) {
15843 {
15844 arg7 = wxString_in_helper(obj6);
15845 if (arg7 == NULL) SWIG_fail;
15846 temp7 = true;
15847 }
15848 }
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 {
15856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15857 }
15858 {
15859 if (temp7)
15860 delete arg7;
15861 }
15862 return resultobj;
15863 fail:
15864 {
15865 if (temp7)
15866 delete arg7;
15867 }
15868 return NULL;
15869 }
15870
15871
15872 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj = 0;
15874 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15875 size_t arg2 ;
15876 void *argp1 = 0 ;
15877 int res1 = 0 ;
15878 size_t val2 ;
15879 int ecode2 = 0 ;
15880 PyObject * obj0 = 0 ;
15881 PyObject * obj1 = 0 ;
15882 char * kwnames[] = {
15883 (char *) "self",(char *) "count", NULL
15884 };
15885
15886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15888 if (!SWIG_IsOK(res1)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15890 }
15891 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15892 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15893 if (!SWIG_IsOK(ecode2)) {
15894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15895 }
15896 arg2 = static_cast< size_t >(val2);
15897 {
15898 PyThreadState* __tstate = wxPyBeginAllowThreads();
15899 (arg1)->SetItemCount(arg2);
15900 wxPyEndAllowThreads(__tstate);
15901 if (PyErr_Occurred()) SWIG_fail;
15902 }
15903 resultobj = SWIG_Py_Void();
15904 return resultobj;
15905 fail:
15906 return NULL;
15907 }
15908
15909
15910 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15911 PyObject *resultobj = 0;
15912 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15913 wxFileSystem *result = 0 ;
15914 void *argp1 = 0 ;
15915 int res1 = 0 ;
15916 PyObject *swig_obj[1] ;
15917
15918 if (!args) SWIG_fail;
15919 swig_obj[0] = args;
15920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15921 if (!SWIG_IsOK(res1)) {
15922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15923 }
15924 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15925 {
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
15927 {
15928 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15929 result = (wxFileSystem *) &_result_ref;
15930 }
15931 wxPyEndAllowThreads(__tstate);
15932 if (PyErr_Occurred()) SWIG_fail;
15933 }
15934 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15935 return resultobj;
15936 fail:
15937 return NULL;
15938 }
15939
15940
15941 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15942 PyObject *resultobj = 0;
15943 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15944 size_t arg2 ;
15945 wxHtmlLinkInfo *arg3 = 0 ;
15946 void *argp1 = 0 ;
15947 int res1 = 0 ;
15948 size_t val2 ;
15949 int ecode2 = 0 ;
15950 void *argp3 = 0 ;
15951 int res3 = 0 ;
15952 PyObject * obj0 = 0 ;
15953 PyObject * obj1 = 0 ;
15954 PyObject * obj2 = 0 ;
15955 char * kwnames[] = {
15956 (char *) "self",(char *) "n",(char *) "link", NULL
15957 };
15958
15959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15961 if (!SWIG_IsOK(res1)) {
15962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15963 }
15964 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15965 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15966 if (!SWIG_IsOK(ecode2)) {
15967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15968 }
15969 arg2 = static_cast< size_t >(val2);
15970 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15971 if (!SWIG_IsOK(res3)) {
15972 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15973 }
15974 if (!argp3) {
15975 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15976 }
15977 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15978 {
15979 PyThreadState* __tstate = wxPyBeginAllowThreads();
15980 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15981 wxPyEndAllowThreads(__tstate);
15982 if (PyErr_Occurred()) SWIG_fail;
15983 }
15984 resultobj = SWIG_Py_Void();
15985 return resultobj;
15986 fail:
15987 return NULL;
15988 }
15989
15990
15991 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15992 PyObject *obj;
15993 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15994 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15995 return SWIG_Py_Void();
15996 }
15997
15998 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15999 return SWIG_Python_InitShadowInstance(args);
16000 }
16001
16002 SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
16003 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
16004 return 1;
16005 }
16006
16007
16008 SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
16009 PyObject *pyobj = 0;
16010
16011 {
16012 #if wxUSE_UNICODE
16013 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
16014 #else
16015 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
16016 #endif
16017 }
16018 return pyobj;
16019 }
16020
16021
16022 SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16023 PyObject *resultobj = 0;
16024 wxWindow *arg1 = (wxWindow *) 0 ;
16025 int arg2 = (int) -1 ;
16026 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16027 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16028 wxSize const &arg4_defvalue = wxDefaultSize ;
16029 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16030 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
16031 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
16032 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
16033 wxValidator const &arg7_defvalue = wxDefaultValidator ;
16034 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
16035 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
16036 wxString *arg8 = (wxString *) &arg8_defvalue ;
16037 wxSimpleHtmlListBox *result = 0 ;
16038 void *argp1 = 0 ;
16039 int res1 = 0 ;
16040 int val2 ;
16041 int ecode2 = 0 ;
16042 wxPoint temp3 ;
16043 wxSize temp4 ;
16044 bool temp5 = false ;
16045 long val6 ;
16046 int ecode6 = 0 ;
16047 void *argp7 = 0 ;
16048 int res7 = 0 ;
16049 bool temp8 = false ;
16050 PyObject * obj0 = 0 ;
16051 PyObject * obj1 = 0 ;
16052 PyObject * obj2 = 0 ;
16053 PyObject * obj3 = 0 ;
16054 PyObject * obj4 = 0 ;
16055 PyObject * obj5 = 0 ;
16056 PyObject * obj6 = 0 ;
16057 PyObject * obj7 = 0 ;
16058 char * kwnames[] = {
16059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16060 };
16061
16062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
16063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16064 if (!SWIG_IsOK(res1)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16066 }
16067 arg1 = reinterpret_cast< wxWindow * >(argp1);
16068 if (obj1) {
16069 ecode2 = SWIG_AsVal_int(obj1, &val2);
16070 if (!SWIG_IsOK(ecode2)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
16072 }
16073 arg2 = static_cast< int >(val2);
16074 }
16075 if (obj2) {
16076 {
16077 arg3 = &temp3;
16078 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16079 }
16080 }
16081 if (obj3) {
16082 {
16083 arg4 = &temp4;
16084 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16085 }
16086 }
16087 if (obj4) {
16088 {
16089 if (! PySequence_Check(obj4)) {
16090 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16091 SWIG_fail;
16092 }
16093 arg5 = new wxArrayString;
16094 temp5 = true;
16095 int i, len=PySequence_Length(obj4);
16096 for (i=0; i<len; i++) {
16097 PyObject* item = PySequence_GetItem(obj4, i);
16098 wxString* s = wxString_in_helper(item);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 arg5->Add(*s);
16101 delete s;
16102 Py_DECREF(item);
16103 }
16104 }
16105 }
16106 if (obj5) {
16107 ecode6 = SWIG_AsVal_long(obj5, &val6);
16108 if (!SWIG_IsOK(ecode6)) {
16109 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
16110 }
16111 arg6 = static_cast< long >(val6);
16112 }
16113 if (obj6) {
16114 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
16115 if (!SWIG_IsOK(res7)) {
16116 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16117 }
16118 if (!argp7) {
16119 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16120 }
16121 arg7 = reinterpret_cast< wxValidator * >(argp7);
16122 }
16123 if (obj7) {
16124 {
16125 arg8 = wxString_in_helper(obj7);
16126 if (arg8 == NULL) SWIG_fail;
16127 temp8 = true;
16128 }
16129 }
16130 {
16131 if (!wxPyCheckForApp()) SWIG_fail;
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16134 wxPyEndAllowThreads(__tstate);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 }
16137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
16138 {
16139 if (temp5) delete arg5;
16140 }
16141 {
16142 if (temp8)
16143 delete arg8;
16144 }
16145 return resultobj;
16146 fail:
16147 {
16148 if (temp5) delete arg5;
16149 }
16150 {
16151 if (temp8)
16152 delete arg8;
16153 }
16154 return NULL;
16155 }
16156
16157
16158 SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16159 PyObject *resultobj = 0;
16160 wxSimpleHtmlListBox *result = 0 ;
16161
16162 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
16163 {
16164 if (!wxPyCheckForApp()) SWIG_fail;
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
16167 wxPyEndAllowThreads(__tstate);
16168 if (PyErr_Occurred()) SWIG_fail;
16169 }
16170 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
16171 return resultobj;
16172 fail:
16173 return NULL;
16174 }
16175
16176
16177 SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16178 PyObject *resultobj = 0;
16179 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
16180 wxWindow *arg2 = (wxWindow *) 0 ;
16181 int arg3 = (int) -1 ;
16182 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16183 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16184 wxSize const &arg5_defvalue = wxDefaultSize ;
16185 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16186 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16187 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16188 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
16189 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16190 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16191 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
16192 wxString *arg9 = (wxString *) &arg9_defvalue ;
16193 bool result;
16194 void *argp1 = 0 ;
16195 int res1 = 0 ;
16196 void *argp2 = 0 ;
16197 int res2 = 0 ;
16198 int val3 ;
16199 int ecode3 = 0 ;
16200 wxPoint temp4 ;
16201 wxSize temp5 ;
16202 bool temp6 = false ;
16203 long val7 ;
16204 int ecode7 = 0 ;
16205 void *argp8 = 0 ;
16206 int res8 = 0 ;
16207 bool temp9 = false ;
16208 PyObject * obj0 = 0 ;
16209 PyObject * obj1 = 0 ;
16210 PyObject * obj2 = 0 ;
16211 PyObject * obj3 = 0 ;
16212 PyObject * obj4 = 0 ;
16213 PyObject * obj5 = 0 ;
16214 PyObject * obj6 = 0 ;
16215 PyObject * obj7 = 0 ;
16216 PyObject * obj8 = 0 ;
16217 char * kwnames[] = {
16218 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16219 };
16220
16221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
16222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
16223 if (!SWIG_IsOK(res1)) {
16224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16225 }
16226 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
16227 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16228 if (!SWIG_IsOK(res2)) {
16229 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16230 }
16231 arg2 = reinterpret_cast< wxWindow * >(argp2);
16232 if (obj2) {
16233 ecode3 = SWIG_AsVal_int(obj2, &val3);
16234 if (!SWIG_IsOK(ecode3)) {
16235 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16236 }
16237 arg3 = static_cast< int >(val3);
16238 }
16239 if (obj3) {
16240 {
16241 arg4 = &temp4;
16242 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16243 }
16244 }
16245 if (obj4) {
16246 {
16247 arg5 = &temp5;
16248 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16249 }
16250 }
16251 if (obj5) {
16252 {
16253 if (! PySequence_Check(obj5)) {
16254 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16255 SWIG_fail;
16256 }
16257 arg6 = new wxArrayString;
16258 temp6 = true;
16259 int i, len=PySequence_Length(obj5);
16260 for (i=0; i<len; i++) {
16261 PyObject* item = PySequence_GetItem(obj5, i);
16262 wxString* s = wxString_in_helper(item);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 arg6->Add(*s);
16265 delete s;
16266 Py_DECREF(item);
16267 }
16268 }
16269 }
16270 if (obj6) {
16271 ecode7 = SWIG_AsVal_long(obj6, &val7);
16272 if (!SWIG_IsOK(ecode7)) {
16273 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16274 }
16275 arg7 = static_cast< long >(val7);
16276 }
16277 if (obj7) {
16278 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
16279 if (!SWIG_IsOK(res8)) {
16280 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16281 }
16282 if (!argp8) {
16283 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16284 }
16285 arg8 = reinterpret_cast< wxValidator * >(argp8);
16286 }
16287 if (obj8) {
16288 {
16289 arg9 = wxString_in_helper(obj8);
16290 if (arg9 == NULL) SWIG_fail;
16291 temp9 = true;
16292 }
16293 }
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16297 wxPyEndAllowThreads(__tstate);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 }
16300 {
16301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16302 }
16303 {
16304 if (temp6) delete arg6;
16305 }
16306 {
16307 if (temp9)
16308 delete arg9;
16309 }
16310 return resultobj;
16311 fail:
16312 {
16313 if (temp6) delete arg6;
16314 }
16315 {
16316 if (temp9)
16317 delete arg9;
16318 }
16319 return NULL;
16320 }
16321
16322
16323 SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16324 PyObject *obj;
16325 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16326 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
16327 return SWIG_Py_Void();
16328 }
16329
16330 SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16331 return SWIG_Python_InitShadowInstance(args);
16332 }
16333
16334 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16335 PyObject *resultobj = 0;
16336 wxPyTaskBarIcon *result = 0 ;
16337
16338 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16339 {
16340 if (!wxPyCheckForApp()) SWIG_fail;
16341 PyThreadState* __tstate = wxPyBeginAllowThreads();
16342 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16343 wxPyEndAllowThreads(__tstate);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 }
16346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16347 return resultobj;
16348 fail:
16349 return NULL;
16350 }
16351
16352
16353 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16354 PyObject *resultobj = 0;
16355 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16356 void *argp1 = 0 ;
16357 int res1 = 0 ;
16358 PyObject *swig_obj[1] ;
16359
16360 if (!args) SWIG_fail;
16361 swig_obj[0] = args;
16362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16363 if (!SWIG_IsOK(res1)) {
16364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16365 }
16366 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 delete arg1;
16370
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 resultobj = SWIG_Py_Void();
16375 return resultobj;
16376 fail:
16377 return NULL;
16378 }
16379
16380
16381 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16382 PyObject *resultobj = 0;
16383 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16384 PyObject *arg2 = (PyObject *) 0 ;
16385 PyObject *arg3 = (PyObject *) 0 ;
16386 int arg4 = (int) 0 ;
16387 void *argp1 = 0 ;
16388 int res1 = 0 ;
16389 int val4 ;
16390 int ecode4 = 0 ;
16391 PyObject * obj0 = 0 ;
16392 PyObject * obj1 = 0 ;
16393 PyObject * obj2 = 0 ;
16394 PyObject * obj3 = 0 ;
16395 char * kwnames[] = {
16396 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16397 };
16398
16399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16401 if (!SWIG_IsOK(res1)) {
16402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16403 }
16404 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16405 arg2 = obj1;
16406 arg3 = obj2;
16407 if (obj3) {
16408 ecode4 = SWIG_AsVal_int(obj3, &val4);
16409 if (!SWIG_IsOK(ecode4)) {
16410 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16411 }
16412 arg4 = static_cast< int >(val4);
16413 }
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16417 wxPyEndAllowThreads(__tstate);
16418 if (PyErr_Occurred()) SWIG_fail;
16419 }
16420 resultobj = SWIG_Py_Void();
16421 return resultobj;
16422 fail:
16423 return NULL;
16424 }
16425
16426
16427 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16428 PyObject *resultobj = 0;
16429 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16430 void *argp1 = 0 ;
16431 int res1 = 0 ;
16432 PyObject *swig_obj[1] ;
16433
16434 if (!args) SWIG_fail;
16435 swig_obj[0] = args;
16436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16437 if (!SWIG_IsOK(res1)) {
16438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16439 }
16440 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16441 {
16442 PyThreadState* __tstate = wxPyBeginAllowThreads();
16443 wxPyTaskBarIcon_Destroy(arg1);
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 resultobj = SWIG_Py_Void();
16448 return resultobj;
16449 fail:
16450 return NULL;
16451 }
16452
16453
16454 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16455 PyObject *resultobj = 0;
16456 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16457 bool result;
16458 void *argp1 = 0 ;
16459 int res1 = 0 ;
16460 PyObject *swig_obj[1] ;
16461
16462 if (!args) SWIG_fail;
16463 swig_obj[0] = args;
16464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16465 if (!SWIG_IsOK(res1)) {
16466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16467 }
16468 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16469 {
16470 PyThreadState* __tstate = wxPyBeginAllowThreads();
16471 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16472 wxPyEndAllowThreads(__tstate);
16473 if (PyErr_Occurred()) SWIG_fail;
16474 }
16475 {
16476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16477 }
16478 return resultobj;
16479 fail:
16480 return NULL;
16481 }
16482
16483
16484 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16485 PyObject *resultobj = 0;
16486 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16487 bool result;
16488 void *argp1 = 0 ;
16489 int res1 = 0 ;
16490 PyObject *swig_obj[1] ;
16491
16492 if (!args) SWIG_fail;
16493 swig_obj[0] = args;
16494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16495 if (!SWIG_IsOK(res1)) {
16496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16497 }
16498 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16502 wxPyEndAllowThreads(__tstate);
16503 if (PyErr_Occurred()) SWIG_fail;
16504 }
16505 {
16506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16507 }
16508 return resultobj;
16509 fail:
16510 return NULL;
16511 }
16512
16513
16514 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16515 PyObject *resultobj = 0;
16516 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16517 wxIcon *arg2 = 0 ;
16518 wxString const &arg3_defvalue = wxPyEmptyString ;
16519 wxString *arg3 = (wxString *) &arg3_defvalue ;
16520 bool result;
16521 void *argp1 = 0 ;
16522 int res1 = 0 ;
16523 void *argp2 = 0 ;
16524 int res2 = 0 ;
16525 bool temp3 = false ;
16526 PyObject * obj0 = 0 ;
16527 PyObject * obj1 = 0 ;
16528 PyObject * obj2 = 0 ;
16529 char * kwnames[] = {
16530 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16531 };
16532
16533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16535 if (!SWIG_IsOK(res1)) {
16536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16537 }
16538 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16539 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16540 if (!SWIG_IsOK(res2)) {
16541 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16542 }
16543 if (!argp2) {
16544 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16545 }
16546 arg2 = reinterpret_cast< wxIcon * >(argp2);
16547 if (obj2) {
16548 {
16549 arg3 = wxString_in_helper(obj2);
16550 if (arg3 == NULL) SWIG_fail;
16551 temp3 = true;
16552 }
16553 }
16554 {
16555 PyThreadState* __tstate = wxPyBeginAllowThreads();
16556 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16557 wxPyEndAllowThreads(__tstate);
16558 if (PyErr_Occurred()) SWIG_fail;
16559 }
16560 {
16561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16562 }
16563 {
16564 if (temp3)
16565 delete arg3;
16566 }
16567 return resultobj;
16568 fail:
16569 {
16570 if (temp3)
16571 delete arg3;
16572 }
16573 return NULL;
16574 }
16575
16576
16577 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16578 PyObject *resultobj = 0;
16579 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16580 bool result;
16581 void *argp1 = 0 ;
16582 int res1 = 0 ;
16583 PyObject *swig_obj[1] ;
16584
16585 if (!args) SWIG_fail;
16586 swig_obj[0] = args;
16587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16588 if (!SWIG_IsOK(res1)) {
16589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16590 }
16591 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16592 {
16593 PyThreadState* __tstate = wxPyBeginAllowThreads();
16594 result = (bool)(arg1)->RemoveIcon();
16595 wxPyEndAllowThreads(__tstate);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
16598 {
16599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16600 }
16601 return resultobj;
16602 fail:
16603 return NULL;
16604 }
16605
16606
16607 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16608 PyObject *resultobj = 0;
16609 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16610 wxMenu *arg2 = (wxMenu *) 0 ;
16611 bool result;
16612 void *argp1 = 0 ;
16613 int res1 = 0 ;
16614 void *argp2 = 0 ;
16615 int res2 = 0 ;
16616 PyObject * obj0 = 0 ;
16617 PyObject * obj1 = 0 ;
16618 char * kwnames[] = {
16619 (char *) "self",(char *) "menu", NULL
16620 };
16621
16622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16624 if (!SWIG_IsOK(res1)) {
16625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16626 }
16627 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16628 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16629 if (!SWIG_IsOK(res2)) {
16630 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16631 }
16632 arg2 = reinterpret_cast< wxMenu * >(argp2);
16633 {
16634 PyThreadState* __tstate = wxPyBeginAllowThreads();
16635 result = (bool)(arg1)->PopupMenu(arg2);
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 {
16640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16641 }
16642 return resultobj;
16643 fail:
16644 return NULL;
16645 }
16646
16647
16648 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16649 PyObject *obj;
16650 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16651 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16652 return SWIG_Py_Void();
16653 }
16654
16655 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16656 return SWIG_Python_InitShadowInstance(args);
16657 }
16658
16659 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16660 PyObject *resultobj = 0;
16661 wxEventType arg1 ;
16662 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16663 wxTaskBarIconEvent *result = 0 ;
16664 int val1 ;
16665 int ecode1 = 0 ;
16666 void *argp2 = 0 ;
16667 int res2 = 0 ;
16668 PyObject * obj0 = 0 ;
16669 PyObject * obj1 = 0 ;
16670 char * kwnames[] = {
16671 (char *) "evtType",(char *) "tbIcon", NULL
16672 };
16673
16674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16675 ecode1 = SWIG_AsVal_int(obj0, &val1);
16676 if (!SWIG_IsOK(ecode1)) {
16677 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16678 }
16679 arg1 = static_cast< wxEventType >(val1);
16680 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16681 if (!SWIG_IsOK(res2)) {
16682 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16683 }
16684 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16688 wxPyEndAllowThreads(__tstate);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 }
16691 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16692 return resultobj;
16693 fail:
16694 return NULL;
16695 }
16696
16697
16698 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16699 PyObject *obj;
16700 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16701 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16702 return SWIG_Py_Void();
16703 }
16704
16705 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16706 return SWIG_Python_InitShadowInstance(args);
16707 }
16708
16709 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16710 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16711 return 1;
16712 }
16713
16714
16715 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16716 PyObject *pyobj = 0;
16717
16718 {
16719 #if wxUSE_UNICODE
16720 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16721 #else
16722 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16723 #endif
16724 }
16725 return pyobj;
16726 }
16727
16728
16729 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16730 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16731 return 1;
16732 }
16733
16734
16735 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16736 PyObject *pyobj = 0;
16737
16738 {
16739 #if wxUSE_UNICODE
16740 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16741 #else
16742 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16743 #endif
16744 }
16745 return pyobj;
16746 }
16747
16748
16749 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16750 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16751 return 1;
16752 }
16753
16754
16755 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16756 PyObject *pyobj = 0;
16757
16758 {
16759 #if wxUSE_UNICODE
16760 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16761 #else
16762 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16763 #endif
16764 }
16765 return pyobj;
16766 }
16767
16768
16769 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16770 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16771 return 1;
16772 }
16773
16774
16775 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16776 PyObject *pyobj = 0;
16777
16778 {
16779 #if wxUSE_UNICODE
16780 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16781 #else
16782 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16783 #endif
16784 }
16785 return pyobj;
16786 }
16787
16788
16789 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16790 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16791 return 1;
16792 }
16793
16794
16795 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16796 PyObject *pyobj = 0;
16797
16798 {
16799 #if wxUSE_UNICODE
16800 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16801 #else
16802 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16803 #endif
16804 }
16805 return pyobj;
16806 }
16807
16808
16809 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16810 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16811 return 1;
16812 }
16813
16814
16815 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16816 PyObject *pyobj = 0;
16817
16818 {
16819 #if wxUSE_UNICODE
16820 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16821 #else
16822 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16823 #endif
16824 }
16825 return pyobj;
16826 }
16827
16828
16829 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16830 PyObject *resultobj = 0;
16831 wxColourData *result = 0 ;
16832
16833 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16834 {
16835 PyThreadState* __tstate = wxPyBeginAllowThreads();
16836 result = (wxColourData *)new wxColourData();
16837 wxPyEndAllowThreads(__tstate);
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16841 return resultobj;
16842 fail:
16843 return NULL;
16844 }
16845
16846
16847 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16848 PyObject *resultobj = 0;
16849 wxColourData *arg1 = (wxColourData *) 0 ;
16850 void *argp1 = 0 ;
16851 int res1 = 0 ;
16852 PyObject *swig_obj[1] ;
16853
16854 if (!args) SWIG_fail;
16855 swig_obj[0] = args;
16856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16857 if (!SWIG_IsOK(res1)) {
16858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16859 }
16860 arg1 = reinterpret_cast< wxColourData * >(argp1);
16861 {
16862 PyThreadState* __tstate = wxPyBeginAllowThreads();
16863 delete arg1;
16864
16865 wxPyEndAllowThreads(__tstate);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
16868 resultobj = SWIG_Py_Void();
16869 return resultobj;
16870 fail:
16871 return NULL;
16872 }
16873
16874
16875 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16876 PyObject *resultobj = 0;
16877 wxColourData *arg1 = (wxColourData *) 0 ;
16878 bool result;
16879 void *argp1 = 0 ;
16880 int res1 = 0 ;
16881 PyObject *swig_obj[1] ;
16882
16883 if (!args) SWIG_fail;
16884 swig_obj[0] = args;
16885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16886 if (!SWIG_IsOK(res1)) {
16887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16888 }
16889 arg1 = reinterpret_cast< wxColourData * >(argp1);
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 result = (bool)(arg1)->GetChooseFull();
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 {
16897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16898 }
16899 return resultobj;
16900 fail:
16901 return NULL;
16902 }
16903
16904
16905 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16906 PyObject *resultobj = 0;
16907 wxColourData *arg1 = (wxColourData *) 0 ;
16908 wxColour result;
16909 void *argp1 = 0 ;
16910 int res1 = 0 ;
16911 PyObject *swig_obj[1] ;
16912
16913 if (!args) SWIG_fail;
16914 swig_obj[0] = args;
16915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16916 if (!SWIG_IsOK(res1)) {
16917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16918 }
16919 arg1 = reinterpret_cast< wxColourData * >(argp1);
16920 {
16921 PyThreadState* __tstate = wxPyBeginAllowThreads();
16922 result = (arg1)->GetColour();
16923 wxPyEndAllowThreads(__tstate);
16924 if (PyErr_Occurred()) SWIG_fail;
16925 }
16926 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16927 return resultobj;
16928 fail:
16929 return NULL;
16930 }
16931
16932
16933 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16934 PyObject *resultobj = 0;
16935 wxColourData *arg1 = (wxColourData *) 0 ;
16936 int arg2 ;
16937 wxColour result;
16938 void *argp1 = 0 ;
16939 int res1 = 0 ;
16940 int val2 ;
16941 int ecode2 = 0 ;
16942 PyObject * obj0 = 0 ;
16943 PyObject * obj1 = 0 ;
16944 char * kwnames[] = {
16945 (char *) "self",(char *) "i", NULL
16946 };
16947
16948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16950 if (!SWIG_IsOK(res1)) {
16951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16952 }
16953 arg1 = reinterpret_cast< wxColourData * >(argp1);
16954 ecode2 = SWIG_AsVal_int(obj1, &val2);
16955 if (!SWIG_IsOK(ecode2)) {
16956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16957 }
16958 arg2 = static_cast< int >(val2);
16959 {
16960 PyThreadState* __tstate = wxPyBeginAllowThreads();
16961 result = (arg1)->GetCustomColour(arg2);
16962 wxPyEndAllowThreads(__tstate);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 }
16965 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16966 return resultobj;
16967 fail:
16968 return NULL;
16969 }
16970
16971
16972 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16973 PyObject *resultobj = 0;
16974 wxColourData *arg1 = (wxColourData *) 0 ;
16975 int arg2 ;
16976 void *argp1 = 0 ;
16977 int res1 = 0 ;
16978 int val2 ;
16979 int ecode2 = 0 ;
16980 PyObject * obj0 = 0 ;
16981 PyObject * obj1 = 0 ;
16982 char * kwnames[] = {
16983 (char *) "self",(char *) "flag", NULL
16984 };
16985
16986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16988 if (!SWIG_IsOK(res1)) {
16989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16990 }
16991 arg1 = reinterpret_cast< wxColourData * >(argp1);
16992 ecode2 = SWIG_AsVal_int(obj1, &val2);
16993 if (!SWIG_IsOK(ecode2)) {
16994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16995 }
16996 arg2 = static_cast< int >(val2);
16997 {
16998 PyThreadState* __tstate = wxPyBeginAllowThreads();
16999 (arg1)->SetChooseFull(arg2);
17000 wxPyEndAllowThreads(__tstate);
17001 if (PyErr_Occurred()) SWIG_fail;
17002 }
17003 resultobj = SWIG_Py_Void();
17004 return resultobj;
17005 fail:
17006 return NULL;
17007 }
17008
17009
17010 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17011 PyObject *resultobj = 0;
17012 wxColourData *arg1 = (wxColourData *) 0 ;
17013 wxColour *arg2 = 0 ;
17014 void *argp1 = 0 ;
17015 int res1 = 0 ;
17016 wxColour temp2 ;
17017 PyObject * obj0 = 0 ;
17018 PyObject * obj1 = 0 ;
17019 char * kwnames[] = {
17020 (char *) "self",(char *) "colour", NULL
17021 };
17022
17023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
17024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
17025 if (!SWIG_IsOK(res1)) {
17026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17027 }
17028 arg1 = reinterpret_cast< wxColourData * >(argp1);
17029 {
17030 arg2 = &temp2;
17031 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17032 }
17033 {
17034 PyThreadState* __tstate = wxPyBeginAllowThreads();
17035 (arg1)->SetColour((wxColour const &)*arg2);
17036 wxPyEndAllowThreads(__tstate);
17037 if (PyErr_Occurred()) SWIG_fail;
17038 }
17039 resultobj = SWIG_Py_Void();
17040 return resultobj;
17041 fail:
17042 return NULL;
17043 }
17044
17045
17046 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17047 PyObject *resultobj = 0;
17048 wxColourData *arg1 = (wxColourData *) 0 ;
17049 int arg2 ;
17050 wxColour *arg3 = 0 ;
17051 void *argp1 = 0 ;
17052 int res1 = 0 ;
17053 int val2 ;
17054 int ecode2 = 0 ;
17055 wxColour temp3 ;
17056 PyObject * obj0 = 0 ;
17057 PyObject * obj1 = 0 ;
17058 PyObject * obj2 = 0 ;
17059 char * kwnames[] = {
17060 (char *) "self",(char *) "i",(char *) "colour", NULL
17061 };
17062
17063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
17065 if (!SWIG_IsOK(res1)) {
17066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17067 }
17068 arg1 = reinterpret_cast< wxColourData * >(argp1);
17069 ecode2 = SWIG_AsVal_int(obj1, &val2);
17070 if (!SWIG_IsOK(ecode2)) {
17071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
17072 }
17073 arg2 = static_cast< int >(val2);
17074 {
17075 arg3 = &temp3;
17076 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17077 }
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
17080 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
17081 wxPyEndAllowThreads(__tstate);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 }
17084 resultobj = SWIG_Py_Void();
17085 return resultobj;
17086 fail:
17087 return NULL;
17088 }
17089
17090
17091 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17092 PyObject *obj;
17093 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17094 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
17095 return SWIG_Py_Void();
17096 }
17097
17098 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17099 return SWIG_Python_InitShadowInstance(args);
17100 }
17101
17102 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj = 0;
17104 wxWindow *arg1 = (wxWindow *) 0 ;
17105 wxColourData *arg2 = (wxColourData *) NULL ;
17106 wxColourDialog *result = 0 ;
17107 void *argp1 = 0 ;
17108 int res1 = 0 ;
17109 void *argp2 = 0 ;
17110 int res2 = 0 ;
17111 PyObject * obj0 = 0 ;
17112 PyObject * obj1 = 0 ;
17113 char * kwnames[] = {
17114 (char *) "parent",(char *) "data", NULL
17115 };
17116
17117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
17118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17119 if (!SWIG_IsOK(res1)) {
17120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17121 }
17122 arg1 = reinterpret_cast< wxWindow * >(argp1);
17123 if (obj1) {
17124 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
17125 if (!SWIG_IsOK(res2)) {
17126 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17127 }
17128 arg2 = reinterpret_cast< wxColourData * >(argp2);
17129 }
17130 {
17131 if (!wxPyCheckForApp()) SWIG_fail;
17132 PyThreadState* __tstate = wxPyBeginAllowThreads();
17133 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
17134 wxPyEndAllowThreads(__tstate);
17135 if (PyErr_Occurred()) SWIG_fail;
17136 }
17137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
17138 return resultobj;
17139 fail:
17140 return NULL;
17141 }
17142
17143
17144 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17145 PyObject *resultobj = 0;
17146 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
17147 wxColourData *result = 0 ;
17148 void *argp1 = 0 ;
17149 int res1 = 0 ;
17150 PyObject *swig_obj[1] ;
17151
17152 if (!args) SWIG_fail;
17153 swig_obj[0] = args;
17154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
17155 if (!SWIG_IsOK(res1)) {
17156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17157 }
17158 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 {
17162 wxColourData &_result_ref = (arg1)->GetColourData();
17163 result = (wxColourData *) &_result_ref;
17164 }
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
17169 return resultobj;
17170 fail:
17171 return NULL;
17172 }
17173
17174
17175 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17176 PyObject *obj;
17177 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17178 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
17179 return SWIG_Py_Void();
17180 }
17181
17182 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17183 return SWIG_Python_InitShadowInstance(args);
17184 }
17185
17186 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17187 PyObject *resultobj = 0;
17188 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
17189 wxColour const &arg2_defvalue = wxNullColour ;
17190 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17191 wxString const &arg3_defvalue = wxPyEmptyString ;
17192 wxString *arg3 = (wxString *) &arg3_defvalue ;
17193 wxColour result;
17194 void *argp1 = 0 ;
17195 int res1 = 0 ;
17196 wxColour temp2 ;
17197 bool temp3 = false ;
17198 PyObject * obj0 = 0 ;
17199 PyObject * obj1 = 0 ;
17200 PyObject * obj2 = 0 ;
17201 char * kwnames[] = {
17202 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17203 };
17204
17205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17206 if (obj0) {
17207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17208 if (!SWIG_IsOK(res1)) {
17209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17210 }
17211 arg1 = reinterpret_cast< wxWindow * >(argp1);
17212 }
17213 if (obj1) {
17214 {
17215 arg2 = &temp2;
17216 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17217 }
17218 }
17219 if (obj2) {
17220 {
17221 arg3 = wxString_in_helper(obj2);
17222 if (arg3 == NULL) SWIG_fail;
17223 temp3 = true;
17224 }
17225 }
17226 {
17227 PyThreadState* __tstate = wxPyBeginAllowThreads();
17228 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
17229 wxPyEndAllowThreads(__tstate);
17230 if (PyErr_Occurred()) SWIG_fail;
17231 }
17232 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
17233 {
17234 if (temp3)
17235 delete arg3;
17236 }
17237 return resultobj;
17238 fail:
17239 {
17240 if (temp3)
17241 delete arg3;
17242 }
17243 return NULL;
17244 }
17245
17246
17247 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj = 0;
17249 wxWindow *arg1 = (wxWindow *) 0 ;
17250 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
17251 wxString *arg2 = (wxString *) &arg2_defvalue ;
17252 wxString const &arg3_defvalue = wxPyEmptyString ;
17253 wxString *arg3 = (wxString *) &arg3_defvalue ;
17254 long arg4 = (long) wxDD_DEFAULT_STYLE ;
17255 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17256 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17257 wxSize const &arg6_defvalue = wxDefaultSize ;
17258 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17259 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
17260 wxString *arg7 = (wxString *) &arg7_defvalue ;
17261 wxDirDialog *result = 0 ;
17262 void *argp1 = 0 ;
17263 int res1 = 0 ;
17264 bool temp2 = false ;
17265 bool temp3 = false ;
17266 long val4 ;
17267 int ecode4 = 0 ;
17268 wxPoint temp5 ;
17269 wxSize temp6 ;
17270 bool temp7 = false ;
17271 PyObject * obj0 = 0 ;
17272 PyObject * obj1 = 0 ;
17273 PyObject * obj2 = 0 ;
17274 PyObject * obj3 = 0 ;
17275 PyObject * obj4 = 0 ;
17276 PyObject * obj5 = 0 ;
17277 PyObject * obj6 = 0 ;
17278 char * kwnames[] = {
17279 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17280 };
17281
17282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17284 if (!SWIG_IsOK(res1)) {
17285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17286 }
17287 arg1 = reinterpret_cast< wxWindow * >(argp1);
17288 if (obj1) {
17289 {
17290 arg2 = wxString_in_helper(obj1);
17291 if (arg2 == NULL) SWIG_fail;
17292 temp2 = true;
17293 }
17294 }
17295 if (obj2) {
17296 {
17297 arg3 = wxString_in_helper(obj2);
17298 if (arg3 == NULL) SWIG_fail;
17299 temp3 = true;
17300 }
17301 }
17302 if (obj3) {
17303 ecode4 = SWIG_AsVal_long(obj3, &val4);
17304 if (!SWIG_IsOK(ecode4)) {
17305 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17306 }
17307 arg4 = static_cast< long >(val4);
17308 }
17309 if (obj4) {
17310 {
17311 arg5 = &temp5;
17312 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17313 }
17314 }
17315 if (obj5) {
17316 {
17317 arg6 = &temp6;
17318 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17319 }
17320 }
17321 if (obj6) {
17322 {
17323 arg7 = wxString_in_helper(obj6);
17324 if (arg7 == NULL) SWIG_fail;
17325 temp7 = true;
17326 }
17327 }
17328 {
17329 if (!wxPyCheckForApp()) SWIG_fail;
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17332 wxPyEndAllowThreads(__tstate);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17336 {
17337 if (temp2)
17338 delete arg2;
17339 }
17340 {
17341 if (temp3)
17342 delete arg3;
17343 }
17344 {
17345 if (temp7)
17346 delete arg7;
17347 }
17348 return resultobj;
17349 fail:
17350 {
17351 if (temp2)
17352 delete arg2;
17353 }
17354 {
17355 if (temp3)
17356 delete arg3;
17357 }
17358 {
17359 if (temp7)
17360 delete arg7;
17361 }
17362 return NULL;
17363 }
17364
17365
17366 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17367 PyObject *resultobj = 0;
17368 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17369 wxString result;
17370 void *argp1 = 0 ;
17371 int res1 = 0 ;
17372 PyObject *swig_obj[1] ;
17373
17374 if (!args) SWIG_fail;
17375 swig_obj[0] = args;
17376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17377 if (!SWIG_IsOK(res1)) {
17378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17379 }
17380 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17381 {
17382 PyThreadState* __tstate = wxPyBeginAllowThreads();
17383 result = (arg1)->GetPath();
17384 wxPyEndAllowThreads(__tstate);
17385 if (PyErr_Occurred()) SWIG_fail;
17386 }
17387 {
17388 #if wxUSE_UNICODE
17389 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17390 #else
17391 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17392 #endif
17393 }
17394 return resultobj;
17395 fail:
17396 return NULL;
17397 }
17398
17399
17400 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17401 PyObject *resultobj = 0;
17402 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17403 wxString result;
17404 void *argp1 = 0 ;
17405 int res1 = 0 ;
17406 PyObject *swig_obj[1] ;
17407
17408 if (!args) SWIG_fail;
17409 swig_obj[0] = args;
17410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17411 if (!SWIG_IsOK(res1)) {
17412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17413 }
17414 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 result = (arg1)->GetMessage();
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 {
17422 #if wxUSE_UNICODE
17423 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17424 #else
17425 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17426 #endif
17427 }
17428 return resultobj;
17429 fail:
17430 return NULL;
17431 }
17432
17433
17434 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17435 PyObject *resultobj = 0;
17436 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17437 wxString *arg2 = 0 ;
17438 void *argp1 = 0 ;
17439 int res1 = 0 ;
17440 bool temp2 = false ;
17441 PyObject * obj0 = 0 ;
17442 PyObject * obj1 = 0 ;
17443 char * kwnames[] = {
17444 (char *) "self",(char *) "message", NULL
17445 };
17446
17447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17449 if (!SWIG_IsOK(res1)) {
17450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17451 }
17452 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17453 {
17454 arg2 = wxString_in_helper(obj1);
17455 if (arg2 == NULL) SWIG_fail;
17456 temp2 = true;
17457 }
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 (arg1)->SetMessage((wxString const &)*arg2);
17461 wxPyEndAllowThreads(__tstate);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 }
17464 resultobj = SWIG_Py_Void();
17465 {
17466 if (temp2)
17467 delete arg2;
17468 }
17469 return resultobj;
17470 fail:
17471 {
17472 if (temp2)
17473 delete arg2;
17474 }
17475 return NULL;
17476 }
17477
17478
17479 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj = 0;
17481 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17482 wxString *arg2 = 0 ;
17483 void *argp1 = 0 ;
17484 int res1 = 0 ;
17485 bool temp2 = false ;
17486 PyObject * obj0 = 0 ;
17487 PyObject * obj1 = 0 ;
17488 char * kwnames[] = {
17489 (char *) "self",(char *) "path", NULL
17490 };
17491
17492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17494 if (!SWIG_IsOK(res1)) {
17495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17496 }
17497 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17498 {
17499 arg2 = wxString_in_helper(obj1);
17500 if (arg2 == NULL) SWIG_fail;
17501 temp2 = true;
17502 }
17503 {
17504 PyThreadState* __tstate = wxPyBeginAllowThreads();
17505 (arg1)->SetPath((wxString const &)*arg2);
17506 wxPyEndAllowThreads(__tstate);
17507 if (PyErr_Occurred()) SWIG_fail;
17508 }
17509 resultobj = SWIG_Py_Void();
17510 {
17511 if (temp2)
17512 delete arg2;
17513 }
17514 return resultobj;
17515 fail:
17516 {
17517 if (temp2)
17518 delete arg2;
17519 }
17520 return NULL;
17521 }
17522
17523
17524 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17525 PyObject *obj;
17526 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17527 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17528 return SWIG_Py_Void();
17529 }
17530
17531 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17532 return SWIG_Python_InitShadowInstance(args);
17533 }
17534
17535 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17536 PyObject *resultobj = 0;
17537 wxWindow *arg1 = (wxWindow *) 0 ;
17538 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17539 wxString *arg2 = (wxString *) &arg2_defvalue ;
17540 wxString const &arg3_defvalue = wxPyEmptyString ;
17541 wxString *arg3 = (wxString *) &arg3_defvalue ;
17542 wxString const &arg4_defvalue = wxPyEmptyString ;
17543 wxString *arg4 = (wxString *) &arg4_defvalue ;
17544 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17545 wxString *arg5 = (wxString *) &arg5_defvalue ;
17546 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17547 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17548 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17549 wxFileDialog *result = 0 ;
17550 void *argp1 = 0 ;
17551 int res1 = 0 ;
17552 bool temp2 = false ;
17553 bool temp3 = false ;
17554 bool temp4 = false ;
17555 bool temp5 = false ;
17556 long val6 ;
17557 int ecode6 = 0 ;
17558 wxPoint temp7 ;
17559 PyObject * obj0 = 0 ;
17560 PyObject * obj1 = 0 ;
17561 PyObject * obj2 = 0 ;
17562 PyObject * obj3 = 0 ;
17563 PyObject * obj4 = 0 ;
17564 PyObject * obj5 = 0 ;
17565 PyObject * obj6 = 0 ;
17566 char * kwnames[] = {
17567 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17568 };
17569
17570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17572 if (!SWIG_IsOK(res1)) {
17573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17574 }
17575 arg1 = reinterpret_cast< wxWindow * >(argp1);
17576 if (obj1) {
17577 {
17578 arg2 = wxString_in_helper(obj1);
17579 if (arg2 == NULL) SWIG_fail;
17580 temp2 = true;
17581 }
17582 }
17583 if (obj2) {
17584 {
17585 arg3 = wxString_in_helper(obj2);
17586 if (arg3 == NULL) SWIG_fail;
17587 temp3 = true;
17588 }
17589 }
17590 if (obj3) {
17591 {
17592 arg4 = wxString_in_helper(obj3);
17593 if (arg4 == NULL) SWIG_fail;
17594 temp4 = true;
17595 }
17596 }
17597 if (obj4) {
17598 {
17599 arg5 = wxString_in_helper(obj4);
17600 if (arg5 == NULL) SWIG_fail;
17601 temp5 = true;
17602 }
17603 }
17604 if (obj5) {
17605 ecode6 = SWIG_AsVal_long(obj5, &val6);
17606 if (!SWIG_IsOK(ecode6)) {
17607 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17608 }
17609 arg6 = static_cast< long >(val6);
17610 }
17611 if (obj6) {
17612 {
17613 arg7 = &temp7;
17614 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17615 }
17616 }
17617 {
17618 if (!wxPyCheckForApp()) SWIG_fail;
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
17624 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17625 {
17626 if (temp2)
17627 delete arg2;
17628 }
17629 {
17630 if (temp3)
17631 delete arg3;
17632 }
17633 {
17634 if (temp4)
17635 delete arg4;
17636 }
17637 {
17638 if (temp5)
17639 delete arg5;
17640 }
17641 return resultobj;
17642 fail:
17643 {
17644 if (temp2)
17645 delete arg2;
17646 }
17647 {
17648 if (temp3)
17649 delete arg3;
17650 }
17651 {
17652 if (temp4)
17653 delete arg4;
17654 }
17655 {
17656 if (temp5)
17657 delete arg5;
17658 }
17659 return NULL;
17660 }
17661
17662
17663 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17664 PyObject *resultobj = 0;
17665 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17666 wxString *arg2 = 0 ;
17667 void *argp1 = 0 ;
17668 int res1 = 0 ;
17669 bool temp2 = false ;
17670 PyObject * obj0 = 0 ;
17671 PyObject * obj1 = 0 ;
17672 char * kwnames[] = {
17673 (char *) "self",(char *) "message", NULL
17674 };
17675
17676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17678 if (!SWIG_IsOK(res1)) {
17679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17680 }
17681 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17682 {
17683 arg2 = wxString_in_helper(obj1);
17684 if (arg2 == NULL) SWIG_fail;
17685 temp2 = true;
17686 }
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 (arg1)->SetMessage((wxString const &)*arg2);
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
17693 resultobj = SWIG_Py_Void();
17694 {
17695 if (temp2)
17696 delete arg2;
17697 }
17698 return resultobj;
17699 fail:
17700 {
17701 if (temp2)
17702 delete arg2;
17703 }
17704 return NULL;
17705 }
17706
17707
17708 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17709 PyObject *resultobj = 0;
17710 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17711 wxString *arg2 = 0 ;
17712 void *argp1 = 0 ;
17713 int res1 = 0 ;
17714 bool temp2 = false ;
17715 PyObject * obj0 = 0 ;
17716 PyObject * obj1 = 0 ;
17717 char * kwnames[] = {
17718 (char *) "self",(char *) "path", NULL
17719 };
17720
17721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17723 if (!SWIG_IsOK(res1)) {
17724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17725 }
17726 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17727 {
17728 arg2 = wxString_in_helper(obj1);
17729 if (arg2 == NULL) SWIG_fail;
17730 temp2 = true;
17731 }
17732 {
17733 PyThreadState* __tstate = wxPyBeginAllowThreads();
17734 (arg1)->SetPath((wxString const &)*arg2);
17735 wxPyEndAllowThreads(__tstate);
17736 if (PyErr_Occurred()) SWIG_fail;
17737 }
17738 resultobj = SWIG_Py_Void();
17739 {
17740 if (temp2)
17741 delete arg2;
17742 }
17743 return resultobj;
17744 fail:
17745 {
17746 if (temp2)
17747 delete arg2;
17748 }
17749 return NULL;
17750 }
17751
17752
17753 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17754 PyObject *resultobj = 0;
17755 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17756 wxString *arg2 = 0 ;
17757 void *argp1 = 0 ;
17758 int res1 = 0 ;
17759 bool temp2 = false ;
17760 PyObject * obj0 = 0 ;
17761 PyObject * obj1 = 0 ;
17762 char * kwnames[] = {
17763 (char *) "self",(char *) "dir", NULL
17764 };
17765
17766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17768 if (!SWIG_IsOK(res1)) {
17769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17770 }
17771 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17772 {
17773 arg2 = wxString_in_helper(obj1);
17774 if (arg2 == NULL) SWIG_fail;
17775 temp2 = true;
17776 }
17777 {
17778 PyThreadState* __tstate = wxPyBeginAllowThreads();
17779 (arg1)->SetDirectory((wxString const &)*arg2);
17780 wxPyEndAllowThreads(__tstate);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 }
17783 resultobj = SWIG_Py_Void();
17784 {
17785 if (temp2)
17786 delete arg2;
17787 }
17788 return resultobj;
17789 fail:
17790 {
17791 if (temp2)
17792 delete arg2;
17793 }
17794 return NULL;
17795 }
17796
17797
17798 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17799 PyObject *resultobj = 0;
17800 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17801 wxString *arg2 = 0 ;
17802 void *argp1 = 0 ;
17803 int res1 = 0 ;
17804 bool temp2 = false ;
17805 PyObject * obj0 = 0 ;
17806 PyObject * obj1 = 0 ;
17807 char * kwnames[] = {
17808 (char *) "self",(char *) "name", NULL
17809 };
17810
17811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17813 if (!SWIG_IsOK(res1)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17815 }
17816 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17817 {
17818 arg2 = wxString_in_helper(obj1);
17819 if (arg2 == NULL) SWIG_fail;
17820 temp2 = true;
17821 }
17822 {
17823 PyThreadState* __tstate = wxPyBeginAllowThreads();
17824 (arg1)->SetFilename((wxString const &)*arg2);
17825 wxPyEndAllowThreads(__tstate);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 resultobj = SWIG_Py_Void();
17829 {
17830 if (temp2)
17831 delete arg2;
17832 }
17833 return resultobj;
17834 fail:
17835 {
17836 if (temp2)
17837 delete arg2;
17838 }
17839 return NULL;
17840 }
17841
17842
17843 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17844 PyObject *resultobj = 0;
17845 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17846 wxString *arg2 = 0 ;
17847 void *argp1 = 0 ;
17848 int res1 = 0 ;
17849 bool temp2 = false ;
17850 PyObject * obj0 = 0 ;
17851 PyObject * obj1 = 0 ;
17852 char * kwnames[] = {
17853 (char *) "self",(char *) "wildCard", NULL
17854 };
17855
17856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17858 if (!SWIG_IsOK(res1)) {
17859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17860 }
17861 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17862 {
17863 arg2 = wxString_in_helper(obj1);
17864 if (arg2 == NULL) SWIG_fail;
17865 temp2 = true;
17866 }
17867 {
17868 PyThreadState* __tstate = wxPyBeginAllowThreads();
17869 (arg1)->SetWildcard((wxString const &)*arg2);
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 resultobj = SWIG_Py_Void();
17874 {
17875 if (temp2)
17876 delete arg2;
17877 }
17878 return resultobj;
17879 fail:
17880 {
17881 if (temp2)
17882 delete arg2;
17883 }
17884 return NULL;
17885 }
17886
17887
17888 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17889 PyObject *resultobj = 0;
17890 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17891 int arg2 ;
17892 void *argp1 = 0 ;
17893 int res1 = 0 ;
17894 int val2 ;
17895 int ecode2 = 0 ;
17896 PyObject * obj0 = 0 ;
17897 PyObject * obj1 = 0 ;
17898 char * kwnames[] = {
17899 (char *) "self",(char *) "filterIndex", NULL
17900 };
17901
17902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17904 if (!SWIG_IsOK(res1)) {
17905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17906 }
17907 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17908 ecode2 = SWIG_AsVal_int(obj1, &val2);
17909 if (!SWIG_IsOK(ecode2)) {
17910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17911 }
17912 arg2 = static_cast< int >(val2);
17913 {
17914 PyThreadState* __tstate = wxPyBeginAllowThreads();
17915 (arg1)->SetFilterIndex(arg2);
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 resultobj = SWIG_Py_Void();
17920 return resultobj;
17921 fail:
17922 return NULL;
17923 }
17924
17925
17926 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17927 PyObject *resultobj = 0;
17928 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17929 wxString result;
17930 void *argp1 = 0 ;
17931 int res1 = 0 ;
17932 PyObject *swig_obj[1] ;
17933
17934 if (!args) SWIG_fail;
17935 swig_obj[0] = args;
17936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17937 if (!SWIG_IsOK(res1)) {
17938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17939 }
17940 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17941 {
17942 PyThreadState* __tstate = wxPyBeginAllowThreads();
17943 result = ((wxFileDialog const *)arg1)->GetMessage();
17944 wxPyEndAllowThreads(__tstate);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 }
17947 {
17948 #if wxUSE_UNICODE
17949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17950 #else
17951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17952 #endif
17953 }
17954 return resultobj;
17955 fail:
17956 return NULL;
17957 }
17958
17959
17960 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17961 PyObject *resultobj = 0;
17962 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17963 wxString result;
17964 void *argp1 = 0 ;
17965 int res1 = 0 ;
17966 PyObject *swig_obj[1] ;
17967
17968 if (!args) SWIG_fail;
17969 swig_obj[0] = args;
17970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17971 if (!SWIG_IsOK(res1)) {
17972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17973 }
17974 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17975 {
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 result = ((wxFileDialog const *)arg1)->GetPath();
17978 wxPyEndAllowThreads(__tstate);
17979 if (PyErr_Occurred()) SWIG_fail;
17980 }
17981 {
17982 #if wxUSE_UNICODE
17983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17984 #else
17985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17986 #endif
17987 }
17988 return resultobj;
17989 fail:
17990 return NULL;
17991 }
17992
17993
17994 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17995 PyObject *resultobj = 0;
17996 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17997 wxString result;
17998 void *argp1 = 0 ;
17999 int res1 = 0 ;
18000 PyObject *swig_obj[1] ;
18001
18002 if (!args) SWIG_fail;
18003 swig_obj[0] = args;
18004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18005 if (!SWIG_IsOK(res1)) {
18006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18007 }
18008 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18009 {
18010 PyThreadState* __tstate = wxPyBeginAllowThreads();
18011 result = ((wxFileDialog const *)arg1)->GetDirectory();
18012 wxPyEndAllowThreads(__tstate);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 }
18015 {
18016 #if wxUSE_UNICODE
18017 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18018 #else
18019 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18020 #endif
18021 }
18022 return resultobj;
18023 fail:
18024 return NULL;
18025 }
18026
18027
18028 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18029 PyObject *resultobj = 0;
18030 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18031 wxString result;
18032 void *argp1 = 0 ;
18033 int res1 = 0 ;
18034 PyObject *swig_obj[1] ;
18035
18036 if (!args) SWIG_fail;
18037 swig_obj[0] = args;
18038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18039 if (!SWIG_IsOK(res1)) {
18040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18041 }
18042 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18043 {
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 result = ((wxFileDialog const *)arg1)->GetFilename();
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 {
18050 #if wxUSE_UNICODE
18051 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18052 #else
18053 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18054 #endif
18055 }
18056 return resultobj;
18057 fail:
18058 return NULL;
18059 }
18060
18061
18062 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18063 PyObject *resultobj = 0;
18064 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18065 wxString result;
18066 void *argp1 = 0 ;
18067 int res1 = 0 ;
18068 PyObject *swig_obj[1] ;
18069
18070 if (!args) SWIG_fail;
18071 swig_obj[0] = args;
18072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18073 if (!SWIG_IsOK(res1)) {
18074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18075 }
18076 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18077 {
18078 PyThreadState* __tstate = wxPyBeginAllowThreads();
18079 result = ((wxFileDialog const *)arg1)->GetWildcard();
18080 wxPyEndAllowThreads(__tstate);
18081 if (PyErr_Occurred()) SWIG_fail;
18082 }
18083 {
18084 #if wxUSE_UNICODE
18085 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18086 #else
18087 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18088 #endif
18089 }
18090 return resultobj;
18091 fail:
18092 return NULL;
18093 }
18094
18095
18096 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18097 PyObject *resultobj = 0;
18098 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18099 int result;
18100 void *argp1 = 0 ;
18101 int res1 = 0 ;
18102 PyObject *swig_obj[1] ;
18103
18104 if (!args) SWIG_fail;
18105 swig_obj[0] = args;
18106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18107 if (!SWIG_IsOK(res1)) {
18108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18109 }
18110 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18111 {
18112 PyThreadState* __tstate = wxPyBeginAllowThreads();
18113 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
18114 wxPyEndAllowThreads(__tstate);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 }
18117 resultobj = SWIG_From_int(static_cast< int >(result));
18118 return resultobj;
18119 fail:
18120 return NULL;
18121 }
18122
18123
18124 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18125 PyObject *resultobj = 0;
18126 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18127 PyObject *result = 0 ;
18128 void *argp1 = 0 ;
18129 int res1 = 0 ;
18130 PyObject *swig_obj[1] ;
18131
18132 if (!args) SWIG_fail;
18133 swig_obj[0] = args;
18134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18135 if (!SWIG_IsOK(res1)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18137 }
18138 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18139 {
18140 PyThreadState* __tstate = wxPyBeginAllowThreads();
18141 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
18142 wxPyEndAllowThreads(__tstate);
18143 if (PyErr_Occurred()) SWIG_fail;
18144 }
18145 resultobj = result;
18146 return resultobj;
18147 fail:
18148 return NULL;
18149 }
18150
18151
18152 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18153 PyObject *resultobj = 0;
18154 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18155 PyObject *result = 0 ;
18156 void *argp1 = 0 ;
18157 int res1 = 0 ;
18158 PyObject *swig_obj[1] ;
18159
18160 if (!args) SWIG_fail;
18161 swig_obj[0] = args;
18162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18163 if (!SWIG_IsOK(res1)) {
18164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18165 }
18166 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18167 {
18168 PyThreadState* __tstate = wxPyBeginAllowThreads();
18169 result = (PyObject *)wxFileDialog_GetPaths(arg1);
18170 wxPyEndAllowThreads(__tstate);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 }
18173 resultobj = result;
18174 return resultobj;
18175 fail:
18176 return NULL;
18177 }
18178
18179
18180 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18181 PyObject *obj;
18182 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18183 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
18184 return SWIG_Py_Void();
18185 }
18186
18187 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18188 return SWIG_Python_InitShadowInstance(args);
18189 }
18190
18191 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18192 PyObject *resultobj = 0;
18193 wxWindow *arg1 = (wxWindow *) 0 ;
18194 wxString *arg2 = 0 ;
18195 wxString *arg3 = 0 ;
18196 int arg4 = (int) 0 ;
18197 wxString *arg5 = (wxString *) NULL ;
18198 long arg6 = (long) wxCHOICEDLG_STYLE ;
18199 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18200 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18201 wxMultiChoiceDialog *result = 0 ;
18202 void *argp1 = 0 ;
18203 int res1 = 0 ;
18204 bool temp2 = false ;
18205 bool temp3 = false ;
18206 long val6 ;
18207 int ecode6 = 0 ;
18208 wxPoint temp7 ;
18209 PyObject * obj0 = 0 ;
18210 PyObject * obj1 = 0 ;
18211 PyObject * obj2 = 0 ;
18212 PyObject * obj3 = 0 ;
18213 PyObject * obj4 = 0 ;
18214 PyObject * obj5 = 0 ;
18215 char * kwnames[] = {
18216 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18217 };
18218
18219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18221 if (!SWIG_IsOK(res1)) {
18222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18223 }
18224 arg1 = reinterpret_cast< wxWindow * >(argp1);
18225 {
18226 arg2 = wxString_in_helper(obj1);
18227 if (arg2 == NULL) SWIG_fail;
18228 temp2 = true;
18229 }
18230 {
18231 arg3 = wxString_in_helper(obj2);
18232 if (arg3 == NULL) SWIG_fail;
18233 temp3 = true;
18234 }
18235 if (obj3) {
18236 {
18237 arg4 = PyList_Size(obj3);
18238 arg5 = wxString_LIST_helper(obj3);
18239 if (arg5 == NULL) SWIG_fail;
18240 }
18241 }
18242 if (obj4) {
18243 ecode6 = SWIG_AsVal_long(obj4, &val6);
18244 if (!SWIG_IsOK(ecode6)) {
18245 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18246 }
18247 arg6 = static_cast< long >(val6);
18248 }
18249 if (obj5) {
18250 {
18251 arg7 = &temp7;
18252 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18253 }
18254 }
18255 {
18256 if (!wxPyCheckForApp()) SWIG_fail;
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
18263 {
18264 if (temp2)
18265 delete arg2;
18266 }
18267 {
18268 if (temp3)
18269 delete arg3;
18270 }
18271 {
18272 if (arg5) delete [] arg5;
18273 }
18274 return resultobj;
18275 fail:
18276 {
18277 if (temp2)
18278 delete arg2;
18279 }
18280 {
18281 if (temp3)
18282 delete arg3;
18283 }
18284 {
18285 if (arg5) delete [] arg5;
18286 }
18287 return NULL;
18288 }
18289
18290
18291 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18292 PyObject *resultobj = 0;
18293 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18294 wxArrayInt *arg2 = 0 ;
18295 void *argp1 = 0 ;
18296 int res1 = 0 ;
18297 bool temp2 = false ;
18298 PyObject * obj0 = 0 ;
18299 PyObject * obj1 = 0 ;
18300 char * kwnames[] = {
18301 (char *) "self",(char *) "selections", NULL
18302 };
18303
18304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18306 if (!SWIG_IsOK(res1)) {
18307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18308 }
18309 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18310 {
18311 if (! PySequence_Check(obj1)) {
18312 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18313 SWIG_fail;
18314 }
18315 arg2 = new wxArrayInt;
18316 temp2 = true;
18317 int i, len=PySequence_Length(obj1);
18318 for (i=0; i<len; i++) {
18319 PyObject* item = PySequence_GetItem(obj1, i);
18320 PyObject* number = PyNumber_Int(item);
18321 if (!number) {
18322 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18323 SWIG_fail;
18324 }
18325 arg2->Add(PyInt_AS_LONG(number));
18326 Py_DECREF(item);
18327 Py_DECREF(number);
18328 }
18329 }
18330 {
18331 PyThreadState* __tstate = wxPyBeginAllowThreads();
18332 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18333 wxPyEndAllowThreads(__tstate);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 }
18336 resultobj = SWIG_Py_Void();
18337 {
18338 if (temp2) delete arg2;
18339 }
18340 return resultobj;
18341 fail:
18342 {
18343 if (temp2) delete arg2;
18344 }
18345 return NULL;
18346 }
18347
18348
18349 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18350 PyObject *resultobj = 0;
18351 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18352 PyObject *result = 0 ;
18353 void *argp1 = 0 ;
18354 int res1 = 0 ;
18355 PyObject *swig_obj[1] ;
18356
18357 if (!args) SWIG_fail;
18358 swig_obj[0] = args;
18359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18360 if (!SWIG_IsOK(res1)) {
18361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18362 }
18363 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18367 wxPyEndAllowThreads(__tstate);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 resultobj = result;
18371 return resultobj;
18372 fail:
18373 return NULL;
18374 }
18375
18376
18377 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18378 PyObject *obj;
18379 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18380 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18381 return SWIG_Py_Void();
18382 }
18383
18384 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18385 return SWIG_Python_InitShadowInstance(args);
18386 }
18387
18388 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18389 PyObject *resultobj = 0;
18390 wxWindow *arg1 = (wxWindow *) 0 ;
18391 wxString *arg2 = 0 ;
18392 wxString *arg3 = 0 ;
18393 int arg4 ;
18394 wxString *arg5 = (wxString *) 0 ;
18395 long arg6 = (long) wxCHOICEDLG_STYLE ;
18396 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18397 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18398 wxSingleChoiceDialog *result = 0 ;
18399 void *argp1 = 0 ;
18400 int res1 = 0 ;
18401 bool temp2 = false ;
18402 bool temp3 = false ;
18403 long val6 ;
18404 int ecode6 = 0 ;
18405 wxPoint temp7 ;
18406 PyObject * obj0 = 0 ;
18407 PyObject * obj1 = 0 ;
18408 PyObject * obj2 = 0 ;
18409 PyObject * obj3 = 0 ;
18410 PyObject * obj4 = 0 ;
18411 PyObject * obj5 = 0 ;
18412 char * kwnames[] = {
18413 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18414 };
18415
18416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18418 if (!SWIG_IsOK(res1)) {
18419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18420 }
18421 arg1 = reinterpret_cast< wxWindow * >(argp1);
18422 {
18423 arg2 = wxString_in_helper(obj1);
18424 if (arg2 == NULL) SWIG_fail;
18425 temp2 = true;
18426 }
18427 {
18428 arg3 = wxString_in_helper(obj2);
18429 if (arg3 == NULL) SWIG_fail;
18430 temp3 = true;
18431 }
18432 {
18433 arg4 = PyList_Size(obj3);
18434 arg5 = wxString_LIST_helper(obj3);
18435 if (arg5 == NULL) SWIG_fail;
18436 }
18437 if (obj4) {
18438 ecode6 = SWIG_AsVal_long(obj4, &val6);
18439 if (!SWIG_IsOK(ecode6)) {
18440 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18441 }
18442 arg6 = static_cast< long >(val6);
18443 }
18444 if (obj5) {
18445 {
18446 arg7 = &temp7;
18447 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18448 }
18449 }
18450 {
18451 if (!wxPyCheckForApp()) SWIG_fail;
18452 PyThreadState* __tstate = wxPyBeginAllowThreads();
18453 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18454 wxPyEndAllowThreads(__tstate);
18455 if (PyErr_Occurred()) SWIG_fail;
18456 }
18457 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18458 {
18459 if (temp2)
18460 delete arg2;
18461 }
18462 {
18463 if (temp3)
18464 delete arg3;
18465 }
18466 {
18467 if (arg5) delete [] arg5;
18468 }
18469 return resultobj;
18470 fail:
18471 {
18472 if (temp2)
18473 delete arg2;
18474 }
18475 {
18476 if (temp3)
18477 delete arg3;
18478 }
18479 {
18480 if (arg5) delete [] arg5;
18481 }
18482 return NULL;
18483 }
18484
18485
18486 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18487 PyObject *resultobj = 0;
18488 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18489 int result;
18490 void *argp1 = 0 ;
18491 int res1 = 0 ;
18492 PyObject *swig_obj[1] ;
18493
18494 if (!args) SWIG_fail;
18495 swig_obj[0] = args;
18496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18497 if (!SWIG_IsOK(res1)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18499 }
18500 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18501 {
18502 PyThreadState* __tstate = wxPyBeginAllowThreads();
18503 result = (int)(arg1)->GetSelection();
18504 wxPyEndAllowThreads(__tstate);
18505 if (PyErr_Occurred()) SWIG_fail;
18506 }
18507 resultobj = SWIG_From_int(static_cast< int >(result));
18508 return resultobj;
18509 fail:
18510 return NULL;
18511 }
18512
18513
18514 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18515 PyObject *resultobj = 0;
18516 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18517 wxString result;
18518 void *argp1 = 0 ;
18519 int res1 = 0 ;
18520 PyObject *swig_obj[1] ;
18521
18522 if (!args) SWIG_fail;
18523 swig_obj[0] = args;
18524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18525 if (!SWIG_IsOK(res1)) {
18526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18527 }
18528 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18529 {
18530 PyThreadState* __tstate = wxPyBeginAllowThreads();
18531 result = (arg1)->GetStringSelection();
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 {
18536 #if wxUSE_UNICODE
18537 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18538 #else
18539 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18540 #endif
18541 }
18542 return resultobj;
18543 fail:
18544 return NULL;
18545 }
18546
18547
18548 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18549 PyObject *resultobj = 0;
18550 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18551 int arg2 ;
18552 void *argp1 = 0 ;
18553 int res1 = 0 ;
18554 int val2 ;
18555 int ecode2 = 0 ;
18556 PyObject * obj0 = 0 ;
18557 PyObject * obj1 = 0 ;
18558 char * kwnames[] = {
18559 (char *) "self",(char *) "sel", NULL
18560 };
18561
18562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18564 if (!SWIG_IsOK(res1)) {
18565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18566 }
18567 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18568 ecode2 = SWIG_AsVal_int(obj1, &val2);
18569 if (!SWIG_IsOK(ecode2)) {
18570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18571 }
18572 arg2 = static_cast< int >(val2);
18573 {
18574 PyThreadState* __tstate = wxPyBeginAllowThreads();
18575 (arg1)->SetSelection(arg2);
18576 wxPyEndAllowThreads(__tstate);
18577 if (PyErr_Occurred()) SWIG_fail;
18578 }
18579 resultobj = SWIG_Py_Void();
18580 return resultobj;
18581 fail:
18582 return NULL;
18583 }
18584
18585
18586 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18587 PyObject *obj;
18588 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18589 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18590 return SWIG_Py_Void();
18591 }
18592
18593 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18594 return SWIG_Python_InitShadowInstance(args);
18595 }
18596
18597 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18598 PyObject *resultobj = 0;
18599 wxWindow *arg1 = (wxWindow *) 0 ;
18600 wxString *arg2 = 0 ;
18601 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18602 wxString *arg3 = (wxString *) &arg3_defvalue ;
18603 wxString const &arg4_defvalue = wxPyEmptyString ;
18604 wxString *arg4 = (wxString *) &arg4_defvalue ;
18605 long arg5 = (long) wxTextEntryDialogStyle ;
18606 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18607 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18608 wxTextEntryDialog *result = 0 ;
18609 void *argp1 = 0 ;
18610 int res1 = 0 ;
18611 bool temp2 = false ;
18612 bool temp3 = false ;
18613 bool temp4 = false ;
18614 long val5 ;
18615 int ecode5 = 0 ;
18616 wxPoint temp6 ;
18617 PyObject * obj0 = 0 ;
18618 PyObject * obj1 = 0 ;
18619 PyObject * obj2 = 0 ;
18620 PyObject * obj3 = 0 ;
18621 PyObject * obj4 = 0 ;
18622 PyObject * obj5 = 0 ;
18623 char * kwnames[] = {
18624 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18625 };
18626
18627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18629 if (!SWIG_IsOK(res1)) {
18630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18631 }
18632 arg1 = reinterpret_cast< wxWindow * >(argp1);
18633 {
18634 arg2 = wxString_in_helper(obj1);
18635 if (arg2 == NULL) SWIG_fail;
18636 temp2 = true;
18637 }
18638 if (obj2) {
18639 {
18640 arg3 = wxString_in_helper(obj2);
18641 if (arg3 == NULL) SWIG_fail;
18642 temp3 = true;
18643 }
18644 }
18645 if (obj3) {
18646 {
18647 arg4 = wxString_in_helper(obj3);
18648 if (arg4 == NULL) SWIG_fail;
18649 temp4 = true;
18650 }
18651 }
18652 if (obj4) {
18653 ecode5 = SWIG_AsVal_long(obj4, &val5);
18654 if (!SWIG_IsOK(ecode5)) {
18655 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18656 }
18657 arg5 = static_cast< long >(val5);
18658 }
18659 if (obj5) {
18660 {
18661 arg6 = &temp6;
18662 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18663 }
18664 }
18665 {
18666 if (!wxPyCheckForApp()) SWIG_fail;
18667 PyThreadState* __tstate = wxPyBeginAllowThreads();
18668 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18669 wxPyEndAllowThreads(__tstate);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 }
18672 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18673 {
18674 if (temp2)
18675 delete arg2;
18676 }
18677 {
18678 if (temp3)
18679 delete arg3;
18680 }
18681 {
18682 if (temp4)
18683 delete arg4;
18684 }
18685 return resultobj;
18686 fail:
18687 {
18688 if (temp2)
18689 delete arg2;
18690 }
18691 {
18692 if (temp3)
18693 delete arg3;
18694 }
18695 {
18696 if (temp4)
18697 delete arg4;
18698 }
18699 return NULL;
18700 }
18701
18702
18703 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18704 PyObject *resultobj = 0;
18705 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18706 wxString result;
18707 void *argp1 = 0 ;
18708 int res1 = 0 ;
18709 PyObject *swig_obj[1] ;
18710
18711 if (!args) SWIG_fail;
18712 swig_obj[0] = args;
18713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18714 if (!SWIG_IsOK(res1)) {
18715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18716 }
18717 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18718 {
18719 PyThreadState* __tstate = wxPyBeginAllowThreads();
18720 result = (arg1)->GetValue();
18721 wxPyEndAllowThreads(__tstate);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 {
18725 #if wxUSE_UNICODE
18726 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18727 #else
18728 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18729 #endif
18730 }
18731 return resultobj;
18732 fail:
18733 return NULL;
18734 }
18735
18736
18737 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18738 PyObject *resultobj = 0;
18739 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18740 wxString *arg2 = 0 ;
18741 void *argp1 = 0 ;
18742 int res1 = 0 ;
18743 bool temp2 = false ;
18744 PyObject * obj0 = 0 ;
18745 PyObject * obj1 = 0 ;
18746 char * kwnames[] = {
18747 (char *) "self",(char *) "value", NULL
18748 };
18749
18750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18752 if (!SWIG_IsOK(res1)) {
18753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18754 }
18755 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18756 {
18757 arg2 = wxString_in_helper(obj1);
18758 if (arg2 == NULL) SWIG_fail;
18759 temp2 = true;
18760 }
18761 {
18762 PyThreadState* __tstate = wxPyBeginAllowThreads();
18763 (arg1)->SetValue((wxString const &)*arg2);
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 resultobj = SWIG_Py_Void();
18768 {
18769 if (temp2)
18770 delete arg2;
18771 }
18772 return resultobj;
18773 fail:
18774 {
18775 if (temp2)
18776 delete arg2;
18777 }
18778 return NULL;
18779 }
18780
18781
18782 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18783 PyObject *obj;
18784 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18785 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18786 return SWIG_Py_Void();
18787 }
18788
18789 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18790 return SWIG_Python_InitShadowInstance(args);
18791 }
18792
18793 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18794 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18795 return 1;
18796 }
18797
18798
18799 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18800 PyObject *pyobj = 0;
18801
18802 {
18803 #if wxUSE_UNICODE
18804 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18805 #else
18806 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18807 #endif
18808 }
18809 return pyobj;
18810 }
18811
18812
18813 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18814 PyObject *resultobj = 0;
18815 wxWindow *arg1 = (wxWindow *) 0 ;
18816 wxString *arg2 = 0 ;
18817 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18818 wxString *arg3 = (wxString *) &arg3_defvalue ;
18819 wxString const &arg4_defvalue = wxPyEmptyString ;
18820 wxString *arg4 = (wxString *) &arg4_defvalue ;
18821 long arg5 = (long) wxTextEntryDialogStyle ;
18822 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18823 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18824 wxPasswordEntryDialog *result = 0 ;
18825 void *argp1 = 0 ;
18826 int res1 = 0 ;
18827 bool temp2 = false ;
18828 bool temp3 = false ;
18829 bool temp4 = false ;
18830 long val5 ;
18831 int ecode5 = 0 ;
18832 wxPoint temp6 ;
18833 PyObject * obj0 = 0 ;
18834 PyObject * obj1 = 0 ;
18835 PyObject * obj2 = 0 ;
18836 PyObject * obj3 = 0 ;
18837 PyObject * obj4 = 0 ;
18838 PyObject * obj5 = 0 ;
18839 char * kwnames[] = {
18840 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18841 };
18842
18843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18845 if (!SWIG_IsOK(res1)) {
18846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18847 }
18848 arg1 = reinterpret_cast< wxWindow * >(argp1);
18849 {
18850 arg2 = wxString_in_helper(obj1);
18851 if (arg2 == NULL) SWIG_fail;
18852 temp2 = true;
18853 }
18854 if (obj2) {
18855 {
18856 arg3 = wxString_in_helper(obj2);
18857 if (arg3 == NULL) SWIG_fail;
18858 temp3 = true;
18859 }
18860 }
18861 if (obj3) {
18862 {
18863 arg4 = wxString_in_helper(obj3);
18864 if (arg4 == NULL) SWIG_fail;
18865 temp4 = true;
18866 }
18867 }
18868 if (obj4) {
18869 ecode5 = SWIG_AsVal_long(obj4, &val5);
18870 if (!SWIG_IsOK(ecode5)) {
18871 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18872 }
18873 arg5 = static_cast< long >(val5);
18874 }
18875 if (obj5) {
18876 {
18877 arg6 = &temp6;
18878 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18879 }
18880 }
18881 {
18882 PyThreadState* __tstate = wxPyBeginAllowThreads();
18883 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18884 wxPyEndAllowThreads(__tstate);
18885 if (PyErr_Occurred()) SWIG_fail;
18886 }
18887 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18888 {
18889 if (temp2)
18890 delete arg2;
18891 }
18892 {
18893 if (temp3)
18894 delete arg3;
18895 }
18896 {
18897 if (temp4)
18898 delete arg4;
18899 }
18900 return resultobj;
18901 fail:
18902 {
18903 if (temp2)
18904 delete arg2;
18905 }
18906 {
18907 if (temp3)
18908 delete arg3;
18909 }
18910 {
18911 if (temp4)
18912 delete arg4;
18913 }
18914 return NULL;
18915 }
18916
18917
18918 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18919 PyObject *obj;
18920 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18921 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18922 return SWIG_Py_Void();
18923 }
18924
18925 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18926 return SWIG_Python_InitShadowInstance(args);
18927 }
18928
18929 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18930 PyObject *resultobj = 0;
18931 wxWindow *arg1 = (wxWindow *) 0 ;
18932 wxString *arg2 = 0 ;
18933 wxString *arg3 = 0 ;
18934 wxString *arg4 = 0 ;
18935 long arg5 ;
18936 long arg6 ;
18937 long arg7 ;
18938 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18939 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18940 wxNumberEntryDialog *result = 0 ;
18941 void *argp1 = 0 ;
18942 int res1 = 0 ;
18943 bool temp2 = false ;
18944 bool temp3 = false ;
18945 bool temp4 = false ;
18946 long val5 ;
18947 int ecode5 = 0 ;
18948 long val6 ;
18949 int ecode6 = 0 ;
18950 long val7 ;
18951 int ecode7 = 0 ;
18952 wxPoint temp8 ;
18953 PyObject * obj0 = 0 ;
18954 PyObject * obj1 = 0 ;
18955 PyObject * obj2 = 0 ;
18956 PyObject * obj3 = 0 ;
18957 PyObject * obj4 = 0 ;
18958 PyObject * obj5 = 0 ;
18959 PyObject * obj6 = 0 ;
18960 PyObject * obj7 = 0 ;
18961 char * kwnames[] = {
18962 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18963 };
18964
18965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18967 if (!SWIG_IsOK(res1)) {
18968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18969 }
18970 arg1 = reinterpret_cast< wxWindow * >(argp1);
18971 {
18972 arg2 = wxString_in_helper(obj1);
18973 if (arg2 == NULL) SWIG_fail;
18974 temp2 = true;
18975 }
18976 {
18977 arg3 = wxString_in_helper(obj2);
18978 if (arg3 == NULL) SWIG_fail;
18979 temp3 = true;
18980 }
18981 {
18982 arg4 = wxString_in_helper(obj3);
18983 if (arg4 == NULL) SWIG_fail;
18984 temp4 = true;
18985 }
18986 ecode5 = SWIG_AsVal_long(obj4, &val5);
18987 if (!SWIG_IsOK(ecode5)) {
18988 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18989 }
18990 arg5 = static_cast< long >(val5);
18991 ecode6 = SWIG_AsVal_long(obj5, &val6);
18992 if (!SWIG_IsOK(ecode6)) {
18993 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18994 }
18995 arg6 = static_cast< long >(val6);
18996 ecode7 = SWIG_AsVal_long(obj6, &val7);
18997 if (!SWIG_IsOK(ecode7)) {
18998 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18999 }
19000 arg7 = static_cast< long >(val7);
19001 if (obj7) {
19002 {
19003 arg8 = &temp8;
19004 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
19005 }
19006 }
19007 {
19008 if (!wxPyCheckForApp()) SWIG_fail;
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
19010 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
19015 {
19016 if (temp2)
19017 delete arg2;
19018 }
19019 {
19020 if (temp3)
19021 delete arg3;
19022 }
19023 {
19024 if (temp4)
19025 delete arg4;
19026 }
19027 return resultobj;
19028 fail:
19029 {
19030 if (temp2)
19031 delete arg2;
19032 }
19033 {
19034 if (temp3)
19035 delete arg3;
19036 }
19037 {
19038 if (temp4)
19039 delete arg4;
19040 }
19041 return NULL;
19042 }
19043
19044
19045 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19046 PyObject *resultobj = 0;
19047 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
19048 long result;
19049 void *argp1 = 0 ;
19050 int res1 = 0 ;
19051 PyObject *swig_obj[1] ;
19052
19053 if (!args) SWIG_fail;
19054 swig_obj[0] = args;
19055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
19056 if (!SWIG_IsOK(res1)) {
19057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
19058 }
19059 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 result = (long)(arg1)->GetValue();
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
19066 resultobj = SWIG_From_long(static_cast< long >(result));
19067 return resultobj;
19068 fail:
19069 return NULL;
19070 }
19071
19072
19073 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19074 PyObject *obj;
19075 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19076 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
19077 return SWIG_Py_Void();
19078 }
19079
19080 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19081 return SWIG_Python_InitShadowInstance(args);
19082 }
19083
19084 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19085 PyObject *resultobj = 0;
19086 wxFontData *result = 0 ;
19087
19088 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 result = (wxFontData *)new wxFontData();
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
19096 return resultobj;
19097 fail:
19098 return NULL;
19099 }
19100
19101
19102 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19103 PyObject *resultobj = 0;
19104 wxFontData *arg1 = (wxFontData *) 0 ;
19105 void *argp1 = 0 ;
19106 int res1 = 0 ;
19107 PyObject *swig_obj[1] ;
19108
19109 if (!args) SWIG_fail;
19110 swig_obj[0] = args;
19111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
19112 if (!SWIG_IsOK(res1)) {
19113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
19114 }
19115 arg1 = reinterpret_cast< wxFontData * >(argp1);
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 delete arg1;
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 resultobj = SWIG_Py_Void();
19124 return resultobj;
19125 fail:
19126 return NULL;
19127 }
19128
19129
19130 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj = 0;
19132 wxFontData *arg1 = (wxFontData *) 0 ;
19133 bool arg2 ;
19134 void *argp1 = 0 ;
19135 int res1 = 0 ;
19136 bool val2 ;
19137 int ecode2 = 0 ;
19138 PyObject * obj0 = 0 ;
19139 PyObject * obj1 = 0 ;
19140 char * kwnames[] = {
19141 (char *) "self",(char *) "enable", NULL
19142 };
19143
19144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
19145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19146 if (!SWIG_IsOK(res1)) {
19147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19148 }
19149 arg1 = reinterpret_cast< wxFontData * >(argp1);
19150 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19151 if (!SWIG_IsOK(ecode2)) {
19152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19153 }
19154 arg2 = static_cast< bool >(val2);
19155 {
19156 PyThreadState* __tstate = wxPyBeginAllowThreads();
19157 (arg1)->EnableEffects(arg2);
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 resultobj = SWIG_Py_Void();
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19169 PyObject *resultobj = 0;
19170 wxFontData *arg1 = (wxFontData *) 0 ;
19171 bool result;
19172 void *argp1 = 0 ;
19173 int res1 = 0 ;
19174 PyObject *swig_obj[1] ;
19175
19176 if (!args) SWIG_fail;
19177 swig_obj[0] = args;
19178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19179 if (!SWIG_IsOK(res1)) {
19180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19181 }
19182 arg1 = reinterpret_cast< wxFontData * >(argp1);
19183 {
19184 PyThreadState* __tstate = wxPyBeginAllowThreads();
19185 result = (bool)(arg1)->GetAllowSymbols();
19186 wxPyEndAllowThreads(__tstate);
19187 if (PyErr_Occurred()) SWIG_fail;
19188 }
19189 {
19190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19191 }
19192 return resultobj;
19193 fail:
19194 return NULL;
19195 }
19196
19197
19198 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19199 PyObject *resultobj = 0;
19200 wxFontData *arg1 = (wxFontData *) 0 ;
19201 wxColour result;
19202 void *argp1 = 0 ;
19203 int res1 = 0 ;
19204 PyObject *swig_obj[1] ;
19205
19206 if (!args) SWIG_fail;
19207 swig_obj[0] = args;
19208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19209 if (!SWIG_IsOK(res1)) {
19210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19211 }
19212 arg1 = reinterpret_cast< wxFontData * >(argp1);
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 result = (arg1)->GetColour();
19216 wxPyEndAllowThreads(__tstate);
19217 if (PyErr_Occurred()) SWIG_fail;
19218 }
19219 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19220 return resultobj;
19221 fail:
19222 return NULL;
19223 }
19224
19225
19226 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19227 PyObject *resultobj = 0;
19228 wxFontData *arg1 = (wxFontData *) 0 ;
19229 wxFont result;
19230 void *argp1 = 0 ;
19231 int res1 = 0 ;
19232 PyObject *swig_obj[1] ;
19233
19234 if (!args) SWIG_fail;
19235 swig_obj[0] = args;
19236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19237 if (!SWIG_IsOK(res1)) {
19238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19239 }
19240 arg1 = reinterpret_cast< wxFontData * >(argp1);
19241 {
19242 PyThreadState* __tstate = wxPyBeginAllowThreads();
19243 result = (arg1)->GetChosenFont();
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19248 return resultobj;
19249 fail:
19250 return NULL;
19251 }
19252
19253
19254 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19255 PyObject *resultobj = 0;
19256 wxFontData *arg1 = (wxFontData *) 0 ;
19257 bool result;
19258 void *argp1 = 0 ;
19259 int res1 = 0 ;
19260 PyObject *swig_obj[1] ;
19261
19262 if (!args) SWIG_fail;
19263 swig_obj[0] = args;
19264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19265 if (!SWIG_IsOK(res1)) {
19266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19267 }
19268 arg1 = reinterpret_cast< wxFontData * >(argp1);
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
19271 result = (bool)(arg1)->GetEnableEffects();
19272 wxPyEndAllowThreads(__tstate);
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 {
19276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19277 }
19278 return resultobj;
19279 fail:
19280 return NULL;
19281 }
19282
19283
19284 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19285 PyObject *resultobj = 0;
19286 wxFontData *arg1 = (wxFontData *) 0 ;
19287 wxFont result;
19288 void *argp1 = 0 ;
19289 int res1 = 0 ;
19290 PyObject *swig_obj[1] ;
19291
19292 if (!args) SWIG_fail;
19293 swig_obj[0] = args;
19294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19295 if (!SWIG_IsOK(res1)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19297 }
19298 arg1 = reinterpret_cast< wxFontData * >(argp1);
19299 {
19300 PyThreadState* __tstate = wxPyBeginAllowThreads();
19301 result = (arg1)->GetInitialFont();
19302 wxPyEndAllowThreads(__tstate);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
19305 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19306 return resultobj;
19307 fail:
19308 return NULL;
19309 }
19310
19311
19312 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19313 PyObject *resultobj = 0;
19314 wxFontData *arg1 = (wxFontData *) 0 ;
19315 bool result;
19316 void *argp1 = 0 ;
19317 int res1 = 0 ;
19318 PyObject *swig_obj[1] ;
19319
19320 if (!args) SWIG_fail;
19321 swig_obj[0] = args;
19322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19323 if (!SWIG_IsOK(res1)) {
19324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19325 }
19326 arg1 = reinterpret_cast< wxFontData * >(argp1);
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 result = (bool)(arg1)->GetShowHelp();
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 {
19334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19335 }
19336 return resultobj;
19337 fail:
19338 return NULL;
19339 }
19340
19341
19342 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19343 PyObject *resultobj = 0;
19344 wxFontData *arg1 = (wxFontData *) 0 ;
19345 bool arg2 ;
19346 void *argp1 = 0 ;
19347 int res1 = 0 ;
19348 bool val2 ;
19349 int ecode2 = 0 ;
19350 PyObject * obj0 = 0 ;
19351 PyObject * obj1 = 0 ;
19352 char * kwnames[] = {
19353 (char *) "self",(char *) "allowSymbols", NULL
19354 };
19355
19356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19358 if (!SWIG_IsOK(res1)) {
19359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19360 }
19361 arg1 = reinterpret_cast< wxFontData * >(argp1);
19362 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19363 if (!SWIG_IsOK(ecode2)) {
19364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19365 }
19366 arg2 = static_cast< bool >(val2);
19367 {
19368 PyThreadState* __tstate = wxPyBeginAllowThreads();
19369 (arg1)->SetAllowSymbols(arg2);
19370 wxPyEndAllowThreads(__tstate);
19371 if (PyErr_Occurred()) SWIG_fail;
19372 }
19373 resultobj = SWIG_Py_Void();
19374 return resultobj;
19375 fail:
19376 return NULL;
19377 }
19378
19379
19380 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19381 PyObject *resultobj = 0;
19382 wxFontData *arg1 = (wxFontData *) 0 ;
19383 wxFont *arg2 = 0 ;
19384 void *argp1 = 0 ;
19385 int res1 = 0 ;
19386 void *argp2 = 0 ;
19387 int res2 = 0 ;
19388 PyObject * obj0 = 0 ;
19389 PyObject * obj1 = 0 ;
19390 char * kwnames[] = {
19391 (char *) "self",(char *) "font", NULL
19392 };
19393
19394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19396 if (!SWIG_IsOK(res1)) {
19397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19398 }
19399 arg1 = reinterpret_cast< wxFontData * >(argp1);
19400 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19401 if (!SWIG_IsOK(res2)) {
19402 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19403 }
19404 if (!argp2) {
19405 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19406 }
19407 arg2 = reinterpret_cast< wxFont * >(argp2);
19408 {
19409 PyThreadState* __tstate = wxPyBeginAllowThreads();
19410 (arg1)->SetChosenFont((wxFont const &)*arg2);
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 resultobj = SWIG_Py_Void();
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj = 0;
19423 wxFontData *arg1 = (wxFontData *) 0 ;
19424 wxColour *arg2 = 0 ;
19425 void *argp1 = 0 ;
19426 int res1 = 0 ;
19427 wxColour temp2 ;
19428 PyObject * obj0 = 0 ;
19429 PyObject * obj1 = 0 ;
19430 char * kwnames[] = {
19431 (char *) "self",(char *) "colour", NULL
19432 };
19433
19434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19436 if (!SWIG_IsOK(res1)) {
19437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19438 }
19439 arg1 = reinterpret_cast< wxFontData * >(argp1);
19440 {
19441 arg2 = &temp2;
19442 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19443 }
19444 {
19445 PyThreadState* __tstate = wxPyBeginAllowThreads();
19446 (arg1)->SetColour((wxColour const &)*arg2);
19447 wxPyEndAllowThreads(__tstate);
19448 if (PyErr_Occurred()) SWIG_fail;
19449 }
19450 resultobj = SWIG_Py_Void();
19451 return resultobj;
19452 fail:
19453 return NULL;
19454 }
19455
19456
19457 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19458 PyObject *resultobj = 0;
19459 wxFontData *arg1 = (wxFontData *) 0 ;
19460 wxFont *arg2 = 0 ;
19461 void *argp1 = 0 ;
19462 int res1 = 0 ;
19463 void *argp2 = 0 ;
19464 int res2 = 0 ;
19465 PyObject * obj0 = 0 ;
19466 PyObject * obj1 = 0 ;
19467 char * kwnames[] = {
19468 (char *) "self",(char *) "font", NULL
19469 };
19470
19471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19473 if (!SWIG_IsOK(res1)) {
19474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19475 }
19476 arg1 = reinterpret_cast< wxFontData * >(argp1);
19477 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19478 if (!SWIG_IsOK(res2)) {
19479 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19480 }
19481 if (!argp2) {
19482 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19483 }
19484 arg2 = reinterpret_cast< wxFont * >(argp2);
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 (arg1)->SetInitialFont((wxFont const &)*arg2);
19488 wxPyEndAllowThreads(__tstate);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 }
19491 resultobj = SWIG_Py_Void();
19492 return resultobj;
19493 fail:
19494 return NULL;
19495 }
19496
19497
19498 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19499 PyObject *resultobj = 0;
19500 wxFontData *arg1 = (wxFontData *) 0 ;
19501 int arg2 ;
19502 int arg3 ;
19503 void *argp1 = 0 ;
19504 int res1 = 0 ;
19505 int val2 ;
19506 int ecode2 = 0 ;
19507 int val3 ;
19508 int ecode3 = 0 ;
19509 PyObject * obj0 = 0 ;
19510 PyObject * obj1 = 0 ;
19511 PyObject * obj2 = 0 ;
19512 char * kwnames[] = {
19513 (char *) "self",(char *) "min",(char *) "max", NULL
19514 };
19515
19516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19518 if (!SWIG_IsOK(res1)) {
19519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19520 }
19521 arg1 = reinterpret_cast< wxFontData * >(argp1);
19522 ecode2 = SWIG_AsVal_int(obj1, &val2);
19523 if (!SWIG_IsOK(ecode2)) {
19524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19525 }
19526 arg2 = static_cast< int >(val2);
19527 ecode3 = SWIG_AsVal_int(obj2, &val3);
19528 if (!SWIG_IsOK(ecode3)) {
19529 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19530 }
19531 arg3 = static_cast< int >(val3);
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 (arg1)->SetRange(arg2,arg3);
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 resultobj = SWIG_Py_Void();
19539 return resultobj;
19540 fail:
19541 return NULL;
19542 }
19543
19544
19545 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj = 0;
19547 wxFontData *arg1 = (wxFontData *) 0 ;
19548 bool arg2 ;
19549 void *argp1 = 0 ;
19550 int res1 = 0 ;
19551 bool val2 ;
19552 int ecode2 = 0 ;
19553 PyObject * obj0 = 0 ;
19554 PyObject * obj1 = 0 ;
19555 char * kwnames[] = {
19556 (char *) "self",(char *) "showHelp", NULL
19557 };
19558
19559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19561 if (!SWIG_IsOK(res1)) {
19562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19563 }
19564 arg1 = reinterpret_cast< wxFontData * >(argp1);
19565 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19566 if (!SWIG_IsOK(ecode2)) {
19567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19568 }
19569 arg2 = static_cast< bool >(val2);
19570 {
19571 PyThreadState* __tstate = wxPyBeginAllowThreads();
19572 (arg1)->SetShowHelp(arg2);
19573 wxPyEndAllowThreads(__tstate);
19574 if (PyErr_Occurred()) SWIG_fail;
19575 }
19576 resultobj = SWIG_Py_Void();
19577 return resultobj;
19578 fail:
19579 return NULL;
19580 }
19581
19582
19583 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19584 PyObject *obj;
19585 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19586 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19587 return SWIG_Py_Void();
19588 }
19589
19590 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19591 return SWIG_Python_InitShadowInstance(args);
19592 }
19593
19594 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj = 0;
19596 wxWindow *arg1 = (wxWindow *) 0 ;
19597 wxFontData *arg2 = 0 ;
19598 wxFontDialog *result = 0 ;
19599 void *argp1 = 0 ;
19600 int res1 = 0 ;
19601 void *argp2 = 0 ;
19602 int res2 = 0 ;
19603 PyObject * obj0 = 0 ;
19604 PyObject * obj1 = 0 ;
19605 char * kwnames[] = {
19606 (char *) "parent",(char *) "data", NULL
19607 };
19608
19609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19611 if (!SWIG_IsOK(res1)) {
19612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19613 }
19614 arg1 = reinterpret_cast< wxWindow * >(argp1);
19615 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19616 if (!SWIG_IsOK(res2)) {
19617 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19618 }
19619 if (!argp2) {
19620 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19621 }
19622 arg2 = reinterpret_cast< wxFontData * >(argp2);
19623 {
19624 if (!wxPyCheckForApp()) SWIG_fail;
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19631 return resultobj;
19632 fail:
19633 return NULL;
19634 }
19635
19636
19637 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19638 PyObject *resultobj = 0;
19639 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19640 wxFontData *result = 0 ;
19641 void *argp1 = 0 ;
19642 int res1 = 0 ;
19643 PyObject *swig_obj[1] ;
19644
19645 if (!args) SWIG_fail;
19646 swig_obj[0] = args;
19647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19648 if (!SWIG_IsOK(res1)) {
19649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19650 }
19651 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19652 {
19653 PyThreadState* __tstate = wxPyBeginAllowThreads();
19654 {
19655 wxFontData &_result_ref = (arg1)->GetFontData();
19656 result = (wxFontData *) &_result_ref;
19657 }
19658 wxPyEndAllowThreads(__tstate);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
19661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19662 return resultobj;
19663 fail:
19664 return NULL;
19665 }
19666
19667
19668 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19669 PyObject *obj;
19670 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19671 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19672 return SWIG_Py_Void();
19673 }
19674
19675 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19676 return SWIG_Python_InitShadowInstance(args);
19677 }
19678
19679 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19680 PyObject *resultobj = 0;
19681 wxWindow *arg1 = (wxWindow *) NULL ;
19682 wxFont const &arg2_defvalue = wxNullFont ;
19683 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19684 wxString const &arg3_defvalue = wxPyEmptyString ;
19685 wxString *arg3 = (wxString *) &arg3_defvalue ;
19686 wxFont result;
19687 void *argp1 = 0 ;
19688 int res1 = 0 ;
19689 void *argp2 = 0 ;
19690 int res2 = 0 ;
19691 bool temp3 = false ;
19692 PyObject * obj0 = 0 ;
19693 PyObject * obj1 = 0 ;
19694 PyObject * obj2 = 0 ;
19695 char * kwnames[] = {
19696 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19697 };
19698
19699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19700 if (obj0) {
19701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19702 if (!SWIG_IsOK(res1)) {
19703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19704 }
19705 arg1 = reinterpret_cast< wxWindow * >(argp1);
19706 }
19707 if (obj1) {
19708 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19709 if (!SWIG_IsOK(res2)) {
19710 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19711 }
19712 if (!argp2) {
19713 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19714 }
19715 arg2 = reinterpret_cast< wxFont * >(argp2);
19716 }
19717 if (obj2) {
19718 {
19719 arg3 = wxString_in_helper(obj2);
19720 if (arg3 == NULL) SWIG_fail;
19721 temp3 = true;
19722 }
19723 }
19724 {
19725 PyThreadState* __tstate = wxPyBeginAllowThreads();
19726 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19727 wxPyEndAllowThreads(__tstate);
19728 if (PyErr_Occurred()) SWIG_fail;
19729 }
19730 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19731 {
19732 if (temp3)
19733 delete arg3;
19734 }
19735 return resultobj;
19736 fail:
19737 {
19738 if (temp3)
19739 delete arg3;
19740 }
19741 return NULL;
19742 }
19743
19744
19745 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19746 PyObject *resultobj = 0;
19747 wxWindow *arg1 = (wxWindow *) 0 ;
19748 wxString *arg2 = 0 ;
19749 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19750 wxString *arg3 = (wxString *) &arg3_defvalue ;
19751 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19752 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19753 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19754 wxMessageDialog *result = 0 ;
19755 void *argp1 = 0 ;
19756 int res1 = 0 ;
19757 bool temp2 = false ;
19758 bool temp3 = false ;
19759 long val4 ;
19760 int ecode4 = 0 ;
19761 wxPoint temp5 ;
19762 PyObject * obj0 = 0 ;
19763 PyObject * obj1 = 0 ;
19764 PyObject * obj2 = 0 ;
19765 PyObject * obj3 = 0 ;
19766 PyObject * obj4 = 0 ;
19767 char * kwnames[] = {
19768 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19769 };
19770
19771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19773 if (!SWIG_IsOK(res1)) {
19774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19775 }
19776 arg1 = reinterpret_cast< wxWindow * >(argp1);
19777 {
19778 arg2 = wxString_in_helper(obj1);
19779 if (arg2 == NULL) SWIG_fail;
19780 temp2 = true;
19781 }
19782 if (obj2) {
19783 {
19784 arg3 = wxString_in_helper(obj2);
19785 if (arg3 == NULL) SWIG_fail;
19786 temp3 = true;
19787 }
19788 }
19789 if (obj3) {
19790 ecode4 = SWIG_AsVal_long(obj3, &val4);
19791 if (!SWIG_IsOK(ecode4)) {
19792 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19793 }
19794 arg4 = static_cast< long >(val4);
19795 }
19796 if (obj4) {
19797 {
19798 arg5 = &temp5;
19799 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19800 }
19801 }
19802 {
19803 if (!wxPyCheckForApp()) SWIG_fail;
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19806 wxPyEndAllowThreads(__tstate);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19810 {
19811 if (temp2)
19812 delete arg2;
19813 }
19814 {
19815 if (temp3)
19816 delete arg3;
19817 }
19818 return resultobj;
19819 fail:
19820 {
19821 if (temp2)
19822 delete arg2;
19823 }
19824 {
19825 if (temp3)
19826 delete arg3;
19827 }
19828 return NULL;
19829 }
19830
19831
19832 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19833 PyObject *obj;
19834 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19835 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19836 return SWIG_Py_Void();
19837 }
19838
19839 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19840 return SWIG_Python_InitShadowInstance(args);
19841 }
19842
19843 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19844 PyObject *resultobj = 0;
19845 wxString *arg1 = 0 ;
19846 wxString *arg2 = 0 ;
19847 int arg3 = (int) 100 ;
19848 wxWindow *arg4 = (wxWindow *) NULL ;
19849 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19850 wxProgressDialog *result = 0 ;
19851 bool temp1 = false ;
19852 bool temp2 = false ;
19853 int val3 ;
19854 int ecode3 = 0 ;
19855 void *argp4 = 0 ;
19856 int res4 = 0 ;
19857 int val5 ;
19858 int ecode5 = 0 ;
19859 PyObject * obj0 = 0 ;
19860 PyObject * obj1 = 0 ;
19861 PyObject * obj2 = 0 ;
19862 PyObject * obj3 = 0 ;
19863 PyObject * obj4 = 0 ;
19864 char * kwnames[] = {
19865 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19866 };
19867
19868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19869 {
19870 arg1 = wxString_in_helper(obj0);
19871 if (arg1 == NULL) SWIG_fail;
19872 temp1 = true;
19873 }
19874 {
19875 arg2 = wxString_in_helper(obj1);
19876 if (arg2 == NULL) SWIG_fail;
19877 temp2 = true;
19878 }
19879 if (obj2) {
19880 ecode3 = SWIG_AsVal_int(obj2, &val3);
19881 if (!SWIG_IsOK(ecode3)) {
19882 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19883 }
19884 arg3 = static_cast< int >(val3);
19885 }
19886 if (obj3) {
19887 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19888 if (!SWIG_IsOK(res4)) {
19889 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19890 }
19891 arg4 = reinterpret_cast< wxWindow * >(argp4);
19892 }
19893 if (obj4) {
19894 ecode5 = SWIG_AsVal_int(obj4, &val5);
19895 if (!SWIG_IsOK(ecode5)) {
19896 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19897 }
19898 arg5 = static_cast< int >(val5);
19899 }
19900 {
19901 if (!wxPyCheckForApp()) SWIG_fail;
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19904 wxPyEndAllowThreads(__tstate);
19905 if (PyErr_Occurred()) SWIG_fail;
19906 }
19907 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19908 {
19909 if (temp1)
19910 delete arg1;
19911 }
19912 {
19913 if (temp2)
19914 delete arg2;
19915 }
19916 return resultobj;
19917 fail:
19918 {
19919 if (temp1)
19920 delete arg1;
19921 }
19922 {
19923 if (temp2)
19924 delete arg2;
19925 }
19926 return NULL;
19927 }
19928
19929
19930 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19931 PyObject *resultobj = 0;
19932 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19933 int arg2 ;
19934 wxString const &arg3_defvalue = wxPyEmptyString ;
19935 wxString *arg3 = (wxString *) &arg3_defvalue ;
19936 bool *arg4 = (bool *) 0 ;
19937 bool result;
19938 void *argp1 = 0 ;
19939 int res1 = 0 ;
19940 int val2 ;
19941 int ecode2 = 0 ;
19942 bool temp3 = false ;
19943 bool temp4 ;
19944 int res4 = SWIG_TMPOBJ ;
19945 PyObject * obj0 = 0 ;
19946 PyObject * obj1 = 0 ;
19947 PyObject * obj2 = 0 ;
19948 char * kwnames[] = {
19949 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19950 };
19951
19952 arg4 = &temp4;
19953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19955 if (!SWIG_IsOK(res1)) {
19956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19957 }
19958 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19959 ecode2 = SWIG_AsVal_int(obj1, &val2);
19960 if (!SWIG_IsOK(ecode2)) {
19961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19962 }
19963 arg2 = static_cast< int >(val2);
19964 if (obj2) {
19965 {
19966 arg3 = wxString_in_helper(obj2);
19967 if (arg3 == NULL) SWIG_fail;
19968 temp3 = true;
19969 }
19970 }
19971 {
19972 PyThreadState* __tstate = wxPyBeginAllowThreads();
19973 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19974 wxPyEndAllowThreads(__tstate);
19975 if (PyErr_Occurred()) SWIG_fail;
19976 }
19977 {
19978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19979 }
19980 if (SWIG_IsTmpObj(res4)) {
19981 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19982 } else {
19983 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19984 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19985 }
19986 {
19987 if (temp3)
19988 delete arg3;
19989 }
19990 return resultobj;
19991 fail:
19992 {
19993 if (temp3)
19994 delete arg3;
19995 }
19996 return NULL;
19997 }
19998
19999
20000 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20001 PyObject *resultobj = 0;
20002 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
20003 wxString const &arg2_defvalue = wxPyEmptyString ;
20004 wxString *arg2 = (wxString *) &arg2_defvalue ;
20005 bool *arg3 = (bool *) 0 ;
20006 bool result;
20007 void *argp1 = 0 ;
20008 int res1 = 0 ;
20009 bool temp2 = false ;
20010 bool temp3 ;
20011 int res3 = SWIG_TMPOBJ ;
20012 PyObject * obj0 = 0 ;
20013 PyObject * obj1 = 0 ;
20014 char * kwnames[] = {
20015 (char *) "self",(char *) "newmsg", NULL
20016 };
20017
20018 arg3 = &temp3;
20019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
20020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
20021 if (!SWIG_IsOK(res1)) {
20022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20023 }
20024 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
20025 if (obj1) {
20026 {
20027 arg2 = wxString_in_helper(obj1);
20028 if (arg2 == NULL) SWIG_fail;
20029 temp2 = true;
20030 }
20031 }
20032 {
20033 PyThreadState* __tstate = wxPyBeginAllowThreads();
20034 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 {
20039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20040 }
20041 if (SWIG_IsTmpObj(res3)) {
20042 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
20043 } else {
20044 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20045 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
20046 }
20047 {
20048 if (temp2)
20049 delete arg2;
20050 }
20051 return resultobj;
20052 fail:
20053 {
20054 if (temp2)
20055 delete arg2;
20056 }
20057 return NULL;
20058 }
20059
20060
20061 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20062 PyObject *resultobj = 0;
20063 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
20064 void *argp1 = 0 ;
20065 int res1 = 0 ;
20066 PyObject *swig_obj[1] ;
20067
20068 if (!args) SWIG_fail;
20069 swig_obj[0] = args;
20070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
20071 if (!SWIG_IsOK(res1)) {
20072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20073 }
20074 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
20075 {
20076 PyThreadState* __tstate = wxPyBeginAllowThreads();
20077 (arg1)->Resume();
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 resultobj = SWIG_Py_Void();
20082 return resultobj;
20083 fail:
20084 return NULL;
20085 }
20086
20087
20088 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20089 PyObject *obj;
20090 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20091 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
20092 return SWIG_Py_Void();
20093 }
20094
20095 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20096 return SWIG_Python_InitShadowInstance(args);
20097 }
20098
20099 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20100 PyObject *resultobj = 0;
20101 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20102 int arg2 = (int) 0 ;
20103 wxFindDialogEvent *result = 0 ;
20104 int val1 ;
20105 int ecode1 = 0 ;
20106 int val2 ;
20107 int ecode2 = 0 ;
20108 PyObject * obj0 = 0 ;
20109 PyObject * obj1 = 0 ;
20110 char * kwnames[] = {
20111 (char *) "commandType",(char *) "id", NULL
20112 };
20113
20114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
20115 if (obj0) {
20116 ecode1 = SWIG_AsVal_int(obj0, &val1);
20117 if (!SWIG_IsOK(ecode1)) {
20118 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20119 }
20120 arg1 = static_cast< wxEventType >(val1);
20121 }
20122 if (obj1) {
20123 ecode2 = SWIG_AsVal_int(obj1, &val2);
20124 if (!SWIG_IsOK(ecode2)) {
20125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20126 }
20127 arg2 = static_cast< int >(val2);
20128 }
20129 {
20130 PyThreadState* __tstate = wxPyBeginAllowThreads();
20131 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
20132 wxPyEndAllowThreads(__tstate);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 }
20135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
20136 return resultobj;
20137 fail:
20138 return NULL;
20139 }
20140
20141
20142 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20143 PyObject *resultobj = 0;
20144 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20145 int result;
20146 void *argp1 = 0 ;
20147 int res1 = 0 ;
20148 PyObject *swig_obj[1] ;
20149
20150 if (!args) SWIG_fail;
20151 swig_obj[0] = args;
20152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20153 if (!SWIG_IsOK(res1)) {
20154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20155 }
20156 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20157 {
20158 PyThreadState* __tstate = wxPyBeginAllowThreads();
20159 result = (int)(arg1)->GetFlags();
20160 wxPyEndAllowThreads(__tstate);
20161 if (PyErr_Occurred()) SWIG_fail;
20162 }
20163 resultobj = SWIG_From_int(static_cast< int >(result));
20164 return resultobj;
20165 fail:
20166 return NULL;
20167 }
20168
20169
20170 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20171 PyObject *resultobj = 0;
20172 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20173 wxString *result = 0 ;
20174 void *argp1 = 0 ;
20175 int res1 = 0 ;
20176 PyObject *swig_obj[1] ;
20177
20178 if (!args) SWIG_fail;
20179 swig_obj[0] = args;
20180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20181 if (!SWIG_IsOK(res1)) {
20182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20183 }
20184 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20185 {
20186 PyThreadState* __tstate = wxPyBeginAllowThreads();
20187 {
20188 wxString const &_result_ref = (arg1)->GetFindString();
20189 result = (wxString *) &_result_ref;
20190 }
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
20194 {
20195 #if wxUSE_UNICODE
20196 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20197 #else
20198 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20199 #endif
20200 }
20201 return resultobj;
20202 fail:
20203 return NULL;
20204 }
20205
20206
20207 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20208 PyObject *resultobj = 0;
20209 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20210 wxString *result = 0 ;
20211 void *argp1 = 0 ;
20212 int res1 = 0 ;
20213 PyObject *swig_obj[1] ;
20214
20215 if (!args) SWIG_fail;
20216 swig_obj[0] = args;
20217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20218 if (!SWIG_IsOK(res1)) {
20219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20220 }
20221 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 {
20225 wxString const &_result_ref = (arg1)->GetReplaceString();
20226 result = (wxString *) &_result_ref;
20227 }
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 {
20232 #if wxUSE_UNICODE
20233 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20234 #else
20235 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20236 #endif
20237 }
20238 return resultobj;
20239 fail:
20240 return NULL;
20241 }
20242
20243
20244 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20245 PyObject *resultobj = 0;
20246 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20247 wxFindReplaceDialog *result = 0 ;
20248 void *argp1 = 0 ;
20249 int res1 = 0 ;
20250 PyObject *swig_obj[1] ;
20251
20252 if (!args) SWIG_fail;
20253 swig_obj[0] = args;
20254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20255 if (!SWIG_IsOK(res1)) {
20256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20257 }
20258 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20259 {
20260 PyThreadState* __tstate = wxPyBeginAllowThreads();
20261 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20266 return resultobj;
20267 fail:
20268 return NULL;
20269 }
20270
20271
20272 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20273 PyObject *resultobj = 0;
20274 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20275 int arg2 ;
20276 void *argp1 = 0 ;
20277 int res1 = 0 ;
20278 int val2 ;
20279 int ecode2 = 0 ;
20280 PyObject * obj0 = 0 ;
20281 PyObject * obj1 = 0 ;
20282 char * kwnames[] = {
20283 (char *) "self",(char *) "flags", NULL
20284 };
20285
20286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20288 if (!SWIG_IsOK(res1)) {
20289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20290 }
20291 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20292 ecode2 = SWIG_AsVal_int(obj1, &val2);
20293 if (!SWIG_IsOK(ecode2)) {
20294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20295 }
20296 arg2 = static_cast< int >(val2);
20297 {
20298 PyThreadState* __tstate = wxPyBeginAllowThreads();
20299 (arg1)->SetFlags(arg2);
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 resultobj = SWIG_Py_Void();
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj = 0;
20312 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20313 wxString *arg2 = 0 ;
20314 void *argp1 = 0 ;
20315 int res1 = 0 ;
20316 bool temp2 = false ;
20317 PyObject * obj0 = 0 ;
20318 PyObject * obj1 = 0 ;
20319 char * kwnames[] = {
20320 (char *) "self",(char *) "str", NULL
20321 };
20322
20323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20325 if (!SWIG_IsOK(res1)) {
20326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20327 }
20328 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20329 {
20330 arg2 = wxString_in_helper(obj1);
20331 if (arg2 == NULL) SWIG_fail;
20332 temp2 = true;
20333 }
20334 {
20335 PyThreadState* __tstate = wxPyBeginAllowThreads();
20336 (arg1)->SetFindString((wxString const &)*arg2);
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 resultobj = SWIG_Py_Void();
20341 {
20342 if (temp2)
20343 delete arg2;
20344 }
20345 return resultobj;
20346 fail:
20347 {
20348 if (temp2)
20349 delete arg2;
20350 }
20351 return NULL;
20352 }
20353
20354
20355 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20356 PyObject *resultobj = 0;
20357 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20358 wxString *arg2 = 0 ;
20359 void *argp1 = 0 ;
20360 int res1 = 0 ;
20361 bool temp2 = false ;
20362 PyObject * obj0 = 0 ;
20363 PyObject * obj1 = 0 ;
20364 char * kwnames[] = {
20365 (char *) "self",(char *) "str", NULL
20366 };
20367
20368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20370 if (!SWIG_IsOK(res1)) {
20371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20372 }
20373 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20374 {
20375 arg2 = wxString_in_helper(obj1);
20376 if (arg2 == NULL) SWIG_fail;
20377 temp2 = true;
20378 }
20379 {
20380 PyThreadState* __tstate = wxPyBeginAllowThreads();
20381 (arg1)->SetReplaceString((wxString const &)*arg2);
20382 wxPyEndAllowThreads(__tstate);
20383 if (PyErr_Occurred()) SWIG_fail;
20384 }
20385 resultobj = SWIG_Py_Void();
20386 {
20387 if (temp2)
20388 delete arg2;
20389 }
20390 return resultobj;
20391 fail:
20392 {
20393 if (temp2)
20394 delete arg2;
20395 }
20396 return NULL;
20397 }
20398
20399
20400 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20401 PyObject *obj;
20402 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20403 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20404 return SWIG_Py_Void();
20405 }
20406
20407 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20408 return SWIG_Python_InitShadowInstance(args);
20409 }
20410
20411 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj = 0;
20413 int arg1 = (int) 0 ;
20414 wxFindReplaceData *result = 0 ;
20415 int val1 ;
20416 int ecode1 = 0 ;
20417 PyObject * obj0 = 0 ;
20418 char * kwnames[] = {
20419 (char *) "flags", NULL
20420 };
20421
20422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20423 if (obj0) {
20424 ecode1 = SWIG_AsVal_int(obj0, &val1);
20425 if (!SWIG_IsOK(ecode1)) {
20426 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20427 }
20428 arg1 = static_cast< int >(val1);
20429 }
20430 {
20431 PyThreadState* __tstate = wxPyBeginAllowThreads();
20432 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20433 wxPyEndAllowThreads(__tstate);
20434 if (PyErr_Occurred()) SWIG_fail;
20435 }
20436 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20437 return resultobj;
20438 fail:
20439 return NULL;
20440 }
20441
20442
20443 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20444 PyObject *resultobj = 0;
20445 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20446 void *argp1 = 0 ;
20447 int res1 = 0 ;
20448 PyObject *swig_obj[1] ;
20449
20450 if (!args) SWIG_fail;
20451 swig_obj[0] = args;
20452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20453 if (!SWIG_IsOK(res1)) {
20454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20455 }
20456 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20457 {
20458 PyThreadState* __tstate = wxPyBeginAllowThreads();
20459 delete arg1;
20460
20461 wxPyEndAllowThreads(__tstate);
20462 if (PyErr_Occurred()) SWIG_fail;
20463 }
20464 resultobj = SWIG_Py_Void();
20465 return resultobj;
20466 fail:
20467 return NULL;
20468 }
20469
20470
20471 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20472 PyObject *resultobj = 0;
20473 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20474 wxString *result = 0 ;
20475 void *argp1 = 0 ;
20476 int res1 = 0 ;
20477 PyObject *swig_obj[1] ;
20478
20479 if (!args) SWIG_fail;
20480 swig_obj[0] = args;
20481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20482 if (!SWIG_IsOK(res1)) {
20483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20484 }
20485 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20486 {
20487 PyThreadState* __tstate = wxPyBeginAllowThreads();
20488 {
20489 wxString const &_result_ref = (arg1)->GetFindString();
20490 result = (wxString *) &_result_ref;
20491 }
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 {
20496 #if wxUSE_UNICODE
20497 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20498 #else
20499 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20500 #endif
20501 }
20502 return resultobj;
20503 fail:
20504 return NULL;
20505 }
20506
20507
20508 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20509 PyObject *resultobj = 0;
20510 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20511 wxString *result = 0 ;
20512 void *argp1 = 0 ;
20513 int res1 = 0 ;
20514 PyObject *swig_obj[1] ;
20515
20516 if (!args) SWIG_fail;
20517 swig_obj[0] = args;
20518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20519 if (!SWIG_IsOK(res1)) {
20520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20521 }
20522 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20523 {
20524 PyThreadState* __tstate = wxPyBeginAllowThreads();
20525 {
20526 wxString const &_result_ref = (arg1)->GetReplaceString();
20527 result = (wxString *) &_result_ref;
20528 }
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
20532 {
20533 #if wxUSE_UNICODE
20534 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20535 #else
20536 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20537 #endif
20538 }
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20546 PyObject *resultobj = 0;
20547 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20548 int result;
20549 void *argp1 = 0 ;
20550 int res1 = 0 ;
20551 PyObject *swig_obj[1] ;
20552
20553 if (!args) SWIG_fail;
20554 swig_obj[0] = args;
20555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20556 if (!SWIG_IsOK(res1)) {
20557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20558 }
20559 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20560 {
20561 PyThreadState* __tstate = wxPyBeginAllowThreads();
20562 result = (int)(arg1)->GetFlags();
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
20566 resultobj = SWIG_From_int(static_cast< int >(result));
20567 return resultobj;
20568 fail:
20569 return NULL;
20570 }
20571
20572
20573 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20574 PyObject *resultobj = 0;
20575 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20576 int arg2 ;
20577 void *argp1 = 0 ;
20578 int res1 = 0 ;
20579 int val2 ;
20580 int ecode2 = 0 ;
20581 PyObject * obj0 = 0 ;
20582 PyObject * obj1 = 0 ;
20583 char * kwnames[] = {
20584 (char *) "self",(char *) "flags", NULL
20585 };
20586
20587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20589 if (!SWIG_IsOK(res1)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20591 }
20592 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20593 ecode2 = SWIG_AsVal_int(obj1, &val2);
20594 if (!SWIG_IsOK(ecode2)) {
20595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20596 }
20597 arg2 = static_cast< int >(val2);
20598 {
20599 PyThreadState* __tstate = wxPyBeginAllowThreads();
20600 (arg1)->SetFlags(arg2);
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 resultobj = SWIG_Py_Void();
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj = 0;
20613 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20614 wxString *arg2 = 0 ;
20615 void *argp1 = 0 ;
20616 int res1 = 0 ;
20617 bool temp2 = false ;
20618 PyObject * obj0 = 0 ;
20619 PyObject * obj1 = 0 ;
20620 char * kwnames[] = {
20621 (char *) "self",(char *) "str", NULL
20622 };
20623
20624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20626 if (!SWIG_IsOK(res1)) {
20627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20628 }
20629 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20630 {
20631 arg2 = wxString_in_helper(obj1);
20632 if (arg2 == NULL) SWIG_fail;
20633 temp2 = true;
20634 }
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 (arg1)->SetFindString((wxString const &)*arg2);
20638 wxPyEndAllowThreads(__tstate);
20639 if (PyErr_Occurred()) SWIG_fail;
20640 }
20641 resultobj = SWIG_Py_Void();
20642 {
20643 if (temp2)
20644 delete arg2;
20645 }
20646 return resultobj;
20647 fail:
20648 {
20649 if (temp2)
20650 delete arg2;
20651 }
20652 return NULL;
20653 }
20654
20655
20656 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20657 PyObject *resultobj = 0;
20658 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20659 wxString *arg2 = 0 ;
20660 void *argp1 = 0 ;
20661 int res1 = 0 ;
20662 bool temp2 = false ;
20663 PyObject * obj0 = 0 ;
20664 PyObject * obj1 = 0 ;
20665 char * kwnames[] = {
20666 (char *) "self",(char *) "str", NULL
20667 };
20668
20669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20671 if (!SWIG_IsOK(res1)) {
20672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20673 }
20674 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20675 {
20676 arg2 = wxString_in_helper(obj1);
20677 if (arg2 == NULL) SWIG_fail;
20678 temp2 = true;
20679 }
20680 {
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 (arg1)->SetReplaceString((wxString const &)*arg2);
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 resultobj = SWIG_Py_Void();
20687 {
20688 if (temp2)
20689 delete arg2;
20690 }
20691 return resultobj;
20692 fail:
20693 {
20694 if (temp2)
20695 delete arg2;
20696 }
20697 return NULL;
20698 }
20699
20700
20701 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20702 PyObject *obj;
20703 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20704 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20705 return SWIG_Py_Void();
20706 }
20707
20708 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20709 return SWIG_Python_InitShadowInstance(args);
20710 }
20711
20712 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20713 PyObject *resultobj = 0;
20714 wxWindow *arg1 = (wxWindow *) 0 ;
20715 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20716 wxString *arg3 = 0 ;
20717 int arg4 = (int) 0 ;
20718 wxFindReplaceDialog *result = 0 ;
20719 void *argp1 = 0 ;
20720 int res1 = 0 ;
20721 void *argp2 = 0 ;
20722 int res2 = 0 ;
20723 bool temp3 = false ;
20724 int val4 ;
20725 int ecode4 = 0 ;
20726 PyObject * obj0 = 0 ;
20727 PyObject * obj1 = 0 ;
20728 PyObject * obj2 = 0 ;
20729 PyObject * obj3 = 0 ;
20730 char * kwnames[] = {
20731 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20732 };
20733
20734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20736 if (!SWIG_IsOK(res1)) {
20737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20738 }
20739 arg1 = reinterpret_cast< wxWindow * >(argp1);
20740 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20741 if (!SWIG_IsOK(res2)) {
20742 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20743 }
20744 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20745 {
20746 arg3 = wxString_in_helper(obj2);
20747 if (arg3 == NULL) SWIG_fail;
20748 temp3 = true;
20749 }
20750 if (obj3) {
20751 ecode4 = SWIG_AsVal_int(obj3, &val4);
20752 if (!SWIG_IsOK(ecode4)) {
20753 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20754 }
20755 arg4 = static_cast< int >(val4);
20756 }
20757 {
20758 if (!wxPyCheckForApp()) SWIG_fail;
20759 PyThreadState* __tstate = wxPyBeginAllowThreads();
20760 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20761 wxPyEndAllowThreads(__tstate);
20762 if (PyErr_Occurred()) SWIG_fail;
20763 }
20764 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20765 {
20766 if (temp3)
20767 delete arg3;
20768 }
20769 return resultobj;
20770 fail:
20771 {
20772 if (temp3)
20773 delete arg3;
20774 }
20775 return NULL;
20776 }
20777
20778
20779 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20780 PyObject *resultobj = 0;
20781 wxFindReplaceDialog *result = 0 ;
20782
20783 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20784 {
20785 if (!wxPyCheckForApp()) SWIG_fail;
20786 PyThreadState* __tstate = wxPyBeginAllowThreads();
20787 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20788 wxPyEndAllowThreads(__tstate);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 }
20791 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20792 return resultobj;
20793 fail:
20794 return NULL;
20795 }
20796
20797
20798 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20799 PyObject *resultobj = 0;
20800 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20801 wxWindow *arg2 = (wxWindow *) 0 ;
20802 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20803 wxString *arg4 = 0 ;
20804 int arg5 = (int) 0 ;
20805 bool result;
20806 void *argp1 = 0 ;
20807 int res1 = 0 ;
20808 void *argp2 = 0 ;
20809 int res2 = 0 ;
20810 void *argp3 = 0 ;
20811 int res3 = 0 ;
20812 bool temp4 = false ;
20813 int val5 ;
20814 int ecode5 = 0 ;
20815 PyObject * obj0 = 0 ;
20816 PyObject * obj1 = 0 ;
20817 PyObject * obj2 = 0 ;
20818 PyObject * obj3 = 0 ;
20819 PyObject * obj4 = 0 ;
20820 char * kwnames[] = {
20821 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20822 };
20823
20824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20826 if (!SWIG_IsOK(res1)) {
20827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20828 }
20829 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20830 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20831 if (!SWIG_IsOK(res2)) {
20832 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20833 }
20834 arg2 = reinterpret_cast< wxWindow * >(argp2);
20835 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20836 if (!SWIG_IsOK(res3)) {
20837 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20838 }
20839 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20840 {
20841 arg4 = wxString_in_helper(obj3);
20842 if (arg4 == NULL) SWIG_fail;
20843 temp4 = true;
20844 }
20845 if (obj4) {
20846 ecode5 = SWIG_AsVal_int(obj4, &val5);
20847 if (!SWIG_IsOK(ecode5)) {
20848 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20849 }
20850 arg5 = static_cast< int >(val5);
20851 }
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
20858 {
20859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20860 }
20861 {
20862 if (temp4)
20863 delete arg4;
20864 }
20865 return resultobj;
20866 fail:
20867 {
20868 if (temp4)
20869 delete arg4;
20870 }
20871 return NULL;
20872 }
20873
20874
20875 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20876 PyObject *resultobj = 0;
20877 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20878 wxFindReplaceData *result = 0 ;
20879 void *argp1 = 0 ;
20880 int res1 = 0 ;
20881 PyObject *swig_obj[1] ;
20882
20883 if (!args) SWIG_fail;
20884 swig_obj[0] = args;
20885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20886 if (!SWIG_IsOK(res1)) {
20887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20888 }
20889 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20890 {
20891 PyThreadState* __tstate = wxPyBeginAllowThreads();
20892 result = (wxFindReplaceData *)(arg1)->GetData();
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20897 return resultobj;
20898 fail:
20899 return NULL;
20900 }
20901
20902
20903 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20904 PyObject *resultobj = 0;
20905 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20906 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20907 void *argp1 = 0 ;
20908 int res1 = 0 ;
20909 void *argp2 = 0 ;
20910 int res2 = 0 ;
20911 PyObject * obj0 = 0 ;
20912 PyObject * obj1 = 0 ;
20913 char * kwnames[] = {
20914 (char *) "self",(char *) "data", NULL
20915 };
20916
20917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20919 if (!SWIG_IsOK(res1)) {
20920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20921 }
20922 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20923 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20924 if (!SWIG_IsOK(res2)) {
20925 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20926 }
20927 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20928 {
20929 PyThreadState* __tstate = wxPyBeginAllowThreads();
20930 (arg1)->SetData(arg2);
20931 wxPyEndAllowThreads(__tstate);
20932 if (PyErr_Occurred()) SWIG_fail;
20933 }
20934 resultobj = SWIG_Py_Void();
20935 return resultobj;
20936 fail:
20937 return NULL;
20938 }
20939
20940
20941 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20942 PyObject *obj;
20943 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20944 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20945 return SWIG_Py_Void();
20946 }
20947
20948 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20949 return SWIG_Python_InitShadowInstance(args);
20950 }
20951
20952 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20953 PyObject *resultobj = 0;
20954 wxWindow *arg1 = (wxWindow *) 0 ;
20955 int arg2 = (int) (int)-1 ;
20956 wxString const &arg3_defvalue = wxPyEmptyString ;
20957 wxString *arg3 = (wxString *) &arg3_defvalue ;
20958 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20959 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20960 wxSize const &arg5_defvalue = wxDefaultSize ;
20961 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20962 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20963 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20964 wxString *arg7 = (wxString *) &arg7_defvalue ;
20965 wxMDIParentFrame *result = 0 ;
20966 void *argp1 = 0 ;
20967 int res1 = 0 ;
20968 int val2 ;
20969 int ecode2 = 0 ;
20970 bool temp3 = false ;
20971 wxPoint temp4 ;
20972 wxSize temp5 ;
20973 long val6 ;
20974 int ecode6 = 0 ;
20975 bool temp7 = false ;
20976 PyObject * obj0 = 0 ;
20977 PyObject * obj1 = 0 ;
20978 PyObject * obj2 = 0 ;
20979 PyObject * obj3 = 0 ;
20980 PyObject * obj4 = 0 ;
20981 PyObject * obj5 = 0 ;
20982 PyObject * obj6 = 0 ;
20983 char * kwnames[] = {
20984 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20985 };
20986
20987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20989 if (!SWIG_IsOK(res1)) {
20990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20991 }
20992 arg1 = reinterpret_cast< wxWindow * >(argp1);
20993 if (obj1) {
20994 ecode2 = SWIG_AsVal_int(obj1, &val2);
20995 if (!SWIG_IsOK(ecode2)) {
20996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20997 }
20998 arg2 = static_cast< int >(val2);
20999 }
21000 if (obj2) {
21001 {
21002 arg3 = wxString_in_helper(obj2);
21003 if (arg3 == NULL) SWIG_fail;
21004 temp3 = true;
21005 }
21006 }
21007 if (obj3) {
21008 {
21009 arg4 = &temp4;
21010 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21011 }
21012 }
21013 if (obj4) {
21014 {
21015 arg5 = &temp5;
21016 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21017 }
21018 }
21019 if (obj5) {
21020 ecode6 = SWIG_AsVal_long(obj5, &val6);
21021 if (!SWIG_IsOK(ecode6)) {
21022 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
21023 }
21024 arg6 = static_cast< long >(val6);
21025 }
21026 if (obj6) {
21027 {
21028 arg7 = wxString_in_helper(obj6);
21029 if (arg7 == NULL) SWIG_fail;
21030 temp7 = true;
21031 }
21032 }
21033 {
21034 if (!wxPyCheckForApp()) SWIG_fail;
21035 PyThreadState* __tstate = wxPyBeginAllowThreads();
21036 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21037 wxPyEndAllowThreads(__tstate);
21038 if (PyErr_Occurred()) SWIG_fail;
21039 }
21040 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
21041 {
21042 if (temp3)
21043 delete arg3;
21044 }
21045 {
21046 if (temp7)
21047 delete arg7;
21048 }
21049 return resultobj;
21050 fail:
21051 {
21052 if (temp3)
21053 delete arg3;
21054 }
21055 {
21056 if (temp7)
21057 delete arg7;
21058 }
21059 return NULL;
21060 }
21061
21062
21063 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21064 PyObject *resultobj = 0;
21065 wxMDIParentFrame *result = 0 ;
21066
21067 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
21068 {
21069 if (!wxPyCheckForApp()) SWIG_fail;
21070 PyThreadState* __tstate = wxPyBeginAllowThreads();
21071 result = (wxMDIParentFrame *)new wxMDIParentFrame();
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj = 0;
21084 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21085 wxWindow *arg2 = (wxWindow *) 0 ;
21086 int arg3 = (int) (int)-1 ;
21087 wxString const &arg4_defvalue = wxPyEmptyString ;
21088 wxString *arg4 = (wxString *) &arg4_defvalue ;
21089 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21090 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21091 wxSize const &arg6_defvalue = wxDefaultSize ;
21092 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21093 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
21094 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21095 wxString *arg8 = (wxString *) &arg8_defvalue ;
21096 bool result;
21097 void *argp1 = 0 ;
21098 int res1 = 0 ;
21099 void *argp2 = 0 ;
21100 int res2 = 0 ;
21101 int val3 ;
21102 int ecode3 = 0 ;
21103 bool temp4 = false ;
21104 wxPoint temp5 ;
21105 wxSize temp6 ;
21106 long val7 ;
21107 int ecode7 = 0 ;
21108 bool temp8 = false ;
21109 PyObject * obj0 = 0 ;
21110 PyObject * obj1 = 0 ;
21111 PyObject * obj2 = 0 ;
21112 PyObject * obj3 = 0 ;
21113 PyObject * obj4 = 0 ;
21114 PyObject * obj5 = 0 ;
21115 PyObject * obj6 = 0 ;
21116 PyObject * obj7 = 0 ;
21117 char * kwnames[] = {
21118 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21119 };
21120
21121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21123 if (!SWIG_IsOK(res1)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21125 }
21126 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21127 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21128 if (!SWIG_IsOK(res2)) {
21129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21130 }
21131 arg2 = reinterpret_cast< wxWindow * >(argp2);
21132 if (obj2) {
21133 ecode3 = SWIG_AsVal_int(obj2, &val3);
21134 if (!SWIG_IsOK(ecode3)) {
21135 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21136 }
21137 arg3 = static_cast< int >(val3);
21138 }
21139 if (obj3) {
21140 {
21141 arg4 = wxString_in_helper(obj3);
21142 if (arg4 == NULL) SWIG_fail;
21143 temp4 = true;
21144 }
21145 }
21146 if (obj4) {
21147 {
21148 arg5 = &temp5;
21149 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21150 }
21151 }
21152 if (obj5) {
21153 {
21154 arg6 = &temp6;
21155 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21156 }
21157 }
21158 if (obj6) {
21159 ecode7 = SWIG_AsVal_long(obj6, &val7);
21160 if (!SWIG_IsOK(ecode7)) {
21161 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21162 }
21163 arg7 = static_cast< long >(val7);
21164 }
21165 if (obj7) {
21166 {
21167 arg8 = wxString_in_helper(obj7);
21168 if (arg8 == NULL) SWIG_fail;
21169 temp8 = true;
21170 }
21171 }
21172 {
21173 PyThreadState* __tstate = wxPyBeginAllowThreads();
21174 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21175 wxPyEndAllowThreads(__tstate);
21176 if (PyErr_Occurred()) SWIG_fail;
21177 }
21178 {
21179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21180 }
21181 {
21182 if (temp4)
21183 delete arg4;
21184 }
21185 {
21186 if (temp8)
21187 delete arg8;
21188 }
21189 return resultobj;
21190 fail:
21191 {
21192 if (temp4)
21193 delete arg4;
21194 }
21195 {
21196 if (temp8)
21197 delete arg8;
21198 }
21199 return NULL;
21200 }
21201
21202
21203 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21204 PyObject *resultobj = 0;
21205 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21206 void *argp1 = 0 ;
21207 int res1 = 0 ;
21208 PyObject *swig_obj[1] ;
21209
21210 if (!args) SWIG_fail;
21211 swig_obj[0] = args;
21212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21213 if (!SWIG_IsOK(res1)) {
21214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21215 }
21216 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21217 {
21218 PyThreadState* __tstate = wxPyBeginAllowThreads();
21219 (arg1)->ActivateNext();
21220 wxPyEndAllowThreads(__tstate);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 }
21223 resultobj = SWIG_Py_Void();
21224 return resultobj;
21225 fail:
21226 return NULL;
21227 }
21228
21229
21230 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21231 PyObject *resultobj = 0;
21232 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21233 void *argp1 = 0 ;
21234 int res1 = 0 ;
21235 PyObject *swig_obj[1] ;
21236
21237 if (!args) SWIG_fail;
21238 swig_obj[0] = args;
21239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21240 if (!SWIG_IsOK(res1)) {
21241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21242 }
21243 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21244 {
21245 PyThreadState* __tstate = wxPyBeginAllowThreads();
21246 (arg1)->ActivatePrevious();
21247 wxPyEndAllowThreads(__tstate);
21248 if (PyErr_Occurred()) SWIG_fail;
21249 }
21250 resultobj = SWIG_Py_Void();
21251 return resultobj;
21252 fail:
21253 return NULL;
21254 }
21255
21256
21257 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21258 PyObject *resultobj = 0;
21259 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21260 void *argp1 = 0 ;
21261 int res1 = 0 ;
21262 PyObject *swig_obj[1] ;
21263
21264 if (!args) SWIG_fail;
21265 swig_obj[0] = args;
21266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21267 if (!SWIG_IsOK(res1)) {
21268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21269 }
21270 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21271 {
21272 PyThreadState* __tstate = wxPyBeginAllowThreads();
21273 (arg1)->ArrangeIcons();
21274 wxPyEndAllowThreads(__tstate);
21275 if (PyErr_Occurred()) SWIG_fail;
21276 }
21277 resultobj = SWIG_Py_Void();
21278 return resultobj;
21279 fail:
21280 return NULL;
21281 }
21282
21283
21284 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21285 PyObject *resultobj = 0;
21286 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21287 void *argp1 = 0 ;
21288 int res1 = 0 ;
21289 PyObject *swig_obj[1] ;
21290
21291 if (!args) SWIG_fail;
21292 swig_obj[0] = args;
21293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21294 if (!SWIG_IsOK(res1)) {
21295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21296 }
21297 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
21300 (arg1)->Cascade();
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 resultobj = SWIG_Py_Void();
21305 return resultobj;
21306 fail:
21307 return NULL;
21308 }
21309
21310
21311 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21312 PyObject *resultobj = 0;
21313 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21314 wxMDIChildFrame *result = 0 ;
21315 void *argp1 = 0 ;
21316 int res1 = 0 ;
21317 PyObject *swig_obj[1] ;
21318
21319 if (!args) SWIG_fail;
21320 swig_obj[0] = args;
21321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21322 if (!SWIG_IsOK(res1)) {
21323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21324 }
21325 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21326 {
21327 PyThreadState* __tstate = wxPyBeginAllowThreads();
21328 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
21332 {
21333 resultobj = wxPyMake_wxObject(result, (bool)0);
21334 }
21335 return resultobj;
21336 fail:
21337 return NULL;
21338 }
21339
21340
21341 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21342 PyObject *resultobj = 0;
21343 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21344 wxMDIClientWindow *result = 0 ;
21345 void *argp1 = 0 ;
21346 int res1 = 0 ;
21347 PyObject *swig_obj[1] ;
21348
21349 if (!args) SWIG_fail;
21350 swig_obj[0] = args;
21351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21352 if (!SWIG_IsOK(res1)) {
21353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21354 }
21355 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21356 {
21357 PyThreadState* __tstate = wxPyBeginAllowThreads();
21358 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 {
21363 resultobj = wxPyMake_wxObject(result, (bool)0);
21364 }
21365 return resultobj;
21366 fail:
21367 return NULL;
21368 }
21369
21370
21371 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21372 PyObject *resultobj = 0;
21373 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21374 wxMenu *result = 0 ;
21375 void *argp1 = 0 ;
21376 int res1 = 0 ;
21377 PyObject *swig_obj[1] ;
21378
21379 if (!args) SWIG_fail;
21380 swig_obj[0] = args;
21381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21382 if (!SWIG_IsOK(res1)) {
21383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21384 }
21385 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21386 {
21387 PyThreadState* __tstate = wxPyBeginAllowThreads();
21388 result = (wxMenu *)(arg1)->GetWindowMenu();
21389 wxPyEndAllowThreads(__tstate);
21390 if (PyErr_Occurred()) SWIG_fail;
21391 }
21392 {
21393 resultobj = wxPyMake_wxObject(result, 0);
21394 }
21395 return resultobj;
21396 fail:
21397 return NULL;
21398 }
21399
21400
21401 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj = 0;
21403 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21404 wxMenu *arg2 = (wxMenu *) 0 ;
21405 void *argp1 = 0 ;
21406 int res1 = 0 ;
21407 void *argp2 = 0 ;
21408 int res2 = 0 ;
21409 PyObject * obj0 = 0 ;
21410 PyObject * obj1 = 0 ;
21411 char * kwnames[] = {
21412 (char *) "self",(char *) "menu", NULL
21413 };
21414
21415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
21416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21417 if (!SWIG_IsOK(res1)) {
21418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21419 }
21420 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21421 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
21422 if (!SWIG_IsOK(res2)) {
21423 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21424 }
21425 arg2 = reinterpret_cast< wxMenu * >(argp2);
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 (arg1)->SetWindowMenu(arg2);
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 resultobj = SWIG_Py_Void();
21433 return resultobj;
21434 fail:
21435 return NULL;
21436 }
21437
21438
21439 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj = 0;
21441 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21442 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21443 void *argp1 = 0 ;
21444 int res1 = 0 ;
21445 int val2 ;
21446 int ecode2 = 0 ;
21447 PyObject * obj0 = 0 ;
21448 PyObject * obj1 = 0 ;
21449 char * kwnames[] = {
21450 (char *) "self",(char *) "orient", NULL
21451 };
21452
21453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21455 if (!SWIG_IsOK(res1)) {
21456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21457 }
21458 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21459 if (obj1) {
21460 ecode2 = SWIG_AsVal_int(obj1, &val2);
21461 if (!SWIG_IsOK(ecode2)) {
21462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21463 }
21464 arg2 = static_cast< wxOrientation >(val2);
21465 }
21466 {
21467 PyThreadState* __tstate = wxPyBeginAllowThreads();
21468 (arg1)->Tile(arg2);
21469 wxPyEndAllowThreads(__tstate);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 }
21472 resultobj = SWIG_Py_Void();
21473 return resultobj;
21474 fail:
21475 return NULL;
21476 }
21477
21478
21479 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21480 PyObject *obj;
21481 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21482 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21483 return SWIG_Py_Void();
21484 }
21485
21486 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21487 return SWIG_Python_InitShadowInstance(args);
21488 }
21489
21490 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21491 PyObject *resultobj = 0;
21492 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21493 int arg2 = (int) (int)-1 ;
21494 wxString const &arg3_defvalue = wxPyEmptyString ;
21495 wxString *arg3 = (wxString *) &arg3_defvalue ;
21496 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21497 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21498 wxSize const &arg5_defvalue = wxDefaultSize ;
21499 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21500 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21501 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21502 wxString *arg7 = (wxString *) &arg7_defvalue ;
21503 wxMDIChildFrame *result = 0 ;
21504 void *argp1 = 0 ;
21505 int res1 = 0 ;
21506 int val2 ;
21507 int ecode2 = 0 ;
21508 bool temp3 = false ;
21509 wxPoint temp4 ;
21510 wxSize temp5 ;
21511 long val6 ;
21512 int ecode6 = 0 ;
21513 bool temp7 = false ;
21514 PyObject * obj0 = 0 ;
21515 PyObject * obj1 = 0 ;
21516 PyObject * obj2 = 0 ;
21517 PyObject * obj3 = 0 ;
21518 PyObject * obj4 = 0 ;
21519 PyObject * obj5 = 0 ;
21520 PyObject * obj6 = 0 ;
21521 char * kwnames[] = {
21522 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21523 };
21524
21525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21527 if (!SWIG_IsOK(res1)) {
21528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21529 }
21530 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21531 if (obj1) {
21532 ecode2 = SWIG_AsVal_int(obj1, &val2);
21533 if (!SWIG_IsOK(ecode2)) {
21534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21535 }
21536 arg2 = static_cast< int >(val2);
21537 }
21538 if (obj2) {
21539 {
21540 arg3 = wxString_in_helper(obj2);
21541 if (arg3 == NULL) SWIG_fail;
21542 temp3 = true;
21543 }
21544 }
21545 if (obj3) {
21546 {
21547 arg4 = &temp4;
21548 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21549 }
21550 }
21551 if (obj4) {
21552 {
21553 arg5 = &temp5;
21554 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21555 }
21556 }
21557 if (obj5) {
21558 ecode6 = SWIG_AsVal_long(obj5, &val6);
21559 if (!SWIG_IsOK(ecode6)) {
21560 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21561 }
21562 arg6 = static_cast< long >(val6);
21563 }
21564 if (obj6) {
21565 {
21566 arg7 = wxString_in_helper(obj6);
21567 if (arg7 == NULL) SWIG_fail;
21568 temp7 = true;
21569 }
21570 }
21571 {
21572 if (!wxPyCheckForApp()) SWIG_fail;
21573 PyThreadState* __tstate = wxPyBeginAllowThreads();
21574 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21575 wxPyEndAllowThreads(__tstate);
21576 if (PyErr_Occurred()) SWIG_fail;
21577 }
21578 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21579 {
21580 if (temp3)
21581 delete arg3;
21582 }
21583 {
21584 if (temp7)
21585 delete arg7;
21586 }
21587 return resultobj;
21588 fail:
21589 {
21590 if (temp3)
21591 delete arg3;
21592 }
21593 {
21594 if (temp7)
21595 delete arg7;
21596 }
21597 return NULL;
21598 }
21599
21600
21601 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21602 PyObject *resultobj = 0;
21603 wxMDIChildFrame *result = 0 ;
21604
21605 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21606 {
21607 if (!wxPyCheckForApp()) SWIG_fail;
21608 PyThreadState* __tstate = wxPyBeginAllowThreads();
21609 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21610 wxPyEndAllowThreads(__tstate);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
21613 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21614 return resultobj;
21615 fail:
21616 return NULL;
21617 }
21618
21619
21620 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21621 PyObject *resultobj = 0;
21622 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21623 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21624 int arg3 = (int) (int)-1 ;
21625 wxString const &arg4_defvalue = wxPyEmptyString ;
21626 wxString *arg4 = (wxString *) &arg4_defvalue ;
21627 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21628 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21629 wxSize const &arg6_defvalue = wxDefaultSize ;
21630 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21631 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21632 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21633 wxString *arg8 = (wxString *) &arg8_defvalue ;
21634 bool result;
21635 void *argp1 = 0 ;
21636 int res1 = 0 ;
21637 void *argp2 = 0 ;
21638 int res2 = 0 ;
21639 int val3 ;
21640 int ecode3 = 0 ;
21641 bool temp4 = false ;
21642 wxPoint temp5 ;
21643 wxSize temp6 ;
21644 long val7 ;
21645 int ecode7 = 0 ;
21646 bool temp8 = false ;
21647 PyObject * obj0 = 0 ;
21648 PyObject * obj1 = 0 ;
21649 PyObject * obj2 = 0 ;
21650 PyObject * obj3 = 0 ;
21651 PyObject * obj4 = 0 ;
21652 PyObject * obj5 = 0 ;
21653 PyObject * obj6 = 0 ;
21654 PyObject * obj7 = 0 ;
21655 char * kwnames[] = {
21656 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21657 };
21658
21659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21661 if (!SWIG_IsOK(res1)) {
21662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21663 }
21664 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21665 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21666 if (!SWIG_IsOK(res2)) {
21667 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21668 }
21669 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21670 if (obj2) {
21671 ecode3 = SWIG_AsVal_int(obj2, &val3);
21672 if (!SWIG_IsOK(ecode3)) {
21673 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21674 }
21675 arg3 = static_cast< int >(val3);
21676 }
21677 if (obj3) {
21678 {
21679 arg4 = wxString_in_helper(obj3);
21680 if (arg4 == NULL) SWIG_fail;
21681 temp4 = true;
21682 }
21683 }
21684 if (obj4) {
21685 {
21686 arg5 = &temp5;
21687 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21688 }
21689 }
21690 if (obj5) {
21691 {
21692 arg6 = &temp6;
21693 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21694 }
21695 }
21696 if (obj6) {
21697 ecode7 = SWIG_AsVal_long(obj6, &val7);
21698 if (!SWIG_IsOK(ecode7)) {
21699 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21700 }
21701 arg7 = static_cast< long >(val7);
21702 }
21703 if (obj7) {
21704 {
21705 arg8 = wxString_in_helper(obj7);
21706 if (arg8 == NULL) SWIG_fail;
21707 temp8 = true;
21708 }
21709 }
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21713 wxPyEndAllowThreads(__tstate);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 }
21716 {
21717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21718 }
21719 {
21720 if (temp4)
21721 delete arg4;
21722 }
21723 {
21724 if (temp8)
21725 delete arg8;
21726 }
21727 return resultobj;
21728 fail:
21729 {
21730 if (temp4)
21731 delete arg4;
21732 }
21733 {
21734 if (temp8)
21735 delete arg8;
21736 }
21737 return NULL;
21738 }
21739
21740
21741 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21742 PyObject *resultobj = 0;
21743 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21744 void *argp1 = 0 ;
21745 int res1 = 0 ;
21746 PyObject *swig_obj[1] ;
21747
21748 if (!args) SWIG_fail;
21749 swig_obj[0] = args;
21750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21751 if (!SWIG_IsOK(res1)) {
21752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21753 }
21754 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21755 {
21756 PyThreadState* __tstate = wxPyBeginAllowThreads();
21757 (arg1)->Activate();
21758 wxPyEndAllowThreads(__tstate);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 }
21761 resultobj = SWIG_Py_Void();
21762 return resultobj;
21763 fail:
21764 return NULL;
21765 }
21766
21767
21768 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21769 PyObject *obj;
21770 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21771 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21772 return SWIG_Py_Void();
21773 }
21774
21775 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21776 return SWIG_Python_InitShadowInstance(args);
21777 }
21778
21779 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21780 PyObject *resultobj = 0;
21781 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21782 long arg2 = (long) 0 ;
21783 wxMDIClientWindow *result = 0 ;
21784 void *argp1 = 0 ;
21785 int res1 = 0 ;
21786 long val2 ;
21787 int ecode2 = 0 ;
21788 PyObject * obj0 = 0 ;
21789 PyObject * obj1 = 0 ;
21790 char * kwnames[] = {
21791 (char *) "parent",(char *) "style", NULL
21792 };
21793
21794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21796 if (!SWIG_IsOK(res1)) {
21797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21798 }
21799 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21800 if (obj1) {
21801 ecode2 = SWIG_AsVal_long(obj1, &val2);
21802 if (!SWIG_IsOK(ecode2)) {
21803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21804 }
21805 arg2 = static_cast< long >(val2);
21806 }
21807 {
21808 if (!wxPyCheckForApp()) SWIG_fail;
21809 PyThreadState* __tstate = wxPyBeginAllowThreads();
21810 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21815 return resultobj;
21816 fail:
21817 return NULL;
21818 }
21819
21820
21821 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21822 PyObject *resultobj = 0;
21823 wxMDIClientWindow *result = 0 ;
21824
21825 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21826 {
21827 if (!wxPyCheckForApp()) SWIG_fail;
21828 PyThreadState* __tstate = wxPyBeginAllowThreads();
21829 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21830 wxPyEndAllowThreads(__tstate);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 }
21833 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21834 return resultobj;
21835 fail:
21836 return NULL;
21837 }
21838
21839
21840 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21841 PyObject *resultobj = 0;
21842 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21843 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21844 long arg3 = (long) 0 ;
21845 bool result;
21846 void *argp1 = 0 ;
21847 int res1 = 0 ;
21848 void *argp2 = 0 ;
21849 int res2 = 0 ;
21850 long val3 ;
21851 int ecode3 = 0 ;
21852 PyObject * obj0 = 0 ;
21853 PyObject * obj1 = 0 ;
21854 PyObject * obj2 = 0 ;
21855 char * kwnames[] = {
21856 (char *) "self",(char *) "parent",(char *) "style", NULL
21857 };
21858
21859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21861 if (!SWIG_IsOK(res1)) {
21862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21863 }
21864 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21865 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21866 if (!SWIG_IsOK(res2)) {
21867 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21868 }
21869 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21870 if (obj2) {
21871 ecode3 = SWIG_AsVal_long(obj2, &val3);
21872 if (!SWIG_IsOK(ecode3)) {
21873 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21874 }
21875 arg3 = static_cast< long >(val3);
21876 }
21877 {
21878 PyThreadState* __tstate = wxPyBeginAllowThreads();
21879 result = (bool)(arg1)->Create(arg2,arg3);
21880 wxPyEndAllowThreads(__tstate);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 }
21883 {
21884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21885 }
21886 return resultobj;
21887 fail:
21888 return NULL;
21889 }
21890
21891
21892 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21893 PyObject *obj;
21894 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21895 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21896 return SWIG_Py_Void();
21897 }
21898
21899 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21900 return SWIG_Python_InitShadowInstance(args);
21901 }
21902
21903 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21904 PyObject *resultobj = 0;
21905 wxWindow *arg1 = (wxWindow *) 0 ;
21906 int arg2 = (int) (int)-1 ;
21907 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21908 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21909 wxSize const &arg4_defvalue = wxDefaultSize ;
21910 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21911 long arg5 = (long) 0 ;
21912 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21913 wxString *arg6 = (wxString *) &arg6_defvalue ;
21914 wxPyWindow *result = 0 ;
21915 void *argp1 = 0 ;
21916 int res1 = 0 ;
21917 int val2 ;
21918 int ecode2 = 0 ;
21919 wxPoint temp3 ;
21920 wxSize temp4 ;
21921 long val5 ;
21922 int ecode5 = 0 ;
21923 bool temp6 = false ;
21924 PyObject * obj0 = 0 ;
21925 PyObject * obj1 = 0 ;
21926 PyObject * obj2 = 0 ;
21927 PyObject * obj3 = 0 ;
21928 PyObject * obj4 = 0 ;
21929 PyObject * obj5 = 0 ;
21930 char * kwnames[] = {
21931 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21932 };
21933
21934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21936 if (!SWIG_IsOK(res1)) {
21937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21938 }
21939 arg1 = reinterpret_cast< wxWindow * >(argp1);
21940 if (obj1) {
21941 ecode2 = SWIG_AsVal_int(obj1, &val2);
21942 if (!SWIG_IsOK(ecode2)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21944 }
21945 arg2 = static_cast< int >(val2);
21946 }
21947 if (obj2) {
21948 {
21949 arg3 = &temp3;
21950 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21951 }
21952 }
21953 if (obj3) {
21954 {
21955 arg4 = &temp4;
21956 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21957 }
21958 }
21959 if (obj4) {
21960 ecode5 = SWIG_AsVal_long(obj4, &val5);
21961 if (!SWIG_IsOK(ecode5)) {
21962 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21963 }
21964 arg5 = static_cast< long >(val5);
21965 }
21966 if (obj5) {
21967 {
21968 arg6 = wxString_in_helper(obj5);
21969 if (arg6 == NULL) SWIG_fail;
21970 temp6 = true;
21971 }
21972 }
21973 {
21974 if (!wxPyCheckForApp()) SWIG_fail;
21975 PyThreadState* __tstate = wxPyBeginAllowThreads();
21976 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
21980 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21981 {
21982 if (temp6)
21983 delete arg6;
21984 }
21985 return resultobj;
21986 fail:
21987 {
21988 if (temp6)
21989 delete arg6;
21990 }
21991 return NULL;
21992 }
21993
21994
21995 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21996 PyObject *resultobj = 0;
21997 wxPyWindow *result = 0 ;
21998
21999 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
22000 {
22001 if (!wxPyCheckForApp()) SWIG_fail;
22002 PyThreadState* __tstate = wxPyBeginAllowThreads();
22003 result = (wxPyWindow *)new wxPyWindow();
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
22008 return resultobj;
22009 fail:
22010 return NULL;
22011 }
22012
22013
22014 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj = 0;
22016 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22017 PyObject *arg2 = (PyObject *) 0 ;
22018 PyObject *arg3 = (PyObject *) 0 ;
22019 void *argp1 = 0 ;
22020 int res1 = 0 ;
22021 PyObject * obj0 = 0 ;
22022 PyObject * obj1 = 0 ;
22023 PyObject * obj2 = 0 ;
22024 char * kwnames[] = {
22025 (char *) "self",(char *) "self",(char *) "_class", NULL
22026 };
22027
22028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22030 if (!SWIG_IsOK(res1)) {
22031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22032 }
22033 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22034 arg2 = obj1;
22035 arg3 = obj2;
22036 {
22037 PyThreadState* __tstate = wxPyBeginAllowThreads();
22038 (arg1)->_setCallbackInfo(arg2,arg3);
22039 wxPyEndAllowThreads(__tstate);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 }
22042 resultobj = SWIG_Py_Void();
22043 return resultobj;
22044 fail:
22045 return NULL;
22046 }
22047
22048
22049 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22050 PyObject *resultobj = 0;
22051 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22052 wxDC *arg2 = (wxDC *) 0 ;
22053 bool result;
22054 void *argp1 = 0 ;
22055 int res1 = 0 ;
22056 void *argp2 = 0 ;
22057 int res2 = 0 ;
22058 PyObject * obj0 = 0 ;
22059 PyObject * obj1 = 0 ;
22060 char * kwnames[] = {
22061 (char *) "self",(char *) "dc", NULL
22062 };
22063
22064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22066 if (!SWIG_IsOK(res1)) {
22067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22068 }
22069 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22070 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22071 if (!SWIG_IsOK(res2)) {
22072 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22073 }
22074 arg2 = reinterpret_cast< wxDC * >(argp2);
22075 {
22076 PyThreadState* __tstate = wxPyBeginAllowThreads();
22077 result = (bool)(arg1)->DoEraseBackground(arg2);
22078 wxPyEndAllowThreads(__tstate);
22079 if (PyErr_Occurred()) SWIG_fail;
22080 }
22081 {
22082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22083 }
22084 return resultobj;
22085 fail:
22086 return NULL;
22087 }
22088
22089
22090 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj = 0;
22092 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22093 int arg2 ;
22094 int arg3 ;
22095 int arg4 ;
22096 int arg5 ;
22097 void *argp1 = 0 ;
22098 int res1 = 0 ;
22099 int val2 ;
22100 int ecode2 = 0 ;
22101 int val3 ;
22102 int ecode3 = 0 ;
22103 int val4 ;
22104 int ecode4 = 0 ;
22105 int val5 ;
22106 int ecode5 = 0 ;
22107 PyObject * obj0 = 0 ;
22108 PyObject * obj1 = 0 ;
22109 PyObject * obj2 = 0 ;
22110 PyObject * obj3 = 0 ;
22111 PyObject * obj4 = 0 ;
22112 char * kwnames[] = {
22113 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22114 };
22115
22116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22118 if (!SWIG_IsOK(res1)) {
22119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22120 }
22121 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22122 ecode2 = SWIG_AsVal_int(obj1, &val2);
22123 if (!SWIG_IsOK(ecode2)) {
22124 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22125 }
22126 arg2 = static_cast< int >(val2);
22127 ecode3 = SWIG_AsVal_int(obj2, &val3);
22128 if (!SWIG_IsOK(ecode3)) {
22129 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22130 }
22131 arg3 = static_cast< int >(val3);
22132 ecode4 = SWIG_AsVal_int(obj3, &val4);
22133 if (!SWIG_IsOK(ecode4)) {
22134 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22135 }
22136 arg4 = static_cast< int >(val4);
22137 ecode5 = SWIG_AsVal_int(obj4, &val5);
22138 if (!SWIG_IsOK(ecode5)) {
22139 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22140 }
22141 arg5 = static_cast< int >(val5);
22142 {
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22145 wxPyEndAllowThreads(__tstate);
22146 if (PyErr_Occurred()) SWIG_fail;
22147 }
22148 resultobj = SWIG_Py_Void();
22149 return resultobj;
22150 fail:
22151 return NULL;
22152 }
22153
22154
22155 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22156 PyObject *resultobj = 0;
22157 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22158 int arg2 ;
22159 int arg3 ;
22160 int arg4 ;
22161 int arg5 ;
22162 int arg6 = (int) wxSIZE_AUTO ;
22163 void *argp1 = 0 ;
22164 int res1 = 0 ;
22165 int val2 ;
22166 int ecode2 = 0 ;
22167 int val3 ;
22168 int ecode3 = 0 ;
22169 int val4 ;
22170 int ecode4 = 0 ;
22171 int val5 ;
22172 int ecode5 = 0 ;
22173 int val6 ;
22174 int ecode6 = 0 ;
22175 PyObject * obj0 = 0 ;
22176 PyObject * obj1 = 0 ;
22177 PyObject * obj2 = 0 ;
22178 PyObject * obj3 = 0 ;
22179 PyObject * obj4 = 0 ;
22180 PyObject * obj5 = 0 ;
22181 char * kwnames[] = {
22182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22183 };
22184
22185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22187 if (!SWIG_IsOK(res1)) {
22188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22189 }
22190 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22191 ecode2 = SWIG_AsVal_int(obj1, &val2);
22192 if (!SWIG_IsOK(ecode2)) {
22193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22194 }
22195 arg2 = static_cast< int >(val2);
22196 ecode3 = SWIG_AsVal_int(obj2, &val3);
22197 if (!SWIG_IsOK(ecode3)) {
22198 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22199 }
22200 arg3 = static_cast< int >(val3);
22201 ecode4 = SWIG_AsVal_int(obj3, &val4);
22202 if (!SWIG_IsOK(ecode4)) {
22203 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22204 }
22205 arg4 = static_cast< int >(val4);
22206 ecode5 = SWIG_AsVal_int(obj4, &val5);
22207 if (!SWIG_IsOK(ecode5)) {
22208 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22209 }
22210 arg5 = static_cast< int >(val5);
22211 if (obj5) {
22212 ecode6 = SWIG_AsVal_int(obj5, &val6);
22213 if (!SWIG_IsOK(ecode6)) {
22214 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22215 }
22216 arg6 = static_cast< int >(val6);
22217 }
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
22224 resultobj = SWIG_Py_Void();
22225 return resultobj;
22226 fail:
22227 return NULL;
22228 }
22229
22230
22231 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22232 PyObject *resultobj = 0;
22233 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22234 int arg2 ;
22235 int arg3 ;
22236 void *argp1 = 0 ;
22237 int res1 = 0 ;
22238 int val2 ;
22239 int ecode2 = 0 ;
22240 int val3 ;
22241 int ecode3 = 0 ;
22242 PyObject * obj0 = 0 ;
22243 PyObject * obj1 = 0 ;
22244 PyObject * obj2 = 0 ;
22245 char * kwnames[] = {
22246 (char *) "self",(char *) "width",(char *) "height", NULL
22247 };
22248
22249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22251 if (!SWIG_IsOK(res1)) {
22252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22253 }
22254 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22255 ecode2 = SWIG_AsVal_int(obj1, &val2);
22256 if (!SWIG_IsOK(ecode2)) {
22257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22258 }
22259 arg2 = static_cast< int >(val2);
22260 ecode3 = SWIG_AsVal_int(obj2, &val3);
22261 if (!SWIG_IsOK(ecode3)) {
22262 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22263 }
22264 arg3 = static_cast< int >(val3);
22265 {
22266 PyThreadState* __tstate = wxPyBeginAllowThreads();
22267 (arg1)->DoSetClientSize(arg2,arg3);
22268 wxPyEndAllowThreads(__tstate);
22269 if (PyErr_Occurred()) SWIG_fail;
22270 }
22271 resultobj = SWIG_Py_Void();
22272 return resultobj;
22273 fail:
22274 return NULL;
22275 }
22276
22277
22278 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22279 PyObject *resultobj = 0;
22280 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22281 int arg2 ;
22282 int arg3 ;
22283 void *argp1 = 0 ;
22284 int res1 = 0 ;
22285 int val2 ;
22286 int ecode2 = 0 ;
22287 int val3 ;
22288 int ecode3 = 0 ;
22289 PyObject * obj0 = 0 ;
22290 PyObject * obj1 = 0 ;
22291 PyObject * obj2 = 0 ;
22292 char * kwnames[] = {
22293 (char *) "self",(char *) "x",(char *) "y", NULL
22294 };
22295
22296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22298 if (!SWIG_IsOK(res1)) {
22299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22300 }
22301 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22302 ecode2 = SWIG_AsVal_int(obj1, &val2);
22303 if (!SWIG_IsOK(ecode2)) {
22304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22305 }
22306 arg2 = static_cast< int >(val2);
22307 ecode3 = SWIG_AsVal_int(obj2, &val3);
22308 if (!SWIG_IsOK(ecode3)) {
22309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22310 }
22311 arg3 = static_cast< int >(val3);
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 (arg1)->DoSetVirtualSize(arg2,arg3);
22315 wxPyEndAllowThreads(__tstate);
22316 if (PyErr_Occurred()) SWIG_fail;
22317 }
22318 resultobj = SWIG_Py_Void();
22319 return resultobj;
22320 fail:
22321 return NULL;
22322 }
22323
22324
22325 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22326 PyObject *resultobj = 0;
22327 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22328 int *arg2 = (int *) 0 ;
22329 int *arg3 = (int *) 0 ;
22330 void *argp1 = 0 ;
22331 int res1 = 0 ;
22332 int temp2 ;
22333 int res2 = SWIG_TMPOBJ ;
22334 int temp3 ;
22335 int res3 = SWIG_TMPOBJ ;
22336 PyObject *swig_obj[1] ;
22337
22338 arg2 = &temp2;
22339 arg3 = &temp3;
22340 if (!args) SWIG_fail;
22341 swig_obj[0] = args;
22342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22343 if (!SWIG_IsOK(res1)) {
22344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22345 }
22346 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22347 {
22348 PyThreadState* __tstate = wxPyBeginAllowThreads();
22349 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22350 wxPyEndAllowThreads(__tstate);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 }
22353 resultobj = SWIG_Py_Void();
22354 if (SWIG_IsTmpObj(res2)) {
22355 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22356 } else {
22357 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22358 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22359 }
22360 if (SWIG_IsTmpObj(res3)) {
22361 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22362 } else {
22363 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22364 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22365 }
22366 return resultobj;
22367 fail:
22368 return NULL;
22369 }
22370
22371
22372 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22373 PyObject *resultobj = 0;
22374 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22375 int *arg2 = (int *) 0 ;
22376 int *arg3 = (int *) 0 ;
22377 void *argp1 = 0 ;
22378 int res1 = 0 ;
22379 int temp2 ;
22380 int res2 = SWIG_TMPOBJ ;
22381 int temp3 ;
22382 int res3 = SWIG_TMPOBJ ;
22383 PyObject *swig_obj[1] ;
22384
22385 arg2 = &temp2;
22386 arg3 = &temp3;
22387 if (!args) SWIG_fail;
22388 swig_obj[0] = args;
22389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22390 if (!SWIG_IsOK(res1)) {
22391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22392 }
22393 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22397 wxPyEndAllowThreads(__tstate);
22398 if (PyErr_Occurred()) SWIG_fail;
22399 }
22400 resultobj = SWIG_Py_Void();
22401 if (SWIG_IsTmpObj(res2)) {
22402 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22403 } else {
22404 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22405 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22406 }
22407 if (SWIG_IsTmpObj(res3)) {
22408 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22409 } else {
22410 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22411 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22412 }
22413 return resultobj;
22414 fail:
22415 return NULL;
22416 }
22417
22418
22419 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22420 PyObject *resultobj = 0;
22421 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22422 int *arg2 = (int *) 0 ;
22423 int *arg3 = (int *) 0 ;
22424 void *argp1 = 0 ;
22425 int res1 = 0 ;
22426 int temp2 ;
22427 int res2 = SWIG_TMPOBJ ;
22428 int temp3 ;
22429 int res3 = SWIG_TMPOBJ ;
22430 PyObject *swig_obj[1] ;
22431
22432 arg2 = &temp2;
22433 arg3 = &temp3;
22434 if (!args) SWIG_fail;
22435 swig_obj[0] = args;
22436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22437 if (!SWIG_IsOK(res1)) {
22438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22439 }
22440 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22441 {
22442 PyThreadState* __tstate = wxPyBeginAllowThreads();
22443 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22444 wxPyEndAllowThreads(__tstate);
22445 if (PyErr_Occurred()) SWIG_fail;
22446 }
22447 resultobj = SWIG_Py_Void();
22448 if (SWIG_IsTmpObj(res2)) {
22449 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22450 } else {
22451 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22452 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22453 }
22454 if (SWIG_IsTmpObj(res3)) {
22455 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22456 } else {
22457 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22458 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22459 }
22460 return resultobj;
22461 fail:
22462 return NULL;
22463 }
22464
22465
22466 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22467 PyObject *resultobj = 0;
22468 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22469 wxSize result;
22470 void *argp1 = 0 ;
22471 int res1 = 0 ;
22472 PyObject *swig_obj[1] ;
22473
22474 if (!args) SWIG_fail;
22475 swig_obj[0] = args;
22476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22477 if (!SWIG_IsOK(res1)) {
22478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22479 }
22480 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22484 wxPyEndAllowThreads(__tstate);
22485 if (PyErr_Occurred()) SWIG_fail;
22486 }
22487 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22488 return resultobj;
22489 fail:
22490 return NULL;
22491 }
22492
22493
22494 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22495 PyObject *resultobj = 0;
22496 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22497 wxSize result;
22498 void *argp1 = 0 ;
22499 int res1 = 0 ;
22500 PyObject *swig_obj[1] ;
22501
22502 if (!args) SWIG_fail;
22503 swig_obj[0] = args;
22504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22505 if (!SWIG_IsOK(res1)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22507 }
22508 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22509 {
22510 PyThreadState* __tstate = wxPyBeginAllowThreads();
22511 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22512 wxPyEndAllowThreads(__tstate);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 }
22515 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22516 return resultobj;
22517 fail:
22518 return NULL;
22519 }
22520
22521
22522 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22523 PyObject *resultobj = 0;
22524 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22525 SwigValueWrapper<wxVisualAttributes > result;
22526 void *argp1 = 0 ;
22527 int res1 = 0 ;
22528 PyObject *swig_obj[1] ;
22529
22530 if (!args) SWIG_fail;
22531 swig_obj[0] = args;
22532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22533 if (!SWIG_IsOK(res1)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22535 }
22536 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22537 {
22538 PyThreadState* __tstate = wxPyBeginAllowThreads();
22539 result = (arg1)->GetDefaultAttributes();
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22544 return resultobj;
22545 fail:
22546 return NULL;
22547 }
22548
22549
22550 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22551 PyObject *resultobj = 0;
22552 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22553 void *argp1 = 0 ;
22554 int res1 = 0 ;
22555 PyObject *swig_obj[1] ;
22556
22557 if (!args) SWIG_fail;
22558 swig_obj[0] = args;
22559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22560 if (!SWIG_IsOK(res1)) {
22561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22562 }
22563 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22564 {
22565 PyThreadState* __tstate = wxPyBeginAllowThreads();
22566 (arg1)->OnInternalIdle();
22567 wxPyEndAllowThreads(__tstate);
22568 if (PyErr_Occurred()) SWIG_fail;
22569 }
22570 resultobj = SWIG_Py_Void();
22571 return resultobj;
22572 fail:
22573 return NULL;
22574 }
22575
22576
22577 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22578 PyObject *obj;
22579 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22581 return SWIG_Py_Void();
22582 }
22583
22584 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22585 return SWIG_Python_InitShadowInstance(args);
22586 }
22587
22588 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22589 PyObject *resultobj = 0;
22590 wxWindow *arg1 = (wxWindow *) 0 ;
22591 int arg2 = (int) (int)-1 ;
22592 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22593 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22594 wxSize const &arg4_defvalue = wxDefaultSize ;
22595 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22596 long arg5 = (long) 0 ;
22597 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22598 wxString *arg6 = (wxString *) &arg6_defvalue ;
22599 wxPyPanel *result = 0 ;
22600 void *argp1 = 0 ;
22601 int res1 = 0 ;
22602 int val2 ;
22603 int ecode2 = 0 ;
22604 wxPoint temp3 ;
22605 wxSize temp4 ;
22606 long val5 ;
22607 int ecode5 = 0 ;
22608 bool temp6 = false ;
22609 PyObject * obj0 = 0 ;
22610 PyObject * obj1 = 0 ;
22611 PyObject * obj2 = 0 ;
22612 PyObject * obj3 = 0 ;
22613 PyObject * obj4 = 0 ;
22614 PyObject * obj5 = 0 ;
22615 char * kwnames[] = {
22616 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22617 };
22618
22619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22621 if (!SWIG_IsOK(res1)) {
22622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22623 }
22624 arg1 = reinterpret_cast< wxWindow * >(argp1);
22625 if (obj1) {
22626 ecode2 = SWIG_AsVal_int(obj1, &val2);
22627 if (!SWIG_IsOK(ecode2)) {
22628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22629 }
22630 arg2 = static_cast< int >(val2);
22631 }
22632 if (obj2) {
22633 {
22634 arg3 = &temp3;
22635 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22636 }
22637 }
22638 if (obj3) {
22639 {
22640 arg4 = &temp4;
22641 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22642 }
22643 }
22644 if (obj4) {
22645 ecode5 = SWIG_AsVal_long(obj4, &val5);
22646 if (!SWIG_IsOK(ecode5)) {
22647 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22648 }
22649 arg5 = static_cast< long >(val5);
22650 }
22651 if (obj5) {
22652 {
22653 arg6 = wxString_in_helper(obj5);
22654 if (arg6 == NULL) SWIG_fail;
22655 temp6 = true;
22656 }
22657 }
22658 {
22659 if (!wxPyCheckForApp()) SWIG_fail;
22660 PyThreadState* __tstate = wxPyBeginAllowThreads();
22661 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22662 wxPyEndAllowThreads(__tstate);
22663 if (PyErr_Occurred()) SWIG_fail;
22664 }
22665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22666 {
22667 if (temp6)
22668 delete arg6;
22669 }
22670 return resultobj;
22671 fail:
22672 {
22673 if (temp6)
22674 delete arg6;
22675 }
22676 return NULL;
22677 }
22678
22679
22680 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22681 PyObject *resultobj = 0;
22682 wxPyPanel *result = 0 ;
22683
22684 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22685 {
22686 if (!wxPyCheckForApp()) SWIG_fail;
22687 PyThreadState* __tstate = wxPyBeginAllowThreads();
22688 result = (wxPyPanel *)new wxPyPanel();
22689 wxPyEndAllowThreads(__tstate);
22690 if (PyErr_Occurred()) SWIG_fail;
22691 }
22692 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22693 return resultobj;
22694 fail:
22695 return NULL;
22696 }
22697
22698
22699 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22700 PyObject *resultobj = 0;
22701 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22702 PyObject *arg2 = (PyObject *) 0 ;
22703 PyObject *arg3 = (PyObject *) 0 ;
22704 void *argp1 = 0 ;
22705 int res1 = 0 ;
22706 PyObject * obj0 = 0 ;
22707 PyObject * obj1 = 0 ;
22708 PyObject * obj2 = 0 ;
22709 char * kwnames[] = {
22710 (char *) "self",(char *) "self",(char *) "_class", NULL
22711 };
22712
22713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22715 if (!SWIG_IsOK(res1)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22717 }
22718 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22719 arg2 = obj1;
22720 arg3 = obj2;
22721 {
22722 PyThreadState* __tstate = wxPyBeginAllowThreads();
22723 (arg1)->_setCallbackInfo(arg2,arg3);
22724 wxPyEndAllowThreads(__tstate);
22725 if (PyErr_Occurred()) SWIG_fail;
22726 }
22727 resultobj = SWIG_Py_Void();
22728 return resultobj;
22729 fail:
22730 return NULL;
22731 }
22732
22733
22734 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22735 PyObject *resultobj = 0;
22736 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22737 wxDC *arg2 = (wxDC *) 0 ;
22738 bool result;
22739 void *argp1 = 0 ;
22740 int res1 = 0 ;
22741 void *argp2 = 0 ;
22742 int res2 = 0 ;
22743 PyObject * obj0 = 0 ;
22744 PyObject * obj1 = 0 ;
22745 char * kwnames[] = {
22746 (char *) "self",(char *) "dc", NULL
22747 };
22748
22749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22751 if (!SWIG_IsOK(res1)) {
22752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22753 }
22754 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22755 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22756 if (!SWIG_IsOK(res2)) {
22757 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22758 }
22759 arg2 = reinterpret_cast< wxDC * >(argp2);
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 result = (bool)(arg1)->DoEraseBackground(arg2);
22763 wxPyEndAllowThreads(__tstate);
22764 if (PyErr_Occurred()) SWIG_fail;
22765 }
22766 {
22767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22768 }
22769 return resultobj;
22770 fail:
22771 return NULL;
22772 }
22773
22774
22775 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22776 PyObject *resultobj = 0;
22777 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22778 int arg2 ;
22779 int arg3 ;
22780 int arg4 ;
22781 int arg5 ;
22782 void *argp1 = 0 ;
22783 int res1 = 0 ;
22784 int val2 ;
22785 int ecode2 = 0 ;
22786 int val3 ;
22787 int ecode3 = 0 ;
22788 int val4 ;
22789 int ecode4 = 0 ;
22790 int val5 ;
22791 int ecode5 = 0 ;
22792 PyObject * obj0 = 0 ;
22793 PyObject * obj1 = 0 ;
22794 PyObject * obj2 = 0 ;
22795 PyObject * obj3 = 0 ;
22796 PyObject * obj4 = 0 ;
22797 char * kwnames[] = {
22798 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22799 };
22800
22801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22803 if (!SWIG_IsOK(res1)) {
22804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22805 }
22806 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22807 ecode2 = SWIG_AsVal_int(obj1, &val2);
22808 if (!SWIG_IsOK(ecode2)) {
22809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22810 }
22811 arg2 = static_cast< int >(val2);
22812 ecode3 = SWIG_AsVal_int(obj2, &val3);
22813 if (!SWIG_IsOK(ecode3)) {
22814 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22815 }
22816 arg3 = static_cast< int >(val3);
22817 ecode4 = SWIG_AsVal_int(obj3, &val4);
22818 if (!SWIG_IsOK(ecode4)) {
22819 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22820 }
22821 arg4 = static_cast< int >(val4);
22822 ecode5 = SWIG_AsVal_int(obj4, &val5);
22823 if (!SWIG_IsOK(ecode5)) {
22824 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22825 }
22826 arg5 = static_cast< int >(val5);
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 resultobj = SWIG_Py_Void();
22834 return resultobj;
22835 fail:
22836 return NULL;
22837 }
22838
22839
22840 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22841 PyObject *resultobj = 0;
22842 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22843 int arg2 ;
22844 int arg3 ;
22845 int arg4 ;
22846 int arg5 ;
22847 int arg6 = (int) wxSIZE_AUTO ;
22848 void *argp1 = 0 ;
22849 int res1 = 0 ;
22850 int val2 ;
22851 int ecode2 = 0 ;
22852 int val3 ;
22853 int ecode3 = 0 ;
22854 int val4 ;
22855 int ecode4 = 0 ;
22856 int val5 ;
22857 int ecode5 = 0 ;
22858 int val6 ;
22859 int ecode6 = 0 ;
22860 PyObject * obj0 = 0 ;
22861 PyObject * obj1 = 0 ;
22862 PyObject * obj2 = 0 ;
22863 PyObject * obj3 = 0 ;
22864 PyObject * obj4 = 0 ;
22865 PyObject * obj5 = 0 ;
22866 char * kwnames[] = {
22867 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22868 };
22869
22870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22872 if (!SWIG_IsOK(res1)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22874 }
22875 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22876 ecode2 = SWIG_AsVal_int(obj1, &val2);
22877 if (!SWIG_IsOK(ecode2)) {
22878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22879 }
22880 arg2 = static_cast< int >(val2);
22881 ecode3 = SWIG_AsVal_int(obj2, &val3);
22882 if (!SWIG_IsOK(ecode3)) {
22883 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22884 }
22885 arg3 = static_cast< int >(val3);
22886 ecode4 = SWIG_AsVal_int(obj3, &val4);
22887 if (!SWIG_IsOK(ecode4)) {
22888 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22889 }
22890 arg4 = static_cast< int >(val4);
22891 ecode5 = SWIG_AsVal_int(obj4, &val5);
22892 if (!SWIG_IsOK(ecode5)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22894 }
22895 arg5 = static_cast< int >(val5);
22896 if (obj5) {
22897 ecode6 = SWIG_AsVal_int(obj5, &val6);
22898 if (!SWIG_IsOK(ecode6)) {
22899 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22900 }
22901 arg6 = static_cast< int >(val6);
22902 }
22903 {
22904 PyThreadState* __tstate = wxPyBeginAllowThreads();
22905 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22906 wxPyEndAllowThreads(__tstate);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 }
22909 resultobj = SWIG_Py_Void();
22910 return resultobj;
22911 fail:
22912 return NULL;
22913 }
22914
22915
22916 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22917 PyObject *resultobj = 0;
22918 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22919 int arg2 ;
22920 int arg3 ;
22921 void *argp1 = 0 ;
22922 int res1 = 0 ;
22923 int val2 ;
22924 int ecode2 = 0 ;
22925 int val3 ;
22926 int ecode3 = 0 ;
22927 PyObject * obj0 = 0 ;
22928 PyObject * obj1 = 0 ;
22929 PyObject * obj2 = 0 ;
22930 char * kwnames[] = {
22931 (char *) "self",(char *) "width",(char *) "height", NULL
22932 };
22933
22934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22936 if (!SWIG_IsOK(res1)) {
22937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22938 }
22939 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22940 ecode2 = SWIG_AsVal_int(obj1, &val2);
22941 if (!SWIG_IsOK(ecode2)) {
22942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22943 }
22944 arg2 = static_cast< int >(val2);
22945 ecode3 = SWIG_AsVal_int(obj2, &val3);
22946 if (!SWIG_IsOK(ecode3)) {
22947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22948 }
22949 arg3 = static_cast< int >(val3);
22950 {
22951 PyThreadState* __tstate = wxPyBeginAllowThreads();
22952 (arg1)->DoSetClientSize(arg2,arg3);
22953 wxPyEndAllowThreads(__tstate);
22954 if (PyErr_Occurred()) SWIG_fail;
22955 }
22956 resultobj = SWIG_Py_Void();
22957 return resultobj;
22958 fail:
22959 return NULL;
22960 }
22961
22962
22963 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22964 PyObject *resultobj = 0;
22965 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22966 int arg2 ;
22967 int arg3 ;
22968 void *argp1 = 0 ;
22969 int res1 = 0 ;
22970 int val2 ;
22971 int ecode2 = 0 ;
22972 int val3 ;
22973 int ecode3 = 0 ;
22974 PyObject * obj0 = 0 ;
22975 PyObject * obj1 = 0 ;
22976 PyObject * obj2 = 0 ;
22977 char * kwnames[] = {
22978 (char *) "self",(char *) "x",(char *) "y", NULL
22979 };
22980
22981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22983 if (!SWIG_IsOK(res1)) {
22984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22985 }
22986 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22987 ecode2 = SWIG_AsVal_int(obj1, &val2);
22988 if (!SWIG_IsOK(ecode2)) {
22989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22990 }
22991 arg2 = static_cast< int >(val2);
22992 ecode3 = SWIG_AsVal_int(obj2, &val3);
22993 if (!SWIG_IsOK(ecode3)) {
22994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22995 }
22996 arg3 = static_cast< int >(val3);
22997 {
22998 PyThreadState* __tstate = wxPyBeginAllowThreads();
22999 (arg1)->DoSetVirtualSize(arg2,arg3);
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
23003 resultobj = SWIG_Py_Void();
23004 return resultobj;
23005 fail:
23006 return NULL;
23007 }
23008
23009
23010 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23011 PyObject *resultobj = 0;
23012 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23013 int *arg2 = (int *) 0 ;
23014 int *arg3 = (int *) 0 ;
23015 void *argp1 = 0 ;
23016 int res1 = 0 ;
23017 int temp2 ;
23018 int res2 = SWIG_TMPOBJ ;
23019 int temp3 ;
23020 int res3 = SWIG_TMPOBJ ;
23021 PyObject *swig_obj[1] ;
23022
23023 arg2 = &temp2;
23024 arg3 = &temp3;
23025 if (!args) SWIG_fail;
23026 swig_obj[0] = args;
23027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23028 if (!SWIG_IsOK(res1)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23030 }
23031 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23032 {
23033 PyThreadState* __tstate = wxPyBeginAllowThreads();
23034 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
23035 wxPyEndAllowThreads(__tstate);
23036 if (PyErr_Occurred()) SWIG_fail;
23037 }
23038 resultobj = SWIG_Py_Void();
23039 if (SWIG_IsTmpObj(res2)) {
23040 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23041 } else {
23042 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23043 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23044 }
23045 if (SWIG_IsTmpObj(res3)) {
23046 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23047 } else {
23048 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23049 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23050 }
23051 return resultobj;
23052 fail:
23053 return NULL;
23054 }
23055
23056
23057 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23058 PyObject *resultobj = 0;
23059 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23060 int *arg2 = (int *) 0 ;
23061 int *arg3 = (int *) 0 ;
23062 void *argp1 = 0 ;
23063 int res1 = 0 ;
23064 int temp2 ;
23065 int res2 = SWIG_TMPOBJ ;
23066 int temp3 ;
23067 int res3 = SWIG_TMPOBJ ;
23068 PyObject *swig_obj[1] ;
23069
23070 arg2 = &temp2;
23071 arg3 = &temp3;
23072 if (!args) SWIG_fail;
23073 swig_obj[0] = args;
23074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23075 if (!SWIG_IsOK(res1)) {
23076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23077 }
23078 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23079 {
23080 PyThreadState* __tstate = wxPyBeginAllowThreads();
23081 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
23082 wxPyEndAllowThreads(__tstate);
23083 if (PyErr_Occurred()) SWIG_fail;
23084 }
23085 resultobj = SWIG_Py_Void();
23086 if (SWIG_IsTmpObj(res2)) {
23087 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23088 } else {
23089 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23090 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23091 }
23092 if (SWIG_IsTmpObj(res3)) {
23093 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23094 } else {
23095 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23096 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23097 }
23098 return resultobj;
23099 fail:
23100 return NULL;
23101 }
23102
23103
23104 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23105 PyObject *resultobj = 0;
23106 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23107 int *arg2 = (int *) 0 ;
23108 int *arg3 = (int *) 0 ;
23109 void *argp1 = 0 ;
23110 int res1 = 0 ;
23111 int temp2 ;
23112 int res2 = SWIG_TMPOBJ ;
23113 int temp3 ;
23114 int res3 = SWIG_TMPOBJ ;
23115 PyObject *swig_obj[1] ;
23116
23117 arg2 = &temp2;
23118 arg3 = &temp3;
23119 if (!args) SWIG_fail;
23120 swig_obj[0] = args;
23121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23122 if (!SWIG_IsOK(res1)) {
23123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23124 }
23125 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23126 {
23127 PyThreadState* __tstate = wxPyBeginAllowThreads();
23128 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
23132 resultobj = SWIG_Py_Void();
23133 if (SWIG_IsTmpObj(res2)) {
23134 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23135 } else {
23136 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23137 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23138 }
23139 if (SWIG_IsTmpObj(res3)) {
23140 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23141 } else {
23142 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23143 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23144 }
23145 return resultobj;
23146 fail:
23147 return NULL;
23148 }
23149
23150
23151 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23152 PyObject *resultobj = 0;
23153 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23154 wxSize result;
23155 void *argp1 = 0 ;
23156 int res1 = 0 ;
23157 PyObject *swig_obj[1] ;
23158
23159 if (!args) SWIG_fail;
23160 swig_obj[0] = args;
23161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23162 if (!SWIG_IsOK(res1)) {
23163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23164 }
23165 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23166 {
23167 PyThreadState* __tstate = wxPyBeginAllowThreads();
23168 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
23169 wxPyEndAllowThreads(__tstate);
23170 if (PyErr_Occurred()) SWIG_fail;
23171 }
23172 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23173 return resultobj;
23174 fail:
23175 return NULL;
23176 }
23177
23178
23179 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23180 PyObject *resultobj = 0;
23181 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23182 wxSize result;
23183 void *argp1 = 0 ;
23184 int res1 = 0 ;
23185 PyObject *swig_obj[1] ;
23186
23187 if (!args) SWIG_fail;
23188 swig_obj[0] = args;
23189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23190 if (!SWIG_IsOK(res1)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23192 }
23193 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23194 {
23195 PyThreadState* __tstate = wxPyBeginAllowThreads();
23196 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
23197 wxPyEndAllowThreads(__tstate);
23198 if (PyErr_Occurred()) SWIG_fail;
23199 }
23200 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23201 return resultobj;
23202 fail:
23203 return NULL;
23204 }
23205
23206
23207 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23208 PyObject *resultobj = 0;
23209 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23210 SwigValueWrapper<wxVisualAttributes > result;
23211 void *argp1 = 0 ;
23212 int res1 = 0 ;
23213 PyObject *swig_obj[1] ;
23214
23215 if (!args) SWIG_fail;
23216 swig_obj[0] = args;
23217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23218 if (!SWIG_IsOK(res1)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23220 }
23221 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23222 {
23223 PyThreadState* __tstate = wxPyBeginAllowThreads();
23224 result = (arg1)->GetDefaultAttributes();
23225 wxPyEndAllowThreads(__tstate);
23226 if (PyErr_Occurred()) SWIG_fail;
23227 }
23228 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23229 return resultobj;
23230 fail:
23231 return NULL;
23232 }
23233
23234
23235 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23236 PyObject *resultobj = 0;
23237 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23238 void *argp1 = 0 ;
23239 int res1 = 0 ;
23240 PyObject *swig_obj[1] ;
23241
23242 if (!args) SWIG_fail;
23243 swig_obj[0] = args;
23244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23245 if (!SWIG_IsOK(res1)) {
23246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23247 }
23248 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23249 {
23250 PyThreadState* __tstate = wxPyBeginAllowThreads();
23251 (arg1)->OnInternalIdle();
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 *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23263 PyObject *obj;
23264 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23265 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
23266 return SWIG_Py_Void();
23267 }
23268
23269 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23270 return SWIG_Python_InitShadowInstance(args);
23271 }
23272
23273 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23274 PyObject *resultobj = 0;
23275 wxWindow *arg1 = (wxWindow *) 0 ;
23276 int arg2 = (int) (int)-1 ;
23277 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23278 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23279 wxSize const &arg4_defvalue = wxDefaultSize ;
23280 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23281 long arg5 = (long) 0 ;
23282 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23283 wxString *arg6 = (wxString *) &arg6_defvalue ;
23284 wxPyScrolledWindow *result = 0 ;
23285 void *argp1 = 0 ;
23286 int res1 = 0 ;
23287 int val2 ;
23288 int ecode2 = 0 ;
23289 wxPoint temp3 ;
23290 wxSize temp4 ;
23291 long val5 ;
23292 int ecode5 = 0 ;
23293 bool temp6 = false ;
23294 PyObject * obj0 = 0 ;
23295 PyObject * obj1 = 0 ;
23296 PyObject * obj2 = 0 ;
23297 PyObject * obj3 = 0 ;
23298 PyObject * obj4 = 0 ;
23299 PyObject * obj5 = 0 ;
23300 char * kwnames[] = {
23301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23302 };
23303
23304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23306 if (!SWIG_IsOK(res1)) {
23307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23308 }
23309 arg1 = reinterpret_cast< wxWindow * >(argp1);
23310 if (obj1) {
23311 ecode2 = SWIG_AsVal_int(obj1, &val2);
23312 if (!SWIG_IsOK(ecode2)) {
23313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23314 }
23315 arg2 = static_cast< int >(val2);
23316 }
23317 if (obj2) {
23318 {
23319 arg3 = &temp3;
23320 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23321 }
23322 }
23323 if (obj3) {
23324 {
23325 arg4 = &temp4;
23326 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23327 }
23328 }
23329 if (obj4) {
23330 ecode5 = SWIG_AsVal_long(obj4, &val5);
23331 if (!SWIG_IsOK(ecode5)) {
23332 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23333 }
23334 arg5 = static_cast< long >(val5);
23335 }
23336 if (obj5) {
23337 {
23338 arg6 = wxString_in_helper(obj5);
23339 if (arg6 == NULL) SWIG_fail;
23340 temp6 = true;
23341 }
23342 }
23343 {
23344 if (!wxPyCheckForApp()) SWIG_fail;
23345 PyThreadState* __tstate = wxPyBeginAllowThreads();
23346 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23347 wxPyEndAllowThreads(__tstate);
23348 if (PyErr_Occurred()) SWIG_fail;
23349 }
23350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23351 {
23352 if (temp6)
23353 delete arg6;
23354 }
23355 return resultobj;
23356 fail:
23357 {
23358 if (temp6)
23359 delete arg6;
23360 }
23361 return NULL;
23362 }
23363
23364
23365 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23366 PyObject *resultobj = 0;
23367 wxPyScrolledWindow *result = 0 ;
23368
23369 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23370 {
23371 if (!wxPyCheckForApp()) SWIG_fail;
23372 PyThreadState* __tstate = wxPyBeginAllowThreads();
23373 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23374 wxPyEndAllowThreads(__tstate);
23375 if (PyErr_Occurred()) SWIG_fail;
23376 }
23377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23378 return resultobj;
23379 fail:
23380 return NULL;
23381 }
23382
23383
23384 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23385 PyObject *resultobj = 0;
23386 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23387 PyObject *arg2 = (PyObject *) 0 ;
23388 PyObject *arg3 = (PyObject *) 0 ;
23389 void *argp1 = 0 ;
23390 int res1 = 0 ;
23391 PyObject * obj0 = 0 ;
23392 PyObject * obj1 = 0 ;
23393 PyObject * obj2 = 0 ;
23394 char * kwnames[] = {
23395 (char *) "self",(char *) "self",(char *) "_class", NULL
23396 };
23397
23398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23400 if (!SWIG_IsOK(res1)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23402 }
23403 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23404 arg2 = obj1;
23405 arg3 = obj2;
23406 {
23407 PyThreadState* __tstate = wxPyBeginAllowThreads();
23408 (arg1)->_setCallbackInfo(arg2,arg3);
23409 wxPyEndAllowThreads(__tstate);
23410 if (PyErr_Occurred()) SWIG_fail;
23411 }
23412 resultobj = SWIG_Py_Void();
23413 return resultobj;
23414 fail:
23415 return NULL;
23416 }
23417
23418
23419 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23420 PyObject *resultobj = 0;
23421 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23422 wxDC *arg2 = (wxDC *) 0 ;
23423 bool result;
23424 void *argp1 = 0 ;
23425 int res1 = 0 ;
23426 void *argp2 = 0 ;
23427 int res2 = 0 ;
23428 PyObject * obj0 = 0 ;
23429 PyObject * obj1 = 0 ;
23430 char * kwnames[] = {
23431 (char *) "self",(char *) "dc", NULL
23432 };
23433
23434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23436 if (!SWIG_IsOK(res1)) {
23437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23438 }
23439 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23440 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23441 if (!SWIG_IsOK(res2)) {
23442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23443 }
23444 arg2 = reinterpret_cast< wxDC * >(argp2);
23445 {
23446 PyThreadState* __tstate = wxPyBeginAllowThreads();
23447 result = (bool)(arg1)->DoEraseBackground(arg2);
23448 wxPyEndAllowThreads(__tstate);
23449 if (PyErr_Occurred()) SWIG_fail;
23450 }
23451 {
23452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23453 }
23454 return resultobj;
23455 fail:
23456 return NULL;
23457 }
23458
23459
23460 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23461 PyObject *resultobj = 0;
23462 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23463 int arg2 ;
23464 int arg3 ;
23465 int arg4 ;
23466 int arg5 ;
23467 void *argp1 = 0 ;
23468 int res1 = 0 ;
23469 int val2 ;
23470 int ecode2 = 0 ;
23471 int val3 ;
23472 int ecode3 = 0 ;
23473 int val4 ;
23474 int ecode4 = 0 ;
23475 int val5 ;
23476 int ecode5 = 0 ;
23477 PyObject * obj0 = 0 ;
23478 PyObject * obj1 = 0 ;
23479 PyObject * obj2 = 0 ;
23480 PyObject * obj3 = 0 ;
23481 PyObject * obj4 = 0 ;
23482 char * kwnames[] = {
23483 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23484 };
23485
23486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23488 if (!SWIG_IsOK(res1)) {
23489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23490 }
23491 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23492 ecode2 = SWIG_AsVal_int(obj1, &val2);
23493 if (!SWIG_IsOK(ecode2)) {
23494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23495 }
23496 arg2 = static_cast< int >(val2);
23497 ecode3 = SWIG_AsVal_int(obj2, &val3);
23498 if (!SWIG_IsOK(ecode3)) {
23499 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23500 }
23501 arg3 = static_cast< int >(val3);
23502 ecode4 = SWIG_AsVal_int(obj3, &val4);
23503 if (!SWIG_IsOK(ecode4)) {
23504 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23505 }
23506 arg4 = static_cast< int >(val4);
23507 ecode5 = SWIG_AsVal_int(obj4, &val5);
23508 if (!SWIG_IsOK(ecode5)) {
23509 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23510 }
23511 arg5 = static_cast< int >(val5);
23512 {
23513 PyThreadState* __tstate = wxPyBeginAllowThreads();
23514 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 resultobj = SWIG_Py_Void();
23519 return resultobj;
23520 fail:
23521 return NULL;
23522 }
23523
23524
23525 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23526 PyObject *resultobj = 0;
23527 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23528 int arg2 ;
23529 int arg3 ;
23530 int arg4 ;
23531 int arg5 ;
23532 int arg6 = (int) wxSIZE_AUTO ;
23533 void *argp1 = 0 ;
23534 int res1 = 0 ;
23535 int val2 ;
23536 int ecode2 = 0 ;
23537 int val3 ;
23538 int ecode3 = 0 ;
23539 int val4 ;
23540 int ecode4 = 0 ;
23541 int val5 ;
23542 int ecode5 = 0 ;
23543 int val6 ;
23544 int ecode6 = 0 ;
23545 PyObject * obj0 = 0 ;
23546 PyObject * obj1 = 0 ;
23547 PyObject * obj2 = 0 ;
23548 PyObject * obj3 = 0 ;
23549 PyObject * obj4 = 0 ;
23550 PyObject * obj5 = 0 ;
23551 char * kwnames[] = {
23552 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23553 };
23554
23555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23557 if (!SWIG_IsOK(res1)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23559 }
23560 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23561 ecode2 = SWIG_AsVal_int(obj1, &val2);
23562 if (!SWIG_IsOK(ecode2)) {
23563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23564 }
23565 arg2 = static_cast< int >(val2);
23566 ecode3 = SWIG_AsVal_int(obj2, &val3);
23567 if (!SWIG_IsOK(ecode3)) {
23568 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23569 }
23570 arg3 = static_cast< int >(val3);
23571 ecode4 = SWIG_AsVal_int(obj3, &val4);
23572 if (!SWIG_IsOK(ecode4)) {
23573 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23574 }
23575 arg4 = static_cast< int >(val4);
23576 ecode5 = SWIG_AsVal_int(obj4, &val5);
23577 if (!SWIG_IsOK(ecode5)) {
23578 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23579 }
23580 arg5 = static_cast< int >(val5);
23581 if (obj5) {
23582 ecode6 = SWIG_AsVal_int(obj5, &val6);
23583 if (!SWIG_IsOK(ecode6)) {
23584 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23585 }
23586 arg6 = static_cast< int >(val6);
23587 }
23588 {
23589 PyThreadState* __tstate = wxPyBeginAllowThreads();
23590 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 resultobj = SWIG_Py_Void();
23595 return resultobj;
23596 fail:
23597 return NULL;
23598 }
23599
23600
23601 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23602 PyObject *resultobj = 0;
23603 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23604 int arg2 ;
23605 int arg3 ;
23606 void *argp1 = 0 ;
23607 int res1 = 0 ;
23608 int val2 ;
23609 int ecode2 = 0 ;
23610 int val3 ;
23611 int ecode3 = 0 ;
23612 PyObject * obj0 = 0 ;
23613 PyObject * obj1 = 0 ;
23614 PyObject * obj2 = 0 ;
23615 char * kwnames[] = {
23616 (char *) "self",(char *) "width",(char *) "height", NULL
23617 };
23618
23619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23621 if (!SWIG_IsOK(res1)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23623 }
23624 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23625 ecode2 = SWIG_AsVal_int(obj1, &val2);
23626 if (!SWIG_IsOK(ecode2)) {
23627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23628 }
23629 arg2 = static_cast< int >(val2);
23630 ecode3 = SWIG_AsVal_int(obj2, &val3);
23631 if (!SWIG_IsOK(ecode3)) {
23632 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23633 }
23634 arg3 = static_cast< int >(val3);
23635 {
23636 PyThreadState* __tstate = wxPyBeginAllowThreads();
23637 (arg1)->DoSetClientSize(arg2,arg3);
23638 wxPyEndAllowThreads(__tstate);
23639 if (PyErr_Occurred()) SWIG_fail;
23640 }
23641 resultobj = SWIG_Py_Void();
23642 return resultobj;
23643 fail:
23644 return NULL;
23645 }
23646
23647
23648 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23649 PyObject *resultobj = 0;
23650 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23651 int arg2 ;
23652 int arg3 ;
23653 void *argp1 = 0 ;
23654 int res1 = 0 ;
23655 int val2 ;
23656 int ecode2 = 0 ;
23657 int val3 ;
23658 int ecode3 = 0 ;
23659 PyObject * obj0 = 0 ;
23660 PyObject * obj1 = 0 ;
23661 PyObject * obj2 = 0 ;
23662 char * kwnames[] = {
23663 (char *) "self",(char *) "x",(char *) "y", NULL
23664 };
23665
23666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23668 if (!SWIG_IsOK(res1)) {
23669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23670 }
23671 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23672 ecode2 = SWIG_AsVal_int(obj1, &val2);
23673 if (!SWIG_IsOK(ecode2)) {
23674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23675 }
23676 arg2 = static_cast< int >(val2);
23677 ecode3 = SWIG_AsVal_int(obj2, &val3);
23678 if (!SWIG_IsOK(ecode3)) {
23679 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23680 }
23681 arg3 = static_cast< int >(val3);
23682 {
23683 PyThreadState* __tstate = wxPyBeginAllowThreads();
23684 (arg1)->DoSetVirtualSize(arg2,arg3);
23685 wxPyEndAllowThreads(__tstate);
23686 if (PyErr_Occurred()) SWIG_fail;
23687 }
23688 resultobj = SWIG_Py_Void();
23689 return resultobj;
23690 fail:
23691 return NULL;
23692 }
23693
23694
23695 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23696 PyObject *resultobj = 0;
23697 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23698 int *arg2 = (int *) 0 ;
23699 int *arg3 = (int *) 0 ;
23700 void *argp1 = 0 ;
23701 int res1 = 0 ;
23702 int temp2 ;
23703 int res2 = SWIG_TMPOBJ ;
23704 int temp3 ;
23705 int res3 = SWIG_TMPOBJ ;
23706 PyObject *swig_obj[1] ;
23707
23708 arg2 = &temp2;
23709 arg3 = &temp3;
23710 if (!args) SWIG_fail;
23711 swig_obj[0] = args;
23712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23713 if (!SWIG_IsOK(res1)) {
23714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23715 }
23716 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23717 {
23718 PyThreadState* __tstate = wxPyBeginAllowThreads();
23719 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23720 wxPyEndAllowThreads(__tstate);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
23723 resultobj = SWIG_Py_Void();
23724 if (SWIG_IsTmpObj(res2)) {
23725 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23726 } else {
23727 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23728 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23729 }
23730 if (SWIG_IsTmpObj(res3)) {
23731 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23732 } else {
23733 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23734 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23735 }
23736 return resultobj;
23737 fail:
23738 return NULL;
23739 }
23740
23741
23742 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23743 PyObject *resultobj = 0;
23744 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23745 int *arg2 = (int *) 0 ;
23746 int *arg3 = (int *) 0 ;
23747 void *argp1 = 0 ;
23748 int res1 = 0 ;
23749 int temp2 ;
23750 int res2 = SWIG_TMPOBJ ;
23751 int temp3 ;
23752 int res3 = SWIG_TMPOBJ ;
23753 PyObject *swig_obj[1] ;
23754
23755 arg2 = &temp2;
23756 arg3 = &temp3;
23757 if (!args) SWIG_fail;
23758 swig_obj[0] = args;
23759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23760 if (!SWIG_IsOK(res1)) {
23761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23762 }
23763 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23764 {
23765 PyThreadState* __tstate = wxPyBeginAllowThreads();
23766 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23767 wxPyEndAllowThreads(__tstate);
23768 if (PyErr_Occurred()) SWIG_fail;
23769 }
23770 resultobj = SWIG_Py_Void();
23771 if (SWIG_IsTmpObj(res2)) {
23772 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23773 } else {
23774 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23775 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23776 }
23777 if (SWIG_IsTmpObj(res3)) {
23778 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23779 } else {
23780 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23781 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23782 }
23783 return resultobj;
23784 fail:
23785 return NULL;
23786 }
23787
23788
23789 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23790 PyObject *resultobj = 0;
23791 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23792 int *arg2 = (int *) 0 ;
23793 int *arg3 = (int *) 0 ;
23794 void *argp1 = 0 ;
23795 int res1 = 0 ;
23796 int temp2 ;
23797 int res2 = SWIG_TMPOBJ ;
23798 int temp3 ;
23799 int res3 = SWIG_TMPOBJ ;
23800 PyObject *swig_obj[1] ;
23801
23802 arg2 = &temp2;
23803 arg3 = &temp3;
23804 if (!args) SWIG_fail;
23805 swig_obj[0] = args;
23806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23807 if (!SWIG_IsOK(res1)) {
23808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23809 }
23810 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23811 {
23812 PyThreadState* __tstate = wxPyBeginAllowThreads();
23813 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23814 wxPyEndAllowThreads(__tstate);
23815 if (PyErr_Occurred()) SWIG_fail;
23816 }
23817 resultobj = SWIG_Py_Void();
23818 if (SWIG_IsTmpObj(res2)) {
23819 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23820 } else {
23821 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23822 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23823 }
23824 if (SWIG_IsTmpObj(res3)) {
23825 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23826 } else {
23827 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23828 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23829 }
23830 return resultobj;
23831 fail:
23832 return NULL;
23833 }
23834
23835
23836 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23837 PyObject *resultobj = 0;
23838 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23839 wxSize result;
23840 void *argp1 = 0 ;
23841 int res1 = 0 ;
23842 PyObject *swig_obj[1] ;
23843
23844 if (!args) SWIG_fail;
23845 swig_obj[0] = args;
23846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23847 if (!SWIG_IsOK(res1)) {
23848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23849 }
23850 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23851 {
23852 PyThreadState* __tstate = wxPyBeginAllowThreads();
23853 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23854 wxPyEndAllowThreads(__tstate);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 }
23857 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23858 return resultobj;
23859 fail:
23860 return NULL;
23861 }
23862
23863
23864 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23865 PyObject *resultobj = 0;
23866 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23867 wxSize result;
23868 void *argp1 = 0 ;
23869 int res1 = 0 ;
23870 PyObject *swig_obj[1] ;
23871
23872 if (!args) SWIG_fail;
23873 swig_obj[0] = args;
23874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23875 if (!SWIG_IsOK(res1)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23877 }
23878 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23879 {
23880 PyThreadState* __tstate = wxPyBeginAllowThreads();
23881 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23882 wxPyEndAllowThreads(__tstate);
23883 if (PyErr_Occurred()) SWIG_fail;
23884 }
23885 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23886 return resultobj;
23887 fail:
23888 return NULL;
23889 }
23890
23891
23892 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23893 PyObject *resultobj = 0;
23894 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23895 SwigValueWrapper<wxVisualAttributes > result;
23896 void *argp1 = 0 ;
23897 int res1 = 0 ;
23898 PyObject *swig_obj[1] ;
23899
23900 if (!args) SWIG_fail;
23901 swig_obj[0] = args;
23902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23903 if (!SWIG_IsOK(res1)) {
23904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23905 }
23906 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 result = (arg1)->GetDefaultAttributes();
23910 wxPyEndAllowThreads(__tstate);
23911 if (PyErr_Occurred()) SWIG_fail;
23912 }
23913 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23914 return resultobj;
23915 fail:
23916 return NULL;
23917 }
23918
23919
23920 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23921 PyObject *resultobj = 0;
23922 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23923 void *argp1 = 0 ;
23924 int res1 = 0 ;
23925 PyObject *swig_obj[1] ;
23926
23927 if (!args) SWIG_fail;
23928 swig_obj[0] = args;
23929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23930 if (!SWIG_IsOK(res1)) {
23931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23932 }
23933 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23934 {
23935 PyThreadState* __tstate = wxPyBeginAllowThreads();
23936 (arg1)->OnInternalIdle();
23937 wxPyEndAllowThreads(__tstate);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 }
23940 resultobj = SWIG_Py_Void();
23941 return resultobj;
23942 fail:
23943 return NULL;
23944 }
23945
23946
23947 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23948 PyObject *obj;
23949 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23950 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23951 return SWIG_Py_Void();
23952 }
23953
23954 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23955 return SWIG_Python_InitShadowInstance(args);
23956 }
23957
23958 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23959 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23960 return 1;
23961 }
23962
23963
23964 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23965 PyObject *pyobj = 0;
23966
23967 {
23968 #if wxUSE_UNICODE
23969 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23970 #else
23971 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23972 #endif
23973 }
23974 return pyobj;
23975 }
23976
23977
23978 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23979 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23980 return 1;
23981 }
23982
23983
23984 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23985 PyObject *pyobj = 0;
23986
23987 {
23988 #if wxUSE_UNICODE
23989 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23990 #else
23991 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23992 #endif
23993 }
23994 return pyobj;
23995 }
23996
23997
23998 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23999 PyObject *resultobj = 0;
24000 wxPrintData *result = 0 ;
24001
24002 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24003 {
24004 PyThreadState* __tstate = wxPyBeginAllowThreads();
24005 result = (wxPrintData *)new wxPrintData();
24006 wxPyEndAllowThreads(__tstate);
24007 if (PyErr_Occurred()) SWIG_fail;
24008 }
24009 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
24010 return resultobj;
24011 fail:
24012 return NULL;
24013 }
24014
24015
24016 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24017 PyObject *resultobj = 0;
24018 wxPrintData *arg1 = 0 ;
24019 wxPrintData *result = 0 ;
24020 void *argp1 = 0 ;
24021 int res1 = 0 ;
24022
24023 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24025 if (!SWIG_IsOK(res1)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24027 }
24028 if (!argp1) {
24029 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24030 }
24031 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
24039 return resultobj;
24040 fail:
24041 return NULL;
24042 }
24043
24044
24045 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
24046 int argc;
24047 PyObject *argv[2];
24048
24049 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
24050 --argc;
24051 if (argc == 0) {
24052 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
24053 }
24054 if (argc == 1) {
24055 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
24056 }
24057
24058 fail:
24059 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
24060 return NULL;
24061 }
24062
24063
24064 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24065 PyObject *resultobj = 0;
24066 wxPrintData *arg1 = (wxPrintData *) 0 ;
24067 void *argp1 = 0 ;
24068 int res1 = 0 ;
24069 PyObject *swig_obj[1] ;
24070
24071 if (!args) SWIG_fail;
24072 swig_obj[0] = args;
24073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
24074 if (!SWIG_IsOK(res1)) {
24075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24076 }
24077 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24078 {
24079 PyThreadState* __tstate = wxPyBeginAllowThreads();
24080 delete arg1;
24081
24082 wxPyEndAllowThreads(__tstate);
24083 if (PyErr_Occurred()) SWIG_fail;
24084 }
24085 resultobj = SWIG_Py_Void();
24086 return resultobj;
24087 fail:
24088 return NULL;
24089 }
24090
24091
24092 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24093 PyObject *resultobj = 0;
24094 wxPrintData *arg1 = (wxPrintData *) 0 ;
24095 int result;
24096 void *argp1 = 0 ;
24097 int res1 = 0 ;
24098 PyObject *swig_obj[1] ;
24099
24100 if (!args) SWIG_fail;
24101 swig_obj[0] = args;
24102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24103 if (!SWIG_IsOK(res1)) {
24104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24105 }
24106 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24107 {
24108 PyThreadState* __tstate = wxPyBeginAllowThreads();
24109 result = (int)(arg1)->GetNoCopies();
24110 wxPyEndAllowThreads(__tstate);
24111 if (PyErr_Occurred()) SWIG_fail;
24112 }
24113 resultobj = SWIG_From_int(static_cast< int >(result));
24114 return resultobj;
24115 fail:
24116 return NULL;
24117 }
24118
24119
24120 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24121 PyObject *resultobj = 0;
24122 wxPrintData *arg1 = (wxPrintData *) 0 ;
24123 bool result;
24124 void *argp1 = 0 ;
24125 int res1 = 0 ;
24126 PyObject *swig_obj[1] ;
24127
24128 if (!args) SWIG_fail;
24129 swig_obj[0] = args;
24130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24131 if (!SWIG_IsOK(res1)) {
24132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24133 }
24134 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24135 {
24136 PyThreadState* __tstate = wxPyBeginAllowThreads();
24137 result = (bool)(arg1)->GetCollate();
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
24141 {
24142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24143 }
24144 return resultobj;
24145 fail:
24146 return NULL;
24147 }
24148
24149
24150 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24151 PyObject *resultobj = 0;
24152 wxPrintData *arg1 = (wxPrintData *) 0 ;
24153 int result;
24154 void *argp1 = 0 ;
24155 int res1 = 0 ;
24156 PyObject *swig_obj[1] ;
24157
24158 if (!args) SWIG_fail;
24159 swig_obj[0] = args;
24160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24161 if (!SWIG_IsOK(res1)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24163 }
24164 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24165 {
24166 PyThreadState* __tstate = wxPyBeginAllowThreads();
24167 result = (int)(arg1)->GetOrientation();
24168 wxPyEndAllowThreads(__tstate);
24169 if (PyErr_Occurred()) SWIG_fail;
24170 }
24171 resultobj = SWIG_From_int(static_cast< int >(result));
24172 return resultobj;
24173 fail:
24174 return NULL;
24175 }
24176
24177
24178 SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24179 PyObject *resultobj = 0;
24180 wxPrintData *arg1 = (wxPrintData *) 0 ;
24181 bool result;
24182 void *argp1 = 0 ;
24183 int res1 = 0 ;
24184 PyObject *swig_obj[1] ;
24185
24186 if (!args) SWIG_fail;
24187 swig_obj[0] = args;
24188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24189 if (!SWIG_IsOK(res1)) {
24190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24191 }
24192 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24193 {
24194 PyThreadState* __tstate = wxPyBeginAllowThreads();
24195 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
24196 wxPyEndAllowThreads(__tstate);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 }
24199 {
24200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24201 }
24202 return resultobj;
24203 fail:
24204 return NULL;
24205 }
24206
24207
24208 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24209 PyObject *resultobj = 0;
24210 wxPrintData *arg1 = (wxPrintData *) 0 ;
24211 bool result;
24212 void *argp1 = 0 ;
24213 int res1 = 0 ;
24214 PyObject *swig_obj[1] ;
24215
24216 if (!args) SWIG_fail;
24217 swig_obj[0] = args;
24218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24219 if (!SWIG_IsOK(res1)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24221 }
24222 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24223 {
24224 PyThreadState* __tstate = wxPyBeginAllowThreads();
24225 result = (bool)(arg1)->IsOk();
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 {
24230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24231 }
24232 return resultobj;
24233 fail:
24234 return NULL;
24235 }
24236
24237
24238 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24239 PyObject *resultobj = 0;
24240 wxPrintData *arg1 = (wxPrintData *) 0 ;
24241 wxString *result = 0 ;
24242 void *argp1 = 0 ;
24243 int res1 = 0 ;
24244 PyObject *swig_obj[1] ;
24245
24246 if (!args) SWIG_fail;
24247 swig_obj[0] = args;
24248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24249 if (!SWIG_IsOK(res1)) {
24250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24251 }
24252 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24253 {
24254 PyThreadState* __tstate = wxPyBeginAllowThreads();
24255 {
24256 wxString const &_result_ref = (arg1)->GetPrinterName();
24257 result = (wxString *) &_result_ref;
24258 }
24259 wxPyEndAllowThreads(__tstate);
24260 if (PyErr_Occurred()) SWIG_fail;
24261 }
24262 {
24263 #if wxUSE_UNICODE
24264 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24265 #else
24266 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24267 #endif
24268 }
24269 return resultobj;
24270 fail:
24271 return NULL;
24272 }
24273
24274
24275 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24276 PyObject *resultobj = 0;
24277 wxPrintData *arg1 = (wxPrintData *) 0 ;
24278 bool result;
24279 void *argp1 = 0 ;
24280 int res1 = 0 ;
24281 PyObject *swig_obj[1] ;
24282
24283 if (!args) SWIG_fail;
24284 swig_obj[0] = args;
24285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24286 if (!SWIG_IsOK(res1)) {
24287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24288 }
24289 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24290 {
24291 PyThreadState* __tstate = wxPyBeginAllowThreads();
24292 result = (bool)(arg1)->GetColour();
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 {
24297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24298 }
24299 return resultobj;
24300 fail:
24301 return NULL;
24302 }
24303
24304
24305 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24306 PyObject *resultobj = 0;
24307 wxPrintData *arg1 = (wxPrintData *) 0 ;
24308 wxDuplexMode result;
24309 void *argp1 = 0 ;
24310 int res1 = 0 ;
24311 PyObject *swig_obj[1] ;
24312
24313 if (!args) SWIG_fail;
24314 swig_obj[0] = args;
24315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24316 if (!SWIG_IsOK(res1)) {
24317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24318 }
24319 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24320 {
24321 PyThreadState* __tstate = wxPyBeginAllowThreads();
24322 result = (wxDuplexMode)(arg1)->GetDuplex();
24323 wxPyEndAllowThreads(__tstate);
24324 if (PyErr_Occurred()) SWIG_fail;
24325 }
24326 resultobj = SWIG_From_int(static_cast< int >(result));
24327 return resultobj;
24328 fail:
24329 return NULL;
24330 }
24331
24332
24333 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24334 PyObject *resultobj = 0;
24335 wxPrintData *arg1 = (wxPrintData *) 0 ;
24336 wxPaperSize result;
24337 void *argp1 = 0 ;
24338 int res1 = 0 ;
24339 PyObject *swig_obj[1] ;
24340
24341 if (!args) SWIG_fail;
24342 swig_obj[0] = args;
24343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24344 if (!SWIG_IsOK(res1)) {
24345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24346 }
24347 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 result = (wxPaperSize)(arg1)->GetPaperId();
24351 wxPyEndAllowThreads(__tstate);
24352 if (PyErr_Occurred()) SWIG_fail;
24353 }
24354 resultobj = SWIG_From_int(static_cast< int >(result));
24355 return resultobj;
24356 fail:
24357 return NULL;
24358 }
24359
24360
24361 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24362 PyObject *resultobj = 0;
24363 wxPrintData *arg1 = (wxPrintData *) 0 ;
24364 wxSize *result = 0 ;
24365 void *argp1 = 0 ;
24366 int res1 = 0 ;
24367 PyObject *swig_obj[1] ;
24368
24369 if (!args) SWIG_fail;
24370 swig_obj[0] = args;
24371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24372 if (!SWIG_IsOK(res1)) {
24373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24374 }
24375 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24376 {
24377 PyThreadState* __tstate = wxPyBeginAllowThreads();
24378 {
24379 wxSize const &_result_ref = (arg1)->GetPaperSize();
24380 result = (wxSize *) &_result_ref;
24381 }
24382 wxPyEndAllowThreads(__tstate);
24383 if (PyErr_Occurred()) SWIG_fail;
24384 }
24385 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24386 return resultobj;
24387 fail:
24388 return NULL;
24389 }
24390
24391
24392 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24393 PyObject *resultobj = 0;
24394 wxPrintData *arg1 = (wxPrintData *) 0 ;
24395 int result;
24396 void *argp1 = 0 ;
24397 int res1 = 0 ;
24398 PyObject *swig_obj[1] ;
24399
24400 if (!args) SWIG_fail;
24401 swig_obj[0] = args;
24402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24403 if (!SWIG_IsOK(res1)) {
24404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24405 }
24406 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24407 {
24408 PyThreadState* __tstate = wxPyBeginAllowThreads();
24409 result = (int)(arg1)->GetQuality();
24410 wxPyEndAllowThreads(__tstate);
24411 if (PyErr_Occurred()) SWIG_fail;
24412 }
24413 resultobj = SWIG_From_int(static_cast< int >(result));
24414 return resultobj;
24415 fail:
24416 return NULL;
24417 }
24418
24419
24420 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24421 PyObject *resultobj = 0;
24422 wxPrintData *arg1 = (wxPrintData *) 0 ;
24423 wxPrintBin result;
24424 void *argp1 = 0 ;
24425 int res1 = 0 ;
24426 PyObject *swig_obj[1] ;
24427
24428 if (!args) SWIG_fail;
24429 swig_obj[0] = args;
24430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24431 if (!SWIG_IsOK(res1)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24433 }
24434 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24435 {
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 result = (wxPrintBin)(arg1)->GetBin();
24438 wxPyEndAllowThreads(__tstate);
24439 if (PyErr_Occurred()) SWIG_fail;
24440 }
24441 resultobj = SWIG_From_int(static_cast< int >(result));
24442 return resultobj;
24443 fail:
24444 return NULL;
24445 }
24446
24447
24448 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24449 PyObject *resultobj = 0;
24450 wxPrintData *arg1 = (wxPrintData *) 0 ;
24451 wxPrintMode result;
24452 void *argp1 = 0 ;
24453 int res1 = 0 ;
24454 PyObject *swig_obj[1] ;
24455
24456 if (!args) SWIG_fail;
24457 swig_obj[0] = args;
24458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24459 if (!SWIG_IsOK(res1)) {
24460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24461 }
24462 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24463 {
24464 PyThreadState* __tstate = wxPyBeginAllowThreads();
24465 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24466 wxPyEndAllowThreads(__tstate);
24467 if (PyErr_Occurred()) SWIG_fail;
24468 }
24469 resultobj = SWIG_From_int(static_cast< int >(result));
24470 return resultobj;
24471 fail:
24472 return NULL;
24473 }
24474
24475
24476 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24477 PyObject *resultobj = 0;
24478 wxPrintData *arg1 = (wxPrintData *) 0 ;
24479 int result;
24480 void *argp1 = 0 ;
24481 int res1 = 0 ;
24482 PyObject *swig_obj[1] ;
24483
24484 if (!args) SWIG_fail;
24485 swig_obj[0] = args;
24486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24487 if (!SWIG_IsOK(res1)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24489 }
24490 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24491 {
24492 PyThreadState* __tstate = wxPyBeginAllowThreads();
24493 result = (int)((wxPrintData const *)arg1)->GetMedia();
24494 wxPyEndAllowThreads(__tstate);
24495 if (PyErr_Occurred()) SWIG_fail;
24496 }
24497 resultobj = SWIG_From_int(static_cast< int >(result));
24498 return resultobj;
24499 fail:
24500 return NULL;
24501 }
24502
24503
24504 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24505 PyObject *resultobj = 0;
24506 wxPrintData *arg1 = (wxPrintData *) 0 ;
24507 int arg2 ;
24508 void *argp1 = 0 ;
24509 int res1 = 0 ;
24510 int val2 ;
24511 int ecode2 = 0 ;
24512 PyObject * obj0 = 0 ;
24513 PyObject * obj1 = 0 ;
24514 char * kwnames[] = {
24515 (char *) "self",(char *) "v", NULL
24516 };
24517
24518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24520 if (!SWIG_IsOK(res1)) {
24521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24522 }
24523 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24524 ecode2 = SWIG_AsVal_int(obj1, &val2);
24525 if (!SWIG_IsOK(ecode2)) {
24526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24527 }
24528 arg2 = static_cast< int >(val2);
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 (arg1)->SetNoCopies(arg2);
24532 wxPyEndAllowThreads(__tstate);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 }
24535 resultobj = SWIG_Py_Void();
24536 return resultobj;
24537 fail:
24538 return NULL;
24539 }
24540
24541
24542 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24543 PyObject *resultobj = 0;
24544 wxPrintData *arg1 = (wxPrintData *) 0 ;
24545 bool arg2 ;
24546 void *argp1 = 0 ;
24547 int res1 = 0 ;
24548 bool val2 ;
24549 int ecode2 = 0 ;
24550 PyObject * obj0 = 0 ;
24551 PyObject * obj1 = 0 ;
24552 char * kwnames[] = {
24553 (char *) "self",(char *) "flag", NULL
24554 };
24555
24556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24558 if (!SWIG_IsOK(res1)) {
24559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24560 }
24561 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24562 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24563 if (!SWIG_IsOK(ecode2)) {
24564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24565 }
24566 arg2 = static_cast< bool >(val2);
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 (arg1)->SetCollate(arg2);
24570 wxPyEndAllowThreads(__tstate);
24571 if (PyErr_Occurred()) SWIG_fail;
24572 }
24573 resultobj = SWIG_Py_Void();
24574 return resultobj;
24575 fail:
24576 return NULL;
24577 }
24578
24579
24580 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24581 PyObject *resultobj = 0;
24582 wxPrintData *arg1 = (wxPrintData *) 0 ;
24583 int arg2 ;
24584 void *argp1 = 0 ;
24585 int res1 = 0 ;
24586 int val2 ;
24587 int ecode2 = 0 ;
24588 PyObject * obj0 = 0 ;
24589 PyObject * obj1 = 0 ;
24590 char * kwnames[] = {
24591 (char *) "self",(char *) "orient", NULL
24592 };
24593
24594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24596 if (!SWIG_IsOK(res1)) {
24597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24598 }
24599 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24600 ecode2 = SWIG_AsVal_int(obj1, &val2);
24601 if (!SWIG_IsOK(ecode2)) {
24602 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24603 }
24604 arg2 = static_cast< int >(val2);
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 (arg1)->SetOrientation(arg2);
24608 wxPyEndAllowThreads(__tstate);
24609 if (PyErr_Occurred()) SWIG_fail;
24610 }
24611 resultobj = SWIG_Py_Void();
24612 return resultobj;
24613 fail:
24614 return NULL;
24615 }
24616
24617
24618 SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24619 PyObject *resultobj = 0;
24620 wxPrintData *arg1 = (wxPrintData *) 0 ;
24621 bool arg2 ;
24622 void *argp1 = 0 ;
24623 int res1 = 0 ;
24624 bool val2 ;
24625 int ecode2 = 0 ;
24626 PyObject * obj0 = 0 ;
24627 PyObject * obj1 = 0 ;
24628 char * kwnames[] = {
24629 (char *) "self",(char *) "reversed", NULL
24630 };
24631
24632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
24633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24634 if (!SWIG_IsOK(res1)) {
24635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24636 }
24637 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24638 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24639 if (!SWIG_IsOK(ecode2)) {
24640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24641 }
24642 arg2 = static_cast< bool >(val2);
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 (arg1)->SetOrientationReversed(arg2);
24646 wxPyEndAllowThreads(__tstate);
24647 if (PyErr_Occurred()) SWIG_fail;
24648 }
24649 resultobj = SWIG_Py_Void();
24650 return resultobj;
24651 fail:
24652 return NULL;
24653 }
24654
24655
24656 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24657 PyObject *resultobj = 0;
24658 wxPrintData *arg1 = (wxPrintData *) 0 ;
24659 wxString *arg2 = 0 ;
24660 void *argp1 = 0 ;
24661 int res1 = 0 ;
24662 bool temp2 = false ;
24663 PyObject * obj0 = 0 ;
24664 PyObject * obj1 = 0 ;
24665 char * kwnames[] = {
24666 (char *) "self",(char *) "name", NULL
24667 };
24668
24669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24671 if (!SWIG_IsOK(res1)) {
24672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24673 }
24674 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24675 {
24676 arg2 = wxString_in_helper(obj1);
24677 if (arg2 == NULL) SWIG_fail;
24678 temp2 = true;
24679 }
24680 {
24681 PyThreadState* __tstate = wxPyBeginAllowThreads();
24682 (arg1)->SetPrinterName((wxString const &)*arg2);
24683 wxPyEndAllowThreads(__tstate);
24684 if (PyErr_Occurred()) SWIG_fail;
24685 }
24686 resultobj = SWIG_Py_Void();
24687 {
24688 if (temp2)
24689 delete arg2;
24690 }
24691 return resultobj;
24692 fail:
24693 {
24694 if (temp2)
24695 delete arg2;
24696 }
24697 return NULL;
24698 }
24699
24700
24701 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24702 PyObject *resultobj = 0;
24703 wxPrintData *arg1 = (wxPrintData *) 0 ;
24704 bool arg2 ;
24705 void *argp1 = 0 ;
24706 int res1 = 0 ;
24707 bool val2 ;
24708 int ecode2 = 0 ;
24709 PyObject * obj0 = 0 ;
24710 PyObject * obj1 = 0 ;
24711 char * kwnames[] = {
24712 (char *) "self",(char *) "colour", NULL
24713 };
24714
24715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24717 if (!SWIG_IsOK(res1)) {
24718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24719 }
24720 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24721 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24722 if (!SWIG_IsOK(ecode2)) {
24723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24724 }
24725 arg2 = static_cast< bool >(val2);
24726 {
24727 PyThreadState* __tstate = wxPyBeginAllowThreads();
24728 (arg1)->SetColour(arg2);
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 resultobj = SWIG_Py_Void();
24733 return resultobj;
24734 fail:
24735 return NULL;
24736 }
24737
24738
24739 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24740 PyObject *resultobj = 0;
24741 wxPrintData *arg1 = (wxPrintData *) 0 ;
24742 wxDuplexMode arg2 ;
24743 void *argp1 = 0 ;
24744 int res1 = 0 ;
24745 int val2 ;
24746 int ecode2 = 0 ;
24747 PyObject * obj0 = 0 ;
24748 PyObject * obj1 = 0 ;
24749 char * kwnames[] = {
24750 (char *) "self",(char *) "duplex", NULL
24751 };
24752
24753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24755 if (!SWIG_IsOK(res1)) {
24756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24757 }
24758 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24759 ecode2 = SWIG_AsVal_int(obj1, &val2);
24760 if (!SWIG_IsOK(ecode2)) {
24761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24762 }
24763 arg2 = static_cast< wxDuplexMode >(val2);
24764 {
24765 PyThreadState* __tstate = wxPyBeginAllowThreads();
24766 (arg1)->SetDuplex(arg2);
24767 wxPyEndAllowThreads(__tstate);
24768 if (PyErr_Occurred()) SWIG_fail;
24769 }
24770 resultobj = SWIG_Py_Void();
24771 return resultobj;
24772 fail:
24773 return NULL;
24774 }
24775
24776
24777 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24778 PyObject *resultobj = 0;
24779 wxPrintData *arg1 = (wxPrintData *) 0 ;
24780 wxPaperSize arg2 ;
24781 void *argp1 = 0 ;
24782 int res1 = 0 ;
24783 int val2 ;
24784 int ecode2 = 0 ;
24785 PyObject * obj0 = 0 ;
24786 PyObject * obj1 = 0 ;
24787 char * kwnames[] = {
24788 (char *) "self",(char *) "sizeId", NULL
24789 };
24790
24791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24793 if (!SWIG_IsOK(res1)) {
24794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24795 }
24796 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24797 ecode2 = SWIG_AsVal_int(obj1, &val2);
24798 if (!SWIG_IsOK(ecode2)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24800 }
24801 arg2 = static_cast< wxPaperSize >(val2);
24802 {
24803 PyThreadState* __tstate = wxPyBeginAllowThreads();
24804 (arg1)->SetPaperId(arg2);
24805 wxPyEndAllowThreads(__tstate);
24806 if (PyErr_Occurred()) SWIG_fail;
24807 }
24808 resultobj = SWIG_Py_Void();
24809 return resultobj;
24810 fail:
24811 return NULL;
24812 }
24813
24814
24815 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24816 PyObject *resultobj = 0;
24817 wxPrintData *arg1 = (wxPrintData *) 0 ;
24818 wxSize *arg2 = 0 ;
24819 void *argp1 = 0 ;
24820 int res1 = 0 ;
24821 wxSize temp2 ;
24822 PyObject * obj0 = 0 ;
24823 PyObject * obj1 = 0 ;
24824 char * kwnames[] = {
24825 (char *) "self",(char *) "sz", NULL
24826 };
24827
24828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24830 if (!SWIG_IsOK(res1)) {
24831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24832 }
24833 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24834 {
24835 arg2 = &temp2;
24836 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24837 }
24838 {
24839 PyThreadState* __tstate = wxPyBeginAllowThreads();
24840 (arg1)->SetPaperSize((wxSize const &)*arg2);
24841 wxPyEndAllowThreads(__tstate);
24842 if (PyErr_Occurred()) SWIG_fail;
24843 }
24844 resultobj = SWIG_Py_Void();
24845 return resultobj;
24846 fail:
24847 return NULL;
24848 }
24849
24850
24851 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24852 PyObject *resultobj = 0;
24853 wxPrintData *arg1 = (wxPrintData *) 0 ;
24854 int arg2 ;
24855 void *argp1 = 0 ;
24856 int res1 = 0 ;
24857 int val2 ;
24858 int ecode2 = 0 ;
24859 PyObject * obj0 = 0 ;
24860 PyObject * obj1 = 0 ;
24861 char * kwnames[] = {
24862 (char *) "self",(char *) "quality", NULL
24863 };
24864
24865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24867 if (!SWIG_IsOK(res1)) {
24868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24869 }
24870 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24871 ecode2 = SWIG_AsVal_int(obj1, &val2);
24872 if (!SWIG_IsOK(ecode2)) {
24873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24874 }
24875 arg2 = static_cast< int >(val2);
24876 {
24877 PyThreadState* __tstate = wxPyBeginAllowThreads();
24878 (arg1)->SetQuality(arg2);
24879 wxPyEndAllowThreads(__tstate);
24880 if (PyErr_Occurred()) SWIG_fail;
24881 }
24882 resultobj = SWIG_Py_Void();
24883 return resultobj;
24884 fail:
24885 return NULL;
24886 }
24887
24888
24889 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24890 PyObject *resultobj = 0;
24891 wxPrintData *arg1 = (wxPrintData *) 0 ;
24892 wxPrintBin arg2 ;
24893 void *argp1 = 0 ;
24894 int res1 = 0 ;
24895 int val2 ;
24896 int ecode2 = 0 ;
24897 PyObject * obj0 = 0 ;
24898 PyObject * obj1 = 0 ;
24899 char * kwnames[] = {
24900 (char *) "self",(char *) "bin", NULL
24901 };
24902
24903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24905 if (!SWIG_IsOK(res1)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24907 }
24908 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24909 ecode2 = SWIG_AsVal_int(obj1, &val2);
24910 if (!SWIG_IsOK(ecode2)) {
24911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24912 }
24913 arg2 = static_cast< wxPrintBin >(val2);
24914 {
24915 PyThreadState* __tstate = wxPyBeginAllowThreads();
24916 (arg1)->SetBin(arg2);
24917 wxPyEndAllowThreads(__tstate);
24918 if (PyErr_Occurred()) SWIG_fail;
24919 }
24920 resultobj = SWIG_Py_Void();
24921 return resultobj;
24922 fail:
24923 return NULL;
24924 }
24925
24926
24927 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24928 PyObject *resultobj = 0;
24929 wxPrintData *arg1 = (wxPrintData *) 0 ;
24930 wxPrintMode arg2 ;
24931 void *argp1 = 0 ;
24932 int res1 = 0 ;
24933 int val2 ;
24934 int ecode2 = 0 ;
24935 PyObject * obj0 = 0 ;
24936 PyObject * obj1 = 0 ;
24937 char * kwnames[] = {
24938 (char *) "self",(char *) "printMode", NULL
24939 };
24940
24941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24943 if (!SWIG_IsOK(res1)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24945 }
24946 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24947 ecode2 = SWIG_AsVal_int(obj1, &val2);
24948 if (!SWIG_IsOK(ecode2)) {
24949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24950 }
24951 arg2 = static_cast< wxPrintMode >(val2);
24952 {
24953 PyThreadState* __tstate = wxPyBeginAllowThreads();
24954 (arg1)->SetPrintMode(arg2);
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 resultobj = SWIG_Py_Void();
24959 return resultobj;
24960 fail:
24961 return NULL;
24962 }
24963
24964
24965 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24966 PyObject *resultobj = 0;
24967 wxPrintData *arg1 = (wxPrintData *) 0 ;
24968 int arg2 ;
24969 void *argp1 = 0 ;
24970 int res1 = 0 ;
24971 int val2 ;
24972 int ecode2 = 0 ;
24973 PyObject * obj0 = 0 ;
24974 PyObject * obj1 = 0 ;
24975 char * kwnames[] = {
24976 (char *) "self",(char *) "media", NULL
24977 };
24978
24979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24981 if (!SWIG_IsOK(res1)) {
24982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24983 }
24984 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24985 ecode2 = SWIG_AsVal_int(obj1, &val2);
24986 if (!SWIG_IsOK(ecode2)) {
24987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24988 }
24989 arg2 = static_cast< int >(val2);
24990 {
24991 PyThreadState* __tstate = wxPyBeginAllowThreads();
24992 (arg1)->SetMedia(arg2);
24993 wxPyEndAllowThreads(__tstate);
24994 if (PyErr_Occurred()) SWIG_fail;
24995 }
24996 resultobj = SWIG_Py_Void();
24997 return resultobj;
24998 fail:
24999 return NULL;
25000 }
25001
25002
25003 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25004 PyObject *resultobj = 0;
25005 wxPrintData *arg1 = (wxPrintData *) 0 ;
25006 wxString result;
25007 void *argp1 = 0 ;
25008 int res1 = 0 ;
25009 PyObject *swig_obj[1] ;
25010
25011 if (!args) SWIG_fail;
25012 swig_obj[0] = args;
25013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25014 if (!SWIG_IsOK(res1)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
25016 }
25017 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25018 {
25019 PyThreadState* __tstate = wxPyBeginAllowThreads();
25020 result = ((wxPrintData const *)arg1)->GetFilename();
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
25024 {
25025 #if wxUSE_UNICODE
25026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25027 #else
25028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25029 #endif
25030 }
25031 return resultobj;
25032 fail:
25033 return NULL;
25034 }
25035
25036
25037 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25038 PyObject *resultobj = 0;
25039 wxPrintData *arg1 = (wxPrintData *) 0 ;
25040 wxString *arg2 = 0 ;
25041 void *argp1 = 0 ;
25042 int res1 = 0 ;
25043 bool temp2 = false ;
25044 PyObject * obj0 = 0 ;
25045 PyObject * obj1 = 0 ;
25046 char * kwnames[] = {
25047 (char *) "self",(char *) "filename", NULL
25048 };
25049
25050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
25051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25052 if (!SWIG_IsOK(res1)) {
25053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
25054 }
25055 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25056 {
25057 arg2 = wxString_in_helper(obj1);
25058 if (arg2 == NULL) SWIG_fail;
25059 temp2 = true;
25060 }
25061 {
25062 PyThreadState* __tstate = wxPyBeginAllowThreads();
25063 (arg1)->SetFilename((wxString const &)*arg2);
25064 wxPyEndAllowThreads(__tstate);
25065 if (PyErr_Occurred()) SWIG_fail;
25066 }
25067 resultobj = SWIG_Py_Void();
25068 {
25069 if (temp2)
25070 delete arg2;
25071 }
25072 return resultobj;
25073 fail:
25074 {
25075 if (temp2)
25076 delete arg2;
25077 }
25078 return NULL;
25079 }
25080
25081
25082 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25083 PyObject *resultobj = 0;
25084 wxPrintData *arg1 = (wxPrintData *) 0 ;
25085 PyObject *result = 0 ;
25086 void *argp1 = 0 ;
25087 int res1 = 0 ;
25088 PyObject *swig_obj[1] ;
25089
25090 if (!args) SWIG_fail;
25091 swig_obj[0] = args;
25092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25093 if (!SWIG_IsOK(res1)) {
25094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25095 }
25096 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25097 {
25098 PyThreadState* __tstate = wxPyBeginAllowThreads();
25099 result = (PyObject *)wxPrintData_GetPrivData(arg1);
25100 wxPyEndAllowThreads(__tstate);
25101 if (PyErr_Occurred()) SWIG_fail;
25102 }
25103 resultobj = result;
25104 return resultobj;
25105 fail:
25106 return NULL;
25107 }
25108
25109
25110 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25111 PyObject *resultobj = 0;
25112 wxPrintData *arg1 = (wxPrintData *) 0 ;
25113 PyObject *arg2 = (PyObject *) 0 ;
25114 void *argp1 = 0 ;
25115 int res1 = 0 ;
25116 PyObject * obj0 = 0 ;
25117 PyObject * obj1 = 0 ;
25118 char * kwnames[] = {
25119 (char *) "self",(char *) "data", NULL
25120 };
25121
25122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
25123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25124 if (!SWIG_IsOK(res1)) {
25125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25126 }
25127 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25128 arg2 = obj1;
25129 {
25130 PyThreadState* __tstate = wxPyBeginAllowThreads();
25131 wxPrintData_SetPrivData(arg1,arg2);
25132 wxPyEndAllowThreads(__tstate);
25133 if (PyErr_Occurred()) SWIG_fail;
25134 }
25135 resultobj = SWIG_Py_Void();
25136 return resultobj;
25137 fail:
25138 return NULL;
25139 }
25140
25141
25142 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25143 PyObject *obj;
25144 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25145 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
25146 return SWIG_Py_Void();
25147 }
25148
25149 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25150 return SWIG_Python_InitShadowInstance(args);
25151 }
25152
25153 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25154 PyObject *resultobj = 0;
25155 wxPageSetupDialogData *result = 0 ;
25156
25157 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
25161 wxPyEndAllowThreads(__tstate);
25162 if (PyErr_Occurred()) SWIG_fail;
25163 }
25164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25165 return resultobj;
25166 fail:
25167 return NULL;
25168 }
25169
25170
25171 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25172 PyObject *resultobj = 0;
25173 wxPageSetupDialogData *arg1 = 0 ;
25174 wxPageSetupDialogData *result = 0 ;
25175 void *argp1 = 0 ;
25176 int res1 = 0 ;
25177
25178 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
25180 if (!SWIG_IsOK(res1)) {
25181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25182 }
25183 if (!argp1) {
25184 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25185 }
25186 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25187 {
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
25190 wxPyEndAllowThreads(__tstate);
25191 if (PyErr_Occurred()) SWIG_fail;
25192 }
25193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25194 return resultobj;
25195 fail:
25196 return NULL;
25197 }
25198
25199
25200 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25201 PyObject *resultobj = 0;
25202 wxPrintData *arg1 = 0 ;
25203 wxPageSetupDialogData *result = 0 ;
25204 void *argp1 = 0 ;
25205 int res1 = 0 ;
25206
25207 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25209 if (!SWIG_IsOK(res1)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25211 }
25212 if (!argp1) {
25213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25214 }
25215 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25216 {
25217 PyThreadState* __tstate = wxPyBeginAllowThreads();
25218 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
25219 wxPyEndAllowThreads(__tstate);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
25222 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25223 return resultobj;
25224 fail:
25225 return NULL;
25226 }
25227
25228
25229 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
25230 int argc;
25231 PyObject *argv[2];
25232
25233 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
25234 --argc;
25235 if (argc == 0) {
25236 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
25237 }
25238 if (argc == 1) {
25239 int _v = 0;
25240 {
25241 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
25242 _v = SWIG_CheckState(res);
25243 }
25244 if (!_v) goto check_2;
25245 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
25246 }
25247 check_2:
25248
25249 if (argc == 1) {
25250 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
25251 }
25252
25253 fail:
25254 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
25255 return NULL;
25256 }
25257
25258
25259 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25260 PyObject *resultobj = 0;
25261 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25262 void *argp1 = 0 ;
25263 int res1 = 0 ;
25264 PyObject *swig_obj[1] ;
25265
25266 if (!args) SWIG_fail;
25267 swig_obj[0] = args;
25268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
25269 if (!SWIG_IsOK(res1)) {
25270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25271 }
25272 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25273 {
25274 PyThreadState* __tstate = wxPyBeginAllowThreads();
25275 delete arg1;
25276
25277 wxPyEndAllowThreads(__tstate);
25278 if (PyErr_Occurred()) SWIG_fail;
25279 }
25280 resultobj = SWIG_Py_Void();
25281 return resultobj;
25282 fail:
25283 return NULL;
25284 }
25285
25286
25287 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25288 PyObject *resultobj = 0;
25289 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25290 bool arg2 ;
25291 void *argp1 = 0 ;
25292 int res1 = 0 ;
25293 bool val2 ;
25294 int ecode2 = 0 ;
25295 PyObject * obj0 = 0 ;
25296 PyObject * obj1 = 0 ;
25297 char * kwnames[] = {
25298 (char *) "self",(char *) "flag", NULL
25299 };
25300
25301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25303 if (!SWIG_IsOK(res1)) {
25304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25305 }
25306 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25307 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25308 if (!SWIG_IsOK(ecode2)) {
25309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25310 }
25311 arg2 = static_cast< bool >(val2);
25312 {
25313 PyThreadState* __tstate = wxPyBeginAllowThreads();
25314 (arg1)->EnableHelp(arg2);
25315 wxPyEndAllowThreads(__tstate);
25316 if (PyErr_Occurred()) SWIG_fail;
25317 }
25318 resultobj = SWIG_Py_Void();
25319 return resultobj;
25320 fail:
25321 return NULL;
25322 }
25323
25324
25325 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25326 PyObject *resultobj = 0;
25327 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25328 bool arg2 ;
25329 void *argp1 = 0 ;
25330 int res1 = 0 ;
25331 bool val2 ;
25332 int ecode2 = 0 ;
25333 PyObject * obj0 = 0 ;
25334 PyObject * obj1 = 0 ;
25335 char * kwnames[] = {
25336 (char *) "self",(char *) "flag", NULL
25337 };
25338
25339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25341 if (!SWIG_IsOK(res1)) {
25342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25343 }
25344 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25345 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25346 if (!SWIG_IsOK(ecode2)) {
25347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25348 }
25349 arg2 = static_cast< bool >(val2);
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 (arg1)->EnableMargins(arg2);
25353 wxPyEndAllowThreads(__tstate);
25354 if (PyErr_Occurred()) SWIG_fail;
25355 }
25356 resultobj = SWIG_Py_Void();
25357 return resultobj;
25358 fail:
25359 return NULL;
25360 }
25361
25362
25363 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25364 PyObject *resultobj = 0;
25365 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25366 bool arg2 ;
25367 void *argp1 = 0 ;
25368 int res1 = 0 ;
25369 bool val2 ;
25370 int ecode2 = 0 ;
25371 PyObject * obj0 = 0 ;
25372 PyObject * obj1 = 0 ;
25373 char * kwnames[] = {
25374 (char *) "self",(char *) "flag", NULL
25375 };
25376
25377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25379 if (!SWIG_IsOK(res1)) {
25380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25381 }
25382 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25383 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25384 if (!SWIG_IsOK(ecode2)) {
25385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25386 }
25387 arg2 = static_cast< bool >(val2);
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 (arg1)->EnableOrientation(arg2);
25391 wxPyEndAllowThreads(__tstate);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 }
25394 resultobj = SWIG_Py_Void();
25395 return resultobj;
25396 fail:
25397 return NULL;
25398 }
25399
25400
25401 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25402 PyObject *resultobj = 0;
25403 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25404 bool arg2 ;
25405 void *argp1 = 0 ;
25406 int res1 = 0 ;
25407 bool val2 ;
25408 int ecode2 = 0 ;
25409 PyObject * obj0 = 0 ;
25410 PyObject * obj1 = 0 ;
25411 char * kwnames[] = {
25412 (char *) "self",(char *) "flag", NULL
25413 };
25414
25415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25417 if (!SWIG_IsOK(res1)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25419 }
25420 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25421 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25422 if (!SWIG_IsOK(ecode2)) {
25423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25424 }
25425 arg2 = static_cast< bool >(val2);
25426 {
25427 PyThreadState* __tstate = wxPyBeginAllowThreads();
25428 (arg1)->EnablePaper(arg2);
25429 wxPyEndAllowThreads(__tstate);
25430 if (PyErr_Occurred()) SWIG_fail;
25431 }
25432 resultobj = SWIG_Py_Void();
25433 return resultobj;
25434 fail:
25435 return NULL;
25436 }
25437
25438
25439 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25440 PyObject *resultobj = 0;
25441 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25442 bool arg2 ;
25443 void *argp1 = 0 ;
25444 int res1 = 0 ;
25445 bool val2 ;
25446 int ecode2 = 0 ;
25447 PyObject * obj0 = 0 ;
25448 PyObject * obj1 = 0 ;
25449 char * kwnames[] = {
25450 (char *) "self",(char *) "flag", NULL
25451 };
25452
25453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25455 if (!SWIG_IsOK(res1)) {
25456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25457 }
25458 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25459 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25460 if (!SWIG_IsOK(ecode2)) {
25461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25462 }
25463 arg2 = static_cast< bool >(val2);
25464 {
25465 PyThreadState* __tstate = wxPyBeginAllowThreads();
25466 (arg1)->EnablePrinter(arg2);
25467 wxPyEndAllowThreads(__tstate);
25468 if (PyErr_Occurred()) SWIG_fail;
25469 }
25470 resultobj = SWIG_Py_Void();
25471 return resultobj;
25472 fail:
25473 return NULL;
25474 }
25475
25476
25477 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25478 PyObject *resultobj = 0;
25479 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25480 bool result;
25481 void *argp1 = 0 ;
25482 int res1 = 0 ;
25483 PyObject *swig_obj[1] ;
25484
25485 if (!args) SWIG_fail;
25486 swig_obj[0] = args;
25487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25488 if (!SWIG_IsOK(res1)) {
25489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25490 }
25491 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25492 {
25493 PyThreadState* __tstate = wxPyBeginAllowThreads();
25494 result = (bool)(arg1)->GetDefaultMinMargins();
25495 wxPyEndAllowThreads(__tstate);
25496 if (PyErr_Occurred()) SWIG_fail;
25497 }
25498 {
25499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25500 }
25501 return resultobj;
25502 fail:
25503 return NULL;
25504 }
25505
25506
25507 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25508 PyObject *resultobj = 0;
25509 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25510 bool result;
25511 void *argp1 = 0 ;
25512 int res1 = 0 ;
25513 PyObject *swig_obj[1] ;
25514
25515 if (!args) SWIG_fail;
25516 swig_obj[0] = args;
25517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25518 if (!SWIG_IsOK(res1)) {
25519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25520 }
25521 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25522 {
25523 PyThreadState* __tstate = wxPyBeginAllowThreads();
25524 result = (bool)(arg1)->GetEnableMargins();
25525 wxPyEndAllowThreads(__tstate);
25526 if (PyErr_Occurred()) SWIG_fail;
25527 }
25528 {
25529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25530 }
25531 return resultobj;
25532 fail:
25533 return NULL;
25534 }
25535
25536
25537 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25538 PyObject *resultobj = 0;
25539 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25540 bool result;
25541 void *argp1 = 0 ;
25542 int res1 = 0 ;
25543 PyObject *swig_obj[1] ;
25544
25545 if (!args) SWIG_fail;
25546 swig_obj[0] = args;
25547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25548 if (!SWIG_IsOK(res1)) {
25549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25550 }
25551 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25552 {
25553 PyThreadState* __tstate = wxPyBeginAllowThreads();
25554 result = (bool)(arg1)->GetEnableOrientation();
25555 wxPyEndAllowThreads(__tstate);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 {
25559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25560 }
25561 return resultobj;
25562 fail:
25563 return NULL;
25564 }
25565
25566
25567 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25568 PyObject *resultobj = 0;
25569 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25570 bool result;
25571 void *argp1 = 0 ;
25572 int res1 = 0 ;
25573 PyObject *swig_obj[1] ;
25574
25575 if (!args) SWIG_fail;
25576 swig_obj[0] = args;
25577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25578 if (!SWIG_IsOK(res1)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25580 }
25581 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25582 {
25583 PyThreadState* __tstate = wxPyBeginAllowThreads();
25584 result = (bool)(arg1)->GetEnablePaper();
25585 wxPyEndAllowThreads(__tstate);
25586 if (PyErr_Occurred()) SWIG_fail;
25587 }
25588 {
25589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25590 }
25591 return resultobj;
25592 fail:
25593 return NULL;
25594 }
25595
25596
25597 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25598 PyObject *resultobj = 0;
25599 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25600 bool result;
25601 void *argp1 = 0 ;
25602 int res1 = 0 ;
25603 PyObject *swig_obj[1] ;
25604
25605 if (!args) SWIG_fail;
25606 swig_obj[0] = args;
25607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25608 if (!SWIG_IsOK(res1)) {
25609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25610 }
25611 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25612 {
25613 PyThreadState* __tstate = wxPyBeginAllowThreads();
25614 result = (bool)(arg1)->GetEnablePrinter();
25615 wxPyEndAllowThreads(__tstate);
25616 if (PyErr_Occurred()) SWIG_fail;
25617 }
25618 {
25619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25620 }
25621 return resultobj;
25622 fail:
25623 return NULL;
25624 }
25625
25626
25627 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25628 PyObject *resultobj = 0;
25629 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25630 bool result;
25631 void *argp1 = 0 ;
25632 int res1 = 0 ;
25633 PyObject *swig_obj[1] ;
25634
25635 if (!args) SWIG_fail;
25636 swig_obj[0] = args;
25637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25638 if (!SWIG_IsOK(res1)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25640 }
25641 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25642 {
25643 PyThreadState* __tstate = wxPyBeginAllowThreads();
25644 result = (bool)(arg1)->GetEnableHelp();
25645 wxPyEndAllowThreads(__tstate);
25646 if (PyErr_Occurred()) SWIG_fail;
25647 }
25648 {
25649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25650 }
25651 return resultobj;
25652 fail:
25653 return NULL;
25654 }
25655
25656
25657 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25658 PyObject *resultobj = 0;
25659 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25660 bool result;
25661 void *argp1 = 0 ;
25662 int res1 = 0 ;
25663 PyObject *swig_obj[1] ;
25664
25665 if (!args) SWIG_fail;
25666 swig_obj[0] = args;
25667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25668 if (!SWIG_IsOK(res1)) {
25669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25670 }
25671 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25672 {
25673 PyThreadState* __tstate = wxPyBeginAllowThreads();
25674 result = (bool)(arg1)->GetDefaultInfo();
25675 wxPyEndAllowThreads(__tstate);
25676 if (PyErr_Occurred()) SWIG_fail;
25677 }
25678 {
25679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25680 }
25681 return resultobj;
25682 fail:
25683 return NULL;
25684 }
25685
25686
25687 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25688 PyObject *resultobj = 0;
25689 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25690 wxPoint result;
25691 void *argp1 = 0 ;
25692 int res1 = 0 ;
25693 PyObject *swig_obj[1] ;
25694
25695 if (!args) SWIG_fail;
25696 swig_obj[0] = args;
25697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25698 if (!SWIG_IsOK(res1)) {
25699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25700 }
25701 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25702 {
25703 PyThreadState* __tstate = wxPyBeginAllowThreads();
25704 result = (arg1)->GetMarginTopLeft();
25705 wxPyEndAllowThreads(__tstate);
25706 if (PyErr_Occurred()) SWIG_fail;
25707 }
25708 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25709 return resultobj;
25710 fail:
25711 return NULL;
25712 }
25713
25714
25715 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25716 PyObject *resultobj = 0;
25717 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25718 wxPoint result;
25719 void *argp1 = 0 ;
25720 int res1 = 0 ;
25721 PyObject *swig_obj[1] ;
25722
25723 if (!args) SWIG_fail;
25724 swig_obj[0] = args;
25725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25726 if (!SWIG_IsOK(res1)) {
25727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25728 }
25729 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25730 {
25731 PyThreadState* __tstate = wxPyBeginAllowThreads();
25732 result = (arg1)->GetMarginBottomRight();
25733 wxPyEndAllowThreads(__tstate);
25734 if (PyErr_Occurred()) SWIG_fail;
25735 }
25736 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25737 return resultobj;
25738 fail:
25739 return NULL;
25740 }
25741
25742
25743 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25744 PyObject *resultobj = 0;
25745 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25746 wxPoint result;
25747 void *argp1 = 0 ;
25748 int res1 = 0 ;
25749 PyObject *swig_obj[1] ;
25750
25751 if (!args) SWIG_fail;
25752 swig_obj[0] = args;
25753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25754 if (!SWIG_IsOK(res1)) {
25755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25756 }
25757 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25758 {
25759 PyThreadState* __tstate = wxPyBeginAllowThreads();
25760 result = (arg1)->GetMinMarginTopLeft();
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25765 return resultobj;
25766 fail:
25767 return NULL;
25768 }
25769
25770
25771 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25772 PyObject *resultobj = 0;
25773 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25774 wxPoint result;
25775 void *argp1 = 0 ;
25776 int res1 = 0 ;
25777 PyObject *swig_obj[1] ;
25778
25779 if (!args) SWIG_fail;
25780 swig_obj[0] = args;
25781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25782 if (!SWIG_IsOK(res1)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25784 }
25785 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25786 {
25787 PyThreadState* __tstate = wxPyBeginAllowThreads();
25788 result = (arg1)->GetMinMarginBottomRight();
25789 wxPyEndAllowThreads(__tstate);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 }
25792 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25793 return resultobj;
25794 fail:
25795 return NULL;
25796 }
25797
25798
25799 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25800 PyObject *resultobj = 0;
25801 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25802 wxPaperSize result;
25803 void *argp1 = 0 ;
25804 int res1 = 0 ;
25805 PyObject *swig_obj[1] ;
25806
25807 if (!args) SWIG_fail;
25808 swig_obj[0] = args;
25809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25810 if (!SWIG_IsOK(res1)) {
25811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25812 }
25813 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25814 {
25815 PyThreadState* __tstate = wxPyBeginAllowThreads();
25816 result = (wxPaperSize)(arg1)->GetPaperId();
25817 wxPyEndAllowThreads(__tstate);
25818 if (PyErr_Occurred()) SWIG_fail;
25819 }
25820 resultobj = SWIG_From_int(static_cast< int >(result));
25821 return resultobj;
25822 fail:
25823 return NULL;
25824 }
25825
25826
25827 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25828 PyObject *resultobj = 0;
25829 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25830 wxSize result;
25831 void *argp1 = 0 ;
25832 int res1 = 0 ;
25833 PyObject *swig_obj[1] ;
25834
25835 if (!args) SWIG_fail;
25836 swig_obj[0] = args;
25837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25838 if (!SWIG_IsOK(res1)) {
25839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25840 }
25841 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25842 {
25843 PyThreadState* __tstate = wxPyBeginAllowThreads();
25844 result = (arg1)->GetPaperSize();
25845 wxPyEndAllowThreads(__tstate);
25846 if (PyErr_Occurred()) SWIG_fail;
25847 }
25848 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25849 return resultobj;
25850 fail:
25851 return NULL;
25852 }
25853
25854
25855 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25856 PyObject *resultobj = 0;
25857 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25858 wxPrintData *result = 0 ;
25859 void *argp1 = 0 ;
25860 int res1 = 0 ;
25861 PyObject *swig_obj[1] ;
25862
25863 if (!args) SWIG_fail;
25864 swig_obj[0] = args;
25865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25866 if (!SWIG_IsOK(res1)) {
25867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25868 }
25869 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25870 {
25871 PyThreadState* __tstate = wxPyBeginAllowThreads();
25872 {
25873 wxPrintData &_result_ref = (arg1)->GetPrintData();
25874 result = (wxPrintData *) &_result_ref;
25875 }
25876 wxPyEndAllowThreads(__tstate);
25877 if (PyErr_Occurred()) SWIG_fail;
25878 }
25879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25880 return resultobj;
25881 fail:
25882 return NULL;
25883 }
25884
25885
25886 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25887 PyObject *resultobj = 0;
25888 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25889 bool result;
25890 void *argp1 = 0 ;
25891 int res1 = 0 ;
25892 PyObject *swig_obj[1] ;
25893
25894 if (!args) SWIG_fail;
25895 swig_obj[0] = args;
25896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25897 if (!SWIG_IsOK(res1)) {
25898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25899 }
25900 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25901 {
25902 PyThreadState* __tstate = wxPyBeginAllowThreads();
25903 result = (bool)(arg1)->IsOk();
25904 wxPyEndAllowThreads(__tstate);
25905 if (PyErr_Occurred()) SWIG_fail;
25906 }
25907 {
25908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25909 }
25910 return resultobj;
25911 fail:
25912 return NULL;
25913 }
25914
25915
25916 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25917 PyObject *resultobj = 0;
25918 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25919 bool arg2 ;
25920 void *argp1 = 0 ;
25921 int res1 = 0 ;
25922 bool val2 ;
25923 int ecode2 = 0 ;
25924 PyObject * obj0 = 0 ;
25925 PyObject * obj1 = 0 ;
25926 char * kwnames[] = {
25927 (char *) "self",(char *) "flag", NULL
25928 };
25929
25930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25932 if (!SWIG_IsOK(res1)) {
25933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25934 }
25935 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25936 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25937 if (!SWIG_IsOK(ecode2)) {
25938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25939 }
25940 arg2 = static_cast< bool >(val2);
25941 {
25942 PyThreadState* __tstate = wxPyBeginAllowThreads();
25943 (arg1)->SetDefaultInfo(arg2);
25944 wxPyEndAllowThreads(__tstate);
25945 if (PyErr_Occurred()) SWIG_fail;
25946 }
25947 resultobj = SWIG_Py_Void();
25948 return resultobj;
25949 fail:
25950 return NULL;
25951 }
25952
25953
25954 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25955 PyObject *resultobj = 0;
25956 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25957 bool arg2 ;
25958 void *argp1 = 0 ;
25959 int res1 = 0 ;
25960 bool val2 ;
25961 int ecode2 = 0 ;
25962 PyObject * obj0 = 0 ;
25963 PyObject * obj1 = 0 ;
25964 char * kwnames[] = {
25965 (char *) "self",(char *) "flag", NULL
25966 };
25967
25968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25970 if (!SWIG_IsOK(res1)) {
25971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25972 }
25973 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25974 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25975 if (!SWIG_IsOK(ecode2)) {
25976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25977 }
25978 arg2 = static_cast< bool >(val2);
25979 {
25980 PyThreadState* __tstate = wxPyBeginAllowThreads();
25981 (arg1)->SetDefaultMinMargins(arg2);
25982 wxPyEndAllowThreads(__tstate);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
25985 resultobj = SWIG_Py_Void();
25986 return resultobj;
25987 fail:
25988 return NULL;
25989 }
25990
25991
25992 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25993 PyObject *resultobj = 0;
25994 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25995 wxPoint *arg2 = 0 ;
25996 void *argp1 = 0 ;
25997 int res1 = 0 ;
25998 wxPoint temp2 ;
25999 PyObject * obj0 = 0 ;
26000 PyObject * obj1 = 0 ;
26001 char * kwnames[] = {
26002 (char *) "self",(char *) "pt", NULL
26003 };
26004
26005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
26006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26007 if (!SWIG_IsOK(res1)) {
26008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26009 }
26010 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26011 {
26012 arg2 = &temp2;
26013 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26014 }
26015 {
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
26018 wxPyEndAllowThreads(__tstate);
26019 if (PyErr_Occurred()) SWIG_fail;
26020 }
26021 resultobj = SWIG_Py_Void();
26022 return resultobj;
26023 fail:
26024 return NULL;
26025 }
26026
26027
26028 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26029 PyObject *resultobj = 0;
26030 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26031 wxPoint *arg2 = 0 ;
26032 void *argp1 = 0 ;
26033 int res1 = 0 ;
26034 wxPoint temp2 ;
26035 PyObject * obj0 = 0 ;
26036 PyObject * obj1 = 0 ;
26037 char * kwnames[] = {
26038 (char *) "self",(char *) "pt", NULL
26039 };
26040
26041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
26042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26043 if (!SWIG_IsOK(res1)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26045 }
26046 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26047 {
26048 arg2 = &temp2;
26049 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26050 }
26051 {
26052 PyThreadState* __tstate = wxPyBeginAllowThreads();
26053 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
26054 wxPyEndAllowThreads(__tstate);
26055 if (PyErr_Occurred()) SWIG_fail;
26056 }
26057 resultobj = SWIG_Py_Void();
26058 return resultobj;
26059 fail:
26060 return NULL;
26061 }
26062
26063
26064 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26065 PyObject *resultobj = 0;
26066 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26067 wxPoint *arg2 = 0 ;
26068 void *argp1 = 0 ;
26069 int res1 = 0 ;
26070 wxPoint temp2 ;
26071 PyObject * obj0 = 0 ;
26072 PyObject * obj1 = 0 ;
26073 char * kwnames[] = {
26074 (char *) "self",(char *) "pt", NULL
26075 };
26076
26077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
26078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26079 if (!SWIG_IsOK(res1)) {
26080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26081 }
26082 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26083 {
26084 arg2 = &temp2;
26085 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26086 }
26087 {
26088 PyThreadState* __tstate = wxPyBeginAllowThreads();
26089 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
26090 wxPyEndAllowThreads(__tstate);
26091 if (PyErr_Occurred()) SWIG_fail;
26092 }
26093 resultobj = SWIG_Py_Void();
26094 return resultobj;
26095 fail:
26096 return NULL;
26097 }
26098
26099
26100 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26101 PyObject *resultobj = 0;
26102 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26103 wxPoint *arg2 = 0 ;
26104 void *argp1 = 0 ;
26105 int res1 = 0 ;
26106 wxPoint temp2 ;
26107 PyObject * obj0 = 0 ;
26108 PyObject * obj1 = 0 ;
26109 char * kwnames[] = {
26110 (char *) "self",(char *) "pt", NULL
26111 };
26112
26113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
26114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26115 if (!SWIG_IsOK(res1)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26117 }
26118 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26119 {
26120 arg2 = &temp2;
26121 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26122 }
26123 {
26124 PyThreadState* __tstate = wxPyBeginAllowThreads();
26125 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
26126 wxPyEndAllowThreads(__tstate);
26127 if (PyErr_Occurred()) SWIG_fail;
26128 }
26129 resultobj = SWIG_Py_Void();
26130 return resultobj;
26131 fail:
26132 return NULL;
26133 }
26134
26135
26136 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26137 PyObject *resultobj = 0;
26138 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26139 wxPaperSize arg2 ;
26140 void *argp1 = 0 ;
26141 int res1 = 0 ;
26142 int val2 ;
26143 int ecode2 = 0 ;
26144 PyObject * obj0 = 0 ;
26145 PyObject * obj1 = 0 ;
26146 char * kwnames[] = {
26147 (char *) "self",(char *) "id", NULL
26148 };
26149
26150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
26151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26152 if (!SWIG_IsOK(res1)) {
26153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26154 }
26155 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26156 ecode2 = SWIG_AsVal_int(obj1, &val2);
26157 if (!SWIG_IsOK(ecode2)) {
26158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26159 }
26160 arg2 = static_cast< wxPaperSize >(val2);
26161 {
26162 PyThreadState* __tstate = wxPyBeginAllowThreads();
26163 (arg1)->SetPaperId(arg2);
26164 wxPyEndAllowThreads(__tstate);
26165 if (PyErr_Occurred()) SWIG_fail;
26166 }
26167 resultobj = SWIG_Py_Void();
26168 return resultobj;
26169 fail:
26170 return NULL;
26171 }
26172
26173
26174 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26175 PyObject *resultobj = 0;
26176 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26177 wxSize *arg2 = 0 ;
26178 void *argp1 = 0 ;
26179 int res1 = 0 ;
26180 wxSize temp2 ;
26181 PyObject * obj0 = 0 ;
26182 PyObject * obj1 = 0 ;
26183 char * kwnames[] = {
26184 (char *) "self",(char *) "size", NULL
26185 };
26186
26187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
26188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26189 if (!SWIG_IsOK(res1)) {
26190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26191 }
26192 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26193 {
26194 arg2 = &temp2;
26195 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26196 }
26197 {
26198 PyThreadState* __tstate = wxPyBeginAllowThreads();
26199 (arg1)->SetPaperSize((wxSize const &)*arg2);
26200 wxPyEndAllowThreads(__tstate);
26201 if (PyErr_Occurred()) SWIG_fail;
26202 }
26203 resultobj = SWIG_Py_Void();
26204 return resultobj;
26205 fail:
26206 return NULL;
26207 }
26208
26209
26210 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26211 PyObject *resultobj = 0;
26212 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26213 wxPrintData *arg2 = 0 ;
26214 void *argp1 = 0 ;
26215 int res1 = 0 ;
26216 void *argp2 = 0 ;
26217 int res2 = 0 ;
26218 PyObject * obj0 = 0 ;
26219 PyObject * obj1 = 0 ;
26220 char * kwnames[] = {
26221 (char *) "self",(char *) "printData", NULL
26222 };
26223
26224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26226 if (!SWIG_IsOK(res1)) {
26227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26228 }
26229 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26230 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26231 if (!SWIG_IsOK(res2)) {
26232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26233 }
26234 if (!argp2) {
26235 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26236 }
26237 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26238 {
26239 PyThreadState* __tstate = wxPyBeginAllowThreads();
26240 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26241 wxPyEndAllowThreads(__tstate);
26242 if (PyErr_Occurred()) SWIG_fail;
26243 }
26244 resultobj = SWIG_Py_Void();
26245 return resultobj;
26246 fail:
26247 return NULL;
26248 }
26249
26250
26251 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26252 PyObject *resultobj = 0;
26253 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26254 void *argp1 = 0 ;
26255 int res1 = 0 ;
26256 PyObject *swig_obj[1] ;
26257
26258 if (!args) SWIG_fail;
26259 swig_obj[0] = args;
26260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26261 if (!SWIG_IsOK(res1)) {
26262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26263 }
26264 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26265 {
26266 PyThreadState* __tstate = wxPyBeginAllowThreads();
26267 (arg1)->CalculateIdFromPaperSize();
26268 wxPyEndAllowThreads(__tstate);
26269 if (PyErr_Occurred()) SWIG_fail;
26270 }
26271 resultobj = SWIG_Py_Void();
26272 return resultobj;
26273 fail:
26274 return NULL;
26275 }
26276
26277
26278 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26279 PyObject *resultobj = 0;
26280 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26281 void *argp1 = 0 ;
26282 int res1 = 0 ;
26283 PyObject *swig_obj[1] ;
26284
26285 if (!args) SWIG_fail;
26286 swig_obj[0] = args;
26287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26288 if (!SWIG_IsOK(res1)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26290 }
26291 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26292 {
26293 PyThreadState* __tstate = wxPyBeginAllowThreads();
26294 (arg1)->CalculatePaperSizeFromId();
26295 wxPyEndAllowThreads(__tstate);
26296 if (PyErr_Occurred()) SWIG_fail;
26297 }
26298 resultobj = SWIG_Py_Void();
26299 return resultobj;
26300 fail:
26301 return NULL;
26302 }
26303
26304
26305 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26306 PyObject *obj;
26307 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26308 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
26309 return SWIG_Py_Void();
26310 }
26311
26312 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26313 return SWIG_Python_InitShadowInstance(args);
26314 }
26315
26316 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26317 PyObject *resultobj = 0;
26318 wxWindow *arg1 = (wxWindow *) 0 ;
26319 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
26320 wxPageSetupDialog *result = 0 ;
26321 void *argp1 = 0 ;
26322 int res1 = 0 ;
26323 void *argp2 = 0 ;
26324 int res2 = 0 ;
26325 PyObject * obj0 = 0 ;
26326 PyObject * obj1 = 0 ;
26327 char * kwnames[] = {
26328 (char *) "parent",(char *) "data", NULL
26329 };
26330
26331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26333 if (!SWIG_IsOK(res1)) {
26334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26335 }
26336 arg1 = reinterpret_cast< wxWindow * >(argp1);
26337 if (obj1) {
26338 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26339 if (!SWIG_IsOK(res2)) {
26340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26341 }
26342 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26343 }
26344 {
26345 if (!wxPyCheckForApp()) SWIG_fail;
26346 PyThreadState* __tstate = wxPyBeginAllowThreads();
26347 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26348 wxPyEndAllowThreads(__tstate);
26349 if (PyErr_Occurred()) SWIG_fail;
26350 }
26351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26352 return resultobj;
26353 fail:
26354 return NULL;
26355 }
26356
26357
26358 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26359 PyObject *resultobj = 0;
26360 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26361 void *argp1 = 0 ;
26362 int res1 = 0 ;
26363 PyObject *swig_obj[1] ;
26364
26365 if (!args) SWIG_fail;
26366 swig_obj[0] = args;
26367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26368 if (!SWIG_IsOK(res1)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26370 }
26371 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26372 {
26373 PyThreadState* __tstate = wxPyBeginAllowThreads();
26374 delete arg1;
26375
26376 wxPyEndAllowThreads(__tstate);
26377 if (PyErr_Occurred()) SWIG_fail;
26378 }
26379 resultobj = SWIG_Py_Void();
26380 return resultobj;
26381 fail:
26382 return NULL;
26383 }
26384
26385
26386 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26387 PyObject *resultobj = 0;
26388 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26389 wxPageSetupDialogData *result = 0 ;
26390 void *argp1 = 0 ;
26391 int res1 = 0 ;
26392 PyObject *swig_obj[1] ;
26393
26394 if (!args) SWIG_fail;
26395 swig_obj[0] = args;
26396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26397 if (!SWIG_IsOK(res1)) {
26398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26399 }
26400 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26401 {
26402 PyThreadState* __tstate = wxPyBeginAllowThreads();
26403 {
26404 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26405 result = (wxPageSetupDialogData *) &_result_ref;
26406 }
26407 wxPyEndAllowThreads(__tstate);
26408 if (PyErr_Occurred()) SWIG_fail;
26409 }
26410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26411 return resultobj;
26412 fail:
26413 return NULL;
26414 }
26415
26416
26417 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26418 PyObject *resultobj = 0;
26419 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26420 wxPageSetupDialogData *result = 0 ;
26421 void *argp1 = 0 ;
26422 int res1 = 0 ;
26423 PyObject *swig_obj[1] ;
26424
26425 if (!args) SWIG_fail;
26426 swig_obj[0] = args;
26427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26428 if (!SWIG_IsOK(res1)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26430 }
26431 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26432 {
26433 PyThreadState* __tstate = wxPyBeginAllowThreads();
26434 {
26435 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26436 result = (wxPageSetupDialogData *) &_result_ref;
26437 }
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26442 return resultobj;
26443 fail:
26444 return NULL;
26445 }
26446
26447
26448 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26449 PyObject *resultobj = 0;
26450 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26451 int result;
26452 void *argp1 = 0 ;
26453 int res1 = 0 ;
26454 PyObject *swig_obj[1] ;
26455
26456 if (!args) SWIG_fail;
26457 swig_obj[0] = args;
26458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26459 if (!SWIG_IsOK(res1)) {
26460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26461 }
26462 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26463 {
26464 PyThreadState* __tstate = wxPyBeginAllowThreads();
26465 result = (int)(arg1)->ShowModal();
26466 wxPyEndAllowThreads(__tstate);
26467 if (PyErr_Occurred()) SWIG_fail;
26468 }
26469 resultobj = SWIG_From_int(static_cast< int >(result));
26470 return resultobj;
26471 fail:
26472 return NULL;
26473 }
26474
26475
26476 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26477 PyObject *obj;
26478 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26480 return SWIG_Py_Void();
26481 }
26482
26483 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26484 return SWIG_Python_InitShadowInstance(args);
26485 }
26486
26487 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26488 PyObject *resultobj = 0;
26489 wxPrintDialogData *result = 0 ;
26490
26491 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26492 {
26493 PyThreadState* __tstate = wxPyBeginAllowThreads();
26494 result = (wxPrintDialogData *)new wxPrintDialogData();
26495 wxPyEndAllowThreads(__tstate);
26496 if (PyErr_Occurred()) SWIG_fail;
26497 }
26498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26499 return resultobj;
26500 fail:
26501 return NULL;
26502 }
26503
26504
26505 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26506 PyObject *resultobj = 0;
26507 wxPrintData *arg1 = 0 ;
26508 wxPrintDialogData *result = 0 ;
26509 void *argp1 = 0 ;
26510 int res1 = 0 ;
26511
26512 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26514 if (!SWIG_IsOK(res1)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26516 }
26517 if (!argp1) {
26518 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26519 }
26520 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26521 {
26522 PyThreadState* __tstate = wxPyBeginAllowThreads();
26523 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26524 wxPyEndAllowThreads(__tstate);
26525 if (PyErr_Occurred()) SWIG_fail;
26526 }
26527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26528 return resultobj;
26529 fail:
26530 return NULL;
26531 }
26532
26533
26534 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26535 PyObject *resultobj = 0;
26536 wxPrintDialogData *arg1 = 0 ;
26537 wxPrintDialogData *result = 0 ;
26538 void *argp1 = 0 ;
26539 int res1 = 0 ;
26540
26541 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26543 if (!SWIG_IsOK(res1)) {
26544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26545 }
26546 if (!argp1) {
26547 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26548 }
26549 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26550 {
26551 PyThreadState* __tstate = wxPyBeginAllowThreads();
26552 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26553 wxPyEndAllowThreads(__tstate);
26554 if (PyErr_Occurred()) SWIG_fail;
26555 }
26556 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26557 return resultobj;
26558 fail:
26559 return NULL;
26560 }
26561
26562
26563 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26564 int argc;
26565 PyObject *argv[2];
26566
26567 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26568 --argc;
26569 if (argc == 0) {
26570 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26571 }
26572 if (argc == 1) {
26573 int _v = 0;
26574 {
26575 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26576 _v = SWIG_CheckState(res);
26577 }
26578 if (!_v) goto check_2;
26579 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26580 }
26581 check_2:
26582
26583 if (argc == 1) {
26584 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26585 }
26586
26587 fail:
26588 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26589 return NULL;
26590 }
26591
26592
26593 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26594 PyObject *resultobj = 0;
26595 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26596 void *argp1 = 0 ;
26597 int res1 = 0 ;
26598 PyObject *swig_obj[1] ;
26599
26600 if (!args) SWIG_fail;
26601 swig_obj[0] = args;
26602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26603 if (!SWIG_IsOK(res1)) {
26604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26605 }
26606 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26607 {
26608 PyThreadState* __tstate = wxPyBeginAllowThreads();
26609 delete arg1;
26610
26611 wxPyEndAllowThreads(__tstate);
26612 if (PyErr_Occurred()) SWIG_fail;
26613 }
26614 resultobj = SWIG_Py_Void();
26615 return resultobj;
26616 fail:
26617 return NULL;
26618 }
26619
26620
26621 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26622 PyObject *resultobj = 0;
26623 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26624 int result;
26625 void *argp1 = 0 ;
26626 int res1 = 0 ;
26627 PyObject *swig_obj[1] ;
26628
26629 if (!args) SWIG_fail;
26630 swig_obj[0] = args;
26631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26632 if (!SWIG_IsOK(res1)) {
26633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26634 }
26635 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26636 {
26637 PyThreadState* __tstate = wxPyBeginAllowThreads();
26638 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26639 wxPyEndAllowThreads(__tstate);
26640 if (PyErr_Occurred()) SWIG_fail;
26641 }
26642 resultobj = SWIG_From_int(static_cast< int >(result));
26643 return resultobj;
26644 fail:
26645 return NULL;
26646 }
26647
26648
26649 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26650 PyObject *resultobj = 0;
26651 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26652 int result;
26653 void *argp1 = 0 ;
26654 int res1 = 0 ;
26655 PyObject *swig_obj[1] ;
26656
26657 if (!args) SWIG_fail;
26658 swig_obj[0] = args;
26659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26660 if (!SWIG_IsOK(res1)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26662 }
26663 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26664 {
26665 PyThreadState* __tstate = wxPyBeginAllowThreads();
26666 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26667 wxPyEndAllowThreads(__tstate);
26668 if (PyErr_Occurred()) SWIG_fail;
26669 }
26670 resultobj = SWIG_From_int(static_cast< int >(result));
26671 return resultobj;
26672 fail:
26673 return NULL;
26674 }
26675
26676
26677 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26678 PyObject *resultobj = 0;
26679 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26680 int result;
26681 void *argp1 = 0 ;
26682 int res1 = 0 ;
26683 PyObject *swig_obj[1] ;
26684
26685 if (!args) SWIG_fail;
26686 swig_obj[0] = args;
26687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26688 if (!SWIG_IsOK(res1)) {
26689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26690 }
26691 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26692 {
26693 PyThreadState* __tstate = wxPyBeginAllowThreads();
26694 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26695 wxPyEndAllowThreads(__tstate);
26696 if (PyErr_Occurred()) SWIG_fail;
26697 }
26698 resultobj = SWIG_From_int(static_cast< int >(result));
26699 return resultobj;
26700 fail:
26701 return NULL;
26702 }
26703
26704
26705 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26706 PyObject *resultobj = 0;
26707 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26708 int result;
26709 void *argp1 = 0 ;
26710 int res1 = 0 ;
26711 PyObject *swig_obj[1] ;
26712
26713 if (!args) SWIG_fail;
26714 swig_obj[0] = args;
26715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26716 if (!SWIG_IsOK(res1)) {
26717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26718 }
26719 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26720 {
26721 PyThreadState* __tstate = wxPyBeginAllowThreads();
26722 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26723 wxPyEndAllowThreads(__tstate);
26724 if (PyErr_Occurred()) SWIG_fail;
26725 }
26726 resultobj = SWIG_From_int(static_cast< int >(result));
26727 return resultobj;
26728 fail:
26729 return NULL;
26730 }
26731
26732
26733 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26734 PyObject *resultobj = 0;
26735 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26736 int result;
26737 void *argp1 = 0 ;
26738 int res1 = 0 ;
26739 PyObject *swig_obj[1] ;
26740
26741 if (!args) SWIG_fail;
26742 swig_obj[0] = args;
26743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26744 if (!SWIG_IsOK(res1)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26746 }
26747 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26748 {
26749 PyThreadState* __tstate = wxPyBeginAllowThreads();
26750 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26751 wxPyEndAllowThreads(__tstate);
26752 if (PyErr_Occurred()) SWIG_fail;
26753 }
26754 resultobj = SWIG_From_int(static_cast< int >(result));
26755 return resultobj;
26756 fail:
26757 return NULL;
26758 }
26759
26760
26761 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26762 PyObject *resultobj = 0;
26763 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26764 bool result;
26765 void *argp1 = 0 ;
26766 int res1 = 0 ;
26767 PyObject *swig_obj[1] ;
26768
26769 if (!args) SWIG_fail;
26770 swig_obj[0] = args;
26771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26772 if (!SWIG_IsOK(res1)) {
26773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26774 }
26775 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26776 {
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26779 wxPyEndAllowThreads(__tstate);
26780 if (PyErr_Occurred()) SWIG_fail;
26781 }
26782 {
26783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26784 }
26785 return resultobj;
26786 fail:
26787 return NULL;
26788 }
26789
26790
26791 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26792 PyObject *resultobj = 0;
26793 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26794 bool result;
26795 void *argp1 = 0 ;
26796 int res1 = 0 ;
26797 PyObject *swig_obj[1] ;
26798
26799 if (!args) SWIG_fail;
26800 swig_obj[0] = args;
26801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26802 if (!SWIG_IsOK(res1)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26804 }
26805 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26806 {
26807 PyThreadState* __tstate = wxPyBeginAllowThreads();
26808 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26809 wxPyEndAllowThreads(__tstate);
26810 if (PyErr_Occurred()) SWIG_fail;
26811 }
26812 {
26813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26814 }
26815 return resultobj;
26816 fail:
26817 return NULL;
26818 }
26819
26820
26821 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26822 PyObject *resultobj = 0;
26823 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26824 bool result;
26825 void *argp1 = 0 ;
26826 int res1 = 0 ;
26827 PyObject *swig_obj[1] ;
26828
26829 if (!args) SWIG_fail;
26830 swig_obj[0] = args;
26831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26832 if (!SWIG_IsOK(res1)) {
26833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26834 }
26835 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26836 {
26837 PyThreadState* __tstate = wxPyBeginAllowThreads();
26838 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26839 wxPyEndAllowThreads(__tstate);
26840 if (PyErr_Occurred()) SWIG_fail;
26841 }
26842 {
26843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26844 }
26845 return resultobj;
26846 fail:
26847 return NULL;
26848 }
26849
26850
26851 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26852 PyObject *resultobj = 0;
26853 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26854 bool result;
26855 void *argp1 = 0 ;
26856 int res1 = 0 ;
26857 PyObject *swig_obj[1] ;
26858
26859 if (!args) SWIG_fail;
26860 swig_obj[0] = args;
26861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26862 if (!SWIG_IsOK(res1)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26864 }
26865 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26866 {
26867 PyThreadState* __tstate = wxPyBeginAllowThreads();
26868 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26869 wxPyEndAllowThreads(__tstate);
26870 if (PyErr_Occurred()) SWIG_fail;
26871 }
26872 {
26873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26874 }
26875 return resultobj;
26876 fail:
26877 return NULL;
26878 }
26879
26880
26881 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26882 PyObject *resultobj = 0;
26883 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26884 int arg2 ;
26885 void *argp1 = 0 ;
26886 int res1 = 0 ;
26887 int val2 ;
26888 int ecode2 = 0 ;
26889 PyObject * obj0 = 0 ;
26890 PyObject * obj1 = 0 ;
26891 char * kwnames[] = {
26892 (char *) "self",(char *) "v", NULL
26893 };
26894
26895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26897 if (!SWIG_IsOK(res1)) {
26898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26899 }
26900 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26901 ecode2 = SWIG_AsVal_int(obj1, &val2);
26902 if (!SWIG_IsOK(ecode2)) {
26903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26904 }
26905 arg2 = static_cast< int >(val2);
26906 {
26907 PyThreadState* __tstate = wxPyBeginAllowThreads();
26908 (arg1)->SetFromPage(arg2);
26909 wxPyEndAllowThreads(__tstate);
26910 if (PyErr_Occurred()) SWIG_fail;
26911 }
26912 resultobj = SWIG_Py_Void();
26913 return resultobj;
26914 fail:
26915 return NULL;
26916 }
26917
26918
26919 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26920 PyObject *resultobj = 0;
26921 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26922 int arg2 ;
26923 void *argp1 = 0 ;
26924 int res1 = 0 ;
26925 int val2 ;
26926 int ecode2 = 0 ;
26927 PyObject * obj0 = 0 ;
26928 PyObject * obj1 = 0 ;
26929 char * kwnames[] = {
26930 (char *) "self",(char *) "v", NULL
26931 };
26932
26933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26935 if (!SWIG_IsOK(res1)) {
26936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26937 }
26938 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26939 ecode2 = SWIG_AsVal_int(obj1, &val2);
26940 if (!SWIG_IsOK(ecode2)) {
26941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26942 }
26943 arg2 = static_cast< int >(val2);
26944 {
26945 PyThreadState* __tstate = wxPyBeginAllowThreads();
26946 (arg1)->SetToPage(arg2);
26947 wxPyEndAllowThreads(__tstate);
26948 if (PyErr_Occurred()) SWIG_fail;
26949 }
26950 resultobj = SWIG_Py_Void();
26951 return resultobj;
26952 fail:
26953 return NULL;
26954 }
26955
26956
26957 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26958 PyObject *resultobj = 0;
26959 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26960 int arg2 ;
26961 void *argp1 = 0 ;
26962 int res1 = 0 ;
26963 int val2 ;
26964 int ecode2 = 0 ;
26965 PyObject * obj0 = 0 ;
26966 PyObject * obj1 = 0 ;
26967 char * kwnames[] = {
26968 (char *) "self",(char *) "v", NULL
26969 };
26970
26971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26973 if (!SWIG_IsOK(res1)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26975 }
26976 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26977 ecode2 = SWIG_AsVal_int(obj1, &val2);
26978 if (!SWIG_IsOK(ecode2)) {
26979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26980 }
26981 arg2 = static_cast< int >(val2);
26982 {
26983 PyThreadState* __tstate = wxPyBeginAllowThreads();
26984 (arg1)->SetMinPage(arg2);
26985 wxPyEndAllowThreads(__tstate);
26986 if (PyErr_Occurred()) SWIG_fail;
26987 }
26988 resultobj = SWIG_Py_Void();
26989 return resultobj;
26990 fail:
26991 return NULL;
26992 }
26993
26994
26995 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26996 PyObject *resultobj = 0;
26997 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26998 int arg2 ;
26999 void *argp1 = 0 ;
27000 int res1 = 0 ;
27001 int val2 ;
27002 int ecode2 = 0 ;
27003 PyObject * obj0 = 0 ;
27004 PyObject * obj1 = 0 ;
27005 char * kwnames[] = {
27006 (char *) "self",(char *) "v", NULL
27007 };
27008
27009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
27010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27011 if (!SWIG_IsOK(res1)) {
27012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27013 }
27014 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27015 ecode2 = SWIG_AsVal_int(obj1, &val2);
27016 if (!SWIG_IsOK(ecode2)) {
27017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
27018 }
27019 arg2 = static_cast< int >(val2);
27020 {
27021 PyThreadState* __tstate = wxPyBeginAllowThreads();
27022 (arg1)->SetMaxPage(arg2);
27023 wxPyEndAllowThreads(__tstate);
27024 if (PyErr_Occurred()) SWIG_fail;
27025 }
27026 resultobj = SWIG_Py_Void();
27027 return resultobj;
27028 fail:
27029 return NULL;
27030 }
27031
27032
27033 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27034 PyObject *resultobj = 0;
27035 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27036 int arg2 ;
27037 void *argp1 = 0 ;
27038 int res1 = 0 ;
27039 int val2 ;
27040 int ecode2 = 0 ;
27041 PyObject * obj0 = 0 ;
27042 PyObject * obj1 = 0 ;
27043 char * kwnames[] = {
27044 (char *) "self",(char *) "v", NULL
27045 };
27046
27047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
27048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27049 if (!SWIG_IsOK(res1)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27051 }
27052 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27053 ecode2 = SWIG_AsVal_int(obj1, &val2);
27054 if (!SWIG_IsOK(ecode2)) {
27055 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
27056 }
27057 arg2 = static_cast< int >(val2);
27058 {
27059 PyThreadState* __tstate = wxPyBeginAllowThreads();
27060 (arg1)->SetNoCopies(arg2);
27061 wxPyEndAllowThreads(__tstate);
27062 if (PyErr_Occurred()) SWIG_fail;
27063 }
27064 resultobj = SWIG_Py_Void();
27065 return resultobj;
27066 fail:
27067 return NULL;
27068 }
27069
27070
27071 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27072 PyObject *resultobj = 0;
27073 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27074 bool arg2 ;
27075 void *argp1 = 0 ;
27076 int res1 = 0 ;
27077 bool val2 ;
27078 int ecode2 = 0 ;
27079 PyObject * obj0 = 0 ;
27080 PyObject * obj1 = 0 ;
27081 char * kwnames[] = {
27082 (char *) "self",(char *) "flag", NULL
27083 };
27084
27085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
27086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27087 if (!SWIG_IsOK(res1)) {
27088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27089 }
27090 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27091 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27092 if (!SWIG_IsOK(ecode2)) {
27093 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
27094 }
27095 arg2 = static_cast< bool >(val2);
27096 {
27097 PyThreadState* __tstate = wxPyBeginAllowThreads();
27098 (arg1)->SetAllPages(arg2);
27099 wxPyEndAllowThreads(__tstate);
27100 if (PyErr_Occurred()) SWIG_fail;
27101 }
27102 resultobj = SWIG_Py_Void();
27103 return resultobj;
27104 fail:
27105 return NULL;
27106 }
27107
27108
27109 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27110 PyObject *resultobj = 0;
27111 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27112 bool arg2 ;
27113 void *argp1 = 0 ;
27114 int res1 = 0 ;
27115 bool val2 ;
27116 int ecode2 = 0 ;
27117 PyObject * obj0 = 0 ;
27118 PyObject * obj1 = 0 ;
27119 char * kwnames[] = {
27120 (char *) "self",(char *) "flag", NULL
27121 };
27122
27123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27125 if (!SWIG_IsOK(res1)) {
27126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27127 }
27128 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27129 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27130 if (!SWIG_IsOK(ecode2)) {
27131 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
27132 }
27133 arg2 = static_cast< bool >(val2);
27134 {
27135 PyThreadState* __tstate = wxPyBeginAllowThreads();
27136 (arg1)->SetSelection(arg2);
27137 wxPyEndAllowThreads(__tstate);
27138 if (PyErr_Occurred()) SWIG_fail;
27139 }
27140 resultobj = SWIG_Py_Void();
27141 return resultobj;
27142 fail:
27143 return NULL;
27144 }
27145
27146
27147 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27148 PyObject *resultobj = 0;
27149 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27150 bool arg2 ;
27151 void *argp1 = 0 ;
27152 int res1 = 0 ;
27153 bool val2 ;
27154 int ecode2 = 0 ;
27155 PyObject * obj0 = 0 ;
27156 PyObject * obj1 = 0 ;
27157 char * kwnames[] = {
27158 (char *) "self",(char *) "flag", NULL
27159 };
27160
27161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
27162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27163 if (!SWIG_IsOK(res1)) {
27164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27165 }
27166 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27167 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27168 if (!SWIG_IsOK(ecode2)) {
27169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
27170 }
27171 arg2 = static_cast< bool >(val2);
27172 {
27173 PyThreadState* __tstate = wxPyBeginAllowThreads();
27174 (arg1)->SetCollate(arg2);
27175 wxPyEndAllowThreads(__tstate);
27176 if (PyErr_Occurred()) SWIG_fail;
27177 }
27178 resultobj = SWIG_Py_Void();
27179 return resultobj;
27180 fail:
27181 return NULL;
27182 }
27183
27184
27185 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27186 PyObject *resultobj = 0;
27187 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27188 bool arg2 ;
27189 void *argp1 = 0 ;
27190 int res1 = 0 ;
27191 bool val2 ;
27192 int ecode2 = 0 ;
27193 PyObject * obj0 = 0 ;
27194 PyObject * obj1 = 0 ;
27195 char * kwnames[] = {
27196 (char *) "self",(char *) "flag", NULL
27197 };
27198
27199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27201 if (!SWIG_IsOK(res1)) {
27202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27203 }
27204 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27205 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27206 if (!SWIG_IsOK(ecode2)) {
27207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27208 }
27209 arg2 = static_cast< bool >(val2);
27210 {
27211 PyThreadState* __tstate = wxPyBeginAllowThreads();
27212 (arg1)->SetPrintToFile(arg2);
27213 wxPyEndAllowThreads(__tstate);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 }
27216 resultobj = SWIG_Py_Void();
27217 return resultobj;
27218 fail:
27219 return NULL;
27220 }
27221
27222
27223 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27224 PyObject *resultobj = 0;
27225 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27226 bool arg2 ;
27227 void *argp1 = 0 ;
27228 int res1 = 0 ;
27229 bool val2 ;
27230 int ecode2 = 0 ;
27231 PyObject * obj0 = 0 ;
27232 PyObject * obj1 = 0 ;
27233 char * kwnames[] = {
27234 (char *) "self",(char *) "flag", NULL
27235 };
27236
27237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27239 if (!SWIG_IsOK(res1)) {
27240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27241 }
27242 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27243 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27244 if (!SWIG_IsOK(ecode2)) {
27245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27246 }
27247 arg2 = static_cast< bool >(val2);
27248 {
27249 PyThreadState* __tstate = wxPyBeginAllowThreads();
27250 (arg1)->EnablePrintToFile(arg2);
27251 wxPyEndAllowThreads(__tstate);
27252 if (PyErr_Occurred()) SWIG_fail;
27253 }
27254 resultobj = SWIG_Py_Void();
27255 return resultobj;
27256 fail:
27257 return NULL;
27258 }
27259
27260
27261 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27262 PyObject *resultobj = 0;
27263 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27264 bool arg2 ;
27265 void *argp1 = 0 ;
27266 int res1 = 0 ;
27267 bool val2 ;
27268 int ecode2 = 0 ;
27269 PyObject * obj0 = 0 ;
27270 PyObject * obj1 = 0 ;
27271 char * kwnames[] = {
27272 (char *) "self",(char *) "flag", NULL
27273 };
27274
27275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27277 if (!SWIG_IsOK(res1)) {
27278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27279 }
27280 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27281 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27282 if (!SWIG_IsOK(ecode2)) {
27283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27284 }
27285 arg2 = static_cast< bool >(val2);
27286 {
27287 PyThreadState* __tstate = wxPyBeginAllowThreads();
27288 (arg1)->EnableSelection(arg2);
27289 wxPyEndAllowThreads(__tstate);
27290 if (PyErr_Occurred()) SWIG_fail;
27291 }
27292 resultobj = SWIG_Py_Void();
27293 return resultobj;
27294 fail:
27295 return NULL;
27296 }
27297
27298
27299 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27300 PyObject *resultobj = 0;
27301 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27302 bool arg2 ;
27303 void *argp1 = 0 ;
27304 int res1 = 0 ;
27305 bool val2 ;
27306 int ecode2 = 0 ;
27307 PyObject * obj0 = 0 ;
27308 PyObject * obj1 = 0 ;
27309 char * kwnames[] = {
27310 (char *) "self",(char *) "flag", NULL
27311 };
27312
27313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
27314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27315 if (!SWIG_IsOK(res1)) {
27316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27317 }
27318 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27319 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27320 if (!SWIG_IsOK(ecode2)) {
27321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27322 }
27323 arg2 = static_cast< bool >(val2);
27324 {
27325 PyThreadState* __tstate = wxPyBeginAllowThreads();
27326 (arg1)->EnablePageNumbers(arg2);
27327 wxPyEndAllowThreads(__tstate);
27328 if (PyErr_Occurred()) SWIG_fail;
27329 }
27330 resultobj = SWIG_Py_Void();
27331 return resultobj;
27332 fail:
27333 return NULL;
27334 }
27335
27336
27337 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27338 PyObject *resultobj = 0;
27339 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27340 bool arg2 ;
27341 void *argp1 = 0 ;
27342 int res1 = 0 ;
27343 bool val2 ;
27344 int ecode2 = 0 ;
27345 PyObject * obj0 = 0 ;
27346 PyObject * obj1 = 0 ;
27347 char * kwnames[] = {
27348 (char *) "self",(char *) "flag", NULL
27349 };
27350
27351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27353 if (!SWIG_IsOK(res1)) {
27354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27355 }
27356 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27357 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27358 if (!SWIG_IsOK(ecode2)) {
27359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27360 }
27361 arg2 = static_cast< bool >(val2);
27362 {
27363 PyThreadState* __tstate = wxPyBeginAllowThreads();
27364 (arg1)->EnableHelp(arg2);
27365 wxPyEndAllowThreads(__tstate);
27366 if (PyErr_Occurred()) SWIG_fail;
27367 }
27368 resultobj = SWIG_Py_Void();
27369 return resultobj;
27370 fail:
27371 return NULL;
27372 }
27373
27374
27375 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27376 PyObject *resultobj = 0;
27377 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27378 bool result;
27379 void *argp1 = 0 ;
27380 int res1 = 0 ;
27381 PyObject *swig_obj[1] ;
27382
27383 if (!args) SWIG_fail;
27384 swig_obj[0] = args;
27385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27386 if (!SWIG_IsOK(res1)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27388 }
27389 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27390 {
27391 PyThreadState* __tstate = wxPyBeginAllowThreads();
27392 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27393 wxPyEndAllowThreads(__tstate);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 }
27396 {
27397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27398 }
27399 return resultobj;
27400 fail:
27401 return NULL;
27402 }
27403
27404
27405 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27406 PyObject *resultobj = 0;
27407 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27408 bool result;
27409 void *argp1 = 0 ;
27410 int res1 = 0 ;
27411 PyObject *swig_obj[1] ;
27412
27413 if (!args) SWIG_fail;
27414 swig_obj[0] = args;
27415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27416 if (!SWIG_IsOK(res1)) {
27417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27418 }
27419 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27420 {
27421 PyThreadState* __tstate = wxPyBeginAllowThreads();
27422 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27423 wxPyEndAllowThreads(__tstate);
27424 if (PyErr_Occurred()) SWIG_fail;
27425 }
27426 {
27427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27428 }
27429 return resultobj;
27430 fail:
27431 return NULL;
27432 }
27433
27434
27435 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27436 PyObject *resultobj = 0;
27437 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27438 bool result;
27439 void *argp1 = 0 ;
27440 int res1 = 0 ;
27441 PyObject *swig_obj[1] ;
27442
27443 if (!args) SWIG_fail;
27444 swig_obj[0] = args;
27445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27446 if (!SWIG_IsOK(res1)) {
27447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27448 }
27449 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27450 {
27451 PyThreadState* __tstate = wxPyBeginAllowThreads();
27452 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 {
27457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27458 }
27459 return resultobj;
27460 fail:
27461 return NULL;
27462 }
27463
27464
27465 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27466 PyObject *resultobj = 0;
27467 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27468 bool result;
27469 void *argp1 = 0 ;
27470 int res1 = 0 ;
27471 PyObject *swig_obj[1] ;
27472
27473 if (!args) SWIG_fail;
27474 swig_obj[0] = args;
27475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27476 if (!SWIG_IsOK(res1)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27478 }
27479 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27480 {
27481 PyThreadState* __tstate = wxPyBeginAllowThreads();
27482 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27483 wxPyEndAllowThreads(__tstate);
27484 if (PyErr_Occurred()) SWIG_fail;
27485 }
27486 {
27487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27488 }
27489 return resultobj;
27490 fail:
27491 return NULL;
27492 }
27493
27494
27495 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27496 PyObject *resultobj = 0;
27497 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27498 bool result;
27499 void *argp1 = 0 ;
27500 int res1 = 0 ;
27501 PyObject *swig_obj[1] ;
27502
27503 if (!args) SWIG_fail;
27504 swig_obj[0] = args;
27505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27506 if (!SWIG_IsOK(res1)) {
27507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27508 }
27509 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27510 {
27511 PyThreadState* __tstate = wxPyBeginAllowThreads();
27512 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27513 wxPyEndAllowThreads(__tstate);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 {
27517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27518 }
27519 return resultobj;
27520 fail:
27521 return NULL;
27522 }
27523
27524
27525 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27526 PyObject *resultobj = 0;
27527 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27528 wxPrintData *result = 0 ;
27529 void *argp1 = 0 ;
27530 int res1 = 0 ;
27531 PyObject *swig_obj[1] ;
27532
27533 if (!args) SWIG_fail;
27534 swig_obj[0] = args;
27535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27536 if (!SWIG_IsOK(res1)) {
27537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27538 }
27539 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27540 {
27541 PyThreadState* __tstate = wxPyBeginAllowThreads();
27542 {
27543 wxPrintData &_result_ref = (arg1)->GetPrintData();
27544 result = (wxPrintData *) &_result_ref;
27545 }
27546 wxPyEndAllowThreads(__tstate);
27547 if (PyErr_Occurred()) SWIG_fail;
27548 }
27549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27550 return resultobj;
27551 fail:
27552 return NULL;
27553 }
27554
27555
27556 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27557 PyObject *resultobj = 0;
27558 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27559 wxPrintData *arg2 = 0 ;
27560 void *argp1 = 0 ;
27561 int res1 = 0 ;
27562 void *argp2 = 0 ;
27563 int res2 = 0 ;
27564 PyObject * obj0 = 0 ;
27565 PyObject * obj1 = 0 ;
27566 char * kwnames[] = {
27567 (char *) "self",(char *) "printData", NULL
27568 };
27569
27570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27572 if (!SWIG_IsOK(res1)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27574 }
27575 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27576 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27577 if (!SWIG_IsOK(res2)) {
27578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27579 }
27580 if (!argp2) {
27581 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27582 }
27583 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27584 {
27585 PyThreadState* __tstate = wxPyBeginAllowThreads();
27586 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27587 wxPyEndAllowThreads(__tstate);
27588 if (PyErr_Occurred()) SWIG_fail;
27589 }
27590 resultobj = SWIG_Py_Void();
27591 return resultobj;
27592 fail:
27593 return NULL;
27594 }
27595
27596
27597 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27598 PyObject *obj;
27599 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27600 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27601 return SWIG_Py_Void();
27602 }
27603
27604 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27605 return SWIG_Python_InitShadowInstance(args);
27606 }
27607
27608 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27609 PyObject *resultobj = 0;
27610 wxWindow *arg1 = (wxWindow *) 0 ;
27611 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27612 wxPrintDialog *result = 0 ;
27613 void *argp1 = 0 ;
27614 int res1 = 0 ;
27615 void *argp2 = 0 ;
27616 int res2 = 0 ;
27617 PyObject * obj0 = 0 ;
27618 PyObject * obj1 = 0 ;
27619 char * kwnames[] = {
27620 (char *) "parent",(char *) "data", NULL
27621 };
27622
27623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27625 if (!SWIG_IsOK(res1)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27627 }
27628 arg1 = reinterpret_cast< wxWindow * >(argp1);
27629 if (obj1) {
27630 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27631 if (!SWIG_IsOK(res2)) {
27632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27633 }
27634 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27635 }
27636 {
27637 if (!wxPyCheckForApp()) SWIG_fail;
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27640 wxPyEndAllowThreads(__tstate);
27641 if (PyErr_Occurred()) SWIG_fail;
27642 }
27643 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27644 return resultobj;
27645 fail:
27646 return NULL;
27647 }
27648
27649
27650 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27651 PyObject *resultobj = 0;
27652 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27653 void *argp1 = 0 ;
27654 int res1 = 0 ;
27655 PyObject *swig_obj[1] ;
27656
27657 if (!args) SWIG_fail;
27658 swig_obj[0] = args;
27659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27660 if (!SWIG_IsOK(res1)) {
27661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27662 }
27663 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27664 {
27665 PyThreadState* __tstate = wxPyBeginAllowThreads();
27666 delete arg1;
27667
27668 wxPyEndAllowThreads(__tstate);
27669 if (PyErr_Occurred()) SWIG_fail;
27670 }
27671 resultobj = SWIG_Py_Void();
27672 return resultobj;
27673 fail:
27674 return NULL;
27675 }
27676
27677
27678 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27679 PyObject *resultobj = 0;
27680 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27681 int result;
27682 void *argp1 = 0 ;
27683 int res1 = 0 ;
27684 PyObject *swig_obj[1] ;
27685
27686 if (!args) SWIG_fail;
27687 swig_obj[0] = args;
27688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27689 if (!SWIG_IsOK(res1)) {
27690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27691 }
27692 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27693 {
27694 PyThreadState* __tstate = wxPyBeginAllowThreads();
27695 result = (int)(arg1)->ShowModal();
27696 wxPyEndAllowThreads(__tstate);
27697 if (PyErr_Occurred()) SWIG_fail;
27698 }
27699 resultobj = SWIG_From_int(static_cast< int >(result));
27700 return resultobj;
27701 fail:
27702 return NULL;
27703 }
27704
27705
27706 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27707 PyObject *resultobj = 0;
27708 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27709 wxPrintDialogData *result = 0 ;
27710 void *argp1 = 0 ;
27711 int res1 = 0 ;
27712 PyObject *swig_obj[1] ;
27713
27714 if (!args) SWIG_fail;
27715 swig_obj[0] = args;
27716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27717 if (!SWIG_IsOK(res1)) {
27718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27719 }
27720 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27721 {
27722 PyThreadState* __tstate = wxPyBeginAllowThreads();
27723 {
27724 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27725 result = (wxPrintDialogData *) &_result_ref;
27726 }
27727 wxPyEndAllowThreads(__tstate);
27728 if (PyErr_Occurred()) SWIG_fail;
27729 }
27730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27731 return resultobj;
27732 fail:
27733 return NULL;
27734 }
27735
27736
27737 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27738 PyObject *resultobj = 0;
27739 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27740 wxPrintData *result = 0 ;
27741 void *argp1 = 0 ;
27742 int res1 = 0 ;
27743 PyObject *swig_obj[1] ;
27744
27745 if (!args) SWIG_fail;
27746 swig_obj[0] = args;
27747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27748 if (!SWIG_IsOK(res1)) {
27749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27750 }
27751 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27752 {
27753 PyThreadState* __tstate = wxPyBeginAllowThreads();
27754 {
27755 wxPrintData &_result_ref = (arg1)->GetPrintData();
27756 result = (wxPrintData *) &_result_ref;
27757 }
27758 wxPyEndAllowThreads(__tstate);
27759 if (PyErr_Occurred()) SWIG_fail;
27760 }
27761 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27762 return resultobj;
27763 fail:
27764 return NULL;
27765 }
27766
27767
27768 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27769 PyObject *resultobj = 0;
27770 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27771 wxDC *result = 0 ;
27772 void *argp1 = 0 ;
27773 int res1 = 0 ;
27774 PyObject *swig_obj[1] ;
27775
27776 if (!args) SWIG_fail;
27777 swig_obj[0] = args;
27778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27779 if (!SWIG_IsOK(res1)) {
27780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27781 }
27782 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27783 {
27784 PyThreadState* __tstate = wxPyBeginAllowThreads();
27785 result = (wxDC *)(arg1)->GetPrintDC();
27786 wxPyEndAllowThreads(__tstate);
27787 if (PyErr_Occurred()) SWIG_fail;
27788 }
27789 {
27790 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27791 }
27792 return resultobj;
27793 fail:
27794 return NULL;
27795 }
27796
27797
27798 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27799 PyObject *obj;
27800 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27801 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27802 return SWIG_Py_Void();
27803 }
27804
27805 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27806 return SWIG_Python_InitShadowInstance(args);
27807 }
27808
27809 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27810 PyObject *resultobj = 0;
27811 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27812 wxPrinter *result = 0 ;
27813 void *argp1 = 0 ;
27814 int res1 = 0 ;
27815 PyObject * obj0 = 0 ;
27816 char * kwnames[] = {
27817 (char *) "data", NULL
27818 };
27819
27820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27821 if (obj0) {
27822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27823 if (!SWIG_IsOK(res1)) {
27824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27825 }
27826 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27827 }
27828 {
27829 if (!wxPyCheckForApp()) SWIG_fail;
27830 PyThreadState* __tstate = wxPyBeginAllowThreads();
27831 result = (wxPrinter *)new wxPrinter(arg1);
27832 wxPyEndAllowThreads(__tstate);
27833 if (PyErr_Occurred()) SWIG_fail;
27834 }
27835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27836 return resultobj;
27837 fail:
27838 return NULL;
27839 }
27840
27841
27842 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27843 PyObject *resultobj = 0;
27844 wxPrinter *arg1 = (wxPrinter *) 0 ;
27845 void *argp1 = 0 ;
27846 int res1 = 0 ;
27847 PyObject *swig_obj[1] ;
27848
27849 if (!args) SWIG_fail;
27850 swig_obj[0] = args;
27851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27852 if (!SWIG_IsOK(res1)) {
27853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27854 }
27855 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27856 {
27857 PyThreadState* __tstate = wxPyBeginAllowThreads();
27858 delete arg1;
27859
27860 wxPyEndAllowThreads(__tstate);
27861 if (PyErr_Occurred()) SWIG_fail;
27862 }
27863 resultobj = SWIG_Py_Void();
27864 return resultobj;
27865 fail:
27866 return NULL;
27867 }
27868
27869
27870 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27871 PyObject *resultobj = 0;
27872 wxPrinter *arg1 = (wxPrinter *) 0 ;
27873 wxWindow *arg2 = (wxWindow *) 0 ;
27874 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27875 wxWindow *result = 0 ;
27876 void *argp1 = 0 ;
27877 int res1 = 0 ;
27878 void *argp2 = 0 ;
27879 int res2 = 0 ;
27880 void *argp3 = 0 ;
27881 int res3 = 0 ;
27882 PyObject * obj0 = 0 ;
27883 PyObject * obj1 = 0 ;
27884 PyObject * obj2 = 0 ;
27885 char * kwnames[] = {
27886 (char *) "self",(char *) "parent",(char *) "printout", NULL
27887 };
27888
27889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27891 if (!SWIG_IsOK(res1)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27893 }
27894 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27895 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27896 if (!SWIG_IsOK(res2)) {
27897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27898 }
27899 arg2 = reinterpret_cast< wxWindow * >(argp2);
27900 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27901 if (!SWIG_IsOK(res3)) {
27902 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27903 }
27904 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27905 {
27906 PyThreadState* __tstate = wxPyBeginAllowThreads();
27907 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27908 wxPyEndAllowThreads(__tstate);
27909 if (PyErr_Occurred()) SWIG_fail;
27910 }
27911 {
27912 resultobj = wxPyMake_wxObject(result, 0);
27913 }
27914 return resultobj;
27915 fail:
27916 return NULL;
27917 }
27918
27919
27920 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27921 PyObject *resultobj = 0;
27922 wxPrinter *arg1 = (wxPrinter *) 0 ;
27923 wxWindow *arg2 = (wxWindow *) 0 ;
27924 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27925 wxString *arg4 = 0 ;
27926 void *argp1 = 0 ;
27927 int res1 = 0 ;
27928 void *argp2 = 0 ;
27929 int res2 = 0 ;
27930 void *argp3 = 0 ;
27931 int res3 = 0 ;
27932 bool temp4 = false ;
27933 PyObject * obj0 = 0 ;
27934 PyObject * obj1 = 0 ;
27935 PyObject * obj2 = 0 ;
27936 PyObject * obj3 = 0 ;
27937 char * kwnames[] = {
27938 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27939 };
27940
27941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27943 if (!SWIG_IsOK(res1)) {
27944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27945 }
27946 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27947 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27948 if (!SWIG_IsOK(res2)) {
27949 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27950 }
27951 arg2 = reinterpret_cast< wxWindow * >(argp2);
27952 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27953 if (!SWIG_IsOK(res3)) {
27954 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27955 }
27956 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27957 {
27958 arg4 = wxString_in_helper(obj3);
27959 if (arg4 == NULL) SWIG_fail;
27960 temp4 = true;
27961 }
27962 {
27963 PyThreadState* __tstate = wxPyBeginAllowThreads();
27964 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27965 wxPyEndAllowThreads(__tstate);
27966 if (PyErr_Occurred()) SWIG_fail;
27967 }
27968 resultobj = SWIG_Py_Void();
27969 {
27970 if (temp4)
27971 delete arg4;
27972 }
27973 return resultobj;
27974 fail:
27975 {
27976 if (temp4)
27977 delete arg4;
27978 }
27979 return NULL;
27980 }
27981
27982
27983 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27984 PyObject *resultobj = 0;
27985 wxPrinter *arg1 = (wxPrinter *) 0 ;
27986 wxWindow *arg2 = (wxWindow *) 0 ;
27987 bool result;
27988 void *argp1 = 0 ;
27989 int res1 = 0 ;
27990 void *argp2 = 0 ;
27991 int res2 = 0 ;
27992 PyObject * obj0 = 0 ;
27993 PyObject * obj1 = 0 ;
27994 char * kwnames[] = {
27995 (char *) "self",(char *) "parent", NULL
27996 };
27997
27998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28000 if (!SWIG_IsOK(res1)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
28002 }
28003 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28004 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28005 if (!SWIG_IsOK(res2)) {
28006 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
28007 }
28008 arg2 = reinterpret_cast< wxWindow * >(argp2);
28009 {
28010 PyThreadState* __tstate = wxPyBeginAllowThreads();
28011 result = (bool)(arg1)->Setup(arg2);
28012 wxPyEndAllowThreads(__tstate);
28013 if (PyErr_Occurred()) SWIG_fail;
28014 }
28015 {
28016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28017 }
28018 return resultobj;
28019 fail:
28020 return NULL;
28021 }
28022
28023
28024 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28025 PyObject *resultobj = 0;
28026 wxPrinter *arg1 = (wxPrinter *) 0 ;
28027 wxWindow *arg2 = (wxWindow *) 0 ;
28028 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
28029 bool arg4 = (bool) true ;
28030 bool result;
28031 void *argp1 = 0 ;
28032 int res1 = 0 ;
28033 void *argp2 = 0 ;
28034 int res2 = 0 ;
28035 void *argp3 = 0 ;
28036 int res3 = 0 ;
28037 bool val4 ;
28038 int ecode4 = 0 ;
28039 PyObject * obj0 = 0 ;
28040 PyObject * obj1 = 0 ;
28041 PyObject * obj2 = 0 ;
28042 PyObject * obj3 = 0 ;
28043 char * kwnames[] = {
28044 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
28045 };
28046
28047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
28048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28049 if (!SWIG_IsOK(res1)) {
28050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
28051 }
28052 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28053 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28054 if (!SWIG_IsOK(res2)) {
28055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
28056 }
28057 arg2 = reinterpret_cast< wxWindow * >(argp2);
28058 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28059 if (!SWIG_IsOK(res3)) {
28060 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
28061 }
28062 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
28063 if (obj3) {
28064 ecode4 = SWIG_AsVal_bool(obj3, &val4);
28065 if (!SWIG_IsOK(ecode4)) {
28066 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
28067 }
28068 arg4 = static_cast< bool >(val4);
28069 }
28070 {
28071 PyThreadState* __tstate = wxPyBeginAllowThreads();
28072 result = (bool)(arg1)->Print(arg2,arg3,arg4);
28073 wxPyEndAllowThreads(__tstate);
28074 if (PyErr_Occurred()) SWIG_fail;
28075 }
28076 {
28077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28078 }
28079 return resultobj;
28080 fail:
28081 return NULL;
28082 }
28083
28084
28085 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28086 PyObject *resultobj = 0;
28087 wxPrinter *arg1 = (wxPrinter *) 0 ;
28088 wxWindow *arg2 = (wxWindow *) 0 ;
28089 wxDC *result = 0 ;
28090 void *argp1 = 0 ;
28091 int res1 = 0 ;
28092 void *argp2 = 0 ;
28093 int res2 = 0 ;
28094 PyObject * obj0 = 0 ;
28095 PyObject * obj1 = 0 ;
28096 char * kwnames[] = {
28097 (char *) "self",(char *) "parent", NULL
28098 };
28099
28100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
28101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28102 if (!SWIG_IsOK(res1)) {
28103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
28104 }
28105 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28106 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28107 if (!SWIG_IsOK(res2)) {
28108 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
28109 }
28110 arg2 = reinterpret_cast< wxWindow * >(argp2);
28111 {
28112 PyThreadState* __tstate = wxPyBeginAllowThreads();
28113 result = (wxDC *)(arg1)->PrintDialog(arg2);
28114 wxPyEndAllowThreads(__tstate);
28115 if (PyErr_Occurred()) SWIG_fail;
28116 }
28117 {
28118 resultobj = wxPyMake_wxObject(result, (bool)0);
28119 }
28120 return resultobj;
28121 fail:
28122 return NULL;
28123 }
28124
28125
28126 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28127 PyObject *resultobj = 0;
28128 wxPrinter *arg1 = (wxPrinter *) 0 ;
28129 wxPrintDialogData *result = 0 ;
28130 void *argp1 = 0 ;
28131 int res1 = 0 ;
28132 PyObject *swig_obj[1] ;
28133
28134 if (!args) SWIG_fail;
28135 swig_obj[0] = args;
28136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28137 if (!SWIG_IsOK(res1)) {
28138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
28139 }
28140 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28141 {
28142 PyThreadState* __tstate = wxPyBeginAllowThreads();
28143 {
28144 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
28145 result = (wxPrintDialogData *) &_result_ref;
28146 }
28147 wxPyEndAllowThreads(__tstate);
28148 if (PyErr_Occurred()) SWIG_fail;
28149 }
28150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28151 return resultobj;
28152 fail:
28153 return NULL;
28154 }
28155
28156
28157 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28158 PyObject *resultobj = 0;
28159 wxPrinter *arg1 = (wxPrinter *) 0 ;
28160 bool result;
28161 void *argp1 = 0 ;
28162 int res1 = 0 ;
28163 PyObject *swig_obj[1] ;
28164
28165 if (!args) SWIG_fail;
28166 swig_obj[0] = args;
28167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28168 if (!SWIG_IsOK(res1)) {
28169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
28170 }
28171 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28172 {
28173 PyThreadState* __tstate = wxPyBeginAllowThreads();
28174 result = (bool)(arg1)->GetAbort();
28175 wxPyEndAllowThreads(__tstate);
28176 if (PyErr_Occurred()) SWIG_fail;
28177 }
28178 {
28179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28180 }
28181 return resultobj;
28182 fail:
28183 return NULL;
28184 }
28185
28186
28187 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28188 PyObject *resultobj = 0;
28189 wxPrinterError result;
28190
28191 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
28192 {
28193 PyThreadState* __tstate = wxPyBeginAllowThreads();
28194 result = (wxPrinterError)wxPrinter::GetLastError();
28195 wxPyEndAllowThreads(__tstate);
28196 if (PyErr_Occurred()) SWIG_fail;
28197 }
28198 resultobj = SWIG_From_int(static_cast< int >(result));
28199 return resultobj;
28200 fail:
28201 return NULL;
28202 }
28203
28204
28205 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28206 PyObject *obj;
28207 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28208 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
28209 return SWIG_Py_Void();
28210 }
28211
28212 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28213 return SWIG_Python_InitShadowInstance(args);
28214 }
28215
28216 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28217 PyObject *resultobj = 0;
28218 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
28219 wxString *arg1 = (wxString *) &arg1_defvalue ;
28220 wxPyPrintout *result = 0 ;
28221 bool temp1 = false ;
28222 PyObject * obj0 = 0 ;
28223 char * kwnames[] = {
28224 (char *) "title", NULL
28225 };
28226
28227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
28228 if (obj0) {
28229 {
28230 arg1 = wxString_in_helper(obj0);
28231 if (arg1 == NULL) SWIG_fail;
28232 temp1 = true;
28233 }
28234 }
28235 {
28236 if (!wxPyCheckForApp()) SWIG_fail;
28237 PyThreadState* __tstate = wxPyBeginAllowThreads();
28238 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
28239 wxPyEndAllowThreads(__tstate);
28240 if (PyErr_Occurred()) SWIG_fail;
28241 }
28242 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
28243 {
28244 if (temp1)
28245 delete arg1;
28246 }
28247 return resultobj;
28248 fail:
28249 {
28250 if (temp1)
28251 delete arg1;
28252 }
28253 return NULL;
28254 }
28255
28256
28257 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28258 PyObject *resultobj = 0;
28259 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28260 void *argp1 = 0 ;
28261 int res1 = 0 ;
28262 PyObject *swig_obj[1] ;
28263
28264 if (!args) SWIG_fail;
28265 swig_obj[0] = args;
28266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28267 if (!SWIG_IsOK(res1)) {
28268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28269 }
28270 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28271 {
28272 PyThreadState* __tstate = wxPyBeginAllowThreads();
28273 delete arg1;
28274
28275 wxPyEndAllowThreads(__tstate);
28276 if (PyErr_Occurred()) SWIG_fail;
28277 }
28278 resultobj = SWIG_Py_Void();
28279 return resultobj;
28280 fail:
28281 return NULL;
28282 }
28283
28284
28285 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28286 PyObject *resultobj = 0;
28287 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28288 PyObject *arg2 = (PyObject *) 0 ;
28289 PyObject *arg3 = (PyObject *) 0 ;
28290 void *argp1 = 0 ;
28291 int res1 = 0 ;
28292 PyObject * obj0 = 0 ;
28293 PyObject * obj1 = 0 ;
28294 PyObject * obj2 = 0 ;
28295 char * kwnames[] = {
28296 (char *) "self",(char *) "self",(char *) "_class", NULL
28297 };
28298
28299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28301 if (!SWIG_IsOK(res1)) {
28302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28303 }
28304 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28305 arg2 = obj1;
28306 arg3 = obj2;
28307 {
28308 PyThreadState* __tstate = wxPyBeginAllowThreads();
28309 (arg1)->_setCallbackInfo(arg2,arg3);
28310 wxPyEndAllowThreads(__tstate);
28311 if (PyErr_Occurred()) SWIG_fail;
28312 }
28313 resultobj = SWIG_Py_Void();
28314 return resultobj;
28315 fail:
28316 return NULL;
28317 }
28318
28319
28320 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28321 PyObject *resultobj = 0;
28322 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28323 wxString result;
28324 void *argp1 = 0 ;
28325 int res1 = 0 ;
28326 PyObject *swig_obj[1] ;
28327
28328 if (!args) SWIG_fail;
28329 swig_obj[0] = args;
28330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28331 if (!SWIG_IsOK(res1)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28333 }
28334 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28335 {
28336 PyThreadState* __tstate = wxPyBeginAllowThreads();
28337 result = ((wxPyPrintout const *)arg1)->GetTitle();
28338 wxPyEndAllowThreads(__tstate);
28339 if (PyErr_Occurred()) SWIG_fail;
28340 }
28341 {
28342 #if wxUSE_UNICODE
28343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28344 #else
28345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28346 #endif
28347 }
28348 return resultobj;
28349 fail:
28350 return NULL;
28351 }
28352
28353
28354 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28355 PyObject *resultobj = 0;
28356 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28357 wxDC *result = 0 ;
28358 void *argp1 = 0 ;
28359 int res1 = 0 ;
28360 PyObject *swig_obj[1] ;
28361
28362 if (!args) SWIG_fail;
28363 swig_obj[0] = args;
28364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28365 if (!SWIG_IsOK(res1)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28367 }
28368 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28369 {
28370 PyThreadState* __tstate = wxPyBeginAllowThreads();
28371 result = (wxDC *)(arg1)->GetDC();
28372 wxPyEndAllowThreads(__tstate);
28373 if (PyErr_Occurred()) SWIG_fail;
28374 }
28375 {
28376 resultobj = wxPyMake_wxObject(result, (bool)0);
28377 }
28378 return resultobj;
28379 fail:
28380 return NULL;
28381 }
28382
28383
28384 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28385 PyObject *resultobj = 0;
28386 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28387 wxDC *arg2 = (wxDC *) 0 ;
28388 void *argp1 = 0 ;
28389 int res1 = 0 ;
28390 void *argp2 = 0 ;
28391 int res2 = 0 ;
28392 PyObject * obj0 = 0 ;
28393 PyObject * obj1 = 0 ;
28394 char * kwnames[] = {
28395 (char *) "self",(char *) "dc", NULL
28396 };
28397
28398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28400 if (!SWIG_IsOK(res1)) {
28401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28402 }
28403 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28404 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28405 if (!SWIG_IsOK(res2)) {
28406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28407 }
28408 arg2 = reinterpret_cast< wxDC * >(argp2);
28409 {
28410 PyThreadState* __tstate = wxPyBeginAllowThreads();
28411 (arg1)->SetDC(arg2);
28412 wxPyEndAllowThreads(__tstate);
28413 if (PyErr_Occurred()) SWIG_fail;
28414 }
28415 resultobj = SWIG_Py_Void();
28416 return resultobj;
28417 fail:
28418 return NULL;
28419 }
28420
28421
28422 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28423 PyObject *resultobj = 0;
28424 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28425 wxSize *arg2 = 0 ;
28426 void *argp1 = 0 ;
28427 int res1 = 0 ;
28428 wxSize temp2 ;
28429 PyObject * obj0 = 0 ;
28430 PyObject * obj1 = 0 ;
28431 char * kwnames[] = {
28432 (char *) "self",(char *) "imageSize", NULL
28433 };
28434
28435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28437 if (!SWIG_IsOK(res1)) {
28438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28439 }
28440 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28441 {
28442 arg2 = &temp2;
28443 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28444 }
28445 {
28446 PyThreadState* __tstate = wxPyBeginAllowThreads();
28447 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28448 wxPyEndAllowThreads(__tstate);
28449 if (PyErr_Occurred()) SWIG_fail;
28450 }
28451 resultobj = SWIG_Py_Void();
28452 return resultobj;
28453 fail:
28454 return NULL;
28455 }
28456
28457
28458 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28459 PyObject *resultobj = 0;
28460 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28461 wxSize *arg2 = 0 ;
28462 void *argp1 = 0 ;
28463 int res1 = 0 ;
28464 wxSize temp2 ;
28465 PyObject * obj0 = 0 ;
28466 PyObject * obj1 = 0 ;
28467 char * kwnames[] = {
28468 (char *) "self",(char *) "imageSize", NULL
28469 };
28470
28471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28473 if (!SWIG_IsOK(res1)) {
28474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28475 }
28476 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28477 {
28478 arg2 = &temp2;
28479 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28480 }
28481 {
28482 PyThreadState* __tstate = wxPyBeginAllowThreads();
28483 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28484 wxPyEndAllowThreads(__tstate);
28485 if (PyErr_Occurred()) SWIG_fail;
28486 }
28487 resultobj = SWIG_Py_Void();
28488 return resultobj;
28489 fail:
28490 return NULL;
28491 }
28492
28493
28494 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28495 PyObject *resultobj = 0;
28496 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28497 wxSize *arg2 = 0 ;
28498 wxPageSetupDialogData *arg3 = 0 ;
28499 void *argp1 = 0 ;
28500 int res1 = 0 ;
28501 wxSize temp2 ;
28502 void *argp3 = 0 ;
28503 int res3 = 0 ;
28504 PyObject * obj0 = 0 ;
28505 PyObject * obj1 = 0 ;
28506 PyObject * obj2 = 0 ;
28507 char * kwnames[] = {
28508 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28509 };
28510
28511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28513 if (!SWIG_IsOK(res1)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28515 }
28516 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28517 {
28518 arg2 = &temp2;
28519 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28520 }
28521 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28522 if (!SWIG_IsOK(res3)) {
28523 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28524 }
28525 if (!argp3) {
28526 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28527 }
28528 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28529 {
28530 PyThreadState* __tstate = wxPyBeginAllowThreads();
28531 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28532 wxPyEndAllowThreads(__tstate);
28533 if (PyErr_Occurred()) SWIG_fail;
28534 }
28535 resultobj = SWIG_Py_Void();
28536 return resultobj;
28537 fail:
28538 return NULL;
28539 }
28540
28541
28542 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28543 PyObject *resultobj = 0;
28544 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28545 void *argp1 = 0 ;
28546 int res1 = 0 ;
28547 PyObject *swig_obj[1] ;
28548
28549 if (!args) SWIG_fail;
28550 swig_obj[0] = args;
28551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28552 if (!SWIG_IsOK(res1)) {
28553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28554 }
28555 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28556 {
28557 PyThreadState* __tstate = wxPyBeginAllowThreads();
28558 (arg1)->MapScreenSizeToPaper();
28559 wxPyEndAllowThreads(__tstate);
28560 if (PyErr_Occurred()) SWIG_fail;
28561 }
28562 resultobj = SWIG_Py_Void();
28563 return resultobj;
28564 fail:
28565 return NULL;
28566 }
28567
28568
28569 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28570 PyObject *resultobj = 0;
28571 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28572 void *argp1 = 0 ;
28573 int res1 = 0 ;
28574 PyObject *swig_obj[1] ;
28575
28576 if (!args) SWIG_fail;
28577 swig_obj[0] = args;
28578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28579 if (!SWIG_IsOK(res1)) {
28580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28581 }
28582 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28583 {
28584 PyThreadState* __tstate = wxPyBeginAllowThreads();
28585 (arg1)->MapScreenSizeToPage();
28586 wxPyEndAllowThreads(__tstate);
28587 if (PyErr_Occurred()) SWIG_fail;
28588 }
28589 resultobj = SWIG_Py_Void();
28590 return resultobj;
28591 fail:
28592 return NULL;
28593 }
28594
28595
28596 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28597 PyObject *resultobj = 0;
28598 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28599 wxPageSetupDialogData *arg2 = 0 ;
28600 void *argp1 = 0 ;
28601 int res1 = 0 ;
28602 void *argp2 = 0 ;
28603 int res2 = 0 ;
28604 PyObject * obj0 = 0 ;
28605 PyObject * obj1 = 0 ;
28606 char * kwnames[] = {
28607 (char *) "self",(char *) "pageSetupData", NULL
28608 };
28609
28610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28612 if (!SWIG_IsOK(res1)) {
28613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28614 }
28615 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28616 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28617 if (!SWIG_IsOK(res2)) {
28618 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28619 }
28620 if (!argp2) {
28621 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28622 }
28623 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28624 {
28625 PyThreadState* __tstate = wxPyBeginAllowThreads();
28626 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28627 wxPyEndAllowThreads(__tstate);
28628 if (PyErr_Occurred()) SWIG_fail;
28629 }
28630 resultobj = SWIG_Py_Void();
28631 return resultobj;
28632 fail:
28633 return NULL;
28634 }
28635
28636
28637 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28638 PyObject *resultobj = 0;
28639 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28640 void *argp1 = 0 ;
28641 int res1 = 0 ;
28642 PyObject *swig_obj[1] ;
28643
28644 if (!args) SWIG_fail;
28645 swig_obj[0] = args;
28646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28647 if (!SWIG_IsOK(res1)) {
28648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28649 }
28650 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28651 {
28652 PyThreadState* __tstate = wxPyBeginAllowThreads();
28653 (arg1)->MapScreenSizeToDevice();
28654 wxPyEndAllowThreads(__tstate);
28655 if (PyErr_Occurred()) SWIG_fail;
28656 }
28657 resultobj = SWIG_Py_Void();
28658 return resultobj;
28659 fail:
28660 return NULL;
28661 }
28662
28663
28664 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28665 PyObject *resultobj = 0;
28666 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28667 wxRect result;
28668 void *argp1 = 0 ;
28669 int res1 = 0 ;
28670 PyObject *swig_obj[1] ;
28671
28672 if (!args) SWIG_fail;
28673 swig_obj[0] = args;
28674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28675 if (!SWIG_IsOK(res1)) {
28676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28677 }
28678 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28679 {
28680 PyThreadState* __tstate = wxPyBeginAllowThreads();
28681 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28682 wxPyEndAllowThreads(__tstate);
28683 if (PyErr_Occurred()) SWIG_fail;
28684 }
28685 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28686 return resultobj;
28687 fail:
28688 return NULL;
28689 }
28690
28691
28692 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28693 PyObject *resultobj = 0;
28694 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28695 wxRect result;
28696 void *argp1 = 0 ;
28697 int res1 = 0 ;
28698 PyObject *swig_obj[1] ;
28699
28700 if (!args) SWIG_fail;
28701 swig_obj[0] = args;
28702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28703 if (!SWIG_IsOK(res1)) {
28704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28705 }
28706 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28707 {
28708 PyThreadState* __tstate = wxPyBeginAllowThreads();
28709 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28710 wxPyEndAllowThreads(__tstate);
28711 if (PyErr_Occurred()) SWIG_fail;
28712 }
28713 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28714 return resultobj;
28715 fail:
28716 return NULL;
28717 }
28718
28719
28720 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28721 PyObject *resultobj = 0;
28722 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28723 wxPageSetupDialogData *arg2 = 0 ;
28724 wxRect result;
28725 void *argp1 = 0 ;
28726 int res1 = 0 ;
28727 void *argp2 = 0 ;
28728 int res2 = 0 ;
28729 PyObject * obj0 = 0 ;
28730 PyObject * obj1 = 0 ;
28731 char * kwnames[] = {
28732 (char *) "self",(char *) "pageSetupData", NULL
28733 };
28734
28735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28737 if (!SWIG_IsOK(res1)) {
28738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28739 }
28740 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28741 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28742 if (!SWIG_IsOK(res2)) {
28743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28744 }
28745 if (!argp2) {
28746 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28747 }
28748 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28749 {
28750 PyThreadState* __tstate = wxPyBeginAllowThreads();
28751 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28752 wxPyEndAllowThreads(__tstate);
28753 if (PyErr_Occurred()) SWIG_fail;
28754 }
28755 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28756 return resultobj;
28757 fail:
28758 return NULL;
28759 }
28760
28761
28762 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28763 PyObject *resultobj = 0;
28764 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28765 int arg2 ;
28766 int arg3 ;
28767 void *argp1 = 0 ;
28768 int res1 = 0 ;
28769 int val2 ;
28770 int ecode2 = 0 ;
28771 int val3 ;
28772 int ecode3 = 0 ;
28773 PyObject * obj0 = 0 ;
28774 PyObject * obj1 = 0 ;
28775 PyObject * obj2 = 0 ;
28776 char * kwnames[] = {
28777 (char *) "self",(char *) "x",(char *) "y", NULL
28778 };
28779
28780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28782 if (!SWIG_IsOK(res1)) {
28783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28784 }
28785 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28786 ecode2 = SWIG_AsVal_int(obj1, &val2);
28787 if (!SWIG_IsOK(ecode2)) {
28788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28789 }
28790 arg2 = static_cast< int >(val2);
28791 ecode3 = SWIG_AsVal_int(obj2, &val3);
28792 if (!SWIG_IsOK(ecode3)) {
28793 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28794 }
28795 arg3 = static_cast< int >(val3);
28796 {
28797 PyThreadState* __tstate = wxPyBeginAllowThreads();
28798 (arg1)->SetLogicalOrigin(arg2,arg3);
28799 wxPyEndAllowThreads(__tstate);
28800 if (PyErr_Occurred()) SWIG_fail;
28801 }
28802 resultobj = SWIG_Py_Void();
28803 return resultobj;
28804 fail:
28805 return NULL;
28806 }
28807
28808
28809 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28810 PyObject *resultobj = 0;
28811 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28812 int arg2 ;
28813 int arg3 ;
28814 void *argp1 = 0 ;
28815 int res1 = 0 ;
28816 int val2 ;
28817 int ecode2 = 0 ;
28818 int val3 ;
28819 int ecode3 = 0 ;
28820 PyObject * obj0 = 0 ;
28821 PyObject * obj1 = 0 ;
28822 PyObject * obj2 = 0 ;
28823 char * kwnames[] = {
28824 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28825 };
28826
28827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28829 if (!SWIG_IsOK(res1)) {
28830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28831 }
28832 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28833 ecode2 = SWIG_AsVal_int(obj1, &val2);
28834 if (!SWIG_IsOK(ecode2)) {
28835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28836 }
28837 arg2 = static_cast< int >(val2);
28838 ecode3 = SWIG_AsVal_int(obj2, &val3);
28839 if (!SWIG_IsOK(ecode3)) {
28840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28841 }
28842 arg3 = static_cast< int >(val3);
28843 {
28844 PyThreadState* __tstate = wxPyBeginAllowThreads();
28845 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28846 wxPyEndAllowThreads(__tstate);
28847 if (PyErr_Occurred()) SWIG_fail;
28848 }
28849 resultobj = SWIG_Py_Void();
28850 return resultobj;
28851 fail:
28852 return NULL;
28853 }
28854
28855
28856 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28857 PyObject *resultobj = 0;
28858 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28859 int arg2 ;
28860 int arg3 ;
28861 void *argp1 = 0 ;
28862 int res1 = 0 ;
28863 int val2 ;
28864 int ecode2 = 0 ;
28865 int val3 ;
28866 int ecode3 = 0 ;
28867 PyObject * obj0 = 0 ;
28868 PyObject * obj1 = 0 ;
28869 PyObject * obj2 = 0 ;
28870 char * kwnames[] = {
28871 (char *) "self",(char *) "w",(char *) "h", NULL
28872 };
28873
28874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28876 if (!SWIG_IsOK(res1)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28878 }
28879 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28880 ecode2 = SWIG_AsVal_int(obj1, &val2);
28881 if (!SWIG_IsOK(ecode2)) {
28882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28883 }
28884 arg2 = static_cast< int >(val2);
28885 ecode3 = SWIG_AsVal_int(obj2, &val3);
28886 if (!SWIG_IsOK(ecode3)) {
28887 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28888 }
28889 arg3 = static_cast< int >(val3);
28890 {
28891 PyThreadState* __tstate = wxPyBeginAllowThreads();
28892 (arg1)->SetPageSizePixels(arg2,arg3);
28893 wxPyEndAllowThreads(__tstate);
28894 if (PyErr_Occurred()) SWIG_fail;
28895 }
28896 resultobj = SWIG_Py_Void();
28897 return resultobj;
28898 fail:
28899 return NULL;
28900 }
28901
28902
28903 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28904 PyObject *resultobj = 0;
28905 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28906 int *arg2 = (int *) 0 ;
28907 int *arg3 = (int *) 0 ;
28908 void *argp1 = 0 ;
28909 int res1 = 0 ;
28910 int temp2 ;
28911 int res2 = SWIG_TMPOBJ ;
28912 int temp3 ;
28913 int res3 = SWIG_TMPOBJ ;
28914 PyObject *swig_obj[1] ;
28915
28916 arg2 = &temp2;
28917 arg3 = &temp3;
28918 if (!args) SWIG_fail;
28919 swig_obj[0] = args;
28920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28921 if (!SWIG_IsOK(res1)) {
28922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28923 }
28924 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28925 {
28926 PyThreadState* __tstate = wxPyBeginAllowThreads();
28927 (arg1)->GetPageSizePixels(arg2,arg3);
28928 wxPyEndAllowThreads(__tstate);
28929 if (PyErr_Occurred()) SWIG_fail;
28930 }
28931 resultobj = SWIG_Py_Void();
28932 if (SWIG_IsTmpObj(res2)) {
28933 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28934 } else {
28935 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28936 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28937 }
28938 if (SWIG_IsTmpObj(res3)) {
28939 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28940 } else {
28941 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28942 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28943 }
28944 return resultobj;
28945 fail:
28946 return NULL;
28947 }
28948
28949
28950 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28951 PyObject *resultobj = 0;
28952 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28953 int arg2 ;
28954 int arg3 ;
28955 void *argp1 = 0 ;
28956 int res1 = 0 ;
28957 int val2 ;
28958 int ecode2 = 0 ;
28959 int val3 ;
28960 int ecode3 = 0 ;
28961 PyObject * obj0 = 0 ;
28962 PyObject * obj1 = 0 ;
28963 PyObject * obj2 = 0 ;
28964 char * kwnames[] = {
28965 (char *) "self",(char *) "w",(char *) "h", NULL
28966 };
28967
28968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28970 if (!SWIG_IsOK(res1)) {
28971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28972 }
28973 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28974 ecode2 = SWIG_AsVal_int(obj1, &val2);
28975 if (!SWIG_IsOK(ecode2)) {
28976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28977 }
28978 arg2 = static_cast< int >(val2);
28979 ecode3 = SWIG_AsVal_int(obj2, &val3);
28980 if (!SWIG_IsOK(ecode3)) {
28981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28982 }
28983 arg3 = static_cast< int >(val3);
28984 {
28985 PyThreadState* __tstate = wxPyBeginAllowThreads();
28986 (arg1)->SetPageSizeMM(arg2,arg3);
28987 wxPyEndAllowThreads(__tstate);
28988 if (PyErr_Occurred()) SWIG_fail;
28989 }
28990 resultobj = SWIG_Py_Void();
28991 return resultobj;
28992 fail:
28993 return NULL;
28994 }
28995
28996
28997 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28998 PyObject *resultobj = 0;
28999 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29000 int *arg2 = (int *) 0 ;
29001 int *arg3 = (int *) 0 ;
29002 void *argp1 = 0 ;
29003 int res1 = 0 ;
29004 int temp2 ;
29005 int res2 = SWIG_TMPOBJ ;
29006 int temp3 ;
29007 int res3 = SWIG_TMPOBJ ;
29008 PyObject *swig_obj[1] ;
29009
29010 arg2 = &temp2;
29011 arg3 = &temp3;
29012 if (!args) SWIG_fail;
29013 swig_obj[0] = args;
29014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29015 if (!SWIG_IsOK(res1)) {
29016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29017 }
29018 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29019 {
29020 PyThreadState* __tstate = wxPyBeginAllowThreads();
29021 (arg1)->GetPageSizeMM(arg2,arg3);
29022 wxPyEndAllowThreads(__tstate);
29023 if (PyErr_Occurred()) SWIG_fail;
29024 }
29025 resultobj = SWIG_Py_Void();
29026 if (SWIG_IsTmpObj(res2)) {
29027 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29028 } else {
29029 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29030 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29031 }
29032 if (SWIG_IsTmpObj(res3)) {
29033 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29034 } else {
29035 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29036 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29037 }
29038 return resultobj;
29039 fail:
29040 return NULL;
29041 }
29042
29043
29044 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29045 PyObject *resultobj = 0;
29046 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29047 int arg2 ;
29048 int arg3 ;
29049 void *argp1 = 0 ;
29050 int res1 = 0 ;
29051 int val2 ;
29052 int ecode2 = 0 ;
29053 int val3 ;
29054 int ecode3 = 0 ;
29055 PyObject * obj0 = 0 ;
29056 PyObject * obj1 = 0 ;
29057 PyObject * obj2 = 0 ;
29058 char * kwnames[] = {
29059 (char *) "self",(char *) "x",(char *) "y", NULL
29060 };
29061
29062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29064 if (!SWIG_IsOK(res1)) {
29065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29066 }
29067 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29068 ecode2 = SWIG_AsVal_int(obj1, &val2);
29069 if (!SWIG_IsOK(ecode2)) {
29070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
29071 }
29072 arg2 = static_cast< int >(val2);
29073 ecode3 = SWIG_AsVal_int(obj2, &val3);
29074 if (!SWIG_IsOK(ecode3)) {
29075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
29076 }
29077 arg3 = static_cast< int >(val3);
29078 {
29079 PyThreadState* __tstate = wxPyBeginAllowThreads();
29080 (arg1)->SetPPIScreen(arg2,arg3);
29081 wxPyEndAllowThreads(__tstate);
29082 if (PyErr_Occurred()) SWIG_fail;
29083 }
29084 resultobj = SWIG_Py_Void();
29085 return resultobj;
29086 fail:
29087 return NULL;
29088 }
29089
29090
29091 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29092 PyObject *resultobj = 0;
29093 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29094 int *arg2 = (int *) 0 ;
29095 int *arg3 = (int *) 0 ;
29096 void *argp1 = 0 ;
29097 int res1 = 0 ;
29098 int temp2 ;
29099 int res2 = SWIG_TMPOBJ ;
29100 int temp3 ;
29101 int res3 = SWIG_TMPOBJ ;
29102 PyObject *swig_obj[1] ;
29103
29104 arg2 = &temp2;
29105 arg3 = &temp3;
29106 if (!args) SWIG_fail;
29107 swig_obj[0] = args;
29108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29109 if (!SWIG_IsOK(res1)) {
29110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29111 }
29112 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29113 {
29114 PyThreadState* __tstate = wxPyBeginAllowThreads();
29115 (arg1)->GetPPIScreen(arg2,arg3);
29116 wxPyEndAllowThreads(__tstate);
29117 if (PyErr_Occurred()) SWIG_fail;
29118 }
29119 resultobj = SWIG_Py_Void();
29120 if (SWIG_IsTmpObj(res2)) {
29121 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29122 } else {
29123 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29124 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29125 }
29126 if (SWIG_IsTmpObj(res3)) {
29127 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29128 } else {
29129 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29130 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29131 }
29132 return resultobj;
29133 fail:
29134 return NULL;
29135 }
29136
29137
29138 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29139 PyObject *resultobj = 0;
29140 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29141 int arg2 ;
29142 int arg3 ;
29143 void *argp1 = 0 ;
29144 int res1 = 0 ;
29145 int val2 ;
29146 int ecode2 = 0 ;
29147 int val3 ;
29148 int ecode3 = 0 ;
29149 PyObject * obj0 = 0 ;
29150 PyObject * obj1 = 0 ;
29151 PyObject * obj2 = 0 ;
29152 char * kwnames[] = {
29153 (char *) "self",(char *) "x",(char *) "y", NULL
29154 };
29155
29156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29158 if (!SWIG_IsOK(res1)) {
29159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29160 }
29161 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29162 ecode2 = SWIG_AsVal_int(obj1, &val2);
29163 if (!SWIG_IsOK(ecode2)) {
29164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
29165 }
29166 arg2 = static_cast< int >(val2);
29167 ecode3 = SWIG_AsVal_int(obj2, &val3);
29168 if (!SWIG_IsOK(ecode3)) {
29169 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
29170 }
29171 arg3 = static_cast< int >(val3);
29172 {
29173 PyThreadState* __tstate = wxPyBeginAllowThreads();
29174 (arg1)->SetPPIPrinter(arg2,arg3);
29175 wxPyEndAllowThreads(__tstate);
29176 if (PyErr_Occurred()) SWIG_fail;
29177 }
29178 resultobj = SWIG_Py_Void();
29179 return resultobj;
29180 fail:
29181 return NULL;
29182 }
29183
29184
29185 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29186 PyObject *resultobj = 0;
29187 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29188 int *arg2 = (int *) 0 ;
29189 int *arg3 = (int *) 0 ;
29190 void *argp1 = 0 ;
29191 int res1 = 0 ;
29192 int temp2 ;
29193 int res2 = SWIG_TMPOBJ ;
29194 int temp3 ;
29195 int res3 = SWIG_TMPOBJ ;
29196 PyObject *swig_obj[1] ;
29197
29198 arg2 = &temp2;
29199 arg3 = &temp3;
29200 if (!args) SWIG_fail;
29201 swig_obj[0] = args;
29202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29203 if (!SWIG_IsOK(res1)) {
29204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29205 }
29206 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29207 {
29208 PyThreadState* __tstate = wxPyBeginAllowThreads();
29209 (arg1)->GetPPIPrinter(arg2,arg3);
29210 wxPyEndAllowThreads(__tstate);
29211 if (PyErr_Occurred()) SWIG_fail;
29212 }
29213 resultobj = SWIG_Py_Void();
29214 if (SWIG_IsTmpObj(res2)) {
29215 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29216 } else {
29217 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29218 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29219 }
29220 if (SWIG_IsTmpObj(res3)) {
29221 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29222 } else {
29223 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29224 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29225 }
29226 return resultobj;
29227 fail:
29228 return NULL;
29229 }
29230
29231
29232 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29233 PyObject *resultobj = 0;
29234 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29235 wxRect *arg2 = 0 ;
29236 void *argp1 = 0 ;
29237 int res1 = 0 ;
29238 wxRect temp2 ;
29239 PyObject * obj0 = 0 ;
29240 PyObject * obj1 = 0 ;
29241 char * kwnames[] = {
29242 (char *) "self",(char *) "paperRectPixels", NULL
29243 };
29244
29245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
29246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29247 if (!SWIG_IsOK(res1)) {
29248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29249 }
29250 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29251 {
29252 arg2 = &temp2;
29253 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
29254 }
29255 {
29256 PyThreadState* __tstate = wxPyBeginAllowThreads();
29257 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
29258 wxPyEndAllowThreads(__tstate);
29259 if (PyErr_Occurred()) SWIG_fail;
29260 }
29261 resultobj = SWIG_Py_Void();
29262 return resultobj;
29263 fail:
29264 return NULL;
29265 }
29266
29267
29268 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29269 PyObject *resultobj = 0;
29270 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29271 wxRect result;
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_wxPyPrintout, 0 | 0 );
29279 if (!SWIG_IsOK(res1)) {
29280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29281 }
29282 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29283 {
29284 PyThreadState* __tstate = wxPyBeginAllowThreads();
29285 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
29286 wxPyEndAllowThreads(__tstate);
29287 if (PyErr_Occurred()) SWIG_fail;
29288 }
29289 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29290 return resultobj;
29291 fail:
29292 return NULL;
29293 }
29294
29295
29296 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29297 PyObject *resultobj = 0;
29298 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29299 bool result;
29300 void *argp1 = 0 ;
29301 int res1 = 0 ;
29302 PyObject *swig_obj[1] ;
29303
29304 if (!args) SWIG_fail;
29305 swig_obj[0] = args;
29306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29307 if (!SWIG_IsOK(res1)) {
29308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29309 }
29310 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29311 {
29312 PyThreadState* __tstate = wxPyBeginAllowThreads();
29313 result = (bool)(arg1)->IsPreview();
29314 wxPyEndAllowThreads(__tstate);
29315 if (PyErr_Occurred()) SWIG_fail;
29316 }
29317 {
29318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29319 }
29320 return resultobj;
29321 fail:
29322 return NULL;
29323 }
29324
29325
29326 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29327 PyObject *resultobj = 0;
29328 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29329 bool arg2 ;
29330 void *argp1 = 0 ;
29331 int res1 = 0 ;
29332 bool val2 ;
29333 int ecode2 = 0 ;
29334 PyObject * obj0 = 0 ;
29335 PyObject * obj1 = 0 ;
29336 char * kwnames[] = {
29337 (char *) "self",(char *) "p", NULL
29338 };
29339
29340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
29341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29342 if (!SWIG_IsOK(res1)) {
29343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29344 }
29345 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29346 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29347 if (!SWIG_IsOK(ecode2)) {
29348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29349 }
29350 arg2 = static_cast< bool >(val2);
29351 {
29352 PyThreadState* __tstate = wxPyBeginAllowThreads();
29353 (arg1)->SetIsPreview(arg2);
29354 wxPyEndAllowThreads(__tstate);
29355 if (PyErr_Occurred()) SWIG_fail;
29356 }
29357 resultobj = SWIG_Py_Void();
29358 return resultobj;
29359 fail:
29360 return NULL;
29361 }
29362
29363
29364 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29365 PyObject *resultobj = 0;
29366 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29367 int arg2 ;
29368 int arg3 ;
29369 bool result;
29370 void *argp1 = 0 ;
29371 int res1 = 0 ;
29372 int val2 ;
29373 int ecode2 = 0 ;
29374 int val3 ;
29375 int ecode3 = 0 ;
29376 PyObject * obj0 = 0 ;
29377 PyObject * obj1 = 0 ;
29378 PyObject * obj2 = 0 ;
29379 char * kwnames[] = {
29380 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29381 };
29382
29383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29385 if (!SWIG_IsOK(res1)) {
29386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29387 }
29388 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29389 ecode2 = SWIG_AsVal_int(obj1, &val2);
29390 if (!SWIG_IsOK(ecode2)) {
29391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29392 }
29393 arg2 = static_cast< int >(val2);
29394 ecode3 = SWIG_AsVal_int(obj2, &val3);
29395 if (!SWIG_IsOK(ecode3)) {
29396 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29397 }
29398 arg3 = static_cast< int >(val3);
29399 {
29400 PyThreadState* __tstate = wxPyBeginAllowThreads();
29401 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
29402 wxPyEndAllowThreads(__tstate);
29403 if (PyErr_Occurred()) SWIG_fail;
29404 }
29405 {
29406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29407 }
29408 return resultobj;
29409 fail:
29410 return NULL;
29411 }
29412
29413
29414 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29415 PyObject *resultobj = 0;
29416 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29417 void *argp1 = 0 ;
29418 int res1 = 0 ;
29419 PyObject *swig_obj[1] ;
29420
29421 if (!args) SWIG_fail;
29422 swig_obj[0] = args;
29423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29424 if (!SWIG_IsOK(res1)) {
29425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29426 }
29427 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29428 {
29429 PyThreadState* __tstate = wxPyBeginAllowThreads();
29430 (arg1)->OnEndDocument();
29431 wxPyEndAllowThreads(__tstate);
29432 if (PyErr_Occurred()) SWIG_fail;
29433 }
29434 resultobj = SWIG_Py_Void();
29435 return resultobj;
29436 fail:
29437 return NULL;
29438 }
29439
29440
29441 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29442 PyObject *resultobj = 0;
29443 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29444 void *argp1 = 0 ;
29445 int res1 = 0 ;
29446 PyObject *swig_obj[1] ;
29447
29448 if (!args) SWIG_fail;
29449 swig_obj[0] = args;
29450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29451 if (!SWIG_IsOK(res1)) {
29452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29453 }
29454 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29455 {
29456 PyThreadState* __tstate = wxPyBeginAllowThreads();
29457 (arg1)->OnBeginPrinting();
29458 wxPyEndAllowThreads(__tstate);
29459 if (PyErr_Occurred()) SWIG_fail;
29460 }
29461 resultobj = SWIG_Py_Void();
29462 return resultobj;
29463 fail:
29464 return NULL;
29465 }
29466
29467
29468 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29469 PyObject *resultobj = 0;
29470 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29471 void *argp1 = 0 ;
29472 int res1 = 0 ;
29473 PyObject *swig_obj[1] ;
29474
29475 if (!args) SWIG_fail;
29476 swig_obj[0] = args;
29477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29478 if (!SWIG_IsOK(res1)) {
29479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29480 }
29481 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29482 {
29483 PyThreadState* __tstate = wxPyBeginAllowThreads();
29484 (arg1)->OnEndPrinting();
29485 wxPyEndAllowThreads(__tstate);
29486 if (PyErr_Occurred()) SWIG_fail;
29487 }
29488 resultobj = SWIG_Py_Void();
29489 return resultobj;
29490 fail:
29491 return NULL;
29492 }
29493
29494
29495 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29496 PyObject *resultobj = 0;
29497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29498 void *argp1 = 0 ;
29499 int res1 = 0 ;
29500 PyObject *swig_obj[1] ;
29501
29502 if (!args) SWIG_fail;
29503 swig_obj[0] = args;
29504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29505 if (!SWIG_IsOK(res1)) {
29506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29507 }
29508 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29509 {
29510 PyThreadState* __tstate = wxPyBeginAllowThreads();
29511 (arg1)->OnPreparePrinting();
29512 wxPyEndAllowThreads(__tstate);
29513 if (PyErr_Occurred()) SWIG_fail;
29514 }
29515 resultobj = SWIG_Py_Void();
29516 return resultobj;
29517 fail:
29518 return NULL;
29519 }
29520
29521
29522 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29523 PyObject *resultobj = 0;
29524 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29525 int arg2 ;
29526 bool result;
29527 void *argp1 = 0 ;
29528 int res1 = 0 ;
29529 int val2 ;
29530 int ecode2 = 0 ;
29531 PyObject * obj0 = 0 ;
29532 PyObject * obj1 = 0 ;
29533 char * kwnames[] = {
29534 (char *) "self",(char *) "page", NULL
29535 };
29536
29537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29539 if (!SWIG_IsOK(res1)) {
29540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29541 }
29542 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29543 ecode2 = SWIG_AsVal_int(obj1, &val2);
29544 if (!SWIG_IsOK(ecode2)) {
29545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29546 }
29547 arg2 = static_cast< int >(val2);
29548 {
29549 PyThreadState* __tstate = wxPyBeginAllowThreads();
29550 result = (bool)(arg1)->HasPage(arg2);
29551 wxPyEndAllowThreads(__tstate);
29552 if (PyErr_Occurred()) SWIG_fail;
29553 }
29554 {
29555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29556 }
29557 return resultobj;
29558 fail:
29559 return NULL;
29560 }
29561
29562
29563 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29564 PyObject *resultobj = 0;
29565 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29566 int *arg2 = (int *) 0 ;
29567 int *arg3 = (int *) 0 ;
29568 int *arg4 = (int *) 0 ;
29569 int *arg5 = (int *) 0 ;
29570 void *argp1 = 0 ;
29571 int res1 = 0 ;
29572 int temp2 ;
29573 int res2 = SWIG_TMPOBJ ;
29574 int temp3 ;
29575 int res3 = SWIG_TMPOBJ ;
29576 int temp4 ;
29577 int res4 = SWIG_TMPOBJ ;
29578 int temp5 ;
29579 int res5 = SWIG_TMPOBJ ;
29580 PyObject *swig_obj[1] ;
29581
29582 arg2 = &temp2;
29583 arg3 = &temp3;
29584 arg4 = &temp4;
29585 arg5 = &temp5;
29586 if (!args) SWIG_fail;
29587 swig_obj[0] = args;
29588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29589 if (!SWIG_IsOK(res1)) {
29590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29591 }
29592 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29593 {
29594 PyThreadState* __tstate = wxPyBeginAllowThreads();
29595 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29596 wxPyEndAllowThreads(__tstate);
29597 if (PyErr_Occurred()) SWIG_fail;
29598 }
29599 resultobj = SWIG_Py_Void();
29600 if (SWIG_IsTmpObj(res2)) {
29601 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29602 } else {
29603 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29604 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29605 }
29606 if (SWIG_IsTmpObj(res3)) {
29607 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29608 } else {
29609 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29610 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29611 }
29612 if (SWIG_IsTmpObj(res4)) {
29613 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29614 } else {
29615 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29616 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29617 }
29618 if (SWIG_IsTmpObj(res5)) {
29619 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29620 } else {
29621 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29622 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29623 }
29624 return resultobj;
29625 fail:
29626 return NULL;
29627 }
29628
29629
29630 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29631 PyObject *obj;
29632 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29633 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29634 return SWIG_Py_Void();
29635 }
29636
29637 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29638 return SWIG_Python_InitShadowInstance(args);
29639 }
29640
29641 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29642 PyObject *resultobj = 0;
29643 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29644 wxWindow *arg2 = (wxWindow *) 0 ;
29645 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29646 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29647 wxSize const &arg4_defvalue = wxDefaultSize ;
29648 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29649 long arg5 = (long) 0 ;
29650 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29651 wxString *arg6 = (wxString *) &arg6_defvalue ;
29652 wxPreviewCanvas *result = 0 ;
29653 void *argp1 = 0 ;
29654 int res1 = 0 ;
29655 void *argp2 = 0 ;
29656 int res2 = 0 ;
29657 wxPoint temp3 ;
29658 wxSize temp4 ;
29659 long val5 ;
29660 int ecode5 = 0 ;
29661 bool temp6 = false ;
29662 PyObject * obj0 = 0 ;
29663 PyObject * obj1 = 0 ;
29664 PyObject * obj2 = 0 ;
29665 PyObject * obj3 = 0 ;
29666 PyObject * obj4 = 0 ;
29667 PyObject * obj5 = 0 ;
29668 char * kwnames[] = {
29669 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29670 };
29671
29672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29674 if (!SWIG_IsOK(res1)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29676 }
29677 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29678 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29679 if (!SWIG_IsOK(res2)) {
29680 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29681 }
29682 arg2 = reinterpret_cast< wxWindow * >(argp2);
29683 if (obj2) {
29684 {
29685 arg3 = &temp3;
29686 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29687 }
29688 }
29689 if (obj3) {
29690 {
29691 arg4 = &temp4;
29692 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29693 }
29694 }
29695 if (obj4) {
29696 ecode5 = SWIG_AsVal_long(obj4, &val5);
29697 if (!SWIG_IsOK(ecode5)) {
29698 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29699 }
29700 arg5 = static_cast< long >(val5);
29701 }
29702 if (obj5) {
29703 {
29704 arg6 = wxString_in_helper(obj5);
29705 if (arg6 == NULL) SWIG_fail;
29706 temp6 = true;
29707 }
29708 }
29709 {
29710 if (!wxPyCheckForApp()) SWIG_fail;
29711 PyThreadState* __tstate = wxPyBeginAllowThreads();
29712 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29713 wxPyEndAllowThreads(__tstate);
29714 if (PyErr_Occurred()) SWIG_fail;
29715 }
29716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29717 {
29718 if (temp6)
29719 delete arg6;
29720 }
29721 return resultobj;
29722 fail:
29723 {
29724 if (temp6)
29725 delete arg6;
29726 }
29727 return NULL;
29728 }
29729
29730
29731 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29732 PyObject *obj;
29733 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29734 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29735 return SWIG_Py_Void();
29736 }
29737
29738 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29739 return SWIG_Python_InitShadowInstance(args);
29740 }
29741
29742 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29743 PyObject *resultobj = 0;
29744 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29745 wxFrame *arg2 = (wxFrame *) 0 ;
29746 wxString *arg3 = 0 ;
29747 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29748 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29749 wxSize const &arg5_defvalue = wxDefaultSize ;
29750 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29751 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29752 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29753 wxString *arg7 = (wxString *) &arg7_defvalue ;
29754 wxPreviewFrame *result = 0 ;
29755 int res1 = 0 ;
29756 void *argp2 = 0 ;
29757 int res2 = 0 ;
29758 bool temp3 = false ;
29759 wxPoint temp4 ;
29760 wxSize temp5 ;
29761 long val6 ;
29762 int ecode6 = 0 ;
29763 bool temp7 = false ;
29764 PyObject * obj0 = 0 ;
29765 PyObject * obj1 = 0 ;
29766 PyObject * obj2 = 0 ;
29767 PyObject * obj3 = 0 ;
29768 PyObject * obj4 = 0 ;
29769 PyObject * obj5 = 0 ;
29770 PyObject * obj6 = 0 ;
29771 char * kwnames[] = {
29772 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29773 };
29774
29775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29776 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29777 if (!SWIG_IsOK(res1)) {
29778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29779 }
29780 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29781 if (!SWIG_IsOK(res2)) {
29782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29783 }
29784 arg2 = reinterpret_cast< wxFrame * >(argp2);
29785 {
29786 arg3 = wxString_in_helper(obj2);
29787 if (arg3 == NULL) SWIG_fail;
29788 temp3 = true;
29789 }
29790 if (obj3) {
29791 {
29792 arg4 = &temp4;
29793 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29794 }
29795 }
29796 if (obj4) {
29797 {
29798 arg5 = &temp5;
29799 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29800 }
29801 }
29802 if (obj5) {
29803 ecode6 = SWIG_AsVal_long(obj5, &val6);
29804 if (!SWIG_IsOK(ecode6)) {
29805 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29806 }
29807 arg6 = static_cast< long >(val6);
29808 }
29809 if (obj6) {
29810 {
29811 arg7 = wxString_in_helper(obj6);
29812 if (arg7 == NULL) SWIG_fail;
29813 temp7 = true;
29814 }
29815 }
29816 {
29817 if (!wxPyCheckForApp()) SWIG_fail;
29818 PyThreadState* __tstate = wxPyBeginAllowThreads();
29819 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29820 wxPyEndAllowThreads(__tstate);
29821 if (PyErr_Occurred()) SWIG_fail;
29822 }
29823 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29824 {
29825 if (temp3)
29826 delete arg3;
29827 }
29828 {
29829 if (temp7)
29830 delete arg7;
29831 }
29832 return resultobj;
29833 fail:
29834 {
29835 if (temp3)
29836 delete arg3;
29837 }
29838 {
29839 if (temp7)
29840 delete arg7;
29841 }
29842 return NULL;
29843 }
29844
29845
29846 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29847 PyObject *resultobj = 0;
29848 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29849 void *argp1 = 0 ;
29850 int res1 = 0 ;
29851 PyObject *swig_obj[1] ;
29852
29853 if (!args) SWIG_fail;
29854 swig_obj[0] = args;
29855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29856 if (!SWIG_IsOK(res1)) {
29857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29858 }
29859 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29860 {
29861 PyThreadState* __tstate = wxPyBeginAllowThreads();
29862 (arg1)->Initialize();
29863 wxPyEndAllowThreads(__tstate);
29864 if (PyErr_Occurred()) SWIG_fail;
29865 }
29866 resultobj = SWIG_Py_Void();
29867 return resultobj;
29868 fail:
29869 return NULL;
29870 }
29871
29872
29873 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29874 PyObject *resultobj = 0;
29875 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29876 void *argp1 = 0 ;
29877 int res1 = 0 ;
29878 PyObject *swig_obj[1] ;
29879
29880 if (!args) SWIG_fail;
29881 swig_obj[0] = args;
29882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29883 if (!SWIG_IsOK(res1)) {
29884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29885 }
29886 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29887 {
29888 PyThreadState* __tstate = wxPyBeginAllowThreads();
29889 (arg1)->CreateControlBar();
29890 wxPyEndAllowThreads(__tstate);
29891 if (PyErr_Occurred()) SWIG_fail;
29892 }
29893 resultobj = SWIG_Py_Void();
29894 return resultobj;
29895 fail:
29896 return NULL;
29897 }
29898
29899
29900 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29901 PyObject *resultobj = 0;
29902 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29903 void *argp1 = 0 ;
29904 int res1 = 0 ;
29905 PyObject *swig_obj[1] ;
29906
29907 if (!args) SWIG_fail;
29908 swig_obj[0] = args;
29909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29910 if (!SWIG_IsOK(res1)) {
29911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29912 }
29913 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29914 {
29915 PyThreadState* __tstate = wxPyBeginAllowThreads();
29916 (arg1)->CreateCanvas();
29917 wxPyEndAllowThreads(__tstate);
29918 if (PyErr_Occurred()) SWIG_fail;
29919 }
29920 resultobj = SWIG_Py_Void();
29921 return resultobj;
29922 fail:
29923 return NULL;
29924 }
29925
29926
29927 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29928 PyObject *resultobj = 0;
29929 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29930 wxPreviewControlBar *result = 0 ;
29931 void *argp1 = 0 ;
29932 int res1 = 0 ;
29933 PyObject *swig_obj[1] ;
29934
29935 if (!args) SWIG_fail;
29936 swig_obj[0] = args;
29937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29938 if (!SWIG_IsOK(res1)) {
29939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29940 }
29941 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29942 {
29943 PyThreadState* __tstate = wxPyBeginAllowThreads();
29944 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29945 wxPyEndAllowThreads(__tstate);
29946 if (PyErr_Occurred()) SWIG_fail;
29947 }
29948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29949 return resultobj;
29950 fail:
29951 return NULL;
29952 }
29953
29954
29955 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29956 PyObject *obj;
29957 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29958 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29959 return SWIG_Py_Void();
29960 }
29961
29962 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29963 return SWIG_Python_InitShadowInstance(args);
29964 }
29965
29966 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29967 PyObject *resultobj = 0;
29968 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29969 long arg2 ;
29970 wxWindow *arg3 = (wxWindow *) 0 ;
29971 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29972 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29973 wxSize const &arg5_defvalue = wxDefaultSize ;
29974 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29975 long arg6 = (long) wxTAB_TRAVERSAL ;
29976 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29977 wxString *arg7 = (wxString *) &arg7_defvalue ;
29978 wxPreviewControlBar *result = 0 ;
29979 void *argp1 = 0 ;
29980 int res1 = 0 ;
29981 long val2 ;
29982 int ecode2 = 0 ;
29983 void *argp3 = 0 ;
29984 int res3 = 0 ;
29985 wxPoint temp4 ;
29986 wxSize temp5 ;
29987 long val6 ;
29988 int ecode6 = 0 ;
29989 bool temp7 = false ;
29990 PyObject * obj0 = 0 ;
29991 PyObject * obj1 = 0 ;
29992 PyObject * obj2 = 0 ;
29993 PyObject * obj3 = 0 ;
29994 PyObject * obj4 = 0 ;
29995 PyObject * obj5 = 0 ;
29996 PyObject * obj6 = 0 ;
29997 char * kwnames[] = {
29998 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29999 };
30000
30001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) 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 '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30005 }
30006 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30007 ecode2 = SWIG_AsVal_long(obj1, &val2);
30008 if (!SWIG_IsOK(ecode2)) {
30009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30010 }
30011 arg2 = static_cast< long >(val2);
30012 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30013 if (!SWIG_IsOK(res3)) {
30014 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30015 }
30016 arg3 = reinterpret_cast< wxWindow * >(argp3);
30017 if (obj3) {
30018 {
30019 arg4 = &temp4;
30020 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30021 }
30022 }
30023 if (obj4) {
30024 {
30025 arg5 = &temp5;
30026 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30027 }
30028 }
30029 if (obj5) {
30030 ecode6 = SWIG_AsVal_long(obj5, &val6);
30031 if (!SWIG_IsOK(ecode6)) {
30032 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30033 }
30034 arg6 = static_cast< long >(val6);
30035 }
30036 if (obj6) {
30037 {
30038 arg7 = wxString_in_helper(obj6);
30039 if (arg7 == NULL) SWIG_fail;
30040 temp7 = true;
30041 }
30042 }
30043 {
30044 if (!wxPyCheckForApp()) SWIG_fail;
30045 PyThreadState* __tstate = wxPyBeginAllowThreads();
30046 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30047 wxPyEndAllowThreads(__tstate);
30048 if (PyErr_Occurred()) SWIG_fail;
30049 }
30050 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
30051 {
30052 if (temp7)
30053 delete arg7;
30054 }
30055 return resultobj;
30056 fail:
30057 {
30058 if (temp7)
30059 delete arg7;
30060 }
30061 return NULL;
30062 }
30063
30064
30065 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30066 PyObject *resultobj = 0;
30067 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30068 int result;
30069 void *argp1 = 0 ;
30070 int res1 = 0 ;
30071 PyObject *swig_obj[1] ;
30072
30073 if (!args) SWIG_fail;
30074 swig_obj[0] = args;
30075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30076 if (!SWIG_IsOK(res1)) {
30077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30078 }
30079 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30080 {
30081 PyThreadState* __tstate = wxPyBeginAllowThreads();
30082 result = (int)(arg1)->GetZoomControl();
30083 wxPyEndAllowThreads(__tstate);
30084 if (PyErr_Occurred()) SWIG_fail;
30085 }
30086 resultobj = SWIG_From_int(static_cast< int >(result));
30087 return resultobj;
30088 fail:
30089 return NULL;
30090 }
30091
30092
30093 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30094 PyObject *resultobj = 0;
30095 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30096 int arg2 ;
30097 void *argp1 = 0 ;
30098 int res1 = 0 ;
30099 int val2 ;
30100 int ecode2 = 0 ;
30101 PyObject * obj0 = 0 ;
30102 PyObject * obj1 = 0 ;
30103 char * kwnames[] = {
30104 (char *) "self",(char *) "zoom", NULL
30105 };
30106
30107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30109 if (!SWIG_IsOK(res1)) {
30110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30111 }
30112 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30113 ecode2 = SWIG_AsVal_int(obj1, &val2);
30114 if (!SWIG_IsOK(ecode2)) {
30115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30116 }
30117 arg2 = static_cast< int >(val2);
30118 {
30119 PyThreadState* __tstate = wxPyBeginAllowThreads();
30120 (arg1)->SetZoomControl(arg2);
30121 wxPyEndAllowThreads(__tstate);
30122 if (PyErr_Occurred()) SWIG_fail;
30123 }
30124 resultobj = SWIG_Py_Void();
30125 return resultobj;
30126 fail:
30127 return NULL;
30128 }
30129
30130
30131 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30132 PyObject *resultobj = 0;
30133 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30134 wxPrintPreview *result = 0 ;
30135 void *argp1 = 0 ;
30136 int res1 = 0 ;
30137 PyObject *swig_obj[1] ;
30138
30139 if (!args) SWIG_fail;
30140 swig_obj[0] = args;
30141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30142 if (!SWIG_IsOK(res1)) {
30143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30144 }
30145 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30146 {
30147 PyThreadState* __tstate = wxPyBeginAllowThreads();
30148 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
30149 wxPyEndAllowThreads(__tstate);
30150 if (PyErr_Occurred()) SWIG_fail;
30151 }
30152 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30153 return resultobj;
30154 fail:
30155 return NULL;
30156 }
30157
30158
30159 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30160 PyObject *resultobj = 0;
30161 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30162 void *argp1 = 0 ;
30163 int res1 = 0 ;
30164 PyObject *swig_obj[1] ;
30165
30166 if (!args) SWIG_fail;
30167 swig_obj[0] = args;
30168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30169 if (!SWIG_IsOK(res1)) {
30170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30171 }
30172 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30173 {
30174 PyThreadState* __tstate = wxPyBeginAllowThreads();
30175 (arg1)->OnNext();
30176 wxPyEndAllowThreads(__tstate);
30177 if (PyErr_Occurred()) SWIG_fail;
30178 }
30179 resultobj = SWIG_Py_Void();
30180 return resultobj;
30181 fail:
30182 return NULL;
30183 }
30184
30185
30186 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30187 PyObject *resultobj = 0;
30188 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30189 void *argp1 = 0 ;
30190 int res1 = 0 ;
30191 PyObject *swig_obj[1] ;
30192
30193 if (!args) SWIG_fail;
30194 swig_obj[0] = args;
30195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30196 if (!SWIG_IsOK(res1)) {
30197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30198 }
30199 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30200 {
30201 PyThreadState* __tstate = wxPyBeginAllowThreads();
30202 (arg1)->OnPrevious();
30203 wxPyEndAllowThreads(__tstate);
30204 if (PyErr_Occurred()) SWIG_fail;
30205 }
30206 resultobj = SWIG_Py_Void();
30207 return resultobj;
30208 fail:
30209 return NULL;
30210 }
30211
30212
30213 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30214 PyObject *resultobj = 0;
30215 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30216 void *argp1 = 0 ;
30217 int res1 = 0 ;
30218 PyObject *swig_obj[1] ;
30219
30220 if (!args) SWIG_fail;
30221 swig_obj[0] = args;
30222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30223 if (!SWIG_IsOK(res1)) {
30224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30225 }
30226 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30227 {
30228 PyThreadState* __tstate = wxPyBeginAllowThreads();
30229 (arg1)->OnFirst();
30230 wxPyEndAllowThreads(__tstate);
30231 if (PyErr_Occurred()) SWIG_fail;
30232 }
30233 resultobj = SWIG_Py_Void();
30234 return resultobj;
30235 fail:
30236 return NULL;
30237 }
30238
30239
30240 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30241 PyObject *resultobj = 0;
30242 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30243 void *argp1 = 0 ;
30244 int res1 = 0 ;
30245 PyObject *swig_obj[1] ;
30246
30247 if (!args) SWIG_fail;
30248 swig_obj[0] = args;
30249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30250 if (!SWIG_IsOK(res1)) {
30251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30252 }
30253 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30254 {
30255 PyThreadState* __tstate = wxPyBeginAllowThreads();
30256 (arg1)->OnLast();
30257 wxPyEndAllowThreads(__tstate);
30258 if (PyErr_Occurred()) SWIG_fail;
30259 }
30260 resultobj = SWIG_Py_Void();
30261 return resultobj;
30262 fail:
30263 return NULL;
30264 }
30265
30266
30267 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30268 PyObject *resultobj = 0;
30269 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30270 void *argp1 = 0 ;
30271 int res1 = 0 ;
30272 PyObject *swig_obj[1] ;
30273
30274 if (!args) SWIG_fail;
30275 swig_obj[0] = args;
30276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30277 if (!SWIG_IsOK(res1)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30279 }
30280 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30281 {
30282 PyThreadState* __tstate = wxPyBeginAllowThreads();
30283 (arg1)->OnGoto();
30284 wxPyEndAllowThreads(__tstate);
30285 if (PyErr_Occurred()) SWIG_fail;
30286 }
30287 resultobj = SWIG_Py_Void();
30288 return resultobj;
30289 fail:
30290 return NULL;
30291 }
30292
30293
30294 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30295 PyObject *obj;
30296 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30297 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
30298 return SWIG_Py_Void();
30299 }
30300
30301 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30302 return SWIG_Python_InitShadowInstance(args);
30303 }
30304
30305 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30306 PyObject *resultobj = 0;
30307 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30308 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30309 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30310 wxPrintPreview *result = 0 ;
30311 int res1 = 0 ;
30312 int res2 = 0 ;
30313 void *argp3 = 0 ;
30314 int res3 = 0 ;
30315
30316 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30317 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30318 if (!SWIG_IsOK(res1)) {
30319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30320 }
30321 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30322 if (!SWIG_IsOK(res2)) {
30323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30324 }
30325 if (swig_obj[2]) {
30326 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30327 if (!SWIG_IsOK(res3)) {
30328 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30329 }
30330 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30331 }
30332 {
30333 if (!wxPyCheckForApp()) SWIG_fail;
30334 PyThreadState* __tstate = wxPyBeginAllowThreads();
30335 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30336 wxPyEndAllowThreads(__tstate);
30337 if (PyErr_Occurred()) SWIG_fail;
30338 }
30339 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30340 return resultobj;
30341 fail:
30342 return NULL;
30343 }
30344
30345
30346 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30347 PyObject *resultobj = 0;
30348 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30349 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30350 wxPrintData *arg3 = (wxPrintData *) 0 ;
30351 wxPrintPreview *result = 0 ;
30352 int res1 = 0 ;
30353 int res2 = 0 ;
30354 void *argp3 = 0 ;
30355 int res3 = 0 ;
30356
30357 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30358 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30359 if (!SWIG_IsOK(res1)) {
30360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30361 }
30362 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30363 if (!SWIG_IsOK(res2)) {
30364 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30365 }
30366 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30367 if (!SWIG_IsOK(res3)) {
30368 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30369 }
30370 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30371 {
30372 if (!wxPyCheckForApp()) SWIG_fail;
30373 PyThreadState* __tstate = wxPyBeginAllowThreads();
30374 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30375 wxPyEndAllowThreads(__tstate);
30376 if (PyErr_Occurred()) SWIG_fail;
30377 }
30378 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30379 return resultobj;
30380 fail:
30381 return NULL;
30382 }
30383
30384
30385 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
30386 int argc;
30387 PyObject *argv[4];
30388
30389 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
30390 --argc;
30391 if ((argc >= 2) && (argc <= 3)) {
30392 int _v = 0;
30393 if (argc > 2) {
30394 {
30395 void *vptr = 0;
30396 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30397 _v = SWIG_CheckState(res);
30398 }
30399 if (!_v) goto check_1;
30400 }
30401 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
30402 }
30403 check_1:
30404
30405 if (argc == 3) {
30406 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
30407 }
30408
30409 fail:
30410 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
30411 return NULL;
30412 }
30413
30414
30415 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30416 PyObject *resultobj = 0;
30417 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30418 void *argp1 = 0 ;
30419 int res1 = 0 ;
30420 PyObject *swig_obj[1] ;
30421
30422 if (!args) SWIG_fail;
30423 swig_obj[0] = args;
30424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30425 if (!SWIG_IsOK(res1)) {
30426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30427 }
30428 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30429 {
30430 PyThreadState* __tstate = wxPyBeginAllowThreads();
30431 delete arg1;
30432
30433 wxPyEndAllowThreads(__tstate);
30434 if (PyErr_Occurred()) SWIG_fail;
30435 }
30436 resultobj = SWIG_Py_Void();
30437 return resultobj;
30438 fail:
30439 return NULL;
30440 }
30441
30442
30443 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30444 PyObject *resultobj = 0;
30445 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30446 int arg2 ;
30447 bool result;
30448 void *argp1 = 0 ;
30449 int res1 = 0 ;
30450 int val2 ;
30451 int ecode2 = 0 ;
30452 PyObject * obj0 = 0 ;
30453 PyObject * obj1 = 0 ;
30454 char * kwnames[] = {
30455 (char *) "self",(char *) "pageNum", NULL
30456 };
30457
30458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30460 if (!SWIG_IsOK(res1)) {
30461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30462 }
30463 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30464 ecode2 = SWIG_AsVal_int(obj1, &val2);
30465 if (!SWIG_IsOK(ecode2)) {
30466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30467 }
30468 arg2 = static_cast< int >(val2);
30469 {
30470 PyThreadState* __tstate = wxPyBeginAllowThreads();
30471 result = (bool)(arg1)->SetCurrentPage(arg2);
30472 wxPyEndAllowThreads(__tstate);
30473 if (PyErr_Occurred()) SWIG_fail;
30474 }
30475 {
30476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30477 }
30478 return resultobj;
30479 fail:
30480 return NULL;
30481 }
30482
30483
30484 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30485 PyObject *resultobj = 0;
30486 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30487 int result;
30488 void *argp1 = 0 ;
30489 int res1 = 0 ;
30490 PyObject *swig_obj[1] ;
30491
30492 if (!args) SWIG_fail;
30493 swig_obj[0] = args;
30494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30495 if (!SWIG_IsOK(res1)) {
30496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30497 }
30498 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30499 {
30500 PyThreadState* __tstate = wxPyBeginAllowThreads();
30501 result = (int)(arg1)->GetCurrentPage();
30502 wxPyEndAllowThreads(__tstate);
30503 if (PyErr_Occurred()) SWIG_fail;
30504 }
30505 resultobj = SWIG_From_int(static_cast< int >(result));
30506 return resultobj;
30507 fail:
30508 return NULL;
30509 }
30510
30511
30512 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30513 PyObject *resultobj = 0;
30514 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30515 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30516 void *argp1 = 0 ;
30517 int res1 = 0 ;
30518 int res2 = 0 ;
30519 PyObject * obj0 = 0 ;
30520 PyObject * obj1 = 0 ;
30521 char * kwnames[] = {
30522 (char *) "self",(char *) "printout", NULL
30523 };
30524
30525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30527 if (!SWIG_IsOK(res1)) {
30528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30529 }
30530 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30531 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30532 if (!SWIG_IsOK(res2)) {
30533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30534 }
30535 {
30536 PyThreadState* __tstate = wxPyBeginAllowThreads();
30537 (arg1)->SetPrintout(arg2);
30538 wxPyEndAllowThreads(__tstate);
30539 if (PyErr_Occurred()) SWIG_fail;
30540 }
30541 resultobj = SWIG_Py_Void();
30542 return resultobj;
30543 fail:
30544 return NULL;
30545 }
30546
30547
30548 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30549 PyObject *resultobj = 0;
30550 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30551 wxPyPrintout *result = 0 ;
30552 void *argp1 = 0 ;
30553 int res1 = 0 ;
30554 PyObject *swig_obj[1] ;
30555
30556 if (!args) SWIG_fail;
30557 swig_obj[0] = args;
30558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30559 if (!SWIG_IsOK(res1)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30561 }
30562 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30563 {
30564 PyThreadState* __tstate = wxPyBeginAllowThreads();
30565 result = (wxPyPrintout *)(arg1)->GetPrintout();
30566 wxPyEndAllowThreads(__tstate);
30567 if (PyErr_Occurred()) SWIG_fail;
30568 }
30569 {
30570 resultobj = wxPyMake_wxObject(result, 0);
30571 }
30572 return resultobj;
30573 fail:
30574 return NULL;
30575 }
30576
30577
30578 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30579 PyObject *resultobj = 0;
30580 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30581 wxPyPrintout *result = 0 ;
30582 void *argp1 = 0 ;
30583 int res1 = 0 ;
30584 PyObject *swig_obj[1] ;
30585
30586 if (!args) SWIG_fail;
30587 swig_obj[0] = args;
30588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30589 if (!SWIG_IsOK(res1)) {
30590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30591 }
30592 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30593 {
30594 PyThreadState* __tstate = wxPyBeginAllowThreads();
30595 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30596 wxPyEndAllowThreads(__tstate);
30597 if (PyErr_Occurred()) SWIG_fail;
30598 }
30599 {
30600 resultobj = wxPyMake_wxObject(result, 0);
30601 }
30602 return resultobj;
30603 fail:
30604 return NULL;
30605 }
30606
30607
30608 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30609 PyObject *resultobj = 0;
30610 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30611 wxFrame *arg2 = (wxFrame *) 0 ;
30612 void *argp1 = 0 ;
30613 int res1 = 0 ;
30614 void *argp2 = 0 ;
30615 int res2 = 0 ;
30616 PyObject * obj0 = 0 ;
30617 PyObject * obj1 = 0 ;
30618 char * kwnames[] = {
30619 (char *) "self",(char *) "frame", NULL
30620 };
30621
30622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30624 if (!SWIG_IsOK(res1)) {
30625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30626 }
30627 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30628 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30629 if (!SWIG_IsOK(res2)) {
30630 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30631 }
30632 arg2 = reinterpret_cast< wxFrame * >(argp2);
30633 {
30634 PyThreadState* __tstate = wxPyBeginAllowThreads();
30635 (arg1)->SetFrame(arg2);
30636 wxPyEndAllowThreads(__tstate);
30637 if (PyErr_Occurred()) SWIG_fail;
30638 }
30639 resultobj = SWIG_Py_Void();
30640 return resultobj;
30641 fail:
30642 return NULL;
30643 }
30644
30645
30646 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30647 PyObject *resultobj = 0;
30648 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30649 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30650 void *argp1 = 0 ;
30651 int res1 = 0 ;
30652 void *argp2 = 0 ;
30653 int res2 = 0 ;
30654 PyObject * obj0 = 0 ;
30655 PyObject * obj1 = 0 ;
30656 char * kwnames[] = {
30657 (char *) "self",(char *) "canvas", NULL
30658 };
30659
30660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30662 if (!SWIG_IsOK(res1)) {
30663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30664 }
30665 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30666 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30667 if (!SWIG_IsOK(res2)) {
30668 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30669 }
30670 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30671 {
30672 PyThreadState* __tstate = wxPyBeginAllowThreads();
30673 (arg1)->SetCanvas(arg2);
30674 wxPyEndAllowThreads(__tstate);
30675 if (PyErr_Occurred()) SWIG_fail;
30676 }
30677 resultobj = SWIG_Py_Void();
30678 return resultobj;
30679 fail:
30680 return NULL;
30681 }
30682
30683
30684 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30685 PyObject *resultobj = 0;
30686 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30687 wxFrame *result = 0 ;
30688 void *argp1 = 0 ;
30689 int res1 = 0 ;
30690 PyObject *swig_obj[1] ;
30691
30692 if (!args) SWIG_fail;
30693 swig_obj[0] = args;
30694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30695 if (!SWIG_IsOK(res1)) {
30696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30697 }
30698 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30699 {
30700 PyThreadState* __tstate = wxPyBeginAllowThreads();
30701 result = (wxFrame *)(arg1)->GetFrame();
30702 wxPyEndAllowThreads(__tstate);
30703 if (PyErr_Occurred()) SWIG_fail;
30704 }
30705 {
30706 resultobj = wxPyMake_wxObject(result, 0);
30707 }
30708 return resultobj;
30709 fail:
30710 return NULL;
30711 }
30712
30713
30714 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30715 PyObject *resultobj = 0;
30716 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30717 wxPreviewCanvas *result = 0 ;
30718 void *argp1 = 0 ;
30719 int res1 = 0 ;
30720 PyObject *swig_obj[1] ;
30721
30722 if (!args) SWIG_fail;
30723 swig_obj[0] = args;
30724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30725 if (!SWIG_IsOK(res1)) {
30726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30727 }
30728 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30729 {
30730 PyThreadState* __tstate = wxPyBeginAllowThreads();
30731 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30732 wxPyEndAllowThreads(__tstate);
30733 if (PyErr_Occurred()) SWIG_fail;
30734 }
30735 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30736 return resultobj;
30737 fail:
30738 return NULL;
30739 }
30740
30741
30742 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30743 PyObject *resultobj = 0;
30744 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30745 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30746 wxDC *arg3 = 0 ;
30747 bool result;
30748 void *argp1 = 0 ;
30749 int res1 = 0 ;
30750 void *argp2 = 0 ;
30751 int res2 = 0 ;
30752 void *argp3 = 0 ;
30753 int res3 = 0 ;
30754 PyObject * obj0 = 0 ;
30755 PyObject * obj1 = 0 ;
30756 PyObject * obj2 = 0 ;
30757 char * kwnames[] = {
30758 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30759 };
30760
30761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30763 if (!SWIG_IsOK(res1)) {
30764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30765 }
30766 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30767 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30768 if (!SWIG_IsOK(res2)) {
30769 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30770 }
30771 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30772 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30773 if (!SWIG_IsOK(res3)) {
30774 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30775 }
30776 if (!argp3) {
30777 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30778 }
30779 arg3 = reinterpret_cast< wxDC * >(argp3);
30780 {
30781 PyThreadState* __tstate = wxPyBeginAllowThreads();
30782 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30783 wxPyEndAllowThreads(__tstate);
30784 if (PyErr_Occurred()) SWIG_fail;
30785 }
30786 {
30787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30788 }
30789 return resultobj;
30790 fail:
30791 return NULL;
30792 }
30793
30794
30795 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30796 PyObject *resultobj = 0;
30797 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30798 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30799 wxDC *arg3 = 0 ;
30800 bool result;
30801 void *argp1 = 0 ;
30802 int res1 = 0 ;
30803 void *argp2 = 0 ;
30804 int res2 = 0 ;
30805 void *argp3 = 0 ;
30806 int res3 = 0 ;
30807 PyObject * obj0 = 0 ;
30808 PyObject * obj1 = 0 ;
30809 PyObject * obj2 = 0 ;
30810 char * kwnames[] = {
30811 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30812 };
30813
30814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30816 if (!SWIG_IsOK(res1)) {
30817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30818 }
30819 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30820 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30821 if (!SWIG_IsOK(res2)) {
30822 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30823 }
30824 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30825 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30826 if (!SWIG_IsOK(res3)) {
30827 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30828 }
30829 if (!argp3) {
30830 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30831 }
30832 arg3 = reinterpret_cast< wxDC * >(argp3);
30833 {
30834 PyThreadState* __tstate = wxPyBeginAllowThreads();
30835 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30836 wxPyEndAllowThreads(__tstate);
30837 if (PyErr_Occurred()) SWIG_fail;
30838 }
30839 {
30840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30841 }
30842 return resultobj;
30843 fail:
30844 return NULL;
30845 }
30846
30847
30848 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30849 PyObject *resultobj = 0;
30850 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30851 int arg2 ;
30852 bool result;
30853 void *argp1 = 0 ;
30854 int res1 = 0 ;
30855 int val2 ;
30856 int ecode2 = 0 ;
30857 PyObject * obj0 = 0 ;
30858 PyObject * obj1 = 0 ;
30859 char * kwnames[] = {
30860 (char *) "self",(char *) "pageNum", NULL
30861 };
30862
30863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30865 if (!SWIG_IsOK(res1)) {
30866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30867 }
30868 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30869 ecode2 = SWIG_AsVal_int(obj1, &val2);
30870 if (!SWIG_IsOK(ecode2)) {
30871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30872 }
30873 arg2 = static_cast< int >(val2);
30874 {
30875 PyThreadState* __tstate = wxPyBeginAllowThreads();
30876 result = (bool)(arg1)->RenderPage(arg2);
30877 wxPyEndAllowThreads(__tstate);
30878 if (PyErr_Occurred()) SWIG_fail;
30879 }
30880 {
30881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30882 }
30883 return resultobj;
30884 fail:
30885 return NULL;
30886 }
30887
30888
30889 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30890 PyObject *resultobj = 0;
30891 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30892 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30893 void *argp1 = 0 ;
30894 int res1 = 0 ;
30895 void *argp2 = 0 ;
30896 int res2 = 0 ;
30897 PyObject * obj0 = 0 ;
30898 PyObject * obj1 = 0 ;
30899 char * kwnames[] = {
30900 (char *) "self",(char *) "canvas", NULL
30901 };
30902
30903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30905 if (!SWIG_IsOK(res1)) {
30906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30907 }
30908 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30909 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30910 if (!SWIG_IsOK(res2)) {
30911 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30912 }
30913 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30914 {
30915 PyThreadState* __tstate = wxPyBeginAllowThreads();
30916 (arg1)->AdjustScrollbars(arg2);
30917 wxPyEndAllowThreads(__tstate);
30918 if (PyErr_Occurred()) SWIG_fail;
30919 }
30920 resultobj = SWIG_Py_Void();
30921 return resultobj;
30922 fail:
30923 return NULL;
30924 }
30925
30926
30927 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30928 PyObject *resultobj = 0;
30929 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30930 wxPrintDialogData *result = 0 ;
30931 void *argp1 = 0 ;
30932 int res1 = 0 ;
30933 PyObject *swig_obj[1] ;
30934
30935 if (!args) SWIG_fail;
30936 swig_obj[0] = args;
30937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30938 if (!SWIG_IsOK(res1)) {
30939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30940 }
30941 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30942 {
30943 PyThreadState* __tstate = wxPyBeginAllowThreads();
30944 {
30945 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30946 result = (wxPrintDialogData *) &_result_ref;
30947 }
30948 wxPyEndAllowThreads(__tstate);
30949 if (PyErr_Occurred()) SWIG_fail;
30950 }
30951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30952 return resultobj;
30953 fail:
30954 return NULL;
30955 }
30956
30957
30958 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30959 PyObject *resultobj = 0;
30960 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30961 int arg2 ;
30962 void *argp1 = 0 ;
30963 int res1 = 0 ;
30964 int val2 ;
30965 int ecode2 = 0 ;
30966 PyObject * obj0 = 0 ;
30967 PyObject * obj1 = 0 ;
30968 char * kwnames[] = {
30969 (char *) "self",(char *) "percent", NULL
30970 };
30971
30972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30974 if (!SWIG_IsOK(res1)) {
30975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30976 }
30977 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30978 ecode2 = SWIG_AsVal_int(obj1, &val2);
30979 if (!SWIG_IsOK(ecode2)) {
30980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30981 }
30982 arg2 = static_cast< int >(val2);
30983 {
30984 PyThreadState* __tstate = wxPyBeginAllowThreads();
30985 (arg1)->SetZoom(arg2);
30986 wxPyEndAllowThreads(__tstate);
30987 if (PyErr_Occurred()) SWIG_fail;
30988 }
30989 resultobj = SWIG_Py_Void();
30990 return resultobj;
30991 fail:
30992 return NULL;
30993 }
30994
30995
30996 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30997 PyObject *resultobj = 0;
30998 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30999 int result;
31000 void *argp1 = 0 ;
31001 int res1 = 0 ;
31002 PyObject *swig_obj[1] ;
31003
31004 if (!args) SWIG_fail;
31005 swig_obj[0] = args;
31006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31007 if (!SWIG_IsOK(res1)) {
31008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31009 }
31010 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31011 {
31012 PyThreadState* __tstate = wxPyBeginAllowThreads();
31013 result = (int)(arg1)->GetZoom();
31014 wxPyEndAllowThreads(__tstate);
31015 if (PyErr_Occurred()) SWIG_fail;
31016 }
31017 resultobj = SWIG_From_int(static_cast< int >(result));
31018 return resultobj;
31019 fail:
31020 return NULL;
31021 }
31022
31023
31024 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31025 PyObject *resultobj = 0;
31026 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31027 int result;
31028 void *argp1 = 0 ;
31029 int res1 = 0 ;
31030 PyObject *swig_obj[1] ;
31031
31032 if (!args) SWIG_fail;
31033 swig_obj[0] = args;
31034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31035 if (!SWIG_IsOK(res1)) {
31036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31037 }
31038 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31039 {
31040 PyThreadState* __tstate = wxPyBeginAllowThreads();
31041 result = (int)(arg1)->GetMaxPage();
31042 wxPyEndAllowThreads(__tstate);
31043 if (PyErr_Occurred()) SWIG_fail;
31044 }
31045 resultobj = SWIG_From_int(static_cast< int >(result));
31046 return resultobj;
31047 fail:
31048 return NULL;
31049 }
31050
31051
31052 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31053 PyObject *resultobj = 0;
31054 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31055 int result;
31056 void *argp1 = 0 ;
31057 int res1 = 0 ;
31058 PyObject *swig_obj[1] ;
31059
31060 if (!args) SWIG_fail;
31061 swig_obj[0] = args;
31062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31063 if (!SWIG_IsOK(res1)) {
31064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31065 }
31066 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31067 {
31068 PyThreadState* __tstate = wxPyBeginAllowThreads();
31069 result = (int)(arg1)->GetMinPage();
31070 wxPyEndAllowThreads(__tstate);
31071 if (PyErr_Occurred()) SWIG_fail;
31072 }
31073 resultobj = SWIG_From_int(static_cast< int >(result));
31074 return resultobj;
31075 fail:
31076 return NULL;
31077 }
31078
31079
31080 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31081 PyObject *resultobj = 0;
31082 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31083 bool result;
31084 void *argp1 = 0 ;
31085 int res1 = 0 ;
31086 PyObject *swig_obj[1] ;
31087
31088 if (!args) SWIG_fail;
31089 swig_obj[0] = args;
31090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31091 if (!SWIG_IsOK(res1)) {
31092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31093 }
31094 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31095 {
31096 PyThreadState* __tstate = wxPyBeginAllowThreads();
31097 result = (bool)(arg1)->IsOk();
31098 wxPyEndAllowThreads(__tstate);
31099 if (PyErr_Occurred()) SWIG_fail;
31100 }
31101 {
31102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31103 }
31104 return resultobj;
31105 fail:
31106 return NULL;
31107 }
31108
31109
31110 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31111 PyObject *resultobj = 0;
31112 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31113 bool arg2 ;
31114 void *argp1 = 0 ;
31115 int res1 = 0 ;
31116 bool val2 ;
31117 int ecode2 = 0 ;
31118 PyObject * obj0 = 0 ;
31119 PyObject * obj1 = 0 ;
31120 char * kwnames[] = {
31121 (char *) "self",(char *) "ok", NULL
31122 };
31123
31124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
31125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31126 if (!SWIG_IsOK(res1)) {
31127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31128 }
31129 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31130 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31131 if (!SWIG_IsOK(ecode2)) {
31132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
31133 }
31134 arg2 = static_cast< bool >(val2);
31135 {
31136 PyThreadState* __tstate = wxPyBeginAllowThreads();
31137 (arg1)->SetOk(arg2);
31138 wxPyEndAllowThreads(__tstate);
31139 if (PyErr_Occurred()) SWIG_fail;
31140 }
31141 resultobj = SWIG_Py_Void();
31142 return resultobj;
31143 fail:
31144 return NULL;
31145 }
31146
31147
31148 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31149 PyObject *resultobj = 0;
31150 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31151 bool arg2 ;
31152 bool result;
31153 void *argp1 = 0 ;
31154 int res1 = 0 ;
31155 bool val2 ;
31156 int ecode2 = 0 ;
31157 PyObject * obj0 = 0 ;
31158 PyObject * obj1 = 0 ;
31159 char * kwnames[] = {
31160 (char *) "self",(char *) "interactive", NULL
31161 };
31162
31163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
31164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31165 if (!SWIG_IsOK(res1)) {
31166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31167 }
31168 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31169 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31170 if (!SWIG_IsOK(ecode2)) {
31171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
31172 }
31173 arg2 = static_cast< bool >(val2);
31174 {
31175 PyThreadState* __tstate = wxPyBeginAllowThreads();
31176 result = (bool)(arg1)->Print(arg2);
31177 wxPyEndAllowThreads(__tstate);
31178 if (PyErr_Occurred()) SWIG_fail;
31179 }
31180 {
31181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31182 }
31183 return resultobj;
31184 fail:
31185 return NULL;
31186 }
31187
31188
31189 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31190 PyObject *resultobj = 0;
31191 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31192 void *argp1 = 0 ;
31193 int res1 = 0 ;
31194 PyObject *swig_obj[1] ;
31195
31196 if (!args) SWIG_fail;
31197 swig_obj[0] = args;
31198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31199 if (!SWIG_IsOK(res1)) {
31200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31201 }
31202 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31203 {
31204 PyThreadState* __tstate = wxPyBeginAllowThreads();
31205 (arg1)->DetermineScaling();
31206 wxPyEndAllowThreads(__tstate);
31207 if (PyErr_Occurred()) SWIG_fail;
31208 }
31209 resultobj = SWIG_Py_Void();
31210 return resultobj;
31211 fail:
31212 return NULL;
31213 }
31214
31215
31216 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31217 PyObject *obj;
31218 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31219 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
31220 return SWIG_Py_Void();
31221 }
31222
31223 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31224 return SWIG_Python_InitShadowInstance(args);
31225 }
31226
31227 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31228 PyObject *resultobj = 0;
31229 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31230 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31231 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
31232 wxPyPrintPreview *result = 0 ;
31233 int res1 = 0 ;
31234 int res2 = 0 ;
31235 void *argp3 = 0 ;
31236 int res3 = 0 ;
31237
31238 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
31239 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31240 if (!SWIG_IsOK(res1)) {
31241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31242 }
31243 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31244 if (!SWIG_IsOK(res2)) {
31245 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31246 }
31247 if (swig_obj[2]) {
31248 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
31249 if (!SWIG_IsOK(res3)) {
31250 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31251 }
31252 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
31253 }
31254 {
31255 if (!wxPyCheckForApp()) SWIG_fail;
31256 PyThreadState* __tstate = wxPyBeginAllowThreads();
31257 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31258 wxPyEndAllowThreads(__tstate);
31259 if (PyErr_Occurred()) SWIG_fail;
31260 }
31261 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31262 return resultobj;
31263 fail:
31264 return NULL;
31265 }
31266
31267
31268 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31269 PyObject *resultobj = 0;
31270 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31271 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31272 wxPrintData *arg3 = (wxPrintData *) 0 ;
31273 wxPyPrintPreview *result = 0 ;
31274 int res1 = 0 ;
31275 int res2 = 0 ;
31276 void *argp3 = 0 ;
31277 int res3 = 0 ;
31278
31279 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
31280 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31281 if (!SWIG_IsOK(res1)) {
31282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31283 }
31284 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31285 if (!SWIG_IsOK(res2)) {
31286 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31287 }
31288 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
31289 if (!SWIG_IsOK(res3)) {
31290 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31291 }
31292 arg3 = reinterpret_cast< wxPrintData * >(argp3);
31293 {
31294 if (!wxPyCheckForApp()) SWIG_fail;
31295 PyThreadState* __tstate = wxPyBeginAllowThreads();
31296 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31297 wxPyEndAllowThreads(__tstate);
31298 if (PyErr_Occurred()) SWIG_fail;
31299 }
31300 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31301 return resultobj;
31302 fail:
31303 return NULL;
31304 }
31305
31306
31307 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
31308 int argc;
31309 PyObject *argv[4];
31310
31311 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
31312 --argc;
31313 if ((argc >= 2) && (argc <= 3)) {
31314 int _v = 0;
31315 if (argc > 2) {
31316 {
31317 void *vptr = 0;
31318 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
31319 _v = SWIG_CheckState(res);
31320 }
31321 if (!_v) goto check_1;
31322 }
31323 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
31324 }
31325 check_1:
31326
31327 if (argc == 3) {
31328 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
31329 }
31330
31331 fail:
31332 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
31333 return NULL;
31334 }
31335
31336
31337 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31338 PyObject *resultobj = 0;
31339 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
31340 PyObject *arg2 = (PyObject *) 0 ;
31341 PyObject *arg3 = (PyObject *) 0 ;
31342 void *argp1 = 0 ;
31343 int res1 = 0 ;
31344 PyObject * obj0 = 0 ;
31345 PyObject * obj1 = 0 ;
31346 PyObject * obj2 = 0 ;
31347 char * kwnames[] = {
31348 (char *) "self",(char *) "self",(char *) "_class", NULL
31349 };
31350
31351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
31353 if (!SWIG_IsOK(res1)) {
31354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31355 }
31356 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
31357 arg2 = obj1;
31358 arg3 = obj2;
31359 {
31360 PyThreadState* __tstate = wxPyBeginAllowThreads();
31361 (arg1)->_setCallbackInfo(arg2,arg3);
31362 wxPyEndAllowThreads(__tstate);
31363 if (PyErr_Occurred()) SWIG_fail;
31364 }
31365 resultobj = SWIG_Py_Void();
31366 return resultobj;
31367 fail:
31368 return NULL;
31369 }
31370
31371
31372 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31373 PyObject *obj;
31374 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31375 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
31376 return SWIG_Py_Void();
31377 }
31378
31379 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31380 return SWIG_Python_InitShadowInstance(args);
31381 }
31382
31383 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31384 PyObject *resultobj = 0;
31385 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31386 wxFrame *arg2 = (wxFrame *) 0 ;
31387 wxString *arg3 = 0 ;
31388 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31389 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31390 wxSize const &arg5_defvalue = wxDefaultSize ;
31391 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31392 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31393 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31394 wxString *arg7 = (wxString *) &arg7_defvalue ;
31395 wxPyPreviewFrame *result = 0 ;
31396 int res1 = 0 ;
31397 void *argp2 = 0 ;
31398 int res2 = 0 ;
31399 bool temp3 = false ;
31400 wxPoint temp4 ;
31401 wxSize temp5 ;
31402 long val6 ;
31403 int ecode6 = 0 ;
31404 bool temp7 = false ;
31405 PyObject * obj0 = 0 ;
31406 PyObject * obj1 = 0 ;
31407 PyObject * obj2 = 0 ;
31408 PyObject * obj3 = 0 ;
31409 PyObject * obj4 = 0 ;
31410 PyObject * obj5 = 0 ;
31411 PyObject * obj6 = 0 ;
31412 char * kwnames[] = {
31413 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31414 };
31415
31416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31417 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31418 if (!SWIG_IsOK(res1)) {
31419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31420 }
31421 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31422 if (!SWIG_IsOK(res2)) {
31423 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31424 }
31425 arg2 = reinterpret_cast< wxFrame * >(argp2);
31426 {
31427 arg3 = wxString_in_helper(obj2);
31428 if (arg3 == NULL) SWIG_fail;
31429 temp3 = true;
31430 }
31431 if (obj3) {
31432 {
31433 arg4 = &temp4;
31434 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31435 }
31436 }
31437 if (obj4) {
31438 {
31439 arg5 = &temp5;
31440 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31441 }
31442 }
31443 if (obj5) {
31444 ecode6 = SWIG_AsVal_long(obj5, &val6);
31445 if (!SWIG_IsOK(ecode6)) {
31446 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31447 }
31448 arg6 = static_cast< long >(val6);
31449 }
31450 if (obj6) {
31451 {
31452 arg7 = wxString_in_helper(obj6);
31453 if (arg7 == NULL) SWIG_fail;
31454 temp7 = true;
31455 }
31456 }
31457 {
31458 if (!wxPyCheckForApp()) SWIG_fail;
31459 PyThreadState* __tstate = wxPyBeginAllowThreads();
31460 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31461 wxPyEndAllowThreads(__tstate);
31462 if (PyErr_Occurred()) SWIG_fail;
31463 }
31464 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31465 {
31466 if (temp3)
31467 delete arg3;
31468 }
31469 {
31470 if (temp7)
31471 delete arg7;
31472 }
31473 return resultobj;
31474 fail:
31475 {
31476 if (temp3)
31477 delete arg3;
31478 }
31479 {
31480 if (temp7)
31481 delete arg7;
31482 }
31483 return NULL;
31484 }
31485
31486
31487 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31488 PyObject *resultobj = 0;
31489 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31490 PyObject *arg2 = (PyObject *) 0 ;
31491 PyObject *arg3 = (PyObject *) 0 ;
31492 void *argp1 = 0 ;
31493 int res1 = 0 ;
31494 PyObject * obj0 = 0 ;
31495 PyObject * obj1 = 0 ;
31496 PyObject * obj2 = 0 ;
31497 char * kwnames[] = {
31498 (char *) "self",(char *) "self",(char *) "_class", NULL
31499 };
31500
31501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31503 if (!SWIG_IsOK(res1)) {
31504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31505 }
31506 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31507 arg2 = obj1;
31508 arg3 = obj2;
31509 {
31510 PyThreadState* __tstate = wxPyBeginAllowThreads();
31511 (arg1)->_setCallbackInfo(arg2,arg3);
31512 wxPyEndAllowThreads(__tstate);
31513 if (PyErr_Occurred()) SWIG_fail;
31514 }
31515 resultobj = SWIG_Py_Void();
31516 return resultobj;
31517 fail:
31518 return NULL;
31519 }
31520
31521
31522 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31523 PyObject *resultobj = 0;
31524 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31525 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31526 void *argp1 = 0 ;
31527 int res1 = 0 ;
31528 void *argp2 = 0 ;
31529 int res2 = 0 ;
31530 PyObject * obj0 = 0 ;
31531 PyObject * obj1 = 0 ;
31532 char * kwnames[] = {
31533 (char *) "self",(char *) "canvas", NULL
31534 };
31535
31536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31538 if (!SWIG_IsOK(res1)) {
31539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31540 }
31541 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31542 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31543 if (!SWIG_IsOK(res2)) {
31544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31545 }
31546 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31547 {
31548 PyThreadState* __tstate = wxPyBeginAllowThreads();
31549 (arg1)->SetPreviewCanvas(arg2);
31550 wxPyEndAllowThreads(__tstate);
31551 if (PyErr_Occurred()) SWIG_fail;
31552 }
31553 resultobj = SWIG_Py_Void();
31554 return resultobj;
31555 fail:
31556 return NULL;
31557 }
31558
31559
31560 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31561 PyObject *resultobj = 0;
31562 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31563 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31564 void *argp1 = 0 ;
31565 int res1 = 0 ;
31566 void *argp2 = 0 ;
31567 int res2 = 0 ;
31568 PyObject * obj0 = 0 ;
31569 PyObject * obj1 = 0 ;
31570 char * kwnames[] = {
31571 (char *) "self",(char *) "bar", NULL
31572 };
31573
31574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31576 if (!SWIG_IsOK(res1)) {
31577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31578 }
31579 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31580 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31581 if (!SWIG_IsOK(res2)) {
31582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31583 }
31584 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31585 {
31586 PyThreadState* __tstate = wxPyBeginAllowThreads();
31587 (arg1)->SetControlBar(arg2);
31588 wxPyEndAllowThreads(__tstate);
31589 if (PyErr_Occurred()) SWIG_fail;
31590 }
31591 resultobj = SWIG_Py_Void();
31592 return resultobj;
31593 fail:
31594 return NULL;
31595 }
31596
31597
31598 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31599 PyObject *resultobj = 0;
31600 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31601 void *argp1 = 0 ;
31602 int res1 = 0 ;
31603 PyObject *swig_obj[1] ;
31604
31605 if (!args) SWIG_fail;
31606 swig_obj[0] = args;
31607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31608 if (!SWIG_IsOK(res1)) {
31609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31610 }
31611 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31612 {
31613 PyThreadState* __tstate = wxPyBeginAllowThreads();
31614 (arg1)->Initialize();
31615 wxPyEndAllowThreads(__tstate);
31616 if (PyErr_Occurred()) SWIG_fail;
31617 }
31618 resultobj = SWIG_Py_Void();
31619 return resultobj;
31620 fail:
31621 return NULL;
31622 }
31623
31624
31625 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31626 PyObject *resultobj = 0;
31627 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31628 void *argp1 = 0 ;
31629 int res1 = 0 ;
31630 PyObject *swig_obj[1] ;
31631
31632 if (!args) SWIG_fail;
31633 swig_obj[0] = args;
31634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31635 if (!SWIG_IsOK(res1)) {
31636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31637 }
31638 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31639 {
31640 PyThreadState* __tstate = wxPyBeginAllowThreads();
31641 (arg1)->CreateCanvas();
31642 wxPyEndAllowThreads(__tstate);
31643 if (PyErr_Occurred()) SWIG_fail;
31644 }
31645 resultobj = SWIG_Py_Void();
31646 return resultobj;
31647 fail:
31648 return NULL;
31649 }
31650
31651
31652 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31653 PyObject *resultobj = 0;
31654 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31655 void *argp1 = 0 ;
31656 int res1 = 0 ;
31657 PyObject *swig_obj[1] ;
31658
31659 if (!args) SWIG_fail;
31660 swig_obj[0] = args;
31661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31662 if (!SWIG_IsOK(res1)) {
31663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31664 }
31665 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31666 {
31667 PyThreadState* __tstate = wxPyBeginAllowThreads();
31668 (arg1)->CreateControlBar();
31669 wxPyEndAllowThreads(__tstate);
31670 if (PyErr_Occurred()) SWIG_fail;
31671 }
31672 resultobj = SWIG_Py_Void();
31673 return resultobj;
31674 fail:
31675 return NULL;
31676 }
31677
31678
31679 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31680 PyObject *obj;
31681 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31682 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31683 return SWIG_Py_Void();
31684 }
31685
31686 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31687 return SWIG_Python_InitShadowInstance(args);
31688 }
31689
31690 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31691 PyObject *resultobj = 0;
31692 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31693 long arg2 ;
31694 wxWindow *arg3 = (wxWindow *) 0 ;
31695 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31696 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31697 wxSize const &arg5_defvalue = wxDefaultSize ;
31698 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31699 long arg6 = (long) 0 ;
31700 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31701 wxString *arg7 = (wxString *) &arg7_defvalue ;
31702 wxPyPreviewControlBar *result = 0 ;
31703 int res1 = 0 ;
31704 long val2 ;
31705 int ecode2 = 0 ;
31706 void *argp3 = 0 ;
31707 int res3 = 0 ;
31708 wxPoint temp4 ;
31709 wxSize temp5 ;
31710 long val6 ;
31711 int ecode6 = 0 ;
31712 bool temp7 = false ;
31713 PyObject * obj0 = 0 ;
31714 PyObject * obj1 = 0 ;
31715 PyObject * obj2 = 0 ;
31716 PyObject * obj3 = 0 ;
31717 PyObject * obj4 = 0 ;
31718 PyObject * obj5 = 0 ;
31719 PyObject * obj6 = 0 ;
31720 char * kwnames[] = {
31721 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31722 };
31723
31724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31725 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31726 if (!SWIG_IsOK(res1)) {
31727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31728 }
31729 ecode2 = SWIG_AsVal_long(obj1, &val2);
31730 if (!SWIG_IsOK(ecode2)) {
31731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31732 }
31733 arg2 = static_cast< long >(val2);
31734 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31735 if (!SWIG_IsOK(res3)) {
31736 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31737 }
31738 arg3 = reinterpret_cast< wxWindow * >(argp3);
31739 if (obj3) {
31740 {
31741 arg4 = &temp4;
31742 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31743 }
31744 }
31745 if (obj4) {
31746 {
31747 arg5 = &temp5;
31748 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31749 }
31750 }
31751 if (obj5) {
31752 ecode6 = SWIG_AsVal_long(obj5, &val6);
31753 if (!SWIG_IsOK(ecode6)) {
31754 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31755 }
31756 arg6 = static_cast< long >(val6);
31757 }
31758 if (obj6) {
31759 {
31760 arg7 = wxString_in_helper(obj6);
31761 if (arg7 == NULL) SWIG_fail;
31762 temp7 = true;
31763 }
31764 }
31765 {
31766 if (!wxPyCheckForApp()) SWIG_fail;
31767 PyThreadState* __tstate = wxPyBeginAllowThreads();
31768 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31769 wxPyEndAllowThreads(__tstate);
31770 if (PyErr_Occurred()) SWIG_fail;
31771 }
31772 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31773 {
31774 if (temp7)
31775 delete arg7;
31776 }
31777 return resultobj;
31778 fail:
31779 {
31780 if (temp7)
31781 delete arg7;
31782 }
31783 return NULL;
31784 }
31785
31786
31787 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31788 PyObject *resultobj = 0;
31789 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31790 PyObject *arg2 = (PyObject *) 0 ;
31791 PyObject *arg3 = (PyObject *) 0 ;
31792 void *argp1 = 0 ;
31793 int res1 = 0 ;
31794 PyObject * obj0 = 0 ;
31795 PyObject * obj1 = 0 ;
31796 PyObject * obj2 = 0 ;
31797 char * kwnames[] = {
31798 (char *) "self",(char *) "self",(char *) "_class", NULL
31799 };
31800
31801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31803 if (!SWIG_IsOK(res1)) {
31804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31805 }
31806 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31807 arg2 = obj1;
31808 arg3 = obj2;
31809 {
31810 PyThreadState* __tstate = wxPyBeginAllowThreads();
31811 (arg1)->_setCallbackInfo(arg2,arg3);
31812 wxPyEndAllowThreads(__tstate);
31813 if (PyErr_Occurred()) SWIG_fail;
31814 }
31815 resultobj = SWIG_Py_Void();
31816 return resultobj;
31817 fail:
31818 return NULL;
31819 }
31820
31821
31822 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31823 PyObject *resultobj = 0;
31824 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31825 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31826 void *argp1 = 0 ;
31827 int res1 = 0 ;
31828 int res2 = 0 ;
31829 PyObject * obj0 = 0 ;
31830 PyObject * obj1 = 0 ;
31831 char * kwnames[] = {
31832 (char *) "self",(char *) "preview", NULL
31833 };
31834
31835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31837 if (!SWIG_IsOK(res1)) {
31838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31839 }
31840 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31841 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31842 if (!SWIG_IsOK(res2)) {
31843 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31844 }
31845 {
31846 PyThreadState* __tstate = wxPyBeginAllowThreads();
31847 (arg1)->SetPrintPreview(arg2);
31848 wxPyEndAllowThreads(__tstate);
31849 if (PyErr_Occurred()) SWIG_fail;
31850 }
31851 resultobj = SWIG_Py_Void();
31852 return resultobj;
31853 fail:
31854 return NULL;
31855 }
31856
31857
31858 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31859 PyObject *resultobj = 0;
31860 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31861 void *argp1 = 0 ;
31862 int res1 = 0 ;
31863 PyObject *swig_obj[1] ;
31864
31865 if (!args) SWIG_fail;
31866 swig_obj[0] = args;
31867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31868 if (!SWIG_IsOK(res1)) {
31869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31870 }
31871 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31872 {
31873 PyThreadState* __tstate = wxPyBeginAllowThreads();
31874 (arg1)->CreateButtons();
31875 wxPyEndAllowThreads(__tstate);
31876 if (PyErr_Occurred()) SWIG_fail;
31877 }
31878 resultobj = SWIG_Py_Void();
31879 return resultobj;
31880 fail:
31881 return NULL;
31882 }
31883
31884
31885 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31886 PyObject *resultobj = 0;
31887 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31888 int arg2 ;
31889 void *argp1 = 0 ;
31890 int res1 = 0 ;
31891 int val2 ;
31892 int ecode2 = 0 ;
31893 PyObject * obj0 = 0 ;
31894 PyObject * obj1 = 0 ;
31895 char * kwnames[] = {
31896 (char *) "self",(char *) "zoom", NULL
31897 };
31898
31899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31901 if (!SWIG_IsOK(res1)) {
31902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31903 }
31904 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31905 ecode2 = SWIG_AsVal_int(obj1, &val2);
31906 if (!SWIG_IsOK(ecode2)) {
31907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31908 }
31909 arg2 = static_cast< int >(val2);
31910 {
31911 PyThreadState* __tstate = wxPyBeginAllowThreads();
31912 (arg1)->SetZoomControl(arg2);
31913 wxPyEndAllowThreads(__tstate);
31914 if (PyErr_Occurred()) SWIG_fail;
31915 }
31916 resultobj = SWIG_Py_Void();
31917 return resultobj;
31918 fail:
31919 return NULL;
31920 }
31921
31922
31923 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31924 PyObject *obj;
31925 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31926 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31927 return SWIG_Py_Void();
31928 }
31929
31930 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31931 return SWIG_Python_InitShadowInstance(args);
31932 }
31933
31934 static PyMethodDef SwigMethods[] = {
31935 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31937 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31939 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31941 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31942 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31944 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31951 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31953 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31955 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31956 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31957 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31958 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31959 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31962 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
31964 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31965 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31966 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31967 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31968 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31969 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31970 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31971 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31972 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31973 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31974 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31975 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31976 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31979 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31981 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31985 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31987 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31988 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31989 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31990 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31991 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31992 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31993 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31995 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31996 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31997 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31999 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
32000 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
32002 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
32005 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32006 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32007 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
32009 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
32011 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
32012 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
32016 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
32017 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
32019 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32020 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
32022 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
32024 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
32025 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
32026 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
32028 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
32031 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
32032 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
32033 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32034 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
32035 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
32036 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32037 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
32038 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32039 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
32040 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
32041 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
32044 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
32045 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
32046 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32047 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
32048 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
32049 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
32050 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
32051 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
32052 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
32054 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
32057 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
32062 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
32063 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32065 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
32066 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
32067 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32068 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
32069 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
32070 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
32072 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32073 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
32074 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
32075 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
32077 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
32080 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
32081 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
32083 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
32084 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
32085 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
32087 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
32088 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32089 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
32090 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
32092 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
32093 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
32094 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
32095 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
32096 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
32097 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
32098 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32099 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
32100 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
32101 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32102 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
32104 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
32105 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
32106 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
32107 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
32108 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
32109 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32110 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
32111 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
32117 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
32119 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
32121 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
32122 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
32124 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
32125 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
32126 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
32127 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
32128 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
32129 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
32130 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
32131 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
32132 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
32133 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32134 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
32135 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
32136 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
32137 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
32138 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
32139 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
32140 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
32141 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
32142 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32143 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
32144 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
32145 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32146 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
32147 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32148 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
32149 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
32151 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
32153 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
32154 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
32155 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32156 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
32158 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
32159 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
32160 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
32161 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
32162 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32163 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
32164 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
32166 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
32167 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
32169 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32170 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
32171 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
32172 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
32173 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
32174 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32175 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32176 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32177 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
32178 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
32179 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32180 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
32181 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32182 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
32183 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
32184 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
32185 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32186 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
32187 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32188 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
32189 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
32190 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
32191 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
32192 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32193 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
32194 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
32195 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
32196 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
32197 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
32199 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32200 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32201 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
32202 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
32203 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
32204 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
32205 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
32206 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
32207 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
32208 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
32209 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
32210 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
32211 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32212 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
32213 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
32214 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
32215 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32216 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
32217 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
32218 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32219 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
32220 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32221 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32222 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
32223 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
32224 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
32225 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
32226 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
32228 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
32229 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
32230 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
32231 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
32232 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
32233 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
32234 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32235 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
32236 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
32237 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
32238 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
32239 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
32240 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32241 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
32242 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32243 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
32244 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32245 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
32246 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
32247 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32248 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
32249 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32250 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32251 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
32252 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
32253 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
32254 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
32255 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
32256 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32257 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
32258 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32259 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
32260 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
32261 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
32262 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
32263 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32264 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
32265 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
32266 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
32267 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
32268 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
32269 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
32270 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
32271 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
32272 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32273 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
32274 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
32275 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
32276 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
32277 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
32278 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
32279 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32280 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
32281 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32282 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32283 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
32284 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
32285 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32286 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
32287 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
32288 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32289 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32290 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32291 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
32292 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
32293 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32294 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32295 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
32296 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
32297 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32298 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32299 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32300 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
32301 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32302 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
32303 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
32304 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
32305 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
32306 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
32307 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
32308 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
32309 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
32310 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
32311 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
32312 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
32313 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
32314 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32315 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
32316 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
32317 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
32318 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
32319 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32320 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
32321 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
32322 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32323 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
32324 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
32325 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32326 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
32327 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
32328 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
32329 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
32330 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32331 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
32332 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
32333 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32334 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
32335 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
32336 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
32337 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
32338 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
32339 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
32340 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
32341 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
32342 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
32343 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
32344 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
32345 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
32346 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
32347 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
32348 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32349 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
32350 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
32351 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32352 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
32353 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
32354 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32355 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
32356 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
32357 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32358 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32359 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32360 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
32361 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
32362 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32363 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
32364 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
32365 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
32366 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
32367 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
32368 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32369 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
32370 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
32371 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
32372 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
32373 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32374 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32375 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32376 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
32377 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
32378 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
32379 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
32380 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
32381 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
32382 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
32383 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32384 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32385 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32386 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
32387 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
32388 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32389 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
32390 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32391 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
32392 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32393 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
32394 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
32395 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32396 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
32397 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32398 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
32399 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
32400 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
32401 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
32402 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
32403 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
32404 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
32405 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
32406 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
32407 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
32408 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
32409 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32410 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
32411 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32412 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
32413 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
32414 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
32415 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32416 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
32417 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32418 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
32419 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
32420 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32421 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
32422 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32423 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32424 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32425 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32426 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32427 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32428 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32429 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32430 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32431 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32432 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32433 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32434 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
32435 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
32436 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
32437 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
32438 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
32439 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32440 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32441 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32442 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32443 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32444 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32445 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32446 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32447 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32448 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32449 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32450 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32451 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
32452 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
32453 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
32454 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32455 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
32456 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32457 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32458 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32459 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32460 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32461 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32462 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32463 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32464 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32465 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32466 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32467 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32468 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
32469 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
32470 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
32471 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
32472 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32473 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32474 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32475 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
32476 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
32477 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
32478 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32479 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32480 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32481 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32482 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32483 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32484 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32485 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
32486 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
32487 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32488 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32489 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32490 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
32491 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32492 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32493 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32494 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32495 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32496 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32497 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32498 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
32499 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
32500 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
32501 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32502 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
32503 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
32504 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
32505 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
32506 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
32507 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
32508 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32509 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32510 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32511 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32512 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32513 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32514 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32515 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32516 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32517 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32518 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32519 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32520 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32521 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32522 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32523 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32524 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32525 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32526 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
32527 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
32528 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32529 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32530 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32531 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32532 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32533 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32534 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32535 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32536 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32537 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32538 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
32539 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
32540 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
32541 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32542 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
32543 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32544 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32545 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
32546 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
32547 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
32548 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
32549 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32550 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32551 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32552 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32553 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32554 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32555 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32556 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32557 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32558 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32559 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32560 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32561 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32562 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32563 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32564 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32565 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32566 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32567 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32568 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32569 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32570 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32571 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32572 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32573 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32574 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32575 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32576 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32577 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32578 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32579 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32580 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32581 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32582 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32583 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32584 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32585 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32586 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32587 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32588 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32589 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32590 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32591 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32592 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32593 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32594 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32595 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32596 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32597 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32598 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32599 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32600 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32601 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32602 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32603 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32604 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32605 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32606 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32607 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32608 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32609 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32610 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32611 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32612 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32613 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32614 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32615 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32616 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32617 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32618 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32619 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32620 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32621 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32622 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32623 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32624 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32625 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32626 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32627 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32628 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32629 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32630 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32631 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32632 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32633 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32634 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32635 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32636 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32637 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32638 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32639 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32640 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32641 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32642 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32643 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32644 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32645 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32646 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32647 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32648 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32649 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32650 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32651 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32652 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32653 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32654 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32655 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32656 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32657 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32658 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32659 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32660 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32661 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32662 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32663 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32664 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32665 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32666 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32667 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32668 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32669 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32670 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32671 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32672 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32673 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32674 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32675 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32676 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32677 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32678 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32679 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32680 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32681 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32682 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32683 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32684 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32685 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32686 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32687 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32688 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32689 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32690 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32691 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32692 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32693 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32694 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32695 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32696 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32697 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32698 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32699 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32700 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32701 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32702 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32703 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32704 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32705 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32706 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32707 { NULL, NULL, 0, NULL }
32708 };
32709
32710
32711 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32712
32713 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32714 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32715 }
32716 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32717 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32718 }
32719 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32720 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32721 }
32722 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32723 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32724 }
32725 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32726 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32727 }
32728 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32729 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32730 }
32731 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32732 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32733 }
32734 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32735 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32736 }
32737 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32738 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32739 }
32740 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32741 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32742 }
32743 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32744 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32745 }
32746 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32747 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32748 }
32749 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32750 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32751 }
32752 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32753 return (void *)((wxEvent *) ((wxPyEvent *) x));
32754 }
32755 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32756 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32757 }
32758 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32759 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32760 }
32761 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32762 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32763 }
32764 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32765 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32766 }
32767 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32768 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32769 }
32770 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32771 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32772 }
32773 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32774 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32775 }
32776 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32777 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32778 }
32779 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32780 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32781 }
32782 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32783 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32784 }
32785 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32786 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32787 }
32788 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32789 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32790 }
32791 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32792 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32793 }
32794 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32795 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32796 }
32797 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32798 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32799 }
32800 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32801 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32802 }
32803 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32804 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32805 }
32806 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32807 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32808 }
32809 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32810 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32811 }
32812 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32813 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32814 }
32815 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32816 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32817 }
32818 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32819 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32820 }
32821 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32822 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32823 }
32824 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32825 return (void *)((wxEvent *) ((wxShowEvent *) x));
32826 }
32827 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32828 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32829 }
32830 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32831 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32832 }
32833 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32834 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32835 }
32836 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32837 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32838 }
32839 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32840 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32841 }
32842 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32843 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32844 }
32845 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32846 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32847 }
32848 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32849 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32850 }
32851 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
32852 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
32853 }
32854 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32855 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32856 }
32857 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32858 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32859 }
32860 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32861 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32862 }
32863 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32864 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32865 }
32866 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32867 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32868 }
32869 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32870 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32871 }
32872 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32873 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32874 }
32875 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32876 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32877 }
32878 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32879 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32880 }
32881 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32882 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32883 }
32884 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32885 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32886 }
32887 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32888 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32889 }
32890 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32891 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32892 }
32893 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32894 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32895 }
32896 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32897 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32898 }
32899 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32900 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32901 }
32902 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32903 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32904 }
32905 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32906 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32907 }
32908 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32909 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32910 }
32911 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32912 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32913 }
32914 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32915 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32916 }
32917 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32918 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32919 }
32920 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32921 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32922 }
32923 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32924 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32925 }
32926 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32927 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32928 }
32929 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32930 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32931 }
32932 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32933 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32934 }
32935 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32936 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32937 }
32938 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32939 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32940 }
32941 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32942 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32943 }
32944 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32945 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32946 }
32947 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32948 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32949 }
32950 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32951 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32952 }
32953 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32954 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32955 }
32956 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32957 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32958 }
32959 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32960 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32961 }
32962 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32963 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32964 }
32965 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32966 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32967 }
32968 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32969 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32970 }
32971 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32972 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32973 }
32974 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32975 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32976 }
32977 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
32978 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32979 }
32980 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32981 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32982 }
32983 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32984 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32985 }
32986 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32987 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32988 }
32989 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32990 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32991 }
32992 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32993 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32994 }
32995 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32996 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32997 }
32998 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32999 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33000 }
33001 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
33002 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33003 }
33004 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
33005 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33006 }
33007 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
33008 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33009 }
33010 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
33011 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33012 }
33013 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
33014 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
33015 }
33016 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
33017 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33018 }
33019 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
33020 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33021 }
33022 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
33023 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
33024 }
33025 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
33026 return (void *)((wxFrame *) ((wxProgressDialog *) x));
33027 }
33028 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
33029 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
33030 }
33031 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
33032 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33033 }
33034 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
33035 return (void *)((wxFrame *) ((wxMiniFrame *) x));
33036 }
33037 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
33038 return (void *)((wxFrame *) ((wxSplashScreen *) x));
33039 }
33040 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
33041 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
33042 }
33043 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33044 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33045 }
33046 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
33047 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
33048 }
33049 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
33050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33051 }
33052 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
33053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33054 }
33055 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33056 return (void *)((wxObject *) ((wxSizerItem *) x));
33057 }
33058 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33059 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33060 }
33061 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33062 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33063 }
33064 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33065 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33066 }
33067 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33068 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33069 }
33070 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33071 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33072 }
33073 static void *_p_wxSizerTo_p_wxObject(void *x) {
33074 return (void *)((wxObject *) ((wxSizer *) x));
33075 }
33076 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33077 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33078 }
33079 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33080 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33081 }
33082 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
33083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33084 }
33085 static void *_p_wxEventTo_p_wxObject(void *x) {
33086 return (void *)((wxObject *) ((wxEvent *) x));
33087 }
33088 static void *_p_wxFontDataTo_p_wxObject(void *x) {
33089 return (void *)((wxObject *) ((wxFontData *) x));
33090 }
33091 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
33092 return (void *)((wxObject *) ((wxPrintData *) x));
33093 }
33094 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33095 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33096 }
33097 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33098 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33099 }
33100 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33101 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33102 }
33103 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
33104 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
33105 }
33106 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
33107 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
33108 }
33109 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
33110 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
33111 }
33112 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
33113 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
33114 }
33115 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33116 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33117 }
33118 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33119 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33120 }
33121 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33122 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33123 }
33124 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33125 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33126 }
33127 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33128 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33129 }
33130 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33131 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33132 }
33133 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33135 }
33136 static void *_p_wxControlTo_p_wxObject(void *x) {
33137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33138 }
33139 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33140 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33141 }
33142 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33143 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33144 }
33145 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33146 return (void *)((wxObject *) ((wxFSFile *) x));
33147 }
33148 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33149 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33150 }
33151 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33152 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33153 }
33154 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33156 }
33157 static void *_p_wxColourDataTo_p_wxObject(void *x) {
33158 return (void *)((wxObject *) ((wxColourData *) x));
33159 }
33160 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33161 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33162 }
33163 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33164 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33165 }
33166 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33168 }
33169 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33171 }
33172 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33174 }
33175 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33177 }
33178 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33180 }
33181 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33183 }
33184 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
33185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33186 }
33187 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
33188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33189 }
33190 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33192 }
33193 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33195 }
33196 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33198 }
33199 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33200 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33201 }
33202 static void *_p_wxPrinterTo_p_wxObject(void *x) {
33203 return (void *)((wxObject *) ((wxPrinter *) x));
33204 }
33205 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33206 return (void *)((wxObject *) ((wxMenuItem *) x));
33207 }
33208 static void *_p_wxDateEventTo_p_wxObject(void *x) {
33209 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
33210 }
33211 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33212 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33213 }
33214 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33215 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33216 }
33217 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33218 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33219 }
33220 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33221 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33222 }
33223 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33224 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33225 }
33226 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33227 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33228 }
33229 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33230 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33231 }
33232 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33233 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33234 }
33235 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33236 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33237 }
33238 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33239 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33240 }
33241 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33242 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33243 }
33244 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33245 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33246 }
33247 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33248 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33249 }
33250 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33251 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33252 }
33253 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33254 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33255 }
33256 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33257 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33258 }
33259 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33260 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33261 }
33262 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
33263 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
33264 }
33265 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33266 return (void *)((wxObject *) ((wxImageHandler *) x));
33267 }
33268 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33269 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33270 }
33271 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33272 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33273 }
33274 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
33275 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
33276 }
33277 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33278 return (void *)((wxObject *) ((wxEvtHandler *) x));
33279 }
33280 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
33281 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
33282 }
33283 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33284 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33285 }
33286 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33288 }
33289 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33291 }
33292 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
33293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33294 }
33295 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33296 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33297 }
33298 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
33299 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
33300 }
33301 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33303 }
33304 static void *_p_wxImageTo_p_wxObject(void *x) {
33305 return (void *)((wxObject *) ((wxImage *) x));
33306 }
33307 static void *_p_wxFrameTo_p_wxObject(void *x) {
33308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33309 }
33310 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33311 return (void *)((wxObject *) ((wxPyPrintout *) x));
33312 }
33313 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33314 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33315 }
33316 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33317 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33318 }
33319 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33321 }
33322 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33324 }
33325 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33326 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33327 }
33328 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33329 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33330 }
33331 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33332 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33333 }
33334 static void *_p_wxWindowTo_p_wxObject(void *x) {
33335 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33336 }
33337 static void *_p_wxMenuTo_p_wxObject(void *x) {
33338 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33339 }
33340 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33342 }
33343 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33345 }
33346 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33348 }
33349 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33351 }
33352 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33354 }
33355 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33357 }
33358 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33360 }
33361 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33363 }
33364 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33366 }
33367 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33369 }
33370 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33372 }
33373 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33375 }
33376 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33378 }
33379 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33380 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33381 }
33382 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33383 return (void *)((wxObject *) ((wxPrintPreview *) x));
33384 }
33385 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33386 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33387 }
33388 static void *_p_wxPanelTo_p_wxObject(void *x) {
33389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33390 }
33391 static void *_p_wxDialogTo_p_wxObject(void *x) {
33392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33393 }
33394 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33395 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33396 }
33397 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33399 }
33400 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33402 }
33403 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33404 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
33405 }
33406 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33407 return (void *)((wxObject *) ((wxPrintDialog *) x));
33408 }
33409 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33410 return (void *)((wxObject *) ((wxFileSystem *) x));
33411 }
33412 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33413 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33414 }
33415 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33416 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33417 }
33418 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33419 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33420 }
33421 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33422 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33423 }
33424 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33425 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33426 }
33427 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33428 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33429 }
33430 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33431 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33432 }
33433 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33434 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33435 }
33436 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33438 }
33439 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33441 }
33442 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33443 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33444 }
33445 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33446 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33447 }
33448 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33449 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33450 }
33451 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33453 }
33454 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33455 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33456 }
33457 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33458 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33459 }
33460 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33461 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33462 }
33463 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33464 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33465 }
33466 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33467 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33468 }
33469 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33470 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33471 }
33472 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33473 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33474 }
33475 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
33476 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33477 }
33478 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33479 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33480 }
33481 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
33482 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33483 }
33484 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33485 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33486 }
33487 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33488 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33489 }
33490 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33491 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33492 }
33493 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33494 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33495 }
33496 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33497 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33498 }
33499 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33500 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33501 }
33502 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33503 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33504 }
33505 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33506 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33507 }
33508 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33509 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33510 }
33511 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33512 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33513 }
33514 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33515 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33516 }
33517 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33518 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
33519 }
33520 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33521 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33522 }
33523 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33524 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33525 }
33526 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33527 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33528 }
33529 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33530 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33531 }
33532 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33533 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33534 }
33535 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33536 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33537 }
33538 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33539 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33540 }
33541 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33542 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33543 }
33544 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33545 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33546 }
33547 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33549 }
33550 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33551 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33552 }
33553 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33554 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33555 }
33556 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33557 return (void *)((wxWindow *) ((wxMenuBar *) x));
33558 }
33559 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33560 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33561 }
33562 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33563 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33564 }
33565 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33566 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33567 }
33568 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33569 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33570 }
33571 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33572 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33573 }
33574 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33575 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33576 }
33577 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33578 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33579 }
33580 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33581 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33582 }
33583 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33584 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33585 }
33586 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33587 return (void *)((wxWindow *) ((wxPanel *) x));
33588 }
33589 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33590 return (void *)((wxWindow *) ((wxStatusBar *) x));
33591 }
33592 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33593 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33594 }
33595 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33596 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33597 }
33598 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33599 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33600 }
33601 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33602 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33603 }
33604 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33605 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33606 }
33607 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33608 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33609 }
33610 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33611 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33612 }
33613 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33614 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33615 }
33616 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33617 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33618 }
33619 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33620 return (void *)((wxWindow *) ((wxSashWindow *) x));
33621 }
33622 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33623 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33624 }
33625 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33626 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33627 }
33628 static void *_p_wxControlTo_p_wxWindow(void *x) {
33629 return (void *)((wxWindow *) ((wxControl *) x));
33630 }
33631 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33632 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33633 }
33634 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33635 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33636 }
33637 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33638 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33639 }
33640 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33641 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33642 }
33643 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33644 return (void *)((wxWindow *) ((wxPyWindow *) x));
33645 }
33646 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33647 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33648 }
33649 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
33650 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33651 }
33652 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33653 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33654 }
33655 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33656 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33657 }
33658 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33659 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33660 }
33661 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33662 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33663 }
33664 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33665 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33666 }
33667 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33668 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33669 }
33670 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33671 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33672 }
33673 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33674 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33675 }
33676 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33677 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33678 }
33679 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33680 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33681 }
33682 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33683 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33684 }
33685 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33686 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33687 }
33688 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33689 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33690 }
33691 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33692 return (void *)((wxDialog *) ((wxColourDialog *) x));
33693 }
33694 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33695 return (void *)((wxDialog *) ((wxDirDialog *) x));
33696 }
33697 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33698 return (void *)((wxDialog *) ((wxFontDialog *) x));
33699 }
33700 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33701 return (void *)((wxDialog *) ((wxFileDialog *) x));
33702 }
33703 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33704 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33705 }
33706 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33707 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33708 }
33709 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33710 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33711 }
33712 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33713 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33714 }
33715 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33716 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33717 }
33718 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33719 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33720 }
33721 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33722 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33723 }
33724 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33725 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33726 }
33727 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33728 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33729 }
33730 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33731 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33732 }
33733 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33734 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33735 }
33736 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33737 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33738 }
33739 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
33740 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33741 }
33742 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33743 return (void *)((wxPanel *) ((wxPyPanel *) x));
33744 }
33745 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33746 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33747 }
33748 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33749 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33750 }
33751 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33752 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33753 }
33754 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33755 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33756 }
33757 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33758 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33759 }
33760 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33761 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33762 }
33763 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33764 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33765 }
33766 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33767 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33768 }
33769 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33770 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33771 }
33772 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33773 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33774 }
33775 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33776 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33777 }
33778 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33779 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33780 }
33781 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33782 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33783 }
33784 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33785 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33786 }
33787 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33788 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33789 }
33790 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33791 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33792 }
33793 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33794 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33795 }
33796 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33797 return (void *)((wxValidator *) ((wxPyValidator *) x));
33798 }
33799 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33800 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33801 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};
33802 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33803 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33804 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33805 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33806 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33807 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33808 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33809 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33810 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33811 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33812 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33813 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33814 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33815 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33816 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33817 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33818 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33819 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33820 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33821 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33822 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33823 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33824 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33825 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33826 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33827 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33828 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33829 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33830 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33831 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33832 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33833 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33834 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33835 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33836 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33837 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33838 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33839 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33840 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33841 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33842 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33843 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33844 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33845 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33846 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33847 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33848 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33849 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33850 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33851 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33852 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33853 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33854 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33855 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33856 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33857 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33858 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33859 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33860 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33861 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33862 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33863 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33864 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33865 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33866 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33867 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33868 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33869 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33870 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33871 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33872 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33873 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33874 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33875 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33876 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33877 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33878 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33879 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33880 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33881 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33882 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33883 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33884 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33885 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33886 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33887 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33888 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33889 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33890 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33891 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33892 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33893 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33894 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33895 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33896 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33897 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33898 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33899 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33900 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33901 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33902 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33903 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33904 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33905 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33906 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33907 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33908 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33909 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33910 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33911 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33912 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33913 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33914 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33915 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33916 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33917 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33918 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33919 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33920 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33921 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33922 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33923 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33924 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33925 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33926 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33927 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33928 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33929 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33930 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33931 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33932 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33933 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33934 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33935 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33936 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33937 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33938 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33939 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33940 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33941 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33942 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33943 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33944 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33945 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33946 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33947 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33948 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33949 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33950 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33951 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33952 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33953 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33954 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33955 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33956 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33957 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33958 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33959 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33960 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33961 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33962 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33963 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33964 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33965 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33966 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33967 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33968
33969 static swig_type_info *swig_type_initial[] = {
33970 &_swigt__p_bool,
33971 &_swigt__p_char,
33972 &_swigt__p_form_ops_t,
33973 &_swigt__p_int,
33974 &_swigt__p_unsigned_char,
33975 &_swigt__p_unsigned_int,
33976 &_swigt__p_unsigned_long,
33977 &_swigt__p_wxANIHandler,
33978 &_swigt__p_wxAcceleratorTable,
33979 &_swigt__p_wxActivateEvent,
33980 &_swigt__p_wxArrayInt,
33981 &_swigt__p_wxArrayString,
33982 &_swigt__p_wxBMPHandler,
33983 &_swigt__p_wxBitmap,
33984 &_swigt__p_wxBoxSizer,
33985 &_swigt__p_wxCURHandler,
33986 &_swigt__p_wxCalculateLayoutEvent,
33987 &_swigt__p_wxChildFocusEvent,
33988 &_swigt__p_wxClipboardTextEvent,
33989 &_swigt__p_wxCloseEvent,
33990 &_swigt__p_wxColour,
33991 &_swigt__p_wxColourData,
33992 &_swigt__p_wxColourDialog,
33993 &_swigt__p_wxCommandEvent,
33994 &_swigt__p_wxContextMenuEvent,
33995 &_swigt__p_wxControl,
33996 &_swigt__p_wxControlWithItems,
33997 &_swigt__p_wxDC,
33998 &_swigt__p_wxDateEvent,
33999 &_swigt__p_wxDialog,
34000 &_swigt__p_wxDirDialog,
34001 &_swigt__p_wxDisplayChangedEvent,
34002 &_swigt__p_wxDropFilesEvent,
34003 &_swigt__p_wxDuplexMode,
34004 &_swigt__p_wxEraseEvent,
34005 &_swigt__p_wxEvent,
34006 &_swigt__p_wxEvtHandler,
34007 &_swigt__p_wxFSFile,
34008 &_swigt__p_wxFileDialog,
34009 &_swigt__p_wxFileSystem,
34010 &_swigt__p_wxFindDialogEvent,
34011 &_swigt__p_wxFindReplaceData,
34012 &_swigt__p_wxFindReplaceDialog,
34013 &_swigt__p_wxFlexGridSizer,
34014 &_swigt__p_wxFocusEvent,
34015 &_swigt__p_wxFont,
34016 &_swigt__p_wxFontData,
34017 &_swigt__p_wxFontDialog,
34018 &_swigt__p_wxFrame,
34019 &_swigt__p_wxGBSizerItem,
34020 &_swigt__p_wxGIFHandler,
34021 &_swigt__p_wxGridBagSizer,
34022 &_swigt__p_wxGridSizer,
34023 &_swigt__p_wxHtmlLinkInfo,
34024 &_swigt__p_wxICOHandler,
34025 &_swigt__p_wxIcon,
34026 &_swigt__p_wxIconBundle,
34027 &_swigt__p_wxIconizeEvent,
34028 &_swigt__p_wxIdleEvent,
34029 &_swigt__p_wxImage,
34030 &_swigt__p_wxImageHandler,
34031 &_swigt__p_wxIndividualLayoutConstraint,
34032 &_swigt__p_wxInitDialogEvent,
34033 &_swigt__p_wxItemContainer,
34034 &_swigt__p_wxJPEGHandler,
34035 &_swigt__p_wxKeyEvent,
34036 &_swigt__p_wxLayoutAlgorithm,
34037 &_swigt__p_wxLayoutConstraints,
34038 &_swigt__p_wxMDIChildFrame,
34039 &_swigt__p_wxMDIClientWindow,
34040 &_swigt__p_wxMDIParentFrame,
34041 &_swigt__p_wxMaximizeEvent,
34042 &_swigt__p_wxMenu,
34043 &_swigt__p_wxMenuBar,
34044 &_swigt__p_wxMenuEvent,
34045 &_swigt__p_wxMenuItem,
34046 &_swigt__p_wxMessageDialog,
34047 &_swigt__p_wxMiniFrame,
34048 &_swigt__p_wxMouseCaptureChangedEvent,
34049 &_swigt__p_wxMouseCaptureLostEvent,
34050 &_swigt__p_wxMouseEvent,
34051 &_swigt__p_wxMoveEvent,
34052 &_swigt__p_wxMultiChoiceDialog,
34053 &_swigt__p_wxNavigationKeyEvent,
34054 &_swigt__p_wxNcPaintEvent,
34055 &_swigt__p_wxNotifyEvent,
34056 &_swigt__p_wxNumberEntryDialog,
34057 &_swigt__p_wxObject,
34058 &_swigt__p_wxPCXHandler,
34059 &_swigt__p_wxPNGHandler,
34060 &_swigt__p_wxPNMHandler,
34061 &_swigt__p_wxPageSetupDialog,
34062 &_swigt__p_wxPageSetupDialogData,
34063 &_swigt__p_wxPaintEvent,
34064 &_swigt__p_wxPaletteChangedEvent,
34065 &_swigt__p_wxPanel,
34066 &_swigt__p_wxPaperSize,
34067 &_swigt__p_wxPasswordEntryDialog,
34068 &_swigt__p_wxPoint,
34069 &_swigt__p_wxPopupWindow,
34070 &_swigt__p_wxPreviewCanvas,
34071 &_swigt__p_wxPreviewControlBar,
34072 &_swigt__p_wxPreviewFrame,
34073 &_swigt__p_wxPrintData,
34074 &_swigt__p_wxPrintDialog,
34075 &_swigt__p_wxPrintDialogData,
34076 &_swigt__p_wxPrintPreview,
34077 &_swigt__p_wxPrinter,
34078 &_swigt__p_wxProgressDialog,
34079 &_swigt__p_wxPyApp,
34080 &_swigt__p_wxPyCommandEvent,
34081 &_swigt__p_wxPyEvent,
34082 &_swigt__p_wxPyHtmlListBox,
34083 &_swigt__p_wxPyImageHandler,
34084 &_swigt__p_wxPyPanel,
34085 &_swigt__p_wxPyPopupTransientWindow,
34086 &_swigt__p_wxPyPreviewControlBar,
34087 &_swigt__p_wxPyPreviewFrame,
34088 &_swigt__p_wxPyPrintPreview,
34089 &_swigt__p_wxPyPrintout,
34090 &_swigt__p_wxPyScrolledWindow,
34091 &_swigt__p_wxPySizer,
34092 &_swigt__p_wxPyTaskBarIcon,
34093 &_swigt__p_wxPyVListBox,
34094 &_swigt__p_wxPyVScrolledWindow,
34095 &_swigt__p_wxPyValidator,
34096 &_swigt__p_wxPyWindow,
34097 &_swigt__p_wxQueryLayoutInfoEvent,
34098 &_swigt__p_wxQueryNewPaletteEvent,
34099 &_swigt__p_wxRect,
34100 &_swigt__p_wxRegion,
34101 &_swigt__p_wxSashEvent,
34102 &_swigt__p_wxSashLayoutWindow,
34103 &_swigt__p_wxSashWindow,
34104 &_swigt__p_wxScrollEvent,
34105 &_swigt__p_wxScrollWinEvent,
34106 &_swigt__p_wxScrolledWindow,
34107 &_swigt__p_wxSetCursorEvent,
34108 &_swigt__p_wxShowEvent,
34109 &_swigt__p_wxSimpleHtmlListBox,
34110 &_swigt__p_wxSingleChoiceDialog,
34111 &_swigt__p_wxSize,
34112 &_swigt__p_wxSizeEvent,
34113 &_swigt__p_wxSizer,
34114 &_swigt__p_wxSizerItem,
34115 &_swigt__p_wxSplashScreen,
34116 &_swigt__p_wxSplashScreenWindow,
34117 &_swigt__p_wxSplitterEvent,
34118 &_swigt__p_wxSplitterWindow,
34119 &_swigt__p_wxStaticBoxSizer,
34120 &_swigt__p_wxStatusBar,
34121 &_swigt__p_wxStdDialogButtonSizer,
34122 &_swigt__p_wxString,
34123 &_swigt__p_wxSysColourChangedEvent,
34124 &_swigt__p_wxTGAHandler,
34125 &_swigt__p_wxTIFFHandler,
34126 &_swigt__p_wxTaskBarIcon,
34127 &_swigt__p_wxTaskBarIconEvent,
34128 &_swigt__p_wxTextEntryDialog,
34129 &_swigt__p_wxTipWindow,
34130 &_swigt__p_wxToolBar,
34131 &_swigt__p_wxTopLevelWindow,
34132 &_swigt__p_wxUpdateUIEvent,
34133 &_swigt__p_wxValidator,
34134 &_swigt__p_wxVisualAttributes,
34135 &_swigt__p_wxWindow,
34136 &_swigt__p_wxWindowCreateEvent,
34137 &_swigt__p_wxWindowDestroyEvent,
34138 &_swigt__p_wxXPMHandler,
34139 };
34140
34141 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
34142 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
34143 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
34144 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
34145 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
34146 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
34147 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
34148 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
34149 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
34150 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
34151 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
34152 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
34153 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
34154 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
34155 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
34156 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
34157 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
34158 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
34159 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34160 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34161 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
34162 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
34163 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
34164 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}};
34165 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
34166 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}};
34167 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
34168 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
34169 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34170 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
34171 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
34172 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
34173 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
34174 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34175 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34176 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
34177 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
34178 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
34179 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34180 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34181 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
34182 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34183 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34184 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34185 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34186 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34187 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34188 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34189 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34190 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
34191 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34192 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
34193 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34194 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34195 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
34196 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
34197 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
34198 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
34199 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
34200 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_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
34201 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
34202 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
34203 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34204 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
34205 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
34206 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
34207 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
34208 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
34209 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}};
34210 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
34211 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
34212 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
34213 static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
34214 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
34215 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
34216 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
34217 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
34218 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
34219 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
34220 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
34221 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
34222 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34223 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}};
34224 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34225 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
34226 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34227 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34228 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
34229 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34230 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34231 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
34232 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
34233 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34234 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34235 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
34236 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
34237 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
34238 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
34239 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
34240 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
34241 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
34242 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
34243 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
34244 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
34245 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
34246 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
34247 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34248 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34249 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
34250 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
34251 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
34252 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
34253 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
34254 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
34255 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
34256 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
34257 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
34258 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
34259 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34260 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
34261 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}};
34262 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
34263 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}};
34264 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}};
34265 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
34266 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
34267 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
34268 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}};
34269 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
34270 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
34271 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}};
34272 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
34273 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}};
34274 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
34275 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
34276 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
34277 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
34278 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
34279 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34280 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
34281 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}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
34282 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
34283 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
34284 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
34285 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
34286 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
34287 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
34288 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}};
34289 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34290 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}};
34291 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
34292 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34293 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
34294 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
34295 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
34296 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
34297 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
34298 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
34299 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
34300 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
34301 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34302 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
34303 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}};
34304 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
34305 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
34306 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}};
34307 static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
34308 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
34309 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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
34310
34311 static swig_cast_info *swig_cast_initial[] = {
34312 _swigc__p_bool,
34313 _swigc__p_char,
34314 _swigc__p_form_ops_t,
34315 _swigc__p_int,
34316 _swigc__p_unsigned_char,
34317 _swigc__p_unsigned_int,
34318 _swigc__p_unsigned_long,
34319 _swigc__p_wxANIHandler,
34320 _swigc__p_wxAcceleratorTable,
34321 _swigc__p_wxActivateEvent,
34322 _swigc__p_wxArrayInt,
34323 _swigc__p_wxArrayString,
34324 _swigc__p_wxBMPHandler,
34325 _swigc__p_wxBitmap,
34326 _swigc__p_wxBoxSizer,
34327 _swigc__p_wxCURHandler,
34328 _swigc__p_wxCalculateLayoutEvent,
34329 _swigc__p_wxChildFocusEvent,
34330 _swigc__p_wxClipboardTextEvent,
34331 _swigc__p_wxCloseEvent,
34332 _swigc__p_wxColour,
34333 _swigc__p_wxColourData,
34334 _swigc__p_wxColourDialog,
34335 _swigc__p_wxCommandEvent,
34336 _swigc__p_wxContextMenuEvent,
34337 _swigc__p_wxControl,
34338 _swigc__p_wxControlWithItems,
34339 _swigc__p_wxDC,
34340 _swigc__p_wxDateEvent,
34341 _swigc__p_wxDialog,
34342 _swigc__p_wxDirDialog,
34343 _swigc__p_wxDisplayChangedEvent,
34344 _swigc__p_wxDropFilesEvent,
34345 _swigc__p_wxDuplexMode,
34346 _swigc__p_wxEraseEvent,
34347 _swigc__p_wxEvent,
34348 _swigc__p_wxEvtHandler,
34349 _swigc__p_wxFSFile,
34350 _swigc__p_wxFileDialog,
34351 _swigc__p_wxFileSystem,
34352 _swigc__p_wxFindDialogEvent,
34353 _swigc__p_wxFindReplaceData,
34354 _swigc__p_wxFindReplaceDialog,
34355 _swigc__p_wxFlexGridSizer,
34356 _swigc__p_wxFocusEvent,
34357 _swigc__p_wxFont,
34358 _swigc__p_wxFontData,
34359 _swigc__p_wxFontDialog,
34360 _swigc__p_wxFrame,
34361 _swigc__p_wxGBSizerItem,
34362 _swigc__p_wxGIFHandler,
34363 _swigc__p_wxGridBagSizer,
34364 _swigc__p_wxGridSizer,
34365 _swigc__p_wxHtmlLinkInfo,
34366 _swigc__p_wxICOHandler,
34367 _swigc__p_wxIcon,
34368 _swigc__p_wxIconBundle,
34369 _swigc__p_wxIconizeEvent,
34370 _swigc__p_wxIdleEvent,
34371 _swigc__p_wxImage,
34372 _swigc__p_wxImageHandler,
34373 _swigc__p_wxIndividualLayoutConstraint,
34374 _swigc__p_wxInitDialogEvent,
34375 _swigc__p_wxItemContainer,
34376 _swigc__p_wxJPEGHandler,
34377 _swigc__p_wxKeyEvent,
34378 _swigc__p_wxLayoutAlgorithm,
34379 _swigc__p_wxLayoutConstraints,
34380 _swigc__p_wxMDIChildFrame,
34381 _swigc__p_wxMDIClientWindow,
34382 _swigc__p_wxMDIParentFrame,
34383 _swigc__p_wxMaximizeEvent,
34384 _swigc__p_wxMenu,
34385 _swigc__p_wxMenuBar,
34386 _swigc__p_wxMenuEvent,
34387 _swigc__p_wxMenuItem,
34388 _swigc__p_wxMessageDialog,
34389 _swigc__p_wxMiniFrame,
34390 _swigc__p_wxMouseCaptureChangedEvent,
34391 _swigc__p_wxMouseCaptureLostEvent,
34392 _swigc__p_wxMouseEvent,
34393 _swigc__p_wxMoveEvent,
34394 _swigc__p_wxMultiChoiceDialog,
34395 _swigc__p_wxNavigationKeyEvent,
34396 _swigc__p_wxNcPaintEvent,
34397 _swigc__p_wxNotifyEvent,
34398 _swigc__p_wxNumberEntryDialog,
34399 _swigc__p_wxObject,
34400 _swigc__p_wxPCXHandler,
34401 _swigc__p_wxPNGHandler,
34402 _swigc__p_wxPNMHandler,
34403 _swigc__p_wxPageSetupDialog,
34404 _swigc__p_wxPageSetupDialogData,
34405 _swigc__p_wxPaintEvent,
34406 _swigc__p_wxPaletteChangedEvent,
34407 _swigc__p_wxPanel,
34408 _swigc__p_wxPaperSize,
34409 _swigc__p_wxPasswordEntryDialog,
34410 _swigc__p_wxPoint,
34411 _swigc__p_wxPopupWindow,
34412 _swigc__p_wxPreviewCanvas,
34413 _swigc__p_wxPreviewControlBar,
34414 _swigc__p_wxPreviewFrame,
34415 _swigc__p_wxPrintData,
34416 _swigc__p_wxPrintDialog,
34417 _swigc__p_wxPrintDialogData,
34418 _swigc__p_wxPrintPreview,
34419 _swigc__p_wxPrinter,
34420 _swigc__p_wxProgressDialog,
34421 _swigc__p_wxPyApp,
34422 _swigc__p_wxPyCommandEvent,
34423 _swigc__p_wxPyEvent,
34424 _swigc__p_wxPyHtmlListBox,
34425 _swigc__p_wxPyImageHandler,
34426 _swigc__p_wxPyPanel,
34427 _swigc__p_wxPyPopupTransientWindow,
34428 _swigc__p_wxPyPreviewControlBar,
34429 _swigc__p_wxPyPreviewFrame,
34430 _swigc__p_wxPyPrintPreview,
34431 _swigc__p_wxPyPrintout,
34432 _swigc__p_wxPyScrolledWindow,
34433 _swigc__p_wxPySizer,
34434 _swigc__p_wxPyTaskBarIcon,
34435 _swigc__p_wxPyVListBox,
34436 _swigc__p_wxPyVScrolledWindow,
34437 _swigc__p_wxPyValidator,
34438 _swigc__p_wxPyWindow,
34439 _swigc__p_wxQueryLayoutInfoEvent,
34440 _swigc__p_wxQueryNewPaletteEvent,
34441 _swigc__p_wxRect,
34442 _swigc__p_wxRegion,
34443 _swigc__p_wxSashEvent,
34444 _swigc__p_wxSashLayoutWindow,
34445 _swigc__p_wxSashWindow,
34446 _swigc__p_wxScrollEvent,
34447 _swigc__p_wxScrollWinEvent,
34448 _swigc__p_wxScrolledWindow,
34449 _swigc__p_wxSetCursorEvent,
34450 _swigc__p_wxShowEvent,
34451 _swigc__p_wxSimpleHtmlListBox,
34452 _swigc__p_wxSingleChoiceDialog,
34453 _swigc__p_wxSize,
34454 _swigc__p_wxSizeEvent,
34455 _swigc__p_wxSizer,
34456 _swigc__p_wxSizerItem,
34457 _swigc__p_wxSplashScreen,
34458 _swigc__p_wxSplashScreenWindow,
34459 _swigc__p_wxSplitterEvent,
34460 _swigc__p_wxSplitterWindow,
34461 _swigc__p_wxStaticBoxSizer,
34462 _swigc__p_wxStatusBar,
34463 _swigc__p_wxStdDialogButtonSizer,
34464 _swigc__p_wxString,
34465 _swigc__p_wxSysColourChangedEvent,
34466 _swigc__p_wxTGAHandler,
34467 _swigc__p_wxTIFFHandler,
34468 _swigc__p_wxTaskBarIcon,
34469 _swigc__p_wxTaskBarIconEvent,
34470 _swigc__p_wxTextEntryDialog,
34471 _swigc__p_wxTipWindow,
34472 _swigc__p_wxToolBar,
34473 _swigc__p_wxTopLevelWindow,
34474 _swigc__p_wxUpdateUIEvent,
34475 _swigc__p_wxValidator,
34476 _swigc__p_wxVisualAttributes,
34477 _swigc__p_wxWindow,
34478 _swigc__p_wxWindowCreateEvent,
34479 _swigc__p_wxWindowDestroyEvent,
34480 _swigc__p_wxXPMHandler,
34481 };
34482
34483
34484 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34485
34486 static swig_const_info swig_const_table[] = {
34487 {0, 0, 0, 0.0, 0, 0}};
34488
34489 #ifdef __cplusplus
34490 }
34491 #endif
34492 /* -----------------------------------------------------------------------------
34493 * Type initialization:
34494 * This problem is tough by the requirement that no dynamic
34495 * memory is used. Also, since swig_type_info structures store pointers to
34496 * swig_cast_info structures and swig_cast_info structures store pointers back
34497 * to swig_type_info structures, we need some lookup code at initialization.
34498 * The idea is that swig generates all the structures that are needed.
34499 * The runtime then collects these partially filled structures.
34500 * The SWIG_InitializeModule function takes these initial arrays out of
34501 * swig_module, and does all the lookup, filling in the swig_module.types
34502 * array with the correct data and linking the correct swig_cast_info
34503 * structures together.
34504 *
34505 * The generated swig_type_info structures are assigned staticly to an initial
34506 * array. We just loop though that array, and handle each type individually.
34507 * First we lookup if this type has been already loaded, and if so, use the
34508 * loaded structure instead of the generated one. Then we have to fill in the
34509 * cast linked list. The cast data is initially stored in something like a
34510 * two-dimensional array. Each row corresponds to a type (there are the same
34511 * number of rows as there are in the swig_type_initial array). Each entry in
34512 * a column is one of the swig_cast_info structures for that type.
34513 * The cast_initial array is actually an array of arrays, because each row has
34514 * a variable number of columns. So to actually build the cast linked list,
34515 * we find the array of casts associated with the type, and loop through it
34516 * adding the casts to the list. The one last trick we need to do is making
34517 * sure the type pointer in the swig_cast_info struct is correct.
34518 *
34519 * First off, we lookup the cast->type name to see if it is already loaded.
34520 * There are three cases to handle:
34521 * 1) If the cast->type has already been loaded AND the type we are adding
34522 * casting info to has not been loaded (it is in this module), THEN we
34523 * replace the cast->type pointer with the type pointer that has already
34524 * been loaded.
34525 * 2) If BOTH types (the one we are adding casting info to, and the
34526 * cast->type) are loaded, THEN the cast info has already been loaded by
34527 * the previous module so we just ignore it.
34528 * 3) Finally, if cast->type has not already been loaded, then we add that
34529 * swig_cast_info to the linked list (because the cast->type) pointer will
34530 * be correct.
34531 * ----------------------------------------------------------------------------- */
34532
34533 #ifdef __cplusplus
34534 extern "C" {
34535 #if 0
34536 } /* c-mode */
34537 #endif
34538 #endif
34539
34540 #if 0
34541 #define SWIGRUNTIME_DEBUG
34542 #endif
34543
34544 SWIGRUNTIME void
34545 SWIG_InitializeModule(void *clientdata) {
34546 size_t i;
34547 swig_module_info *module_head;
34548 static int init_run = 0;
34549
34550 clientdata = clientdata;
34551
34552 if (init_run) return;
34553 init_run = 1;
34554
34555 /* Initialize the swig_module */
34556 swig_module.type_initial = swig_type_initial;
34557 swig_module.cast_initial = swig_cast_initial;
34558
34559 /* Try and load any already created modules */
34560 module_head = SWIG_GetModule(clientdata);
34561 if (module_head) {
34562 swig_module.next = module_head->next;
34563 module_head->next = &swig_module;
34564 } else {
34565 /* This is the first module loaded */
34566 swig_module.next = &swig_module;
34567 SWIG_SetModule(clientdata, &swig_module);
34568 }
34569
34570 /* Now work on filling in swig_module.types */
34571 #ifdef SWIGRUNTIME_DEBUG
34572 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34573 #endif
34574 for (i = 0; i < swig_module.size; ++i) {
34575 swig_type_info *type = 0;
34576 swig_type_info *ret;
34577 swig_cast_info *cast;
34578
34579 #ifdef SWIGRUNTIME_DEBUG
34580 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34581 #endif
34582
34583 /* if there is another module already loaded */
34584 if (swig_module.next != &swig_module) {
34585 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
34586 }
34587 if (type) {
34588 /* Overwrite clientdata field */
34589 #ifdef SWIGRUNTIME_DEBUG
34590 printf("SWIG_InitializeModule: found type %s\n", type->name);
34591 #endif
34592 if (swig_module.type_initial[i]->clientdata) {
34593 type->clientdata = swig_module.type_initial[i]->clientdata;
34594 #ifdef SWIGRUNTIME_DEBUG
34595 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34596 #endif
34597 }
34598 } else {
34599 type = swig_module.type_initial[i];
34600 }
34601
34602 /* Insert casting types */
34603 cast = swig_module.cast_initial[i];
34604 while (cast->type) {
34605 /* Don't need to add information already in the list */
34606 ret = 0;
34607 #ifdef SWIGRUNTIME_DEBUG
34608 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34609 #endif
34610 if (swig_module.next != &swig_module) {
34611 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34612 #ifdef SWIGRUNTIME_DEBUG
34613 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34614 #endif
34615 }
34616 if (ret) {
34617 if (type == swig_module.type_initial[i]) {
34618 #ifdef SWIGRUNTIME_DEBUG
34619 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34620 #endif
34621 cast->type = ret;
34622 ret = 0;
34623 } else {
34624 /* Check for casting already in the list */
34625 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34626 #ifdef SWIGRUNTIME_DEBUG
34627 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34628 #endif
34629 if (!ocast) ret = 0;
34630 }
34631 }
34632
34633 if (!ret) {
34634 #ifdef SWIGRUNTIME_DEBUG
34635 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34636 #endif
34637 if (type->cast) {
34638 type->cast->prev = cast;
34639 cast->next = type->cast;
34640 }
34641 type->cast = cast;
34642 }
34643 cast++;
34644 }
34645 /* Set entry in modules->types array equal to the type */
34646 swig_module.types[i] = type;
34647 }
34648 swig_module.types[i] = 0;
34649
34650 #ifdef SWIGRUNTIME_DEBUG
34651 printf("**** SWIG_InitializeModule: Cast List ******\n");
34652 for (i = 0; i < swig_module.size; ++i) {
34653 int j = 0;
34654 swig_cast_info *cast = swig_module.cast_initial[i];
34655 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34656 while (cast->type) {
34657 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34658 cast++;
34659 ++j;
34660 }
34661 printf("---- Total casts: %d\n",j);
34662 }
34663 printf("**** SWIG_InitializeModule: Cast List ******\n");
34664 #endif
34665 }
34666
34667 /* This function will propagate the clientdata field of type to
34668 * any new swig_type_info structures that have been added into the list
34669 * of equivalent types. It is like calling
34670 * SWIG_TypeClientData(type, clientdata) a second time.
34671 */
34672 SWIGRUNTIME void
34673 SWIG_PropagateClientData(void) {
34674 size_t i;
34675 swig_cast_info *equiv;
34676 static int init_run = 0;
34677
34678 if (init_run) return;
34679 init_run = 1;
34680
34681 for (i = 0; i < swig_module.size; i++) {
34682 if (swig_module.types[i]->clientdata) {
34683 equiv = swig_module.types[i]->cast;
34684 while (equiv) {
34685 if (!equiv->converter) {
34686 if (equiv->type && !equiv->type->clientdata)
34687 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34688 }
34689 equiv = equiv->next;
34690 }
34691 }
34692 }
34693 }
34694
34695 #ifdef __cplusplus
34696 #if 0
34697 {
34698 /* c-mode */
34699 #endif
34700 }
34701 #endif
34702
34703
34704
34705 #ifdef __cplusplus
34706 extern "C" {
34707 #endif
34708
34709 /* Python-specific SWIG API */
34710 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34711 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34712 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34713
34714 /* -----------------------------------------------------------------------------
34715 * global variable support code.
34716 * ----------------------------------------------------------------------------- */
34717
34718 typedef struct swig_globalvar {
34719 char *name; /* Name of global variable */
34720 PyObject *(*get_attr)(void); /* Return the current value */
34721 int (*set_attr)(PyObject *); /* Set the value */
34722 struct swig_globalvar *next;
34723 } swig_globalvar;
34724
34725 typedef struct swig_varlinkobject {
34726 PyObject_HEAD
34727 swig_globalvar *vars;
34728 } swig_varlinkobject;
34729
34730 SWIGINTERN PyObject *
34731 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34732 return PyString_FromString("<Swig global variables>");
34733 }
34734
34735 SWIGINTERN PyObject *
34736 swig_varlink_str(swig_varlinkobject *v) {
34737 PyObject *str = PyString_FromString("(");
34738 swig_globalvar *var;
34739 for (var = v->vars; var; var=var->next) {
34740 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34741 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34742 }
34743 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34744 return str;
34745 }
34746
34747 SWIGINTERN int
34748 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34749 PyObject *str = swig_varlink_str(v);
34750 fprintf(fp,"Swig global variables ");
34751 fprintf(fp,"%s\n", PyString_AsString(str));
34752 Py_DECREF(str);
34753 return 0;
34754 }
34755
34756 SWIGINTERN void
34757 swig_varlink_dealloc(swig_varlinkobject *v) {
34758 swig_globalvar *var = v->vars;
34759 while (var) {
34760 swig_globalvar *n = var->next;
34761 free(var->name);
34762 free(var);
34763 var = n;
34764 }
34765 }
34766
34767 SWIGINTERN PyObject *
34768 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34769 PyObject *res = NULL;
34770 swig_globalvar *var = v->vars;
34771 while (var) {
34772 if (strcmp(var->name,n) == 0) {
34773 res = (*var->get_attr)();
34774 break;
34775 }
34776 var = var->next;
34777 }
34778 if (res == NULL && !PyErr_Occurred()) {
34779 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34780 }
34781 return res;
34782 }
34783
34784 SWIGINTERN int
34785 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34786 int res = 1;
34787 swig_globalvar *var = v->vars;
34788 while (var) {
34789 if (strcmp(var->name,n) == 0) {
34790 res = (*var->set_attr)(p);
34791 break;
34792 }
34793 var = var->next;
34794 }
34795 if (res == 1 && !PyErr_Occurred()) {
34796 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34797 }
34798 return res;
34799 }
34800
34801 SWIGINTERN PyTypeObject*
34802 swig_varlink_type(void) {
34803 static char varlink__doc__[] = "Swig var link object";
34804 static PyTypeObject varlink_type;
34805 static int type_init = 0;
34806 if (!type_init) {
34807 const PyTypeObject tmp
34808 = {
34809 PyObject_HEAD_INIT(NULL)
34810 0, /* Number of items in variable part (ob_size) */
34811 (char *)"swigvarlink", /* Type name (tp_name) */
34812 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34813 0, /* Itemsize (tp_itemsize) */
34814 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34815 (printfunc) swig_varlink_print, /* Print (tp_print) */
34816 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34817 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34818 0, /* tp_compare */
34819 (reprfunc) swig_varlink_repr, /* tp_repr */
34820 0, /* tp_as_number */
34821 0, /* tp_as_sequence */
34822 0, /* tp_as_mapping */
34823 0, /* tp_hash */
34824 0, /* tp_call */
34825 (reprfunc)swig_varlink_str, /* tp_str */
34826 0, /* tp_getattro */
34827 0, /* tp_setattro */
34828 0, /* tp_as_buffer */
34829 0, /* tp_flags */
34830 varlink__doc__, /* tp_doc */
34831 0, /* tp_traverse */
34832 0, /* tp_clear */
34833 0, /* tp_richcompare */
34834 0, /* tp_weaklistoffset */
34835 #if PY_VERSION_HEX >= 0x02020000
34836 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34837 #endif
34838 #if PY_VERSION_HEX >= 0x02030000
34839 0, /* tp_del */
34840 #endif
34841 #ifdef COUNT_ALLOCS
34842 0,0,0,0 /* tp_alloc -> tp_next */
34843 #endif
34844 };
34845 varlink_type = tmp;
34846 varlink_type.ob_type = &PyType_Type;
34847 type_init = 1;
34848 }
34849 return &varlink_type;
34850 }
34851
34852 /* Create a variable linking object for use later */
34853 SWIGINTERN PyObject *
34854 SWIG_Python_newvarlink(void) {
34855 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34856 if (result) {
34857 result->vars = 0;
34858 }
34859 return ((PyObject*) result);
34860 }
34861
34862 SWIGINTERN void
34863 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34864 swig_varlinkobject *v = (swig_varlinkobject *) p;
34865 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34866 if (gv) {
34867 size_t size = strlen(name)+1;
34868 gv->name = (char *)malloc(size);
34869 if (gv->name) {
34870 strncpy(gv->name,name,size);
34871 gv->get_attr = get_attr;
34872 gv->set_attr = set_attr;
34873 gv->next = v->vars;
34874 }
34875 }
34876 v->vars = gv;
34877 }
34878
34879 SWIGINTERN PyObject *
34880 SWIG_globals() {
34881 static PyObject *_SWIG_globals = 0;
34882 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34883 return _SWIG_globals;
34884 }
34885
34886 /* -----------------------------------------------------------------------------
34887 * constants/methods manipulation
34888 * ----------------------------------------------------------------------------- */
34889
34890 /* Install Constants */
34891 SWIGINTERN void
34892 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34893 PyObject *obj = 0;
34894 size_t i;
34895 for (i = 0; constants[i].type; ++i) {
34896 switch(constants[i].type) {
34897 case SWIG_PY_POINTER:
34898 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34899 break;
34900 case SWIG_PY_BINARY:
34901 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34902 break;
34903 default:
34904 obj = 0;
34905 break;
34906 }
34907 if (obj) {
34908 PyDict_SetItemString(d, constants[i].name, obj);
34909 Py_DECREF(obj);
34910 }
34911 }
34912 }
34913
34914 /* -----------------------------------------------------------------------------*/
34915 /* Fix SwigMethods to carry the callback ptrs when needed */
34916 /* -----------------------------------------------------------------------------*/
34917
34918 SWIGINTERN void
34919 SWIG_Python_FixMethods(PyMethodDef *methods,
34920 swig_const_info *const_table,
34921 swig_type_info **types,
34922 swig_type_info **types_initial) {
34923 size_t i;
34924 for (i = 0; methods[i].ml_name; ++i) {
34925 const char *c = methods[i].ml_doc;
34926 if (c && (c = strstr(c, "swig_ptr: "))) {
34927 int j;
34928 swig_const_info *ci = 0;
34929 const char *name = c + 10;
34930 for (j = 0; const_table[j].type; ++j) {
34931 if (strncmp(const_table[j].name, name,
34932 strlen(const_table[j].name)) == 0) {
34933 ci = &(const_table[j]);
34934 break;
34935 }
34936 }
34937 if (ci) {
34938 size_t shift = (ci->ptype) - types;
34939 swig_type_info *ty = types_initial[shift];
34940 size_t ldoc = (c - methods[i].ml_doc);
34941 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34942 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34943 if (ndoc) {
34944 char *buff = ndoc;
34945 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34946 if (ptr) {
34947 strncpy(buff, methods[i].ml_doc, ldoc);
34948 buff += ldoc;
34949 strncpy(buff, "swig_ptr: ", 10);
34950 buff += 10;
34951 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34952 methods[i].ml_doc = ndoc;
34953 }
34954 }
34955 }
34956 }
34957 }
34958 }
34959
34960 #ifdef __cplusplus
34961 }
34962 #endif
34963
34964 /* -----------------------------------------------------------------------------*
34965 * Partial Init method
34966 * -----------------------------------------------------------------------------*/
34967
34968 #ifdef __cplusplus
34969 extern "C"
34970 #endif
34971 SWIGEXPORT void SWIG_init(void) {
34972 PyObject *m, *d;
34973
34974 /* Fix SwigMethods to carry the callback ptrs when needed */
34975 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34976
34977 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34978 d = PyModule_GetDict(m);
34979
34980 SWIG_InitializeModule(0);
34981 SWIG_InstallConstants(d,swig_const_table);
34982
34983
34984 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34985 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34986 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34987 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34988 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34989 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34990 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34991 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34992 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34993 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34994 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34995 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34996 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34997 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34998 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34999 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
35000 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
35001 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
35002 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
35003 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
35004 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
35005 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
35006 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
35007 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
35008 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
35009 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
35010 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
35011 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
35012 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
35013 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
35014 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
35015 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
35016 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
35017 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
35018 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
35019 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
35020 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
35021 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
35022 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
35023 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
35024 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
35025 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
35026 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
35027 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
35028 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
35029 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
35030 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
35031 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
35032 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
35033 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
35034 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
35035 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
35036 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
35037 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
35038 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
35039 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
35040 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
35041 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
35042 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
35043 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
35044 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
35045 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
35046 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
35047 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
35048 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
35049 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
35050 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
35051 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
35052 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
35053 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
35054 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
35055 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
35056 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
35057 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
35058 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
35059 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
35060 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
35061 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
35062 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
35063 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
35064 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
35065 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
35066 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
35067 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
35068 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
35069 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
35070 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
35071 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
35072 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
35073 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
35074 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
35075 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
35076 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
35077 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
35078 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
35079 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
35080 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
35081 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
35082 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
35083 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
35084 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
35085 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
35086 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
35087 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
35088 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
35089 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
35090 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
35091 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
35092 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
35093
35094 // Map renamed classes back to their common name for OOR
35095 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
35096 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
35097 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
35098
35099 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
35100 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
35101 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
35102 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
35103 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
35104 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
35105 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
35106 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
35107 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
35108 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
35109 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
35110 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
35111 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
35112 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
35113 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
35114 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
35115 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
35116 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
35117 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
35118 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
35119 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
35120 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
35121 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
35122 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
35123 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
35124 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
35125 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
35126 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
35127 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
35128 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
35129 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
35130 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
35131 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
35132 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
35133 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
35134 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
35135 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
35136 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
35137 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
35138 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
35139 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
35140 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
35141 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
35142 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
35143 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
35144 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
35145 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
35146 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
35147 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
35148 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
35149 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
35150 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
35151 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
35152 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
35153 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
35154 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
35155 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
35156 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
35157 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
35158 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
35159 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
35160 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
35161 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
35162 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
35163 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
35164 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
35165 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
35166 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
35167 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
35168 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
35169 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
35170 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
35171 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
35172 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
35173 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
35174 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
35175 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
35176 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
35177 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
35178 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
35179 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
35180 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
35181 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
35182 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
35183 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
35184 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
35185 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
35186 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
35187 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
35188 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
35189 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
35190 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
35191 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
35192 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
35193 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
35194 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
35195 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
35196 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
35197 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
35198 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
35199 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
35200 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
35201 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
35202 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
35203
35204 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
35205
35206 }
35207